Skip to content

refactor(runtime): remove patches native in 4.0 - #302

Merged
kingsword09 merged 1 commit into
mainfrom
chore/runtime-patch-prune
Nov 25, 2026
Merged

kingsword09 merged 1 commit into
mainfrom
chore/runtime-patch-prune

Conversation

@kingsword09

Copy link
Copy Markdown
Owner

Summary

  • Remove legacy runtime rewrites for detached-agent lifecycle, HTTP no-content responses, and Z.AI/BigModel OAuth polling, which are native in the pinned ZCode 4.0.0 runtime.
  • Retain required capability checks so a later runtime missing these behaviors fails synchronization.
  • Consolidate OAuth polling validation under native-oauth-polling and rename its helper module accordingly.
  • Remove the official MCP availability patch that has been skipped since the 4.0 runtime shape change. Document the current trusted-origin registry behavior instead.
  • Add regression coverage that checks native features and rejects runtimes missing required capabilities.

Validation

  • bun run test:all
  • bun run check
  • bun run typecheck
  • bun run prepack

All checks pass against ZCode 4.0.0 / runtime 0.18.0.

@github-actions

Copy link
Copy Markdown
Contributor

pkg-pr-new preview for commit fa687ae5f6677ef9e24e4c92bb1f536d0b1b1bec.

npx --yes https://pkg.pr.new/zcode-app-cli@fa687ae

Full repository URL

This preview uses the selected commit. PR updates publish automatically after CI succeeds; kingsword09 can also request a preview with /pkg-pr-new.

Workflow logs

@kingsword09
kingsword09 merged commit 15a61f9 into main Nov 25, 2026
5 checks passed
@kingsword09
kingsword09 deleted the chore/runtime-patch-prune branch November 25, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant