@grackle-ai/cli 0.113.0 → 0.114.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
CHANGED
|
@@ -649,10 +649,13 @@ Inspect active IPC streams for debugging inter-session communication.
|
|
|
649
649
|
|
|
650
650
|
#### `grackle streams list`
|
|
651
651
|
|
|
652
|
-
List
|
|
652
|
+
List active IPC streams with subscriber details and message buffer depth.
|
|
653
|
+
Internal plumbing streams (`lifecycle:` / `pipe:` / `stdin:`) are hidden by
|
|
654
|
+
default; pass `--internal` to include them.
|
|
653
655
|
|
|
654
656
|
```bash
|
|
655
657
|
grackle streams list
|
|
658
|
+
grackle streams list --internal # include internal IPC plumbing
|
|
656
659
|
# ┌──────────┬────────────────┬─────────────────────────┬──────────────┐
|
|
657
660
|
# │ ID │ Name │ Subscribers │ Buffer Depth │
|
|
658
661
|
# ├──────────┼────────────────┼─────────────────────────┼──────────────┤
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streams.d.ts","sourceRoot":"","sources":["../../src/commands/streams.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIzC,2DAA2D;AAC3D,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"streams.d.ts","sourceRoot":"","sources":["../../src/commands/streams.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIzC,2DAA2D;AAC3D,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAmC7D"}
|
package/dist/commands/streams.js
CHANGED
|
@@ -6,9 +6,10 @@ export function registerStreamCommands(program) {
|
|
|
6
6
|
streams
|
|
7
7
|
.command("list")
|
|
8
8
|
.description("List active IPC streams with subscriber details")
|
|
9
|
-
.
|
|
9
|
+
.option("--internal", "Include internal IPC streams (lifecycle/pipe/stdin)")
|
|
10
|
+
.action(async (opts) => {
|
|
10
11
|
const { core: client } = createGrackleClients();
|
|
11
|
-
const res = await client.listStreams({});
|
|
12
|
+
const res = await client.listStreams({ includeInternal: opts.internal ?? false });
|
|
12
13
|
if (res.streams.length === 0) {
|
|
13
14
|
console.log("No active streams.");
|
|
14
15
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streams.js","sourceRoot":"","sources":["../../src/commands/streams.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpD,2DAA2D;AAC3D,MAAM,UAAU,sBAAsB,CAAC,OAAgB;IACrD,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;IAE9E,OAAO;SACJ,OAAO,CAAC,MAAM,CAAC;SACf,WAAW,CAAC,iDAAiD,CAAC;SAC9D,MAAM,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"streams.js","sourceRoot":"","sources":["../../src/commands/streams.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpD,2DAA2D;AAC3D,MAAM,UAAU,sBAAsB,CAAC,OAAgB;IACrD,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;IAE9E,OAAO;SACJ,OAAO,CAAC,MAAM,CAAC;SACf,WAAW,CAAC,iDAAiD,CAAC;SAC9D,MAAM,CAAC,YAAY,EAAE,qDAAqD,CAAC;SAC3E,MAAM,CAAC,KAAK,EAAE,IAA4B,EAAE,EAAE;QAC7C,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,oBAAoB,EAAE,CAAC;QAChD,MAAM,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|
2
2
|
"name": "@grackle-ai/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.114.0",
|
|
4
4
|
"description": "Command-line interface for managing Grackle environments and agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"commander": "^13.0.0",
|
|
39
39
|
"ora": "^8.0.0",
|
|
40
40
|
"qrcode": "^1.5.4",
|
|
41
|
-
"@grackle-ai/
|
|
42
|
-
"@grackle-ai/
|
|
43
|
-
"@grackle-ai/core": "0.
|
|
41
|
+
"@grackle-ai/server": "0.114.0",
|
|
42
|
+
"@grackle-ai/common": "0.114.0",
|
|
43
|
+
"@grackle-ai/core": "0.114.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@rushstack/heft": "1.2.7",
|