@untangle-code/cli 0.1.0 → 0.1.1
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 +46 -19
- package/dist/cli/version.d.ts +1 -1
- package/dist/cli/version.js +1 -1
- package/package.json +21 -21
- package/src/cli/version.ts +1 -1
package/README.md
CHANGED
|
@@ -3,34 +3,60 @@
|
|
|
3
3
|
Untangle's CLI and MCP entry point: the **`untangle`** binary. It connects local search,
|
|
4
4
|
code complexity and declared feature responsibility. Requires Node.js **`^22.13.0 || >=24.0.0`**.
|
|
5
5
|
|
|
6
|
-
The first public release is being prepared. The recorded public lookup on 2 November 2026
|
|
7
|
-
returned `E404` for `@untangle-code/cli@0.1.0`; this is not a current availability or scope-rights
|
|
8
|
-
claim. Until publication, use an available checkout. One CLI tarball does not publish its
|
|
9
|
-
Untangle dependencies. The [release guide](https://github.com/lboel/untangle/blob/main/docs/RELEASE.md)
|
|
10
|
-
separates local acceptance, remote matrix and actual publication.
|
|
11
|
-
|
|
12
6
|
The [agent workflow](https://github.com/lboel/untangle/blob/main/docs/AGENT_WORKFLOW.md)
|
|
13
7
|
connects MCP, search, complete feature scopes and real tests, with a copyable task brief for
|
|
14
8
|
spec-driven development and agentic engineering.
|
|
15
9
|
|
|
16
|
-
##
|
|
10
|
+
## Install in an npm project
|
|
11
|
+
|
|
12
|
+
From the directory containing your project's `package.json`, add Untangle as a pinned
|
|
13
|
+
development dependency and run a first analysis.
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install --save-dev --save-exact @untangle-code/cli@0.1.1
|
|
17
|
+
npm exec -- untangle --version
|
|
18
|
+
npm exec -- untangle complexity --top=10
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Direct complexity analysis runs on the current project without an index or search services.
|
|
22
|
+
Commit the manifest and lockfile changes to share the version with your team.
|
|
23
|
+
|
|
24
|
+
Preview the project setup, then create `untangle.toml` when you're ready.
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm exec -- untangle init --offline --dry-run
|
|
28
|
+
npm exec -- untangle init --offline
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Offline init inspects local files and skips network probes. Dry-run previews the
|
|
32
|
+
configuration. The second command creates it in a new project and reports any differences
|
|
33
|
+
with an existing configuration.
|
|
34
|
+
|
|
35
|
+
## Try it in any repository
|
|
17
36
|
|
|
18
|
-
|
|
19
|
-
this version-pinned entry point without a global installation. Replace the project path:
|
|
37
|
+
Run a one-off analysis from a project directory, including repositories without a `package.json`.
|
|
20
38
|
|
|
21
39
|
```bash
|
|
22
|
-
npm exec --yes --package=@untangle-code/cli@0.1.
|
|
23
|
-
|
|
40
|
+
npm exec --yes --package=@untangle-code/cli@0.1.1 -- untangle complexity --top=10
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
`npm exec` fetches the package into the npm cache if needed. To preview setup the same way,
|
|
44
|
+
replace `complexity --top=10` with `init --offline --dry-run`.
|
|
24
45
|
|
|
25
|
-
|
|
26
|
-
|
|
46
|
+
## Install once for multiple projects
|
|
47
|
+
|
|
48
|
+
Install the npm preview globally if you prefer to run `untangle` directly from each project.
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
npm install --global @untangle-code/cli@next
|
|
52
|
+
untangle --version
|
|
53
|
+
cd /path/to/your/project
|
|
54
|
+
untangle complexity --top=10
|
|
27
55
|
```
|
|
28
56
|
|
|
29
|
-
|
|
30
|
-
the offline init dry-run previews configuration without writing files or probing services.
|
|
31
|
-
The checkout helper below is a separate way to build and try an unpublished version.
|
|
57
|
+
For a project installation, prefix the `untangle` examples below with `npm exec --`.
|
|
32
58
|
|
|
33
|
-
##
|
|
59
|
+
## Build from a source checkout
|
|
34
60
|
|
|
35
61
|
From the checkout root with **pnpm 10.34.5**:
|
|
36
62
|
|
|
@@ -216,7 +242,8 @@ roles, not human approval or an objective feature-richness score.
|
|
|
216
242
|
| `mcp` | Implemented: stdio runtime; specified unbuilt capabilities explicitly unavailable. |
|
|
217
243
|
|
|
218
244
|
Command specifications/`--help` are executable truth. Registered but unbuilt MCP tools return
|
|
219
|
-
`FEATURE_UNAVAILABLE`.
|
|
245
|
+
`FEATURE_UNAVAILABLE`. For a project installation, configure the MCP host with the absolute
|
|
246
|
+
paths to your Node executable, installed CLI and project root.
|
|
220
247
|
|
|
221
248
|
```json
|
|
222
249
|
{
|
|
@@ -224,7 +251,7 @@ Command specifications/`--help` are executable truth. Registered but unbuilt MCP
|
|
|
224
251
|
"untangle": {
|
|
225
252
|
"command": "/absolute/path/to/node",
|
|
226
253
|
"args": [
|
|
227
|
-
"/
|
|
254
|
+
"/path/to/your/project/node_modules/@untangle-code/cli/dist/index.js",
|
|
228
255
|
"mcp",
|
|
229
256
|
"--stdio",
|
|
230
257
|
"--root=/path/to/your/project"
|
package/dist/cli/version.d.ts
CHANGED
package/dist/cli/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@untangle-code/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Local search and complexity harness for coding agents: code graphs, declared feature ownership and spec-to-code evidence.",
|
|
@@ -64,32 +64,32 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@modelcontextprotocol/server": "2.0.0",
|
|
66
66
|
"zod": "4.5.4",
|
|
67
|
-
"@untangle-code/chunker": "0.1.
|
|
68
|
-
"@untangle-code/complexity": "0.1.
|
|
69
|
-
"@untangle-code/config": "0.1.
|
|
70
|
-
"@untangle-code/
|
|
71
|
-
"@untangle-code/
|
|
72
|
-
"@untangle-code/embeddings-ollama": "0.1.
|
|
73
|
-
"@untangle-code/extension-runtime": "0.1.
|
|
74
|
-
"@untangle-code/file-graph": "0.1.
|
|
75
|
-
"@untangle-code/
|
|
76
|
-
"@untangle-code/
|
|
77
|
-
"@untangle-code/observability": "0.1.
|
|
78
|
-
"@untangle-code/parser-registry": "0.1.
|
|
79
|
-
"@untangle-code/scanner": "0.1.
|
|
80
|
-
"@untangle-code/search": "0.1.
|
|
81
|
-
"@untangle-code/storage-
|
|
82
|
-
"@untangle-code/storage-
|
|
83
|
-
"@untangle-code/storage-qdrant": "0.1.
|
|
84
|
-
"@untangle-code/symbol-graph": "0.1.
|
|
85
|
-
"@untangle-code/watcher": "0.1.
|
|
67
|
+
"@untangle-code/chunker": "0.1.1",
|
|
68
|
+
"@untangle-code/complexity": "0.1.1",
|
|
69
|
+
"@untangle-code/config": "0.1.1",
|
|
70
|
+
"@untangle-code/domain": "0.1.1",
|
|
71
|
+
"@untangle-code/core": "0.1.1",
|
|
72
|
+
"@untangle-code/embeddings-ollama": "0.1.1",
|
|
73
|
+
"@untangle-code/extension-runtime": "0.1.1",
|
|
74
|
+
"@untangle-code/file-graph": "0.1.1",
|
|
75
|
+
"@untangle-code/jobs": "0.1.1",
|
|
76
|
+
"@untangle-code/graph-explorer": "0.1.1",
|
|
77
|
+
"@untangle-code/observability": "0.1.1",
|
|
78
|
+
"@untangle-code/parser-registry": "0.1.1",
|
|
79
|
+
"@untangle-code/scanner": "0.1.1",
|
|
80
|
+
"@untangle-code/search": "0.1.1",
|
|
81
|
+
"@untangle-code/storage-lancedb": "0.1.1",
|
|
82
|
+
"@untangle-code/storage-local": "0.1.1",
|
|
83
|
+
"@untangle-code/storage-qdrant": "0.1.1",
|
|
84
|
+
"@untangle-code/symbol-graph": "0.1.1",
|
|
85
|
+
"@untangle-code/watcher": "0.1.1"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@modelcontextprotocol/client": "2.0.0",
|
|
89
89
|
"@types/node": "22.19.7",
|
|
90
90
|
"typescript": "5.9.3",
|
|
91
91
|
"vitest": "3.2.7",
|
|
92
|
-
"@untangle-code/testkit": "0.1.
|
|
92
|
+
"@untangle-code/testkit": "0.1.1"
|
|
93
93
|
},
|
|
94
94
|
"scripts": {
|
|
95
95
|
"pretest": "pnpm run build",
|
package/src/cli/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Package version shared by the CLI and its MCP entry point. */
|
|
2
|
-
export const CLI_VERSION = "0.1.
|
|
2
|
+
export const CLI_VERSION = "0.1.1";
|