v1.0.3
v1.0.3
Fix for OpenClaw's plugin discovery model introduced in the path-scanning migration (April 28, 2026) and native TS plugin migration (May 3, 2026) — OpenClaw ^2026.4.23.
What changed
- Auto-discover
contracts.tools— plugins using rawregister()(instead ofdefinePlugin()) now get their tool names auto-discovered at build time and adapter load time via a dry-runregister()call. This ensures the manifest always includescontracts.tools. - Default
configSchema— when a plugin omitsconfigSchema, the manifest now defaults to{ "type": "object", "properties": {} }instead of omitting the field entirely. - Test coverage — 7 new tests for
ensureContracts()covering discovery, error handling, and edge cases.
Installation
npm install carapace-plugin-sdk@latest