Skip to content

Commit 1af5ca7

Browse files
committed
feat: add host tool catalog for orchestration
1 parent 514e13a commit 1af5ca7

9 files changed

Lines changed: 399 additions & 32 deletions

File tree

‎Cargo.lock‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎README.md‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,17 @@ The JSON dataflow example is runnable with:
7676
cargo run -p splash-cli -- run --allow-json-add examples/json_tool_workflow.splash
7777
```
7878

79+
Inspect the exact demo-tool catalog supplied to an LLM host with:
80+
81+
```sh
82+
cargo run -p splash-cli -- catalog --allow-echo --allow-json-add
83+
```
84+
7985
## Workspace
8086

8187
- `splash-core`: bounded VM wrapper and diagnostics.
8288
- `splash-capabilities`: explicit tool policy, audit log, deferred promises,
83-
and safe host bridge.
89+
LLM-facing host catalog, and safe host bridge.
8490
- `splash-protocol`: portable worker messages, capability attenuation, and
8591
host-side invocation/result validation.
8692
- `splash-workflow`: host-owned planning, approval, and sequential execution.
@@ -89,4 +95,5 @@ cargo run -p splash-cli -- run --allow-json-add examples/json_tool_workflow.spla
8995

9096
See [SECURITY.md](SECURITY.md) for the current threat model and [UPSTREAM.md](UPSTREAM.md)
9197
for the import boundary. The [worker protocol](docs/worker-protocol.md)
92-
defines the handoff to future contained adapters.
98+
defines the handoff to future contained adapters. The [host tool catalog](docs/tool-catalog.md)
99+
defines safe discovery for an LLM orchestrator.

‎SECURITY.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,7 @@ This baseline does not yet provide filesystem adapters, network adapters,
4949
secret storage, worker-process isolation, signed packages, JSON-schema
5050
validation, or mobile policy backends. Those features must not be inferred
5151
from the presence of the VM.
52+
53+
Tool descriptions and schema hints are available only through the host-side
54+
catalog. They are prompt metadata, not script-visible authority or executable
55+
schema enforcement.

‎crates/splash-capabilities/Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ workspace = true
1111

1212
[dependencies]
1313
makepad-script = { path = "../../vendor/makepad/platform/script" }
14+
serde = { version = "1.0", features = ["derive"] }
1415
serde_json = "1.0.150"
1516
splash-core = { path = "../splash-core" }
1617
splash-protocol = { version = "0.1.0", path = "../splash-protocol" }

0 commit comments

Comments
 (0)