diff --git a/workers/playground/src/index.js b/workers/playground/src/index.js
index 7e5aa5f8..7bdad533 100644
--- a/workers/playground/src/index.js
+++ b/workers/playground/src/index.js
@@ -1,3 +1,4 @@
+import RETRY_DEMO_PAGE from "./retry-demo-page.js";
var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -1938,16 +1939,15 @@ footer{
- Run the failure mode that makes consequential AI-agent actions
- dangerous. Let the provider execute, lose the response, retry the
- same operation \u2014 then inspect what actually happened.
+ Optional hosted activation uses Stripe test checkout. This is separate
+ from learning the retry decisions.
+ Run the ungated simulation first . Do not enter real card data.
@@ -6407,7 +6407,11 @@ var index_default = {
"npm_clicked",
"mcp_npm_clicked",
"github_clicked",
- "agent_guide_clicked"
+ "agent_guide_clicked",
+ "homepage_view", "hero_demo_click", "demo_started", "demo_completed",
+ "unknown_state_viewed", "protect_first_action_click", "mode_selected",
+ "quickstart_started", "install_copied", "first_action_step_reached",
+ "github_click", "docs_click", "hosted_sandbox_click"
]);
const allowedSources = /* @__PURE__ */ new Set([
"website",
@@ -7255,9 +7259,12 @@ var index_default = {
SUCCESS_PAGE
);
}
- if (request.method === "GET" && url.pathname === "/") {
+ if (request.method === "GET" && url.pathname === "/hosted") {
return html(PAGE);
}
+ if (request.method === "GET" && url.pathname === "/") {
+ return html(RETRY_DEMO_PAGE);
+ }
return json3(
{
error: "not_found"
diff --git a/workers/playground/src/retry-demo-page.js b/workers/playground/src/retry-demo-page.js
new file mode 100644
index 00000000..9f57a8bc
--- /dev/null
+++ b/workers/playground/src/retry-demo-page.js
@@ -0,0 +1,2 @@
+// Generated by scripts/generate-site-surface.mjs; do not hand-edit.
+export default "\n\n\t\n\t\t\n\t\t\tUngated demonstration
\n\t\t\tSee what a retry should decide. \n\t\t\tInteractive simulation of Once’s documented state decisions. No account or checkout required.
\n\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
Without protection · blind retry \n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tThe action commits; acknowledgement is lost. \n\t\t\t\t\t\t\tA blind retry can create a second ticket. \n\t\t\t\t\t\t \n\t\t\t\t\t\t
— Simulated effects for this intent \n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
With Once · protected boundary \n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tKnown success can be replayed. \n\t\t\t\t\t\t\tUnknown outcome blocks another dispatch. \n\t\t\t\t\t\t \n\t\t\t\t\t\t
— Simulated effects for this intent \n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
NOT STARTED \n\t\t\t\t\t
Use the controls to explore confirmed replay, changed-input conflict and uncertain outcomes.
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t1. Run first action Provider truth unavailable Reset demo \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\tInteractive controls need JavaScript. The explanation above remains available.\n\t\t\t\t\t\tRun the actual SDK locally .\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
You have seen the decision. Now verify it with the SDK. \n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tThis browser simulation illustrates Once’s documented behavior. It does not run the SDK, persist execution state or prove\n\t\t\t\t\texternal-provider durability. Inspect reproducible evidence or\n\t\t\t\t\tverify the installed SDK .\n\t\t\t\t
\n\t\t\t
\n\t\t\t\n\t\t \n\t\t\n\t\t