Skip to content

fix(runtime): expose extension shared context and control-plane types - #5005

Merged
mcollina merged 1 commit into
mainfrom
fix/runtime-extension-control-plane-types
Jul 23, 2026
Merged

fix(runtime): expose extension shared context and control-plane types#5005
mcollina merged 1 commit into
mainfrom
fix/runtime-extension-control-plane-types

Conversation

@mcollina

Copy link
Copy Markdown
Member

Summary

  • expose Runtime control-plane operations in the public TypeScript declarations
  • add a snapshot-based sharedContext facade to main-thread runtime extensions
  • document application environment lifecycle errors and shared-context semantics
  • cover extension updates, worker broadcasts, overwrite/concurrency, lifecycle states, and types

Fixes #4999

Validation

  • cd packages/runtime && npm test

Expose the Runtime control-plane methods in the public declaration and add a
shared-context facade for main-thread extensions. Document lifecycle errors
for application environment access and cover worker broadcasts, snapshot,
overwrite, concurrent-update, and close-state behavior.

Assisted-by: pi:OpenAI GPT-5.4
Signed-off-by: Matteo Collina <hello@matteocollina.com>
@mcollina
mcollina requested a review from ShogunPanda July 23, 2026 14:24
@mcollina
mcollina merged commit fd4d793 into main Jul 23, 2026
237 checks passed
@mcollina
mcollina deleted the fix/runtime-extension-control-plane-types branch July 23, 2026 15:53
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.

runtime: expose shared context and complete control-plane types for extensions

2 participants