kirograph 0.12.1
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/README.md +1171 -0
- package/dist/architecture/index.d.ts +11 -0
- package/dist/architecture/index.d.ts.map +1 -0
- package/dist/architecture/index.js +207 -0
- package/dist/architecture/index.js.map +7 -0
- package/dist/architecture/layers/csharp.d.ts +6 -0
- package/dist/architecture/layers/csharp.d.ts.map +1 -0
- package/dist/architecture/layers/csharp.js +100 -0
- package/dist/architecture/layers/csharp.js.map +7 -0
- package/dist/architecture/layers/elixir.js +116 -0
- package/dist/architecture/layers/elixir.js.map +7 -0
- package/dist/architecture/layers/go.d.ts +7 -0
- package/dist/architecture/layers/go.d.ts.map +1 -0
- package/dist/architecture/layers/go.js +117 -0
- package/dist/architecture/layers/go.js.map +7 -0
- package/dist/architecture/layers/index.d.ts +30 -0
- package/dist/architecture/layers/index.d.ts.map +1 -0
- package/dist/architecture/layers/index.js +100 -0
- package/dist/architecture/layers/index.js.map +7 -0
- package/dist/architecture/layers/java.d.ts +7 -0
- package/dist/architecture/layers/java.d.ts.map +1 -0
- package/dist/architecture/layers/java.js +119 -0
- package/dist/architecture/layers/java.js.map +7 -0
- package/dist/architecture/layers/python.d.ts +7 -0
- package/dist/architecture/layers/python.d.ts.map +1 -0
- package/dist/architecture/layers/python.js +111 -0
- package/dist/architecture/layers/python.js.map +7 -0
- package/dist/architecture/layers/ruby.d.ts +6 -0
- package/dist/architecture/layers/ruby.d.ts.map +1 -0
- package/dist/architecture/layers/ruby.js +95 -0
- package/dist/architecture/layers/ruby.js.map +7 -0
- package/dist/architecture/layers/rust.d.ts +6 -0
- package/dist/architecture/layers/rust.d.ts.map +1 -0
- package/dist/architecture/layers/rust.js +98 -0
- package/dist/architecture/layers/rust.js.map +7 -0
- package/dist/architecture/layers/types.d.ts +2 -0
- package/dist/architecture/layers/types.d.ts.map +1 -0
- package/dist/architecture/layers/types.js +17 -0
- package/dist/architecture/layers/types.js.map +7 -0
- package/dist/architecture/layers/typescript.d.ts +9 -0
- package/dist/architecture/layers/typescript.d.ts.map +1 -0
- package/dist/architecture/layers/typescript.js +143 -0
- package/dist/architecture/layers/typescript.js.map +7 -0
- package/dist/architecture/manifest/cargo.d.ts +3 -0
- package/dist/architecture/manifest/cargo.d.ts.map +1 -0
- package/dist/architecture/manifest/cargo.js +94 -0
- package/dist/architecture/manifest/cargo.js.map +7 -0
- package/dist/architecture/manifest/csproj.d.ts +3 -0
- package/dist/architecture/manifest/csproj.d.ts.map +1 -0
- package/dist/architecture/manifest/csproj.js +75 -0
- package/dist/architecture/manifest/csproj.js.map +7 -0
- package/dist/architecture/manifest/go.d.ts +3 -0
- package/dist/architecture/manifest/go.d.ts.map +1 -0
- package/dist/architecture/manifest/go.js +85 -0
- package/dist/architecture/manifest/go.js.map +7 -0
- package/dist/architecture/manifest/gradle.d.ts +3 -0
- package/dist/architecture/manifest/gradle.d.ts.map +1 -0
- package/dist/architecture/manifest/gradle.js +80 -0
- package/dist/architecture/manifest/gradle.js.map +7 -0
- package/dist/architecture/manifest/index.d.ts +12 -0
- package/dist/architecture/manifest/index.d.ts.map +1 -0
- package/dist/architecture/manifest/index.js +130 -0
- package/dist/architecture/manifest/index.js.map +7 -0
- package/dist/architecture/manifest/maven.d.ts +3 -0
- package/dist/architecture/manifest/maven.d.ts.map +1 -0
- package/dist/architecture/manifest/maven.js +76 -0
- package/dist/architecture/manifest/maven.js.map +7 -0
- package/dist/architecture/manifest/npm.d.ts +3 -0
- package/dist/architecture/manifest/npm.d.ts.map +1 -0
- package/dist/architecture/manifest/npm.js +103 -0
- package/dist/architecture/manifest/npm.js.map +7 -0
- package/dist/architecture/manifest/python.d.ts +3 -0
- package/dist/architecture/manifest/python.d.ts.map +1 -0
- package/dist/architecture/manifest/python.js +105 -0
- package/dist/architecture/manifest/python.js.map +7 -0
- package/dist/architecture/manifest/types.d.ts +2 -0
- package/dist/architecture/manifest/types.d.ts.map +1 -0
- package/dist/architecture/manifest/types.js +17 -0
- package/dist/architecture/manifest/types.js.map +7 -0
- package/dist/architecture/types.d.ts +91 -0
- package/dist/architecture/types.d.ts.map +1 -0
- package/dist/architecture/types.js +17 -0
- package/dist/architecture/types.js.map +7 -0
- package/dist/assets/logo.png +0 -0
- package/dist/banner.d.ts +6 -0
- package/dist/banner.d.ts.map +1 -0
- package/dist/banner.js +67 -0
- package/dist/banner.js.map +1 -0
- package/dist/bin/banner.d.ts +6 -0
- package/dist/bin/banner.d.ts.map +1 -0
- package/dist/bin/banner.js +88 -0
- package/dist/bin/banner.js.map +7 -0
- package/dist/bin/commands/affected.d.ts +3 -0
- package/dist/bin/commands/affected.d.ts.map +1 -0
- package/dist/bin/commands/affected.js +78 -0
- package/dist/bin/commands/affected.js.map +7 -0
- package/dist/bin/commands/architecture.d.ts +3 -0
- package/dist/bin/commands/architecture.d.ts.map +1 -0
- package/dist/bin/commands/architecture.js +125 -0
- package/dist/bin/commands/architecture.js.map +7 -0
- package/dist/bin/commands/caveman.js +136 -0
- package/dist/bin/commands/caveman.js.map +7 -0
- package/dist/bin/commands/context.d.ts +3 -0
- package/dist/bin/commands/context.d.ts.map +1 -0
- package/dist/bin/commands/context.js +81 -0
- package/dist/bin/commands/context.js.map +7 -0
- package/dist/bin/commands/coupling.d.ts +3 -0
- package/dist/bin/commands/coupling.d.ts.map +1 -0
- package/dist/bin/commands/coupling.js +164 -0
- package/dist/bin/commands/coupling.js.map +7 -0
- package/dist/bin/commands/dashboard.d.ts +3 -0
- package/dist/bin/commands/dashboard.d.ts.map +1 -0
- package/dist/bin/commands/dashboard.js +209 -0
- package/dist/bin/commands/dashboard.js.map +7 -0
- package/dist/bin/commands/dead-code.js +77 -0
- package/dist/bin/commands/dead-code.js.map +7 -0
- package/dist/bin/commands/export.js +2620 -0
- package/dist/bin/commands/export.js.map +7 -0
- package/dist/bin/commands/files.d.ts +3 -0
- package/dist/bin/commands/files.d.ts.map +1 -0
- package/dist/bin/commands/files.js +104 -0
- package/dist/bin/commands/files.js.map +7 -0
- package/dist/bin/commands/help.d.ts +4 -0
- package/dist/bin/commands/help.d.ts.map +1 -0
- package/dist/bin/commands/help.js +212 -0
- package/dist/bin/commands/help.js.map +7 -0
- package/dist/bin/commands/hotspots.js +77 -0
- package/dist/bin/commands/hotspots.js.map +7 -0
- package/dist/bin/commands/index.d.ts +3 -0
- package/dist/bin/commands/index.d.ts.map +1 -0
- package/dist/bin/commands/index.js +58 -0
- package/dist/bin/commands/index.js.map +7 -0
- package/dist/bin/commands/init.d.ts +3 -0
- package/dist/bin/commands/init.d.ts.map +1 -0
- package/dist/bin/commands/init.js +68 -0
- package/dist/bin/commands/init.js.map +7 -0
- package/dist/bin/commands/install.d.ts +3 -0
- package/dist/bin/commands/install.d.ts.map +1 -0
- package/dist/bin/commands/install.js +34 -0
- package/dist/bin/commands/install.js.map +7 -0
- package/dist/bin/commands/mark-dirty.d.ts +3 -0
- package/dist/bin/commands/mark-dirty.d.ts.map +1 -0
- package/dist/bin/commands/mark-dirty.js +51 -0
- package/dist/bin/commands/mark-dirty.js.map +7 -0
- package/dist/bin/commands/package.d.ts +3 -0
- package/dist/bin/commands/package.d.ts.map +1 -0
- package/dist/bin/commands/package.js +139 -0
- package/dist/bin/commands/package.js.map +7 -0
- package/dist/bin/commands/path.js +93 -0
- package/dist/bin/commands/path.js.map +7 -0
- package/dist/bin/commands/qdrant.d.ts +3 -0
- package/dist/bin/commands/qdrant.d.ts.map +1 -0
- package/dist/bin/commands/qdrant.js +159 -0
- package/dist/bin/commands/qdrant.js.map +1 -0
- package/dist/bin/commands/query.d.ts +3 -0
- package/dist/bin/commands/query.d.ts.map +1 -0
- package/dist/bin/commands/query.js +47 -0
- package/dist/bin/commands/query.js.map +7 -0
- package/dist/bin/commands/serve.d.ts +3 -0
- package/dist/bin/commands/serve.d.ts.map +1 -0
- package/dist/bin/commands/serve.js +59 -0
- package/dist/bin/commands/serve.js.map +7 -0
- package/dist/bin/commands/snapshot.js +122 -0
- package/dist/bin/commands/snapshot.js.map +7 -0
- package/dist/bin/commands/status.d.ts +3 -0
- package/dist/bin/commands/status.d.ts.map +1 -0
- package/dist/bin/commands/status.js +107 -0
- package/dist/bin/commands/status.js.map +7 -0
- package/dist/bin/commands/stop.d.ts +3 -0
- package/dist/bin/commands/stop.d.ts.map +1 -0
- package/dist/bin/commands/stop.js +81 -0
- package/dist/bin/commands/stop.js.map +1 -0
- package/dist/bin/commands/surprising.js +79 -0
- package/dist/bin/commands/surprising.js.map +7 -0
- package/dist/bin/commands/sync-if-dirty.d.ts +3 -0
- package/dist/bin/commands/sync-if-dirty.d.ts.map +1 -0
- package/dist/bin/commands/sync-if-dirty.js +67 -0
- package/dist/bin/commands/sync-if-dirty.js.map +7 -0
- package/dist/bin/commands/sync.d.ts +3 -0
- package/dist/bin/commands/sync.d.ts.map +1 -0
- package/dist/bin/commands/sync.js +81 -0
- package/dist/bin/commands/sync.js.map +7 -0
- package/dist/bin/commands/typesense.d.ts +3 -0
- package/dist/bin/commands/typesense.d.ts.map +1 -0
- package/dist/bin/commands/typesense.js +126 -0
- package/dist/bin/commands/typesense.js.map +1 -0
- package/dist/bin/commands/uninit.d.ts +4 -0
- package/dist/bin/commands/uninit.d.ts.map +1 -0
- package/dist/bin/commands/uninit.js +123 -0
- package/dist/bin/commands/uninit.js.map +7 -0
- package/dist/bin/commands/unlock.d.ts +3 -0
- package/dist/bin/commands/unlock.d.ts.map +1 -0
- package/dist/bin/commands/unlock.js +53 -0
- package/dist/bin/commands/unlock.js.map +7 -0
- package/dist/bin/commands/utils.d.ts +12 -0
- package/dist/bin/commands/utils.d.ts.map +1 -0
- package/dist/bin/commands/utils.js +56 -0
- package/dist/bin/commands/utils.js.map +7 -0
- package/dist/bin/installer/archive.js +230 -0
- package/dist/bin/installer/archive.js.map +7 -0
- package/dist/bin/installer/caveman.js +57 -0
- package/dist/bin/installer/caveman.js.map +7 -0
- package/dist/bin/installer/cli-agent.d.ts +15 -0
- package/dist/bin/installer/cli-agent.d.ts.map +1 -0
- package/dist/bin/installer/cli-agent.js +89 -0
- package/dist/bin/installer/cli-agent.js.map +7 -0
- package/dist/bin/installer/config-prompt.d.ts +13 -0
- package/dist/bin/installer/config-prompt.d.ts.map +1 -0
- package/dist/bin/installer/config-prompt.js +158 -0
- package/dist/bin/installer/config-prompt.js.map +7 -0
- package/dist/bin/installer/dashboard.d.ts +3 -0
- package/dist/bin/installer/dashboard.d.ts.map +1 -0
- package/dist/bin/installer/dashboard.js +149 -0
- package/dist/bin/installer/dashboard.js.map +7 -0
- package/dist/bin/installer/hooks.d.ts +5 -0
- package/dist/bin/installer/hooks.d.ts.map +1 -0
- package/dist/bin/installer/hooks.js +155 -0
- package/dist/bin/installer/hooks.js.map +7 -0
- package/dist/bin/installer/index.d.ts +11 -0
- package/dist/bin/installer/index.d.ts.map +1 -0
- package/dist/bin/installer/index.js +228 -0
- package/dist/bin/installer/index.js.map +7 -0
- package/dist/bin/installer/mcp.d.ts +5 -0
- package/dist/bin/installer/mcp.d.ts.map +1 -0
- package/dist/bin/installer/mcp.js +80 -0
- package/dist/bin/installer/mcp.js.map +7 -0
- package/dist/bin/installer/prompts.d.ts +28 -0
- package/dist/bin/installer/prompts.d.ts.map +1 -0
- package/dist/bin/installer/prompts.js +134 -0
- package/dist/bin/installer/prompts.js.map +7 -0
- package/dist/bin/installer/qdrant-dashboard.d.ts +4 -0
- package/dist/bin/installer/qdrant-dashboard.d.ts.map +1 -0
- package/dist/bin/installer/qdrant-dashboard.js +115 -0
- package/dist/bin/installer/qdrant-dashboard.js.map +7 -0
- package/dist/bin/installer/steering.d.ts +5 -0
- package/dist/bin/installer/steering.d.ts.map +1 -0
- package/dist/bin/installer/steering.js +283 -0
- package/dist/bin/installer/steering.js.map +7 -0
- package/dist/bin/kirograph.d.ts +6 -0
- package/dist/bin/kirograph.d.ts.map +1 -0
- package/dist/bin/kirograph.js +95 -0
- package/dist/bin/kirograph.js.map +7 -0
- package/dist/bin/progress.d.ts +14 -0
- package/dist/bin/progress.d.ts.map +1 -0
- package/dist/bin/progress.js +201 -0
- package/dist/bin/progress.js.map +7 -0
- package/dist/bin/ui.d.ts +11 -0
- package/dist/bin/ui.d.ts.map +1 -0
- package/dist/bin/ui.js +71 -0
- package/dist/bin/ui.js.map +7 -0
- package/dist/config.d.ts +48 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +273 -0
- package/dist/config.js.map +7 -0
- package/dist/context/index.d.ts +61 -0
- package/dist/context/index.d.ts.map +1 -0
- package/dist/context/index.js +224 -0
- package/dist/context/index.js.map +7 -0
- package/dist/core/file-tree.d.ts +15 -0
- package/dist/core/file-tree.d.ts.map +1 -0
- package/dist/core/file-tree.js +69 -0
- package/dist/core/file-tree.js.map +7 -0
- package/dist/core/lock-manager.d.ts +20 -0
- package/dist/core/lock-manager.d.ts.map +1 -0
- package/dist/core/lock-manager.js +120 -0
- package/dist/core/lock-manager.js.map +7 -0
- package/dist/core/pipeline.d.ts +37 -0
- package/dist/core/pipeline.d.ts.map +1 -0
- package/dist/core/pipeline.js +375 -0
- package/dist/core/pipeline.js.map +7 -0
- package/dist/core/snapshot.js +141 -0
- package/dist/core/snapshot.js.map +7 -0
- package/dist/db/database.d.ts +133 -0
- package/dist/db/database.d.ts.map +1 -0
- package/dist/db/database.js +929 -0
- package/dist/db/database.js.map +7 -0
- package/dist/db/schema.sql +174 -0
- package/dist/errors.d.ts +49 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +160 -0
- package/dist/errors.js.map +7 -0
- package/dist/extraction/extractor.d.ts +29 -0
- package/dist/extraction/extractor.d.ts.map +1 -0
- package/dist/extraction/extractor.js +764 -0
- package/dist/extraction/extractor.js.map +7 -0
- package/dist/extraction/grammars.d.ts +48 -0
- package/dist/extraction/grammars.d.ts.map +1 -0
- package/dist/extraction/grammars.js +166 -0
- package/dist/extraction/grammars.js.map +7 -0
- package/dist/extraction/languages.d.ts +9 -0
- package/dist/extraction/languages.d.ts.map +1 -0
- package/dist/extraction/languages.js +103 -0
- package/dist/extraction/languages.js.map +7 -0
- package/dist/extraction/wasm/tree-sitter-pascal.wasm +0 -0
- package/dist/frameworks/csharp.d.ts +8 -0
- package/dist/frameworks/csharp.d.ts.map +1 -0
- package/dist/frameworks/csharp.js +93 -0
- package/dist/frameworks/csharp.js.map +7 -0
- package/dist/frameworks/elixir.js +142 -0
- package/dist/frameworks/elixir.js.map +7 -0
- package/dist/frameworks/express.d.ts +8 -0
- package/dist/frameworks/express.d.ts.map +1 -0
- package/dist/frameworks/express.js +143 -0
- package/dist/frameworks/express.js.map +7 -0
- package/dist/frameworks/go.d.ts +8 -0
- package/dist/frameworks/go.d.ts.map +1 -0
- package/dist/frameworks/go.js +85 -0
- package/dist/frameworks/go.js.map +7 -0
- package/dist/frameworks/index.d.ts +30 -0
- package/dist/frameworks/index.d.ts.map +1 -0
- package/dist/frameworks/index.js +243 -0
- package/dist/frameworks/index.js.map +7 -0
- package/dist/frameworks/java.d.ts +8 -0
- package/dist/frameworks/java.d.ts.map +1 -0
- package/dist/frameworks/java.js +87 -0
- package/dist/frameworks/java.js.map +7 -0
- package/dist/frameworks/laravel.d.ts +9 -0
- package/dist/frameworks/laravel.d.ts.map +1 -0
- package/dist/frameworks/laravel.js +115 -0
- package/dist/frameworks/laravel.js.map +7 -0
- package/dist/frameworks/python.d.ts +10 -0
- package/dist/frameworks/python.d.ts.map +1 -0
- package/dist/frameworks/python.js +158 -0
- package/dist/frameworks/python.js.map +7 -0
- package/dist/frameworks/react.d.ts +9 -0
- package/dist/frameworks/react.d.ts.map +1 -0
- package/dist/frameworks/react.js +230 -0
- package/dist/frameworks/react.js.map +7 -0
- package/dist/frameworks/ruby.d.ts +8 -0
- package/dist/frameworks/ruby.d.ts.map +1 -0
- package/dist/frameworks/ruby.js +136 -0
- package/dist/frameworks/ruby.js.map +7 -0
- package/dist/frameworks/rust.d.ts +8 -0
- package/dist/frameworks/rust.d.ts.map +1 -0
- package/dist/frameworks/rust.js +82 -0
- package/dist/frameworks/rust.js.map +7 -0
- package/dist/frameworks/svelte.d.ts +8 -0
- package/dist/frameworks/svelte.d.ts.map +1 -0
- package/dist/frameworks/svelte.js +174 -0
- package/dist/frameworks/svelte.js.map +7 -0
- package/dist/frameworks/swift.d.ts +10 -0
- package/dist/frameworks/swift.d.ts.map +1 -0
- package/dist/frameworks/swift.js +151 -0
- package/dist/frameworks/swift.js.map +7 -0
- package/dist/frameworks/types.d.ts +37 -0
- package/dist/frameworks/types.d.ts.map +1 -0
- package/dist/frameworks/types.js +17 -0
- package/dist/frameworks/types.js.map +7 -0
- package/dist/graph/queries.d.ts +53 -0
- package/dist/graph/queries.d.ts.map +1 -0
- package/dist/graph/queries.js +224 -0
- package/dist/graph/queries.js.map +7 -0
- package/dist/graph/traversal.d.ts +35 -0
- package/dist/graph/traversal.d.ts.map +1 -0
- package/dist/graph/traversal.js +148 -0
- package/dist/graph/traversal.js.map +7 -0
- package/dist/index.d.ts +102 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +303 -0
- package/dist/index.js.map +7 -0
- package/dist/installer/index.d.ts +10 -0
- package/dist/installer/index.d.ts.map +1 -0
- package/dist/installer/index.js +526 -0
- package/dist/installer/index.js.map +1 -0
- package/dist/mcp/server.d.ts +16 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +116 -0
- package/dist/mcp/server.js.map +7 -0
- package/dist/mcp/tools.d.ts +37 -0
- package/dist/mcp/tools.d.ts.map +1 -0
- package/dist/mcp/tools.js +779 -0
- package/dist/mcp/tools.js.map +7 -0
- package/dist/mcp/transport.d.ts +29 -0
- package/dist/mcp/transport.d.ts.map +1 -0
- package/dist/mcp/transport.js +70 -0
- package/dist/mcp/transport.js.map +7 -0
- package/dist/resolution/index.d.ts +56 -0
- package/dist/resolution/index.d.ts.map +1 -0
- package/dist/resolution/index.js +384 -0
- package/dist/resolution/index.js.map +7 -0
- package/dist/resolution/name-matcher.d.ts +25 -0
- package/dist/resolution/name-matcher.d.ts.map +1 -0
- package/dist/resolution/name-matcher.js +60 -0
- package/dist/resolution/name-matcher.js.map +7 -0
- package/dist/scripts/postinstall.js +64 -0
- package/dist/search/query-utils.d.ts +21 -0
- package/dist/search/query-utils.d.ts.map +1 -0
- package/dist/search/query-utils.js +219 -0
- package/dist/search/query-utils.js.map +7 -0
- package/dist/search/searcher.d.ts +15 -0
- package/dist/search/searcher.d.ts.map +1 -0
- package/dist/search/searcher.js +49 -0
- package/dist/search/searcher.js.map +7 -0
- package/dist/sync/index.d.ts +33 -0
- package/dist/sync/index.d.ts.map +1 -0
- package/dist/sync/index.js +200 -0
- package/dist/sync/index.js.map +7 -0
- package/dist/types.d.ts +131 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +37 -0
- package/dist/types.js.map +7 -0
- package/dist/utils.d.ts +52 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +254 -0
- package/dist/utils.js.map +7 -0
- package/dist/vectors/index.d.ts +71 -0
- package/dist/vectors/index.d.ts.map +1 -0
- package/dist/vectors/index.js +480 -0
- package/dist/vectors/index.js.map +7 -0
- package/dist/vectors/lancedb-index.d.ts +50 -0
- package/dist/vectors/lancedb-index.d.ts.map +1 -0
- package/dist/vectors/lancedb-index.js +153 -0
- package/dist/vectors/lancedb-index.js.map +7 -0
- package/dist/vectors/orama-index.d.ts +54 -0
- package/dist/vectors/orama-index.d.ts.map +1 -0
- package/dist/vectors/orama-index.js +213 -0
- package/dist/vectors/orama-index.js.map +7 -0
- package/dist/vectors/pglite-index.d.ts +53 -0
- package/dist/vectors/pglite-index.d.ts.map +1 -0
- package/dist/vectors/pglite-index.js +194 -0
- package/dist/vectors/pglite-index.js.map +7 -0
- package/dist/vectors/qdrant-index.d.ts +70 -0
- package/dist/vectors/qdrant-index.d.ts.map +1 -0
- package/dist/vectors/qdrant-index.js +364 -0
- package/dist/vectors/qdrant-index.js.map +7 -0
- package/dist/vectors/typesense-index.d.ts +75 -0
- package/dist/vectors/typesense-index.d.ts.map +1 -0
- package/dist/vectors/typesense-index.js +453 -0
- package/dist/vectors/typesense-index.js.map +7 -0
- package/dist/vectors/vec-index.d.ts +52 -0
- package/dist/vectors/vec-index.d.ts.map +1 -0
- package/dist/vectors/vec-index.js +198 -0
- package/dist/vectors/vec-index.js.map +7 -0
- package/package.json +67 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var npm_exports = {};
|
|
30
|
+
__export(npm_exports, {
|
|
31
|
+
npmParser: () => npmParser
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(npm_exports);
|
|
34
|
+
var fs = __toESM(require("fs"));
|
|
35
|
+
var path = __toESM(require("path"));
|
|
36
|
+
const npmParser = {
|
|
37
|
+
name: "npm",
|
|
38
|
+
manifestFiles: ["package.json"],
|
|
39
|
+
language: "typescript",
|
|
40
|
+
canParse(manifestPath) {
|
|
41
|
+
return path.basename(manifestPath) === "package.json";
|
|
42
|
+
},
|
|
43
|
+
async parse(manifestPath, projectRoot) {
|
|
44
|
+
let raw;
|
|
45
|
+
try {
|
|
46
|
+
raw = JSON.parse(fs.readFileSync(manifestPath, "utf8"));
|
|
47
|
+
} catch {
|
|
48
|
+
return [];
|
|
49
|
+
}
|
|
50
|
+
if (typeof raw !== "object" || raw === null) return [];
|
|
51
|
+
const pkg = raw;
|
|
52
|
+
const name = typeof pkg.name === "string" ? pkg.name : path.basename(path.dirname(manifestPath));
|
|
53
|
+
const version = typeof pkg.version === "string" ? pkg.version : void 0;
|
|
54
|
+
const relDir = path.relative(projectRoot, path.dirname(manifestPath)).replace(/\\/g, "/") || ".";
|
|
55
|
+
const relManifest = path.relative(projectRoot, manifestPath).replace(/\\/g, "/");
|
|
56
|
+
const externalDeps = _collectDeps(pkg);
|
|
57
|
+
const packages = [{
|
|
58
|
+
id: `pkg:npm:${relDir === "." ? name : relDir}`,
|
|
59
|
+
name,
|
|
60
|
+
path: relDir,
|
|
61
|
+
source: "manifest",
|
|
62
|
+
language: "typescript",
|
|
63
|
+
manifestPath: relManifest,
|
|
64
|
+
version,
|
|
65
|
+
externalDeps,
|
|
66
|
+
updatedAt: Date.now()
|
|
67
|
+
}];
|
|
68
|
+
const workspaces = _getWorkspaces(pkg);
|
|
69
|
+
for (const ws of workspaces) {
|
|
70
|
+
const wsDir = path.join(path.dirname(manifestPath), ws);
|
|
71
|
+
const wsPkg = path.join(wsDir, "package.json");
|
|
72
|
+
if (fs.existsSync(wsPkg)) {
|
|
73
|
+
const sub = await this.parse(wsPkg, projectRoot);
|
|
74
|
+
packages.push(...sub);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return packages;
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
function _collectDeps(pkg) {
|
|
81
|
+
const deps = /* @__PURE__ */ new Set();
|
|
82
|
+
for (const field of ["dependencies", "devDependencies", "peerDependencies", "optionalDependencies"]) {
|
|
83
|
+
const d = pkg[field];
|
|
84
|
+
if (typeof d === "object" && d !== null) {
|
|
85
|
+
for (const k of Object.keys(d)) deps.add(k);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return [...deps];
|
|
89
|
+
}
|
|
90
|
+
function _getWorkspaces(pkg) {
|
|
91
|
+
const ws = pkg.workspaces;
|
|
92
|
+
if (Array.isArray(ws)) return ws.filter((w) => typeof w === "string");
|
|
93
|
+
if (typeof ws === "object" && ws !== null) {
|
|
94
|
+
const packages = ws.packages;
|
|
95
|
+
if (Array.isArray(packages)) return packages.filter((w) => typeof w === "string");
|
|
96
|
+
}
|
|
97
|
+
return [];
|
|
98
|
+
}
|
|
99
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
100
|
+
0 && (module.exports = {
|
|
101
|
+
npmParser
|
|
102
|
+
});
|
|
103
|
+
//# sourceMappingURL=npm.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/architecture/manifest/npm.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * NPM / package.json manifest parser.\n * Handles JS/TS projects. Supports monorepos (workspaces).\n */\nimport * as fs from 'fs';\nimport * as path from 'path';\nimport type { ManifestParser, ArchPackage } from '../types';\n\nexport const npmParser: ManifestParser = {\n name: 'npm',\n manifestFiles: ['package.json'],\n language: 'typescript',\n\n canParse(manifestPath: string): boolean {\n return path.basename(manifestPath) === 'package.json';\n },\n\n async parse(manifestPath: string, projectRoot: string): Promise<ArchPackage[]> {\n let raw: unknown;\n try {\n raw = JSON.parse(fs.readFileSync(manifestPath, 'utf8'));\n } catch {\n return [];\n }\n if (typeof raw !== 'object' || raw === null) return [];\n const pkg = raw as Record<string, unknown>;\n\n const name = typeof pkg.name === 'string' ? pkg.name : path.basename(path.dirname(manifestPath));\n const version = typeof pkg.version === 'string' ? pkg.version : undefined;\n const relDir = path.relative(projectRoot, path.dirname(manifestPath)).replace(/\\\\/g, '/') || '.';\n const relManifest = path.relative(projectRoot, manifestPath).replace(/\\\\/g, '/');\n\n const externalDeps = _collectDeps(pkg);\n\n const packages: ArchPackage[] = [{\n id: `pkg:npm:${relDir === '.' ? name : relDir}`,\n name,\n path: relDir,\n source: 'manifest',\n language: 'typescript',\n manifestPath: relManifest,\n version,\n externalDeps,\n updatedAt: Date.now(),\n }];\n\n // Handle workspaces \u2014 each workspace entry is its own package\n const workspaces = _getWorkspaces(pkg);\n for (const ws of workspaces) {\n const wsDir = path.join(path.dirname(manifestPath), ws);\n const wsPkg = path.join(wsDir, 'package.json');\n if (fs.existsSync(wsPkg)) {\n const sub = await this.parse(wsPkg, projectRoot);\n packages.push(...sub);\n }\n }\n\n return packages;\n },\n};\n\nfunction _collectDeps(pkg: Record<string, unknown>): string[] {\n const deps = new Set<string>();\n for (const field of ['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies']) {\n const d = pkg[field];\n if (typeof d === 'object' && d !== null) {\n for (const k of Object.keys(d as object)) deps.add(k);\n }\n }\n return [...deps];\n}\n\nfunction _getWorkspaces(pkg: Record<string, unknown>): string[] {\n const ws = pkg.workspaces;\n if (Array.isArray(ws)) return ws.filter((w): w is string => typeof w === 'string');\n if (typeof ws === 'object' && ws !== null) {\n const packages = (ws as Record<string, unknown>).packages;\n if (Array.isArray(packages)) return packages.filter((w): w is string => typeof w === 'string');\n }\n return [];\n}\n"],
|
|
5
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UAAI,GAAG,WAAW,KAAK,GAAG;AACxB,cAAM,MAAM,MAAM,KAAK,MAAM,OAAO,WAAW;AAC/C,iBAAS,KAAK,GAAG,GAAG;AAAA,MACtB;AAAA,IACF;AAEA,WAAO;AAAA,EACT;AACF;AAEA,SAAS,aAAa,KAAwC;AAC5D,QAAM,OAAO,oBAAI,IAAY;AAC7B,aAAW,SAAS,CAAC,gBAAgB,mBAAmB,oBAAoB,sBAAsB,GAAG;AACnG,UAAM,IAAI,IAAI,KAAK;AACnB,QAAI,OAAO,MAAM,YAAY,MAAM,MAAM;AACvC,iBAAW,KAAK,OAAO,KAAK,CAAW,EAAG,MAAK,IAAI,CAAC;AAAA,IACtD;AAAA,EACF;AACA,SAAO,CAAC,GAAG,IAAI;AACjB;AAEA,SAAS,eAAe,KAAwC;AAC9D,QAAM,KAAK,IAAI;AACf,MAAI,MAAM,QAAQ,EAAE,EAAG,QAAO,GAAG,OAAO,CAAC,MAAmB,OAAO,MAAM,QAAQ;AACjF,MAAI,OAAO,OAAO,YAAY,OAAO,MAAM;AACzC,UAAM,WAAY,GAA+B;AACjD,QAAI,MAAM,QAAQ,QAAQ,EAAG,QAAO,SAAS,OAAO,CAAC,MAAmB,OAAO,MAAM,QAAQ;AAAA,EAC/F;AACA,SAAO,CAAC;AACV;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"python.d.ts","sourceRoot":"","sources":["../../../src/architecture/manifest/python.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,UAAU,CAAC;AAE5D,eAAO,MAAM,YAAY,EAAE,cAsE1B,CAAC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var python_exports = {};
|
|
30
|
+
__export(python_exports, {
|
|
31
|
+
pythonParser: () => pythonParser
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(python_exports);
|
|
34
|
+
var fs = __toESM(require("fs"));
|
|
35
|
+
var path = __toESM(require("path"));
|
|
36
|
+
const pythonParser = {
|
|
37
|
+
name: "python",
|
|
38
|
+
manifestFiles: ["pyproject.toml", "setup.py", "setup.cfg"],
|
|
39
|
+
language: "python",
|
|
40
|
+
canParse(manifestPath) {
|
|
41
|
+
const base = path.basename(manifestPath);
|
|
42
|
+
return base === "pyproject.toml" || base === "setup.py" || base === "setup.cfg";
|
|
43
|
+
},
|
|
44
|
+
async parse(manifestPath, projectRoot) {
|
|
45
|
+
let content;
|
|
46
|
+
try {
|
|
47
|
+
content = fs.readFileSync(manifestPath, "utf8");
|
|
48
|
+
} catch {
|
|
49
|
+
return [];
|
|
50
|
+
}
|
|
51
|
+
const base = path.basename(manifestPath);
|
|
52
|
+
let name;
|
|
53
|
+
let version;
|
|
54
|
+
const externalDeps = [];
|
|
55
|
+
if (base === "pyproject.toml") {
|
|
56
|
+
name = content.match(/^\[(?:tool\.poetry|project)\][^[]*name\s*=\s*"([^"]+)"/ms)?.[1];
|
|
57
|
+
version = content.match(/^\[(?:tool\.poetry|project)\][^[]*version\s*=\s*"([^"]+)"/ms)?.[1];
|
|
58
|
+
const depsMatch = content.match(/^\[(?:tool\.poetry\.)?dependencies\]([\s\S]*?)(?=^\[|\Z)/m);
|
|
59
|
+
if (depsMatch) {
|
|
60
|
+
for (const line of depsMatch[1].split("\n")) {
|
|
61
|
+
const m = line.trim().match(/^([a-zA-Z0-9_.-]+)\s*[=<>!]/);
|
|
62
|
+
if (m && m[1] !== "python") externalDeps.push(m[1]);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
} else if (base === "setup.py") {
|
|
66
|
+
name = content.match(/name\s*=\s*['"]([^'"]+)['"]/)?.[1];
|
|
67
|
+
version = content.match(/version\s*=\s*['"]([^'"]+)['"]/)?.[1];
|
|
68
|
+
const installRequires = content.match(/install_requires\s*=\s*\[([^\]]+)\]/s);
|
|
69
|
+
if (installRequires) {
|
|
70
|
+
for (const dep of installRequires[1].matchAll(/['"]([a-zA-Z0-9_.-]+)/g)) {
|
|
71
|
+
externalDeps.push(dep[1]);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
} else if (base === "setup.cfg") {
|
|
75
|
+
name = content.match(/^name\s*=\s*(.+)/m)?.[1]?.trim();
|
|
76
|
+
version = content.match(/^version\s*=\s*(.+)/m)?.[1]?.trim();
|
|
77
|
+
const depsSection = content.match(/^install_requires\s*=([\s\S]*?)(?=^\[|\Z)/m);
|
|
78
|
+
if (depsSection) {
|
|
79
|
+
for (const line of depsSection[1].split("\n")) {
|
|
80
|
+
const m = line.trim().match(/^([a-zA-Z0-9_.-]+)/);
|
|
81
|
+
if (m) externalDeps.push(m[1]);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
const relDir = path.relative(projectRoot, path.dirname(manifestPath)).replace(/\\/g, "/") || ".";
|
|
86
|
+
const relManifest = path.relative(projectRoot, manifestPath).replace(/\\/g, "/");
|
|
87
|
+
const pkgName = name ?? path.basename(path.dirname(manifestPath));
|
|
88
|
+
return [{
|
|
89
|
+
id: `pkg:python:${relDir}`,
|
|
90
|
+
name: pkgName,
|
|
91
|
+
path: relDir,
|
|
92
|
+
source: "manifest",
|
|
93
|
+
language: "python",
|
|
94
|
+
manifestPath: relManifest,
|
|
95
|
+
version,
|
|
96
|
+
externalDeps,
|
|
97
|
+
updatedAt: Date.now()
|
|
98
|
+
}];
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
102
|
+
0 && (module.exports = {
|
|
103
|
+
pythonParser
|
|
104
|
+
});
|
|
105
|
+
//# sourceMappingURL=python.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/architecture/manifest/python.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * Python manifest parser.\n * Handles pyproject.toml, setup.py, setup.cfg.\n */\nimport * as fs from 'fs';\nimport * as path from 'path';\nimport type { ManifestParser, ArchPackage } from '../types';\n\nexport const pythonParser: ManifestParser = {\n name: 'python',\n manifestFiles: ['pyproject.toml', 'setup.py', 'setup.cfg'],\n language: 'python',\n\n canParse(manifestPath: string): boolean {\n const base = path.basename(manifestPath);\n return base === 'pyproject.toml' || base === 'setup.py' || base === 'setup.cfg';\n },\n\n async parse(manifestPath: string, projectRoot: string): Promise<ArchPackage[]> {\n let content: string;\n try {\n content = fs.readFileSync(manifestPath, 'utf8');\n } catch {\n return [];\n }\n\n const base = path.basename(manifestPath);\n let name: string | undefined;\n let version: string | undefined;\n const externalDeps: string[] = [];\n\n if (base === 'pyproject.toml') {\n name = content.match(/^\\[(?:tool\\.poetry|project)\\][^[]*name\\s*=\\s*\"([^\"]+)\"/ms)?.[1];\n version = content.match(/^\\[(?:tool\\.poetry|project)\\][^[]*version\\s*=\\s*\"([^\"]+)\"/ms)?.[1];\n const depsMatch = content.match(/^\\[(?:tool\\.poetry\\.)?dependencies\\]([\\s\\S]*?)(?=^\\[|\\Z)/m);\n if (depsMatch) {\n for (const line of depsMatch[1].split('\\n')) {\n const m = line.trim().match(/^([a-zA-Z0-9_.-]+)\\s*[=<>!]/);\n if (m && m[1] !== 'python') externalDeps.push(m[1]);\n }\n }\n } else if (base === 'setup.py') {\n name = content.match(/name\\s*=\\s*['\"]([^'\"]+)['\"]/)?.[1];\n version = content.match(/version\\s*=\\s*['\"]([^'\"]+)['\"]/)?.[1];\n const installRequires = content.match(/install_requires\\s*=\\s*\\[([^\\]]+)\\]/s);\n if (installRequires) {\n for (const dep of installRequires[1].matchAll(/['\"]([a-zA-Z0-9_.-]+)/g)) {\n externalDeps.push(dep[1]);\n }\n }\n } else if (base === 'setup.cfg') {\n name = content.match(/^name\\s*=\\s*(.+)/m)?.[1]?.trim();\n version = content.match(/^version\\s*=\\s*(.+)/m)?.[1]?.trim();\n const depsSection = content.match(/^install_requires\\s*=([\\s\\S]*?)(?=^\\[|\\Z)/m);\n if (depsSection) {\n for (const line of depsSection[1].split('\\n')) {\n const m = line.trim().match(/^([a-zA-Z0-9_.-]+)/);\n if (m) externalDeps.push(m[1]);\n }\n }\n }\n\n const relDir = path.relative(projectRoot, path.dirname(manifestPath)).replace(/\\\\/g, '/') || '.';\n const relManifest = path.relative(projectRoot, manifestPath).replace(/\\\\/g, '/');\n const pkgName = name ?? path.basename(path.dirname(manifestPath));\n\n return [{\n id: `pkg:python:${relDir}`,\n name: pkgName,\n path: relDir,\n source: 'manifest',\n language: 'python',\n manifestPath: relManifest,\n version,\n externalDeps,\n updatedAt: Date.now(),\n }];\n },\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,SAAoB;AACpB,WAAsB;AAGf,MAAM,eAA+B;AAAA,EAC1C,MAAM;AAAA,EACN,eAAe,CAAC,kBAAkB,YAAY,WAAW;AAAA,EACzD,UAAU;AAAA,EAEV,SAAS,cAA+B;AACtC,UAAM,OAAO,KAAK,SAAS,YAAY;AACvC,WAAO,SAAS,oBAAoB,SAAS,cAAc,SAAS;AAAA,EACtE;AAAA,EAEA,MAAM,MAAM,cAAsB,aAA6C;AAC7E,QAAI;AACJ,QAAI;AACF,gBAAU,GAAG,aAAa,cAAc,MAAM;AAAA,IAChD,QAAQ;AACN,aAAO,CAAC;AAAA,IACV;AAEA,UAAM,OAAO,KAAK,SAAS,YAAY;AACvC,QAAI;AACJ,QAAI;AACJ,UAAM,eAAyB,CAAC;AAEhC,QAAI,SAAS,kBAAkB;AAC7B,aAAO,QAAQ,MAAM,0DAA0D,IAAI,CAAC;AACpF,gBAAU,QAAQ,MAAM,6DAA6D,IAAI,CAAC;AAC1F,YAAM,YAAY,QAAQ,MAAM,2DAA2D;AAC3F,UAAI,WAAW;AACb,mBAAW,QAAQ,UAAU,CAAC,EAAE,MAAM,IAAI,GAAG;AAC3C,gBAAM,IAAI,KAAK,KAAK,EAAE,MAAM,6BAA6B;AACzD,cAAI,KAAK,EAAE,CAAC,MAAM,SAAU,cAAa,KAAK,EAAE,CAAC,CAAC;AAAA,QACpD;AAAA,MACF;AAAA,IACF,WAAW,SAAS,YAAY;AAC9B,aAAO,QAAQ,MAAM,6BAA6B,IAAI,CAAC;AACvD,gBAAU,QAAQ,M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,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var types_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(types_exports);
|
|
17
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Architecture Analysis Types
|
|
3
|
+
*
|
|
4
|
+
* These types model the higher-level software architecture layer:
|
|
5
|
+
* packages (logical groupings of files) and layers (architectural tiers).
|
|
6
|
+
* All populated only when enableArchitecture=true in config.
|
|
7
|
+
*/
|
|
8
|
+
export interface ArchPackage {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
path: string;
|
|
12
|
+
source: 'manifest' | 'directory';
|
|
13
|
+
language?: string;
|
|
14
|
+
manifestPath?: string;
|
|
15
|
+
version?: string;
|
|
16
|
+
externalDeps?: string[];
|
|
17
|
+
metadata?: Record<string, unknown>;
|
|
18
|
+
updatedAt: number;
|
|
19
|
+
}
|
|
20
|
+
export interface ArchLayer {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
source: 'auto' | 'config';
|
|
24
|
+
patterns: string[];
|
|
25
|
+
metadata?: Record<string, unknown>;
|
|
26
|
+
updatedAt: number;
|
|
27
|
+
}
|
|
28
|
+
export interface ArchPackageDep {
|
|
29
|
+
sourcePkg: string;
|
|
30
|
+
targetPkg: string;
|
|
31
|
+
depCount: number;
|
|
32
|
+
files?: Array<{
|
|
33
|
+
from: string;
|
|
34
|
+
to: string;
|
|
35
|
+
}>;
|
|
36
|
+
}
|
|
37
|
+
export interface ArchLayerDep {
|
|
38
|
+
sourceLayer: string;
|
|
39
|
+
targetLayer: string;
|
|
40
|
+
depCount: number;
|
|
41
|
+
}
|
|
42
|
+
export interface ArchCoupling {
|
|
43
|
+
packageId: string;
|
|
44
|
+
afferent: number;
|
|
45
|
+
efferent: number;
|
|
46
|
+
instability: number;
|
|
47
|
+
updatedAt: number;
|
|
48
|
+
}
|
|
49
|
+
export interface ArchitectureResult {
|
|
50
|
+
packages: ArchPackage[];
|
|
51
|
+
layers: ArchLayer[];
|
|
52
|
+
packageDeps: ArchPackageDep[];
|
|
53
|
+
layerDeps: ArchLayerDep[];
|
|
54
|
+
coupling: ArchCoupling[];
|
|
55
|
+
filePackages: Record<string, string[]>;
|
|
56
|
+
fileLayers: Record<string, Array<{
|
|
57
|
+
layerId: string;
|
|
58
|
+
confidence: number;
|
|
59
|
+
matchedPattern: string;
|
|
60
|
+
}>>;
|
|
61
|
+
}
|
|
62
|
+
export interface ManifestParser {
|
|
63
|
+
/** Unique name for this parser (e.g. "npm", "go", "cargo") */
|
|
64
|
+
name: string;
|
|
65
|
+
/** Manifest filenames this parser handles (e.g. ["package.json"]) */
|
|
66
|
+
manifestFiles: string[];
|
|
67
|
+
/** Primary language for packages detected by this parser */
|
|
68
|
+
language: string;
|
|
69
|
+
/** Returns true if this parser can handle the given manifest file path */
|
|
70
|
+
canParse(manifestPath: string): boolean;
|
|
71
|
+
/** Parse one manifest file and return the package(s) it defines */
|
|
72
|
+
parse(manifestPath: string, projectRoot: string): Promise<ArchPackage[]>;
|
|
73
|
+
}
|
|
74
|
+
export interface LayerDetector {
|
|
75
|
+
/** Language this detector applies to, or 'any' for universal detectors */
|
|
76
|
+
language: string;
|
|
77
|
+
/** Optional framework specificity (e.g. "django", "rails") */
|
|
78
|
+
framework?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Given all indexed file paths (relative to project root), return
|
|
81
|
+
* layer matches for files this detector recognises.
|
|
82
|
+
*/
|
|
83
|
+
detect(files: string[], projectRoot: string, configLayers?: Record<string, string[]>): Promise<ArchLayerMatch[]>;
|
|
84
|
+
}
|
|
85
|
+
export interface ArchLayerMatch {
|
|
86
|
+
layerName: string;
|
|
87
|
+
filePath: string;
|
|
88
|
+
confidence: number;
|
|
89
|
+
matchedPattern: string;
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/architecture/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,UAAU,GAAG,WAAW,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC1B,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,MA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C;IACjB,0EAA0E;IAC1E,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC;IACxC,mEAAmE;IACnE,KAAK,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;CAC1E;AAID,MAAM,WAAW,aAAa;IAC5B,0EAA0E;IAC1E,QAAQ,EAAE,MAAM,CAAC;IACjB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;CAClH;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var types_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(types_exports);
|
|
17
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/architecture/types.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * Architecture Analysis Types\n *\n * These types model the higher-level software architecture layer:\n * packages (logical groupings of files) and layers (architectural tiers).\n * All populated only when enableArchitecture=true in config.\n */\n\nexport interface ArchPackage {\n id: string; // e.g. \"pkg:npm:my-lib\" or \"pkg:dir:src/auth\"\n name: string; // display name\n path: string; // relative directory path within the project\n source: 'manifest' | 'directory';\n language?: string; // primary language\n manifestPath?: string; // relative path to manifest file\n version?: string;\n externalDeps?: string[]; // declared external dependency names\n metadata?: Record<string, unknown>;\n updatedAt: number;\n}\n\nexport interface ArchLayer {\n id: string; // e.g. \"layer:api\"\n name: string; // \"api\" | \"service\" | \"data\" | \"ui\" | \"shared\"\n source: 'auto' | 'config';\n patterns: string[]; // glob patterns that caused this layer to be detected\n metadata?: Record<string, unknown>;\n updatedAt: number;\n}\n\nexport interface ArchPackageDep {\n sourcePkg: string;\n targetPkg: string;\n depCount: number;\n files?: Array<{ from: string; to: string }>;\n}\n\nexport interface ArchLayerDep {\n sourceLayer: string;\n targetLayer: string;\n depCount: number;\n}\n\nexport interface ArchCoupling {\n packageId: string;\n afferent: number; // Ca: packages that depend on this package\n efferent: number; // Ce: packages this package depends on\n instability: number; // Ce / (Ca + Ce), 0 = maximally stable, 1 = maximally unstable\n updatedAt: number;\n}\n\nexport interface ArchitectureResult {\n packages: ArchPackage[];\n layers: ArchLayer[];\n packageDeps: ArchPackageDep[];\n layerDeps: ArchLayerDep[];\n coupling: ArchCoupling[];\n filePackages: Record<string, string[]>; // filePath \u2192 packageIds\n fileLayers: Record<string, Array<{ layerId: string; confidence: number; matchedPattern: string }>>;\n}\n\n// \u2500\u2500 Manifest Parser Interface \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\nexport interface ManifestParser {\n /** Unique name for this parser (e.g. \"npm\", \"go\", \"cargo\") */\n name: string;\n /** Manifest filenames this parser handles (e.g. [\"package.json\"]) */\n manifestFiles: string[];\n /** Primary language for packages detected by this parser */\n language: string;\n /** Returns true if this parser can handle the given manifest file path */\n canParse(manifestPath: string): boolean;\n /** Parse one manifest file and return the package(s) it defines */\n parse(manifestPath: string, projectRoot: string): Promise<ArchPackage[]>;\n}\n\n// \u2500\u2500 Layer Detector Interface \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\nexport interface LayerDetector {\n /** Language this detector applies to, or 'any' for universal detectors */\n language: string;\n /** Optional framework specificity (e.g. \"django\", \"rails\") */\n framework?: string;\n /**\n * Given all indexed file paths (relative to project root), return\n * layer matches for files this detector recognises.\n */\n detect(files: string[], projectRoot: string, configLayers?: Record<string, string[]>): Promise<ArchLayerMatch[]>;\n}\n\nexport interface ArchLayerMatch {\n layerName: string; // e.g. 'api', 'service', 'data', 'ui', 'shared'\n filePath: string; // relative file path\n confidence: number; // 0.0\u20131.0\n matchedPattern: string; // the pattern that triggered this match\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
Binary file
|
package/dist/banner.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../src/banner.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA+CH,wBAAgB,WAAW,IAAI,IAAI,CAsBlC"}
|
package/dist/banner.js
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* KiroGraph CLI Banner
|
|
4
|
+
* Displays the KIROGRAPH ASCII art header and a rotating "Did you know?" tip.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.printBanner = printBanner;
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
9
|
+
const figlet = require('figlet');
|
|
10
|
+
// ANSI color helpers (no external deps)
|
|
11
|
+
const c = {
|
|
12
|
+
reset: '\x1b[0m',
|
|
13
|
+
bold: '\x1b[1m',
|
|
14
|
+
dim: '\x1b[2m',
|
|
15
|
+
purple: '\x1b[38;5;135m',
|
|
16
|
+
violet: '\x1b[38;5;99m',
|
|
17
|
+
cyan: '\x1b[38;5;117m',
|
|
18
|
+
gray: '\x1b[90m',
|
|
19
|
+
white: '\x1b[97m',
|
|
20
|
+
};
|
|
21
|
+
const TIPS = [
|
|
22
|
+
`Run ${c.cyan}kirograph context "your task"${c.reset} to get relevant code\n in one shot — no file scanning needed.`,
|
|
23
|
+
`Use ${c.cyan}kirograph query <name>${c.reset} instead of grep.\n It searches the symbol index instantly.`,
|
|
24
|
+
`${c.cyan}kirograph affected src/foo.ts${c.reset} finds every test file\n that depends on a changed file — great for CI.`,
|
|
25
|
+
`${c.cyan}kirograph files --format grouped${c.reset} shows your project\n structure grouped by language from the index.`,
|
|
26
|
+
`${c.cyan}kirograph impact <symbol>${c.reset} shows the blast radius\n before you change anything.`,
|
|
27
|
+
`Run ${c.cyan}kirograph install${c.reset} once per Kiro workspace to wire up\n MCP, auto-sync hooks, and steering automatically.`,
|
|
28
|
+
`${c.cyan}kirograph sync${c.reset} is incremental — it only re-parses\n files whose content has changed since last index.`,
|
|
29
|
+
`Pipe git diff into kirograph:\n ${c.cyan}git diff --name-only | kirograph affected --stdin${c.reset}`,
|
|
30
|
+
];
|
|
31
|
+
function pickTip() {
|
|
32
|
+
// Rotate daily so it feels fresh but is deterministic
|
|
33
|
+
const idx = Math.floor(Date.now() / 86400000) % TIPS.length;
|
|
34
|
+
return TIPS[idx];
|
|
35
|
+
}
|
|
36
|
+
function boxed(text, width = 70) {
|
|
37
|
+
const lines = text.split('\n');
|
|
38
|
+
const top = `${c.gray}┌${'─'.repeat(width - 2)}┐${c.reset}`;
|
|
39
|
+
const bottom = `${c.gray}└${'─'.repeat(width - 2)}┘${c.reset}`;
|
|
40
|
+
const padded = lines.map(l => {
|
|
41
|
+
// Strip ANSI for length calculation
|
|
42
|
+
const plain = l.replace(/\x1b\[[0-9;]*m/g, '');
|
|
43
|
+
const pad = Math.max(0, width - 4 - plain.length);
|
|
44
|
+
return `${c.gray}│${c.reset} ${l}${' '.repeat(pad)} ${c.gray}│${c.reset}`;
|
|
45
|
+
});
|
|
46
|
+
return [top, ...padded, bottom].join('\n');
|
|
47
|
+
}
|
|
48
|
+
function printBanner() {
|
|
49
|
+
// ASCII art title
|
|
50
|
+
const art = figlet.textSync('KIROGRAPH', { font: 'ANSI Shadow' });
|
|
51
|
+
// Colorize each line of the art in purple/violet gradient
|
|
52
|
+
const artLines = art.split('\n');
|
|
53
|
+
const colored = artLines.map((line, i) => {
|
|
54
|
+
const color = i < artLines.length / 2 ? c.purple : c.violet;
|
|
55
|
+
return `${color}${line}${c.reset}`;
|
|
56
|
+
}).join('\n');
|
|
57
|
+
console.log('\n' + colored);
|
|
58
|
+
// Subtitle
|
|
59
|
+
console.log(`${c.dim} Semantic code knowledge graph for Kiro — 100% local${c.reset}`);
|
|
60
|
+
console.log(`${c.dim} Inspired by CodeGraph — original idea by ${c.reset}${c.violet}github.com/colbymchenry${c.reset}\n`);
|
|
61
|
+
// Did you know box
|
|
62
|
+
const label = `${c.gray}─────────────────────── ${c.reset}${c.bold}${c.white}Did you know?${c.reset}${c.gray} ───────────────────────${c.reset}`;
|
|
63
|
+
console.log(label);
|
|
64
|
+
console.log(boxed(pickTip()));
|
|
65
|
+
console.log();
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=banner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner.js","sourceRoot":"","sources":["../src/banner.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AA+CH,kCAsBC;AAnED,iEAAiE;AACjE,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAEjC,wCAAwC;AACxC,MAAM,CAAC,GAAG;IACR,KAAK,EAAG,SAAS;IACjB,IAAI,EAAI,SAAS;IACjB,GAAG,EAAK,SAAS;IACjB,MAAM,EAAE,gBAAgB;IACxB,MAAM,EAAE,eAAe;IACvB,IAAI,EAAI,gBAAgB;IACxB,IAAI,EAAI,UAAU;IAClB,KAAK,EAAG,UAAU;CACnB,CAAC;AAEF,MAAM,IAAI,GAAG;IACX,OAAO,CAAC,CAAC,IAAI,gCAAgC,CAAC,CAAC,KAAK,iEAAiE;IACrH,OAAO,CAAC,CAAC,IAAI,yBAAyB,CAAC,CAAC,KAAK,8DAA8D;IAC3G,GAAG,CAAC,CAAC,IAAI,gCAAgC,CAAC,CAAC,KAAK,0EAA0E;IAC1H,GAAG,CAAC,CAAC,IAAI,mCAAmC,CAAC,CAAC,KAAK,sEAAsE;IACzH,GAAG,CAAC,CAAC,IAAI,4BAA4B,CAAC,CAAC,KAAK,wDAAwD;IACpG,OAAO,CAAC,CAAC,IAAI,oBAAoB,CAAC,CAAC,KAAK,0FAA0F;IAClI,GAAG,CAAC,CAAC,IAAI,iBAAiB,CAAC,CAAC,KAAK,0FAA0F;IAC3H,oCAAoC,CAAC,CAAC,IAAI,oDAAoD,CAAC,CAAC,KAAK,EAAE;CACxG,CAAC;A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EAAE,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../src/bin/banner.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA+CH,wBAAgB,WAAW,IAAI,IAAI,CAsBlC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var banner_exports = {};
|
|
20
|
+
__export(banner_exports, {
|
|
21
|
+
printBanner: () => printBanner
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(banner_exports);
|
|
24
|
+
const figlet = require("figlet");
|
|
25
|
+
const c = {
|
|
26
|
+
reset: "\x1B[0m",
|
|
27
|
+
bold: "\x1B[1m",
|
|
28
|
+
dim: "\x1B[2m",
|
|
29
|
+
purple: "\x1B[38;5;135m",
|
|
30
|
+
violet: "\x1B[38;5;99m",
|
|
31
|
+
cyan: "\x1B[38;5;117m",
|
|
32
|
+
gray: "\x1B[90m",
|
|
33
|
+
white: "\x1B[97m"
|
|
34
|
+
};
|
|
35
|
+
const TIPS = [
|
|
36
|
+
`Run ${c.cyan}kirograph context "your task"${c.reset} to get relevant code
|
|
37
|
+
in one shot \u2014 no file scanning needed.`,
|
|
38
|
+
`Use ${c.cyan}kirograph query <name>${c.reset} instead of grep.
|
|
39
|
+
It searches the symbol index instantly.`,
|
|
40
|
+
`${c.cyan}kirograph affected src/foo.ts${c.reset} finds every test file
|
|
41
|
+
that depends on a changed file \u2014 great for CI.`,
|
|
42
|
+
`${c.cyan}kirograph files --format grouped${c.reset} shows your project
|
|
43
|
+
structure grouped by language from the index.`,
|
|
44
|
+
`${c.cyan}kirograph impact <symbol>${c.reset} shows the blast radius
|
|
45
|
+
before you change anything.`,
|
|
46
|
+
`Run ${c.cyan}kirograph install${c.reset} once per Kiro workspace to wire up
|
|
47
|
+
MCP, auto-sync hooks, and steering automatically.`,
|
|
48
|
+
`${c.cyan}kirograph sync${c.reset} is incremental \u2014 it only re-parses
|
|
49
|
+
files whose content has changed since last index.`,
|
|
50
|
+
`Pipe git diff into kirograph:
|
|
51
|
+
${c.cyan}git diff --name-only | kirograph affected --stdin${c.reset}`
|
|
52
|
+
];
|
|
53
|
+
function pickTip() {
|
|
54
|
+
const idx = Math.floor(Date.now() / 864e5) % TIPS.length;
|
|
55
|
+
return TIPS[idx];
|
|
56
|
+
}
|
|
57
|
+
function boxed(text, width = 70) {
|
|
58
|
+
const lines = text.split("\n");
|
|
59
|
+
const top = `${c.gray}\u250C${"\u2500".repeat(width - 2)}\u2510${c.reset}`;
|
|
60
|
+
const bottom = `${c.gray}\u2514${"\u2500".repeat(width - 2)}\u2518${c.reset}`;
|
|
61
|
+
const padded = lines.map((l) => {
|
|
62
|
+
const plain = l.replace(/\x1b\[[0-9;]*m/g, "");
|
|
63
|
+
const pad = Math.max(0, width - 4 - plain.length);
|
|
64
|
+
return `${c.gray}\u2502${c.reset} ${l}${" ".repeat(pad)} ${c.gray}\u2502${c.reset}`;
|
|
65
|
+
});
|
|
66
|
+
return [top, ...padded, bottom].join("\n");
|
|
67
|
+
}
|
|
68
|
+
function printBanner() {
|
|
69
|
+
const art = figlet.textSync("KIROGRAPH", { font: "ANSI Shadow" });
|
|
70
|
+
const artLines = art.split("\n");
|
|
71
|
+
const colored = artLines.map((line, i) => {
|
|
72
|
+
const color = i < artLines.length / 2 ? c.purple : c.violet;
|
|
73
|
+
return `${color}${line}${c.reset}`;
|
|
74
|
+
}).join("\n");
|
|
75
|
+
console.log("\n" + colored);
|
|
76
|
+
console.log(`${c.dim} Semantic code knowledge graph for Kiro \u2014 100% local${c.reset}`);
|
|
77
|
+
console.log(`${c.dim} Inspired by CodeGraph \u2014 original idea by ${c.reset}${c.violet}github.com/colbymchenry${c.reset}
|
|
78
|
+
`);
|
|
79
|
+
const label = `${c.gray}\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 ${c.reset}${c.bold}${c.white}Did you know?${c.reset}${c.gray} \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500${c.reset}`;
|
|
80
|
+
console.log(label);
|
|
81
|
+
console.log(boxed(pickTip()));
|
|
82
|
+
console.log();
|
|
83
|
+
}
|
|
84
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
85
|
+
0 && (module.exports = {
|
|
86
|
+
printBanner
|
|
87
|
+
});
|
|
88
|
+
//# sourceMappingURL=banner.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/bin/banner.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * KiroGraph CLI Banner\n * Displays the KIROGRAPH ASCII art header and a rotating \"Did you know?\" tip.\n */\n\n// eslint-disable-next-line @typescript-eslint/no-require-imports\nconst figlet = require('figlet');\n\n// ANSI color helpers (no external deps)\nconst c = {\n reset: '\\x1b[0m',\n bold: '\\x1b[1m',\n dim: '\\x1b[2m',\n purple: '\\x1b[38;5;135m',\n violet: '\\x1b[38;5;99m',\n cyan: '\\x1b[38;5;117m',\n gray: '\\x1b[90m',\n white: '\\x1b[97m',\n};\n\nconst TIPS = [\n `Run ${c.cyan}kirograph context \"your task\"${c.reset} to get relevant code\\n in one shot \u2014 no file scanning needed.`,\n `Use ${c.cyan}kirograph query <name>${c.reset} instead of grep.\\n It searches the symbol index instantly.`,\n `${c.cyan}kirograph affected src/foo.ts${c.reset} finds every test file\\n that depends on a changed file \u2014 great for CI.`,\n `${c.cyan}kirograph files --format grouped${c.reset} shows your project\\n structure grouped by language from the index.`,\n `${c.cyan}kirograph impact <symbol>${c.reset} shows the blast radius\\n before you change anything.`,\n `Run ${c.cyan}kirograph install${c.reset} once per Kiro workspace to wire up\\n MCP, auto-sync hooks, and steering automatically.`,\n `${c.cyan}kirograph sync${c.reset} is incremental \u2014 it only re-parses\\n files whose content has changed since last index.`,\n `Pipe git diff into kirograph:\\n ${c.cyan}git diff --name-only | kirograph affected --stdin${c.reset}`,\n];\n\nfunction pickTip(): string {\n // Rotate daily so it feels fresh but is deterministic\n const idx = Math.floor(Date.now() / 86_400_000) % TIPS.length;\n return TIPS[idx];\n}\n\nfunction boxed(text: string, width = 70): string {\n const lines = text.split('\\n');\n const top = `${c.gray}\u250C${'\u2500'.repeat(width - 2)}\u2510${c.reset}`;\n const bottom = `${c.gray}\u2514${'\u2500'.repeat(width - 2)}\u2518${c.reset}`;\n const padded = lines.map(l => {\n // Strip ANSI for length calculation\n const plain = l.replace(/\\x1b\\[[0-9;]*m/g, '');\n const pad = Math.max(0, width - 4 - plain.length);\n return `${c.gray}\u2502${c.reset} ${l}${' '.repeat(pad)} ${c.gray}\u2502${c.reset}`;\n });\n return [top, ...padded, bottom].join('\\n');\n}\n\nexport function printBanner(): void {\n // ASCII art title\n const art: string = figlet.textSync('KIROGRAPH', { font: 'ANSI Shadow' });\n\n // Colorize each line of the art in purple/violet gradient\n const artLines = art.split('\\n');\n const colored = artLines.map((line, i) => {\n const color = i < artLines.length / 2 ? c.purple : c.violet;\n return `${color}${line}${c.reset}`;\n }).join('\\n');\n\n console.log('\\n' + colored);\n\n // Subtitle\n console.log(`${c.dim} Semantic code knowledge graph for Kiro \u2014 100% local${c.reset}`);\n console.log(`${c.dim} Inspired by CodeGraph \u2014 original idea by ${c.reset}${c.violet}github.com/colbymchenry${c.reset}\\n`);\n\n // Did you know box\n const label = `${c.gray}\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 ${c.reset}${c.bold}${c.white}Did you know?${c.reset}${c.gray} \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500${c.reset}`;\n console.log(label);\n console.log(boxed(pickTip()));\n console.log();\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,MAAM,SAAS,QAAQ,QAAQ;AAG/B,MAAM,IAAI;AAAA,EACR,OAAQ;AAAA,EACR,MAAQ;AAAA,EACR,KAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,MAAQ;AAAA,EACR,MAAQ;AAAA,EACR,OAAQ;AACV;AAEA,MAAM,OAAO;AAAA,EACX,OAAO,EAAE,IAAI,gCAAgC,EAAE,KAAK;AAAA;AAAA,EACpD,OAAO,EAAE,IAAI,yBAAyB,EAAE,KAAK;AAAA;AAAA,EAC7C,GAAG,EAAE,IAAI,gCAAgC,EAAE,KAAK;AAAA;AAAA,EAChD,GAAG,EAAE,IAAI,mCAAmC,EAAE,KAAK;AAAA;AAAA,EACnD,GAAG,EAAE,IAAI,4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