@dojops/tool-registry
v1.0.3
Published
Tool registry with plugin system for DojOps — discovers, loads, and manages built-in and plugin tools
Maintainers
Readme
@dojops/tool-registry
Tool registry with plugin system for DojOps — discovers, loads, and manages built-in and custom tools.
Features
- Unified registry: Combines 12 built-in tools + custom tools via
getAll()/get(name)/has() - Custom tool discovery: Loads from
~/.dojops/tools/(global) and.dojops/tools/(project) - Declarative manifests:
tool.yaml+input.schema.jsonconverted to runtime tools - JSON Schema → Zod: Automatic conversion for custom tool input validation
- Tool policy:
.dojops/policy.yamlallowlist/blocklist enforcement - Custom agent discovery: Parses
README.mdfrom.dojops/agents/into specialist agents - Security: Verification command whitelist,
child_processpermission enforcement, path traversal prevention - Integrity: SHA-256 tool hashing for reproducibility and replay validation
Custom Tool Structure
.dojops/tools/my-tool/
tool.yaml # Manifest (spec: 1)
input.schema.json # JSON Schema for inputs
output.schema.json # Optional: structured LLM outputSee TOOL_SPEC_v1.md for the full specification.
Part of DojOps
This package is part of the DojOps monorepo. See the main repo for full documentation.
License
MIT
