Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('archiveCompatibilityGuidance', () => {
expect(g.what).toContain('archive format 0.2')
expect(g.detail).toContain('supported archive formats: 0.1')
// Known format → concrete minimum release, not a bare "update to latest".
expect(g.fix).toContain('0.31.0 or later')
expect(g.fix).toContain('0.29.0 or later')
})

test('advises updating to latest for an unknown future format without inventing a minimum', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/util/archive-compatibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const MINIMUM_RELEASE_FOR_FORMAT: Readonly<Record<string, string>> = {
// The first `agent-facets` release that emits/consumes the `0.2` archive
// format. A CLI that supports `0.2` never renders `0.2` as unsupported; this
// entry is what an *older* pre-`0.2` CLI is told to update to.
'0.2': '0.31.0',
'0.2': '0.29.0',
}

export interface ArchiveCompatibilityGuidance {
Expand Down