Clade 0.1.13
OpenClaude support
New sibling agent to Claude Code. OpenClaude is a claude-code fork that routes through any OpenAI-compatible endpoint (Ollama, GPUStack, GitHub Models, OAuth'd Codex, vLLM, LiteLLM, …) via CLAUDE_CODE_USE_OPENAI=1.
- Session store,
--continue/--resume/--session-id/positional-prompt flags, andCLAUDE.mdauto-discovery all inherited from upstream. - Same wpc target as
claude—CLAUDE.md+.claude/skills/<name>/SKILL.mdscaffolding works unchanged. - Local-endpoint wizard adds an openclaude checkbox; Plan() injects
CLAUDE_CODE_USE_OPENAI=1+OPENAI_BASE_URL/MODEL/API_KEY+--modelon next launch.
OpenClaude install — phantom-dependency workaround
OpenClaude (0.13.0 + 0.14.0) statically imports @aws-sdk/client-bedrock-runtime but doesn't declare it (only @anthropic-ai/bedrock-sdk, which pulls it in transitively). That resolves under npm's flat hoisting but crashes under
strict pnpm with ERR_MODULE_NOT_FOUND on launch.
- Clade installs openclaude into a managed prefix (
<config>/clade/agents/openclaude/) via a project-localpnpm add --config.node-linker=hoisted— the only mechanism that flat-hoists the transitive aws-sdk where openclaude's import
resolves (pnpm add -gignores every node-linker knob). - The global pnpm config is untouched: codex/opencode/gemini/deepseek keep their strict global layout.
ERR_PNPM_IGNORED_BUILDS(pnpm 10+ blocking sharp/protobufjs postinstall) is treated as success — build scripts stay blocked; openclaude doesn't need them at launch.
Global default local-LLM endpoint
New top-level Local LLM tab (^5) saves a default self-hosted endpoint (URL + API key + wire API) once, so you don't retype it on every chat.
- Edit endpoint / key / wire API, Test connection (queries the model list), Save as default, Clear.
- New chats that opt into a local endpoint offer "Use saved endpoint / Enter a new one"; "use saved" jumps straight to the live model query.
- Connection-only: model and per-agent selection stay per-chat, so each chat can still diverge. Already-configured chats are untouched.
Context primer fix
The fresh-launch context primer now points the agent at the compiled root doc that actually sits in its cwd (CLAUDE.md / AGENTS.md / GEMINI.md, which embed the mission/playbook/rules) plus MEMORY.md — instead of the standalone
playbook.md/rules.md, which live in the workpath source dir and are never copied into the sandbox.
Supply-chain hardening
- Every
pnpm addClade emits now carries an explicit--registry=https://registry.npmjs.org/. Defends against poisoned~/.npmrc/ project.npmrc/npm_config_registryredirection. - OpenClaude is pnpm-only: no npm fallback, no curl|bash. Locked in by regression tests.
--ignore-scriptsdeliberately not added globally: would break codex/opencode postinstall (native-binary fetch).
SHA256
f772d50328dbb72a6a8ac9249852b67c1a21a00a095aba67fe7cc57b68f19ac1 clade-darwin-amd64.tar.gz
a1284beec1660a2713dfc63e797795b21f966ff41866aa1c44a6e5c9d4aaa48d clade-darwin-arm64.tar.gz
6c2045caf5daacc82e39c0da475a03ddf81354614ccac1557838d2e9a7a1d4d7 clade-linux-amd64.tar.gz
4fbf7be4e4ba84fcab8665a38fcfc1ec65e8c2d65c844533ccfa054387b3f44b clade-linux-arm64.tar.gz
f2b6859ad514c28277c78346b84b72b026c083fd6e13dfa27efb8787d8a8c2aa clade-windows-amd64.zip