mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
add tool-specific body rendering with syntax highlighting and truncation
Implement iteratr-style rich tool blocks: side-by-side diffs for Edit (via go-udiff), syntax-highlighted code blocks for Read (via chroma), green-tinted write blocks with line numbers and footer, and background- styled bash output with stderr detection. All renderers enforce centralized max-line limits (Edit: 20, Read: 20, Write: 10, Bash: 10) with muted truncation hints.
This commit is contained in:
@@ -39,3 +39,9 @@ Keep this managed block so 'openspec update' can refresh the instructions.
|
||||
- Multi-provider LLM support via `llm.Provider` interface
|
||||
- MCP client-server for tool integration
|
||||
- Builtin servers: bash, fetch, todo, fs
|
||||
|
||||
## External Repo Research
|
||||
- **ALWAYS use `btca`** to search external repos (e.g. iteratr, other reference codebases)
|
||||
- Never guess or manually search the filesystem for external projects
|
||||
- Example: `btca ask -r https://github.com/user/repo -q "How does X work?"`
|
||||
- See `.agents/skills/btca-cli/SKILL.md` for full btca usage
|
||||
|
||||
Reference in New Issue
Block a user