nolo-cli 0.80.0-alpha.2 → 0.82.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/{_executeModel-T3FPYFVF.js → _executeModel-L4LCNFID.js} +14 -14
- package/{agentDeleteCommand-JCDEGE35.js → agentDeleteCommand-JO62QZ7E.js} +7 -7
- package/{agentEmailCommands-IP5NOVLR.js → agentEmailCommands-L6URKRSF.js} +16 -16
- package/{agentListCommands-IWIHYQT3.js → agentListCommands-42BRETZW.js} +10 -10
- package/{agentMachineCommands-A2WJJOAL.js → agentMachineCommands-VXUHHR55.js} +7 -7
- package/{agentRecordCommands-2URSSQJS.js → agentRecordCommands-6RZXGAXV.js} +16 -16
- package/{agentRunCommand-HICCPFML.js → agentRunCommand-ZJTWUXLZ.js} +17 -17
- package/{agentRuntimeLocal-C3VUNWAT.js → agentRuntimeLocal-4D3XWDVB.js} +7 -7
- package/{agentSlice-EACXUOWW.js → agentSlice-43ORUHTC.js} +1 -1
- package/{appDeleteCommands-KYL3Z76U.js → appDeleteCommands-C2DIXP54.js} +8 -8
- package/{appDeployCommands-3RSNVJ7Q.js → appDeployCommands-GCIRWWTW.js} +8 -8
- package/{appDeployStatusCommands-2Z4N3G2G.js → appDeployStatusCommands-XNUA52PJ.js} +8 -8
- package/{appGetCommands-J2WLYQRO.js → appGetCommands-CZMYMPOE.js} +8 -8
- package/{appListCommands-XT2ZCBMO.js → appListCommands-FHONUBTZ.js} +8 -8
- package/{chatQueueReduxAdapter-XEIJO5WR.js → chatQueueReduxAdapter-F3IRDXDQ.js} +2 -2
- package/{chunk-KSQLYFKT.js → chunk-36SHLXQT.js} +2 -2
- package/{chunk-ALGK6TIE.js → chunk-7QHSEMMD.js} +2 -2
- package/{chunk-Q6FF2MCK.js → chunk-BOYUESO7.js} +1 -1
- package/{chunk-ZLPA7K55.js → chunk-CPSZJBLK.js} +1 -1
- package/{chunk-AFIKMMGC.js → chunk-D6XYLSOS.js} +1 -1
- package/{chunk-P7FA2HMM.js → chunk-DAIOZ3ZO.js} +1 -1
- package/{chunk-DWPNOYMB.js → chunk-DUJWWUGV.js} +1 -1
- package/{chunk-FSFQ3A7S.js → chunk-FNGAF7C4.js} +2 -2
- package/{chunk-H7UKKEIS.js → chunk-GEH7MMBB.js} +1 -1
- package/{chunk-HI374WVI.js → chunk-IHJ7SPCB.js} +112 -19
- package/{chunk-QRBAZ5PW.js → chunk-IHTVDCWH.js} +2 -2
- package/{chunk-IPTKVTHL.js → chunk-J2ZTW4GL.js} +4 -4
- package/{chunk-D74EWXL4.js → chunk-J4R5XRX5.js} +8 -8
- package/{chunk-CDVGNZDA.js → chunk-JQBONKAV.js} +2 -2
- package/{chunk-L2Y24GRM.js → chunk-KVDUCO4Q.js} +3 -3
- package/{chunk-THWDM2R6.js → chunk-NEESH45U.js} +13 -13
- package/{chunk-QA6YKM3H.js → chunk-NRALD3CC.js} +1 -1
- package/{chunk-U6LKJRJB.js → chunk-QNWHWBB7.js} +4 -4
- package/{chunk-X7Z7U4Z6.js → chunk-QQ7SX52C.js} +5 -5
- package/{chunk-MEVSATIF.js → chunk-QQBO3LQW.js} +11 -11
- package/{chunk-L5E7NSWK.js → chunk-TJKMYL7C.js} +13 -13
- package/{chunk-AFIWC5NH.js → chunk-WL2RKIBF.js} +1 -1
- package/{chunk-QUH3XHL5.js → chunk-XKNBWXDH.js} +3 -3
- package/{chunk-FPTQQSS6.js → chunk-YWG6EMH3.js} +23 -2
- package/{chunk-V3ZKNK5D.js → chunk-ZVN6I33J.js} +5 -5
- package/{contentThunks-3SPROFG5.js → contentThunks-FSQPOFYG.js} +3 -3
- package/{createAgentAutomationAction-EIP2EG3O.js → createAgentAutomationAction-VCHDRJ6X.js} +3 -3
- package/{createDialogAction-RLUSTN4D.js → createDialogAction-KZM5IE4P.js} +4 -4
- package/{createPageAction-4Y52G7WG.js → createPageAction-IGMXJOY3.js} +3 -3
- package/{dialogCommands-IPCKBWGL.js → dialogCommands-B5BF434N.js} +8 -8
- package/{dialogSlice-THY45JWM.js → dialogSlice-YBTC3GAW.js} +2 -2
- package/{docCreateCommands-QGJ2IM64.js → docCreateCommands-LYUF6IJ4.js} +7 -7
- package/{docDeleteCommands-ZZXWBKNG.js → docDeleteCommands-3GIVHHIW.js} +8 -8
- package/{docReadCommands-FE37G3KU.js → docReadCommands-NP3GYLPJ.js} +7 -7
- package/{docStore-ZQ3ECOPY.js → docStore-SDPT23I6.js} +1 -1
- package/{docUpdateCommands-EOHC5LRT.js → docUpdateCommands-LBL3X555.js} +7 -7
- package/{handleSendMessageAction-CE4M5XIE.js → handleSendMessageAction-356IDG72.js} +2 -2
- package/index.js +40 -40
- package/{machineCommands-KSONYK2P.js → machineCommands-LZTFFRKQ.js} +15 -15
- package/{machineWsRunDispatch-RBSOKO6F.js → machineWsRunDispatch-2GOVXUW2.js} +15 -15
- package/package.json +1 -1
- package/{readlineWorkspace-WVK6LIF5.js → readlineWorkspace-OUPHJV5W.js} +56 -24
- package/{runAgentClientLoop-NE5EHXSS.js → runAgentClientLoop-DKUUFUKT.js} +12 -12
- package/{spaceCommands-FRU7SOMI.js → spaceCommands-NZJEGHCO.js} +7 -7
- package/{streamAgentChatTurn-A6L6O22P.js → streamAgentChatTurn-FHZZCANP.js} +14 -14
- package/{tools-JS475NYO.js → tools-QZJX3BIC.js} +10 -8
- package/{updateDialogTitleAction-GMZUT6RP.js → updateDialogTitleAction-JJPNGTAP.js} +3 -3
package/index.js
CHANGED
|
@@ -127,7 +127,7 @@ function createDaemonShortcutCommand(path, description, command2) {
|
|
|
127
127
|
// packages/cli/agentInternalCommandEntries.ts
|
|
128
128
|
function getAgentInternalCommandEntries() {
|
|
129
129
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args2, ctx) => {
|
|
130
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
130
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-ZJTWUXLZ.js");
|
|
131
131
|
return runAgentRunCommand(args2, {
|
|
132
132
|
env: ctx.env,
|
|
133
133
|
scriptDir: ctx.scriptDir,
|
|
@@ -139,11 +139,11 @@ function getAgentInternalCommandEntries() {
|
|
|
139
139
|
createAgentRunCommand(["run"], "Run a no-login local agent in this workspace"),
|
|
140
140
|
createAgentRunCommand(["chat"], "Chat with an agent"),
|
|
141
141
|
createEnvCommand(["agent", "list"], "List owned agents", async (args2, deps) => {
|
|
142
|
-
const { runAgentListCommand } = await import("./agentListCommands-
|
|
142
|
+
const { runAgentListCommand } = await import("./agentListCommands-42BRETZW.js");
|
|
143
143
|
return runAgentListCommand(args2, deps);
|
|
144
144
|
}),
|
|
145
145
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args2, deps) => {
|
|
146
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
146
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-6RZXGAXV.js");
|
|
147
147
|
return runAgentCreateCommand(args2, deps);
|
|
148
148
|
}),
|
|
149
149
|
createEnvCommand(["agent", "models"], "List models available on an OpenAI-compatible provider", async (args2, deps) => {
|
|
@@ -155,7 +155,7 @@ function getAgentInternalCommandEntries() {
|
|
|
155
155
|
return runAgentPullCommand(args2, deps);
|
|
156
156
|
}),
|
|
157
157
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args2, deps) => {
|
|
158
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
158
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-6RZXGAXV.js");
|
|
159
159
|
return runAgentReadCommand(args2, deps);
|
|
160
160
|
}),
|
|
161
161
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -184,31 +184,31 @@ function getAgentInternalCommandEntries() {
|
|
|
184
184
|
return runSetupOfflineMarxistsAgentCommand(args2, deps);
|
|
185
185
|
}),
|
|
186
186
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args2, deps) => {
|
|
187
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
187
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-6RZXGAXV.js");
|
|
188
188
|
return runAgentUpdateCommand(args2, deps);
|
|
189
189
|
}),
|
|
190
190
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args2, deps) => {
|
|
191
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
191
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-L6URKRSF.js");
|
|
192
192
|
return runAgentEmailProvisionCommand(args2, deps);
|
|
193
193
|
}),
|
|
194
194
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args2, deps) => {
|
|
195
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
195
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-L6URKRSF.js");
|
|
196
196
|
return runAgentEmailBindCommand(args2, deps);
|
|
197
197
|
}),
|
|
198
198
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args2, deps) => {
|
|
199
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
199
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-L6URKRSF.js");
|
|
200
200
|
return runAgentEmailTransferCommand(args2, deps);
|
|
201
201
|
}),
|
|
202
202
|
createEnvCommand(
|
|
203
203
|
["agent", "email", "create-and-provision"],
|
|
204
204
|
"Create an agent and provision its controlled inbox",
|
|
205
205
|
async (args2, deps) => {
|
|
206
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
206
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-L6URKRSF.js");
|
|
207
207
|
return runAgentEmailCreateAndProvisionCommand(args2, deps);
|
|
208
208
|
}
|
|
209
209
|
),
|
|
210
210
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args2, deps) => {
|
|
211
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
211
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-JO62QZ7E.js");
|
|
212
212
|
return runAgentDeleteCommand(args2, deps);
|
|
213
213
|
}),
|
|
214
214
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args2, deps) => {
|
|
@@ -224,15 +224,15 @@ function getAgentInternalCommandEntries() {
|
|
|
224
224
|
return runAgentRevokeGrantCommand(args2, deps);
|
|
225
225
|
}),
|
|
226
226
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args2, deps) => {
|
|
227
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
227
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-VXUHHR55.js");
|
|
228
228
|
return runAgentBindCurrentCommand(args2, deps);
|
|
229
229
|
}),
|
|
230
230
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args2, deps) => {
|
|
231
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
231
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-VXUHHR55.js");
|
|
232
232
|
return runAgentSmokeCurrentCommand(args2, deps);
|
|
233
233
|
}),
|
|
234
234
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args2, deps) => {
|
|
235
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
235
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-VXUHHR55.js");
|
|
236
236
|
return runAgentRuntimeDoctorCommand(args2, deps);
|
|
237
237
|
}),
|
|
238
238
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -243,23 +243,23 @@ function getAgentInternalCommandEntries() {
|
|
|
243
243
|
function getAppInternalCommandEntries() {
|
|
244
244
|
return [
|
|
245
245
|
createEnvCommand(["app", "list"], "List your apps", async (args2, deps) => {
|
|
246
|
-
const { runAppListCommand } = await import("./appListCommands-
|
|
246
|
+
const { runAppListCommand } = await import("./appListCommands-FHONUBTZ.js");
|
|
247
247
|
return runAppListCommand(args2, deps);
|
|
248
248
|
}),
|
|
249
249
|
createEnvCommand(["app", "get"], "Get app details", async (args2, deps) => {
|
|
250
|
-
const { runAppGetCommand } = await import("./appGetCommands-
|
|
250
|
+
const { runAppGetCommand } = await import("./appGetCommands-CZMYMPOE.js");
|
|
251
251
|
return runAppGetCommand(args2, deps);
|
|
252
252
|
}),
|
|
253
253
|
createEnvCommand(["app", "deploy"], "Deploy an app", async (args2, deps) => {
|
|
254
|
-
const { runAppDeployCommand } = await import("./appDeployCommands-
|
|
254
|
+
const { runAppDeployCommand } = await import("./appDeployCommands-GCIRWWTW.js");
|
|
255
255
|
return runAppDeployCommand(args2, deps);
|
|
256
256
|
}),
|
|
257
257
|
createEnvCommand(["app", "deploy", "status"], "Check app deploy status", async (args2, deps) => {
|
|
258
|
-
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-
|
|
258
|
+
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-XNUA52PJ.js");
|
|
259
259
|
return runAppDeployStatusCommand(args2, deps);
|
|
260
260
|
}),
|
|
261
261
|
createEnvCommand(["app", "delete"], "Delete an app", async (args2, deps) => {
|
|
262
|
-
const { runAppDeleteCommand } = await import("./appDeleteCommands-
|
|
262
|
+
const { runAppDeleteCommand } = await import("./appDeleteCommands-C2DIXP54.js");
|
|
263
263
|
return runAppDeleteCommand(args2, deps);
|
|
264
264
|
})
|
|
265
265
|
];
|
|
@@ -324,23 +324,23 @@ function getChromeInternalCommandEntries() {
|
|
|
324
324
|
function getDialogInternalCommandEntries() {
|
|
325
325
|
return [
|
|
326
326
|
createEnvCommand(["dialog", "list"], "List dialogs (default --limit 50; --all/--limit 0 full; --jsonl streams)", async (args2, deps) => {
|
|
327
|
-
const { runDialogListCommand } = await import("./dialogCommands-
|
|
327
|
+
const { runDialogListCommand } = await import("./dialogCommands-B5BF434N.js");
|
|
328
328
|
return runDialogListCommand(args2, deps);
|
|
329
329
|
}),
|
|
330
330
|
createEnvCommand(["dialog", "delete"], "Delete one or more dialogs", async (args2, deps) => {
|
|
331
|
-
const { runDialogDeleteCommand } = await import("./dialogCommands-
|
|
331
|
+
const { runDialogDeleteCommand } = await import("./dialogCommands-B5BF434N.js");
|
|
332
332
|
return runDialogDeleteCommand(args2, deps);
|
|
333
333
|
}),
|
|
334
334
|
createEnvCommand(["dialog", "query"], "Query dialogs by subject refs (default --limit 50; --all full; --jsonl streams)", async (args2, deps) => {
|
|
335
|
-
const { runDialogQueryCommand } = await import("./dialogCommands-
|
|
335
|
+
const { runDialogQueryCommand } = await import("./dialogCommands-B5BF434N.js");
|
|
336
336
|
return runDialogQueryCommand(args2, deps);
|
|
337
337
|
}),
|
|
338
338
|
createEnvCommand(["dialog", "read"], "Read a dialog", async (args2, deps) => {
|
|
339
|
-
const { runDialogReadCommand } = await import("./dialogCommands-
|
|
339
|
+
const { runDialogReadCommand } = await import("./dialogCommands-B5BF434N.js");
|
|
340
340
|
return runDialogReadCommand(args2, deps);
|
|
341
341
|
}),
|
|
342
342
|
createEnvCommand(["dialog", "status"], "Read compact dialog status", async (args2, deps) => {
|
|
343
|
-
const { runDialogStatusCommand } = await import("./dialogCommands-
|
|
343
|
+
const { runDialogStatusCommand } = await import("./dialogCommands-B5BF434N.js");
|
|
344
344
|
return runDialogStatusCommand(args2, deps);
|
|
345
345
|
})
|
|
346
346
|
];
|
|
@@ -350,39 +350,39 @@ function getDialogInternalCommandEntries() {
|
|
|
350
350
|
function getDocInternalCommandEntries() {
|
|
351
351
|
return [
|
|
352
352
|
createEnvCommand(["doc", "create"], "Create a normal doc", async (args2, deps) => {
|
|
353
|
-
const { runDocCreateCommand } = await import("./docCreateCommands-
|
|
353
|
+
const { runDocCreateCommand } = await import("./docCreateCommands-LYUF6IJ4.js");
|
|
354
354
|
return runDocCreateCommand(args2, deps);
|
|
355
355
|
}),
|
|
356
356
|
createEnvCommand(["doc", "read"], "Read a normal doc", async (args2, deps) => {
|
|
357
|
-
const { runDocReadCommand } = await import("./docReadCommands-
|
|
357
|
+
const { runDocReadCommand } = await import("./docReadCommands-NP3GYLPJ.js");
|
|
358
358
|
return runDocReadCommand(args2, deps);
|
|
359
359
|
}),
|
|
360
360
|
createEnvCommand(["doc", "update"], "Update a normal doc", async (args2, deps) => {
|
|
361
|
-
const { runDocUpdateCommand } = await import("./docUpdateCommands-
|
|
361
|
+
const { runDocUpdateCommand } = await import("./docUpdateCommands-LBL3X555.js");
|
|
362
362
|
return runDocUpdateCommand(args2, deps);
|
|
363
363
|
}),
|
|
364
364
|
createEnvCommand(["doc", "delete"], "Delete a normal doc", async (args2, deps) => {
|
|
365
|
-
const { runDocDeleteCommand } = await import("./docDeleteCommands-
|
|
365
|
+
const { runDocDeleteCommand } = await import("./docDeleteCommands-3GIVHHIW.js");
|
|
366
366
|
return runDocDeleteCommand(args2, deps);
|
|
367
367
|
}),
|
|
368
368
|
createEnvCommand(["skill-doc", "create"], "Create a skill-backed doc", async (args2, deps) => {
|
|
369
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
369
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-LYUF6IJ4.js");
|
|
370
370
|
return runSkillDocCreateCommand(args2, deps);
|
|
371
371
|
}),
|
|
372
372
|
createEnvCommand(["skill", "create-doc"], "Create a skill-backed doc", async (args2, deps) => {
|
|
373
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
373
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-LYUF6IJ4.js");
|
|
374
374
|
return runSkillDocCreateCommand(args2, deps);
|
|
375
375
|
}),
|
|
376
376
|
createEnvCommand(["skill-doc", "read"], "Read a skill doc", async (args2, deps) => {
|
|
377
|
-
const { runSkillDocReadCommand } = await import("./docReadCommands-
|
|
377
|
+
const { runSkillDocReadCommand } = await import("./docReadCommands-NP3GYLPJ.js");
|
|
378
378
|
return runSkillDocReadCommand(args2, deps);
|
|
379
379
|
}),
|
|
380
380
|
createEnvCommand(["skill-doc", "update"], "Update a skill doc", async (args2, deps) => {
|
|
381
|
-
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-
|
|
381
|
+
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-LBL3X555.js");
|
|
382
382
|
return runSkillDocUpdateCommand(args2, deps);
|
|
383
383
|
}),
|
|
384
384
|
createEnvCommand(["skill-doc", "delete"], "Delete a skill doc", async (args2, deps) => {
|
|
385
|
-
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-
|
|
385
|
+
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-3GIVHHIW.js");
|
|
386
386
|
return runSkillDocDeleteCommand(args2, deps);
|
|
387
387
|
})
|
|
388
388
|
];
|
|
@@ -410,19 +410,19 @@ function getMemoryInternalCommandEntries() {
|
|
|
410
410
|
function getSpaceInternalCommandEntries() {
|
|
411
411
|
return [
|
|
412
412
|
createEnvCommand(["space", "create"], "Create a space", async (args2, deps) => {
|
|
413
|
-
const { runSpaceCreateCommand } = await import("./spaceCommands-
|
|
413
|
+
const { runSpaceCreateCommand } = await import("./spaceCommands-NZJEGHCO.js");
|
|
414
414
|
return runSpaceCreateCommand(args2, deps);
|
|
415
415
|
}),
|
|
416
416
|
createEnvCommand(["space", "invite"], "Invite an existing user to a space", async (args2, deps) => {
|
|
417
|
-
const { runSpaceInviteCommand } = await import("./spaceCommands-
|
|
417
|
+
const { runSpaceInviteCommand } = await import("./spaceCommands-NZJEGHCO.js");
|
|
418
418
|
return runSpaceInviteCommand(args2, deps);
|
|
419
419
|
}),
|
|
420
420
|
createEnvCommand(["space", "accept-invite"], "Accept a space invite", async (args2, deps) => {
|
|
421
|
-
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-
|
|
421
|
+
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-NZJEGHCO.js");
|
|
422
422
|
return runSpaceAcceptInviteCommand(args2, deps);
|
|
423
423
|
}),
|
|
424
424
|
createEnvCommand(["space", "upload"], "Upload a file to a space", async (args2, deps) => {
|
|
425
|
-
const { runSpaceUploadCommand } = await import("./spaceCommands-
|
|
425
|
+
const { runSpaceUploadCommand } = await import("./spaceCommands-NZJEGHCO.js");
|
|
426
426
|
return runSpaceUploadCommand(args2, deps);
|
|
427
427
|
})
|
|
428
428
|
];
|
|
@@ -472,15 +472,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
472
472
|
return runWhoamiCommand({ args: args2, env: ctx.env });
|
|
473
473
|
}),
|
|
474
474
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args2, deps) => {
|
|
475
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
475
|
+
const { runMachineConnectCommand } = await import("./machineCommands-LZTFFRKQ.js");
|
|
476
476
|
return runMachineConnectCommand(args2, deps);
|
|
477
477
|
}),
|
|
478
478
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args2, deps) => {
|
|
479
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
479
|
+
const { runMachineConnectCommand } = await import("./machineCommands-LZTFFRKQ.js");
|
|
480
480
|
return runMachineConnectCommand(args2, deps);
|
|
481
481
|
}),
|
|
482
482
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args2, deps) => {
|
|
483
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
483
|
+
const { runMachineStatusCommand } = await import("./machineCommands-LZTFFRKQ.js");
|
|
484
484
|
return runMachineStatusCommand(args2, deps);
|
|
485
485
|
}),
|
|
486
486
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args2, deps) => {
|
|
@@ -875,7 +875,7 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
875
875
|
return proc.exited;
|
|
876
876
|
}
|
|
877
877
|
async function launchTuiWorkspace(args2) {
|
|
878
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
878
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-OUPHJV5W.js");
|
|
879
879
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-3Z24VUWM.js");
|
|
880
880
|
return startTuiWorkspace({
|
|
881
881
|
...args2,
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
buildMachinePermissionPromptBlock,
|
|
3
3
|
handleConnectorRunMessage,
|
|
4
4
|
resolveMachineRunPermissionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-J2ZTW4GL.js";
|
|
6
6
|
import {
|
|
7
7
|
isConnectorWebSocketAuthError,
|
|
8
8
|
isConnectorWebSocketRetryableError,
|
|
9
9
|
resolveConnectorWebSocketTarget
|
|
10
10
|
} from "./chunk-ALXHV7NK.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-NEESH45U.js";
|
|
12
12
|
import "./chunk-GBPZKFYK.js";
|
|
13
13
|
import "./chunk-QCZX4FTW.js";
|
|
14
14
|
import "./chunk-EADNWBAZ.js";
|
|
15
15
|
import "./chunk-HH65VA5U.js";
|
|
16
16
|
import "./chunk-DWUCB2A3.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-BOYUESO7.js";
|
|
18
18
|
import "./chunk-SPAQ4PVV.js";
|
|
19
19
|
import "./chunk-MP64VFGD.js";
|
|
20
20
|
import {
|
|
@@ -23,16 +23,16 @@ import {
|
|
|
23
23
|
import "./chunk-JBTJAPUF.js";
|
|
24
24
|
import "./chunk-3QPYFHAH.js";
|
|
25
25
|
import "./chunk-ATNTHIZI.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-7QHSEMMD.js";
|
|
27
27
|
import "./chunk-HS7MLR74.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-QQBO3LQW.js";
|
|
29
29
|
import "./chunk-5XTOKQLW.js";
|
|
30
30
|
import "./chunk-NF64D32W.js";
|
|
31
31
|
import {
|
|
32
32
|
CORE_DRAIN_REASON
|
|
33
33
|
} from "./chunk-3L2WKC3W.js";
|
|
34
34
|
import "./chunk-NTW5GWDM.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-YWG6EMH3.js";
|
|
36
36
|
import "./chunk-KQHGZWSV.js";
|
|
37
37
|
import "./chunk-UDQWGU7F.js";
|
|
38
38
|
import "./chunk-PZM3EENV.js";
|
|
@@ -43,16 +43,16 @@ import "./chunk-FZGV4FGK.js";
|
|
|
43
43
|
import "./chunk-MEYIRKDN.js";
|
|
44
44
|
import "./chunk-63W5N6P3.js";
|
|
45
45
|
import "./chunk-VF4K2QE6.js";
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-IHTVDCWH.js";
|
|
47
|
+
import "./chunk-JQBONKAV.js";
|
|
48
|
+
import "./chunk-DAIOZ3ZO.js";
|
|
49
49
|
import "./chunk-ZJ7UHBJS.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-J4R5XRX5.js";
|
|
51
51
|
import "./chunk-EVBFYPDC.js";
|
|
52
52
|
import "./chunk-HQUORJTM.js";
|
|
53
53
|
import "./chunk-YYLHWIW6.js";
|
|
54
54
|
import "./chunk-AGGIDPCZ.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-XKNBWXDH.js";
|
|
56
56
|
import "./chunk-BJCWNHVU.js";
|
|
57
57
|
import "./chunk-5RGU3J7P.js";
|
|
58
58
|
import "./chunk-6YTOJY35.js";
|
|
@@ -67,18 +67,18 @@ import "./chunk-KHCLMKZZ.js";
|
|
|
67
67
|
import {
|
|
68
68
|
PATH_FIELD_ALIASES,
|
|
69
69
|
createLocalWorkspaceToolExecutors
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-IHJ7SPCB.js";
|
|
71
71
|
import "./chunk-ZNFJWEN4.js";
|
|
72
72
|
import "./chunk-QC5LGHYP.js";
|
|
73
73
|
import "./chunk-KIS76A2P.js";
|
|
74
74
|
import "./chunk-CQ3WA2NE.js";
|
|
75
75
|
import "./chunk-N7J63Q6C.js";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-CPSZJBLK.js";
|
|
77
77
|
import "./chunk-PUOC4YRO.js";
|
|
78
|
+
import "./chunk-ZVN6I33J.js";
|
|
79
|
+
import "./chunk-CJCJF5XB.js";
|
|
78
80
|
import "./chunk-PGSKWZCB.js";
|
|
79
81
|
import "./chunk-CMH2SYHX.js";
|
|
80
|
-
import "./chunk-V3ZKNK5D.js";
|
|
81
|
-
import "./chunk-CJCJF5XB.js";
|
|
82
82
|
import "./chunk-2MBTWINN.js";
|
|
83
83
|
import "./chunk-DSRXPQWA.js";
|
|
84
84
|
import "./chunk-E36HZARC.js";
|
|
@@ -11,27 +11,27 @@ import {
|
|
|
11
11
|
runtimeWorkspacePermissionPolicy,
|
|
12
12
|
scopePermissionPolicyToRuntimeWorkspace,
|
|
13
13
|
summarizeAgentConfigForLogs
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-J2ZTW4GL.js";
|
|
15
|
+
import "./chunk-NEESH45U.js";
|
|
16
16
|
import "./chunk-GBPZKFYK.js";
|
|
17
17
|
import "./chunk-QCZX4FTW.js";
|
|
18
18
|
import "./chunk-EADNWBAZ.js";
|
|
19
19
|
import "./chunk-HH65VA5U.js";
|
|
20
20
|
import "./chunk-DWUCB2A3.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-BOYUESO7.js";
|
|
22
22
|
import "./chunk-SPAQ4PVV.js";
|
|
23
23
|
import "./chunk-MP64VFGD.js";
|
|
24
24
|
import "./chunk-JBTJAPUF.js";
|
|
25
25
|
import "./chunk-3QPYFHAH.js";
|
|
26
26
|
import "./chunk-ATNTHIZI.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-7QHSEMMD.js";
|
|
28
28
|
import "./chunk-HS7MLR74.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-QQBO3LQW.js";
|
|
30
30
|
import "./chunk-5XTOKQLW.js";
|
|
31
31
|
import "./chunk-NF64D32W.js";
|
|
32
32
|
import "./chunk-3L2WKC3W.js";
|
|
33
33
|
import "./chunk-NTW5GWDM.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-YWG6EMH3.js";
|
|
35
35
|
import "./chunk-KQHGZWSV.js";
|
|
36
36
|
import "./chunk-UDQWGU7F.js";
|
|
37
37
|
import "./chunk-PZM3EENV.js";
|
|
@@ -42,16 +42,16 @@ import "./chunk-FZGV4FGK.js";
|
|
|
42
42
|
import "./chunk-MEYIRKDN.js";
|
|
43
43
|
import "./chunk-63W5N6P3.js";
|
|
44
44
|
import "./chunk-VF4K2QE6.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-IHTVDCWH.js";
|
|
46
|
+
import "./chunk-JQBONKAV.js";
|
|
47
|
+
import "./chunk-DAIOZ3ZO.js";
|
|
48
48
|
import "./chunk-ZJ7UHBJS.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-J4R5XRX5.js";
|
|
50
50
|
import "./chunk-EVBFYPDC.js";
|
|
51
51
|
import "./chunk-HQUORJTM.js";
|
|
52
52
|
import "./chunk-YYLHWIW6.js";
|
|
53
53
|
import "./chunk-AGGIDPCZ.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-XKNBWXDH.js";
|
|
55
55
|
import "./chunk-BJCWNHVU.js";
|
|
56
56
|
import "./chunk-5RGU3J7P.js";
|
|
57
57
|
import "./chunk-6YTOJY35.js";
|
|
@@ -63,18 +63,18 @@ import "./chunk-3IT2PFHL.js";
|
|
|
63
63
|
import "./chunk-MYU3MJCF.js";
|
|
64
64
|
import "./chunk-AETZ7AD6.js";
|
|
65
65
|
import "./chunk-KHCLMKZZ.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-IHJ7SPCB.js";
|
|
67
67
|
import "./chunk-ZNFJWEN4.js";
|
|
68
68
|
import "./chunk-QC5LGHYP.js";
|
|
69
69
|
import "./chunk-KIS76A2P.js";
|
|
70
70
|
import "./chunk-CQ3WA2NE.js";
|
|
71
71
|
import "./chunk-N7J63Q6C.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-CPSZJBLK.js";
|
|
73
73
|
import "./chunk-PUOC4YRO.js";
|
|
74
|
+
import "./chunk-ZVN6I33J.js";
|
|
75
|
+
import "./chunk-CJCJF5XB.js";
|
|
74
76
|
import "./chunk-PGSKWZCB.js";
|
|
75
77
|
import "./chunk-CMH2SYHX.js";
|
|
76
|
-
import "./chunk-V3ZKNK5D.js";
|
|
77
|
-
import "./chunk-CJCJF5XB.js";
|
|
78
78
|
import "./chunk-2MBTWINN.js";
|
|
79
79
|
import "./chunk-DSRXPQWA.js";
|
|
80
80
|
import "./chunk-E36HZARC.js";
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
normalizeDialogRecord,
|
|
9
9
|
readDialogSnapshot,
|
|
10
10
|
sortDialogs
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FNGAF7C4.js";
|
|
12
12
|
import {
|
|
13
13
|
ANSI_ESCAPE_REGEX,
|
|
14
14
|
COLLAPSED_PASTE_PLACEHOLDER_RE,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
wrapTextToLines,
|
|
73
73
|
wrapTranscriptLine,
|
|
74
74
|
wrapTranscriptLineWithLayout
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-TJKMYL7C.js";
|
|
76
76
|
import "./chunk-S7Z2HMCN.js";
|
|
77
77
|
import {
|
|
78
78
|
listFavoriteAgentIdsAcrossServers,
|
|
@@ -80,12 +80,12 @@ import {
|
|
|
80
80
|
listRemoteAgents,
|
|
81
81
|
listRemoteAgentsAcrossServers,
|
|
82
82
|
normalizeListedAgent
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-KVDUCO4Q.js";
|
|
84
84
|
import "./chunk-ID4G2MAR.js";
|
|
85
85
|
import {
|
|
86
86
|
listUserRecordsFromServers,
|
|
87
87
|
readLiveDbRecordAfterTombstoneMerge
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-WL2RKIBF.js";
|
|
89
89
|
import "./chunk-JYYZCK2Z.js";
|
|
90
90
|
import {
|
|
91
91
|
RUN_WAKE_CHANNEL_ENV,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
readTimestamp,
|
|
97
97
|
setCliLocale,
|
|
98
98
|
t
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-NEESH45U.js";
|
|
100
100
|
import "./chunk-GBPZKFYK.js";
|
|
101
101
|
import "./chunk-QCZX4FTW.js";
|
|
102
102
|
import "./chunk-EADNWBAZ.js";
|
|
@@ -115,8 +115,8 @@ import {
|
|
|
115
115
|
deleteDbRecord,
|
|
116
116
|
queryUserRecords,
|
|
117
117
|
readDbRecord
|
|
118
|
-
} from "./chunk-
|
|
119
|
-
import "./chunk-
|
|
118
|
+
} from "./chunk-NRALD3CC.js";
|
|
119
|
+
import "./chunk-BOYUESO7.js";
|
|
120
120
|
import {
|
|
121
121
|
NOLO_DEFAULT_AGENT_KEY,
|
|
122
122
|
resolveCliAgentKeyInput
|
|
@@ -135,12 +135,12 @@ import "./chunk-ATNTHIZI.js";
|
|
|
135
135
|
import "./chunk-JEXVIMYZ.js";
|
|
136
136
|
import {
|
|
137
137
|
prepareTools
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-7QHSEMMD.js";
|
|
139
139
|
import {
|
|
140
140
|
buildResponseGuidelines
|
|
141
141
|
} from "./chunk-EOARMOVD.js";
|
|
142
142
|
import "./chunk-HS7MLR74.js";
|
|
143
|
-
import "./chunk-
|
|
143
|
+
import "./chunk-QQBO3LQW.js";
|
|
144
144
|
import "./chunk-5XTOKQLW.js";
|
|
145
145
|
import "./chunk-NF64D32W.js";
|
|
146
146
|
import "./chunk-3L2WKC3W.js";
|
|
@@ -155,7 +155,7 @@ import {
|
|
|
155
155
|
runShowsLogTail,
|
|
156
156
|
shortRunId
|
|
157
157
|
} from "./chunk-NTW5GWDM.js";
|
|
158
|
-
import "./chunk-
|
|
158
|
+
import "./chunk-YWG6EMH3.js";
|
|
159
159
|
import "./chunk-KQHGZWSV.js";
|
|
160
160
|
import "./chunk-UDQWGU7F.js";
|
|
161
161
|
import "./chunk-PZM3EENV.js";
|
|
@@ -166,18 +166,18 @@ import "./chunk-FZGV4FGK.js";
|
|
|
166
166
|
import "./chunk-MEYIRKDN.js";
|
|
167
167
|
import "./chunk-63W5N6P3.js";
|
|
168
168
|
import "./chunk-VF4K2QE6.js";
|
|
169
|
-
import "./chunk-
|
|
170
|
-
import "./chunk-
|
|
171
|
-
import "./chunk-
|
|
169
|
+
import "./chunk-IHTVDCWH.js";
|
|
170
|
+
import "./chunk-JQBONKAV.js";
|
|
171
|
+
import "./chunk-DAIOZ3ZO.js";
|
|
172
172
|
import "./chunk-ZJ7UHBJS.js";
|
|
173
173
|
import {
|
|
174
174
|
extractReferenceKeysFromMessage
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-J4R5XRX5.js";
|
|
176
176
|
import "./chunk-EVBFYPDC.js";
|
|
177
177
|
import "./chunk-HQUORJTM.js";
|
|
178
178
|
import "./chunk-YYLHWIW6.js";
|
|
179
179
|
import "./chunk-AGGIDPCZ.js";
|
|
180
|
-
import "./chunk-
|
|
180
|
+
import "./chunk-XKNBWXDH.js";
|
|
181
181
|
import "./chunk-BJCWNHVU.js";
|
|
182
182
|
import "./chunk-5RGU3J7P.js";
|
|
183
183
|
import "./chunk-6YTOJY35.js";
|
|
@@ -202,7 +202,7 @@ import {
|
|
|
202
202
|
buildLocalWorkspaceToolset,
|
|
203
203
|
getProcessRegistry,
|
|
204
204
|
readCommandActionGatePayload
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-IHJ7SPCB.js";
|
|
206
206
|
import "./chunk-ZNFJWEN4.js";
|
|
207
207
|
import "./chunk-QC5LGHYP.js";
|
|
208
208
|
import "./chunk-KIS76A2P.js";
|
|
@@ -212,16 +212,16 @@ import {
|
|
|
212
212
|
buildIdentityBlock,
|
|
213
213
|
buildRuntimeGuidanceBlocks,
|
|
214
214
|
resolveToolGuidedSections
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-CPSZJBLK.js";
|
|
216
216
|
import "./chunk-PUOC4YRO.js";
|
|
217
|
+
import "./chunk-ZVN6I33J.js";
|
|
218
|
+
import {
|
|
219
|
+
isQuotaExhaustedError
|
|
220
|
+
} from "./chunk-CJCJF5XB.js";
|
|
217
221
|
import "./chunk-PGSKWZCB.js";
|
|
218
222
|
import {
|
|
219
223
|
resolvePlatformAuthToken
|
|
220
224
|
} from "./chunk-CMH2SYHX.js";
|
|
221
|
-
import "./chunk-V3ZKNK5D.js";
|
|
222
|
-
import {
|
|
223
|
-
isQuotaExhaustedError
|
|
224
|
-
} from "./chunk-CJCJF5XB.js";
|
|
225
225
|
import "./chunk-2MBTWINN.js";
|
|
226
226
|
import {
|
|
227
227
|
DEFAULT_CONTEXT_WINDOW,
|
|
@@ -6749,13 +6749,32 @@ function createTurnInjectionInbox() {
|
|
|
6749
6749
|
|
|
6750
6750
|
// packages/cli/tui/processTerminalNotice.ts
|
|
6751
6751
|
function formatProcessTerminalWakeMessage(notices) {
|
|
6752
|
+
const missingCapsule = notices.some((notice) => !notice.resultCapsule);
|
|
6752
6753
|
return [
|
|
6753
6754
|
`<background_task_completion count="${notices.length}">`,
|
|
6754
|
-
...notices.
|
|
6755
|
-
|
|
6755
|
+
...notices.flatMap((notice) => [
|
|
6756
|
+
formatProcessTerminalNoticeLine(notice),
|
|
6757
|
+
...notice.resultCapsule ? formatProcessResultCapsuleLines(notice.resultCapsule) : []
|
|
6758
|
+
]),
|
|
6759
|
+
...missingCapsule ? ["\u751F\u547D\u5468\u671F\u8BE6\u60C5\u53EF\u7528 taskLogs(taskId)"] : [],
|
|
6756
6760
|
`</background_task_completion>`
|
|
6757
6761
|
].join("\n");
|
|
6758
6762
|
}
|
|
6763
|
+
function formatProcessResultCapsuleLines(capsule) {
|
|
6764
|
+
const meta = [];
|
|
6765
|
+
if (capsule.durationMs !== void 0) meta.push(`duration=${capsule.durationMs}ms`);
|
|
6766
|
+
meta.push(capsule.truncated ? "tail-only" : "full");
|
|
6767
|
+
const stream = (name, value) => [
|
|
6768
|
+
`--- ${name} ---`,
|
|
6769
|
+
...value.trim() ? value.replace(/\n+$/, "").split("\n") : ["(empty)"]
|
|
6770
|
+
];
|
|
6771
|
+
return [
|
|
6772
|
+
`result capsule (${meta.join(", ")})${capsule.spill ? `, full output: ${capsule.spill.displayPath} (${capsule.spill.totalChars} chars, ${capsule.spill.totalLines} lines)` : ""}:`,
|
|
6773
|
+
...capsule.captureError ? [`capture error: ${capsule.captureError}`] : [],
|
|
6774
|
+
...stream("stdout", capsule.stdout),
|
|
6775
|
+
...stream("stderr", capsule.stderr)
|
|
6776
|
+
];
|
|
6777
|
+
}
|
|
6759
6778
|
function formatProcessTerminalNoticeLine(notice) {
|
|
6760
6779
|
const informative = notice.label && notice.label.trim() !== "" && notice.label !== notice.command;
|
|
6761
6780
|
const label = informative ? ` (label: "${notice.label.replace(/(["\\])/g, "\\$1")}")` : "";
|
|
@@ -6776,7 +6795,20 @@ function buildProcessTaskCompletedTurnEvent(notice) {
|
|
|
6776
6795
|
displayText: formatProcessTerminalNoticeLine(notice)
|
|
6777
6796
|
};
|
|
6778
6797
|
}
|
|
6798
|
+
var PENDING_NOTICE_PREFIX = "process-notice-v1:";
|
|
6799
|
+
function serializePendingProcessNotice(notice) {
|
|
6800
|
+
return notice.resultCapsule ? `${PENDING_NOTICE_PREFIX}${JSON.stringify(notice)}` : formatProcessTerminalNoticeLine(notice);
|
|
6801
|
+
}
|
|
6779
6802
|
function parsePendingProcessNoticeLine(line) {
|
|
6803
|
+
if (line.startsWith(PENDING_NOTICE_PREFIX)) {
|
|
6804
|
+
try {
|
|
6805
|
+
const parsed = JSON.parse(line.slice(PENDING_NOTICE_PREFIX.length));
|
|
6806
|
+
if (parsed && typeof parsed.taskId === "string" && parsed.resultCapsule) {
|
|
6807
|
+
return parsed;
|
|
6808
|
+
}
|
|
6809
|
+
} catch {
|
|
6810
|
+
}
|
|
6811
|
+
}
|
|
6780
6812
|
const taskMatch = line.match(
|
|
6781
6813
|
/^\[Background task ([^ \]]+?)(?:\s+\(label: "((?:[^"\\]|\\.)*)"\))? finished: status=(\w+)(?: exitCode=(-?\d+))?\]$/
|
|
6782
6814
|
);
|
|
@@ -10662,7 +10694,7 @@ async function runTuiWorkspace(options) {
|
|
|
10662
10694
|
});
|
|
10663
10695
|
const pushPendingProcessNotice = (notice) => {
|
|
10664
10696
|
if (sessionEnded) return;
|
|
10665
|
-
const line =
|
|
10697
|
+
const line = serializePendingProcessNotice(notice);
|
|
10666
10698
|
state = {
|
|
10667
10699
|
...state,
|
|
10668
10700
|
pendingProcessNotices: [...state.pendingProcessNotices ?? [], line]
|