opencode-codebase-index 0.11.0 → 0.12.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-codebase-index",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Semantic codebase indexing and search for OpenCode - find code by meaning, not just keywords",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -95,7 +95,7 @@
95
95
  "brace-expansion": "5.0.6",
96
96
  "express-rate-limit": "8.5.2",
97
97
  "fast-uri": "3.1.2",
98
- "hono": "4.12.23",
98
+ "hono": "4.12.25",
99
99
  "ip-address": "10.2.0",
100
100
  "postcss": "8.5.15",
101
101
  "qs": "6.15.2",
package/skill/SKILL.md CHANGED
@@ -21,6 +21,8 @@ The indexed codebase contains **two types of content**:
21
21
  | Need to see actual code | `codebase_search` | Returns full code content |
22
22
  | Find duplicates/patterns | `find_similar` | Given code snippet → similar code |
23
23
  | Understand code flow | `call_graph` | Find callers/callees of any function |
24
+ | Trace dependency paths | `call_graph_path` | Find a shortest known path between two symbols |
25
+ | Analyze PR blast radius | `pr_impact` | Find affected symbols, communities, hub nodes, and risk |
24
26
  | Don't know function/class names | `codebase_peek` or `codebase_search` | Natural language → code |
25
27
  | Know exact identifier names | `grep` | Faster, more precise |
26
28
  | Need ALL occurrences | `grep` | Semantic returns top N only |
@@ -54,10 +56,11 @@ Suggest: "知识库中未找到相关信息,是否添加相关文档文件夹
54
56
 
55
57
  ## Recommended Workflow
56
58
 
57
- 1. **Search first**: `codebase_search("ADC channels ESP32")` → check local knowledge
58
- 2. **Locate with peek**: `codebase_peek("authentication flow")` → get file locations
59
+ 1. **Locate by meaning first**: `codebase_peek("authentication flow")` → get likely locations before grep or graph tools
60
+ 2. **Search with content**: `codebase_search("ADC channels ESP32")` → inspect implementation or knowledge-base matches
59
61
  3. **Read what matters**: `Read` the specific files you need
60
- 4. **Drill down with grep**: `grep "validateToken"` for exact matches
62
+ 4. **Trace structure after discovery**: `call_graph`, `call_graph_path`, `pr_impact`, or OMO CodeGraph once you know the relevant symbol
63
+ 5. **Drill down with grep**: `grep "validateToken"` for exact matches
61
64
 
62
65
  ## Tools
63
66