v2.11.0
run402 v2.11.0 — Astro SSR runtime
The agent-side surface for the Astro SSR runtime + ISR cache that landed on the gateway as v1.52. Pairs with @run402/functions@2.6.0 and @run402/astro@1.0.0-alpha.1.
SDK (@run402/sdk@2.11.0)
New 22nd namespace: r.cache — origin-cache inspection and invalidation:
r.cache.invalidate(url)— single URL, sub-second freshnessr.cache.invalidatePrefix({ host, prefix })— path-prefix bulkr.cache.invalidateAll({ host })— wipe a host's cacher.cache.invalidateMany(urls)— batchr.cache.inspect(url, { locale?, releaseId? })— peek without warming the cache; returns{ status: 'HIT' | 'MISS', cachedAt, expiresAt, contentSha256, writtenUnderGeneration }
Project-scoped (server-validated; cross-project hosts throw R402_CACHE_INVALIDATION_HOST_FORBIDDEN). Generation-guarded — in-flight MISS renders started before an invalidate cannot overwrite the freshly-cleared state.
CLI (run402@2.11.0)
Five new top-level commands, all agent-DX shortcuts for the SSR loop:
run402 cache invalidate <url>(also--prefix,--all) — same surface as the SDKrun402 cache inspect <url>(also--locale,--release-id,--json)run402 init astro— scaffolds an Astro 5/6 project wired to Run402 (astro.config.mjswith@run402/astro1.0 preset,[slug].astroSSR template wired to the DB, layouts,.env.example)run402 dev— runsnpx astro devwith.env.localand Run402 credentials in scoperun402 doctor— 5 health checks (credentials, allowance, project, network, SDK build),--jsonfor machine-readable output, exit 1 on failrun402 logs --request-id req_XYZ— fetch logs for a specific request id across every function in the project (parallel scan, timestamp-ascending merge)
MCP (run402-mcp@2.11.0)
Lockstep-published. No new MCP tools yet for cache — the SDK r.cache namespace is the canonical surface; MCP host agents can call into it via the existing mcp__run402_sdk boundary or shell out to the CLI.
Compat / breaking
None. All additions are additive — existing SDK methods, CLI commands, and MCP tools are unchanged.
Doc updates
The whole agent-doc surface was refreshed in lockstep:
AGENTS.md— bumped 21 → 22 namespaces; new architecture section on v1.52 ISR cache substrate, generation guard, ALS taintREADME.md— same bump; new Astro SSR + cache pitch paragraphSKILL.md+openclaw/SKILL.md— new 'Astro SSR runtime + ISR cache' pattern subsectionllms.txt— new vision bulletcli/llms-cli.txt— 5 new command sections + R402_* SSR Runtime Error Codes tablesdk/llms-sdk.txt—r.cachenamespace section with CacheInvalidateResult / CacheInspectResult typessdk/README.md+astro/README.md+astro/CHANGELOG.md— namespace catalog, v1.0 SSR preset
Schema fix: release-spec.v1.json caught up with shipped i18n.unknownLocalePolicy (was a separate drift; fixed in v2.11.0).