chore(cli): require ai-context-core ^1.4.0 - #17
Merged
Conversation
^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 <noreply@anthropic.com>
ApprovabilityVerdict: Approved This PR only bumps dependency version constraints in package.json (^1.3.0 → ^1.4.0, ^1.1.2 → ^1.1.3) and adds a changeset documenting the change. No runtime code is modified - purely a maintenance update to ensure consumers get fixed dependency versions. You can customize Macroscope's approvability policy. Learn more. |
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.
Follow-up to #15.
ai-context-cli@1.3.0depends on core^1.3.0. That range admits1.4.0, so a fresh install already picks up the guard that rejects non-root module targets. An existing lockfile does not — it stays pinned to core1.3.0, keeps the silent-drop behavior, and gives no signal that it is stale.There was no ordinary upgrade path out of that:
pnpm updaterefuses to move a transitive-only dependency (confirmed against a real consumer —pnpm update @timothycrooker/ai-context-core@^1.4.0 --depth Infinityreports "Already up to date" and churns unrelated packages instead). The only lever left was a hand-written override in each consuming repo.Bumping the CLI gives consumers the normal path: upgrade the package you actually depend on, and its subtree re-resolves to the fixed core. Tightening the range rather than leaving it at
^1.3.0also makes the requirement explicit instead of relying on a fresh-lockfile accident.Templates raised to
^1.1.3for the same reason — that release carries the corrected meta-skill docs, which previously documented moduletargetsbehavior that was never implemented and is what led a consumer into this in the first place.🤖 Generated with Claude Code
Note
Bump
ai-context-clidependency onai-context-coreto ^1.4.0Updates the minimum required version of
@timothycrooker/ai-context-corefrom^1.3.0to^1.4.0and@timothycrooker/ai-context-templatesfrom^1.1.2to^1.1.3in packages/cli/package.json. This pulls in the core release that rejects non-root module targets with an error instead of silently dropping them.Macroscope summarized 16f149d.