depwire-cli 0.2.1 → 0.2.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.
- package/README.md +56 -11
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Depwire
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
|
|
3
5
|
**See how your code connects. Give AI tools full codebase context.**
|
|
4
6
|
|
|
5
7
|
Depwire analyzes codebases to build a cross-reference graph showing how every file, function, and import connects. It provides:
|
|
@@ -10,6 +12,46 @@ Depwire analyzes codebases to build a cross-reference graph showing how every fi
|
|
|
10
12
|
- 👀 **Live updates** — Graph stays current as you edit code
|
|
11
13
|
- 🌍 **Multi-language** — TypeScript, JavaScript, Python, and Go
|
|
12
14
|
|
|
15
|
+
## Why Depwire?
|
|
16
|
+
|
|
17
|
+
AI coding tools are flying blind. Every time Claude, Cursor, or Copilot touches your code, it's guessing about dependencies, imports, and impact. The result: broken refactors, hallucinated imports, and wasted tokens re-scanning files it already saw.
|
|
18
|
+
|
|
19
|
+
**Lost context = lost money + lost time + bad code.**
|
|
20
|
+
|
|
21
|
+
**Depwire parsed the entire Hono framework — 305 files, 5,636 symbols, 1,565 dependency edges — in 2.3 seconds.**
|
|
22
|
+
|
|
23
|
+
Depwire fixes this by giving AI tools a complete dependency graph of your codebase — not a fuzzy embedding, not a keyword search, but a deterministic, tree-sitter-parsed map of every symbol and connection.
|
|
24
|
+
|
|
25
|
+
### Stop Losing Context
|
|
26
|
+
- **No more "start from scratch" chats** — Depwire is the shared knowledge layer that every AI session inherits. New chat? Your AI already knows the architecture.
|
|
27
|
+
- **Stop burning tokens** — AI tools query the graph instead of scanning hundreds of files blindly
|
|
28
|
+
- **One command, every AI tool** — Claude Desktop, Cursor, VS Code, any MCP-compatible tool gets the same complete picture
|
|
29
|
+
|
|
30
|
+
### Ship Better Code
|
|
31
|
+
- **Impact analysis for any change** — renaming a function, moving a file, upgrading a dependency, deleting a module — know the full blast radius before you touch anything
|
|
32
|
+
- **Refactor with confidence** — see every downstream consumer, every transitive dependency, 2-3 levels deep
|
|
33
|
+
- **Catch dead code** — find symbols nobody references anymore
|
|
34
|
+
|
|
35
|
+
### Stay in Flow
|
|
36
|
+
- **Live graph, always current** — edit a file and the dependency map updates in real-time. No re-indexing, no waiting.
|
|
37
|
+
- **Works locally, stays private** — zero cloud accounts, zero data leaving your machine. Just `npm install` and go.
|
|
38
|
+
|
|
39
|
+
### 10 MCP Tools, Not Just Visualization
|
|
40
|
+
Depwire isn't just a pretty graph. It's a full context engine with 10 tools that AI assistants call autonomously — architecture summaries, dependency tracing, symbol search, file context, and more. The AI decides which tool to use based on your question.
|
|
41
|
+
|
|
42
|
+
## Installation
|
|
43
|
+
|
|
44
|
+

|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
npm install -g depwire-cli
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Or use directly with `npx`:
|
|
51
|
+
```bash
|
|
52
|
+
npx depwire-cli --help
|
|
53
|
+
```
|
|
54
|
+
|
|
13
55
|
## Quick Start
|
|
14
56
|
|
|
15
57
|
### CLI Usage
|
|
@@ -86,6 +128,10 @@ Settings → Features → Experimental → Enable MCP → Add Server:
|
|
|
86
128
|
|
|
87
129
|
## Visualization
|
|
88
130
|
|
|
131
|
+

|
|
132
|
+
|
|
133
|
+

|
|
134
|
+
|
|
89
135
|
```bash
|
|
90
136
|
# Open visualization on default port (3456)
|
|
91
137
|
depwire viz ./my-project
|
|
@@ -119,17 +165,6 @@ Opens an interactive arc diagram in your browser:
|
|
|
119
165
|
3. **MCP** — AI tools query the graph for context-aware answers
|
|
120
166
|
4. **Viz** — D3.js renders the graph as an interactive arc diagram
|
|
121
167
|
|
|
122
|
-
## Installation
|
|
123
|
-
|
|
124
|
-
```bash
|
|
125
|
-
npm install -g depwire-cli
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
Or use directly with `npx`:
|
|
129
|
-
```bash
|
|
130
|
-
npx depwire-cli --help
|
|
131
|
-
```
|
|
132
|
-
|
|
133
168
|
## CLI Reference
|
|
134
169
|
|
|
135
170
|
### `depwire parse <directory>`
|
|
@@ -203,6 +238,8 @@ Depwire gracefully handles parse errors:
|
|
|
203
238
|
|
|
204
239
|
### Refactoring with AI
|
|
205
240
|
|
|
241
|
+

|
|
242
|
+
|
|
206
243
|
```
|
|
207
244
|
# In Claude Desktop or Cursor with Depwire MCP:
|
|
208
245
|
|
|
@@ -267,6 +304,14 @@ Contributions welcome! Please note:
|
|
|
267
304
|
|
|
268
305
|
All contributors must sign the Contributor License Agreement before their PR can be merged.
|
|
269
306
|
|
|
307
|
+
## Author
|
|
308
|
+
|
|
309
|
+
**Atef Ataya** — AI architect, author, and creator of Depwire.
|
|
310
|
+
|
|
311
|
+
- 🎥 [YouTube](https://www.youtube.com/@atefataya) — 600K+ subscribers covering AI agents, MCP, and LLMs
|
|
312
|
+
- 📖 [The Architect's Playbook: 5 Pillars](https://www.amazon.com/dp/B0GCHNW2W8) — Best practices for AI agent architecture
|
|
313
|
+
- 💼 [LinkedIn](https://www.linkedin.com/in/atefataya/)
|
|
314
|
+
|
|
270
315
|
## License
|
|
271
316
|
|
|
272
317
|
Depwire is licensed under the [Business Source License 1.1](LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "depwire-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Code cross-reference visualization and AI context engine for TypeScript. Analyzes codebases to show dependencies, enables AI tools with MCP, and renders beautiful arc diagrams.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"arc-diagram",
|
|
31
31
|
"cross-reference"
|
|
32
32
|
],
|
|
33
|
-
"author": "
|
|
33
|
+
"author": "Atef Ataya (https://www.youtube.com/@atefataya)",
|
|
34
34
|
"license": "BSL-1.1",
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|