open-codebase-index 0.21.0-bootstrap.0

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.
Files changed (39) hide show
  1. package/.claude-plugin/marketplace.json +16 -0
  2. package/.claude-plugin/plugin.json +35 -0
  3. package/.codex-plugin/plugin.json +43 -0
  4. package/.mcp.json +15 -0
  5. package/LICENSE +21 -0
  6. package/README.md +235 -0
  7. package/THIRD_PARTY_LICENSES.md +92 -0
  8. package/commands/call-graph.md +29 -0
  9. package/commands/definition.md +24 -0
  10. package/commands/find.md +25 -0
  11. package/commands/index.md +27 -0
  12. package/commands/peek.md +28 -0
  13. package/commands/pr-impact.md +23 -0
  14. package/commands/reindex.md +25 -0
  15. package/commands/search.md +28 -0
  16. package/commands/status.md +19 -0
  17. package/commands/visualize.md +30 -0
  18. package/dist/cli.cjs +19978 -0
  19. package/dist/cli.cjs.map +1 -0
  20. package/dist/cli.js +19970 -0
  21. package/dist/cli.js.map +1 -0
  22. package/dist/index.cjs +18530 -0
  23. package/dist/index.cjs.map +1 -0
  24. package/dist/index.js +18529 -0
  25. package/dist/index.js.map +1 -0
  26. package/dist/pi-extension.cjs +15070 -0
  27. package/dist/pi-extension.cjs.map +1 -0
  28. package/dist/pi-extension.js +15070 -0
  29. package/dist/pi-extension.js.map +1 -0
  30. package/hooks/hooks.json +17 -0
  31. package/native/codebase-index-native.darwin-arm64.node +0 -0
  32. package/native/codebase-index-native.darwin-x64.node +0 -0
  33. package/native/codebase-index-native.linux-arm64-gnu.node +0 -0
  34. package/native/codebase-index-native.linux-x64-gnu.node +0 -0
  35. package/native/codebase-index-native.win32-x64-msvc.node +0 -0
  36. package/package.json +147 -0
  37. package/scripts/link-local-mcp-bin.mjs +25 -0
  38. package/skill/SKILL.md +139 -0
  39. package/skills/codebase-search/SKILL.md +43 -0
@@ -0,0 +1,28 @@
1
+ ---
2
+ description: Search codebase by meaning using semantic search
3
+ ---
4
+
5
+ Search the codebase using semantic search.
6
+
7
+ User input: $ARGUMENTS
8
+
9
+ The first part is the search query. Look for optional parameters:
10
+ - `limit=N` or "top N" or "first N" → set limit
11
+ - `type=X` or mentions "functions"/"classes"/"methods" → set chunkType
12
+ - `dir=X` or "in folder X" → set directory filter
13
+ - File extensions like ".ts", "typescript", ".py" → set fileType
14
+ - `author=X` or `blameAuthor=X` → set blameAuthor filter
15
+ - `sha=X` or `blameSha=X` → set blameSha filter
16
+ - `since=YYYY-MM-DD` or `blameSince=YYYY-MM-DD` → set blameSince filter
17
+
18
+ Call `codebase_search` with the parsed arguments.
19
+
20
+ Examples:
21
+ - `/search authentication logic` → query="authentication logic"
22
+ - `/search error handling limit=5` → query="error handling", limit=5
23
+ - `/search validation functions` → query="validation", chunkType="function"
24
+ - `/search auth logic author=jane@example.com since=2025-01-01` → query="auth logic", blameAuthor="jane@example.com", blameSince="2025-01-01"
25
+
26
+ If the index doesn't exist, run `index_codebase` first.
27
+
28
+ Return results with file paths and line numbers.
@@ -0,0 +1,19 @@
1
+ ---
2
+ description: Check if the codebase is indexed and ready for semantic search
3
+ ---
4
+
5
+ Run the `index_status` tool to check if the codebase index is ready.
6
+
7
+ This shows:
8
+ - Whether the codebase is indexed
9
+ - Number of indexed chunks
10
+ - Embedding provider and model being used
11
+ - Current git branch
12
+ - Failed embedding batches or compatibility warnings that explain why search is not ready
13
+
14
+ No arguments needed - just run `index_status`.
15
+
16
+ If not indexed:
17
+ - suggest running `/index` when no index exists yet
18
+ - if status reports failed embedding batches, tell the user to fix the provider/auth issue and rerun `/index` normally
19
+ - if status reports provider/model incompatibility, tell the user to run `/index force` for a full rebuild
@@ -0,0 +1,30 @@
1
+ ---
2
+ description: Generate temporal HTML call graph visualization
3
+ ---
4
+
5
+ Generate an interactive temporal call graph visualization that starts with recent movement/onboarding context, then supports module overview, symbol exploration, hotspots, and cycles.
6
+
7
+ User input: $ARGUMENTS
8
+
9
+ Parse input for optional parameters:
10
+ - Plain text → directory filter (e.g., `/visualize src/services`)
11
+ - `max=N` or "limit N" → sets maxNodes
12
+ - `orphans` or `include-orphans` → sets includeOrphans=true
13
+ - No input → visualize recent code movement plus entire call graph
14
+
15
+ Call `index_visualize` with parsed parameters.
16
+
17
+ Examples:
18
+ - `/visualize` → temporal onboarding view with changes, modules, symbols, hotspots, and cycles
19
+ - `/visualize src/tools` → only symbols in src/tools/
20
+ - `/visualize max=1000` → limit to 1000 nodes
21
+ - `/visualize src/indexer orphans` → include disconnected nodes
22
+
23
+ If the index doesn't exist, run `index_codebase` first.
24
+
25
+ Return the generated file path and open instructions.
26
+
27
+ Terminology:
28
+ - Modules are path-based code areas, such as `src/tools` or `native`.
29
+ - Symbols are indexed named code units, such as functions, methods, classes, or Rust modules.
30
+ - Cycles are loops where code can eventually call or depend back on itself.