singularity-forge/web/lib
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
..
auth.ts fix(web): persist auth token in sessionStorage to survive page refreshes (#1877) 2026-03-21 15:25:27 -06:00
browser-slash-command-dispatch.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
command-surface-contract.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
dev-overrides.tsx feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
diagnostics-types.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
git-summary-contract.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
gsd-workspace-store.tsx feat: add contextual tips system for TUI and web terminal 2026-03-23 14:28:50 -05:00
image-utils.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
initial-gsd-header-filter.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
knowledge-captures-types.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
project-store-manager.tsx feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
project-url.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
pty-chat-parser.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
pty-manager.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
remaining-command-types.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
session-browser-contract.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
settings-types.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
shutdown-gate.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
use-editor-font-size.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
use-terminal-font-size.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
use-user-mode.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
utils.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
visualizer-types.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
workflow-action-execution.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
workflow-actions.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00
workspace-status.ts feat(web): browser-based web interface (#1717) 2026-03-21 12:16:54 -06:00