ci(release): version packages - #453
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
5a837c5Thanks @eXamadeus! - Consumer support for archive format0.2(pre-1.0 breaking minor). The protocol now verifies both legacy0.1and current0.2.facetarchives with strict, exactfacetVersiondispatch and no fallback between versions. This is the consumer-first release: verification support ships before any producer emits0.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 taggedfailure. The success payload typeVerifiedArchiveis renamed toVerifiedFacetArchiveand is now a discriminated union onarchiveVersion: the legacy0.1arm keeps the flatassets: VerifiedAsset[]list, while the current0.2arm exposesentries: VerifiedEntry[](each taggedmanifest|primary-asset|skill-companion|archive-only). Consumers that read.assetsunconditionally should migrate to the version-agnostic helperslistVerifiedFiles(archive)andverifiedFileHashes(archive).Structured failures.
ArchiveVerificationFailureis a tagged union (container,invalid-json,duplicate-members,unsupported-facet-version,schema-violation,decompression,integrity,entry-integrity,validation); classify onfailure.coderather 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 parsersparseBuildManifestDocumentandparseLockfileDocument; the shared archive plan (planArchiveEntries,validateSupplementaryPath,portableCollisionKey); strict raw tar-header validation (validateRawTarEntries,RawTarValidationOptions); and the archive-format constantsFACET_ARCHIVE_VERSION(0.2),LEGACY_FACET_ARCHIVE_VERSION(0.1), andSUPPORTED_FACET_VERSIONS.parseFacetArchivenow returns a version-tagged parsed build manifest and a structuredfailure.Transitional exports retained.
BuildManifestSchema/BuildManifest,LockfileSchema/Lockfile, andLOCKFILE_VERSION(which equals the legacy value1, not the current0.2) remain exported and@deprecatedfor the compatibility window; they are removed once the engine lockfile-migration and producer work lands. Prefer the versioned parsers andCURRENT_LOCKFILE_VERSIONin new code.This release intentionally carries no
@agent-facets/adapteroragent-facets(CLI) version bump: the adapter API0.0→0.1cutover and the CLI0.2producer 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/protocolfrom 0.25.0 to 0.29.0, updatesbun.lock, and appends the 0.29.0 section topackages/protocol/CHANGELOG.md.It removes the consumed changeset
.changeset/protocol-0-2-consumer-support.mdso 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, breakingvalidateFacetArchive/VerifiedFacetArchiveAPIs, structuredArchiveVerificationFailurecodes, 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.