Skip to content

Commit a8c50b5

Browse files
chore: version packages (#83)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8e8aae0 commit a8c50b5

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

.changeset/bundled-recipes-resolver.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @stainless-code/codemap
22

3+
## 0.6.1
4+
5+
### Patch Changes
6+
7+
- [#82](https://github.com/stainless-code/codemap/pull/82) [`8e8aae0`](https://github.com/stainless-code/codemap/commit/8e8aae08b6163be3c9c73966908e55201461aa4b) Thanks [@SutuSebastian](https://github.com/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`.
8+
9+
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.
10+
11+
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.
12+
313
## 0.6.0
414

515
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stainless-code/codemap",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "Query your codebase — structural SQLite index for AI agents",
55
"keywords": [
66
"agents",

0 commit comments

Comments
 (0)