v0.6.1
Patch Changes
-
#82
8e8aae0Thanks @SutuSebastian! - FixresolveBundledRecipesDir()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-jsonreturned[]andbunx codemap query --recipe <id>rejected every bundled id withunknown recipe.The fix derives the bundled-recipes path off
resolveAgentsTemplateDir()(same pattern used byresolveAgentContentDir()) 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 indist/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: newsrc/application/query-recipes.dist.test.tsassertsexistsSync(resolveBundledRecipesDir())+ catalog populates; CI gains anode dist/index.mjs query --recipes-jsonsmoke step that exits non-zero on an empty catalog.