agent-ide 0.13.0 → 0.13.2

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 (2) hide show
  1. package/README.md +29 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -13,10 +13,10 @@ Code intelligence toolkit designed for AI agents, providing search, refactoring,
13
13
 
14
14
  ## Quick Start
15
15
 
16
- ### CLI Installation
16
+ ### CLI Usage
17
17
 
18
18
  ```bash
19
- npm install -g agent-ide
19
+ npx agent-ide <command> [options]
20
20
  ```
21
21
 
22
22
  From source:
@@ -34,6 +34,32 @@ pnpm install && pnpm build && npm link
34
34
  /plugin install agent-ide@vivalalova/agent-ide
35
35
  ```
36
36
 
37
+ ### Recommended: Add to CLAUDE.md
38
+
39
+ To help Claude Code automatically use agent-ide when appropriate, add the following to your `~/.claude/CLAUDE.md`:
40
+
41
+ ```markdown
42
+ ## Agent IDE Integration
43
+
44
+ Use the `agent-ide` skill for TS/JS code intelligence operations. **Prefer agent-ide over manual Edit/Grep** for:
45
+
46
+ | Operation | Command | Instead of |
47
+ |-----------|---------|------------|
48
+ | Rename symbol | `/agent-ide rename` | Multiple Edit calls |
49
+ | Move file/member | `/agent-ide move` | Write + Delete + Edit imports |
50
+ | Find references | `/agent-ide find-references` | Grep + manual filtering |
51
+ | Detect dead code | `/agent-ide deadcode` | Manual analysis |
52
+ | Analyze impact | `/agent-ide impact` | Manual tracing |
53
+ | Check cycles | `/agent-ide cycles` | Manual dependency review |
54
+ | Function refactor | `/agent-ide change-signature` | Multiple Edit calls |
55
+ | API snapshot | `/agent-ide snapshot` | Multiple Read calls |
56
+ | Undo changes | `/agent-ide undo` | Manual revert |
57
+
58
+ **Trigger keywords**: rename, move file, move function, find references, dead code, unused code, circular dependency, call hierarchy, refactor parameters, impact analysis
59
+
60
+ **Benefits**: Automatic reference updates, atomic operations, zero missed references, undo support
61
+ ```
62
+
37
63
  ## Commands
38
64
 
39
65
  ### Query (Read-only)
@@ -42,7 +68,7 @@ pnpm install && pnpm build && npm link
42
68
  | ----------------- | -------------------------------------- |
43
69
  | `cycles` | Detect circular dependencies (Tarjan) |
44
70
  | `impact` | Analyze change impact range (BFS) |
45
- | `snapshot` | Generate module snapshots (~91% token saving) |
71
+ | `snapshot` | Generate module API snapshots |
46
72
  | `find-references` | Find symbol definitions and references |
47
73
  | `call-hierarchy` | Analyze function call hierarchy |
48
74
  | `deadcode` | Detect unused code |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-ide",
3
- "version": "0.13.0",
3
+ "version": "0.13.2",
4
4
  "description": "程式碼智能工具集 for AI Agents",
5
5
  "type": "module",
6
6
  "main": "dist/shared/index.js",