Skip to content

ci(release): version packages - #453

Merged
eXamadeus merged 1 commit into
mainfrom
changeset-release/main
Jul 23, 2026
Merged

ci(release): version packages#453
eXamadeus merged 1 commit into
mainfrom
changeset-release/main

Conversation

@the-faceter

@the-faceter the-faceter Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This PR was auto-generated by the release workflow. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@agent-facets/protocol@0.29.0

Minor Changes

  • #437 5a837c5 Thanks @eXamadeus! - Consumer support for archive format 0.2 (pre-1.0 breaking minor). The protocol now verifies both legacy 0.1 and current 0.2 .facet archives with strict, exact facetVersion dispatch and no fallback between versions. This is the consumer-first release: verification support ships before any producer emits 0.2.
    Breaking API — validateFacetArchive. The result shape is now { ok: true; data: VerifiedFacetArchive } | { ok: false; failure: ArchiveVerificationFailure }. The previous { ok: false; errors: ValidationError[] } arm is replaced by a single tagged failure. The success payload type VerifiedArchive is renamed to VerifiedFacetArchive and is now a discriminated union on archiveVersion: the legacy 0.1 arm keeps the flat assets: VerifiedAsset[] list, while the current 0.2 arm exposes entries: VerifiedEntry[] (each tagged manifest | primary-asset | skill-companion | archive-only). Consumers that read .assets unconditionally should migrate to the version-agnostic helpers listVerifiedFiles(archive) and verifiedFileHashes(archive).
    Structured failures. ArchiveVerificationFailure is a tagged union (container, invalid-json, duplicate-members, unsupported-facet-version, schema-violation, decompression, integrity, entry-integrity, validation); classify on failure.code rather than parsing messages. No expected failure mode throws.
    New public API. VerifiedFacetArchive, VerifiedEntry, ArchiveVerificationFailure, ValidateFacetArchiveResult, listVerifiedFiles, verifiedFileHashes; versioned build-manifest and lockfile schemas plus their exact-dispatch parsers parseBuildManifestDocument and parseLockfileDocument; the shared archive plan (planArchiveEntries, validateSupplementaryPath, portableCollisionKey); strict raw tar-header validation (validateRawTarEntries, RawTarValidationOptions); and the archive-format constants FACET_ARCHIVE_VERSION (0.2), LEGACY_FACET_ARCHIVE_VERSION (0.1), and SUPPORTED_FACET_VERSIONS. parseFacetArchive now returns a version-tagged parsed build manifest and a structured failure.
    Transitional exports retained. BuildManifestSchema/BuildManifest, LockfileSchema/Lockfile, and LOCKFILE_VERSION (which equals the legacy value 1, not the current 0.2) remain exported and @deprecated for the compatibility window; they are removed once the engine lockfile-migration and producer work lands. Prefer the versioned parsers and CURRENT_LOCKFILE_VERSION in new code.
    This release intentionally carries no @agent-facets/adapter or agent-facets (CLI) version bump: the adapter API 0.00.1 cutover and the CLI 0.2 producer ship in later, separately gated releases. Other implementations of the spec (e.g. the registry) adopt this published package to gain dual-format verification.

Note

Low Risk
No application code changes—only version, lockfile, and changelog updates from the release workflow.

Overview
Automated Changesets release PR that bumps @agent-facets/protocol from 0.25.0 to 0.29.0, updates bun.lock, and appends the 0.29.0 section to packages/protocol/CHANGELOG.md.

It removes the consumed changeset .changeset/protocol-0-2-consumer-support.md so the release notes are not applied twice. There are no runtime or source changes in this diff—only version and changelog metadata ahead of npm publish.

The published 0.29.0 minor (from #437) documents consumer support for facet archive 0.2, breaking validateFacetArchive / VerifiedFacetArchive APIs, structured ArchiveVerificationFailure codes, and new verification helpers and versioned manifest/lockfile parsers; adapter and CLI bumps are explicitly deferred to later releases.

Reviewed by Cursor Bugbot for commit f30ba6d. Bugbot is set up for automated code reviews on this repo. Configure here.

@eXamadeus
eXamadeus merged commit 72e9088 into main Jul 23, 2026
5 checks passed
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