Skip to content

refactor(dev)!: remove the development runtime App-asset path - #856

Merged
ScriptedAlchemy merged 3 commits into
mainfrom
chore/remove-runtime-app-assets
Sep 25, 2026
Merged

ScriptedAlchemy merged 3 commits into
mainfrom
chore/remove-runtime-app-assets

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Deletes the remaining Playground-era App-asset path from the dev runtime provider contract: DevRuntimeSession.readAsset and /api/runtime/assets, the prepared-runtime apps input and DevRuntimePreparedMcpApp, DevRuntimeAssetRequest, DevRuntimeStatus.hmrReady, the mcp-app runtime surface kind, the mcp-protocol/resource-selection/sandbox/csp/app-bridge phases, and the launch/credential fields on DevRuntimePreparedMcpServer (now { id, name, targets }). The Workbench runtime client and examples/rsc-agent-runtime are migrated: the example's dev session now compiles only rsc and widget; the app environment is production-build only.

Checks:

  • pnpm test: build, unit, route-unit, projection passed. The integration pool had 4 failures (public-api x2, generated-route-server x2) because packages/agent-bundle/dist/index.d.ts disappeared during the run. After a fresh pnpm build, both files pass.
  • pnpm examples:check: passed (after fixing a README wording and one stale example assertion).

@changeset-bot

changeset-bot Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 73d262f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
agent-bundle Minor
create-agent-bundle Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-25T06:27:46.186407Z 73d262f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ScriptedAlchemy
ScriptedAlchemy merged commit 12a1ddc into main Sep 25, 2026
3 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 73d262fb7f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

liveReload: false,
},
} : {}),
...(development ? {} : { app: {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update docs that still promise development App compilation

When users consult the public example catalog, both website/docs/en/examples/index.mdx:25 and website/docs/zh/examples/index.mdx:23 still claim that the development session compiles App output and uses an HMR topology, while this conditional now excludes the app environment from development builds. The linked topology document also still describes an HMR lane and a generation-bound MCP App bridge. Update both locales and the topology prose so they describe App compilation as production-only and do not promise the removed runtime App path.

AGENTS.md reference: AGENTS.md:L89-L95

Useful? React with 👍 / 👎.

@github-actions github-actions Bot mentioned this pull request Sep 25, 2026
@ScriptedAlchemy
ScriptedAlchemy deleted the chore/remove-runtime-app-assets branch September 25, 2026 20:20
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