Skip to content

Version compatibility

This page is the authoritative cross-package matrix during Public Review and Public Preview.

The general rule: pin matching minor versions of xtrape-capsule-ce, @xtrape/capsule-agent-node, @xtrape/capsule-contracts-node, and xtrape-capsule-demo. Mixing minors across packages is not a supported path.

Currently active lines:

v0.1 Public Review

PackageVersionDistributionWhere it runs
xtrape-capsule-ce0.1.0source build via Docker Compose; GHCR image is for validation onlyThe Opstage backend + UI
@xtrape/capsule-agent-node0.1.0-public-review.1npm dist-tag public-reviewInside your Capsule Service process
@xtrape/capsule-contracts-node0.1.0-public-review.1npm dist-tag public-reviewBuild-time dep of CE and the Agent SDK; runtime dep wherever you validate the wire shape
xtrape-capsule-demomatches 0.1.xsource cloneOptional reference Capsule Service
xtrape-capsule-sitematcheshttps://xtrape-com.github.io/xtrape-capsule-site/This site
bash
# CE backend + UI (source build, current path)
git clone https://github.com/xtrape-com/xtrape-capsule-ce.git
cd xtrape-capsule-ce
docker compose -f deploy/compose/docker-compose.yml up --build -d

# Agent SDK + Contracts (npm, public-review dist-tag)
pnpm add @xtrape/capsule-agent-node@public-review \
         @xtrape/capsule-contracts-node@public-review \
         zod

v0.2 Public Preview

Current recommended line. Pin matching 0.2.x minors across the four packages.

PackageVersionDistribution
xtrape-capsule-ce0.2.0GHCR ghcr.io/xtrape-com/xtrape-capsule-ce:0.2.0 (semver) + :0.2 (minor alias)
@xtrape/capsule-agent-node0.2.0npm latest
@xtrape/capsule-contracts-node0.2.0npm latest
xtrape-capsule-demo0.2.0source clone
xtrape-capsule-sitematchesthis site

The wire schemas in @xtrape/capsule-contracts-node@0.2.x are unchanged from 0.1.x — existing 0.1.x agents continue to validate against a 0.2.x backend — but the recommended supported path is matching 0.2.x across the published packages. Don't document mixed 0.1.x / 0.2.x usage.

bash
# CE backend + UI — pinned semver tag
docker pull ghcr.io/xtrape-com/xtrape-capsule-ce:0.2.0

# Agent SDK + Contracts — npm latest
pnpm add @xtrape/capsule-agent-node@^0.2.0 \
         @xtrape/capsule-contracts-node@^0.2.0 \
         zod

The CE Docker workflow does not publish a latest tag. Always pin to a semver tag (0.2.0, 0.2) for reproducible deployments; use edge only for experimentation against main.

Wire protocol stability

See the Contracts overview for the per-schema stability rating (Stable / Evolving / Provisional) and the additive-vs- breaking-change policy. Until v1.0, expect minor versions to introduce additive optional fields freely. Required-field changes will be staged through a deprecation cycle.

Upgrading

  • 0.1.x0.1.y (same minor): pull the new package versions; no data migration required. Read the per-repo CHANGELOG.md.
  • 0.1.x0.2.x: pin versions, read the v0.2 release notes (will land at docs/releases/v0.2.0.md when cut), and run the upgrade workflow documented in Backup and Upgrade.

Where to look first when versions disagree

If you see schema-validation errors at the agent ↔ backend boundary, the fastest diagnostic step is to check the Contracts version on both sides. A CE built from 0.1.x source will reject agent.register calls that include fields only introduced in 0.2.x — and vice versa, a 0.2.x agent may not produce all the fields a 0.2.x CE expects.

bash
pnpm list @xtrape/capsule-contracts-node --depth 0

If the version is unexpectedly low, your lockfile may have pinned an older one; re-run with pnpm install --force after correcting the package.json range.

Code and docs released under Apache-2.0. "Xtrape", "Xtrape Capsule", and "Opstage" are trademarks of their respective owners.