From 4cd51728ff44808032c8ae228050d013c936d167 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Wed, 10 Jun 2026 02:15:37 +0000 Subject: [PATCH] docs(agentstack): note dual-runtime support (Bun + Node.js + Workers + browser) Matches the revised Shared AppKit PRD's Runtime Compatibility Strategy. AgentStack is runtime-neutral (no Bun/Node-only APIs; time is injected). Co-Authored-By: Claude Opus 4.8 --- docs/agentstack.md | 6 ++++++ packages/agentstack/README.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/docs/agentstack.md b/docs/agentstack.md index 19c6e9a..d408265 100644 --- a/docs/agentstack.md +++ b/docs/agentstack.md @@ -50,6 +50,12 @@ payment, escrow, and reputation stay linked. Terminal statuses (`complete`, `fai `updateTaskStatus`, `delegate`, `revokeDelegation`, `listTasks`, `snapshot`, `on` - `agentStackPlugin` — a validated LogicSRC `PluginDefinition` +## Runtime + +Runtime-neutral by design — pure TypeScript, no Bun- or Node-only APIs (time is injected via +the `AgentStack` constructor). Runs on Bun, Node.js, Cloudflare Workers, and the browser, +matching the Profullstack dual-runtime standard (Bun + Node.js both first-class). + ## Plugin manifest ```jsonc diff --git a/packages/agentstack/README.md b/packages/agentstack/README.md index b26ae3a..131f12e 100644 --- a/packages/agentstack/README.md +++ b/packages/agentstack/README.md @@ -51,6 +51,12 @@ sh1pt.users.id -> did:coinpay:user:123 ugig.users.id -> did:coinpay:user:123 ``` +## Runtime + +Runtime-neutral by design — pure TypeScript with no Bun- or Node-only APIs (time is injected +via the `AgentStack` constructor). Runs on **Bun, Node.js, Cloudflare Workers, and the +browser**, matching the Profullstack dual-runtime standard. + ## Environment ```txt