mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-22 22:24:59 +00:00
Extracts serialized plaintext tool-call parsing, scrubbing, stream normalization, and standalone promotion into the private internal @openclaw/tool-call-repair package.
Provider wrappers and the embedded runner now share one repair path for standalone serialized tool calls, including adjacent text-block splits, while preserving exact argument bytes when already valid. The public plugin SDK payload module remains as the compatibility facade.
Verification:
- pnpm test src/plugin-sdk/provider-stream-shared.test.ts src/plugin-sdk/tool-payload.test.ts src/agents/embedded-agent-runner/run/attempt.tool-call-normalization.test.ts -- --reporter=verbose
- env -u OPENCLAW_TESTBOX pnpm check:changed
- PR CI: all reported checks green/skipped/neutral on
|
||
|---|---|---|
| .. | ||
| agent-core | ||
| gateway-client | ||
| gateway-protocol | ||
| llm-core | ||
| llm-runtime | ||
| markdown-core | ||
| media-generation-core | ||
| media-understanding-common | ||
| memory-host-sdk | ||
| model-catalog-core | ||
| net-policy | ||
| plugin-package-contract | ||
| plugin-sdk | ||
| sdk | ||
| speech-core | ||
| terminal-core | ||
| tool-call-repair | ||
| web-content-core | ||