You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
- align the Rust tool contract with the toolkit library spec
- update Rust docs, examples, and JS/Python wrapper metadata paths for
the new contract
- refresh wrapper tests/docs to match the new help/system prompt
surfaces
## Validation
- `cargo fmt --check`
- `cargo clippy --all-targets --all-features -- -D warnings`
- `cargo test --all-features` (fails only in `bash_comparison_tests`,
matching `origin/main` at `08d4a33` with the same 81 baseline
mismatches)
- `npm run build`
- `npm test`
- native Python wrapper check via temp venv: `maturin develop && pytest
tests/test_bashkit.py`
Copy file name to clipboardExpand all lines: crates/bashkit-python/README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,14 +80,16 @@ bash = Bash(
80
80
81
81
### BashTool — Convenience Wrapper for AI Agents
82
82
83
-
`BashTool` is a convenience wrapper specifically designed for AI agents. It wraps `Bash` and adds LLM tool metadata (schema, description, system prompt) needed by tool-use protocols. Use this when integrating with LangChain, PydanticAI, or similar agent frameworks.
83
+
`BashTool` is a convenience wrapper specifically designed for AI agents. It wraps `Bash` and adds contract metadata (`description`, Markdown `help`, `system_prompt`, JSON schemas) needed by tool-use protocols. Use this when integrating with LangChain, PydanticAI, or similar agent frameworks.
84
84
85
85
```python
86
86
from bashkit import BashTool
87
87
88
88
tool = BashTool()
89
89
print(tool.input_schema()) # JSON schema for LLM tool-use
0 commit comments