bluera-knowledge 0.9.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/commands/commit.md +37 -0
- package/.claude/hooks/post-edit-check.sh +41 -0
- package/.claude/settings.local.json.example +40 -0
- package/.claude/skills/atomic-commits/SKILL.md +53 -0
- package/.claude-plugin/plugin.json +13 -0
- package/.editorconfig +15 -0
- package/.github/workflows/auto-release.yml +59 -0
- package/.github/workflows/ci.yml +142 -0
- package/.github/workflows/release.yml +66 -0
- package/.github/workflows/update-marketplace.yml +96 -0
- package/.husky/pre-commit +47 -0
- package/.husky/pre-push +29 -0
- package/.versionrc.json +28 -0
- package/CHANGELOG.md +410 -0
- package/CLAUDE.md +109 -0
- package/LICENSE +21 -0
- package/NOTICE +47 -0
- package/README.md +1546 -0
- package/SECURITY.md +65 -0
- package/bun.lock +1758 -0
- package/commands/add-folder.md +48 -0
- package/commands/add-repo.md +50 -0
- package/commands/cancel.md +63 -0
- package/commands/check-status.md +78 -0
- package/commands/crawl.md +51 -0
- package/commands/index.md +48 -0
- package/commands/remove-store.md +52 -0
- package/commands/search.md +79 -0
- package/commands/search.sh +63 -0
- package/commands/stores.md +54 -0
- package/commands/suggest.md +82 -0
- package/dist/chunk-5QMHZUC4.js +3617 -0
- package/dist/chunk-5QMHZUC4.js.map +1 -0
- package/dist/chunk-BICFAWMN.js +656 -0
- package/dist/chunk-BICFAWMN.js.map +1 -0
- package/dist/chunk-J7J6LXOJ.js +958 -0
- package/dist/chunk-J7J6LXOJ.js.map +1 -0
- package/dist/chunk-L2YVNC63.js +59 -0
- package/dist/chunk-L2YVNC63.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1429 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/server.d.ts +15 -0
- package/dist/mcp/server.js +11 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/watch.service-YAIKKDCF.js +7 -0
- package/dist/watch.service-YAIKKDCF.js.map +1 -0
- package/dist/workers/background-worker-cli.d.ts +1 -0
- package/dist/workers/background-worker-cli.js +310 -0
- package/dist/workers/background-worker-cli.js.map +1 -0
- package/docs/plans/2024-12-17-ai-search-quality-implementation.md +752 -0
- package/docs/plans/2024-12-17-ai-search-quality-testing-design.md +201 -0
- package/docs/plans/2025-12-16-bluera-knowledge-cli.md +2951 -0
- package/docs/plans/2025-12-16-phase2-features.md +1518 -0
- package/docs/plans/2025-12-17-hil-implementation.md +926 -0
- package/docs/plans/2025-12-17-hil-quality-testing.md +224 -0
- package/docs/plans/2025-12-17-search-quality-phase1-implementation.md +1416 -0
- package/docs/plans/2025-12-17-search-quality-testing-v2-design.md +212 -0
- package/docs/plans/2025-12-28-ai-agent-optimization.md +1630 -0
- package/eslint-rules/require-skip-comment.js +81 -0
- package/eslint.config.js +61 -0
- package/hooks/check-dependencies.sh +110 -0
- package/hooks/format-search-results.py +132 -0
- package/hooks/hooks.json +27 -0
- package/hooks/job-status-hook.sh +51 -0
- package/knip.json +43 -0
- package/mcp.plugin.json +12 -0
- package/package.json +103 -0
- package/python/crawl_worker.py +275 -0
- package/python/requirements.txt +2 -0
- package/scripts/readme-version-updater.cjs +18 -0
- package/skills/advanced-workflows/SKILL.md +273 -0
- package/skills/atomic-commits/SKILL.md +77 -0
- package/skills/knowledge-search/SKILL.md +54 -0
- package/skills/search-optimization/SKILL.md +396 -0
- package/skills/store-lifecycle/SKILL.md +470 -0
- package/skills/when-to-query/SKILL.md +66 -0
- package/src/analysis/ast-parser.test.ts +423 -0
- package/src/analysis/ast-parser.ts +192 -0
- package/src/analysis/code-graph.test.ts +698 -0
- package/src/analysis/code-graph.ts +245 -0
- package/src/analysis/dependency-usage-analyzer.test.ts +799 -0
- package/src/analysis/dependency-usage-analyzer.ts +405 -0
- package/src/analysis/go-ast-parser.test.ts +531 -0
- package/src/analysis/go-ast-parser.ts +478 -0
- package/src/analysis/parser-factory.test.ts +132 -0
- package/src/analysis/parser-factory.ts +44 -0
- package/src/analysis/python-ast-parser.test.ts +210 -0
- package/src/analysis/python-ast-parser.ts +34 -0
- package/src/analysis/repo-url-resolver.test.ts +533 -0
- package/src/analysis/repo-url-resolver.ts +233 -0
- package/src/analysis/rust-ast-parser.test.ts +568 -0
- package/src/analysis/rust-ast-parser.ts +477 -0
- package/src/analysis/tree-sitter-parser.test.ts +297 -0
- package/src/analysis/tree-sitter-parser.ts +223 -0
- package/src/cli/commands/crawl.test.ts +942 -0
- package/src/cli/commands/crawl.ts +141 -0
- package/src/cli/commands/index-cmd.test.ts +722 -0
- package/src/cli/commands/index-cmd.ts +105 -0
- package/src/cli/commands/mcp.test.ts +218 -0
- package/src/cli/commands/mcp.ts +18 -0
- package/src/cli/commands/plugin-api.test.ts +313 -0
- package/src/cli/commands/plugin-api.ts +45 -0
- package/src/cli/commands/search.test.ts +911 -0
- package/src/cli/commands/search.ts +113 -0
- package/src/cli/commands/serve.test.ts +329 -0
- package/src/cli/commands/serve.ts +28 -0
- package/src/cli/commands/setup.test.ts +820 -0
- package/src/cli/commands/setup.ts +153 -0
- package/src/cli/commands/store.test.ts +1003 -0
- package/src/cli/commands/store.ts +167 -0
- package/src/cli/index.ts +7 -0
- package/src/cli/program.ts +59 -0
- package/src/crawl/article-converter.test.ts +604 -0
- package/src/crawl/article-converter.ts +98 -0
- package/src/crawl/bridge.test.ts +674 -0
- package/src/crawl/bridge.ts +236 -0
- package/src/crawl/claude-client.test.ts +663 -0
- package/src/crawl/claude-client.ts +234 -0
- package/src/crawl/intelligent-crawler.test.ts +931 -0
- package/src/crawl/intelligent-crawler.ts +428 -0
- package/src/crawl/markdown-utils.test.ts +703 -0
- package/src/crawl/markdown-utils.ts +228 -0
- package/src/crawl/schemas.ts +114 -0
- package/src/db/embeddings.test.ts +63 -0
- package/src/db/embeddings.ts +69 -0
- package/src/db/index.ts +2 -0
- package/src/db/lance.test.ts +390 -0
- package/src/db/lance.ts +164 -0
- package/src/defaults/repos.ts +67 -0
- package/src/index.ts +107 -0
- package/src/mcp/cache.test.ts +202 -0
- package/src/mcp/cache.ts +103 -0
- package/src/mcp/commands/index.ts +20 -0
- package/src/mcp/commands/job.commands.ts +54 -0
- package/src/mcp/commands/meta.commands.ts +54 -0
- package/src/mcp/commands/registry.ts +183 -0
- package/src/mcp/commands/store.commands.ts +75 -0
- package/src/mcp/handlers/execute.handler.test.ts +179 -0
- package/src/mcp/handlers/execute.handler.ts +24 -0
- package/src/mcp/handlers/index.ts +43 -0
- package/src/mcp/handlers/job.handler.test.ts +189 -0
- package/src/mcp/handlers/job.handler.ts +116 -0
- package/src/mcp/handlers/search.handler.test.ts +334 -0
- package/src/mcp/handlers/search.handler.ts +209 -0
- package/src/mcp/handlers/store.handler.test.ts +415 -0
- package/src/mcp/handlers/store.handler.ts +295 -0
- package/src/mcp/schemas/index.test.ts +315 -0
- package/src/mcp/schemas/index.ts +138 -0
- package/src/mcp/server.test.ts +36 -0
- package/src/mcp/server.ts +162 -0
- package/src/mcp/types.ts +41 -0
- package/src/plugin/commands.test.ts +789 -0
- package/src/plugin/commands.ts +257 -0
- package/src/plugin/dependency-analyzer.test.ts +380 -0
- package/src/plugin/dependency-analyzer.ts +147 -0
- package/src/plugin/git-clone.test.ts +332 -0
- package/src/plugin/git-clone.ts +57 -0
- package/src/server/app.test.ts +752 -0
- package/src/server/app.ts +119 -0
- package/src/server/index.test.ts +477 -0
- package/src/server/index.ts +1 -0
- package/src/services/chunking.service.test.ts +363 -0
- package/src/services/chunking.service.ts +350 -0
- package/src/services/code-graph.service.test.ts +304 -0
- package/src/services/code-graph.service.ts +302 -0
- package/src/services/code-unit.service.test.ts +596 -0
- package/src/services/code-unit.service.ts +115 -0
- package/src/services/config.service.test.ts +127 -0
- package/src/services/config.service.ts +69 -0
- package/src/services/index.service.test.ts +1002 -0
- package/src/services/index.service.ts +266 -0
- package/src/services/index.ts +75 -0
- package/src/services/job.service.test.ts +418 -0
- package/src/services/job.service.ts +246 -0
- package/src/services/project-root.service.test.ts +506 -0
- package/src/services/project-root.service.ts +112 -0
- package/src/services/search.service.test.ts +1105 -0
- package/src/services/search.service.ts +892 -0
- package/src/services/services.test.ts +38 -0
- package/src/services/snippet.service.test.ts +205 -0
- package/src/services/snippet.service.ts +166 -0
- package/src/services/store.service.test.ts +474 -0
- package/src/services/store.service.ts +225 -0
- package/src/services/watch.service.test.ts +553 -0
- package/src/services/watch.service.ts +71 -0
- package/src/types/brands.test.ts +45 -0
- package/src/types/brands.ts +32 -0
- package/src/types/config.ts +79 -0
- package/src/types/document.ts +30 -0
- package/src/types/index.ts +66 -0
- package/src/types/job.ts +46 -0
- package/src/types/progress.ts +9 -0
- package/src/types/result.test.ts +44 -0
- package/src/types/result.ts +41 -0
- package/src/types/search.ts +95 -0
- package/src/types/store.test.ts +69 -0
- package/src/types/store.ts +47 -0
- package/src/utils/type-guards.test.ts +346 -0
- package/src/utils/type-guards.ts +61 -0
- package/src/workers/background-worker-cli.ts +105 -0
- package/src/workers/background-worker.test.ts +178 -0
- package/src/workers/background-worker.ts +294 -0
- package/src/workers/spawn-worker.test.ts +128 -0
- package/src/workers/spawn-worker.ts +49 -0
- package/tests/analysis/ast-parser.test.ts +98 -0
- package/tests/analysis/code-graph.test.ts +60 -0
- package/tests/fixtures/README.md +114 -0
- package/tests/fixtures/code-snippets/api/error-handling.ts +267 -0
- package/tests/fixtures/code-snippets/api/rest-controller.ts +303 -0
- package/tests/fixtures/code-snippets/auth/jwt-auth.ts +213 -0
- package/tests/fixtures/code-snippets/auth/oauth-flow.ts +245 -0
- package/tests/fixtures/code-snippets/database/repository-pattern.ts +272 -0
- package/tests/fixtures/corpus/VERSION.md +25 -0
- package/tests/fixtures/corpus/articles/jwt-authentication.md +97 -0
- package/tests/fixtures/corpus/articles/react-hooks-patterns.md +127 -0
- package/tests/fixtures/corpus/articles/typescript-generics.md +111 -0
- package/tests/fixtures/corpus/documentation/express-middleware.md +71 -0
- package/tests/fixtures/corpus/documentation/express-routing.md +83 -0
- package/tests/fixtures/corpus/documentation/node-streams.md +78 -0
- package/tests/fixtures/corpus/oss-repos/express/History.md +3871 -0
- package/tests/fixtures/corpus/oss-repos/express/LICENSE +24 -0
- package/tests/fixtures/corpus/oss-repos/express/Readme.md +276 -0
- package/tests/fixtures/corpus/oss-repos/express/SECURITY.md +56 -0
- package/tests/fixtures/corpus/oss-repos/express/benchmarks/Makefile +17 -0
- package/tests/fixtures/corpus/oss-repos/express/benchmarks/README.md +34 -0
- package/tests/fixtures/corpus/oss-repos/express/benchmarks/middleware.js +20 -0
- package/tests/fixtures/corpus/oss-repos/express/benchmarks/run +18 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/README.md +29 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/auth/index.js +134 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/auth/views/foot.ejs +2 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/auth/views/head.ejs +20 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/auth/views/login.ejs +21 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/content-negotiation/db.js +9 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/content-negotiation/index.js +46 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/content-negotiation/users.js +19 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/cookie-sessions/index.js +25 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/cookies/index.js +53 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/downloads/files/CCTV/345/244/247/350/265/233/344/270/212/346/265/267/345/210/206/350/265/233/345/214/272.txt +2 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/downloads/files/amazing.txt +1 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/downloads/files/notes/groceries.txt +3 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/downloads/index.js +40 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/ejs/index.js +57 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/ejs/public/stylesheets/style.css +4 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/ejs/views/footer.html +2 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/ejs/views/header.html +9 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/ejs/views/users.html +10 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/error/index.js +53 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/error-pages/index.js +103 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/error-pages/views/404.ejs +3 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/error-pages/views/500.ejs +8 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/error-pages/views/error_header.ejs +10 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/error-pages/views/footer.ejs +2 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/error-pages/views/index.ejs +20 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/hello-world/index.js +15 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/markdown/index.js +44 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/markdown/views/index.md +4 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/multi-router/controllers/api_v1.js +15 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/multi-router/controllers/api_v2.js +15 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/multi-router/index.js +18 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/controllers/main/index.js +5 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/controllers/pet/index.js +31 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/controllers/pet/views/edit.ejs +17 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/controllers/pet/views/show.ejs +15 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/controllers/user/index.js +41 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/controllers/user/views/edit.hbs +27 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/controllers/user/views/list.hbs +18 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/controllers/user/views/show.hbs +31 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/controllers/user-pet/index.js +22 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/db.js +16 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/index.js +95 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/lib/boot.js +83 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/public/style.css +14 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/views/404.ejs +13 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/mvc/views/5xx.ejs +13 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/online/index.js +61 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/params/index.js +74 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/resource/index.js +95 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-map/index.js +75 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-middleware/index.js +90 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-separation/index.js +55 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-separation/post.js +13 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-separation/public/style.css +24 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-separation/site.js +5 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-separation/user.js +47 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-separation/views/footer.ejs +2 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-separation/views/header.ejs +9 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-separation/views/index.ejs +10 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-separation/views/posts/index.ejs +12 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-separation/views/users/edit.ejs +23 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-separation/views/users/index.ejs +14 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/route-separation/views/users/view.ejs +9 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/search/index.js +61 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/search/public/client.js +15 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/search/public/index.html +21 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/session/index.js +37 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/session/redis.js +39 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/static-files/index.js +43 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/static-files/public/css/style.css +3 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/static-files/public/hello.txt +1 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/static-files/public/js/app.js +1 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/vhost/index.js +53 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/view-constructor/github-view.js +53 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/view-constructor/index.js +48 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/view-locals/index.js +155 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/view-locals/user.js +36 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/view-locals/views/index.ejs +20 -0
- package/tests/fixtures/corpus/oss-repos/express/examples/web-service/index.js +117 -0
- package/tests/fixtures/corpus/oss-repos/express/index.js +11 -0
- package/tests/fixtures/corpus/oss-repos/express/lib/application.js +631 -0
- package/tests/fixtures/corpus/oss-repos/express/lib/express.js +81 -0
- package/tests/fixtures/corpus/oss-repos/express/lib/request.js +514 -0
- package/tests/fixtures/corpus/oss-repos/express/lib/response.js +1053 -0
- package/tests/fixtures/corpus/oss-repos/express/lib/utils.js +271 -0
- package/tests/fixtures/corpus/oss-repos/express/lib/view.js +205 -0
- package/tests/fixtures/corpus/oss-repos/express/package.json +99 -0
- package/tests/fixtures/corpus/oss-repos/express/test/Route.js +274 -0
- package/tests/fixtures/corpus/oss-repos/express/test/Router.js +636 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/auth.js +117 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/content-negotiation.js +49 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/cookie-sessions.js +38 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/cookies.js +71 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/downloads.js +47 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/ejs.js +17 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/error-pages.js +99 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/error.js +29 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/hello-world.js +21 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/markdown.js +21 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/multi-router.js +44 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/mvc.js +132 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/params.js +44 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/resource.js +68 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/route-map.js +45 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/route-separation.js +97 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/vhost.js +46 -0
- package/tests/fixtures/corpus/oss-repos/express/test/acceptance/web-service.js +105 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.all.js +38 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.engine.js +83 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.head.js +66 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.js +120 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.listen.js +55 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.locals.js +26 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.options.js +116 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.param.js +323 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.render.js +374 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.request.js +143 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.response.js +143 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.route.js +197 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.router.js +1217 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.routes.error.js +62 -0
- package/tests/fixtures/corpus/oss-repos/express/test/app.use.js +542 -0
- package/tests/fixtures/corpus/oss-repos/express/test/config.js +207 -0
- package/tests/fixtures/corpus/oss-repos/express/test/exports.js +82 -0
- package/tests/fixtures/corpus/oss-repos/express/test/express.json.js +755 -0
- package/tests/fixtures/corpus/oss-repos/express/test/express.raw.js +513 -0
- package/tests/fixtures/corpus/oss-repos/express/test/express.static.js +815 -0
- package/tests/fixtures/corpus/oss-repos/express/test/express.text.js +566 -0
- package/tests/fixtures/corpus/oss-repos/express/test/express.urlencoded.js +828 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/% of dogs.txt +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/.name +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/blog/index.html +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/blog/post/index.tmpl +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/broken.send +0 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/default_layout/name.tmpl +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/default_layout/user.tmpl +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/email.tmpl +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/empty.txt +0 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/local_layout/user.tmpl +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/name.tmpl +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/name.txt +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/nums.txt +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/pets/names.txt +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/snow /342/230/203/.gitkeep +0 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/todo.html +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/todo.txt +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/user.html +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/user.tmpl +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/users/index.html +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/fixtures/users/tobi.txt +1 -0
- package/tests/fixtures/corpus/oss-repos/express/test/middleware.basic.js +42 -0
- package/tests/fixtures/corpus/oss-repos/express/test/regression.js +20 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.accepts.js +125 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.acceptsCharsets.js +50 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.acceptsEncodings.js +39 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.acceptsLanguages.js +57 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.baseUrl.js +88 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.fresh.js +70 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.get.js +60 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.host.js +156 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.hostname.js +188 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.ip.js +113 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.ips.js +71 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.is.js +169 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.path.js +20 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.protocol.js +113 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.query.js +106 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.range.js +104 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.route.js +28 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.secure.js +101 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.signedCookies.js +37 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.stale.js +50 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.subdomains.js +173 -0
- package/tests/fixtures/corpus/oss-repos/express/test/req.xhr.js +42 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.append.js +116 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.attachment.js +79 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.clearCookie.js +62 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.cookie.js +295 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.download.js +487 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.format.js +248 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.get.js +21 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.json.js +186 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.jsonp.js +344 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.links.js +65 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.locals.js +40 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.location.js +316 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.redirect.js +214 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.render.js +367 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.send.js +569 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.sendFile.js +913 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.sendStatus.js +44 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.set.js +124 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.status.js +206 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.type.js +46 -0
- package/tests/fixtures/corpus/oss-repos/express/test/res.vary.js +90 -0
- package/tests/fixtures/corpus/oss-repos/express/test/support/env.js +3 -0
- package/tests/fixtures/corpus/oss-repos/express/test/support/tmpl.js +36 -0
- package/tests/fixtures/corpus/oss-repos/express/test/support/utils.js +86 -0
- package/tests/fixtures/corpus/oss-repos/express/test/utils.js +83 -0
- package/tests/fixtures/corpus/oss-repos/hono/.devcontainer/Dockerfile +11 -0
- package/tests/fixtures/corpus/oss-repos/hono/.devcontainer/devcontainer.json +21 -0
- package/tests/fixtures/corpus/oss-repos/hono/.devcontainer/docker-compose.yml +18 -0
- package/tests/fixtures/corpus/oss-repos/hono/.eslintignore +1 -0
- package/tests/fixtures/corpus/oss-repos/hono/.eslintrc.cjs +9 -0
- package/tests/fixtures/corpus/oss-repos/hono/.gitpod.yml +9 -0
- package/tests/fixtures/corpus/oss-repos/hono/.prettierrc +9 -0
- package/tests/fixtures/corpus/oss-repos/hono/.vitest.config/jsx-runtime-default.ts +15 -0
- package/tests/fixtures/corpus/oss-repos/hono/.vitest.config/jsx-runtime-dom.ts +15 -0
- package/tests/fixtures/corpus/oss-repos/hono/.vitest.config/setup-vitest.ts +47 -0
- package/tests/fixtures/corpus/oss-repos/hono/LICENSE +21 -0
- package/tests/fixtures/corpus/oss-repos/hono/README.md +91 -0
- package/tests/fixtures/corpus/oss-repos/hono/build.ts +80 -0
- package/tests/fixtures/corpus/oss-repos/hono/bun.lockb +0 -0
- package/tests/fixtures/corpus/oss-repos/hono/bunfig.toml +7 -0
- package/tests/fixtures/corpus/oss-repos/hono/codecov.yml +13 -0
- package/tests/fixtures/corpus/oss-repos/hono/docs/CODE_OF_CONDUCT.md +128 -0
- package/tests/fixtures/corpus/oss-repos/hono/docs/CONTRIBUTING.md +62 -0
- package/tests/fixtures/corpus/oss-repos/hono/docs/MIGRATION.md +295 -0
- package/tests/fixtures/corpus/oss-repos/hono/docs/images/hono-logo.png +0 -0
- package/tests/fixtures/corpus/oss-repos/hono/docs/images/hono-logo.pxm +0 -0
- package/tests/fixtures/corpus/oss-repos/hono/docs/images/hono-logo.svg +6 -0
- package/tests/fixtures/corpus/oss-repos/hono/docs/images/hono-title.png +0 -0
- package/tests/fixtures/corpus/oss-repos/hono/docs/images/hono-title.pxm +0 -0
- package/tests/fixtures/corpus/oss-repos/hono/jsr.json +119 -0
- package/tests/fixtures/corpus/oss-repos/hono/package.cjs.json +3 -0
- package/tests/fixtures/corpus/oss-repos/hono/package.json +650 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/aws-lambda/handler.ts +492 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/aws-lambda/index.ts +13 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/aws-lambda/types.ts +144 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/bun/conninfo.ts +28 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/bun/index.ts +9 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/bun/serve-static.ts +35 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/bun/server.ts +30 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/bun/ssg.ts +27 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/bun/websocket.ts +110 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/cloudflare-pages/handler.ts +120 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/cloudflare-pages/index.ts +7 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/cloudflare-workers/conninfo.ts +7 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/cloudflare-workers/index.ts +8 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/cloudflare-workers/serve-static-module.ts +12 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/cloudflare-workers/serve-static.ts +39 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/cloudflare-workers/utils.ts +50 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/cloudflare-workers/websocket.ts +50 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/deno/conninfo.ts +17 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/deno/deno.d.ts +28 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/deno/index.ts +9 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/deno/serve-static.ts +40 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/deno/ssg.ts +27 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/deno/websocket.ts +51 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/lambda-edge/conninfo.ts +15 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/lambda-edge/handler.ts +189 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/lambda-edge/index.ts +14 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/netlify/handler.ts +10 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/netlify/index.ts +6 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/netlify/mod.ts +1 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/service-worker/handler.ts +34 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/service-worker/index.ts +5 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/service-worker/types.ts +14 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/vercel/conninfo.ts +8 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/vercel/handler.ts +9 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/adapter/vercel/index.ts +7 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/client/client.ts +214 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/client/index.ts +14 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/client/types.ts +180 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/client/utils.ts +54 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/compose.ts +94 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/context.ts +914 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/accepts/accepts.ts +81 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/accepts/index.ts +6 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/adapter/index.ts +85 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/conninfo/index.ts +6 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/conninfo/types.ts +45 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/cookie/index.ts +130 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/css/common.ts +243 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/css/index.ts +220 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/dev/index.ts +79 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/factory/index.ts +246 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/html/index.ts +56 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/ssg/index.ts +13 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/ssg/middleware.ts +79 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/ssg/ssg.ts +388 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/ssg/utils.ts +71 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/streaming/index.ts +9 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/streaming/sse.ts +89 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/streaming/stream.ts +36 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/streaming/text.ts +15 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/testing/index.ts +26 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/helper/websocket/index.ts +57 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/hono-base.ts +523 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/hono.ts +34 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/http-exception.ts +78 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/index.ts +51 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/base.ts +419 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/children.ts +20 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/components.ts +195 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/constants.ts +5 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/context.ts +50 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/dom/client.ts +89 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/dom/components.ts +39 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/dom/context.ts +52 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/dom/css.ts +246 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/dom/hooks/index.ts +91 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/dom/index.ts +159 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/dom/intrinsic-element/components.ts +398 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/dom/jsx-dev-runtime.ts +22 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/dom/jsx-runtime.ts +7 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/dom/render.ts +772 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/dom/server.ts +70 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/dom/utils.ts +7 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/hooks/index.ts +426 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/index.ts +114 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/intrinsic-element/common.ts +11 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/intrinsic-element/components.ts +196 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/intrinsic-elements.ts +924 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/jsx-dev-runtime.ts +26 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/jsx-runtime.ts +18 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/streaming.ts +184 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/types.ts +41 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/jsx/utils.ts +36 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/basic-auth/index.ts +128 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/bearer-auth/index.ts +159 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/body-limit/index.ts +115 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/cache/index.ts +127 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/combine/index.ts +153 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/compress/index.ts +79 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/context-storage/index.ts +55 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/cors/index.ts +141 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/csrf/index.ts +90 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/etag/index.ts +88 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/ip-restriction/index.ts +178 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/jsx-renderer/index.ts +158 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/jwt/index.ts +8 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/jwt/jwt.ts +159 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/logger/index.ts +93 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/method-override/index.ts +146 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/powered-by/index.ts +13 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/pretty-json/index.ts +50 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/request-id/index.ts +8 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/request-id/request-id.ts +59 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/secure-headers/index.ts +8 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/secure-headers/permissions-policy.ts +86 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/secure-headers/secure-headers.ts +319 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/serve-static/index.ts +140 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/timeout/index.ts +58 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/timing/index.ts +7 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/timing/timing.ts +225 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/middleware/trailing-slash/index.ts +71 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/preset/quick.ts +24 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/preset/tiny.ts +20 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/request.ts +403 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router/linear-router/index.ts +6 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router/linear-router/router.ts +132 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router/pattern-router/index.ts +6 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router/pattern-router/router.ts +54 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router/reg-exp-router/index.ts +6 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router/reg-exp-router/node.ts +159 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router/reg-exp-router/router.ts +274 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router/reg-exp-router/trie.ts +74 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router/smart-router/index.ts +6 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router/smart-router/router.ts +69 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router/trie-router/index.ts +6 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router/trie-router/node.ts +205 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router/trie-router/router.ts +28 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/router.ts +103 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/types.ts +2009 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/basic-auth.ts +26 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/body.ts +225 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/buffer.ts +65 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/color.ts +26 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/concurrent.ts +55 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/cookie.ts +230 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/crypto.ts +65 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/encode.ts +34 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/filepath.ts +56 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/handler.ts +15 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/html.ts +182 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/http-status.ts +69 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/ipaddr.ts +113 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/jwt/index.ts +7 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/jwt/jwa.ts +23 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/jwt/jws.ts +226 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/jwt/jwt.ts +114 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/jwt/types.ts +83 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/jwt/utf8.ts +7 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/mime.ts +142 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/stream.ts +96 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/types.ts +105 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/utils/url.ts +310 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/validator/index.ts +7 -0
- package/tests/fixtures/corpus/oss-repos/hono/src/validator/validator.ts +151 -0
- package/tests/fixtures/corpus/oss-repos/hono/tsconfig.build.json +23 -0
- package/tests/fixtures/corpus/oss-repos/hono/tsconfig.json +28 -0
- package/tests/fixtures/corpus/oss-repos/hono/vitest.config.ts +34 -0
- package/tests/fixtures/corpus/oss-repos/hono/yarn.lock +6232 -0
- package/tests/fixtures/documentation/api-reference.md +412 -0
- package/tests/fixtures/documentation/architecture.md +214 -0
- package/tests/fixtures/documentation/deployment-guide.md +420 -0
- package/tests/fixtures/github-readmes/express.md +133 -0
- package/tests/fixtures/github-readmes/nextjs.md +106 -0
- package/tests/fixtures/github-readmes/react.md +74 -0
- package/tests/fixtures/github-readmes/typescript.md +93 -0
- package/tests/fixtures/github-readmes/vite.md +79 -0
- package/tests/fixtures/queries/core.json +125 -0
- package/tests/fixtures/queries/extended.json +427 -0
- package/tests/fixtures/queries/generated/.gitkeep +0 -0
- package/tests/fixtures/test-server.ts +267 -0
- package/tests/helpers/performance-metrics.ts +387 -0
- package/tests/helpers/search-relevance.ts +381 -0
- package/tests/integration/cli-consistency.test.ts +299 -0
- package/tests/integration/cli.test.ts +69 -0
- package/tests/integration/e2e-workflow.test.ts +612 -0
- package/tests/integration/python-bridge.test.ts +183 -0
- package/tests/integration/search-quality.test.ts +718 -0
- package/tests/integration/stress.test.ts +326 -0
- package/tests/mcp/server.test.ts +15 -0
- package/tests/scripts/schemas/evaluation.json +44 -0
- package/tests/scripts/schemas/query-generation.json +21 -0
- package/tests/services/code-unit.service.test.ts +47 -0
- package/tests/services/search.progressive-context.test.ts +35 -0
- package/tsconfig.json +34 -0
- package/tsup.config.ts +15 -0
- package/turndown-plugin-gfm.d.ts +29 -0
- package/vitest.config.ts +79 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
## [0.9.21](https://github.com/blueraai/bluera-knowledge/compare/v0.9.20...v0.9.21) (2026-01-06)
|
|
6
|
+
|
|
7
|
+
## [0.9.20](https://github.com/blueraai/bluera-knowledge/compare/v0.9.16...v0.9.20) (2026-01-06)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **commands:** add CLAUDE.md awareness to commit command ([7c13ac8](https://github.com/blueraai/bluera-knowledge/commit/7c13ac8279db934009eba41705b035c709881fa3))
|
|
13
|
+
* **mcp:** consolidate 10 tools into 3 via execute meta-tool ([d59923a](https://github.com/blueraai/bluera-knowledge/commit/d59923ab6a5f29ea5c3f2371e485a12151f9460c))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **commands:** add explicit README check criteria to commit command ([fb7bd7b](https://github.com/blueraai/bluera-knowledge/commit/fb7bd7bb745b0e92199274185ec6ac8267613c9a))
|
|
19
|
+
* **hooks:** make precommit scripts properly fail on errors ([d21c39e](https://github.com/blueraai/bluera-knowledge/commit/d21c39e33c51710107414772a8a9e57a9a386fb1))
|
|
20
|
+
|
|
21
|
+
## [0.9.19](https://github.com/blueraai/bluera-knowledge/compare/v0.9.16...v0.9.19) (2026-01-06)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* **commands:** add CLAUDE.md awareness to commit command ([7c13ac8](https://github.com/blueraai/bluera-knowledge/commit/7c13ac8279db934009eba41705b035c709881fa3))
|
|
27
|
+
* **mcp:** consolidate 10 tools into 3 via execute meta-tool ([d59923a](https://github.com/blueraai/bluera-knowledge/commit/d59923ab6a5f29ea5c3f2371e485a12151f9460c))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* **commands:** add explicit README check criteria to commit command ([fb7bd7b](https://github.com/blueraai/bluera-knowledge/commit/fb7bd7bb745b0e92199274185ec6ac8267613c9a))
|
|
33
|
+
* **hooks:** make precommit scripts properly fail on errors ([d21c39e](https://github.com/blueraai/bluera-knowledge/commit/d21c39e33c51710107414772a8a9e57a9a386fb1))
|
|
34
|
+
|
|
35
|
+
## [0.9.18](https://github.com/blueraai/bluera-knowledge/compare/v0.9.16...v0.9.18) (2026-01-06)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* **commands:** add CLAUDE.md awareness to commit command ([7c13ac8](https://github.com/blueraai/bluera-knowledge/commit/7c13ac8279db934009eba41705b035c709881fa3))
|
|
41
|
+
* **mcp:** consolidate 10 tools into 3 via execute meta-tool ([d59923a](https://github.com/blueraai/bluera-knowledge/commit/d59923ab6a5f29ea5c3f2371e485a12151f9460c))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Bug Fixes
|
|
45
|
+
|
|
46
|
+
* **commands:** add explicit README check criteria to commit command ([fb7bd7b](https://github.com/blueraai/bluera-knowledge/commit/fb7bd7bb745b0e92199274185ec6ac8267613c9a))
|
|
47
|
+
* **hooks:** make precommit scripts properly fail on errors ([d21c39e](https://github.com/blueraai/bluera-knowledge/commit/d21c39e33c51710107414772a8a9e57a9a386fb1))
|
|
48
|
+
|
|
49
|
+
## [0.9.17](https://github.com/blueraai/bluera-knowledge/compare/v0.9.16...v0.9.17) (2026-01-06)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Features
|
|
53
|
+
|
|
54
|
+
* **mcp:** consolidate 10 tools into 3 via execute meta-tool ([d59923a](https://github.com/blueraai/bluera-knowledge/commit/d59923ab6a5f29ea5c3f2371e485a12151f9460c))
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Bug Fixes
|
|
58
|
+
|
|
59
|
+
* **commands:** add explicit README check criteria to commit command ([fb7bd7b](https://github.com/blueraai/bluera-knowledge/commit/fb7bd7bb745b0e92199274185ec6ac8267613c9a))
|
|
60
|
+
* **hooks:** make precommit scripts properly fail on errors ([d21c39e](https://github.com/blueraai/bluera-knowledge/commit/d21c39e33c51710107414772a8a9e57a9a386fb1))
|
|
61
|
+
|
|
62
|
+
## [0.9.16](https://github.com/blueraai/bluera-knowledge/compare/v0.9.14...v0.9.16) (2026-01-06)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### Features
|
|
66
|
+
|
|
67
|
+
* **ci:** add workflow_dispatch to auto-release for manual triggering ([4835c9c](https://github.com/blueraai/bluera-knowledge/commit/4835c9c698766999154ff217475b3f38718289d6))
|
|
68
|
+
* **crawl:** add Claude CLI availability detection for npm package mode ([9afaae5](https://github.com/blueraai/bluera-knowledge/commit/9afaae5b4b4da98ce787d966c9910004401756dd))
|
|
69
|
+
* **release:** add automatic changelog generation with commit-and-tag-version ([177c6a3](https://github.com/blueraai/bluera-knowledge/commit/177c6a35f0a965b701940b2f8fc72fe2e4645647))
|
|
70
|
+
* rename to @blueraai/bluera-knowledge and add npm publishing ([51a86cb](https://github.com/blueraai/bluera-knowledge/commit/51a86cb574fb9752224e724c1047a5000f4e898b))
|
|
71
|
+
* **skills:** add hybrid MCP + Skills enhancement ([9fbee1d](https://github.com/blueraai/bluera-knowledge/commit/9fbee1d90d02663dbda9646e244423c7840330a6))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Bug Fixes
|
|
75
|
+
|
|
76
|
+
* **ci:** add model warm-up step to prevent race conditions ([4f5cc6a](https://github.com/blueraai/bluera-knowledge/commit/4f5cc6a6a33f4ab28e8daa2ee6a02e1cc81bf59b))
|
|
77
|
+
* **ci:** correct model cache location and test timeouts ([8ae7d9d](https://github.com/blueraai/bluera-knowledge/commit/8ae7d9dcd38ac7ccea3a5bae83ef07449adb693f))
|
|
78
|
+
* **ci:** use bun in release workflow and add concurrency controls ([659c4f8](https://github.com/blueraai/bluera-knowledge/commit/659c4f83c7d4f093a5d626c9e460db92e82e3c9c))
|
|
79
|
+
* **ci:** use check-regexp in update-marketplace and improve tag extraction ([a009d5f](https://github.com/blueraai/bluera-knowledge/commit/a009d5f90c6f5ddd3244a9f15fa228630dbd509d))
|
|
80
|
+
* **ci:** use check-regexp to wait for CI jobs that exist immediately ([34a4be2](https://github.com/blueraai/bluera-knowledge/commit/34a4be2fa4a64221efc84b66b16491bb0624701f))
|
|
81
|
+
* **cli:** resolve hanging subprocess by adding destroyServices cleanup ([36acc15](https://github.com/blueraai/bluera-knowledge/commit/36acc1560ed6ea999781e63614de701c7277c8d5))
|
|
82
|
+
* **docs:** remove nested code blocks breaking GitHub rendering ([11aef7a](https://github.com/blueraai/bluera-knowledge/commit/11aef7a433623c8831e235714a7c1382b146504d))
|
|
83
|
+
* **hooks:** make npm precommit script use smart git hook ([4a9f6b0](https://github.com/blueraai/bluera-knowledge/commit/4a9f6b0bddfd3d1d310b8dba40093c36cc3fa163))
|
|
84
|
+
* **package:** correct npm org from [@blueraai](https://github.com/blueraai) to [@bluera](https://github.com/bluera) ([7366ebd](https://github.com/blueraai/bluera-knowledge/commit/7366ebd14a406c36a3675bb8d64d57bf3732b2f1))
|
|
85
|
+
* **security:** address vulnerabilities from security audit ([4de8b46](https://github.com/blueraai/bluera-knowledge/commit/4de8b461268484dadccee86da42f96c6917e262d))
|
|
86
|
+
* **test:** remove flaky performance assertions from stress tests ([69a480b](https://github.com/blueraai/bluera-knowledge/commit/69a480ba00b6e4b5aace4ea1b732c0246552dc40))
|
|
87
|
+
|
|
88
|
+
## [0.9.15](https://github.com/blueraai/bluera-knowledge/compare/v0.9.14...v0.9.15) (2026-01-06)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Features
|
|
92
|
+
|
|
93
|
+
* **crawl:** add Claude CLI availability detection for npm package mode ([9afaae5](https://github.com/blueraai/bluera-knowledge/commit/9afaae5b4b4da98ce787d966c9910004401756dd))
|
|
94
|
+
* **release:** add automatic changelog generation with commit-and-tag-version ([177c6a3](https://github.com/blueraai/bluera-knowledge/commit/177c6a35f0a965b701940b2f8fc72fe2e4645647))
|
|
95
|
+
* rename to @bluera/bluera-knowledge and add npm publishing ([51a86cb](https://github.com/blueraai/bluera-knowledge/commit/51a86cb574fb9752224e724c1047a5000f4e898b))
|
|
96
|
+
* **skills:** add hybrid MCP + Skills enhancement ([9fbee1d](https://github.com/blueraai/bluera-knowledge/commit/9fbee1d90d02663dbda9646e244423c7840330a6))
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
### Bug Fixes
|
|
100
|
+
|
|
101
|
+
* **ci:** add model warm-up step to prevent race conditions ([4f5cc6a](https://github.com/blueraai/bluera-knowledge/commit/4f5cc6a6a33f4ab28e8daa2ee6a02e1cc81bf59b))
|
|
102
|
+
* **ci:** correct model cache location and test timeouts ([8ae7d9d](https://github.com/blueraai/bluera-knowledge/commit/8ae7d9dcd38ac7ccea3a5bae83ef07449adb693f))
|
|
103
|
+
* **cli:** resolve hanging subprocess by adding destroyServices cleanup ([36acc15](https://github.com/blueraai/bluera-knowledge/commit/36acc1560ed6ea999781e63614de701c7277c8d5))
|
|
104
|
+
* **docs:** remove nested code blocks breaking GitHub rendering ([11aef7a](https://github.com/blueraai/bluera-knowledge/commit/11aef7a433623c8831e235714a7c1382b146504d))
|
|
105
|
+
* **hooks:** make npm precommit script use smart git hook ([4a9f6b0](https://github.com/blueraai/bluera-knowledge/commit/4a9f6b0bddfd3d1d310b8dba40093c36cc3fa163))
|
|
106
|
+
* **security:** address vulnerabilities from security audit ([4de8b46](https://github.com/blueraai/bluera-knowledge/commit/4de8b461268484dadccee86da42f96c6917e262d))
|
|
107
|
+
* **test:** remove flaky performance assertions from stress tests ([69a480b](https://github.com/blueraai/bluera-knowledge/commit/69a480ba00b6e4b5aace4ea1b732c0246552dc40))
|
|
108
|
+
|
|
109
|
+
## [0.9.11] - 2026-01-04
|
|
110
|
+
|
|
111
|
+
### Fixed
|
|
112
|
+
- CI automation: Use `workflow_run` trigger for marketplace updates (GitHub security prevents `GITHUB_TOKEN` workflows from triggering other workflows)
|
|
113
|
+
|
|
114
|
+
## [0.9.10] - 2026-01-04
|
|
115
|
+
|
|
116
|
+
### Added
|
|
117
|
+
- Automated marketplace updates via GitHub Actions workflow
|
|
118
|
+
- Update Marketplace workflow waits for CI to pass before updating `blueraai/bluera-marketplace`
|
|
119
|
+
|
|
120
|
+
### Changed
|
|
121
|
+
- Release workflow now automatically triggers marketplace update (no manual steps required)
|
|
122
|
+
|
|
123
|
+
## [0.9.9] - 2026-01-04
|
|
124
|
+
|
|
125
|
+
### Fixed
|
|
126
|
+
- MCP server auto-discovery: moved `.mcp.json` to plugin root (was incorrectly in `.claude-plugin/`)
|
|
127
|
+
|
|
128
|
+
## [0.9.8] - 2026-01-04
|
|
129
|
+
|
|
130
|
+
### Fixed
|
|
131
|
+
- Plugin installation failures caused by root `.mcp.json` conflicting with plugin structure
|
|
132
|
+
|
|
133
|
+
## [0.9.7] - 2026-01-03
|
|
134
|
+
|
|
135
|
+
### Added
|
|
136
|
+
- Claude Code perspective documentation explaining how to use bluera-knowledge effectively
|
|
137
|
+
|
|
138
|
+
### Changed
|
|
139
|
+
- Enhanced README with blockquote formatting, tables, and improved section organization
|
|
140
|
+
- Added table of contents for better navigation
|
|
141
|
+
|
|
142
|
+
## [0.9.6] - 2026-01-03
|
|
143
|
+
|
|
144
|
+
### Changed
|
|
145
|
+
- Clarified MCP configuration for local development vs distribution
|
|
146
|
+
- Documentation improvements for job status and search capabilities
|
|
147
|
+
|
|
148
|
+
## [0.9.5] - 2026-01-03
|
|
149
|
+
|
|
150
|
+
### Fixed
|
|
151
|
+
- SessionStart hook now installs node_modules on first session
|
|
152
|
+
|
|
153
|
+
### Added
|
|
154
|
+
- Marketplace update reminder in release workflow
|
|
155
|
+
- Version script improvements
|
|
156
|
+
|
|
157
|
+
## [0.9.4] - 2026-01-02
|
|
158
|
+
|
|
159
|
+
### Added
|
|
160
|
+
- MCP symlink setup documentation for local development
|
|
161
|
+
- `.mcp.json` in `.claude-plugin/` for marketplace installs
|
|
162
|
+
- `release:current` script for tagging existing versions
|
|
163
|
+
|
|
164
|
+
### Changed
|
|
165
|
+
- Improved CLAUDE.md with npm scripts reference
|
|
166
|
+
|
|
167
|
+
## [0.9.3] - 2026-01-02
|
|
168
|
+
|
|
169
|
+
### Added
|
|
170
|
+
- Multi-language support for dependency detection (Python, Go, Rust, Java)
|
|
171
|
+
- crates.io and Go module registry support for URL resolution
|
|
172
|
+
|
|
173
|
+
### Changed
|
|
174
|
+
- Expanded crawl command examples with natural language options
|
|
175
|
+
- Streamlined installation section in README
|
|
176
|
+
|
|
177
|
+
## [0.9.0-0.9.2] - 2026-01-02
|
|
178
|
+
|
|
179
|
+
### Added
|
|
180
|
+
- Automatic GitHub release workflow on tag push
|
|
181
|
+
- Release scripts (`npm run release:patch/minor/major`)
|
|
182
|
+
|
|
183
|
+
### Changed
|
|
184
|
+
- Plugin restructured for correct Claude Code plugin layout
|
|
185
|
+
- Repository moved to blueraai organization
|
|
186
|
+
|
|
187
|
+
### Fixed
|
|
188
|
+
- IndexService tests skipped in CI environment (coverage threshold adjusted)
|
|
189
|
+
|
|
190
|
+
## [0.7.0-0.8.0] - 2026-01-01
|
|
191
|
+
|
|
192
|
+
### Added
|
|
193
|
+
- LICENSE, NOTICE, and acknowledgments
|
|
194
|
+
- Plugin UI documentation for browsing/installing
|
|
195
|
+
|
|
196
|
+
### Changed
|
|
197
|
+
- Marketplace moved to dedicated repository
|
|
198
|
+
- Installation section moved to top of README
|
|
199
|
+
|
|
200
|
+
## [0.6.0] - 2026-01-01
|
|
201
|
+
|
|
202
|
+
### Added
|
|
203
|
+
- Headless browser support via crawl4ai for JavaScript-rendered sites (Next.js, React, Vue, etc.)
|
|
204
|
+
- `--headless` flag for crawl command to enable Playwright browser automation
|
|
205
|
+
- Python bridge method `fetchHeadless()` using crawl4ai's AsyncWebCrawler
|
|
206
|
+
- Automatic fallback to axios if headless fetch fails
|
|
207
|
+
- Mermaid sequence diagrams in README.md showing crawler architecture for both modes
|
|
208
|
+
- Comprehensive documentation for headless crawling in commands/crawl.md
|
|
209
|
+
|
|
210
|
+
### Changed
|
|
211
|
+
- `fetchHtml()` now accepts optional `useHeadless` parameter for browser automation
|
|
212
|
+
- `CrawlOptions` interface includes `useHeadless` field
|
|
213
|
+
- Updated Dependencies section in README with playwright installation instructions
|
|
214
|
+
- Extended `crawl` command with `--headless` option and updated TypeScript types
|
|
215
|
+
|
|
216
|
+
### Improved
|
|
217
|
+
- Crawler now handles JavaScript-rendered sites that require client-side rendering
|
|
218
|
+
- Preserves intelligent crawling with natural language instructions in both standard and headless modes
|
|
219
|
+
|
|
220
|
+
## [0.5.3] - 2026-01-01
|
|
221
|
+
|
|
222
|
+
### Changed
|
|
223
|
+
- Move Store to its own line for better vertical scannability
|
|
224
|
+
|
|
225
|
+
## [0.5.2] - 2026-01-01
|
|
226
|
+
|
|
227
|
+
### Changed
|
|
228
|
+
- Add text labels before all badges in search results (File:, Purpose:, Top Terms:, Imports:)
|
|
229
|
+
|
|
230
|
+
## [0.5.1] - 2026-01-01
|
|
231
|
+
|
|
232
|
+
### Changed
|
|
233
|
+
- Replace emoji badges with text labels for search methods: [Vector+FTS], [Vector], [Keyword]
|
|
234
|
+
- Add "Store:" prefix to search results for better clarity
|
|
235
|
+
|
|
236
|
+
## [0.5.0] - 2026-01-01
|
|
237
|
+
|
|
238
|
+
### Added
|
|
239
|
+
- Ranking attribution badges showing search method for each result (🎯 both, 🔍 vector, 📝 FTS)
|
|
240
|
+
- Search mode display in results header (vector/fts/hybrid)
|
|
241
|
+
- Performance metrics in search results footer (time in milliseconds)
|
|
242
|
+
- Ranking metadata preserved in search results (vectorRank, ftsRank, RRF scores, boost factors)
|
|
243
|
+
|
|
244
|
+
### Changed
|
|
245
|
+
- Renamed "Keywords" to "Top Terms (in this chunk)" for clarity about scope and methodology
|
|
246
|
+
- Updated "Imports" to "Imports (in this chunk)" to clarify chunk-level analysis
|
|
247
|
+
- Search results now show which ranking method(s) contributed to each result
|
|
248
|
+
|
|
249
|
+
### Improved
|
|
250
|
+
- Search result transparency - users can now see how each result was found
|
|
251
|
+
- Label clarity - all labels now explicitly state they analyze chunk content, not whole files
|
|
252
|
+
|
|
253
|
+
## [0.4.22] - 2026-01-01
|
|
254
|
+
|
|
255
|
+
### Changed
|
|
256
|
+
- Renamed "Related" to "Keywords" for clarity - these are the most frequent meaningful terms extracted from the code
|
|
257
|
+
- Restored default search limit from 5 to 10 results (user preference)
|
|
258
|
+
- Updated README with new search output format and current version badge
|
|
259
|
+
|
|
260
|
+
### Fixed
|
|
261
|
+
- Search result labels now accurately describe what they show (Keywords are top 5 frequent words, not related concepts)
|
|
262
|
+
|
|
263
|
+
## [0.4.21] - 2026-01-01
|
|
264
|
+
|
|
265
|
+
### Added
|
|
266
|
+
- Display related concepts and key imports in search results (from contextual detail)
|
|
267
|
+
- Actionable "Next Steps" footer with examples using actual result IDs and paths
|
|
268
|
+
- Richer context to help users decide which results to explore
|
|
269
|
+
|
|
270
|
+
### Changed
|
|
271
|
+
- Reduced default limit from 10 to 5 results (quality over quantity)
|
|
272
|
+
- Enhanced result format shows Related concepts (🔗) and Imports (📦)
|
|
273
|
+
|
|
274
|
+
## [0.4.20] - 2026-01-01
|
|
275
|
+
|
|
276
|
+
### Fixed
|
|
277
|
+
- Search results now display directly in conversation (not in verbose mode)
|
|
278
|
+
- Abandoned table formatting approach - Bash output is collapsed by default
|
|
279
|
+
|
|
280
|
+
### Changed
|
|
281
|
+
- Switched to clean list format with emoji icons for better readability
|
|
282
|
+
- Results display immediately without requiring ctrl+o to expand
|
|
283
|
+
|
|
284
|
+
## [0.4.19] - 2026-01-01
|
|
285
|
+
|
|
286
|
+
### Fixed
|
|
287
|
+
- Search command now uses Python formatter via Bash for deterministic table output
|
|
288
|
+
- Fixed broken table alignment in terminal (columns now properly aligned with fixed widths)
|
|
289
|
+
|
|
290
|
+
### Changed
|
|
291
|
+
- Updated search.md to pipe MCP results through format-search-results.py
|
|
292
|
+
- Command instructs Claude to execute Python formatter for proper table rendering
|
|
293
|
+
|
|
294
|
+
## [0.4.18] - 2026-01-01
|
|
295
|
+
|
|
296
|
+
### Fixed
|
|
297
|
+
- Search command now displays results correctly in conversation transcript
|
|
298
|
+
- Removed PostToolUse hook approach (output only visible in verbose mode)
|
|
299
|
+
- Claude now formats results directly with simpler markdown table syntax
|
|
300
|
+
|
|
301
|
+
### Changed
|
|
302
|
+
- Simplified search result formatting - removed fixed-width column requirements
|
|
303
|
+
- Updated command to use standard markdown tables instead of hook-based formatting
|
|
304
|
+
|
|
305
|
+
### Removed
|
|
306
|
+
- PostToolUse hook for search formatting (`format-search-results.py` retained for reference)
|
|
307
|
+
|
|
308
|
+
## [0.4.17] - 2026-01-01
|
|
309
|
+
|
|
310
|
+
### Fixed
|
|
311
|
+
- Fixed duplicate search output by instructing Claude not to generate tables
|
|
312
|
+
- PostToolUse hook now solely responsible for displaying formatted results
|
|
313
|
+
|
|
314
|
+
## [0.4.16] - 2026-01-01
|
|
315
|
+
|
|
316
|
+
### Changed
|
|
317
|
+
- Replaced prompt-based table formatting with deterministic PostToolUse hook
|
|
318
|
+
- Search results now formatted by Python script with precise column widths
|
|
319
|
+
- Simplified search.md command - formatting handled by hook
|
|
320
|
+
|
|
321
|
+
### Added
|
|
322
|
+
- `hooks/format-search-results.py` - deterministic table formatter for search output
|
|
323
|
+
|
|
324
|
+
## [0.4.15] - 2026-01-01
|
|
325
|
+
|
|
326
|
+
### Fixed
|
|
327
|
+
- Fixed search command table alignment by enforcing fixed-width columns with proper padding
|
|
328
|
+
- Separator row now uses exact cell widths (7/14/47/50 chars) for proper vertical alignment
|
|
329
|
+
- All column borders now align perfectly in terminal output
|
|
330
|
+
|
|
331
|
+
## [0.4.14] - 2026-01-01
|
|
332
|
+
|
|
333
|
+
### Fixed
|
|
334
|
+
- Enforced strict column width limits in search command output to prevent table formatting issues
|
|
335
|
+
- Added explicit truncation rules (Store: 12 chars, File: 45 chars, Purpose: 48 chars)
|
|
336
|
+
- Improved command documentation with clear examples of text truncation
|
|
337
|
+
|
|
338
|
+
## [0.4.13] - 2026-01-01
|
|
339
|
+
|
|
340
|
+
### Fixed
|
|
341
|
+
- Fixed table separator alignment in search output
|
|
342
|
+
- Better visual formatting for search results
|
|
343
|
+
|
|
344
|
+
## [0.4.11-0.4.12] - 2026-01-01
|
|
345
|
+
|
|
346
|
+
### Changed
|
|
347
|
+
- Changed search output to table format
|
|
348
|
+
- Added store names to search results for clarity
|
|
349
|
+
|
|
350
|
+
## [0.4.10] - 2026-01-01
|
|
351
|
+
|
|
352
|
+
### Added
|
|
353
|
+
- Added store names to search results
|
|
354
|
+
|
|
355
|
+
### Removed
|
|
356
|
+
- Removed flaky stress tests
|
|
357
|
+
|
|
358
|
+
## [0.4.4] - 2025-12-31
|
|
359
|
+
|
|
360
|
+
### Changed
|
|
361
|
+
- Table formatting refinements (clean IDs, ~ for home paths)
|
|
362
|
+
- Improved readability of stores command output
|
|
363
|
+
|
|
364
|
+
## [0.4.3] - 2025-12-31
|
|
365
|
+
|
|
366
|
+
### Changed
|
|
367
|
+
- Store list outputs in beautiful table format
|
|
368
|
+
- Enhanced command output presentation
|
|
369
|
+
|
|
370
|
+
## [0.4.2] - 2025-12-30
|
|
371
|
+
|
|
372
|
+
### Changed
|
|
373
|
+
- Commands converted to use MCP tools instead of bash execution
|
|
374
|
+
- Improved architecture for command handling
|
|
375
|
+
- Better integration with Claude Code's tool system
|
|
376
|
+
|
|
377
|
+
## [0.4.1] - 2025-12-29
|
|
378
|
+
|
|
379
|
+
### Added
|
|
380
|
+
- Auto-install Python dependencies via SessionStart hook
|
|
381
|
+
- Seamless setup experience for web crawling features
|
|
382
|
+
- PEP 668 compliance for modern Python environments
|
|
383
|
+
|
|
384
|
+
## [0.3.0] - 2025-12-28
|
|
385
|
+
|
|
386
|
+
### Added
|
|
387
|
+
- Web crawling with crawl4ai integration
|
|
388
|
+
- Create and index web stores from documentation sites
|
|
389
|
+
- Markdown conversion of web content
|
|
390
|
+
|
|
391
|
+
## [0.2.0] - 2025-12-27
|
|
392
|
+
|
|
393
|
+
### Added
|
|
394
|
+
- Smart usage-based dependency suggestions
|
|
395
|
+
- Automatic repository URL resolution via package registries
|
|
396
|
+
|
|
397
|
+
### Changed
|
|
398
|
+
- Improved analysis performance
|
|
399
|
+
|
|
400
|
+
### Fixed
|
|
401
|
+
- Fixed command prefix inconsistencies
|
|
402
|
+
|
|
403
|
+
## [0.1.x] - 2025-12-26
|
|
404
|
+
|
|
405
|
+
### Added
|
|
406
|
+
- Initial release
|
|
407
|
+
- Repository cloning and indexing
|
|
408
|
+
- Local folder indexing
|
|
409
|
+
- Semantic vector search with embeddings
|
|
410
|
+
- MCP server integration
|
package/CLAUDE.md
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# THIS IS CLAUDE.md - YOUR MEMORY FILE
|
|
2
|
+
|
|
3
|
+
**STOP. READ THIS FIRST.**
|
|
4
|
+
|
|
5
|
+
This file is YOUR (Claude's) project memory. It is NOT user documentation. It is NOT a README.
|
|
6
|
+
|
|
7
|
+
| File | Purpose | Audience |
|
|
8
|
+
|------|---------|----------|
|
|
9
|
+
| **CLAUDE.md** (this file) | Claude Code's memory - scripts, workflows, coding rules | YOU (Claude) |
|
|
10
|
+
| **README.md** | User-facing documentation - features, installation, API | HUMANS (users) |
|
|
11
|
+
|
|
12
|
+
**When to update this file:** When scripts, CI/CD workflows, build processes, or coding conventions change.
|
|
13
|
+
|
|
14
|
+
**Keep this file LEAN.** This entire file loads into your context every session. Be concise. No prose. No redundancy. Every line must earn its place.
|
|
15
|
+
|
|
16
|
+
**CLAUDE.md is hierarchical.** Any subdirectory can have its own CLAUDE.md that auto-loads when you work in that directory. Use this pattern:
|
|
17
|
+
- **Root CLAUDE.md** (this file): Project-wide info - scripts, CI/CD, general conventions
|
|
18
|
+
- **Subdirectory CLAUDE.md**: Directory-specific context scoped to files below it
|
|
19
|
+
- Nest as deep as needed - each level inherits from parents
|
|
20
|
+
|
|
21
|
+
**Stay DRY with includes.** Use `@path/to/file` syntax to import content instead of duplicating. Not evaluated inside code blocks.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Scripts
|
|
26
|
+
|
|
27
|
+
**Development:**
|
|
28
|
+
- `bun run build` - Compile TypeScript
|
|
29
|
+
- `bun run test:run` - Run tests once
|
|
30
|
+
- `bun run precommit` - Full validation (lint, typecheck, tests, build)
|
|
31
|
+
|
|
32
|
+
**Versioning (after code changes):**
|
|
33
|
+
- `bun run version:patch` - Bump patch version (updates package.json, plugin.json, README badge, CHANGELOG.md)
|
|
34
|
+
- `bun run version:minor` - Bump minor version
|
|
35
|
+
- `bun run version:major` - Bump major version
|
|
36
|
+
|
|
37
|
+
**Releasing (Fully Automated):**
|
|
38
|
+
1. Bump version: `bun run version:patch` (or minor/major)
|
|
39
|
+
2. Commit: `git commit -am "chore: bump version to X.Y.Z"`
|
|
40
|
+
3. Push: `git push`
|
|
41
|
+
4. **Done!** GitHub Actions handles the rest automatically
|
|
42
|
+
|
|
43
|
+
**What happens automatically:**
|
|
44
|
+
- `CI` workflow runs (lint, typecheck, tests, build)
|
|
45
|
+
- `Auto Release` workflow waits for CI, then creates & pushes tag
|
|
46
|
+
- `Release` workflow creates GitHub release
|
|
47
|
+
- `Update Marketplace` workflow updates `blueraai/bluera-marketplace`
|
|
48
|
+
|
|
49
|
+
**Manual release scripts (legacy, not needed):**
|
|
50
|
+
- `bun run release:patch` - Bump + commit + tag + push
|
|
51
|
+
- `bun run release:minor` - Same for minor version
|
|
52
|
+
- `bun run release:major` - Same for major version
|
|
53
|
+
|
|
54
|
+
## GitHub Actions Workflows
|
|
55
|
+
|
|
56
|
+
**CI Workflow** (`.github/workflows/ci.yml`)
|
|
57
|
+
- Triggers: Push to main, pull requests, tag pushes
|
|
58
|
+
- Runs: Lint, typecheck, tests, build
|
|
59
|
+
- Required to pass before auto-release creates tag
|
|
60
|
+
|
|
61
|
+
**Auto Release Workflow** (`.github/workflows/auto-release.yml`) **← NEW!**
|
|
62
|
+
- Triggers: Push to main
|
|
63
|
+
- Waits for: CI workflow to pass
|
|
64
|
+
- Checks: If version in package.json has no matching tag
|
|
65
|
+
- Creates: Tag and pushes it (triggers Release workflow)
|
|
66
|
+
- Uses: `MARKETPLACE_PAT` for checkout/push (GITHUB_TOKEN can't trigger other workflows)
|
|
67
|
+
- **This is what makes releases fully automated**
|
|
68
|
+
- **Important:** Must use PAT, not GITHUB_TOKEN, to allow tag push to trigger Release workflow
|
|
69
|
+
|
|
70
|
+
**Release Workflow** (`.github/workflows/release.yml`)
|
|
71
|
+
- Triggers: Tag push (v*)
|
|
72
|
+
- Creates: GitHub release with auto-generated notes
|
|
73
|
+
|
|
74
|
+
**Update Marketplace Workflow** (`.github/workflows/update-marketplace.yml`)
|
|
75
|
+
- Triggers: After Release workflow completes (via `workflow_run`)
|
|
76
|
+
- Waits for: CI workflow success (via `wait-on-check-action`)
|
|
77
|
+
- Updates: `blueraai/bluera-marketplace` plugin version automatically
|
|
78
|
+
- Requires: `MARKETPLACE_PAT` secret (repo-scoped PAT with write access to marketplace repo)
|
|
79
|
+
- Note: Uses `workflow_run` trigger because GitHub prevents `GITHUB_TOKEN` workflows from triggering other workflows
|
|
80
|
+
|
|
81
|
+
## Distribution Requirements
|
|
82
|
+
|
|
83
|
+
**`dist/` MUST be committed to git** - This is intentional, not an oversight:
|
|
84
|
+
|
|
85
|
+
1. **Claude Code plugins are copied to a cache during installation** - no build step runs
|
|
86
|
+
- Plugins need pre-built files ready to execute immediately
|
|
87
|
+
- Source: https://code.claude.com/docs/en/discover-plugins
|
|
88
|
+
|
|
89
|
+
2. **npm publishing also uses committed dist/** - No `files` array in package.json, so npm includes whatever isn't in `.gitignore`
|
|
90
|
+
|
|
91
|
+
**After any code change:**
|
|
92
|
+
1. Run `bun run build` (or `bun run precommit` which includes build)
|
|
93
|
+
2. Commit both source AND dist/ changes together
|
|
94
|
+
|
|
95
|
+
## ALWAYS
|
|
96
|
+
|
|
97
|
+
* use the `bun run version:*` commands after changes
|
|
98
|
+
* without this, the changes would not be detected by Claude Code
|
|
99
|
+
* push to main after version bump - releases happen automatically (no manual tagging needed)
|
|
100
|
+
* fail early and fast
|
|
101
|
+
* our code is expected to *work* as-designed
|
|
102
|
+
* use "throw" when state is unexpected or for any error condition
|
|
103
|
+
* use 100% strict typing; no "any" no "as", unless completely unavoidable and considerd best practice
|
|
104
|
+
|
|
105
|
+
## NEVER
|
|
106
|
+
|
|
107
|
+
* use `--no-verify` on Git commits; this anti-pattern completely circumvents the code protections we have in place
|
|
108
|
+
* write "fallback code" or "graceful degradation" code or implement "defaults" *unless* it's part of the specification
|
|
109
|
+
* leave commented code, nor reference outdated/deprecated implementations
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024-2025 Bluera Inc
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
Bluera Knowledge
|
|
2
|
+
Copyright (c) 2024-2025 Bluera Inc
|
|
3
|
+
|
|
4
|
+
This product includes software developed by third parties:
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Crawl4AI
|
|
9
|
+
https://github.com/unclecode/crawl4ai
|
|
10
|
+
Licensed under Apache License 2.0
|
|
11
|
+
|
|
12
|
+
This product includes software developed by UncleCode
|
|
13
|
+
(https://x.com/unclecode) as part of the Crawl4AI project
|
|
14
|
+
(https://github.com/unclecode/crawl4ai).
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
Playwright
|
|
19
|
+
https://github.com/microsoft/playwright-python
|
|
20
|
+
Licensed under Apache License 2.0
|
|
21
|
+
Copyright (c) Microsoft Corporation
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
sharp / libvips
|
|
26
|
+
https://github.com/lovell/sharp
|
|
27
|
+
https://github.com/libvips/libvips
|
|
28
|
+
sharp is licensed under Apache License 2.0
|
|
29
|
+
libvips is licensed under LGPL-3.0-or-later
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
@huggingface/transformers
|
|
34
|
+
https://github.com/huggingface/transformers.js
|
|
35
|
+
Licensed under Apache License 2.0
|
|
36
|
+
Copyright (c) Hugging Face
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
LanceDB
|
|
41
|
+
https://github.com/lancedb/lancedb
|
|
42
|
+
Licensed under Apache License 2.0
|
|
43
|
+
Copyright (c) LanceDB Inc
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
For complete license texts, see the respective project repositories.
|