mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 11:02:17 +00:00
fix(coding-agent): update help text for ctrl+k and add !! shortcut
This commit is contained in:
parent
f755f69e0a
commit
999f97cd49
2 changed files with 10 additions and 1 deletions
|
|
@ -7,6 +7,11 @@
|
|||
- Session picker (`pi -r`) and `--session` flag now support searching/resuming by session ID (UUID prefix) ([#495](https://github.com/badlogic/pi-mono/issues/495) by [@arunsathiya](https://github.com/arunsathiya))
|
||||
- Extensions can now replace the startup header with `ctx.ui.setHeader()`, see `examples/extensions/custom-header.ts` ([#500](https://github.com/badlogic/pi-mono/pull/500) by [@tudoroancea](https://github.com/tudoroancea))
|
||||
|
||||
### Changed
|
||||
|
||||
- Startup help text: fixed misleading "ctrl+k to delete line" to "ctrl+k to delete to end"
|
||||
- Startup help text and `/hotkeys`: added `!!` shortcut for running bash without adding output to context
|
||||
|
||||
### Fixed
|
||||
|
||||
- Queued steering/follow-up messages no longer wipe unsent editor input ([#503](https://github.com/badlogic/pi-mono/pull/503) by [@tmustier](https://github.com/tmustier))
|
||||
|
|
|
|||
|
|
@ -289,7 +289,7 @@ export class InteractiveMode {
|
|||
theme.fg("muted", " to suspend") +
|
||||
"\n" +
|
||||
theme.fg("dim", deleteToLineEnd) +
|
||||
theme.fg("muted", " to delete line") +
|
||||
theme.fg("muted", " to delete to end") +
|
||||
"\n" +
|
||||
theme.fg("dim", cycleThinkingLevel) +
|
||||
theme.fg("muted", " to cycle thinking") +
|
||||
|
|
@ -315,6 +315,9 @@ export class InteractiveMode {
|
|||
theme.fg("dim", "!") +
|
||||
theme.fg("muted", " to run bash") +
|
||||
"\n" +
|
||||
theme.fg("dim", "!!") +
|
||||
theme.fg("muted", " to run bash (no context)") +
|
||||
"\n" +
|
||||
theme.fg("dim", followUp) +
|
||||
theme.fg("muted", " to queue follow-up") +
|
||||
"\n" +
|
||||
|
|
@ -2710,6 +2713,7 @@ export class InteractiveMode {
|
|||
| \`Ctrl+V\` | Paste image from clipboard |
|
||||
| \`/\` | Slash commands |
|
||||
| \`!\` | Run bash command |
|
||||
| \`!!\` | Run bash command (excluded from context) |
|
||||
`;
|
||||
|
||||
// Add extension-registered shortcuts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue