mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 11:02:17 +00:00
* Add ctx.ui.setStatus(key, text) API for hooks to display status in footer - Add setStatus to HookUIContext interface - Implement in interactive mode (FooterComponent) - Implement in RPC mode (fire-and-forget) - Add no-op implementations for headless contexts - Multiple statuses displayed on single line, sorted by key - Supports ANSI styling (hooks handle their own colors) * Remove setStatus from changelog for now * Fix hook status API to follow TUI rules - Sanitize status text: replace newlines, tabs, carriage returns with spaces - Truncate combined status line to terminal width using truncateToWidth - Update JSDoc to document sanitization and truncation behavior - Remove unused createHookUIContext method - Add missing setStatus to test mock * Add setStatus to changelog * Use dim ellipsis for hook status truncation for consistency with footer style --------- Co-authored-by: Mario Zechner <badlogicgames@gmail.com> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| session-manager | ||
| agent-session-branching.test.ts | ||
| agent-session-compaction.test.ts | ||
| agent-session-tree-navigation.test.ts | ||
| args.test.ts | ||
| compaction-hooks-example.test.ts | ||
| compaction-hooks.test.ts | ||
| compaction.test.ts | ||
| fuzzy.test.ts | ||
| interactive-mode-status.test.ts | ||
| model-resolver.test.ts | ||
| rpc-example.ts | ||
| rpc.test.ts | ||
| skills.test.ts | ||
| streaming-render-debug.ts | ||
| test-theme-colors.ts | ||
| tools.test.ts | ||
| truncate-to-width.test.ts | ||
| utilities.ts | ||