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:
scutifer 2026-01-21 18:38:07 +05:30 committed by GitHub
parent 565488fde6
commit 82cc0fe866
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 96 additions and 0 deletions

View file

@ -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