@agiflowai/agent-cli 0.2.24 → 0.2.27
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/dist/claudeNotification.js +2086 -2047
- package/dist/claudePermissionRequest.js +2946 -2907
- package/dist/claudePostToolUse.js +2103 -2064
- package/dist/claudePreToolUse.js +1994 -1955
- package/dist/claudeSessionEnd.js +2035 -1997
- package/dist/claudeSessionStart.js +2040 -2001
- package/dist/claudeStop.js +2033 -1994
- package/dist/cli.js +170 -151
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +22 -22
- package/dist/{index-CV6yoNVj.mjs → index-B5eNSEAK.mjs} +4 -4
- package/dist/index-B5eNSEAK.mjs.map +1 -0
- package/dist/{index-CDR9Qznd.mjs → index-BA1dCLoA.mjs} +8 -7
- package/dist/index-BA1dCLoA.mjs.map +1 -0
- package/dist/index-BxTdyWuL.mjs.map +1 -1
- package/dist/{index-CkJr98d8.mjs → index-DXEXJZWX.mjs} +14498 -10589
- package/dist/index-DXEXJZWX.mjs.map +1 -0
- package/dist/index.js +46 -44
- package/dist/package.json +5 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/index-CDR9Qznd.mjs.map +0 -1
- package/dist/index-CV6yoNVj.mjs.map +0 -1
- package/dist/index-CkJr98d8.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { aw as o, ax as l } from "./index-DXEXJZWX.mjs";
|
|
2
|
+
import { aQ as E, aO as I, aP as k, aR as A, aS as T, aD as L, bd as R, aE as N, aF as P, aT as U, ay as B, aU as J, b8 as $, aW as z, az as O, aV as V, aX as W, aY as G, aZ as H, a_ as _, a$ as Y, aI as j, bf as K, b0 as q, aA as Q, b9 as X, b2 as Z, aH as ee, b5 as te, b3 as ae, b6 as se, b7 as re, ba as ie, b1 as ne, bb as oe, b4 as le, aG as ue, bl as me, aM as ce, bc as fe, aN as he, aK as de, aL as be, aB as ge, be as Se, bk as pe, bg as we, aJ as ve, bh as xe, aC as ye, bi as Ce, bj as Me } from "./index-DXEXJZWX.mjs";
|
|
3
3
|
import * as n from "node:fs";
|
|
4
4
|
import * as c from "node:path";
|
|
5
|
-
import { confirm as f, input as h, password as d, select as
|
|
5
|
+
import { confirm as f, input as h, password as d, select as b, checkbox as g, number as S } from "@inquirer/prompts";
|
|
6
6
|
import "./cli.js";
|
|
7
7
|
class x {
|
|
8
8
|
/**
|
|
@@ -37,7 +37,7 @@ class x {
|
|
|
37
37
|
* Ask user to select from a list of choices
|
|
38
38
|
*/
|
|
39
39
|
static async select(t, e, a) {
|
|
40
|
-
return await
|
|
40
|
+
return await b({
|
|
41
41
|
message: t,
|
|
42
42
|
choices: e.map((s) => ({ name: s, value: s })),
|
|
43
43
|
default: a
|
|
@@ -47,7 +47,7 @@ class x {
|
|
|
47
47
|
* Ask user to select multiple items from a list
|
|
48
48
|
*/
|
|
49
49
|
static async multiSelect(t, e, a) {
|
|
50
|
-
return await
|
|
50
|
+
return await g({
|
|
51
51
|
message: t,
|
|
52
52
|
choices: e.map((s) => ({
|
|
53
53
|
name: s,
|
|
@@ -114,7 +114,7 @@ class y extends o {
|
|
|
114
114
|
this.onFlush && this.buffer.length > 0 && await this.onFlush(this.buffer), this.buffer = [], this.onFlush = void 0;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
class
|
|
117
|
+
class C extends o {
|
|
118
118
|
resourceType = "TIMEOUT";
|
|
119
119
|
priority = l.LOW;
|
|
120
120
|
timeoutId = null;
|
|
@@ -133,7 +133,7 @@ class M extends o {
|
|
|
133
133
|
this.timeoutId !== null && (clearTimeout(this.timeoutId), this.timeoutId = null);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
class
|
|
136
|
+
class M {
|
|
137
137
|
stream;
|
|
138
138
|
useJsonFormat;
|
|
139
139
|
constructor(t) {
|
|
@@ -274,49 +274,51 @@ export {
|
|
|
274
274
|
N as ConfigManager,
|
|
275
275
|
P as ConfigSchema,
|
|
276
276
|
U as ContextService,
|
|
277
|
-
B as
|
|
278
|
-
J as
|
|
279
|
-
$ as
|
|
280
|
-
z as
|
|
277
|
+
B as CredentialsCommand,
|
|
278
|
+
J as CredentialsService,
|
|
279
|
+
$ as DEFAULT_RETRY_CONFIG,
|
|
280
|
+
z as DaemonAlreadyRunningError,
|
|
281
|
+
O as DaemonCommand,
|
|
281
282
|
V as DaemonManager,
|
|
282
283
|
W as DaemonManagerError,
|
|
283
284
|
G as DaemonNotRunningError,
|
|
284
285
|
H as DeviceCodeAuthService,
|
|
285
286
|
y as DisposableBuffer,
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
287
|
+
_ as DisposableInterval,
|
|
288
|
+
Y as DisposableRegistry,
|
|
289
|
+
C as DisposableTimeout,
|
|
290
|
+
j as ENV_KEYS,
|
|
291
|
+
M as FileLogger,
|
|
291
292
|
K as FileSystemUtils,
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
293
|
+
q as HookManagementService,
|
|
294
|
+
Q as LogoutCommand,
|
|
295
|
+
X as MessageMultiplexClient,
|
|
296
|
+
Z as MiddlewarePipeline,
|
|
297
|
+
ee as MultiplexClientConfig,
|
|
298
|
+
te as MultiplexDirectClient,
|
|
299
|
+
ae as MultiplexGlobalClient,
|
|
300
|
+
se as MultiplexRemoteClient,
|
|
301
|
+
re as MultiplexStandaloneClient,
|
|
302
|
+
ie as OtelService,
|
|
303
|
+
ne as PinoLogger,
|
|
304
|
+
oe as ProjectListing,
|
|
303
305
|
x as PromptUtils,
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
306
|
+
le as RemoteMultiplexGlobalClient,
|
|
307
|
+
ue as RuntimeConfigSchema,
|
|
308
|
+
me as SessionSettingsManager,
|
|
309
|
+
ce as StandaloneMultiplexBroker,
|
|
310
|
+
fe as StateManagerService,
|
|
311
|
+
he as StatefulMultiplexBroker,
|
|
312
|
+
de as SubEnvManager,
|
|
313
|
+
be as SubEnvSchema,
|
|
314
|
+
ge as config,
|
|
315
|
+
Se as createCommandBuilder,
|
|
316
|
+
pe as createHeartbeat,
|
|
317
|
+
we as generateDeviceId,
|
|
318
|
+
ve as getServerUrl,
|
|
319
|
+
xe as getSystemInfo,
|
|
320
|
+
ye as getWebSocketUrl,
|
|
321
|
+
Ce as httpToWebSocket,
|
|
322
|
+
Me as webSocketToHttp
|
|
321
323
|
};
|
|
322
324
|
//# sourceMappingURL=index.js.map
|
package/dist/package.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agiflowai/agent-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.26",
|
|
4
4
|
"description": "@agiflowai/agent-cli - Command-line interface for Agiflow development tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"agent-cli": "./dist/bin/cli.js"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
+
"@opentelemetry/api": "1.9.0",
|
|
11
|
+
"@opentelemetry/api-logs": "0.210.0",
|
|
10
12
|
"@inkjs/ui": "^2.0.0",
|
|
11
13
|
"@inquirer/prompts": "^7.8.0",
|
|
12
14
|
"@reduxjs/toolkit": "2.8.2",
|
|
13
|
-
"@tanstack/react-query": "5.90.
|
|
15
|
+
"@tanstack/react-query": "5.90.19",
|
|
14
16
|
"@types/node-forge": "^1.3.14",
|
|
15
17
|
"async": "^3.2.6",
|
|
16
18
|
"best-effort-json-parser": "1.2.1",
|
|
@@ -21,7 +23,7 @@
|
|
|
21
23
|
"http-mitm-proxy": "^1.1.0",
|
|
22
24
|
"ink": "^6.5.0",
|
|
23
25
|
"ink-link": "^5.0.0",
|
|
24
|
-
"inversify": "7.
|
|
26
|
+
"inversify": "7.11.0",
|
|
25
27
|
"mkdirp": "^3.0.1",
|
|
26
28
|
"node-forge": "^1.3.1",
|
|
27
29
|
"node-pty": "1.0.0",
|