chore: record OpenWA 0.14.0 as the tested host - #65
Merged
Conversation
Verified against core v0.14.0 rather than assumed: the manifest schema, the net allowlist, activation, the handover gate, webhook-ingress subscription, the hook interfaces and the whole sandbox worker tree are byte-identical to 0.12.1, every permission and hook name these plugins declare still exists, and the suite, typecheck and catalog check are clean. No plugin needed a code change. Two behaviour notes for the two plugins a user would actually notice. Baileys stopped generating link previews unless the sender asks for it, and the plugin send path has no way to ask — so a link sent by typebot-connector (whose link and redirect bubbles ARE bare URLs) or in a chatwoot-adapter agent reply now arrives without a preview card. whatsapp-web.js is unaffected, and so is every reply-only plugin. Also corrects the vendored contract: registerSearchProvider has required the search:provide permission since core 0.12.2, where the comment still told readers it was ungated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Records OpenWA 0.14.0 as the tested host for all ten plugins, and fixes two pieces of documentation that had gone stale.
testedOpenWAVersion→0.14.0in every manifest (eight were on0.12.1, gsheets-logger on0.8.1, supabase-otp-hook on0.8.16), withplugins.jsonand the README badges regenerated.versionandminOpenWAVersionare untouched, and no download URL changed — the catalog cannot advertise a release that does not exist yet.No plugin needed a code change.
Why the bump is safe
Verified against core 0.14.0 rather than assumed. Comparing blob hashes between the
v0.12.1andv0.14.0tags, these are byte-identical: the manifest schema, the net allowlist, activation, the handover gate, webhook-ingress subscription, the hook interfaces, and the entire sandbox worker tree. Every permission string and hook name these plugins declare still exists and is still emitted with the same payload. The manifest schema gained no field, andSUPPORTED_SDK_MAJORis still1.The loader shrank by around 1,100 lines in this window, which looks alarming in a diff stat but is a decomposition into
plugin-sandbox-bridge.tsandplugin-capability-context.ts— every capability verb, gate, timeout and error string is preserved.testedOpenWAVersionis never enforced by the host; it is catalog display metadata. Bumping it is documentation, and that is the point — it tells operators which host these were actually exercised against.Two behaviour notes
Baileys stopped generating link previews unless the sender asks for it, and the plugin send path has no way to ask —
ConversationSendEnvelopehas nolinkPreviewfield. Two plugins are affected in a way a user would notice, and both now say so in their README:Reply-only plugins (after-hours, chat-flow, faq-bot, http-action) are unaffected, quoted replies keep their preview, and the whatsapp-web.js engine is unaffected entirely. Adding
linkPreviewto the plugin send envelope is worth a separate request upstream; the REST send DTO already has it.Also
registerSearchProviderhas required thesearch:providepermission since core 0.12.2 — the host denies the registration outright without it. The vendored contract still told readers it was ungated, which would have sent anyone adding a search backend down a confusing path.Verification
npx tsc --noEmitclean, 535/535 tests passing,node scripts/catalog.mjs --checkreports the catalog up to date.Worth flagging separately:
tsconfig.jsoncompiles against the vendoredtypes/openwa.d.ts, and there is no sync script or drift guard for that file. A green typecheck proves internal consistency, not host compatibility — the compatibility claims above rest on reading core, not on the exit code.