diff --git a/CHANGELOG.md b/CHANGELOG.md index cc3adb5..30682c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Catalog refresh and post-release manifest PRs auto-merge when required CI is green. +### Fixed + +- Startup summary test reads the bundled command-code version from the manifest instead of pinning one release. + ## [0.7.0] - 2026-08-28 ### Changed diff --git a/tests/unit/plugin.test.ts b/tests/unit/plugin.test.ts index 76dea1c..e98490c 100644 --- a/tests/unit/plugin.test.ts +++ b/tests/unit/plugin.test.ts @@ -195,9 +195,11 @@ test("startup summary uses bundled manifest version and status", async () => { const summary = JSON.parse(readFileSync(join(testStateDir, "startup.json"), "utf-8")); const manifest = JSON.parse(readFileSync(join(repoRoot, "manifest.json"), "utf-8")) as { status: string; + commandCodeVersion: string; }; expect(summary.catalogSource).toBe("bundled"); - expect(summary.commandCodeVersion).toBe("1.38.1"); + expect(summary.commandCodeVersion).toBe(manifest.commandCodeVersion); + expect(summary.commandCodeVersion).toMatch(/^\d+\.\d+\.\d+/); expect(summary.degraded).toBe(manifest.status === "degraded" || manifest.status === "broken"); expect(summary.modelCount).toBeGreaterThan(20); });