depwire-cli 1.1.8 → 1.2.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 +13 -4
- package/dist/{chunk-ZO3LWFDE.js → chunk-O5HXGEGE.js} +1034 -162
- package/dist/{chunk-M5BETAND.js → chunk-QRUJI7RX.js} +8 -8
- package/dist/index.js +2 -2
- package/dist/mcpb-entry.js +2 -2
- package/dist/parser/grammars/tree-sitter-ruby.wasm +0 -0
- package/dist/sdk.js +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -8,13 +8,14 @@
|
|
|
8
8
|
[](https://github.com/depwire/depwire/blob/main/LICENSE)
|
|
9
9
|
[](https://github.com/depwire/depwire)
|
|
10
10
|
|
|
11
|
-
[](https://github.com/depwire/depwire)
|
|
12
12
|
[](https://github.com/depwire/depwire)
|
|
13
13
|
[](https://github.com/depwire/depwire)
|
|
14
14
|
[](https://github.com/depwire/depwire)
|
|
15
15
|
[](https://github.com/depwire/depwire)
|
|
16
16
|
[](https://github.com/depwire/depwire)
|
|
17
17
|
[](https://github.com/depwire/depwire)
|
|
18
|
+
[](https://github.com/depwire/depwire)
|
|
18
19
|
[](https://github.com/depwire/depwire)
|
|
19
20
|
|
|
20
21
|
[](https://www.youtube.com/watch?v=ujBg0H3eqpE)
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
<img src="./assets/deterministic_vs_rag_diagram.svg" alt="Depwire deterministic graph vs RAG probabilistic approach" width="680" />
|
|
32
33
|
</p>
|
|
33
34
|
|
|
34
|
-
Depwire builds a **DETERMINISTIC, NOT PROBABILISTIC** dependency graph of your codebase. This is not RAG. There are no embeddings, no similarity scores, no vector databases, no guesses. Depwire uses tree-sitter — the same parser powering GitHub's code intelligence — to extract exact symbol-level facts from every file: every function, every class, every interface, every import and export relationship, across
|
|
35
|
+
Depwire builds a **DETERMINISTIC, NOT PROBABILISTIC** dependency graph of your codebase. This is not RAG. There are no embeddings, no similarity scores, no vector databases, no guesses. Depwire uses tree-sitter — the same parser powering GitHub's code intelligence — to extract exact symbol-level facts from every file: every function, every class, every interface, every import and export relationship, across 14 programming languages. When you ask "what breaks if I delete `encodeToken` in `auth/token.ts`?", Depwire does not search for similar-looking code and estimate an answer. It traverses the exact dependency graph and returns the precise list of 14 files that import that symbol, which import chains break, and what your health score drops by. This is compiler-level precision applied to AI-assisted development — not a language model's best guess about your code.
|
|
35
36
|
|
|
36
37
|
**Not a build graph either.** Tools like Nx, Turborepo, and Grapher track package-level dependencies for build caching. Depwire tracks symbol-level dependencies — every function, class, and import relationship — which is what makes What If simulation, graph-aware security scanning, and exact blast radius analysis possible.
|
|
37
38
|
|
|
@@ -327,7 +328,7 @@ The SDK is the stable public API surface. All integrations should import from `d
|
|
|
327
328
|
|
|
328
329
|
## Language support
|
|
329
330
|
|
|
330
|
-
TypeScript, JavaScript, Python, Go, Rust, C, C#, Java, C++, Kotlin, PHP, Swift, Mojo — with cross-language edge detection between all supported languages.
|
|
331
|
+
TypeScript, JavaScript, Python, Go, Rust, C, C#, Java, C++, Kotlin, PHP, Swift, Mojo, Ruby — with cross-language edge detection between all supported languages.
|
|
331
332
|
|
|
332
333
|
**Java / JVM** — classes, interfaces, enums, records, annotations, inner classes, anonymous classes, lambda expressions, Maven pom.xml and Gradle build file dependency edges, Spring Boot cross-language edges (@GetMapping, @PostMapping, @RequestMapping), JAX-RS / Jakarta EE route detection, Spring WebFlux RouterFunction support.
|
|
333
334
|
|
|
@@ -343,6 +344,8 @@ TypeScript, JavaScript, Python, Go, Rust, C, C#, Java, C++, Kotlin, PHP, Swift,
|
|
|
343
344
|
|
|
344
345
|
**Mojo / AI-native** *(strategic support)* — fn (typed functions), def (Python-compatible functions), structs (value types), classes, traits (interfaces), alias (type aliases and compile-time constants), var/let declarations, import and from...import statements. Pattern-based parser (no tree-sitter-mojo available). Supports @value, @register_passable, @staticmethod decorators, inout/owned/borrowed parameter modifiers, SIMD/Tensor/DType type references. mojoproject.toml dependency parsing. Python interop detection (from python import). Cross-language route detection via Python framework interop (FastAPI/Starlette). Dead code detection with __init__/__copyinit__/__moveinit__ lifecycle, trait implementations, MLIR dialect operations, and @export exclusions. Security scanner: Pointer[T] and DTypePointer memory safety, Python interop evaluation safety, uninitialized memory patterns, SIMD bounds safety, weak random via Python random module, hardcoded keys in alias declarations, hashlib via Python interop in crypto contexts. *Mojo is the first AI-native language supported by Depwire.*
|
|
345
346
|
|
|
347
|
+
**Ruby / Web** — method definitions (def, def self.), classes, modules, instance variables (@var), class variables (@@var), constants, attr_accessor/attr_reader/attr_writer, require/require_relative dependency edges, include/extend/prepend mixin edges, blocks, procs, lambdas, Struct and OpenStruct definitions, ActiveSupport::Concern support. Gemfile dependency parsing. Rails (get/post/put/patch/delete/resources/namespace in routes.rb), Sinatra (route + do blocks), Rack (map/run/use in config.ru), and Grape API cross-language route detection. Faraday, Net::HTTP, and HTTParty HTTP client edge detection. Dead code detection with Rails controller callbacks, ActiveRecord lifecycle callbacks, rake tasks, RSpec/Minitest methods, concerns (included/class_methods blocks), initialize, method_missing/respond_to_missing?, Pundit policy methods, and Devise strategy exclusions. Security scanner: string interpolation in database query methods, command execution safety patterns, runtime evaluation safety patterns, dynamic dispatch safety patterns, file operation safety patterns, YAML deserialization safety, Marshal deserialization safety, template rendering safety patterns, weak hash algorithms (Digest::MD5/SHA1), weak random (rand vs SecureRandom), credential management patterns, SSL verification patterns, weak cipher algorithms.
|
|
348
|
+
|
|
346
349
|
---
|
|
347
350
|
|
|
348
351
|
## GitHub Action — PR Impact Analysis
|
|
@@ -405,7 +408,7 @@ Block PRs that hurt your architecture:
|
|
|
405
408
|
**Shipped**
|
|
406
409
|
- Arc diagram visualization
|
|
407
410
|
- 17 MCP tools
|
|
408
|
-
- Multi-language support (TypeScript, JavaScript, Python, Go, Rust, C, C#, Java, C++, Kotlin, PHP, Swift, Mojo)
|
|
411
|
+
- Multi-language support (TypeScript, JavaScript, Python, Go, Rust, C, C#, Java, C++, Kotlin, PHP, Swift, Mojo, Ruby)
|
|
409
412
|
- Architecture health score
|
|
410
413
|
- Dead code detection
|
|
411
414
|
- Temporal graph
|
|
@@ -457,6 +460,12 @@ See [SECURITY.md](SECURITY.md) for full details.
|
|
|
457
460
|
|
|
458
461
|
---
|
|
459
462
|
|
|
463
|
+
## Agent Identity Token (AIT)
|
|
464
|
+
|
|
465
|
+
Depwire is the reference implementation of the [Agent Identity Token (AIT)](https://github.com/depwire/ait-spec) — an open standard for cryptographically signing AI agent actions. AIT provides tamper-proof audit trails for every tool call, file change, and agent delegation.
|
|
466
|
+
|
|
467
|
+
---
|
|
468
|
+
|
|
460
469
|
## License
|
|
461
470
|
|
|
462
471
|
[Business Source License 1.1](LICENSE) — free for personal and internal company use. Converts to Apache 2.0 on February 25, 2029.
|