pando-ai 0.0.15 → 0.0.17
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 +14 -14
- package/bin/pando-ai.js +38 -0
- package/dist/cli.js +175 -172
- package/dist/watcher-process.js +271 -270
- package/package.json +3 -2
- package/tools/clojure-editor/lib/pando-clojure-editor-standalone.jar +0 -0
- package/tools/clojure-indexer/lib/pando-clojure-indexer-standalone.jar +0 -0
package/README.md
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
#
|
|
1
|
+
# pandō CLI
|
|
2
2
|
|
|
3
|
-
`pando-ai` is the standalone MCP CLI for the shared
|
|
3
|
+
`pando-ai` is the standalone MCP CLI for the shared pandō engine runtime.
|
|
4
4
|
|
|
5
5
|
It starts the same core indexing and tool runtime used by the VS Code extension, but runs headlessly for terminal agents and local MCP clients.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
|
+
Requires Node.js `22.5.0` or newer.
|
|
10
|
+
|
|
9
11
|
Run without installing globally:
|
|
10
12
|
|
|
11
13
|
```bash
|
|
@@ -30,7 +32,7 @@ pando-ai --help
|
|
|
30
32
|
## Commands
|
|
31
33
|
|
|
32
34
|
- `pando-ai [project-path]` starts the engine for the given path, or the current working directory.
|
|
33
|
-
- `pando config set telemetry false` disables
|
|
35
|
+
- `pando-ai config set telemetry false` disables usage telemetry.
|
|
34
36
|
|
|
35
37
|
## Transport behavior
|
|
36
38
|
|
|
@@ -52,25 +54,23 @@ If no known agent is detected, the CLI still prints a generic MCP config snippet
|
|
|
52
54
|
|
|
53
55
|
## Telemetry
|
|
54
56
|
|
|
55
|
-
The CLI sends
|
|
57
|
+
The CLI sends usage telemetry by default. It is non-blocking and can be disabled with:
|
|
56
58
|
|
|
57
59
|
```bash
|
|
58
|
-
pando config set telemetry false
|
|
60
|
+
pando-ai config set telemetry false
|
|
59
61
|
```
|
|
60
62
|
|
|
61
63
|
Telemetry includes:
|
|
62
64
|
|
|
63
|
-
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
- operation names
|
|
70
|
-
- hashed project path
|
|
65
|
+
- operation name, success/failure, and duration
|
|
66
|
+
- file and symbol counts (not names or contents)
|
|
67
|
+
- HMAC-hashed project path (not the raw path)
|
|
68
|
+
- MCP client name and version (e.g. "claude-code 1.x")
|
|
69
|
+
- a stable install ID and per-session ID
|
|
70
|
+
- your authenticated user ID (derived server-side from your login session)
|
|
71
71
|
- event timestamp
|
|
72
72
|
|
|
73
|
-
The CLI does not send source code
|
|
73
|
+
The CLI does not send source code, file paths, file names, or symbol names.
|
|
74
74
|
|
|
75
75
|
## Support level
|
|
76
76
|
|
package/bin/pando-ai.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
function parseNodeVersion(version) {
|
|
4
|
+
const match = /^v?(\d+)\.(\d+)\.(\d+)/.exec(version || "");
|
|
5
|
+
if (!match) {
|
|
6
|
+
return null;
|
|
7
|
+
}
|
|
8
|
+
return {
|
|
9
|
+
major: Number(match[1]),
|
|
10
|
+
minor: Number(match[2]),
|
|
11
|
+
patch: Number(match[3]),
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function isSupportedNode(version) {
|
|
16
|
+
if (!version) {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
if (version.major > 22) {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
if (version.major < 22) {
|
|
23
|
+
return false;
|
|
24
|
+
}
|
|
25
|
+
return version.minor >= 5;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const current = parseNodeVersion(process.version);
|
|
29
|
+
if (!isSupportedNode(current)) {
|
|
30
|
+
const detected = current ? `${current.major}.${current.minor}.${current.patch}` : process.version;
|
|
31
|
+
console.error(
|
|
32
|
+
`[pando] pando-ai requires Node.js 22.5.0 or newer. Detected ${detected}.\n` +
|
|
33
|
+
"[pando] Upgrade Node, then re-run `npx -y pando-ai`.",
|
|
34
|
+
);
|
|
35
|
+
process.exit(1);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
require("../dist/cli.js");
|