Skip to content

feat: promote provider tool-call stream wrapper#86489

Merged
steipete merged 1 commit into
mainfrom
codex/provider-stream-public
May 25, 2026
Merged

feat: promote provider tool-call stream wrapper#86489
steipete merged 1 commit into
mainfrom
codex/provider-stream-public

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Summary

  • promote createPlainTextToolCallPromotionWrapper onto the public provider stream SDK surface
  • migrate bundled xAI and LM Studio providers off the private local-only SDK subpath
  • leave the old internal subpath as a deprecated re-export and document the public helper
  • add focused tests for promotion and non-tool bracketed streaming pass-through

Verification
Behavior addressed: createPlainTextToolCallPromotionWrapper is now available from the public provider stream SDK surface while the existing internal runtime subpath remains a deprecated compatibility re-export.
Real environment tested: local source checkout on macOS.
Exact steps or command run after this patch: node scripts/run-vitest.mjs src/plugin-sdk/provider-stream-shared.test.ts src/plugin-sdk/provider-stream.test.ts src/plugin-sdk/provider-stream-runtime-internal.test.ts extensions/xai/stream.test.ts extensions/lmstudio/src/stream.test.ts; pnpm plugin-sdk:api:check; git diff --check origin/main...HEAD; /Users/steipete/Projects/agent-scripts/skills/autoreview/scripts/autoreview --mode branch --base origin/main.
Evidence after fix: Vitest reported 5 files passed and 48 tests passed; plugin SDK API baseline check reported OK; diff whitespace check passed; autoreview reported no accepted/actionable findings.
Observed result after fix: xAI and LM Studio import the public shared provider stream helper; the deprecated internal subpath remains importable and covered by tests; current main promptness regressions remain covered.
What was not tested: live xAI or LM Studio provider calls.

Replaces #86409 because that PR head could not be updated by maintainers.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation extensions: lmstudio extensions: xai size: L maintainer Maintainer-authored PR labels May 25, 2026
@clawsweeper

clawsweeper Bot commented May 25, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: feat: promote provider tool-call stream wrapper This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@steipete steipete merged commit 5d01803 into main May 25, 2026
133 of 136 checks passed
@steipete steipete deleted the codex/provider-stream-public branch May 25, 2026 12:55
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 26, 2026
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
jameslcowan pushed a commit to jameslcowan/openclaw that referenced this pull request Jun 2, 2026
SYU8384 pushed a commit to SYU8384/openclaw that referenced this pull request Jun 3, 2026
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation extensions: lmstudio extensions: xai maintainer Maintainer-authored PR size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant