Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ Once helps protect supported refunds, bookings, payments and other externally vi
- AI agent retry safety: https://onceexec.com/ai-agent-retry-safety/
- TypeScript SDK: [`@once-agent/sdk@0.1.25`](https://www.npmjs.com/package/@once-agent/sdk)
- Python SDK: [`once-agent-sdk==0.1.1`](https://pypi.org/project/once-agent-sdk/)
- MCP package: `@once-agent/mcp@0.1.5`
- MCP package: `@once-agent/mcp@0.2.0`

Existing OpenAI/Claude plugin launchers remain pinned to their previously reviewed MCP 0.1.5. This MCP release does not release a new plugin or enable the private experimental GitHub adapter.
- MCP Registry: `io.github.stringsofthemind-oss/once`

```bash
Expand Down
3 changes: 2 additions & 1 deletion docs/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ Python SDK: `once-agent-sdk==0.1.1`

PyPI: https://pypi.org/project/once-agent-sdk/

MCP package: `@once-agent/mcp@0.1.5`
MCP package: `@once-agent/mcp@0.2.0`
Existing plugin launchers retain their separately reviewed MCP 0.1.5 pin; this release does not enable the private GitHub adapter.

Official MCP Registry identity: `io.github.stringsofthemind-oss/once`

Expand Down
2 changes: 1 addition & 1 deletion docs/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h3>With Once · protected boundary</h3>
<footer class="footer wrap">
<span
>Once · Open source · MIT<br />TypeScript <span data-version="ts">0.1.25</span> · Python <span data-version="python">0.1.1</span> ·
MCP <span data-version="mcp">0.1.5</span></span
MCP <span data-version="mcp">0.2.0</span></span
>
<nav aria-label="Footer">
<a href="/quickstart/">Quickstart</a><a href="/evidence/">Evidence</a><a href="/agent.md">Agent guide</a
Expand Down
2 changes: 1 addition & 1 deletion docs/evidence/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h2>Review the source and safety tests</h2>
<footer class="footer wrap">
<span
>Once · Open source · MIT<br />TypeScript <span data-version="ts">0.1.25</span> · Python <span data-version="python">0.1.1</span> ·
MCP <span data-version="mcp">0.1.5</span></span
MCP <span data-version="mcp">0.2.0</span></span
>
<nav aria-label="Footer">
<a href="/quickstart/">Quickstart</a><a href="/evidence/">Evidence</a><a href="/agent.md">Agent guide</a
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ <h2>Protect one action.<br />Prove it survives a retry.</h2>
<footer class="footer wrap">
<span
>Once · Open source · MIT<br />TypeScript <span data-version="ts">0.1.25</span> · Python <span data-version="python">0.1.1</span> ·
MCP <span data-version="mcp">0.1.5</span></span
MCP <span data-version="mcp">0.2.0</span></span
>
<nav aria-label="Footer">
<a href="/quickstart/">Quickstart</a><a href="/evidence/">Evidence</a><a href="/agent.md">Agent guide</a
Expand Down
3 changes: 2 additions & 1 deletion docs/llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ NATURAL PLACEMENT: the current SDK provides wrapTool(callback, semantics) for a

AUTOMATIC CONNECT: published in @once-agent/sdk@0.1.25. It can classify supported agent-tool descriptors as BYPASS, PROTECT, or fail-closed UNKNOWN; plan and connect whole local tool registries; resolve trusted intent/idempotency identity; bind effect payload; and structurally wrap OpenAI Agents FunctionTools. Automatic protected local execution requires Node 24.15+ and shared same-machine SQLite state. It is not a multi-host or universal exactly-once guarantee.
LOCAL PROTECTION: protectLocal(existingAsyncFunction, {id, payload}) keeps the call shape and receiver, snapshots ordinary data arguments, and uses durable same-machine SQLite on Node 24.15+. It validates a narrow plain-data domain. UNKNOWN and CONFLICT block; do not infer ABSENT from a timeout. See examples/local-function/README.md in the repository. For separate hosts use a supported distributed Once integration.
MCP package: @once-agent/mcp@0.1.5
MCP package: @once-agent/mcp@0.2.0
Existing plugin launchers intentionally remain pinned to MCP 0.1.5; no new public plugin or GitHub integration release is included.
MCP Registry: io.github.stringsofthemind-oss/once

ROUTING RULE
Expand Down
3 changes: 2 additions & 1 deletion docs/published-versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ts": "0.1.25",
"mcp": "0.1.5"
"mcp": "0.2.0",
"pluginMcp": "0.1.5"
}
2 changes: 1 addition & 1 deletion docs/quickstart/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ <h2>Keep protection active</h2>
<footer class="footer wrap">
<span
>Once · Open source · MIT<br />TypeScript <span data-version="ts">0.1.25</span> · Python <span data-version="python">0.1.1</span> ·
MCP <span data-version="mcp">0.1.5</span></span
MCP <span data-version="mcp">0.2.0</span></span
>
<nav aria-label="Footer">
<a href="/quickstart/">Quickstart</a><a href="/evidence/">Evidence</a><a href="/agent.md">Agent guide</a
Expand Down
2 changes: 1 addition & 1 deletion docs/retry-exposure/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h1>Estimate retry exposure.</h1>
<footer class="footer wrap">
<span
>Once · Open source · MIT<br />TypeScript <span data-version="ts">0.1.25</span> · Python <span data-version="python">0.1.1</span> ·
MCP <span data-version="mcp">0.1.5</span></span
MCP <span data-version="mcp">0.2.0</span></span
>
<nav aria-label="Footer">
<a href="/quickstart/">Quickstart</a><a href="/evidence/">Evidence</a><a href="/agent.md">Agent guide</a
Expand Down
19 changes: 11 additions & 8 deletions scripts/check-site-surface.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ assert.equal(sitePython, pythonVersion, "homepage Python SDK version must match
assert.equal(siteMcp, published.mcp, "homepage MCP version must match the published MCP version");
assert.ok(sourceAtLeastPublished(mcpPackage.version, published.mcp),
"MCP source version must not precede its published version");
// Plugin updates have a separate release gate; latest npm is not an upgrade authorization.
const pluginMcp = published.pluginMcp;
assert.ok(sourceAtLeastPublished(published.mcp, pluginMcp), "plugin MCP pin must be explicit and not exceed the published MCP version");

assert.ok(
rootReadme.includes(`@once-agent/sdk@${published.ts}`),
Expand All @@ -68,24 +71,24 @@ assert.ok(
"root README must name the current published MCP version",
);
assert.ok(
codexLauncher.includes(`@once-agent/mcp@${published.mcp}`),
"Codex launcher must pin the current published MCP version",
codexLauncher.includes(`@once-agent/mcp@${pluginMcp}`),
"Codex launcher must retain the separately reviewed plugin MCP pin",
);
assert.ok(
claudeLauncher.includes(`@once-agent/mcp@${published.mcp}`),
"Claude Code launcher must pin the current published MCP version",
claudeLauncher.includes(`@once-agent/mcp@${pluginMcp}`),
"Claude Code launcher must retain the separately reviewed plugin MCP pin",
);
assert.ok(
codexSkill.includes(`@once-agent/sdk@${published.ts}`),
"Codex CLI fallback must pin the current published TypeScript SDK version",
);
assert.ok(
codexReadme.includes(`@once-agent/mcp@${published.mcp}`),
"Codex plugin README must match the current published MCP version",
codexReadme.includes(`@once-agent/mcp@${pluginMcp}`),
"Codex plugin README must match the separately reviewed plugin MCP pin",
);
assert.ok(
claudeReadme.includes(`@once-agent/mcp@${published.mcp}`),
"Claude Code plugin README must match the current published MCP version",
claudeReadme.includes(`@once-agent/mcp@${pluginMcp}`),
"Claude Code plugin README must match the separately reviewed plugin MCP pin",
);

assert.match(homepage, /Run the retry demo/, "homepage must lead to the ungated demo");
Expand Down
12 changes: 7 additions & 5 deletions scripts/validate-openai-plugin.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,18 @@ assert(["ON_INSTALL", "ON_USE"].includes(marketEntry.policy?.authentication), "M
assert(marketEntry.category === "Security", "Marketplace category must be Security");

const onceServer = mcp.mcpServers?.once;
const pluginMcp = published.pluginMcp;
assert(/^\d+\.\d+\.\d+$/.test(pluginMcp), "Reviewed plugin MCP pin must be explicit strict semver");
assert(onceServer, "MCP config must define mcpServers.once");
assert(onceServer.command === "node", "Once MCP launcher must use node");
assert(Array.isArray(onceServer.args) && onceServer.args[0] === "./scripts/once-mcp.cjs", "Once MCP launcher path is incorrect");
assert(
launcher.includes(`@once-agent/mcp@${published.mcp}`),
`MCP package must be pinned to published @once-agent/mcp@${published.mcp}`
launcher.includes(`@once-agent/mcp@${pluginMcp}`),
`MCP package must retain reviewed plugin pin @once-agent/mcp@${pluginMcp}`
);
assert(
readme.includes(`@once-agent/mcp@${published.mcp}`),
`Codex plugin README must describe published @once-agent/mcp@${published.mcp}`
readme.includes(`@once-agent/mcp@${pluginMcp}`),
`Codex plugin README must describe reviewed plugin pin @once-agent/mcp@${pluginMcp}`
);

assert(skill.replace(/\r\n/g, "\n").startsWith("---\n"), "Skill must start with YAML frontmatter");
Expand Down Expand Up @@ -149,5 +151,5 @@ assert(!combined.includes("[TODO:"), "Plugin package contains unresolved TODO pl
console.log("OPENAI CODEX PLUGIN: PASS");
console.log(`Plugin: ${manifest.interface.displayName} v${manifest.version}`);
console.log(`Routing evals: ${evals.positive.length} positive / ${evals.negative.length} negative`);
console.log(`MCP: @once-agent/mcp@${published.mcp}`);
console.log(`MCP plugin pin: @once-agent/mcp@${pluginMcp}`);
console.log(`SDK fallback: @once-agent/sdk@${published.ts}`);
2 changes: 1 addition & 1 deletion workers/playground/src/retry-demo-page.js

Large diffs are not rendered by default.

Loading