Skip to content

refactor(providers): deslop model-provider plugins second pass - #160038

Merged
steipete merged 2 commits into
mainfrom
deslop/l136-providers2
Sep 28, 2026
Merged

steipete merged 2 commits into
mainfrom
deslop/l136-providers2

Conversation

@steipete

@steipete steipete commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Provider plugins still duplicated shared stream, catalog, normalization, and setup logic after the earlier provider cleanup passes.

User Impact

Provider behavior is preserved; five additive Plugin SDK export bindings are described below. Request bodies, stream event order, model IDs/catalogs, credentials, usage/cost, retries, error classification, manifests, and configuration keys stay unchanged. The Codex plugin is outside this change.

Why This Change Was Made

This second pass uses existing SDK and plugin owners:

  • Kimi shares result/iterator message traversal with the SDK; OpenRouter shares assistant-prefill trimming while retaining its reasoning predicate.
  • Ollama and Apple Foundation Models share assistant-message construction. Ollama also reuses vector normalization, credential coercion, and cached lazy surfaces; LM Studio derives its service-acquisition type from the SDK owner.
  • Google shares canonical catalog model-ID normalizers through the lightweight model-reference SDK entrypoint. CLI settings and response observation shed duplicate coercion and forwarding.
  • OpenAI removes four catalog copies already shadowed by the manifest, shares catalog-result projection, calls the prompt-overlay owner directly, and removes redundant realtime forwarding/types.
  • DeepInfra derives its API-key descriptor from its existing manifest. Bedrock, Copilot, Foundry, and small providers reuse usage, numeric, model-selection, and configuration owners and remove redundant local wrappers.
  • xAI uses canonical UTF-16 slicing and its existing realtime URL owner; stale narrating comments are removed.

Additive public Plugin SDK exports

This PR intentionally promotes the following supported provider-data helpers on existing SDK subpaths. These are five additive export bindings; the earlier statement that the API was unchanged was incorrect. No existing public export or package subpath is removed or renamed.

Subpath Added exports and support contract
openclaw/plugin-sdk/model-ref-parse normalizeGooglePreviewModelId, normalizeAntigravityPreviewModelId: apply the canonical catalog alias rules without loading replay or transport policy.
openclaw/plugin-sdk/provider-stream-shared transformProviderStreamMessages: synchronous, in-place transformation of partial, terminal, and result() messages; callbacks tolerate absent fields and repeated visits, while stream/event identity and iterator ordering remain intact. stripTrailingAssistantPrefillMessages: remove trailing assistant prefills in place, return the removed count, and retain OpenAI tool_calls and tool_use/toolCall blocks. Thinking and route selection remain with the caller.
openclaw/plugin-sdk/provider-transport-runtime buildAssistantMessage: construct the assistant envelope from caller-supplied model, content, stop reason, and usage; use the supplied timestamp or the current time. It introduces no token accounting or pricing policy.

These functions are intentionally supported SDK contracts, not new authority or persistence capabilities. Their owners already serve core plus bundled consumers; the cutover moves Google, Kimi, OpenRouter, Ollama, and Apple Foundation Models onto those owners. The existing provider hook/catalog docs describe the helpers. Independently published consumers must require a host release containing the exports through the existing openclaw.compat.pluginApi contract; bundled plugins and their host ship together. Release tooling owns the paired version floors. This PR does not change manifests or add older-host fallbacks.

Configuration and stored data

Compatibility review completed at 29434d2abd6c55ace666518a67a4d22ac34b973f: the Bedrock/Tencent edits preserve existing migration mappings and precedence; DeepInfra preserves its setup flag, environment selector, sensitive prompt, profile, and default; embedding edits preserve the normalization algorithm and stored shape. No configuration key, schema, retention, recovery policy, or credential-storage contract changes. The additive SDK bindings and their host-version requirement are intentionally documented above. The published update/recovery and registered-auth observations below complete the config/default compatibility check.

Bedrock keeps its existing legacy-to-plugin discovery migration and destination-value precedence; only the nullable-record adapter and shallow-copy wrappers change. Tencent keeps the existing managed aliases and legacy-primary repair, with local predicates and forwarding types inlined. Neither registration nor migration policy changes. The published 2026.9.6 driver rejects retired root-level models.bedrockDiscovery before staging any candidate. The supported replay below uses authored plugin-local Bedrock settings and a saved Tencent preview primary; the untouched legacy backup is reserved for a separate candidate Doctor recovery test.

The embedding-related data-model flags do not identify a stored-data change: LM Studio only derives an erased service type from its SDK owner. Ollama retains dimensional slicing and non-number rejection, then calls the identical finite-value, magnitude, and near-zero normalization algorithm in packages/memory-host-sdk/src/host/embedding-vectors.ts. Its secret reader delegates to the existing identical owner. No schema, serialized vector shape, model/cache identity, dimensions, retention, or storage writer changes. The complete source diff contains 88 files; the review's truncated-file-list heuristic does not establish another migration.

Measured production diff: 347 added, 1,020 deleted; 673 net lines removed. One existing import-closure case follows its removed wrapper to the canonical SDK owner; its assertions and count remain intact. This is below the 1,000-line target after a complete source sweep. The size-sorted coverage below records every production file over 200 lines. Distinct OAuth rules, catalog fallback policies, payloads, stream queues, and retry/timeout behavior remain where sharing would change a contract. The Google JSON wire-roundtrip helper and Mantle's cross-package SDK cast retain their existing contracts.

Evidence

Managed independent reviews are scoped-clean through P2 for the production refactor and follow-up. Current head is 29434d2abd6c55ace666518a67a4d22ac34b973f, based on main 20021ebe9b7a96539c98b8dd3a578fb46534ee05. git range-diff confirms both provider commits remain patch-identical. The three touched SDK owners and dependency lockfile are unchanged from the previous provider base; incorporated fixture and CI-owner repairs are described below. Exact-head CI 36458607178 passed, including openclaw/ci-gate. Published-updater recovery and fresh DeepInfra auth proof have now passed at that exact head. BELOW-THRESHOLD-PR-READY: 673 net production lines removed.

Coverage was audited again: three baseline omissions (Novita, Z.AI, and Kie video implementations) were read and added, giving 205 production files over 200 lines across 61 provider directories. The already-landed video code uses existing SDK owners and retains distinct wire contracts; it was not rewritten. The two changed manifests were reread, and the final-base delta only added Kie artwork. The complete corrected log is embedded below.

Blacksmith Testbox tbx_01m3khbkk3wff7b31bs9c7xwc2 verified tested head 07f4258ac295224ebeb86b47449bf43c2544e481, tree 38bd681eb276934b98741820e8c78e870f75c299. The complete command exited 0; the lease is stopped. The provider proof is reused for the patch-identical rebase and reported at its actual tested revision. CI results below remain separate from that Testbox proof. Discarded duplicate fixture changes are absent from this PR.

Proof Result
Full batches for all 21 touched providers 5,422 passed, 1 existing skip; 347 executed files. The planner selected 359 targets. copilot-proxy has no own test files and uses the documented --allow-no-tests option.
Provider/model importers and SDK stream owners 531 passed across 32 files
fs-safe-import-boundary and import-boundary siblings 66 passed across 8 files
Full check-changed Passed: core and extension types, all 25 core test type graphs, extension test types, lint, unused exports, topology, ratchets, and repository guards
Final pnpm build Passed, 687.7s wall
SDK export registration and API comparison Passed. Existing package subpaths are retained; five additive function export bindings are disclosed above.
Fresh DeepInfra registered auth Passed: fresh {} through the registered source method, prompt and flag paths, sensitive prompt, profile/default/alias, and noninteractive flag admission; zero network attempts. This is source auth-boundary proof, not packaged install, host credential persistence, or live API proof.
Published updater with saved Bedrock/Tencent config Passed: both cells. Pinned 2026.9.6 driver → exact candidate payload; saved Bedrock preservation, Tencent migration, bundled plugin origins, byte-exact automatic snapshots, published backup restore, and candidate repair of restored legacy config.

Changed-test cost: pnpm test extensions/openai/model-construction.imports.test.ts --maxWorkers=1 passed five cases in 14.62s wall, with approximately 0.64s of test execution. No tests were added, removed, or weakened. The assertion ratchet contains seven exact generated decreases, excluding unrelated increases.

Published updater compatibility replay

Blacksmith Testbox tbx_01m3ms60xtjf1b2gt34gf3cyd7 (hydration run 36475188543) executed the two-cell replay at exact head 29434d2abd6c55ace666518a67a4d22ac34b973f, tree e8f38e215f5450e44cb317825fee2fb7273e1ac4. The wrapper and all child phases exited 0; the final remote command took 362.2s. The lease is stopped. Fresh DeepInfra prompt/flag auth proof also passed on this lease, through the registered source method, with zero network attempts.

The source-pinned composed tarball explicitly includes Bedrock and Tencent and passed the canonical package integrity check. Its SHA-256 is bf947d453f899249e46786a26813854cb8afcc60a68e2295bf1eea9bbecf5fab. The published driver was integrity-verified [email protected] from https://registry.npmjs.org/openclaw/-/openclaw-2026.9.6.tgz, with sha512-Ie0kyQSCVfFqixsgVg39vevUDq01Ch5u3+7Yu5Y3qARczmdAe+lzp8bVnO9925rHiW/+CFp70zfORCyPmCH31g==. Candidate and driver version strings match, so proof compares the full immutable installed application payload and candidate build-info commit, not version strings alone.

Both cases preserve custom provider URL/header/env-reference bytes, aliases, model parameters, guardrail settings, and unrelated model settings. The string-primary case and the object-primary/fallback case completed the published update in 89.2s and 73.2s. Before any standalone Doctor, saved values matched independent expectations and both plugin origins resolved to the candidate's bundled directories. The update preserved Bedrock's false/zero values and Tencent's explicit fallback. Updater-created .pre-update and .bak files matched the authored supported input byte-for-byte at mode 0600.

Each published backup create --only-config --verify archive retained the separate untouched legacy specimen. The retained published runtime restored it into a fresh directory with exact original bytes; candidate Doctor then repaired the legacy Bedrock field and Tencent primary, preserving explicit Bedrock destination precedence, and candidate validation passed. Recovery left the updated installation's config untouched. Standalone Doctor preserved complete models, plugins, agents, and gateway objects. Its only other top-level writes were wizard and skills: explicit Doctor repair disables unavailable skills and refreshes its timestamp, whereas update-time Doctor deliberately does not disable optional skills (src/commands/doctor-skills.ts). An initial full-file idempotence assertion was corrected to that actual owner contract; all byte-exact backup/recovery assertions remain.

The first raw-legacy replay is retained as a limitation: the immutable published driver rejected retired models.bedrockDiscovery with invalid-config before staging any candidate. Candidate bytes cannot change that earlier admission decision; the later candidate-owned admission architecture already landed separately in #155632. The successful update cells use authored, published-driver-valid plugin-local Bedrock settings; legacy-field migration is proven through recovery afterward. The baseline has saved settings but no external companion installation. This proves a composed distribution and root-config recovery, not external plugin registry convergence, automatic failed-update package rollback, SQLite recovery, live provider API behavior, or Gateway restart.

Commands ran serially through the repository wrapper with --provider blacksmith-testbox --id tbx_01m3ms60xtjf1b2gt34gf3cyd7 --timing-json and OPENCLAW_TESTBOX=1 OPENCLAW_TESTBOX_REMOTE_RUN=1. The task-only harness executes these supported operations in isolated prefixes/state paths:

pnpm install --frozen-lockfile
node scripts/package-openclaw-for-docker.mjs --bundle-plugin amazon-bedrock --bundle-plugin tencent --output-dir <package-dir> --output-name openclaw-provider-upgrade.tgz
npm install -g --prefix <published-prefix> [email protected] --no-fund --no-audit
<published-cli> backup create --only-config --verify --output <archive> --json
<published-cli> config validate --json
<published-cli> update --tag file:<candidate.tgz> --yes --json --no-restart
<candidate-cli> plugins list --json
<candidate-cli> config validate --json
<candidate-cli> doctor --fix --non-interactive
node <retained-published-cli> backup restore <archive> --target <fresh-target> --json
<candidate-cli> doctor --fix --non-interactive
<candidate-cli> config validate --json

An earlier 30-minute-idle lease expired during slow local source preparation before the next remote command started. The successful replacement used a two-hour idle window to cover the observed preparation delay. The external runner portal's final sync reported a timeout, but the actual wrapper receipt, command exit, source binding, all phases, and assertions succeeded; the portal warning is not presented as test evidence.

Fixes found along the way

The original CLI recovery-output flake mixed simulated polling ticks with real inspection time. A separate fixture repair passed 20 full-file repetitions and three original-shard repetitions, then was closed unmerged as duplicate #160235 when main landed #160319 (ae3c05addca). The temporary private-helper import repair #160263 was also closed unmerged after main restored its export in da2efd83b8a. Both duplicate patches are absent here. Main's Node-selection fixture repair 8b549de1e0c is included; its 19 cases and the 18 process-output cases passed during refreshed Testbox proof.

The native update-custody fixture read SQLite before its child binding was committed. Separate #160545 is now merged as 4aac6a64210: the fixture waits for the existing EOF admission barrier and preserves every assertion. Its real-process lock control, 20 complete file runs (340 cases), three original-shard runs, and refreshed-head file/shard/changed checks passed. It landed under the explicit inherited-CI exception after the only failing source-contract gate was independently matched and its owner repair 385ac2893544 was confirmed on main.

Main also contains the requester-clock repair #160407 (88e3331026a), so duplicate #160411 was closed unmerged. The recovery-admission timer repair 9fe93a204e3 and heartbeat delivery-boundary repair d9569745764 landed independently; our unpublished alternatives were discarded. Earlier provider CI 36432968621 failed the updater receipt, heartbeat fixture, and planner census; those first two owners are now repaired in this base. The planner's repeated source-scan timeout is tracked by existing #159279. The current PR CI passed; that result is not claimed as a repair of the earlier timing failure.

Previous CI 36396360577 failed two extension jobs before tests loaded because the compiler rejected different OPENCLAW_TEST_PROJECTS_PARALLEL scheduling values. The identical error appeared in unrelated PR #137092 at matching head 54d26d0d0e797222938275a2335205ac9673b2cc, job 108843032105. Its job failed; its aggregate run was later cancelled. The owning repair #160290 (7510c4bd528) is now included in this base. security-fast passed in the earlier run; the cancelled build's missing-proof upload was cancellation aftermath, not a build failure. Fresh CI replaces that failed integration result rather than treating it as green.

Testbox commands

Commands ran serially through node scripts/crabbox-wrapper.mjs run --provider blacksmith-testbox --id tbx_01m3khbkk3wff7b31bs9c7xwc2 --timing-json -- OPENCLAW_TESTBOX=1 OPENCLAW_TESTBOX_REMOTE_RUN=1 ... after exact source-tree verification.

pnpm install --frozen-lockfile
node scripts/run-tsgo-core-test-shards.mjs --stripe 3/5 --concurrency 2
node scripts/run-vitest.mjs src/cli/update-finalization-output.process.test.ts src/cli/update-cli/update-command-convergence-authority.test.ts
pnpm test:extensions:batch amazon-bedrock,amazon-bedrock-mantle,anthropic,apple-fm,baseten,copilot-proxy,deepinfra,github-copilot,google,groq,kimi-coding,lmstudio,microsoft-foundry,ollama,openai,opencode-go,openrouter,tencent,venice,xai,zai --allow-no-tests
node scripts/run-vitest.mjs src/agents/models-config.providers.*.test.ts src/agents/model-catalog*.test.ts src/agents/agent-model-discovery.imports.test.ts src/agents/model-ref-shared.test.ts src/agents/model-compat.test.ts src/agents/stream-message-shared.test.ts src/agents/prompt-overlay-runtime-contract.test.ts src/plugin-sdk/provider-stream-shared.test.ts src/plugin-sdk/provider-stream.test.ts src/plugin-sdk/provider-stream-family.test.ts
node scripts/run-vitest.mjs src/infra/fs-safe-import-boundary.test.ts test/extension-import-boundaries.test.ts test/plugin-extension-import-boundary.test.ts test/test-helper-extension-import-boundary.test.ts test/control-ui-import-boundary.test.ts src/plugins/contracts/core-extension-facade-boundary.test.ts src/plugins/contracts/model-catalog-core-imports.test.ts src/plugins/contracts/extension-package-project-boundaries.test.ts
node scripts/check-changed.mjs --base origin/main --head HEAD --timed
pnpm build
pnpm plugin-sdk:check-exports
pnpm plugin-sdk:api:diff --base origin/main --head HEAD

This refactor makes no external API behavior change; no live API behavior claim is made.

Complete production coverage: 205 files over 200 lines

Provider second-pass coverage

Coverage refreshed against main 4902e4ae49a669702b92a1df3aeb01b167ec6715 and rechecked against final base 20021ebe9b7a96539c98b8dd3a578fb46534ee05 (only Kie artwork was added in the latter interval): 205 production files over 200 lines across 61 provider directories. Three baseline omissions (Novita, Z.AI, and Kie video implementations) were read and added; the two changed manifests were reread. All were already on the earlier base. Newly read code already uses SDK owners; vendor-specific wire and lifecycle contracts remain. Supplemental reads include Kie’s exactly-200-line model descriptors and X.AI’s compiler-only tsconfig (947 lines), excluded from this production count. Original sizes remain the lane-baseline measurements; refreshed rows use this pinned snapshot.
Every production source file over 200 lines was read, largest first within each independent provider group. Sizes are from the lane baseline; manifests and the Apple Foundation Models Swift source are included. Test files and test fixtures are excluded. Smaller production modules, public barrels, dynamic entrypoints and manifests were also read. Codex was excluded.

Lines File Result
1438 extensions/amazon-bedrock/stream.runtime.ts READ — replaced duplicated empty usage projection with createEmptyTransportUsage; retained Converse event ordering, cache anchors, error mapping, and route-specific thinking contracts.
1381 extensions/google/realtime-voice-provider.ts READ — Live connection ownership, transcript finality, function-response continuation and linear mu-law resampling are vendor-specific; shared codec resampling has different wire output.
1359 extensions/ollama/src/stream.runtime.ts READ — Replaced the exact assistant-message envelope copy with the existing SDK-exposed shared builder; retained usage telemetry and scheduler because their semantics differ from the generic transports.
1161 extensions/openai/openai-provider.ts READ — Removed duplicate manifest models and unified catalog outcome projection; kept account-scoped discovery and authored route contracts.
1135 extensions/google/transport-stream.ts READ — Removed the SDK HTTP-observer forwarding wrapper; retained the JSON wire-roundtrip helper, first-response deadline, retry, SSE truncation and native-video byte contracts.
1081 extensions/ollama/index.ts READ — Reused discovery's string/boxed-string credential reader instead of the identical registration-local copy. Native replay explicitly sets a false field omitted by the generic helper, so that adapter remains.
1062 extensions/lmstudio/src/setup.ts READ — Loaded-model gating, header-auth profile removal, config proposals, and strict/advisory discovery have distinct public contracts; earlier sweep already centralized shared self-hosted setup.
1015 extensions/google/openclaw.plugin.json READ — Public catalogs, alias/suppression metadata and config keys are hard contracts; unchanged.
896 extensions/comfy/workflow-runtime.ts READ — Local/cloud workflow uploads, header SecretRefs, private-host policy, history/status polling, and asset filtering have distinct contracts; already shares SDK HTTP/media/secret owners.
872 extensions/fal/image-generation-provider.ts READ — Per-model geometry/edit descriptors already own different published bodies; download suffix trust and strict image errors differ from generic compatible helpers.
871 extensions/openai/image-generation-provider.ts READ — Public, custom, Azure and subscription paths have distinct auth, request fields, multipart filenames, limits and response contracts; SDK already owns HTTP/assets.
724 extensions/openai/realtime-quicksilver-bridge.ts READ — Its direct-tool bridge has distinct startup, transcript-drain, and callback reentrancy behavior; existing lifecycle/transcript/wire owners already serve it. A deferred substitution was dropped because the SDK barrel would add eager dependencies.
724 extensions/openai/realtime-quicksilver-session.ts READ — Broker owns one-use offers, HTTP delivery, session allocation, cancellation, and retirement. Existing session-retirement owner already centralizes cleanup; GA/Live allocation ordering must remain distinct.
723 extensions/openai/provider-policy-api.ts READ — Authored/observed route precedence and ambiguity logic are the provider policy owner; generic helpers would alter endpoint or runtime compatibility.
707 extensions/microsoft-foundry/shared.ts READ — reused the existing token-family predicate, removed an already-proven branch, and consolidated endpoint suffix construction; other limits and reasoning mappings are Foundry-specific.
704 extensions/github-copilot/index.ts READ — replaced local primary-model projection with SDK resolveAgentModelPrimaryValue; retained credential validation-before-persistence and tenant transition behavior.
703 extensions/xai/xai-oauth.ts READ — Rotating-refresh-token retries, strict successful-body decoding and device polling have vendor-specific error/authority contracts; no equivalent SDK substitution.
702 extensions/openai/realtime-voice-bridge.ts READ — GA and Azure auth, WebSocket startup, bounded reconnects, and attribution already use canonical lifecycle, policy, and SDK error owners; remaining transport branches are contractual.
689 extensions/google/cli-backend-auth.runtime.ts READ — Reused SDK record coercion, removed redundant object copies and one-use settings constructor; preserved restricted CLI settings and credential staging.
682 extensions/openai/realtime-quicksilver-gateway-bridge.ts READ — Removed pass-through handleSidebandFrame; both buffered and live frame consumers now call the delegation owner directly. Preserved separate relay admission, peer adoption, and retirement paths.
679 extensions/ollama/src/setup.runtime.ts READ — Earlier sweep already consolidated host-backed modes; local/cloud model inspection and pull behavior must remain provider-owned.
677 extensions/anthropic/register.runtime.ts READ — prior pass already centralizes catalog/replay/auth owners; forward compatibility, provider cost restoration, and subscription routing have distinct contracts.
671 extensions/fal/video-generation-provider.ts READ — Queue result envelopes, deadline errors, Seedance reference limits, and model request fields are vendor-owned; unifying polling would change timeout/error contracts.
665 extensions/amazon-bedrock/discovery.ts READ — removed thinking-map forwarding helper in favor of its existing owner; foundation/profile merge ordering and strict/advisory failure distinction remain required.
655 extensions/amazon-bedrock/register.sync.runtime.ts READ — replaced local discovery type with canonical BedrockDiscoveryConfig; profile-based cache fallback and payload callback sequencing remain provider-specific.
644 extensions/microsoft-foundry/onboard.ts READ — consolidated duplicate Azure resource projection while preserving kind-specific endpoint and project resolution.
633 extensions/openai/realtime-voice-provider-factory.ts READ — Replaced three local configured-context copies with SDK RealtimeVoiceProviderConfiguredContext; retained distinct browser/GA/GPT-Live payload construction because their fields and defaults differ.
624 extensions/openai/realtime-quicksilver-wire.ts READ — Native JSON, multipart, GA sideband, and public Live call formats differ in allocation, headers, errors, and response handling. No sound additional consolidation preserves exact request bytes and lifecycle.
622 extensions/llama-cpp/src/managed-server.ts READ — Preset publication/reload serialization, GGUF integrity, cached artifacts, and legacy paths have runtime and upgrade contracts; no equivalent SDK replacement preserves them.
614 extensions/openai/realtime-quicksilver-delegation-controller.ts READ — Delegation steering, completion claims, requester-final authority, and bounded transcript publication already each have a single owner; repeated guards protect synchronous callback reentrancy and awaited authority.
612 extensions/google/video-generation-provider.ts READ — SDK and REST fallback order differs from generic pollProviderOperation's read/wait/count order; changing it would violate request/retry contracts.
597 extensions/openai/realtime-voice-session-policy.ts READ — Voice normalization now selects the typed allowlist entry without casts; auth helpers derive their parameter type from the auth-resolution owner; removed the unused turn-detection return alias after the protocol forwards directly.
596 extensions/ollama/src/provider-models.ts READ — Existing native catalog owner preserves credential-scoped show cache, capability provenance, completion limits, and cloud context; deprecated query helper remains public API.
596 extensions/openai/realtime-transcription-provider-factory.ts READ — Uses the canonical SDK WebSocket session owner. Remaining item ordering, UTF-8 byte accounting, first-terminal precedence, and VAD commit accounting are transcription protocol invariants.
588 extensions/openai/openai-chatgpt-provider.ts READ — Existing SDK model templates and OAuth identity reused; subscription forward compatibility, fallback limits and reconnect behavior remain provider-owned.
577 extensions/opencode/session-catalog.ts READ — V1 SQL and V2 standalone CLI migration, query cache, and transcript projection are required separate native contracts; pagination already uses the SDK owner.
563 extensions/lmstudio/src/models.ts READ — Earlier sweep already unified config/runtime model mapping; configured compat sanitation and loaded-instance context semantics differ from generic normalization.
551 extensions/xai/realtime-voice-bridge.ts READ — Already uses SDK lifecycle owner; remaining socket admission, reconnect blocking and optional capture fence named shipped contracts.
549 extensions/qwen/openclaw.plugin.json READ — Standard, Coding Plan and Token Plan catalogs and aliases are authoritative descriptors; no manifest/key/catalog changes allowed.
533 extensions/google/speech-provider.ts READ — Google TTS retry classification, prompt rendering and request shape are vendor-owned; WAV helper lacks an equivalent existing SDK export.
530 extensions/openai/realtime-quicksilver-media.runtime.ts READ — Consolidated five identical fatal stop-and-error callbacks into the existing media owner. Opus recovery, packet-loss concealment, pacing, and reordering remain unchanged.
528 extensions/anthropic/session-catalog-discovery.ts READ — deterministic byte charging, sidechain exclusion, inode identity, and independent Desktop overlay cache are distinct retained contracts.
523 extensions/llama-cpp/src/external-server/setup.ts READ — Earlier sweep centralized setup result construction; endpoint credential stripping, profile persistence, and managed-to-external transitions remain distinct.
521 extensions/ollama/src/node-inference.ts READ — Paired node authorization, resident-model priority, timeout accounting, and chat result projection are native contracts; parameter readers already use the SDK.
519 extensions/amazon-bedrock-mantle/discovery.ts READ — token success epochs, per-credential discovery cache, pricing, and retained public exports prevent replacing this with generic catalog discovery without changing behavior.
518 extensions/google/embedding-provider.ts READ — Shared vector normalization/auth/transport already used; Gemini task prefixes, dimensions, RetryInfo extraction and destination scoping remain provider-specific.
506 extensions/anthropic/session-catalog-listing.ts READ — bounded backward transcript scanning and fail-soft node publication have no equivalent SDK owner preserving existing cursors and budgets.
506 extensions/openrouter/video-generation-provider.ts READ — Shared polling/download helpers are already used; frame precedence, duration tie-breaking, and strict envelope errors remain provider-owned.
506 extensions/xai/realtime-voice-events.ts READ — xAI transcript correction, terminal-response ownership and tool-call timing are observable protocol behavior; generic voice callbacks do not own these transitions.
504 extensions/amazon-bedrock/embedding-provider.ts READ — six provider-native embedding wire formats and finite-vector validation differ from generic OpenAI-compatible embedding behavior.
496 extensions/moonshot/src/kimi-web-search-provider.runtime.ts READ — Native web-search tool loop, citation grounding and setup behavior are vendor-owned; already uses SDK HTTP/cache/secret owners.
495 extensions/anthropic/openclaw.plugin.json READ — public model catalog, aliases, auth choices, native-session commands, and config schema retained byte-for-byte.
492 extensions/openai/token-sharing-oauth.runtime.ts READ — Dynamic client registration and delayed verified callback response require distinct lifecycle; shared OAuth helpers used where identical.
491 extensions/ollama/src/embedding-provider.runtime.ts READ — Reused shared embedding L2 normalization and snapshot-secret resolution, retained dimensional selection and numeric validation, and derived the service-acquisition type from the SDK owner.
488 extensions/google/src/gemini-web-search-provider.runtime.ts READ — Shared time filters/cache/transport already used; Google grounding validation, header ownership and exact citation/response mapping remain distinct.
478 extensions/google/embedding-batch.ts READ — Already shares batch grouping, auth, HTTP reads and JSONL owner; Google file-route/multipart and operation metadata adapters remain needed.
476 extensions/anthropic/cli-shared.ts READ — prior pass consolidated argument stripping; effort, variadic flags, and restricted execution have different value/empty-argument contracts.
474 extensions/llama-cpp/src/setup.ts READ — Setup must account for cached artifacts, distinct runtime/model volumes, host capability, and configured embedding conflicts; no sound additional shared replacement found.
474 extensions/openai/realtime-voice-protocol.ts READ — Removed forwarding turn-detection method and one-use legacy-format method; call the existing policy owner directly. Preserved Azure versus GA payload shapes and response-control state ordering.
470 extensions/anthropic/cli.runtime.ts READ — active-turn authority checks, background notification settlement, and warm child ownership have no safe generic substitute.
470 extensions/opencode/session-upstream-activity.ts READ — Native event-sequence markers, human/replay classification, and V1/V2 indicators have no equivalent generic owner.
469 extensions/minimax/video-generation-provider.ts READ — Shared retry/poll/media owners are in use; file-id metadata requests and model-specific duration/resolution remain necessary.
469 extensions/xai/tts.ts READ — Replaced manual surrogate-boundary chunk slicing with SDK sliceUtf16Safe, preserving exact text.delta frames and ordering.
459 extensions/ollama/openclaw.plugin.json READ — Catalog IDs, pricing, activation, config keys, and discovery contracts are hard requirements; unchanged.
458 extensions/openai/openai-chatgpt-device-code.ts READ — Poll timeout and error/abort semantics differ from generic operation polling; preserves request bytes and transient retry timing.
441 extensions/kimi-coding/stream.ts READ — Removed duplicated iterator/result message traversal; now uses shared transformProviderStreamMessages while tagged-tool parsing and Kimi thinking policy remain local.
441 extensions/perplexity/src/perplexity-web-search-provider.runtime.ts READ — SDK owns cache, time filters, coercion, and errors; native Search versus Sonar filters/auth/response fields remain different contracts.
432 extensions/xai/src/web-search-provider.runtime.ts READ — OAuth refresh and API-key fallback precedence use SDK auth with deliberate xAI policy; no safe descriptor conversion.
430 extensions/openai/realtime-voice-events.ts READ — Completion callbacks, provisional tool events, error-to-response attribution, playback generation fencing, and tool argument limits have observable ordering and existing boundary coverage. No additional sound reduction.
429 extensions/anthropic/session-catalog-scan.ts READ — snapshot identity, watcher arming, and bounded LRU eviction callbacks differ from generic map pruning.
428 extensions/deepinfra/provider-models.ts READ — Removed private fallback forwarding layer and stale catalog narration; catalog/pricing/cache owners were already shared.
426 extensions/clawrouter/provider-catalog.ts READ — Native-route selection, credential-scoped models, micro-unit costs, and runtime metadata removal are ClawRouter-specific.
426 extensions/vydra/shared.ts READ — One local generation owner already serves image/video; same-origin auth, result recursion, and deadline mapping are distinct from other media APIs.
424 extensions/llama-cpp/src/llama-server-install.ts READ — Previous sweep already reused fs-safe hashing; publication integrity, pinned assets, abort ownership, and runtime verification remain necessary.
424 extensions/openai/openclaw.plugin.json READ — Complete manifest reviewed; model catalog, auth choices, endpoints, capability declarations and config remain unchanged.
422 extensions/xai/openclaw.plugin.json READ — Public model catalog, auth methods, suppression records, tool metadata and configuration schema are unchanged hard contracts.
421 extensions/qwen/stream.ts READ — Distinct Token Plan family constraints run after caller hooks; ordinary SDK payload patch runs before hooks and cannot replace this without changing requests.
419 extensions/xai/video-generation-provider.ts READ — Already uses SDK polling/deadlines/transport; image-role and video-mode branching is vendor request shaping.
418 extensions/openrouter/music-generation-provider.ts READ — Replaced repeated nested-record guards with canonical record coercion; streaming base64 quartet retention and bounded line assembly remain provider-owned.
404 extensions/openrouter/oauth.ts READ — Shared PKCE and callback server already used; provider callback query-state semantics and manual fallback/error wording remain required.
402 extensions/lmstudio/src/embedding-provider.ts READ — Derived service-acquisition type from the SDK owner; retained queued-vs-active preload cancellation and canonical-vs-instance routing semantics.
391 extensions/openrouter/index.ts READ — Existing SDK entry/replay owners already used; Fusion prompt sanitization and configured-model precedence are provider-specific.
388 extensions/novita/video-generation-provider.ts READ — Baseline coverage omission from #160080. Already uses canonical SDK auth, configured HTTP policy, deadlines, polling, JSON parsing, image encoding, download, and byte-limit owners. Wan versus Hailuo body layouts, image routing, duration/resolution constraints, option schemas, and native task statuses are provider-specific contracts; no source change proposed.
387 extensions/minimax/music-generation-provider.ts READ — Uses shared HTTP/download/deadline helpers; hex SSE completion/audio handling differs from other providers and must remain intact.
375 extensions/apple-fm/assets/AppleFoundationModels.swift READ — Native schema conversion and tool-boundary rollback behavior have no TypeScript SDK equivalent; unchanged.
369 extensions/github-copilot/login.ts READ — device login now consumes the provider-owned domain normalization; SDK compatibility facade has identical normalization but does not own this provider flow.
367 extensions/google/vertex-adc.ts READ — Removed stale naming/history commentary; authorized-user token refresh and google-auth-library fallback preserve different shipped credential contracts.
367 extensions/minimax/oauth.ts READ — Shared PKCE and expiry coercion already used; device-state, token expiry units, auth checks, and poll cancellation reasons are provider-specific.
366 extensions/volcengine/openclaw.plugin.json READ — Inference/coding catalogs plus speech aliases are canonical metadata; retained exact prices, ordering and auth aliases.
364 extensions/minimax/provider-registration.ts READ — API/portal credential selection and discovery differ; API-key/auth/replay/stream owners already canonical.
362 extensions/microsoft-foundry/image-generation-provider.ts READ — removed redundant integer validation after bounded digit-only size parsing; MAI request and error contracts retained.
362 extensions/ollama/src/web-search-provider.runtime.ts READ — Shared key resolver and response redaction already own common mechanics; fallback request order and provider-specific auth failures remain unchanged.
359 extensions/lmstudio/src/models.fetch.ts READ — Earlier sweep already reused capped JSON readers; strict credential redaction, canonical model error annotations, and native instance load semantics remain necessary.
355 extensions/github-copilot/models.ts READ — account picker visibility, provider-native limits, live entitlement metadata, and starter ranking remain distinct catalog policy.
355 extensions/opencode/session-catalog-plugin.ts READ — SDK session catalog family owns local/node paging and adoption; process-home policy and CLI availability remain native-specific.
353 extensions/openrouter/video-model-catalog.ts READ — Removed unknown-property type shells and pass-through request-cache wrapper; stable sorting and auth-scoped cache isolation retained.
351 extensions/mistral/realtime-transcription-provider-factory.ts READ — Already delegates connection/retry lifecycle to the SDK; remaining UTF-8 transcript limits, segment finalization and protocol frames are vendor-specific.
350 extensions/zai/index.ts READ — Previously covered; additionally reread its complete pinned implementation to verify the #160080 video registration alongside existing auth, model, stream, and usage hooks. Unchanged since the specified base; the video registration must not be redone.
349 extensions/github-copilot/embeddings.ts READ — generic embedding factory differs in parser, error wording, body limits, and endpoint normalization; preserved the exact Copilot contract.
347 extensions/openrouter/image-generation-provider.ts READ — Shared compatible parser used for dedicated endpoint; legacy chat envelopes and request routes differ and remain supported.
347 extensions/venice/openclaw.plugin.json READ — Authoritative route-specific catalog and tiered prices retained unchanged.
346 extensions/google/cli-backend-isolated-auth.runtime.ts READ — Reused SDK record coercion for privacy/telemetry/auth settings; retained Gemini CLI environment precedence and exact-tool isolation.
343 extensions/comfy/openclaw.plugin.json READ — Declarative capability config signals and schema are public configuration contracts; no edits.
342 extensions/chutes/oauth.ts READ — PKCE/callback/deadline/JSON owners already shared; token rotation and optional userinfo behavior remain provider-specific.
342 extensions/xai/realtime-voice-protocol.ts READ — Output acknowledgement, truncation and response-create gates encode xAI playback protocol; already uses canonical audio-format helpers.
341 extensions/anthropic/claude-desktop-groups.ts READ — bounded LevelDB/Snappy parser and tombstone ordering are private Desktop format handling, with no current SDK replacement.
340 extensions/xiaomi/index.ts READ — Pay-as-you-go versus Token Plan key prefixes, region requirement and distinct profile behavior prevent collapsing onto unvalidated API-key auth.
339 extensions/lmstudio/src/stream.ts READ — Retry cooldown, detached shared preload ownership, instance routing, and post-hook payload patch order differ from generic wrappers; unchanged.
337 extensions/anthropic/stream-wrappers.ts READ — prior pass uses shared payload wrappers; remaining beta merge, fast pricing, and OAuth identity behavior is Anthropic-owned.
337 extensions/radius/stream.ts READ — Native message protocol is not OpenAI-compatible; exact event sequencing, usage validation, and terminal tool agreement must stay provider-owned.
334 extensions/ollama/src/discovery-shared.ts READ — Promoted the existing internal string reader for registration reuse; retained local/cloud ambient-credential distinctions and network eligibility rules.
332 extensions/deepinfra/video-generation-provider.ts READ — Recent videos-endpoint cutover retained; inline data MIME sniffing and remote URL delivery are distinct contracts.
332 extensions/xai/index.ts READ — Already uses single-provider entry, replay family and shared catalog owner; billed-tool opt-in/auth precedence is vendor-owned behavior.
332 extensions/xiaomi/speech-provider.ts READ — Chat-completions audio with api-key header, voice-design omission and opus conversion differ from the generic speech endpoint contract.
327 extensions/minimax/speech-provider-factory.ts READ — Vendor directive/Talk precedence, token-plan auth, and voice-note transcoding differ from generic compatible speech.
320 extensions/xai/capability-provider-metadata-factory.ts READ — Catalog-time context injection prevents eager auth-runtime loading; repeated-looking audio format constants avoid crossing that lazy boundary.
317 extensions/openai/openai-chatgpt-oauth-flow.runtime.ts READ — Loopback and manual-code race allow provider-specific callback/fallback behavior; generic callback server rejects different cases.
315 extensions/deepinfra/openclaw.plugin.json READ — Existing auth metadata now supplies the runtime entry through manifestAuth; catalog IDs/costs/compat and configuration untouched.
313 extensions/anthropic/config-defaults.ts READ — CLI migration selection and API-key versus subscription defaults are provider policy; generic default appliers would normalize additional config.
312 extensions/github-copilot/openclaw.plugin.json READ — provider catalog, auth choices, request family, and config keys retained byte-for-byte.
311 extensions/anthropic/session-catalog.ts READ — native mixed-block pagination, adoption projection, and local-state isolation retain user-visible contracts.
309 extensions/anthropic/usage.ts READ — prior pass already uses shared pagination/accumulators; Anthropic admin bucket parsing and plan labels differ from other providers.
308 extensions/byteplus/video-generation-provider.ts READ — Already delegates polling/deadlines/downloads to SDK; Seedance request fields and task statuses must stay vendor-owned.
306 extensions/openai/realtime-quicksilver-socket.runtime.ts READ — Worker alone owns media decoding/pacing; separate control and audio queues retain different overflow contracts and acknowledgement order. No redundant competing owner found.
304 extensions/openai/realtime-quicksilver-socket.ts READ — Socket-shaped worker adapter owns accepted FIFO sends, credits, close deadlines, and immediate output fencing; forwarding methods are required transport capabilities.
303 extensions/anthropic/cli-backend.ts READ — credential FD lifetime, authority projection, and native CLI descriptor remain provider-specific and security-sensitive.
296 extensions/openai/openai-chatgpt-oauth-token.runtime.ts READ — Existing expiry/coercion/redaction owners reused; exchange and refresh intentionally differ in caught response failures.
294 extensions/openai/speech-provider.ts READ — SDK owns directive parsing; Groq format, OpenAI-compatible speed and extra-body fallback contracts differ from other providers.
288 extensions/anthropic/auth.runtime.ts READ — setup-token normalization, optional expiry, and native CLI migration preserve distinct auth contracts.
288 extensions/openai/realtime-quicksilver-peer.runtime.ts READ — Worker-control RPC and PCM credit handling preserve late peer cleanup and buffer ownership. Deferred replacement rejected because the available SDK barrel adds eager channel/proxy dependencies.
287 extensions/nvidia/openclaw.plugin.json READ — Current and deprecated exact-reference rows are intentional catalog contracts; no catalog changes.
286 extensions/llama-cpp/src/model-catalog.ts READ — Previous sweep already descriptorized the catalog; pinned model identities and separate disk/memory budgets remain authoritative.
283 extensions/openrouter/stream.ts READ — Removed duplicate trailing-assistant prefill traversal; existing SDK owner now serves OpenRouter while provider thinking/route predicates stay local.
282 extensions/qwen/index.ts READ — Region/auth variants and legacy route ownership are intentional; auth methods already use shared API-key owner.
281 extensions/google/provider-models.ts READ — Family descriptors already use resolveFamilyForwardCompatModel; provider-specific cross-catalog template order and alias metadata remain required.
280 extensions/volcengine/tts.ts READ — Seed NDJSON frames and legacy speech protocol have distinct credentials, status codes and payloads; HTTP/body owners are already shared.
278 extensions/together/video-generation-provider.ts READ — Existing SDK polling/deadline/download path already canonical; v2 endpoint and immediate-completion handling differ from BytePlus.
277 extensions/kie/video-generation-provider.ts READ — Baseline coverage omission from #160080, conservatively included alongside the original inventory's media-only neighbors. Shared SDK owners already handle auth, request policy, deadlines, polling, result downloads, and byte limits. Separate upload host, body-level API codes, encoded result JSON, model-specific image validation, and ordered multi-result downloads remain Kie contracts.
277 extensions/nvidia/provider-catalog.ts READ — Inventory intersection, featured ranking, IPv4 fetch and retired-model restoration are named vendor contracts; shared catalog cache already owns concurrency.
273 extensions/minimax/src/minimax-web-search-provider.runtime.ts READ — Shared web-search helpers already used; region inference and response error mapping differ from other MiniMax surfaces.
270 extensions/openrouter/provider-catalog.ts READ — Shared live cache, pricing, reasoning normalization already used; destination validation, fallback merge order, and model filtering are provider-specific.
268 extensions/anthropic/cli-transport.ts READ — control-response authority, bounded JSONL framing, platform process cleanup, and native handshake require this owner.
268 extensions/zai/detect.ts READ — Probe order and unsupported-model-only fallback preserve classification/backoff; SDK owns bounded response consumption.
266 extensions/opencode/stream.ts READ — Cloned messages plus event-specific toolcall delta/end rewrites cannot use the SDK's in-place message-only transform without changing behavior.
265 extensions/openrouter/usage.ts READ — Removed local unknown-property shells and casts; validated records feed existing shared numeric projection directly with unchanged cost arithmetic.
265 extensions/xai/realtime-voice-lazy.ts READ — Already uses lazy bridge lifecycle; FIFO ordering and distinct user/tool/audio buffer limits cannot be collapsed without changing admission.
265 extensions/xai/stream.ts READ — Already uses SDK stream composition; tool media placeholders differ from shared helper in accepted shapes and non-image/audio classification.
264 extensions/anthropic/session-catalog-parsing.ts READ — cursor validation and strict paired-node schemas remain distinct from generic model/provider catalog parsing.
261 extensions/baseten/openclaw.plugin.json READ — Model reasoning/transport settings and numeric prices remain canonical manifest descriptors.
261 extensions/clawrouter/index.ts READ — Credential-scoped dynamic-model snapshots and transport-family dispatch are required; already delegates replay and tool-schema family handling.
260 extensions/openai/usage.ts READ — Already uses shared pagination, daily accumulators, usage projection and token encoding; remaining mapping is OpenAI billing semantics.
260 extensions/zai/openclaw.plugin.json READ — Previously covered and changed since base. Reread the complete current manifest: #160080 video contract/auth signal remains, while 09bea762930 restores categories to ["models"]; model IDs, costs, auth choices, endpoints, and config keys are unchanged by that correction.
259 extensions/meta/openclaw.plugin.json READ — Responses thinking maps and contributor billing routes are authoritative metadata; retained unchanged.
259 extensions/xai/src/responses-tool-shared.ts READ — Removed narrating file comment; bounded citations, raw-offset projection and model-specific reasoning remain vendor policy.
258 extensions/anthropic/session-catalog-desktop.ts READ — prior pass centralized JSON cache; projected metadata lifetime and Desktop PR history ordering remain required.
258 extensions/opencode-go/stream-termination.ts READ — Uses shared zero-usage constructor; removed casts and redundant Promise wrapping while retaining stall timers, terminal event order, and cleanup.
257 extensions/lmstudio/src/runtime.ts READ — Header precedence, unresolved SecretRef diagnostics, and synthetic credentials have shipped distinctions from llama.cpp/Ollama; no behavior-identical replacement found.
254 extensions/zai/video-generation-provider.ts READ — Baseline coverage omission from #160080. Already delegates geometry selection, data URLs, auth, configured HTTP policy, deadlines, polling, download, and byte limits to the SDK. Regional Coding Plan to general-video endpoint selection, CogVideoX request fields, local-image constraints, and native task statuses remain provider-owned.
252 extensions/microsoft-foundry/auth.ts READ — discovered and manual Entra/API-key flows have distinct prompt, validation, and credential metadata contracts.
252 extensions/openai/embedding-batch.ts READ — Already uses shared batch grouping/retry/poll/deadline owners; remaining diagnostic, limits and retry predicates are provider contracts.
251 extensions/ollama/src/stream-compat.ts READ — Already uses shared payload patching and Moonshot thinking; native max/context handling and lazy activation remain provider contracts.
250 extensions/moonshot/openclaw.plugin.json READ — Chat, media and web-search defaults intentionally differ by capability; retained all declared IDs and schema keys.
250 extensions/xai/lazy-capability-provider-factories.ts READ — Existing SDK voice queue has 1 MiB/320-chunk limits, unlike transcription's 2 MiB/no-chunk-cap contract; retain distinct owner.
248 extensions/openai/openai-chatgpt-oauth.runtime.ts READ — Manual fallback grace and browser/TLS lifecycle are distinct; no sound shared-owner replacement without behavior change.
245 extensions/xai/usage.ts READ — Removed narrating file comment; SuperGrok omitted-usage/cent/period parsing is distinct vendor billing projection.
241 extensions/opencode/openclaw.plugin.json READ — Native session schema and public model metadata unchanged.
240 extensions/xiaomi/openclaw.plugin.json READ — Pay-as-you-go and Token Plan billing/catalog rows are intentionally distinct; no structural copy removal without changing metadata contracts.
239 extensions/xai/doctor-contract-api.ts READ — Removed narrating file comment; exact legacy signatures and model migration paths remain shipped data contracts.
238 extensions/ollama/src/setup-model-selection.ts READ — Native latest-tag dedupe, tool eligibility, preferred order, and inspection failure provenance differ from generic catalog merging; unchanged.
237 extensions/radius/oauth.ts READ — Existing shared expiry/HTTP helpers used; strict organization verification URL and OAuth slow-down/error behavior retained.
236 extensions/stepfun/openclaw.plugin.json READ — Regional standard/plan auth descriptors and catalogs retain their exact identity and zero-cost plan contract.
235 extensions/anthropic/claude-model-refs.ts READ — public migration aliases and date-suffixed auth references cannot be replaced by generic model parsing without changing results.
235 extensions/openai/realtime-quicksilver-sideband.ts READ — Early-frame buffering, retained terminal listeners, exact retry/backoff, and abort projection differ from the generic lifecycle attempt. Replacing them would change timeout/error behavior.
232 extensions/llama-cpp/src/hardware.ts READ — Host RAM/GPU/filesystem capacity probes feed setup policy and must retain platform-specific semantics; unchanged.
230 extensions/anthropic-vertex/stream-runtime.ts READ — generic thinking defaults differ from Vertex cap and sampling behavior; retained request bytes and ADC client ownership.
230 extensions/google/image-generation-provider.ts READ — Already uses SDK image assets, limits, auth and HTTP; strict Google inline-response shape checks and field casing remain required.
230 extensions/microsoft-foundry/provider.ts READ — configuration selection and runtime normalization have intentionally different explicit-reasoning precedence; retained those projections.
230 extensions/minimax/image-generation-provider.ts READ — Region selection and subject-reference wire shape differ from compatible image providers; base64 validation already shared.
230 extensions/xai/speech-provider-metadata-factory.ts READ — Factory supplies cold metadata with injected auth facts; format/language/directive policy is xAI-specific.
229 extensions/anthropic/session-upstream-activity.ts READ — prior pass uses shared history classifiers; local byte markers and remote UUID markers require separate flows.
227 extensions/anthropic/cli-output.ts READ — retained binary search over code regions; replacing it with SDK linear lookup would regress repeated raw-tool scanning performance.
226 extensions/xai/realtime-transcription-provider-factory.ts READ — Reused existing local realtime URL normalizer; SDK websocket session already owns connection/retry/queue machinery.
224 extensions/amazon-bedrock-mantle/mantle-anthropic.runtime.ts READ — removed boolean-only model identity wrappers; retained the documented cross-package SDK cast and local thinking-budget algorithm because their contracts differ.
224 extensions/apple-fm/native.ts READ — Previously centralized buffered process execution; helper build/discovery/publication and macOS eligibility remain native contracts.
224 extensions/vercel-ai-gateway/models.ts READ — Gateway tag/cost projection and fixed fallback rows are vendor-owned; shared live-catalog loader already owns fetch/cache behavior.
222 extensions/novita/openclaw.plugin.json READ — Previously covered and changed since base. Reread the complete current manifest: #160080 video and audio-reference metadata remains, while 09bea762930 restores the single ["models"] category; catalogs, pricing, aliases, and auth fields remain intact.
221 extensions/xai/realtime-voice-config.ts READ — Removed one-use VAD range wrapper in favor of direct canonical SDK coercion; retained shared duration and vendor voice/reasoning policies.
220 extensions/anthropic-vertex/provider-catalog.ts READ — prior pass consolidated model descriptors; regional billing and static catalog order remain provider-owned.
219 extensions/gmi/openclaw.plugin.json READ — Alias/request metadata and route catalog are already descriptors; no runtime copy remains.
217 extensions/kilocode/provider-models.ts READ — Per-token pricing fallback, malformed-row recovery, deduplication and default-row retention differ from generic projection; live fetch already shared.
215 extensions/openai/image-generation-codex-response.ts READ — Existing shared base64/response limits reused; completion snapshot precedence, bounded SSE and refusal diagnostics are transport-specific.
213 extensions/volcengine/speech-provider.ts READ — Shared secret and directive-number owners already used; legacy credentials and voice aliases remain named contracts.
212 extensions/llama-cpp/src/llama-server-assets.ts READ — Verified archive descriptors, aliases, and CUDA driver requirements are data/integrity contracts; unchanged.
211 extensions/opencode-go/openclaw.plugin.json READ — Public model/auth/catalog metadata unchanged.
207 extensions/google/realtime-voice-lazy.ts READ — Already uses canonical lazy lifecycle and audio queue; Google on-ready/audio-tail and error contracts differ from xAI.
207 extensions/openai/realtime-quicksilver-protocol.ts READ — Close receipts, transport cleanup, transcript draining, and finalization failure precedence already live in one protocol owner; call-specific content append bytes differ intentionally.
207 extensions/venice/stream.ts READ — Removed unused thinkingLevel parameter; Gemini historical signatures and unsigned-call downgrade remain provider-owned.
207 extensions/xai/model-definitions.ts READ — Catalog already derives from manifest; legacy exact signatures preserve authored rows during Doctor migration.
205 extensions/tencent/openclaw.plugin.json READ — TokenHub/TokenPlan prices and explicit migration paths retained; flattened redundant repair helpers at config-compat.ts owner.
204 extensions/chutes/index.ts READ — OAuth/API-key ordering and profile-marker discovery are intentional; shared auth/result/catalog owners already used.
204 extensions/cloudflare-ai-gateway/index.ts READ — Account/gateway metadata and credential-dependent catalog URL require custom auth; shared capture/persistence and stream owners already used.
203 extensions/baseten/models.ts READ — Replaced local positive-safe-integer validator with SDK helper while preserving Number coercion; model price rounding and feature projection stay provider-local.
201 extensions/google/music-generation-provider.ts READ — Already uses SDK music assets/auth/deadlines; single text-only retry and terminal-stop distinction are vendor behavior.
201 extensions/ollama/src/setup-pull.ts READ — Shared native request path already serves interactive/noninteractive pull; pull's tolerant NDJSON differs from strict inference parsing.
201 extensions/xai/x-search.ts READ — Shared cache/date/parameter/auth owners already used; handle filter limits and exact cache payload remain tool-specific.

@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review September 28, 2026 02:20
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 28, 2026
@openclaw-barnacle openclaw-barnacle Bot added the cli CLI command changes label Sep 28, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 28, 2026
@steipete
steipete force-pushed the deslop/l136-providers2 branch from 07f4258 to 9619d29 Compare September 28, 2026 10:38
@openclaw-barnacle openclaw-barnacle Bot removed the cli CLI command changes label Sep 28, 2026
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 28, 2026
@steipete
steipete changed the base branch from main to deslop/l136-requester-clock September 28, 2026 12:05
@steipete
steipete force-pushed the deslop/l136-providers2 branch 2 times, most recently from 34ad765 to 5e0af12 Compare September 28, 2026 13:53
@steipete
steipete changed the base branch from deslop/l136-requester-clock to main September 28, 2026 13:54
@openclaw-barnacle openclaw-barnacle Bot reopened this Sep 28, 2026
@steipete
steipete force-pushed the deslop/l136-providers2 branch from 5e0af12 to 29434d2 Compare September 28, 2026 17:30
@steipete

steipete commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Both requested proof gaps are now addressed in the PR body's Evidence section at unchanged head 29434d2abd6c55ace666518a67a4d22ac34b973f.

Fresh DeepInfra registration-to-auth proof passed for prompt and flag input, returned profile/default/alias, sensitive prompting, and noninteractive flag admission, with zero network attempts. This is explicitly a source auth-boundary result, not a packaged-install or live API claim.

