mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 06:02:42 +00:00
feat(coding-agent): add interactive-shell.ts extension example
Demonstrates running interactive commands (vim, git rebase, htop, etc.) with full terminal access using user_bash event and ctx.ui.custom(). - Auto-detects interactive commands from built-in list - !i prefix to force interactive mode - Configurable via INTERACTIVE_COMMANDS/INTERACTIVE_EXCLUDE env vars closes #532
This commit is contained in:
parent
ef7c52ffa1
commit
c5b97d7a2f
3 changed files with 198 additions and 1 deletions
|
|
@ -543,7 +543,7 @@ pi.on("user_bash", (event, ctx) => {
|
|||
});
|
||||
```
|
||||
|
||||
**Examples:** [ssh.ts](../examples/extensions/ssh.ts)
|
||||
**Examples:** [ssh.ts](../examples/extensions/ssh.ts), [interactive-shell.ts](../examples/extensions/interactive-shell.ts)
|
||||
|
||||
## ExtensionContext
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue