mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-04 17:21:40 +00:00
* build(deps): remove npm shrinkwrap; mirror pnpm lock into transient package locks npm 12 removed shrinkwrap (command + tarball/root loading). Delete all 82 committed npm-shrinkwrap.json files and stop publishing lockfiles; keep pnpm-lock.yaml as the single reviewed dependency boundary. The generator becomes scripts/generate-npm-package-lock.mjs and feeds plugin bundling via a transient package-lock.json + npm ci (works on npm 11 and 12). Tarball validation treats the published 2026.7.2 beta train as a shrinkwrap transition; self-update npm detection now uses install topology instead of the shipped shrinkwrap. * fix(deps): repair lint, deadcode, and test-type lanes for the npm 12 migration - sort integrity comparisons with an explicit comparator (oxlint) - keep resolveBunGlobalNodeModules module-local (knip unused-export gate) - model npm pack --json as npm<=11 array / npm 12 name-keyed object - default calver destructuring in the tarball test fixture
Meta provider
Bundled OpenClaw provider plugin for the Meta API — an OpenAI-compatible
Responses API endpoint (POST /v1/responses).
- Base URL:
https://api.meta.ai/v1 - Auth:
Authorization: Bearer $MODEL_API_KEY - Model:
muse-spark-1.1(reasoning model)- Context window: 1,048,576 tokens (input + output share the budget)
- Maximum output: 131,072 tokens
- Reasoning effort:
minimal | low | medium | high | xhigh(default:high) - Vision: image input in
usermessages - Tool calling + streaming
- Stateless encrypted reasoning replay (
store: false)
Usage
Set the API key and select the model:
export MODEL_API_KEY=<key>
// ~/.openclaw/openclaw.json
{
agents: {
defaults: {
model: { primary: "meta/muse-spark-1.1" },
},
},
}
Or run onboarding and choose Meta.
Thinking / reasoning
--thinking <level> and /think <level> map to Responses API reasoning.effort.
Default thinking level is high. off maps to minimal because Muse Spark does
not accept none.
Docs
See docs/providers/meta.md for setup, onboarding, and smoke tests.
Live test
export MODEL_API_KEY=<key>
pnpm test:live -- extensions/meta/meta.live.test.ts
Live tests call muse-spark-1.1 on /v1/responses.