Skip to content

Expose OpenClaw secret contract at package root - #14

Merged
shalim786 merged 1 commit into
mainfrom
fix/openclaw-secret-contract-discovery
Sep 18, 2026
Merged

shalim786 merged 1 commit into
mainfrom
fix/openclaw-secret-contract-discovery

Conversation

@shalim786

Copy link
Copy Markdown
Contributor

Summary

  • expose the AgentMail secret contract at dist/secret-contract-api.js, where OpenClaw discovers external channel contracts
  • validate the root contract exports during package validation
  • bump the plugin release metadata to 0.2.2

This fixes SecretRef materialization for channels.agentmail.apiKey on OpenClaw 2026.9.2 and 2026.9.3. It does not bypass OpenClaw’s trusted-plugin ingress gate; that remains an upstream release/distribution issue.

Validation

  • npm test (226 passed)
  • npm run plugin:check
  • npm run plugin:validate
  • npm pack --dry-run --ignore-scripts confirms dist/secret-contract-api.js is included

Release note

ClawHub CLI 0.23.3 currently rejects the package during publish dry-run because the eight bundled AgentMail CLI executables exceed its 64 MB unpacked limit. Do not publish until that release blocker is resolved.

@shalim786
shalim786 merged commit d85426f into main Sep 18, 2026
1 check passed
@shalim786
shalim786 deleted the fix/openclaw-secret-contract-discovery branch September 18, 2026 19:41
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