Commit 3e5609a
committed
✨ Add content update tools for Studio chat integration
Replace JSON-based chat updates with proper Rig tool implementations.
Iris can now modify commit messages, PR descriptions, and reviews via
tool calls instead of parsing JSON from response text.
Key changes:
- Add UpdateCommitTool, UpdatePRTool, and UpdateReviewTool with channel-based
communication to the Studio UI
- Migrate debug output from colored println to tracing for cleaner TUI logs
- Switch chat markdown rendering to pulldown-cmark for proper AST parsing
- Remove brittle regex-based JSON extraction from chat response handling
- Enable automatic file logging in Studio mode for debugging
The tool-based approach is more reliable since the LLM explicitly calls
tools rather than embedding JSON that may get malformed or truncated.1 parent eae0604 commit 3e5609a
File tree
11 files changed
+643
-801
lines changed- src
- agents
- tools
- studio
- render
11 files changed
+643
-801
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments