Add tree-sitter-json on tui

This commit is contained in:
Yiorgis Gozadinos 2026-05-18 12:11:29 +03:00
parent e51841b924
commit 7d99be471f
No known key found for this signature in database
3 changed files with 1560 additions and 1716 deletions

View file

@ -11,6 +11,11 @@
### Removed
- `llm()` from the analysis sandbox. Sandbox externals are now `search` and `list_documents` only.
- `list_documents` top-level tool from the analysis skill (still available as `await list_documents()` inside `execute_code`).
### Fixed
- Chat TUI's state-edit screen now syntax-highlights JSON instead of falling back to plain text. Adds `tree-sitter` + `tree-sitter-json` to the `[tui]` extra.
### Changed

View file

@ -54,7 +54,12 @@ zeroentropy = ["zeroentropy>=0.1.0a11"]
jina = ["transformers>=4.40.0", "torch>=2.0.0"]
cross-encoder = ["sentence-transformers>=3.0.0"]
# TUI (chat and inspect commands)
tui = ["textual>=8.2.4", "textual-image>=0.8.5"]
tui = [
"textual>=8.2.4",
"textual-image>=0.8.5",
"tree-sitter>=0.25.2",
"tree-sitter-json>=0.24.8",
]
# Model providers (delegated to pydantic-ai-slim)
anthropic = ["pydantic-ai-slim[anthropic]"]
groq = ["pydantic-ai-slim[groq]"]

3264
uv.lock

File diff suppressed because it is too large Load diff