@agiflowai/agent-cli 0.1.1 → 0.1.3
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/CHANGELOG.md +4 -0
- 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-qSVjC0ej.mjs → index-C5IMvcG5.mjs} +4 -4
- package/dist/index-C5IMvcG5.mjs.map +1 -0
- package/dist/index-OxXz4OF7.mjs +59 -0
- package/dist/index-OxXz4OF7.mjs.map +1 -0
- package/dist/{index-DavC_yrW.mjs → index-luh8DEZU.mjs} +7081 -6424
- package/dist/index-luh8DEZU.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-DavC_yrW.mjs.map +0 -1
- package/dist/index-qSVjC0ej.mjs.map +0 -1
- package/dist/index-sv9a95e9.mjs +0 -58
- package/dist/index-sv9a95e9.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { as as o, at as l } from "./index-luh8DEZU.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-luh8DEZU.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.2",
|
|
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",
|