singularity-forge/packages/pi-coding-agent/src/modes/interactive
Jeremy McSpadden 47bedc5540 feat: add contextual tips system for TUI and web terminal
Add a session-scoped contextual tips system that shows non-intrusive
hints when user behavior suggests they'd benefit from knowing a feature.

Tips:
- Shell command prefix: nudge when bare ls/git/npm typed without !
- Large paste: warn when >2000 char input sent to agent
- Thinking level: hint when short question with high/xhigh thinking
- Double-bang reminder: after 3+ single-! commands, suggest !!
- Compaction nudge: when context >= 70% full

Each tip fires at most N times per session, resets on /new.
Wired into both TUI (dim inline text) and web terminal (system line).
31 unit tests covering all tips, suppression, reset, and priority.
2026-03-23 14:28:50 -05:00
..
components fix: document iTerm2 Ctrl+Alt+G keybinding conflict and add helpful hint (#2231) 2026-03-23 08:57:43 -06:00
controllers feat: add contextual tips system for TUI and web terminal 2026-03-23 14:28:50 -05:00
theme refactor: consolidate theme files and remove manual schema (#1478) 2026-03-19 15:35:56 -06:00
utils refactor: deduplicate toPosixPath, ZERO_USAGE, and shortenPath utilities 2026-03-19 14:55:30 -03:00
interactive-mode-state.ts Refactor GSD command and bootstrap modules (#1634) 2026-03-20 15:19:16 -06:00
interactive-mode.ts feat: add contextual tips system for TUI and web terminal 2026-03-23 14:28:50 -05:00
slash-command-handlers.ts refactor: extract slash command handlers from interactive-mode (#1485) 2026-03-19 15:34:14 -06:00