@skyf0xx/hedgehog 6.0.3 → 6.0.5

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 CHANGED
@@ -93,23 +93,20 @@ Every dependency is explicit, so Hedgehog knows which tasks can run in parallel.
93
93
 
94
94
  Agents fan out to give you great outcomes at **faster speeds**.
95
95
 
96
- ## Your Code is a Graph
96
+ ## Live Dependency Awareness
97
97
 
98
- Hedgehog indexes your codebase with [CodeGraphContext](https://github.com/CodeGraphContext/CodeGraphContext).
98
+ Hedgehog reaches for your editor's own Language Server Protocol integration to see what depends on what.
99
99
 
100
100
  ```mermaid
101
101
  flowchart TD
102
- A[Code Repository] --> B[Tree-sitter / SCIP Indexing]
103
- B --> C[Knowledge Graph]
104
- C --> D[Graph Database]
105
- D --> E[MCP Server]
106
- E --> F[Hedgehog]
102
+ A[Code Repository] --> B[Language Server]
103
+ B --> C[Symbols & References]
104
+ C --> D[Hedgehog]
107
105
  ```
108
106
 
109
- - **Fewer tokens burned**: tasks arrive knowing what to read, instead of searching for it
110
- - **Faster builds**: no time spent hunting through the codebase for context
111
- - **No more surprise breakage**: every task knows what depends on it before it edits
112
- - **Tests cover what changed**: verification that misses affected code gets caught
107
+ - **Lower token cost**: a targeted symbol lookup replaces reading or grepping whole files for context
108
+ - **Impact known before editing**: every task checks what depends on it before it changes anything
109
+ - **Verification matches the real surface**: tests target what actually changed
113
110
 
114
111
  ## Deterministic Code Generation
115
112
 
@@ -218,10 +215,7 @@ Mention `Hedgehog` whenever you want to build something with it.
218
215
  <summary>Instructions for AI Agents</summary>
219
216
 
220
217
  1. Check Node >=22.5.0 is installed.
221
- 2. Check Python >=3.10 is installed — it runs [CodeGraphContext](https://github.com/CodeGraphContext/CodeGraphContext), the code index every project uses.
222
- 3. Check CodeGraphContext is installed and configured.
223
- 4. If anything is missing, offer to set it up with the `hedgehog-code-intelligence-setup` skill — `init` stops without it.
224
- 5. Run the install commands below.
218
+ 2. Run the install commands below.
225
219
 
226
220
  </details>
227
221
 
@@ -288,8 +282,6 @@ new one.
288
282
 
289
283
  - Animation skills vendored from [gsap-skills](https://github.com/greensock/gsap-skills).
290
284
 
291
- - Hedgehog indexes your codebase with [CodeGraphContext](https://github.com/CodeGraphContext/CodeGraphContext).
292
-
293
285
  ## Support Hedgehog
294
286
 
295
287
  If Hedgehog helps you build better software with AI, **give it a ⭐ on GitHub**.
package/README.zh-CN.md CHANGED
@@ -93,23 +93,20 @@ npx @skyf0xx/hedgehog graph # 显示构建图
93
93
 
94
94
  多个 agent 并行展开工作,以**更快的速度**交付出色的结果。
95
95
 
96
- ## 你的代码是一张图
96
+ ## 实时感知依赖关系
97
97
 
98
- Hedgehog 使用 [CodeGraphContext](https://github.com/CodeGraphContext/CodeGraphContext) 为你的代码库建立索引。
98
+ Hedgehog 借助你编辑器自带的 Language Server Protocol 集成来查看代码间的依赖关系。
99
99
 
100
100
  ```mermaid
101
101
  flowchart TD
102
- A[代码仓库] --> B[Tree-sitter / SCIP 索引]
103
- B --> C[知识图谱]
104
- C --> D[图数据库]
105
- D --> E[MCP 服务器]
106
- E --> F[Hedgehog]
102
+ A[代码仓库] --> B[Language Server]
103
+ B --> C[符号与引用]
104
+ C --> D[Hedgehog]
107
105
  ```
108
106
 
109
- - **更省 Token**:任务开始时就已知道该读什么,无需四处搜索
110
- - **构建更快**:不必在代码库中翻找上下文
111
- - **不再意外改坏**:每个任务在动手前就知道有哪些代码依赖它
112
- - **测试覆盖改动**:遗漏受影响代码的验证会被发现
107
+ - **更低的 token 成本**:精准的符号查找取代了为获取上下文而阅读或搜索整个文件
108
+ - **改动前先知影响**:每个任务在动手前都能查清有哪些代码依赖它
109
+ - **验证匹配真实改动范围**:测试针对实际发生变化的部分运行
113
110
 
114
111
  ## 确定性代码生成
115
112
 
@@ -204,7 +201,7 @@ CLI、库、浏览器扩展、数据管道等,都会拥有各自的构建顺
204
201
 
205
202
  Hedgehog 也可以接入已有仓库。
206
203
 
207
- 它会扫描仓库的既有结构,并以同样受限、可验证、可提交的循环方式在其上创建新的改动。
204
+ Hedgehog 也可以接入它并未参与构建的仓库。它会读取该仓库,并提出一条构建层次链,用仓库自身的 test/lint/build 命令来验证。
208
205
 
209
206
  ## Hedgehog 为什么有效
210
207
 
@@ -220,10 +217,7 @@ Hedgehog 也可以接入已有仓库。
220
217
  <summary>给 AI Agent 的操作说明</summary>
221
218
 
222
219
  1. 检查已安装 Node >=22.5.0。
223
- 2. 检查已安装 Python >=3.10 —— 它负责运行 [CodeGraphContext](https://github.com/CodeGraphContext/CodeGraphContext),即每个项目都会用到的代码索引。
224
- 3. 检查 CodeGraphContext 已安装并完成配置。
225
- 4. 如有缺失,主动提出使用 `hedgehog-code-intelligence-setup` skill 完成配置 —— 否则 `init` 会中止。
226
- 5. 运行上方的安装命令。
220
+ 2. 运行上方的安装命令。
227
221
 
228
222
  </details>
229
223