0.1.14
wpc imports — shared capability bundles across templates
Templates can now declare "imports": ["_common/<bundle>"] in their workpath.json to pull in shared knowledge / tools / agents /
hooks / playbook+rules fragments from a sibling bundle. Collisions resolve in the consumer's favor; missing imports fail loud at compile
time. Nested templates (templates/<name>/workpath/) use "../_common/<bundle>" to escape the extra level. See docs/SCHEMA.md.
Clade-managed tools — first-class CLIs the agent calls
internal/installer grows a ToolID concept parallel to AgentID, with a managed install prefix under <config>/clade/tools/<name>/.
First registered tool: graphify, installed via uv tool install with the PyPI index pinned. Clade auto-adds each tool's bin dir to
PATH at startup so wpc-staged template scripts can call the tool by name. uv itself isn't auto-installed — Clade surfaces a clear
install command if it's missing (curl -LsSf https://astral.sh/uv/install.sh | sh etc).
Cross-harness hooks — write once, compile to each agent's native format
New hooks.json schema with seven portable events: pre_tool, post_tool, user_input, session_start, session_stop,
subagent_stop, notification. The claude target emits .claude/settings.json with the full Claude Code hook shape (per-event
groups, optional matcher, {type: command} entries). Targets without a stable hook system (codex, opencode, gemini, mika) append a
"hooks declared, NOT wired for X" note to their compiled instructions instead of silently dropping the hooks. Imports carry hooks with
the same collision policy as everything else (keyed on event+matcher).
Supply-chain stance
Carried forward from 0.1.13 and extended:
- Every
pnpm addClade emits includes--registry=https://registry.npmjs.org/. - Every
uv tool installClade emits includesUV_INDEX_URL=https://pypi.org/simple/. - The OpenClaude managed-prefix workaround (phantom
@aws-sdk/client-bedrock-runtimedep) remains in place. - The new tool installer uses the same managed-prefix isolation model.
Docs
README.md— workpath section now mentions imports + hooks; DeepSeek's row fixed tocodex; OpenClaude row added.docs/SCHEMA.md— newimportsandhooks.jsonreference sections.
SHA256
0c8cd0f5c66721739086dd1ee9afa8ce771d5594653c8f0edd89da53d4abbeb5 clade-darwin-amd64.tar.gz
b7041afedba6545242e330ead851b30bf667e0a66451e1de290f6d001262803d clade-darwin-arm64.tar.gz
f9374ccc70d2c008785d3f0836a30f3b4430ed6569680ab0124e31c9123ec3dc clade-linux-amd64.tar.gz
bfd3c896c05514f4a02b36a45f248960ff18f57cb5d061cc26686749c5c7c00a clade-linux-arm64.tar.gz
31b9ae00a849eecab887febefffa5b06e0758fd9bbb1365fec826c38933c62cf clade-windows-amd64.zip