From 16f149d73881dc1cc7b2e361d4c02aafab01d232 Mon Sep 17 00:00:00 2001 From: Tim Crooker Date: Tue, 28 Jul 2026 12:55:05 -0400 Subject: [PATCH] chore(cli): require ai-context-core ^1.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ^1.3.0 admits 1.4.0, so fresh installs already get the non-root-target guard. An existing lockfile does not: it stays pinned to core 1.3.0 and keeps the silent-drop behavior with no signal it is stale, and `pnpm update` will not move a transitive-only dependency. Bumping the CLI gives consumers an ordinary upgrade path — the package they actually depend on now pulls the fixed core. Templates raised to ^1.1.3 for the corrected meta-skill docs. Co-Authored-By: Claude Opus 5 --- .changeset/cli-require-fixed-core.md | 9 +++++++++ packages/cli/package.json | 4 ++-- pnpm-lock.yaml | 4 ++-- 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .changeset/cli-require-fixed-core.md diff --git a/.changeset/cli-require-fixed-core.md b/.changeset/cli-require-fixed-core.md new file mode 100644 index 0000000..c0dffec --- /dev/null +++ b/.changeset/cli-require-fixed-core.md @@ -0,0 +1,9 @@ +--- +"@timothycrooker/ai-context-cli": patch +--- + +Require `ai-context-core@^1.4.0`, the release that rejects non-root module targets instead of silently dropping the module. + +The old `^1.3.0` range admits 1.4.0, so a fresh install already picked up the fix — but an existing lockfile stays pinned to 1.3.0 and keeps the silent-drop behavior with no signal that anything is stale. `pnpm update` will not move a transitive-only dependency, so consumers had no ordinary upgrade path short of a manual override. Bumping the CLI gives them one: upgrading the package they actually depend on now pulls the fixed core. + +Templates raised to `^1.1.3` for the same reason — that release carries the corrected meta-skill docs, which previously documented module `targets` behavior that was never implemented. diff --git a/packages/cli/package.json b/packages/cli/package.json index 00f7392..2d09e3c 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -20,8 +20,8 @@ "test": "vitest run" }, "dependencies": { - "@timothycrooker/ai-context-core": "^1.3.0", - "@timothycrooker/ai-context-templates": "^1.1.2", + "@timothycrooker/ai-context-core": "^1.4.0", + "@timothycrooker/ai-context-templates": "^1.1.3", "commander": "^12.1.0" }, "repository": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 16f4d44..a7f9567 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -35,10 +35,10 @@ importers: packages/cli: dependencies: '@timothycrooker/ai-context-core': - specifier: ^1.3.0 + specifier: ^1.4.0 version: link:../core '@timothycrooker/ai-context-templates': - specifier: ^1.1.2 + specifier: ^1.1.3 version: link:../templates commander: specifier: ^12.1.0