Both published 2026.9.6 updater cells passed on Blacksmith Testbox: exact installed candidate payload and bundled plugin origins, supported saved Bedrock settings, Tencent primary/fallback migration, byte-exact automatic snapshots, and published backup restoration followed by candidate Doctor repair of the original legacy configs. The body records artifact identity, lease/run, commands, timings, and limitations. All provider-related settings remained unchanged under standalone Doctor; its unrelated skill repairs and wizard timestamp are disclosed.

The raw legacy Bedrock field is rejected by the immutable old driver before staging, so that negative observation is retained explicitly. Successful update cells use admitted plugin-local settings; legacy-field migration is proven through recovery. The five additive SDK exports and the unchanged embedding/storage contracts remain documented. The lease is stopped. Please refresh the compatibility checklist against this evidence; no source changes were made for these proof updates.

Compatibility review is complete for this exact head. The refreshed review accepted the behavior evidence and found no correctness or security defect; its remaining generic config-compatibility confirmation is now explicitly recorded under "Configuration and stored data" in the PR body. Existing migration mappings, precedence, config keys, schemas, storage formats, retention, recovery policy, and credential-storage contracts are preserved. The five additive SDK exports and matching-host requirement are the disclosed public surface change.

@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete
steipete merged commit 61cb9d0 into main Sep 28, 2026
234 checks passed
@steipete
steipete deleted the deslop/l136-providers2 branch September 28, 2026 21:12
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 29, 2026
…law#160038)

* refactor(providers): deslop model-provider plugins second pass

* chore(providers): align cleanup guards with shared owners
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant