@agiflowai/agent-cli 0.1.2 → 0.1.4
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 +2252 -2119
- package/dist/claudePermissionRequest.js +2294 -2161
- package/dist/claudePostToolUse.js +2241 -2110
- package/dist/claudePreToolUse.js +2267 -2134
- package/dist/claudeSessionEnd.js +13663 -0
- package/dist/claudeSessionStart.js +2345 -2212
- package/dist/claudeStop.js +9131 -8867
- package/dist/cli.js +1 -1
- package/dist/daemon.js +16 -12
- package/dist/daemon.js.map +1 -1
- package/dist/{index-ChHzlMc5.mjs → index-BcZ-XzTp.mjs} +4 -4
- package/dist/index-BcZ-XzTp.mjs.map +1 -0
- package/dist/{index-hTObhXhf.mjs → index-Blg2D9ZR.mjs} +7021 -6414
- package/dist/index-Blg2D9ZR.mjs.map +1 -0
- package/dist/index-neSXjL_p.mjs +59 -0
- package/dist/index-neSXjL_p.mjs.map +1 -0
- package/dist/index.js +39 -37
- package/dist/package.json +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/index-ChHzlMc5.mjs.map +0 -1
- package/dist/index-DjxppRF1.mjs +0 -58
- package/dist/index-DjxppRF1.mjs.map +0 -1
- package/dist/index-hTObhXhf.mjs.map +0 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { A as t, a, b as n, c as S, d as m, e as o, f as E, g as c, h as A, i as g, j as h, k as v, l as u, m as i, n as r, o as R, p, q as D, r as T, s as M, t as q, u as O, v as d, w as k, x as N, y as _, z as P, B as I, C as l, D as U, E as C, F as G, G as L, H as Y, I as f, J as B, K as V, L as x, M as y, N as z, O as b, P as j, Q as w, R as F, S as H, T as J, U as K, V as Q, W, X, Y as Z, Z as $, _ as ee, $ as se, a0 as te } from "./index-Blg2D9ZR.mjs";
|
|
2
|
+
export {
|
|
3
|
+
t as AGENT_EVENT_TYPES,
|
|
4
|
+
a as AGENT_STATUS,
|
|
5
|
+
n as AGENT_TYPES,
|
|
6
|
+
S as AgentConfigSchema,
|
|
7
|
+
m as AgentSessionDirectControlRequestEventSchema,
|
|
8
|
+
o as AgentSessionErrorAckEventSchema,
|
|
9
|
+
E as AgentSessionErrorRequestEventSchema,
|
|
10
|
+
c as AgentSessionErrorResponseEventSchema,
|
|
11
|
+
A as AgentSessionIdlePromptRequestEventSchema,
|
|
12
|
+
g as AgentSessionMessageDeletedAckEventSchema,
|
|
13
|
+
h as AgentSessionMessageDeletedEventSchema,
|
|
14
|
+
v as AgentSessionMessageInputAckEventSchema,
|
|
15
|
+
u as AgentSessionMessageInputRequestEventSchema,
|
|
16
|
+
i as AgentSessionMessageInputResponseEventSchema,
|
|
17
|
+
r as AgentSessionMessageOutputAckEventSchema,
|
|
18
|
+
R as AgentSessionMessageOutputEndedEventSchema,
|
|
19
|
+
p as AgentSessionMessageOutputPermissionRequestedEventSchema,
|
|
20
|
+
D as AgentSessionMessageOutputRequestEventSchema,
|
|
21
|
+
T as AgentSessionMessageOutputResponseEventSchema,
|
|
22
|
+
M as AgentSessionMessageOutputStartedEventSchema,
|
|
23
|
+
q as AgentSessionMessageStdinRequestEventSchema,
|
|
24
|
+
O as AgentSessionMessageStdoutResponseEventSchema,
|
|
25
|
+
d as AgentSessionResizeRequestEventSchema,
|
|
26
|
+
k as AgentSessionStatusAckEventSchema,
|
|
27
|
+
N as AgentSessionStatusRequestEventSchema,
|
|
28
|
+
_ as AgentSessionStatusResponseEventSchema,
|
|
29
|
+
P as AgentSessionStopAgentRequestEventSchema,
|
|
30
|
+
I as AgentStatusSchema,
|
|
31
|
+
l as AgentTypeSchema,
|
|
32
|
+
U as BaseAgentSessionEventSchema,
|
|
33
|
+
C as BaseDaemonEventSchema,
|
|
34
|
+
G as COMMANDS,
|
|
35
|
+
L as DAEMON_EVENT_TYPES,
|
|
36
|
+
Y as DAEMON_STATUS,
|
|
37
|
+
f as DaemonErrorRequestEventSchema,
|
|
38
|
+
B as DaemonErrorResponseEventSchema,
|
|
39
|
+
V as DaemonListAgentSessionsAckEventSchema,
|
|
40
|
+
x as DaemonListAgentSessionsRequestEventSchema,
|
|
41
|
+
y as DaemonListAgentSessionsResponseEventSchema,
|
|
42
|
+
z as DaemonStartAgentAckEventSchema,
|
|
43
|
+
b as DaemonStartAgentRequestEventSchema,
|
|
44
|
+
j as DaemonStartAgentResponseEventSchema,
|
|
45
|
+
w as DaemonStatusRequestEventSchema,
|
|
46
|
+
F as DaemonStatusResponseEventSchema,
|
|
47
|
+
H as DaemonStatusSchema,
|
|
48
|
+
J as DaemonStopAgentAckEventSchema,
|
|
49
|
+
K as DaemonStopAgentRequestEventSchema,
|
|
50
|
+
Q as DaemonStopAgentResponseEventSchema,
|
|
51
|
+
W as DaemonTerminateAckEventSchema,
|
|
52
|
+
X as DaemonTerminateRequestEventSchema,
|
|
53
|
+
Z as DaemonTerminateResponseEventSchema,
|
|
54
|
+
$ as EventTargetSchema,
|
|
55
|
+
ee as OUTPUT_STREAMS,
|
|
56
|
+
se as OutputStreamSchema,
|
|
57
|
+
te as TraceIdSchema
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=index-neSXjL_p.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-neSXjL_p.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { as as o, at as l } from "./index-Blg2D9ZR.mjs";
|
|
2
|
+
import { aL as E, aJ as I, aK as k, aM as A, aN as T, ay as L, b7 as R, az as N, aA as P, aO as U, aP as B, b3 as J, aR as $, au as z, aQ as V, aS as W, aT as G, aU as H, aV as O, aW as _, aD as Y, b9 as K, aX as j, av as q, b4 as Q, aZ as X, aC as Z, b0 as ee, a_ as te, b1 as ae, b2 as se, aY as re, b5 as ie, a$ as ne, aB as oe, bf as le, aH as ue, b6 as me, aI as ce, aF as fe, aG as he, aw as de, b8 as ge, be, ba as Se, aE as pe, bb as we, ax as ve, bc as xe, bd as ye } from "./index-Blg2D9ZR.mjs";
|
|
3
3
|
import * as n from "node:fs";
|
|
4
4
|
import * as c from "node:path";
|
|
5
5
|
import { confirm as f, input as h, password as d, select as g, checkbox as b, number as S } from "@inquirer/prompts";
|
|
6
6
|
import "./cli.js";
|
|
7
|
-
class
|
|
7
|
+
class x {
|
|
8
8
|
/**
|
|
9
9
|
* Ask for confirmation with a yes/no prompt
|
|
10
10
|
*/
|
|
@@ -70,7 +70,7 @@ class y {
|
|
|
70
70
|
return a;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
class
|
|
73
|
+
class y extends o {
|
|
74
74
|
resourceType = "BUFFER";
|
|
75
75
|
priority = l.NORMAL;
|
|
76
76
|
buffer = [];
|
|
@@ -114,7 +114,7 @@ class x 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 M extends o {
|
|
118
118
|
resourceType = "TIMEOUT";
|
|
119
119
|
priority = l.LOW;
|
|
120
120
|
timeoutId = null;
|
|
@@ -133,7 +133,7 @@ class D extends o {
|
|
|
133
133
|
this.timeoutId !== null && (clearTimeout(this.timeoutId), this.timeoutId = null);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
class
|
|
136
|
+
class C {
|
|
137
137
|
stream;
|
|
138
138
|
useJsonFormat;
|
|
139
139
|
constructor(t) {
|
|
@@ -270,8 +270,8 @@ export {
|
|
|
270
270
|
T as AgentNotFoundError,
|
|
271
271
|
L as AppConfigSchema,
|
|
272
272
|
o as BaseDisposable,
|
|
273
|
-
|
|
274
|
-
|
|
273
|
+
R as CommandBuilder,
|
|
274
|
+
N as ConfigManager,
|
|
275
275
|
P as ConfigSchema,
|
|
276
276
|
U as ContextService,
|
|
277
277
|
B as CredentialsService,
|
|
@@ -280,14 +280,14 @@ export {
|
|
|
280
280
|
z as DaemonCommand,
|
|
281
281
|
V as DaemonManager,
|
|
282
282
|
W as DaemonManagerError,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
283
|
+
G as DaemonNotRunningError,
|
|
284
|
+
H as DeviceCodeAuthService,
|
|
285
|
+
y as DisposableBuffer,
|
|
286
|
+
O as DisposableInterval,
|
|
287
|
+
_ as DisposableRegistry,
|
|
288
|
+
M as DisposableTimeout,
|
|
289
|
+
Y as ENV_KEYS,
|
|
290
|
+
C as FileLogger,
|
|
291
291
|
K as FileSystemUtils,
|
|
292
292
|
j as HookManagementService,
|
|
293
293
|
q as LogoutCommand,
|
|
@@ -295,26 +295,28 @@ export {
|
|
|
295
295
|
X as MiddlewarePipeline,
|
|
296
296
|
Z as MultiplexClientConfig,
|
|
297
297
|
ee as MultiplexDirectClient,
|
|
298
|
-
te as
|
|
299
|
-
ae as
|
|
300
|
-
se as
|
|
301
|
-
re as
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
ne as
|
|
305
|
-
oe as
|
|
306
|
-
le as
|
|
307
|
-
ue as
|
|
308
|
-
me as
|
|
309
|
-
ce as
|
|
310
|
-
fe as
|
|
311
|
-
he as
|
|
312
|
-
de as
|
|
313
|
-
ge as
|
|
314
|
-
be as
|
|
315
|
-
Se as
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
ve as
|
|
298
|
+
te as MultiplexGlobalClient,
|
|
299
|
+
ae as MultiplexRemoteClient,
|
|
300
|
+
se as MultiplexStandaloneClient,
|
|
301
|
+
re as PinoLogger,
|
|
302
|
+
ie as ProjectListing,
|
|
303
|
+
x as PromptUtils,
|
|
304
|
+
ne as RemoteMultiplexGlobalClient,
|
|
305
|
+
oe as RuntimeConfigSchema,
|
|
306
|
+
le as SessionSettingsManager,
|
|
307
|
+
ue as StandaloneMultiplexBroker,
|
|
308
|
+
me as StateManagerService,
|
|
309
|
+
ce as StatefulMultiplexBroker,
|
|
310
|
+
fe as SubEnvManager,
|
|
311
|
+
he as SubEnvSchema,
|
|
312
|
+
de as config,
|
|
313
|
+
ge as createCommandBuilder,
|
|
314
|
+
be as createHeartbeat,
|
|
315
|
+
Se as generateDeviceId,
|
|
316
|
+
pe as getServerUrl,
|
|
317
|
+
we as getSystemInfo,
|
|
318
|
+
ve as getWebSocketUrl,
|
|
319
|
+
xe as httpToWebSocket,
|
|
320
|
+
ye as webSocketToHttp
|
|
319
321
|
};
|
|
320
322
|
//# sourceMappingURL=index.js.map
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agiflowai/agent-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "@agiflowai/agent-cli - Command-line interface for Agiflow development tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"chalk": "5.4.1",
|
|
18
18
|
"commander": "12.1.0",
|
|
19
19
|
"dotenv": "17.2.3",
|
|
20
|
-
"execa": "
|
|
20
|
+
"execa": "9.6.1",
|
|
21
21
|
"fs-extra": "11.2.0",
|
|
22
22
|
"http-mitm-proxy": "^1.1.0",
|
|
23
23
|
"ink": "^6.5.0",
|