co-mono/packages
Zeno Jiricek f869cc4ae5 feat: add bash-style array slicing for $@ in prompt templates
Implements support for ${@:N} and ${@:N:L} syntax to slice argument arrays
in prompt templates, following bash conventions.

Syntax:
- ${@:N} - All arguments from Nth position onwards (1-indexed)
- ${@:N:L} - L arguments starting from Nth position

Features:
- Bash-style slicing familiar to shell users
- 1-indexed for consistency with $1, $2, etc.
- Processes before simple $@ to avoid conflicts
- No recursive substitution of patterns in arguments
- Comprehensive edge case handling

Examples:
- ${@:2} with ["a", "b", "c"] -> "b c"
- ${@:2:1} with ["a", "b", "c"] -> "b"
- ${@:99} with ["a", "b"] -> "" (empty, out of range)

Test coverage: 24 new tests, all passing (73 total)

Closes #769
2026-01-16 12:05:53 +01:00
..
agent Add [Unreleased] section for next cycle 2026-01-16 04:41:48 +01:00
ai Add [Unreleased] section for next cycle 2026-01-16 04:41:48 +01:00
coding-agent feat: add bash-style array slicing for $@ in prompt templates 2026-01-16 12:05:53 +01:00
mom Add [Unreleased] section for next cycle 2026-01-16 04:41:48 +01:00
pods Release v0.47.0 2026-01-16 04:41:04 +01:00
tui Add [Unreleased] section for next cycle 2026-01-16 04:41:48 +01:00
web-ui Add [Unreleased] section for next cycle 2026-01-16 04:41:48 +01:00