Skip to content

chore: version packages#83

Merged
SutuSebastian merged 1 commit into
mainfrom
changeset-release/main
May 15, 2026
Merged

chore: version packages#83
SutuSebastian merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. 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

@stainless-code/codemap@0.6.1

Patch Changes

  • #82 8e8aae0 Thanks @SutuSebastian! - Fix resolveBundledRecipesDir() path resolution — the 40 bundled recipes were unreachable at runtime in 0.6.0's published artifact. The resolver had one extra .. segment relative to where the bundler emits the dist chunk; bunx codemap query --recipes-json returned [] and bunx codemap query --recipe <id> rejected every bundled id with unknown recipe.

    The fix derives the bundled-recipes path off resolveAgentsTemplateDir() (same pattern used by resolveAgentContentDir()) so a single resolver handles both source-mode (bun src/index.ts) and dist-mode (node dist/index.mjs) without environment-specific branching — every chunk lands flat in dist/ regardless of the source file's nested depth.

    Discovered by a downstream consumer immediately after bun install @stainless-code/codemap@0.6.0. Regression guard: new src/application/query-recipes.dist.test.ts asserts existsSync(resolveBundledRecipesDir()) + catalog populates; CI gains a node dist/index.mjs query --recipes-json smoke step that exits non-zero on an empty catalog.

@SutuSebastian SutuSebastian merged commit a8c50b5 into main May 15, 2026
@SutuSebastian SutuSebastian deleted the changeset-release/main branch May 15, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant