@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 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
- ## Installed CLI — after registry publication
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
- After `@untangle-code/cli@0.1.0` and its Untangle dependencies are published to npm, use
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.0 -- \
23
- untangle complexity --root=/absolute/path/to/project --format=json
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
- npm exec --yes --package=@untangle-code/cli@0.1.0 -- \
26
- untangle init --root=/absolute/path/to/project --offline --dry-run --format=json
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
- `npm exec` may download the package. Direct complexity analysis needs no search services;
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
- ## First checkout result
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`. An explicit-root MCP template:
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
- "/absolute/path/to/untangle/apps/cli/dist/index.js",
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"
@@ -1,3 +1,3 @@
1
1
  /** Package version shared by the CLI and its MCP entry point. */
2
- export declare const CLI_VERSION = "0.1.0";
2
+ export declare const CLI_VERSION = "0.1.1";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1,3 +1,3 @@
1
1
  /** Package version shared by the CLI and its MCP entry point. */
2
- export const CLI_VERSION = "0.1.0";
2
+ export const CLI_VERSION = "0.1.1";
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@untangle-code/cli",
3
- "version": "0.1.0",
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.0",
68
- "@untangle-code/complexity": "0.1.0",
69
- "@untangle-code/config": "0.1.0",
70
- "@untangle-code/core": "0.1.0",
71
- "@untangle-code/domain": "0.1.0",
72
- "@untangle-code/embeddings-ollama": "0.1.0",
73
- "@untangle-code/extension-runtime": "0.1.0",
74
- "@untangle-code/file-graph": "0.1.0",
75
- "@untangle-code/graph-explorer": "0.1.0",
76
- "@untangle-code/jobs": "0.1.0",
77
- "@untangle-code/observability": "0.1.0",
78
- "@untangle-code/parser-registry": "0.1.0",
79
- "@untangle-code/scanner": "0.1.0",
80
- "@untangle-code/search": "0.1.0",
81
- "@untangle-code/storage-local": "0.1.0",
82
- "@untangle-code/storage-lancedb": "0.1.0",
83
- "@untangle-code/storage-qdrant": "0.1.0",
84
- "@untangle-code/symbol-graph": "0.1.0",
85
- "@untangle-code/watcher": "0.1.0"
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.0"
92
+ "@untangle-code/testkit": "0.1.1"
93
93
  },
94
94
  "scripts": {
95
95
  "pretest": "pnpm run build",
@@ -1,2 +1,2 @@
1
1
  /** Package version shared by the CLI and its MCP entry point. */
2
- export const CLI_VERSION = "0.1.0";
2
+ export const CLI_VERSION = "0.1.1";