mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 22:03:45 +00:00
feat(extensions): add inline-bash example for expanding !{command} in prompts (#881)
* feat(extensions): add inline-bash example for expanding !{command} in prompts
Adds an example extension that expands inline bash commands within user
prompts before sending to the agent. Uses the `input` event to transform
patterns like `!{pwd}` or `!{git status}` into their output.
Preserves existing `!command` whole-line bash behavior.
* docs(extensions): add inline-bash to README
* chore: fix stupid bug
This commit is contained in:
parent
565488fde6
commit
82cc0fe866
3 changed files with 96 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
### Added
|
||||
|
||||
- `markdown.codeBlockIndent` setting to customize code block indentation in rendered output
|
||||
- Added `inline-bash.ts` example extension for expanding `!{command}` patterns in prompts
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue