Skip to main content

Published packages

All five partner packages are on npm: @ekanos/sdk pulls in @ekanos/integration-schema and @ekanos/ui as dependencies. The CLI and harness are covered in CLI overview and Harness overview.
One SDK entrypoint is not published: @ekanos/sdk/mcp is workspace-only and excluded from the tarball. See Entrypoints.

What the SDK alone gives you

Define and validate

defineIntegration() validates at import time and throws with a remediation message, so a definition is its own feedback loop.

Write unit tests

The whole Testing section needs nothing but vitest:
  • createMockContext() enforces the same storage schemas, secret tiers, and egress allowlist as production, using the same shared validators
  • invokeWebhook() and invokeSchedule() run event handlers with payload validation and a context derived from your definition
  • invokeActivate() runs your onActivate hook

Write components

Widget, activation form, and marketplace tile components are ordinary React and build and typecheck against the SDK alone:
To see them rendered in Ekanos chrome — widgets in the dashboard grid, the marketplace tile, the activation form, the Triggers panel — use the harness via ekanos dev.