Skip to content

Bring the root README up to date with the shipped runtime#36

Merged
rmyndharis merged 1 commit into
mainfrom
docs/update-root-readme
Jul 12, 2026
Merged

Bring the root README up to date with the shipped runtime#36
rmyndharis merged 1 commit into
mainfrom
docs/update-root-readme

Conversation

@rmyndharis

Copy link
Copy Markdown
Owner

What & why

The root README still described the v0.5.x plugin runtime; this syncs it with what the plugins actually target (0.6.x–0.8.x, sandboxed worker since v0.6.0, Integration SDK v1). Several claims had gone stale and one was actively wrong.

Changes

Section Before After
Security / Constraints "No sandbox … in-process with full Node privileges" Sandboxed worker thread (since v0.6.0); capabilities + ctx.net.fetch host-gated (SSRF guard). Worker still has Node APIs, so "install trusted only" stands.
Capabilities table Only messages, engine, storage, logger Adds ctx.net, ctx.conversations, ctx.handover, ctx.mappings, ctx.registerWebhook, plus the engine additions getChatHistory (0.8.5+) and canonicalChatId (0.8.7+), and the net:fetch / conversation:send / webhook:ingress permission gates.
Manifest permissions "only the two below are enforced" Lists all five enforced gates.
Compatibility "target OpenWA 0.5.x" 0.6.x–0.8.x; each plugin declares minOpenWAVersion.
Roadmap Lists "FAQ / auto-reply bot" Dropped — faq-bot shipped.
Status "Early development" "Active — a growing catalog".

Verification

  • npm run catalog:check — up to date (the generated catalog region is untouched).
  • Capabilities and permissions cross-checked against types/openwa.d.ts (the vendored contract).

Notes

  • The Hooks table already matched HookEvent in types/openwa.d.ts, so it's left as-is.
  • minOpenWAVersion is still a convention OpenWA doesn't hard-enforce; that caveat is kept.

The root README still described the v0.5.x era; sync it with the runtime the plugins
actually target (0.6.x–0.8.x, sandboxed since v0.6.0, Integration SDK v1).

- Security / constraints: plugins run in a sandboxed worker thread (since v0.6.0) with
  host-gated capabilities and SSRF-guarded ctx.net.fetch — not "in-process with full Node
  privileges". The worker still has Node APIs, so "install trusted only" stands.
- Capabilities table: add ctx.net, ctx.conversations, ctx.handover, ctx.mappings, and
  ctx.registerWebhook, plus the engine read additions getChatHistory (0.8.5+) and
  canonicalChatId (0.8.7+), and the net:fetch / conversation:send / webhook:ingress
  permission gates.
- Manifest permissions comment: list all five enforced gates.
- Compatibility: target range is 0.6.x–0.8.x (each plugin declares minOpenWAVersion), not 0.5.x.
- Roadmap: drop "FAQ / auto-reply bot" (faq-bot shipped).
- Status: "Early development" → "Active — a growing catalog".
@rmyndharis rmyndharis merged commit 7592f18 into main Jul 12, 2026
1 check passed
@rmyndharis rmyndharis deleted the docs/update-root-readme branch July 12, 2026 01:00
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