depwire-cli 0.3.1 → 0.5.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/README.md +10 -3
- package/dist/{chunk-LOX5NEND.js → chunk-Q733EWFA.js} +2448 -203
- package/dist/index.js +6 -6
- package/dist/mcpb-entry.js +2 -2
- package/dist/parser/grammars/tree-sitter-go.wasm +0 -0
- package/dist/parser/grammars/tree-sitter-javascript.wasm +0 -0
- package/dist/parser/grammars/tree-sitter-python.wasm +0 -0
- package/dist/parser/grammars/tree-sitter-tsx.wasm +0 -0
- package/dist/parser/grammars/tree-sitter-typescript.wasm +0 -0
- package/package.json +4 -8
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Depwire analyzes codebases to build a cross-reference graph showing how every fi
|
|
|
8
8
|
|
|
9
9
|
- 🎨 **Beautiful arc diagram visualization** — Interactive Harrison Bible-style graphic
|
|
10
10
|
- 🤖 **MCP server for AI tools** — Cursor, Claude Desktop get full dependency context
|
|
11
|
-
- 📄 **Auto-generated documentation** —
|
|
11
|
+
- 📄 **Auto-generated documentation** — 11 comprehensive documents: architecture, conventions, dependencies, onboarding, file catalog, API surface, error patterns, test coverage, git history, full snapshot, and TODO/FIXME inventory
|
|
12
12
|
- 🔍 **Impact analysis** — "What breaks if I rename this function?" answered precisely
|
|
13
13
|
- 👀 **Live updates** — Graph stays current as you edit code
|
|
14
14
|
- 🌍 **Multi-language** — TypeScript, JavaScript, Python, and Go
|
|
@@ -239,7 +239,7 @@ Generate comprehensive codebase documentation from your dependency graph.
|
|
|
239
239
|
- `--output <path>` — Output directory (default: `.depwire/` inside project)
|
|
240
240
|
- `--format <type>` — Output format: `markdown` or `json` (default: `markdown`)
|
|
241
241
|
- `--include <docs...>` — Comma-separated list of docs to generate (default: `all`)
|
|
242
|
-
- Values: `architecture`, `conventions`, `dependencies`, `onboarding`, `all`
|
|
242
|
+
- Values: `architecture`, `conventions`, `dependencies`, `onboarding`, `files`, `api_surface`, `errors`, `tests`, `history`, `current`, `status`, `all`
|
|
243
243
|
- `--update` — Regenerate existing documentation
|
|
244
244
|
- `--only <docs...>` — Used with `--update`, regenerate only specific docs
|
|
245
245
|
- `--verbose` — Show generation progress
|
|
@@ -268,7 +268,7 @@ depwire docs ./my-project --output ./docs
|
|
|
268
268
|
depwire docs ./my-project --update --only conventions
|
|
269
269
|
```
|
|
270
270
|
|
|
271
|
-
**Generated Documents:**
|
|
271
|
+
**Generated Documents (11 total):**
|
|
272
272
|
|
|
273
273
|
| Document | What It Contains |
|
|
274
274
|
|----------|------------------|
|
|
@@ -276,6 +276,13 @@ depwire docs ./my-project --update --only conventions
|
|
|
276
276
|
| `CONVENTIONS.md` | Naming patterns, import/export style, detected design patterns |
|
|
277
277
|
| `DEPENDENCIES.md` | Module dependency matrix, high-impact symbols, longest dependency chains |
|
|
278
278
|
| `ONBOARDING.md` | Reading order (Foundation/Core/Entry Points), module map, key concepts, high-impact file warnings |
|
|
279
|
+
| `FILES.md` | Complete file catalog with stats, orphan files, hub files |
|
|
280
|
+
| `API_SURFACE.md` | All exported symbols (public API), most-used exports, unused exports |
|
|
281
|
+
| `ERRORS.md` | Error handling patterns, error-prone files, custom error classes |
|
|
282
|
+
| `TESTS.md` | Test file inventory, test-to-source mapping, untested files |
|
|
283
|
+
| `HISTORY.md` | Git history + graph analysis, file churn, feature timeline |
|
|
284
|
+
| `CURRENT.md` | Complete codebase snapshot (every file, symbol, connection) |
|
|
285
|
+
| `STATUS.md` | TODO/FIXME/HACK inventory with priority matrix |
|
|
279
286
|
|
|
280
287
|
Documents are stored in `.depwire/` with `metadata.json` tracking generation timestamps for staleness detection.
|
|
281
288
|
|