Skip to content

Add scope-stack builders, URL-context resolver, workspace executor#506

Draft
RhysSullivan wants to merge 1 commit intors/cloud-workspaces-04-workspace-crudfrom
rs/cloud-workspaces-05-url-context
Draft

Add scope-stack builders, URL-context resolver, workspace executor#506
RhysSullivan wants to merge 1 commit intors/cloud-workspaces-04-workspace-crudfrom
rs/cloud-workspaces-05-url-context

Conversation

@RhysSullivan
Copy link
Copy Markdown
Owner

  • scope-stack.ts emits the global / workspace stacks the plan calls for
    (innermost first), with deterministic prefixed scope ids and the new
    Me / + Global naming.
  • url-context.ts resolves /:org and /:org/:workspace URL segments to the
    organization + workspace rows (no membership check — that stays in
    the protected middleware).
  • executor.ts exposes createGlobalExecutor and createWorkspaceExecutor;
    makeExecutionStack now takes a context object so the protected API and
    MCP session DO can swap in a workspace context without touching the
    factory shape.
  • Test harness now reuses buildGlobalScopeStack so prod and test stay in
    lock-step.

No callers of the workspace path yet — chunk 7 wires it through the
HTTP layer.

- scope-stack.ts emits the global / workspace stacks the plan calls for
  (innermost first), with deterministic prefixed scope ids and the new
  Me / <org> + <org> Global naming.
- url-context.ts resolves /:org and /:org/:workspace URL segments to the
  organization + workspace rows (no membership check — that stays in
  the protected middleware).
- executor.ts exposes createGlobalExecutor and createWorkspaceExecutor;
  makeExecutionStack now takes a context object so the protected API and
  MCP session DO can swap in a workspace context without touching the
  factory shape.
- Test harness now reuses buildGlobalScopeStack so prod and test stay in
  lock-step.

No callers of the workspace path yet — chunk 7 wires it through the
HTTP layer.
Copy link
Copy Markdown
Owner Author

RhysSullivan commented May 4, 2026

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing c1300b7 Commit Preview URL

Branch Preview URL
May 04 2026, 05:10 PM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud c1300b7 May 04 2026, 05:10 PM

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 4, 2026

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@506

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@506

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@506

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@506

@executor-js/storage-core

npm i https://pkg.pr.new/@executor-js/storage-core@506

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@506

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@506

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@506

@executor-js/plugin-google-discovery

npm i https://pkg.pr.new/@executor-js/plugin-google-discovery@506

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@506

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@506

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@506

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@506

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@506

executor

npm i https://pkg.pr.new/executor@506

commit: c1300b7

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