nolo-cli 0.189.0-alpha.1 → 0.190.0-alpha.1
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/{agentDeleteCommand-GXYAEUFQ.js → agentDeleteCommand-USWGJZSW.js} +2 -2
- package/{agentEmailCommands-WYZKZBPZ.js → agentEmailCommands-GAY44EQY.js} +3 -3
- package/{agentListCommands-POWEO3US.js → agentListCommands-CVLCMMJH.js} +1 -1
- package/{agentMachineCommands-LD4UKJ47.js → agentMachineCommands-L36OJZVK.js} +1 -1
- package/{agentRecordCommands-O6SOBL37.js → agentRecordCommands-YYWWC4NK.js} +3 -3
- package/{agentRunCommand-JZ5CH3DL.js → agentRunCommand-R42JIQMC.js} +3 -3
- package/{appDeleteCommands-GZPGKI2Z.js → appDeleteCommands-C4VXCFO6.js} +2 -2
- package/{appDeployCommands-5UU3V5OK.js → appDeployCommands-RFSFJY75.js} +2 -2
- package/{appDeployStatusCommands-2ZB2QZ22.js → appDeployStatusCommands-DBT5WQ3X.js} +2 -2
- package/{appGetCommands-YSZFBV5G.js → appGetCommands-UPIBNR2W.js} +2 -2
- package/{appListCommands-W6D7XIFX.js → appListCommands-PQA5MSVU.js} +2 -2
- package/{authCommand-L6C4LLOU.js → authCommand-PIMMUEN5.js} +1 -1
- package/{chromeOpsCommands-BTIWDYLA.js → chromeOpsCommands-C46BXHEE.js} +1 -1
- package/{chunk-TNVE3CAV.js → chunk-BHVB3ICG.js} +2 -2
- package/{chunk-OKFKGCTS.js → chunk-HTLIKE5U.js} +2 -2
- package/{chunk-J6ACCFU6.js → chunk-JAJJUMDC.js} +1 -1
- package/{chunk-4MZCYEK5.js → chunk-PUMVJXBA.js} +1 -1
- package/{chunk-XTM23OUX.js → chunk-PUUH5I4K.js} +1 -1
- package/{chunk-63RO7QWZ.js → chunk-UNOILAZP.js} +10 -0
- package/{chunk-7GXK3WTO.js → chunk-WAZ6BTSC.js} +1 -1
- package/{chunk-2SUNC7EM.js → chunk-XRADC4SK.js} +2 -2
- package/{chunk-J7QGWFT6.js → chunk-ZCGA3Q7V.js} +1 -1
- package/{commandRegistry-AXZLPIPP.js → commandRegistry-3EZUYHCR.js} +53 -53
- package/{cooldownCommands-ZERBBSWJ.js → cooldownCommands-4XKJFEBW.js} +1 -1
- package/{dialogCommands-AQLB3TG2.js → dialogCommands-Z35VVKWJ.js} +2 -2
- package/{docCreateCommands-AND3EMIY.js → docCreateCommands-I654DRPF.js} +1 -1
- package/{docDeleteCommands-WA7CPPN3.js → docDeleteCommands-CKHY75KZ.js} +1 -1
- package/{docReadCommands-A4JLU4WF.js → docReadCommands-YOWFZ3XC.js} +1 -1
- package/{docUpdateCommands-33PDSHS3.js → docUpdateCommands-FMUKYCYX.js} +1 -1
- package/index.js +6 -6
- package/{localRuntimeAdapter-VOTHX3NK.js → localRuntimeAdapter-X22B3GW3.js} +2 -2
- package/{machineCommands-FDTN3A5S.js → machineCommands-XEJR6HF3.js} +3 -3
- package/{machineWsRunDispatch-PPVYOERM.js → machineWsRunDispatch-BYX227T2.js} +3 -3
- package/package.json +1 -1
- package/{readlineWorkspace-6SU3QTTY.js → readlineWorkspace-GXU2KWOK.js} +59 -13
- package/{secretCommands-UYVNIQIN.js → secretCommands-N6CMCJDZ.js} +1 -1
- package/{updateCommands-6GKGM7NR.js → updateCommands-KE6LP3QX.js} +3 -3
- package/{windowsSelfUpdate-4N7JCG2M.js → windowsSelfUpdate-26TSFXEZ.js} +2 -2
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-WBCYL63M.js";
|
|
11
11
|
import {
|
|
12
12
|
clearCliLocalRuntimePreparedAgentCache
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZCGA3Q7V.js";
|
|
14
14
|
import "./chunk-DYQXB46J.js";
|
|
15
15
|
import "./chunk-VP3BINY7.js";
|
|
16
16
|
import "./chunk-R4BMKAR5.js";
|
|
@@ -171,7 +171,7 @@ import "./chunk-R5GO3YZP.js";
|
|
|
171
171
|
import "./chunk-Y6ROFCZO.js";
|
|
172
172
|
import {
|
|
173
173
|
t
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-UNOILAZP.js";
|
|
175
175
|
import "./chunk-WMHWFFTE.js";
|
|
176
176
|
import "./chunk-XJWWBO34.js";
|
|
177
177
|
import "./chunk-I42VC5KR.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-4CEAZRZ4.js";
|
|
5
5
|
import {
|
|
6
6
|
runAgentCreateCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PUMVJXBA.js";
|
|
8
8
|
import "./chunk-YGILMZ7N.js";
|
|
9
9
|
import {
|
|
10
10
|
positionalArgs,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
fetchWithTransportFallback,
|
|
18
18
|
resolveAgentRecordFromHybridStore
|
|
19
19
|
} from "./chunk-WBCYL63M.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-ZCGA3Q7V.js";
|
|
21
21
|
import "./chunk-DYQXB46J.js";
|
|
22
22
|
import "./chunk-VP3BINY7.js";
|
|
23
23
|
import "./chunk-R4BMKAR5.js";
|
|
@@ -164,7 +164,7 @@ import "./chunk-4SN6J65J.js";
|
|
|
164
164
|
import "./chunk-CF7PE763.js";
|
|
165
165
|
import "./chunk-R5GO3YZP.js";
|
|
166
166
|
import "./chunk-Y6ROFCZO.js";
|
|
167
|
-
import "./chunk-
|
|
167
|
+
import "./chunk-UNOILAZP.js";
|
|
168
168
|
import {
|
|
169
169
|
createAgentKey
|
|
170
170
|
} from "./chunk-WMHWFFTE.js";
|
|
@@ -98,7 +98,7 @@ async function defaultExecuteCli(provider, prompt, options) {
|
|
|
98
98
|
return executeCli(provider, prompt, options);
|
|
99
99
|
}
|
|
100
100
|
async function forwardConnectorRunMessage(machine, message, pushMessage, executeCli, env, fetchImpl) {
|
|
101
|
-
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-
|
|
101
|
+
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-BYX227T2.js");
|
|
102
102
|
return handleConnectorRunMessage(message, pushMessage, executeCli, env, fetchImpl);
|
|
103
103
|
}
|
|
104
104
|
async function detectLaunchableMachineInfo() {
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
runAgentCreateCommand,
|
|
3
3
|
runAgentReadCommand,
|
|
4
4
|
runAgentUpdateCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PUMVJXBA.js";
|
|
6
6
|
import "./chunk-YGILMZ7N.js";
|
|
7
7
|
import "./chunk-7DQSP7JU.js";
|
|
8
8
|
import "./chunk-WBCYL63M.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ZCGA3Q7V.js";
|
|
10
10
|
import "./chunk-DYQXB46J.js";
|
|
11
11
|
import "./chunk-VP3BINY7.js";
|
|
12
12
|
import "./chunk-R4BMKAR5.js";
|
|
@@ -141,7 +141,7 @@ import "./chunk-4SN6J65J.js";
|
|
|
141
141
|
import "./chunk-CF7PE763.js";
|
|
142
142
|
import "./chunk-R5GO3YZP.js";
|
|
143
143
|
import "./chunk-Y6ROFCZO.js";
|
|
144
|
-
import "./chunk-
|
|
144
|
+
import "./chunk-UNOILAZP.js";
|
|
145
145
|
import "./chunk-WMHWFFTE.js";
|
|
146
146
|
import "./chunk-XJWWBO34.js";
|
|
147
147
|
import "./chunk-I42VC5KR.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveRunSettlementNote,
|
|
10
10
|
resolveWorkflowReference,
|
|
11
11
|
runAgentRunCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XRADC4SK.js";
|
|
13
13
|
import "./chunk-6QDYSCPW.js";
|
|
14
14
|
import {
|
|
15
15
|
parseAgentRunArgs
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import "./chunk-Y5GCAMGP.js";
|
|
18
18
|
import "./chunk-7DQSP7JU.js";
|
|
19
19
|
import "./chunk-WBCYL63M.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-ZCGA3Q7V.js";
|
|
21
21
|
import "./chunk-DYQXB46J.js";
|
|
22
22
|
import "./chunk-VP3BINY7.js";
|
|
23
23
|
import "./chunk-R4BMKAR5.js";
|
|
@@ -161,7 +161,7 @@ import "./chunk-4SN6J65J.js";
|
|
|
161
161
|
import "./chunk-CF7PE763.js";
|
|
162
162
|
import "./chunk-R5GO3YZP.js";
|
|
163
163
|
import "./chunk-Y6ROFCZO.js";
|
|
164
|
-
import "./chunk-
|
|
164
|
+
import "./chunk-UNOILAZP.js";
|
|
165
165
|
import "./chunk-WMHWFFTE.js";
|
|
166
166
|
import "./chunk-XJWWBO34.js";
|
|
167
167
|
import "./chunk-I42VC5KR.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
pickDefined,
|
|
5
5
|
printCliError,
|
|
6
6
|
resolveCliContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PUUH5I4K.js";
|
|
8
8
|
import {
|
|
9
9
|
hasFlag,
|
|
10
10
|
hasHelpArg
|
|
@@ -72,7 +72,7 @@ import "./chunk-CF7PE763.js";
|
|
|
72
72
|
import "./chunk-Y6ROFCZO.js";
|
|
73
73
|
import {
|
|
74
74
|
t
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-UNOILAZP.js";
|
|
76
76
|
import "./chunk-WMHWFFTE.js";
|
|
77
77
|
import "./chunk-XJWWBO34.js";
|
|
78
78
|
import "./chunk-I42VC5KR.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PUUH5I4K.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
@@ -73,7 +73,7 @@ import "./chunk-CF7PE763.js";
|
|
|
73
73
|
import "./chunk-Y6ROFCZO.js";
|
|
74
74
|
import {
|
|
75
75
|
t
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-UNOILAZP.js";
|
|
77
77
|
import "./chunk-WMHWFFTE.js";
|
|
78
78
|
import "./chunk-XJWWBO34.js";
|
|
79
79
|
import "./chunk-I42VC5KR.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
outputResult,
|
|
5
5
|
printCliError,
|
|
6
6
|
resolveCliContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PUUH5I4K.js";
|
|
8
8
|
import {
|
|
9
9
|
hasFlag,
|
|
10
10
|
hasHelpArg
|
|
@@ -72,7 +72,7 @@ import "./chunk-CF7PE763.js";
|
|
|
72
72
|
import "./chunk-Y6ROFCZO.js";
|
|
73
73
|
import {
|
|
74
74
|
t
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-UNOILAZP.js";
|
|
76
76
|
import "./chunk-WMHWFFTE.js";
|
|
77
77
|
import "./chunk-XJWWBO34.js";
|
|
78
78
|
import "./chunk-I42VC5KR.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PUUH5I4K.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
@@ -73,7 +73,7 @@ import "./chunk-CF7PE763.js";
|
|
|
73
73
|
import "./chunk-Y6ROFCZO.js";
|
|
74
74
|
import {
|
|
75
75
|
t
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-UNOILAZP.js";
|
|
77
77
|
import "./chunk-WMHWFFTE.js";
|
|
78
78
|
import "./chunk-XJWWBO34.js";
|
|
79
79
|
import "./chunk-I42VC5KR.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PUUH5I4K.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
@@ -73,7 +73,7 @@ import "./chunk-CF7PE763.js";
|
|
|
73
73
|
import "./chunk-Y6ROFCZO.js";
|
|
74
74
|
import {
|
|
75
75
|
t
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-UNOILAZP.js";
|
|
77
77
|
import "./chunk-WMHWFFTE.js";
|
|
78
78
|
import "./chunk-XJWWBO34.js";
|
|
79
79
|
import "./chunk-I42VC5KR.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZCGA3Q7V.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
7
|
} from "./chunk-O2MBTX37.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
} from "./chunk-Y6ROFCZO.js";
|
|
39
39
|
import {
|
|
40
40
|
t
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-UNOILAZP.js";
|
|
42
42
|
import {
|
|
43
43
|
asTrimmedNonEmptyStringArray
|
|
44
44
|
} from "./chunk-I42VC5KR.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-Y6ROFCZO.js";
|
|
16
16
|
import {
|
|
17
17
|
scheduleWindowsSelfUpdate
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WAZ6BTSC.js";
|
|
19
19
|
import {
|
|
20
20
|
t
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UNOILAZP.js";
|
|
22
22
|
|
|
23
23
|
// packages/cli/updateCommands.ts
|
|
24
24
|
import { existsSync, readFileSync, accessSync, constants } from "node:fs";
|
|
@@ -553,6 +553,16 @@ var agentStrings = {
|
|
|
553
553
|
en: "+{0} more",
|
|
554
554
|
zh: "\u8FD8\u6709 {0} \u4E2A"
|
|
555
555
|
},
|
|
556
|
+
// 纯推理 run(0 次工具调用)的心跳:模型调用次数。
|
|
557
|
+
runLlmCalls: {
|
|
558
|
+
en: "{0} model calls",
|
|
559
|
+
zh: "{0} \u6B21\u6A21\u578B\u8C03\u7528"
|
|
560
|
+
},
|
|
561
|
+
// 停滞信号:最后一次事件太久没有更新(次数不涨)。
|
|
562
|
+
runStalled: {
|
|
563
|
+
en: "may be stuck",
|
|
564
|
+
zh: "\u53EF\u80FD\u5361\u4F4F"
|
|
565
|
+
},
|
|
556
566
|
agentsTitle: {
|
|
557
567
|
en: "Agents:",
|
|
558
568
|
zh: "\u667A\u80FD\u4F53\uFF1A"
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
resolveFileWriteGateEnabled,
|
|
39
39
|
resolveLocalUserId,
|
|
40
40
|
validateInstaboxWorkspaceSelection
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ZCGA3Q7V.js";
|
|
42
42
|
import {
|
|
43
43
|
clearCredentialAvailability,
|
|
44
44
|
readEffectiveCredentialEntry,
|
|
@@ -228,7 +228,7 @@ import {
|
|
|
228
228
|
t,
|
|
229
229
|
toolLabel,
|
|
230
230
|
toolLabelVariants
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-UNOILAZP.js";
|
|
232
232
|
import {
|
|
233
233
|
createMemoryKey
|
|
234
234
|
} from "./chunk-WMHWFFTE.js";
|
|
@@ -5,7 +5,7 @@ import "./chunk-LKZPX6YH.js";
|
|
|
5
5
|
import {
|
|
6
6
|
cliCommandDescription,
|
|
7
7
|
t
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UNOILAZP.js";
|
|
9
9
|
import "./chunk-4VNS5WPM.js";
|
|
10
10
|
|
|
11
11
|
// packages/cli/cliCommandDispatch.ts
|
|
@@ -111,7 +111,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
111
111
|
// packages/cli/agentInternalCommandEntries.ts
|
|
112
112
|
function getAgentInternalCommandEntries() {
|
|
113
113
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
114
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
114
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-R42JIQMC.js");
|
|
115
115
|
return runAgentRunCommand(args, {
|
|
116
116
|
env: ctx.env,
|
|
117
117
|
scriptDir: ctx.scriptDir,
|
|
@@ -123,11 +123,11 @@ function getAgentInternalCommandEntries() {
|
|
|
123
123
|
createAgentRunCommand(["run"], "Run a no-login local agent in this workspace"),
|
|
124
124
|
createAgentRunCommand(["chat"], "Chat with an agent"),
|
|
125
125
|
createEnvCommand(["agent", "list"], "List owned agents", async (args, deps) => {
|
|
126
|
-
const { runAgentListCommand } = await import("./agentListCommands-
|
|
126
|
+
const { runAgentListCommand } = await import("./agentListCommands-CVLCMMJH.js");
|
|
127
127
|
return runAgentListCommand(args, deps);
|
|
128
128
|
}),
|
|
129
129
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
130
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
130
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-YYWWC4NK.js");
|
|
131
131
|
return runAgentCreateCommand(args, deps);
|
|
132
132
|
}),
|
|
133
133
|
createEnvCommand(["agent", "models"], "List models: --preset <id> (server discovery, exit 1 on static fallback) or --url <base> --api-key <key> (OpenAI-compatible /models)", async (args, deps) => {
|
|
@@ -143,7 +143,7 @@ function getAgentInternalCommandEntries() {
|
|
|
143
143
|
return runAgentPullCommand(args, deps);
|
|
144
144
|
}),
|
|
145
145
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
146
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
146
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-YYWWC4NK.js");
|
|
147
147
|
return runAgentReadCommand(args, deps);
|
|
148
148
|
}),
|
|
149
149
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -172,31 +172,31 @@ function getAgentInternalCommandEntries() {
|
|
|
172
172
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
173
173
|
}),
|
|
174
174
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
175
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
175
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-YYWWC4NK.js");
|
|
176
176
|
return runAgentUpdateCommand(args, deps);
|
|
177
177
|
}),
|
|
178
178
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
179
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
179
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-GAY44EQY.js");
|
|
180
180
|
return runAgentEmailProvisionCommand(args, deps);
|
|
181
181
|
}),
|
|
182
182
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
183
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
183
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-GAY44EQY.js");
|
|
184
184
|
return runAgentEmailBindCommand(args, deps);
|
|
185
185
|
}),
|
|
186
186
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
187
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
187
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-GAY44EQY.js");
|
|
188
188
|
return runAgentEmailTransferCommand(args, deps);
|
|
189
189
|
}),
|
|
190
190
|
createEnvCommand(
|
|
191
191
|
["agent", "email", "create-and-provision"],
|
|
192
192
|
"Create an agent and provision its controlled inbox",
|
|
193
193
|
async (args, deps) => {
|
|
194
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
194
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-GAY44EQY.js");
|
|
195
195
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
196
196
|
}
|
|
197
197
|
),
|
|
198
198
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
199
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
199
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-USWGJZSW.js");
|
|
200
200
|
return runAgentDeleteCommand(args, deps);
|
|
201
201
|
}),
|
|
202
202
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -216,15 +216,15 @@ function getAgentInternalCommandEntries() {
|
|
|
216
216
|
return runAgentRevokeGrantCommand(args, deps);
|
|
217
217
|
}),
|
|
218
218
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
219
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
219
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-L36OJZVK.js");
|
|
220
220
|
return runAgentBindCurrentCommand(args, deps);
|
|
221
221
|
}),
|
|
222
222
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
223
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
223
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-L36OJZVK.js");
|
|
224
224
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
225
225
|
}),
|
|
226
226
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
227
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
227
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-L36OJZVK.js");
|
|
228
228
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
229
229
|
}),
|
|
230
230
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -235,23 +235,23 @@ function getAgentInternalCommandEntries() {
|
|
|
235
235
|
function getAppInternalCommandEntries() {
|
|
236
236
|
return [
|
|
237
237
|
createEnvCommand(["app", "list"], "List your apps", async (args, deps) => {
|
|
238
|
-
const { runAppListCommand } = await import("./appListCommands-
|
|
238
|
+
const { runAppListCommand } = await import("./appListCommands-PQA5MSVU.js");
|
|
239
239
|
return runAppListCommand(args, deps);
|
|
240
240
|
}),
|
|
241
241
|
createEnvCommand(["app", "get"], "Get app details", async (args, deps) => {
|
|
242
|
-
const { runAppGetCommand } = await import("./appGetCommands-
|
|
242
|
+
const { runAppGetCommand } = await import("./appGetCommands-UPIBNR2W.js");
|
|
243
243
|
return runAppGetCommand(args, deps);
|
|
244
244
|
}),
|
|
245
245
|
createEnvCommand(["app", "deploy"], "Deploy an app", async (args, deps) => {
|
|
246
|
-
const { runAppDeployCommand } = await import("./appDeployCommands-
|
|
246
|
+
const { runAppDeployCommand } = await import("./appDeployCommands-RFSFJY75.js");
|
|
247
247
|
return runAppDeployCommand(args, deps);
|
|
248
248
|
}),
|
|
249
249
|
createEnvCommand(["app", "deploy", "status"], "Check app deploy status", async (args, deps) => {
|
|
250
|
-
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-
|
|
250
|
+
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-DBT5WQ3X.js");
|
|
251
251
|
return runAppDeployStatusCommand(args, deps);
|
|
252
252
|
}),
|
|
253
253
|
createEnvCommand(["app", "delete"], "Delete an app", async (args, deps) => {
|
|
254
|
-
const { runAppDeleteCommand } = await import("./appDeleteCommands-
|
|
254
|
+
const { runAppDeleteCommand } = await import("./appDeleteCommands-C4VXCFO6.js");
|
|
255
255
|
return runAppDeleteCommand(args, deps);
|
|
256
256
|
})
|
|
257
257
|
];
|
|
@@ -320,7 +320,7 @@ function getBrowserFamilyEntries() {
|
|
|
320
320
|
),
|
|
321
321
|
...CHROME_OPS_SUBCOMMANDS.map(
|
|
322
322
|
({ name, summary }) => createArgsCommand(["browser", name], summary, async (args) => {
|
|
323
|
-
const { runChromeOpsCommand } = await import("./chromeOpsCommands-
|
|
323
|
+
const { runChromeOpsCommand } = await import("./chromeOpsCommands-C46BXHEE.js");
|
|
324
324
|
return runChromeOpsCommand(name, args);
|
|
325
325
|
})
|
|
326
326
|
)
|
|
@@ -387,27 +387,27 @@ function getCiInternalCommandEntries() {
|
|
|
387
387
|
function getDialogInternalCommandEntries() {
|
|
388
388
|
return [
|
|
389
389
|
createEnvCommand(["dialog", "search"], "Search dialog messages across dialogs", async (args, deps) => {
|
|
390
|
-
const { runDialogSearchCommand } = await import("./dialogCommands-
|
|
390
|
+
const { runDialogSearchCommand } = await import("./dialogCommands-Z35VVKWJ.js");
|
|
391
391
|
return runDialogSearchCommand(args, deps);
|
|
392
392
|
}),
|
|
393
393
|
createEnvCommand(["dialog", "list"], "List dialogs (default --limit 50; --all/--limit 0 full; --jsonl streams)", async (args, deps) => {
|
|
394
|
-
const { runDialogListCommand } = await import("./dialogCommands-
|
|
394
|
+
const { runDialogListCommand } = await import("./dialogCommands-Z35VVKWJ.js");
|
|
395
395
|
return runDialogListCommand(args, deps);
|
|
396
396
|
}),
|
|
397
397
|
createEnvCommand(["dialog", "delete"], "Delete one or more dialogs", async (args, deps) => {
|
|
398
|
-
const { runDialogDeleteCommand } = await import("./dialogCommands-
|
|
398
|
+
const { runDialogDeleteCommand } = await import("./dialogCommands-Z35VVKWJ.js");
|
|
399
399
|
return runDialogDeleteCommand(args, deps);
|
|
400
400
|
}),
|
|
401
401
|
createEnvCommand(["dialog", "query"], "Query dialogs by subject refs (default --limit 50; --all full; --jsonl streams)", async (args, deps) => {
|
|
402
|
-
const { runDialogQueryCommand } = await import("./dialogCommands-
|
|
402
|
+
const { runDialogQueryCommand } = await import("./dialogCommands-Z35VVKWJ.js");
|
|
403
403
|
return runDialogQueryCommand(args, deps);
|
|
404
404
|
}),
|
|
405
405
|
createEnvCommand(["dialog", "read"], "Read a dialog", async (args, deps) => {
|
|
406
|
-
const { runDialogReadCommand } = await import("./dialogCommands-
|
|
406
|
+
const { runDialogReadCommand } = await import("./dialogCommands-Z35VVKWJ.js");
|
|
407
407
|
return runDialogReadCommand(args, deps);
|
|
408
408
|
}),
|
|
409
409
|
createEnvCommand(["dialog", "status"], "Read compact dialog status", async (args, deps) => {
|
|
410
|
-
const { runDialogStatusCommand } = await import("./dialogCommands-
|
|
410
|
+
const { runDialogStatusCommand } = await import("./dialogCommands-Z35VVKWJ.js");
|
|
411
411
|
return runDialogStatusCommand(args, deps);
|
|
412
412
|
})
|
|
413
413
|
];
|
|
@@ -417,39 +417,39 @@ function getDialogInternalCommandEntries() {
|
|
|
417
417
|
function getDocInternalCommandEntries() {
|
|
418
418
|
return [
|
|
419
419
|
createEnvCommand(["doc", "create"], "Create a normal doc", async (args, deps) => {
|
|
420
|
-
const { runDocCreateCommand } = await import("./docCreateCommands-
|
|
420
|
+
const { runDocCreateCommand } = await import("./docCreateCommands-I654DRPF.js");
|
|
421
421
|
return runDocCreateCommand(args, deps);
|
|
422
422
|
}),
|
|
423
423
|
createEnvCommand(["doc", "read"], "Read a normal doc", async (args, deps) => {
|
|
424
|
-
const { runDocReadCommand } = await import("./docReadCommands-
|
|
424
|
+
const { runDocReadCommand } = await import("./docReadCommands-YOWFZ3XC.js");
|
|
425
425
|
return runDocReadCommand(args, deps);
|
|
426
426
|
}),
|
|
427
427
|
createEnvCommand(["doc", "update"], "Update a normal doc", async (args, deps) => {
|
|
428
|
-
const { runDocUpdateCommand } = await import("./docUpdateCommands-
|
|
428
|
+
const { runDocUpdateCommand } = await import("./docUpdateCommands-FMUKYCYX.js");
|
|
429
429
|
return runDocUpdateCommand(args, deps);
|
|
430
430
|
}),
|
|
431
431
|
createEnvCommand(["doc", "delete"], "Delete a normal doc", async (args, deps) => {
|
|
432
|
-
const { runDocDeleteCommand } = await import("./docDeleteCommands-
|
|
432
|
+
const { runDocDeleteCommand } = await import("./docDeleteCommands-CKHY75KZ.js");
|
|
433
433
|
return runDocDeleteCommand(args, deps);
|
|
434
434
|
}),
|
|
435
435
|
createEnvCommand(["skill-doc", "create"], "Create a skill-backed doc", async (args, deps) => {
|
|
436
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
436
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-I654DRPF.js");
|
|
437
437
|
return runSkillDocCreateCommand(args, deps);
|
|
438
438
|
}),
|
|
439
439
|
createEnvCommand(["skill", "create-doc"], "Create a skill-backed doc", async (args, deps) => {
|
|
440
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
440
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-I654DRPF.js");
|
|
441
441
|
return runSkillDocCreateCommand(args, deps);
|
|
442
442
|
}),
|
|
443
443
|
createEnvCommand(["skill-doc", "read"], "Read a skill doc", async (args, deps) => {
|
|
444
|
-
const { runSkillDocReadCommand } = await import("./docReadCommands-
|
|
444
|
+
const { runSkillDocReadCommand } = await import("./docReadCommands-YOWFZ3XC.js");
|
|
445
445
|
return runSkillDocReadCommand(args, deps);
|
|
446
446
|
}),
|
|
447
447
|
createEnvCommand(["skill-doc", "update"], "Update a skill doc", async (args, deps) => {
|
|
448
|
-
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-
|
|
448
|
+
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-FMUKYCYX.js");
|
|
449
449
|
return runSkillDocUpdateCommand(args, deps);
|
|
450
450
|
}),
|
|
451
451
|
createEnvCommand(["skill-doc", "delete"], "Delete a skill doc", async (args, deps) => {
|
|
452
|
-
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-
|
|
452
|
+
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-CKHY75KZ.js");
|
|
453
453
|
return runSkillDocDeleteCommand(args, deps);
|
|
454
454
|
})
|
|
455
455
|
];
|
|
@@ -503,35 +503,35 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
503
503
|
return runDialogUsageCommand(args, { env: ctx.env });
|
|
504
504
|
}),
|
|
505
505
|
createContextCommand(["auth", "cooldown"], "List / clear credential availability cooldowns", async (_args, ctx) => {
|
|
506
|
-
const { runAuthCooldownCommand } = await import("./cooldownCommands-
|
|
506
|
+
const { runAuthCooldownCommand } = await import("./cooldownCommands-4XKJFEBW.js");
|
|
507
507
|
return runAuthCooldownCommand(_args, ctx.env);
|
|
508
508
|
}),
|
|
509
509
|
createArgsCommand(["auth", "cloudflare"], "Authorize Cloudflare OAuth", async (args) => {
|
|
510
|
-
const { runAuthCloudflareCommand } = await import("./authCommand-
|
|
510
|
+
const { runAuthCloudflareCommand } = await import("./authCommand-PIMMUEN5.js");
|
|
511
511
|
return runAuthCloudflareCommand(args);
|
|
512
512
|
}),
|
|
513
513
|
createArgsCommand(["auth", "chatgpt"], "Authorize ChatGPT / OpenAI Codex OAuth", async (args) => {
|
|
514
|
-
const { runAuthChatgptCommand } = await import("./authCommand-
|
|
514
|
+
const { runAuthChatgptCommand } = await import("./authCommand-PIMMUEN5.js");
|
|
515
515
|
return runAuthChatgptCommand(args);
|
|
516
516
|
}),
|
|
517
517
|
createArgsCommand(["auth", "xai"], "Authorize xAI Grok OAuth (SuperGrok subscription)", async (args) => {
|
|
518
|
-
const { runAuthXaiCommand } = await import("./authCommand-
|
|
518
|
+
const { runAuthXaiCommand } = await import("./authCommand-PIMMUEN5.js");
|
|
519
519
|
return runAuthXaiCommand(args);
|
|
520
520
|
}),
|
|
521
521
|
createArgsCommand(["auth", "antigravity"], "Authorize Google Antigravity OAuth", async (args) => {
|
|
522
|
-
const { runAuthAntigravityCommand } = await import("./authCommand-
|
|
522
|
+
const { runAuthAntigravityCommand } = await import("./authCommand-PIMMUEN5.js");
|
|
523
523
|
return runAuthAntigravityCommand(args);
|
|
524
524
|
}),
|
|
525
525
|
createArgsCommand(["auth", "claude"], "Authorize Claude Pro/Max OAuth", async (args) => {
|
|
526
|
-
const { runAuthClaudeCommand } = await import("./authCommand-
|
|
526
|
+
const { runAuthClaudeCommand } = await import("./authCommand-PIMMUEN5.js");
|
|
527
527
|
return runAuthClaudeCommand(args);
|
|
528
528
|
}),
|
|
529
529
|
createArgsCommand(["auth", "cursor"], "Authorize Cursor Pro OAuth", async (args) => {
|
|
530
|
-
const { runAuthCursorCommand } = await import("./authCommand-
|
|
530
|
+
const { runAuthCursorCommand } = await import("./authCommand-PIMMUEN5.js");
|
|
531
531
|
return runAuthCursorCommand(args);
|
|
532
532
|
}),
|
|
533
533
|
createArgsCommand(["auth", "devin"], "Authorize Devin OAuth (Free SWE-2)", async (args) => {
|
|
534
|
-
const { runAuthDevinCommand } = await import("./authCommand-
|
|
534
|
+
const { runAuthDevinCommand } = await import("./authCommand-PIMMUEN5.js");
|
|
535
535
|
return runAuthDevinCommand(args);
|
|
536
536
|
}),
|
|
537
537
|
createArgsCommand(["login"], "Log in to Nolo", async (args) => {
|
|
@@ -547,15 +547,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
547
547
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
548
548
|
}),
|
|
549
549
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
550
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
550
|
+
const { runMachineConnectCommand } = await import("./machineCommands-XEJR6HF3.js");
|
|
551
551
|
return runMachineConnectCommand(args, deps);
|
|
552
552
|
}),
|
|
553
553
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
554
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
554
|
+
const { runMachineConnectCommand } = await import("./machineCommands-XEJR6HF3.js");
|
|
555
555
|
return runMachineConnectCommand(args, deps);
|
|
556
556
|
}),
|
|
557
557
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
558
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
558
|
+
const { runMachineStatusCommand } = await import("./machineCommands-XEJR6HF3.js");
|
|
559
559
|
return runMachineStatusCommand(args, deps);
|
|
560
560
|
}),
|
|
561
561
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -563,7 +563,7 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
563
563
|
return runDoctorRuntimeCommand(args, deps);
|
|
564
564
|
}),
|
|
565
565
|
createContextCommand(["doctor"], "Show CLI doctor information", async (_args, ctx) => {
|
|
566
|
-
const { buildCliDoctorText, getCliInstallChannel, resolveSelfUpdateServerUrl } = await import("./updateCommands-
|
|
566
|
+
const { buildCliDoctorText, getCliInstallChannel, resolveSelfUpdateServerUrl } = await import("./updateCommands-KE6LP3QX.js");
|
|
567
567
|
const { isCompiledBinary } = await import("./cliEnvHelpers-BVYTMUPJ.js");
|
|
568
568
|
const serverUrl = resolveSelfUpdateServerUrl(ctx.env);
|
|
569
569
|
console.log(
|
|
@@ -580,12 +580,12 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
580
580
|
return 0;
|
|
581
581
|
}),
|
|
582
582
|
createContextCommand(["update"], t("updateDescription"), async (args, ctx) => {
|
|
583
|
-
const { resolveSelfUpdateServerUrl, runSelfUpdate, buildCliVersionText, getCliInstallChannel } = await import("./updateCommands-
|
|
583
|
+
const { resolveSelfUpdateServerUrl, runSelfUpdate, buildCliVersionText, getCliInstallChannel } = await import("./updateCommands-KE6LP3QX.js");
|
|
584
584
|
if (args.length > 0) {
|
|
585
585
|
const sub = args[0];
|
|
586
586
|
if (sub === "status") {
|
|
587
587
|
if (process.platform === "win32") {
|
|
588
|
-
const { getWindowsUpdateStatus } = await import("./windowsSelfUpdate-
|
|
588
|
+
const { getWindowsUpdateStatus } = await import("./windowsSelfUpdate-26TSFXEZ.js");
|
|
589
589
|
console.log(getWindowsUpdateStatus(ctx.env, { currentVersion: ctx.packageInfo.version }).text);
|
|
590
590
|
} else {
|
|
591
591
|
console.log(t("updateStatusText", buildCliVersionText(ctx.packageInfo), getCliInstallChannel(resolveSelfUpdateServerUrl(ctx.env))));
|
|
@@ -602,22 +602,22 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
602
602
|
});
|
|
603
603
|
}),
|
|
604
604
|
createArgsCommand(["secret"], "Manage local developer secrets (~/.nolo/credentials/secrets.json)", async (args) => {
|
|
605
|
-
const { runSecretCommand } = await import("./secretCommands-
|
|
605
|
+
const { runSecretCommand } = await import("./secretCommands-N6CMCJDZ.js");
|
|
606
606
|
await runSecretCommand(args);
|
|
607
607
|
return process.exitCode ?? 0;
|
|
608
608
|
}),
|
|
609
609
|
createContextCommand(["version"], "Show CLI version", async (_args, ctx) => {
|
|
610
|
-
const { buildCliVersionText } = await import("./updateCommands-
|
|
610
|
+
const { buildCliVersionText } = await import("./updateCommands-KE6LP3QX.js");
|
|
611
611
|
console.log(buildCliVersionText(ctx.packageInfo));
|
|
612
612
|
return 0;
|
|
613
613
|
}),
|
|
614
614
|
createContextCommand(["--version"], "Show CLI version", async (_args, ctx) => {
|
|
615
|
-
const { buildCliVersionText } = await import("./updateCommands-
|
|
615
|
+
const { buildCliVersionText } = await import("./updateCommands-KE6LP3QX.js");
|
|
616
616
|
console.log(buildCliVersionText(ctx.packageInfo));
|
|
617
617
|
return 0;
|
|
618
618
|
}),
|
|
619
619
|
createContextCommand(["-v"], "Show CLI version", async (_args, ctx) => {
|
|
620
|
-
const { buildCliVersionText } = await import("./updateCommands-
|
|
620
|
+
const { buildCliVersionText } = await import("./updateCommands-KE6LP3QX.js");
|
|
621
621
|
console.log(buildCliVersionText(ctx.packageInfo));
|
|
622
622
|
return 0;
|
|
623
623
|
}),
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
runDialogSearchCommand,
|
|
16
16
|
runDialogStatusCommand,
|
|
17
17
|
sortDialogs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JAJJUMDC.js";
|
|
19
19
|
import "./chunk-ID4G2MAR.js";
|
|
20
20
|
import "./chunk-KOIGM3KU.js";
|
|
21
21
|
import "./chunk-Y5GCAMGP.js";
|
|
@@ -91,7 +91,7 @@ import "./chunk-LCBAMY2M.js";
|
|
|
91
91
|
import "./chunk-4SN6J65J.js";
|
|
92
92
|
import "./chunk-CF7PE763.js";
|
|
93
93
|
import "./chunk-Y6ROFCZO.js";
|
|
94
|
-
import "./chunk-
|
|
94
|
+
import "./chunk-UNOILAZP.js";
|
|
95
95
|
import "./chunk-WMHWFFTE.js";
|
|
96
96
|
import "./chunk-XJWWBO34.js";
|
|
97
97
|
import "./chunk-I42VC5KR.js";
|
package/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-EYLGAEB4.js";
|
|
6
6
|
import {
|
|
7
7
|
readPackageInfo
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HTLIKE5U.js";
|
|
9
9
|
import {
|
|
10
10
|
isCompiledBinary
|
|
11
11
|
} from "./chunk-WACI5I6V.js";
|
|
@@ -17,11 +17,11 @@ import "./chunk-R5GO3YZP.js";
|
|
|
17
17
|
import "./chunk-Y6ROFCZO.js";
|
|
18
18
|
import {
|
|
19
19
|
getWindowsUpdateStatus
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WAZ6BTSC.js";
|
|
21
21
|
import {
|
|
22
22
|
initCliLocale,
|
|
23
23
|
t
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UNOILAZP.js";
|
|
25
25
|
import "./chunk-G3SUCT4W.js";
|
|
26
26
|
import "./chunk-4VNS5WPM.js";
|
|
27
27
|
|
|
@@ -106,9 +106,9 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
106
106
|
return proc.exited;
|
|
107
107
|
}
|
|
108
108
|
async function launchTuiWorkspace(args2) {
|
|
109
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
109
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-GXU2KWOK.js");
|
|
110
110
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-FSOADMXK.js");
|
|
111
|
-
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-
|
|
111
|
+
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-X22B3GW3.js");
|
|
112
112
|
setCliAutoCompactionSummaryFallback(
|
|
113
113
|
createTuiSummaryLlmCaller(args2.env, { timeoutMs: 3e4 })
|
|
114
114
|
);
|
|
@@ -120,7 +120,7 @@ async function launchTuiWorkspace(args2) {
|
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
async function main() {
|
|
123
|
-
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-
|
|
123
|
+
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-3EZUYHCR.js");
|
|
124
124
|
const { buildCliRuntimeEnv, loadProfileConfig } = await import("./profileConfig-KN3N2BLF.js");
|
|
125
125
|
const { resolveTuiLaunchMode } = await import("./runtimeModeArgs-2Y7BALTO.js");
|
|
126
126
|
const runtimeEnv = {
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
withRuntimeEnabledPacksAndPrompt,
|
|
47
47
|
writeDialog,
|
|
48
48
|
writeLocalTokenRecord
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ZCGA3Q7V.js";
|
|
50
50
|
import "./chunk-DYQXB46J.js";
|
|
51
51
|
import {
|
|
52
52
|
defaultLoopbackRequest,
|
|
@@ -187,7 +187,7 @@ import "./chunk-LCBAMY2M.js";
|
|
|
187
187
|
import "./chunk-4SN6J65J.js";
|
|
188
188
|
import "./chunk-CF7PE763.js";
|
|
189
189
|
import "./chunk-R5GO3YZP.js";
|
|
190
|
-
import "./chunk-
|
|
190
|
+
import "./chunk-UNOILAZP.js";
|
|
191
191
|
import "./chunk-WMHWFFTE.js";
|
|
192
192
|
import "./chunk-XJWWBO34.js";
|
|
193
193
|
import "./chunk-I42VC5KR.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
buildMachinePermissionPromptBlock,
|
|
3
3
|
handleConnectorRunMessage,
|
|
4
4
|
resolveMachineRunPermissionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BHVB3ICG.js";
|
|
6
6
|
import {
|
|
7
7
|
MAX_CONNECTOR_TIMER_DELAY_MS,
|
|
8
8
|
clampConnectorTimerDelayMs,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
parsePositiveFiniteNumberOrFallback
|
|
16
16
|
} from "./chunk-Y5GCAMGP.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-ZCGA3Q7V.js";
|
|
18
18
|
import "./chunk-DYQXB46J.js";
|
|
19
19
|
import "./chunk-VP3BINY7.js";
|
|
20
20
|
import "./chunk-R4BMKAR5.js";
|
|
@@ -172,7 +172,7 @@ import "./chunk-R5GO3YZP.js";
|
|
|
172
172
|
import "./chunk-Y6ROFCZO.js";
|
|
173
173
|
import {
|
|
174
174
|
t
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-UNOILAZP.js";
|
|
176
176
|
import "./chunk-WMHWFFTE.js";
|
|
177
177
|
import "./chunk-XJWWBO34.js";
|
|
178
178
|
import "./chunk-I42VC5KR.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runtimeWorkspacePermissionPolicy,
|
|
12
12
|
scopePermissionPolicyToRuntimeWorkspace,
|
|
13
13
|
summarizeAgentConfigForLogs
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-BHVB3ICG.js";
|
|
15
|
+
import "./chunk-ZCGA3Q7V.js";
|
|
16
16
|
import "./chunk-DYQXB46J.js";
|
|
17
17
|
import "./chunk-VP3BINY7.js";
|
|
18
18
|
import "./chunk-R4BMKAR5.js";
|
|
@@ -147,7 +147,7 @@ import "./chunk-4SN6J65J.js";
|
|
|
147
147
|
import "./chunk-CF7PE763.js";
|
|
148
148
|
import "./chunk-R5GO3YZP.js";
|
|
149
149
|
import "./chunk-Y6ROFCZO.js";
|
|
150
|
-
import "./chunk-
|
|
150
|
+
import "./chunk-UNOILAZP.js";
|
|
151
151
|
import "./chunk-WMHWFFTE.js";
|
|
152
152
|
import "./chunk-XJWWBO34.js";
|
|
153
153
|
import "./chunk-I42VC5KR.js";
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
normalizeDialogRecord,
|
|
13
13
|
readDialogSnapshot,
|
|
14
14
|
sortDialogs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JAJJUMDC.js";
|
|
16
16
|
import {
|
|
17
17
|
formatQuotaSummary,
|
|
18
18
|
listFavoriteAgentIdsAcrossServers,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
wrapTextToLines,
|
|
103
103
|
wrapTranscriptLine,
|
|
104
104
|
wrapTranscriptLineWithLayout
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-XRADC4SK.js";
|
|
106
106
|
import "./chunk-6QDYSCPW.js";
|
|
107
107
|
import "./chunk-5LVGXDSL.js";
|
|
108
108
|
import "./chunk-Y5GCAMGP.js";
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
formatApprovalRemaining,
|
|
124
124
|
readTimestamp,
|
|
125
125
|
registerHostApprovalRenderer
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-ZCGA3Q7V.js";
|
|
127
127
|
import "./chunk-DYQXB46J.js";
|
|
128
128
|
import "./chunk-VP3BINY7.js";
|
|
129
129
|
import "./chunk-R4BMKAR5.js";
|
|
@@ -362,7 +362,7 @@ import {
|
|
|
362
362
|
import {
|
|
363
363
|
checkForCliUpdate,
|
|
364
364
|
runSelfUpdateDetailed
|
|
365
|
-
} from "./chunk-
|
|
365
|
+
} from "./chunk-HTLIKE5U.js";
|
|
366
366
|
import {
|
|
367
367
|
parseUserIdFromAuthToken,
|
|
368
368
|
resolveAuthToken,
|
|
@@ -395,14 +395,14 @@ import {
|
|
|
395
395
|
resolveDefaultSpawn,
|
|
396
396
|
spawnProcess
|
|
397
397
|
} from "./chunk-Y6ROFCZO.js";
|
|
398
|
-
import "./chunk-
|
|
398
|
+
import "./chunk-WAZ6BTSC.js";
|
|
399
399
|
import {
|
|
400
400
|
dailyWelcomeTip,
|
|
401
401
|
initCliLocale,
|
|
402
402
|
parseCliLocale,
|
|
403
403
|
setCliLocale,
|
|
404
404
|
t
|
|
405
|
-
} from "./chunk-
|
|
405
|
+
} from "./chunk-UNOILAZP.js";
|
|
406
406
|
import "./chunk-WMHWFFTE.js";
|
|
407
407
|
import "./chunk-XJWWBO34.js";
|
|
408
408
|
import "./chunk-I42VC5KR.js";
|
|
@@ -3904,6 +3904,43 @@ function sanitizeRunSnapshotForNormal(snapshot) {
|
|
|
3904
3904
|
};
|
|
3905
3905
|
}
|
|
3906
3906
|
|
|
3907
|
+
// packages/cli/tui/runProgressHeartbeat.ts
|
|
3908
|
+
var RUN_STALL_AFTER_MS = 18e4;
|
|
3909
|
+
var RUN_LONG_INFLIGHT_MS = 6e5;
|
|
3910
|
+
function hasToolProgress(snapshot) {
|
|
3911
|
+
const count = snapshot.toolCallCount;
|
|
3912
|
+
if (typeof count === "number" && Number.isFinite(count) && count > 0) return true;
|
|
3913
|
+
if ((snapshot.lastToolNames?.length ?? 0) > 0) return true;
|
|
3914
|
+
return snapshot.inFlight?.kind === "tool";
|
|
3915
|
+
}
|
|
3916
|
+
function formatToolProgressFact(snapshot) {
|
|
3917
|
+
const raw = snapshot.toolCallCount;
|
|
3918
|
+
const toolCount = typeof raw === "number" && Number.isFinite(raw) ? raw : void 0;
|
|
3919
|
+
if (toolCount !== void 0 && toolCount > 0) {
|
|
3920
|
+
return t("runToolsCount", String(toolCount));
|
|
3921
|
+
}
|
|
3922
|
+
if (toolCount !== void 0 && hasToolProgress(snapshot)) return void 0;
|
|
3923
|
+
const llm = snapshot.llmCallCount;
|
|
3924
|
+
if (typeof llm === "number" && Number.isFinite(llm) && llm > 0) {
|
|
3925
|
+
return t("runLlmCalls", String(llm));
|
|
3926
|
+
}
|
|
3927
|
+
if (toolCount !== void 0) return t("runToolsCount", "0");
|
|
3928
|
+
return void 0;
|
|
3929
|
+
}
|
|
3930
|
+
function runProgressStalled(snapshot, now) {
|
|
3931
|
+
if (isAgentRunTerminalStatus(snapshot.status)) return false;
|
|
3932
|
+
const lastEventAt = snapshot.lastEventAt;
|
|
3933
|
+
if (typeof lastEventAt !== "number" || !Number.isFinite(lastEventAt) || lastEventAt <= 0) {
|
|
3934
|
+
return false;
|
|
3935
|
+
}
|
|
3936
|
+
if (now - lastEventAt <= RUN_STALL_AFTER_MS) return false;
|
|
3937
|
+
const inFlight = snapshot.inFlight;
|
|
3938
|
+
if (inFlight && typeof inFlight.startedAt === "number" && Number.isFinite(inFlight.startedAt) && now - inFlight.startedAt <= RUN_LONG_INFLIGHT_MS) {
|
|
3939
|
+
return false;
|
|
3940
|
+
}
|
|
3941
|
+
return true;
|
|
3942
|
+
}
|
|
3943
|
+
|
|
3907
3944
|
// packages/cli/tui/agentRunPanelLines.ts
|
|
3908
3945
|
var AUTO_IDENTITY_PATTERNS = [
|
|
3909
3946
|
/^agent-[0-9a-f]{8,}-[a-z0-9]/i,
|
|
@@ -4030,9 +4067,8 @@ function runZoneFacts(snapshot, now) {
|
|
|
4030
4067
|
}
|
|
4031
4068
|
const unassigned = formatUnassignedFact(snapshot);
|
|
4032
4069
|
if (unassigned) facts.push(unassigned);
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
}
|
|
4070
|
+
const toolFact = formatToolProgressFact(snapshot);
|
|
4071
|
+
if (toolFact) facts.push(toolFact);
|
|
4036
4072
|
if (typeof snapshot.credits === "number" && Number.isFinite(snapshot.credits)) {
|
|
4037
4073
|
facts.push(formatCreditsChip(snapshot.credits, { compact: true }));
|
|
4038
4074
|
}
|
|
@@ -4044,7 +4080,7 @@ function runZoneFacts(snapshot, now) {
|
|
|
4044
4080
|
if (lastTool) facts.push(clipText(lastTool, 20));
|
|
4045
4081
|
}
|
|
4046
4082
|
if (snapshot.errorMessage) facts.push(clipText(snapshot.errorMessage, 40));
|
|
4047
|
-
return { time, rest: facts };
|
|
4083
|
+
return { time, rest: facts, stalled: runProgressStalled(snapshot, now) };
|
|
4048
4084
|
}
|
|
4049
4085
|
var RUN_ZONE_COMPACT_ROWS = 16;
|
|
4050
4086
|
var RUN_ZONE_TINY_ROWS = 10;
|
|
@@ -4075,20 +4111,22 @@ function formatRunZoneLines(snapshots, colorEnabled, now = Date.now(), maxRows =
|
|
|
4075
4111
|
const clock = remoteTaskClock(carrier, now);
|
|
4076
4112
|
const icon = runZoneLeadIcon(snapshot.status, carrier);
|
|
4077
4113
|
const label = runZoneLabel(snapshot, duplicateTitles);
|
|
4078
|
-
const { time, rest } = runZoneFacts(snapshot, clock ?? now);
|
|
4114
|
+
const { time, rest, stalled } = runZoneFacts(snapshot, clock ?? now);
|
|
4079
4115
|
const remoteFacts = remoteTaskFacts(carrier, now);
|
|
4080
4116
|
const hideCredits = remoteCostIsExplicitlyUnknown(carrier);
|
|
4081
4117
|
const base = hideCredits ? rest.filter((fact) => !fact.startsWith("\u26A1")) : rest;
|
|
4082
4118
|
const hasError = Boolean(snapshot.errorMessage);
|
|
4083
4119
|
let factList = [
|
|
4084
4120
|
...time && clock !== null ? [time] : [],
|
|
4121
|
+
// 停滞提示紧跟耗时:宽度不够被裁时,它比积分/工具名更该留在屏上。
|
|
4122
|
+
...stalled ? [t("runStalled")] : [],
|
|
4085
4123
|
...base,
|
|
4086
4124
|
...remoteFacts
|
|
4087
4125
|
];
|
|
4088
4126
|
let shownLabel = label;
|
|
4089
4127
|
if (columns !== void 0) {
|
|
4090
4128
|
const fixed = (l, f) => visibleWidth(`${icon} ${l}${f.length ? ` \xB7 ${f.join(" \xB7 ")}` : ""}`);
|
|
4091
|
-
const keep = time ? 1 : 0;
|
|
4129
|
+
const keep = (time && clock !== null ? 1 : 0) + (stalled ? 1 : 0);
|
|
4092
4130
|
while (factList.length > keep && fixed(label, factList) > columns) factList.pop();
|
|
4093
4131
|
if (fixed(label, factList) > columns) {
|
|
4094
4132
|
const tail = factList.length ? ` \xB7 ${factList.join(" \xB7 ")}` : "";
|
|
@@ -4102,7 +4140,7 @@ function formatRunZoneLines(snapshots, colorEnabled, now = Date.now(), maxRows =
|
|
|
4102
4140
|
continue;
|
|
4103
4141
|
}
|
|
4104
4142
|
lines.push(
|
|
4105
|
-
themeText(icon, runStatusTone(snapshot.status), true) + " " + themeText(shownLabel, "chrome", true) + themeText(factsPart, hasError ? "danger" : "chrome")
|
|
4143
|
+
themeText(icon, runStatusTone(snapshot.status), true) + " " + themeText(shownLabel, "chrome", true) + themeText(factsPart, hasError ? "danger" : stalled ? "warning" : "chrome")
|
|
4106
4144
|
);
|
|
4107
4145
|
}
|
|
4108
4146
|
const hidden = display.length - shown.length;
|
|
@@ -4815,6 +4853,7 @@ function snapshotFromRunRecord(record, now) {
|
|
|
4815
4853
|
const endedAt = readTimestamp(record.endedAt);
|
|
4816
4854
|
const activity = record.activity;
|
|
4817
4855
|
const counters = activity?.counters;
|
|
4856
|
+
const lastEventAtMs = activity?.lastEventAt ? Date.parse(activity.lastEventAt) : NaN;
|
|
4818
4857
|
let inFlight = null;
|
|
4819
4858
|
const raw = activity?.inFlight;
|
|
4820
4859
|
if (raw && !isAgentRunTerminalStatus(record.status)) {
|
|
@@ -4834,6 +4873,10 @@ function snapshotFromRunRecord(record, now) {
|
|
|
4834
4873
|
...startedAt !== void 0 ? { startedAt } : {},
|
|
4835
4874
|
...endedAt !== void 0 ? { finishedAt: endedAt } : {},
|
|
4836
4875
|
...typeof counters?.toolCalls === "number" ? { toolCallCount: counters.toolCalls } : {},
|
|
4876
|
+
// 纯推理 run(0 次工具调用)的心跳:模型调用次数 + 最后一次事件时刻。
|
|
4877
|
+
// 两者都来自记录里已有的字段,不新增任何采集。
|
|
4878
|
+
...typeof counters?.llmCalls === "number" ? { llmCallCount: counters.llmCalls } : {},
|
|
4879
|
+
...Number.isFinite(lastEventAtMs) ? { lastEventAt: lastEventAtMs } : {},
|
|
4837
4880
|
// 收尾自报的平台积分 → dock 行「⚡ x.xx 积分」。
|
|
4838
4881
|
...typeof record.credits === "number" && Number.isFinite(record.credits) ? { credits: record.credits } : {},
|
|
4839
4882
|
// note 在终态时是死因("orphaned: process gone…"),非终态时只是备注。
|
|
@@ -4849,6 +4892,9 @@ function fingerprint(snapshot) {
|
|
|
4849
4892
|
snapshot.title ?? "",
|
|
4850
4893
|
snapshot.unassigned ?? false,
|
|
4851
4894
|
snapshot.toolCallCount ?? -1,
|
|
4895
|
+
// 模型调用次数与事件时刻都是「变了就该重画」:纯推理 run 的心跳靠它们。
|
|
4896
|
+
snapshot.llmCallCount ?? -1,
|
|
4897
|
+
snapshot.lastEventAt ?? 0,
|
|
4852
4898
|
snapshot.errorMessage ?? "",
|
|
4853
4899
|
snapshot.finishedAt ?? 0,
|
|
4854
4900
|
snapshot.credits ?? -1,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
runSelfUpdate,
|
|
18
18
|
runSelfUpdateDetailed,
|
|
19
19
|
runStandaloneBundleUpdate
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HTLIKE5U.js";
|
|
21
21
|
import "./chunk-WACI5I6V.js";
|
|
22
22
|
import "./chunk-OLZBQWZU.js";
|
|
23
23
|
import "./chunk-LCBAMY2M.js";
|
|
@@ -25,8 +25,8 @@ import "./chunk-4SN6J65J.js";
|
|
|
25
25
|
import "./chunk-CF7PE763.js";
|
|
26
26
|
import "./chunk-R5GO3YZP.js";
|
|
27
27
|
import "./chunk-Y6ROFCZO.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-WAZ6BTSC.js";
|
|
29
|
+
import "./chunk-UNOILAZP.js";
|
|
30
30
|
import "./chunk-G3SUCT4W.js";
|
|
31
31
|
import "./chunk-4VNS5WPM.js";
|
|
32
32
|
export {
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
defaultLaunchWindowsUpdateHelper,
|
|
4
4
|
getWindowsUpdateStatus,
|
|
5
5
|
scheduleWindowsSelfUpdate
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-WAZ6BTSC.js";
|
|
7
|
+
import "./chunk-UNOILAZP.js";
|
|
8
8
|
import "./chunk-4VNS5WPM.js";
|
|
9
9
|
export {
|
|
10
10
|
buildWindowsUpdateHelperSource,
|