mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-05 15:12:55 +00:00
Fixes #85124. Anthropic standard API keys no longer resolve as provider usage auth for `openclaw status --usage`, so valid inference keys are not sent to Anthropic's OAuth usage endpoint and surfaced as misleading invalid bearer-token errors. The provider usage-auth SDK result now has an explicit handled/no-token shape so provider hooks can suppress generic fallback without widening the OAuth helper contract. Docs, Plugin SDK API baseline, and extension package-boundary cache inputs were updated with the new contract. Thanks @zhangguiping-xydt. Proof: - node scripts/run-vitest.mjs src/infra/provider-usage.auth.normalizes-keys.test.ts src/infra/provider-usage.auth.plugin.test.ts extensions/anthropic/index.test.ts - pnpm plugin-sdk:api:check - pnpm plugin-sdk:check-exports - git diff --check origin/main...HEAD - pnpm docs:list - pnpm run test:extensions:package-boundary:compile - autoreview clean: no accepted/actionable findings - PR CI rollup green: 131 success, 22 skipped, 1 neutral, 0 failures Co-authored-by: 张贵萍0668001030 <zhang.guiping@xydigit.com>
3 lines
191 B
Plaintext
3 lines
191 B
Plaintext
f1da4b7930475e4be33cb05b8c239f728c7338eb1e8df9b7905bbae94d62da9e plugin-sdk-api-baseline.json
|
|
6fd007eede80893680d65c6f245eafb9e6301a1e4306530b0134fd5b3da0cddb plugin-sdk-api-baseline.jsonl
|