- Implemented `ContextShell` trait providing `ls`, `find`, `grep`, `cat`, `patch`, `wc` primitives. - Added `WorkerContext` struct acting as the shell interface for LLM workers. - Implemented `get_tool_definitions` to export OpenAI-compatible tool schemas. - Added `patch` command for atomic, exact-match text replacement. - Added comprehensive tests covering happy paths and edge cases (ambiguity, unicode, regex errors). - Updated design documentation.
20 lines
364 B
TOML
20 lines
364 B
TOML
[package]
|
|
name = "workflow-context"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
git2 = { version = "0.18", features = ["vendored-openssl"] }
|
|
sha2 = "0.10"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
hex = "0.4"
|
|
walkdir = "2.3"
|
|
regex = "1.10"
|
|
globset = "0.4.18"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.8"
|