Rename examples/ to tools-src/

Update doc references in CLAUDE.md and slack README.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
Illia Polosukhin
2026-02-06 11:53:09 -08:00
co-authored by Claude Opus 4.6
parent 9d156411fc
commit f34a80191e
8 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -335,13 +335,13 @@ Key test patterns:
WASM tools are the preferred way to add new capabilities. They run in a sandboxed environment with explicit capabilities.
1. Create a new crate in `examples/wasm-tools/<name>/`
1. Create a new crate in `tools-src/wasm-tools/<name>/`
2. Implement the WIT interface (`wit/tool.wit`)
3. Create `<name>.capabilities.json` declaring required permissions
4. Build with `cargo build --target wasm32-wasip2 --release`
5. Install with `ironclaw tool install path/to/tool.wasm`
See `examples/wasm-tools/` for examples.
See `tools-src/wasm-tools/` for examples.
## Tool Architecture Principles
@@ -34,7 +34,7 @@ A standalone WASM component that provides Slack integration for IronClaw. This s
## Building
```bash
cd examples/wasm-tools/slack
cd tools-src/wasm-tools/slack
cargo component build --release
```