Publishing
Prerequisites
- Write access to
calab-ai/apm-registry gh-calabextension installed- Your primitive or package authored according to the registry schema
Publish a Primitive
gh calab apm publish primitive <type>/<name>Example — publish a new agent:
gh calab apm publish primitive agents/my-agentThis command:
- Validates the primitive manifest against the registry schema
- Bumps the version (semver)
- Opens a PR in
calab-ai/apm-registry - On merge, triggers a GA release and updates
portal-data.json
Publish a Package
gh calab apm publish package <name>Example:
gh calab apm publish package my-workspace-bundlePackages must reference at least one existing primitive by its apm_ref.
Versioning
APM uses semantic versioning (MAJOR.MINOR.PATCH):
- PATCH — backwards-compatible changes (doc updates, minor fixes)
- MINOR — new optional fields or behaviours
- MAJOR — breaking changes (renamed fields, removed types)
Review Process
All publish PRs go through automated schema validation (validate.yml in apm-registry) and require at least one human review before merge.