nolo-cli 0.159.0-alpha.4 → 0.160.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-VXWLHIUC.js → agentDeleteCommand-ON2KVSJ5.js} +3 -3
- package/{agentEmailCommands-2TQN6UIZ.js → agentEmailCommands-2QPD5VP3.js} +4 -4
- package/{agentListCommands-44UDONIY.js → agentListCommands-L33M3I6V.js} +1 -1
- package/{agentMachineCommands-KH7OSRWP.js → agentMachineCommands-V44DPSED.js} +2 -2
- package/{agentRecordCommands-6BNH5KK2.js → agentRecordCommands-CKILCNQZ.js} +4 -4
- package/{agentRunCommand-7MFXU4GK.js → agentRunCommand-6IN7NK7H.js} +4 -4
- package/{agentRunControl-USFIAK7X.js → agentRunControl-XBSNHHZE.js} +1 -1
- package/{agentRuntimeLocal-BAQON6BB.js → agentRuntimeLocal-XCKO5FVP.js} +1 -1
- package/{appDeleteCommands-R73W7UJM.js → appDeleteCommands-2PJFNLAJ.js} +1 -1
- package/{appDeployCommands-F65F6N63.js → appDeployCommands-AZCMCMK6.js} +1 -1
- package/{appDeployStatusCommands-CTRCXJJX.js → appDeployStatusCommands-HSIKPVJN.js} +1 -1
- package/{appGetCommands-VTQERXLK.js → appGetCommands-IUZCPAP7.js} +1 -1
- package/{appListCommands-MY3WFDYA.js → appListCommands-JLFVS44M.js} +1 -1
- package/{chunk-HBW2XA3L.js → chunk-2XDQAWBM.js} +1 -1
- package/{chunk-YNOXGQ7X.js → chunk-EVPKKBSI.js} +2 -2
- package/{chunk-TK2AX7M6.js → chunk-JSB2OPQT.js} +68 -4
- package/{chunk-B5JIGIKM.js → chunk-K25WQPP3.js} +186 -28
- package/{chunk-QV3VGSX6.js → chunk-SNAWGDXT.js} +260 -1
- package/{chunk-SCQT4CRF.js → chunk-UY73HNIN.js} +4 -4
- package/{chunk-NWKPVIHL.js → chunk-ZSLIYVIQ.js} +1 -1
- package/{commandRegistry-3JCFSTBQ.js → commandRegistry-A4OR4B4L.js} +45 -45
- package/{dialogCommands-FDQPV6GO.js → dialogCommands-KMECTGCW.js} +3 -3
- package/{docCreateCommands-Z5KKWS2C.js → docCreateCommands-4IT5PUAL.js} +1 -1
- package/{docDeleteCommands-YTGMEQ4I.js → docDeleteCommands-QS66YNZV.js} +1 -1
- package/{docReadCommands-SK2CLD2S.js → docReadCommands-3SAI46YC.js} +1 -1
- package/{docUpdateCommands-SI4PL2L3.js → docUpdateCommands-OGYG5BRC.js} +1 -1
- package/index.js +3 -3
- package/{localRuntimeAdapter-TVIGJ3PU.js → localRuntimeAdapter-MO64KEOS.js} +3 -3
- package/{machineCommands-EYP73LBU.js → machineCommands-7MBJJY4K.js} +4 -4
- package/{machineWsRunDispatch-6QWYWIHP.js → machineWsRunDispatch-T4LFRJL3.js} +4 -4
- package/package.json +1 -1
- package/{readlineWorkspace-QBN246OU.js → readlineWorkspace-QHPB5LUC.js} +6 -43
- package/{spaceCommands-5WANPZMM.js → spaceCommands-WQMUCGV7.js} +1 -1
|
@@ -110,7 +110,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
110
110
|
// packages/cli/agentInternalCommandEntries.ts
|
|
111
111
|
function getAgentInternalCommandEntries() {
|
|
112
112
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
113
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
113
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-6IN7NK7H.js");
|
|
114
114
|
return runAgentRunCommand(args, {
|
|
115
115
|
env: ctx.env,
|
|
116
116
|
scriptDir: ctx.scriptDir,
|
|
@@ -122,11 +122,11 @@ function getAgentInternalCommandEntries() {
|
|
|
122
122
|
createAgentRunCommand(["run"], "Run a no-login local agent in this workspace"),
|
|
123
123
|
createAgentRunCommand(["chat"], "Chat with an agent"),
|
|
124
124
|
createEnvCommand(["agent", "list"], "List owned agents", async (args, deps) => {
|
|
125
|
-
const { runAgentListCommand } = await import("./agentListCommands-
|
|
125
|
+
const { runAgentListCommand } = await import("./agentListCommands-L33M3I6V.js");
|
|
126
126
|
return runAgentListCommand(args, deps);
|
|
127
127
|
}),
|
|
128
128
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
129
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
129
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-CKILCNQZ.js");
|
|
130
130
|
return runAgentCreateCommand(args, deps);
|
|
131
131
|
}),
|
|
132
132
|
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) => {
|
|
@@ -142,28 +142,28 @@ function getAgentInternalCommandEntries() {
|
|
|
142
142
|
return runAgentPullCommand(args, deps);
|
|
143
143
|
}),
|
|
144
144
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
145
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
145
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-CKILCNQZ.js");
|
|
146
146
|
return runAgentReadCommand(args, deps);
|
|
147
147
|
}),
|
|
148
148
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
149
149
|
createEnvCommand(["agent", "ps"], "List active and recent local agent runs (--json for machine-readable output)", async (_args, deps) => {
|
|
150
|
-
const { runAgentPsCommand } = await import("./agentRunControl-
|
|
150
|
+
const { runAgentPsCommand } = await import("./agentRunControl-XBSNHHZE.js");
|
|
151
151
|
return runAgentPsCommand(_args, { ...deps, output: process.stdout });
|
|
152
152
|
}),
|
|
153
153
|
createEnvCommand(["agent", "status"], "Show status of a local agent run (--json, --watch, --interval-ms N)", async (args, deps) => {
|
|
154
|
-
const { runAgentStatusCommand } = await import("./agentRunControl-
|
|
154
|
+
const { runAgentStatusCommand } = await import("./agentRunControl-XBSNHHZE.js");
|
|
155
155
|
return runAgentStatusCommand(args, { ...deps, output: process.stdout });
|
|
156
156
|
}),
|
|
157
157
|
createEnvCommand(["agent", "logs"], "Show logs of a local agent run", async (args, deps) => {
|
|
158
|
-
const { runAgentLogsCommand } = await import("./agentRunControl-
|
|
158
|
+
const { runAgentLogsCommand } = await import("./agentRunControl-XBSNHHZE.js");
|
|
159
159
|
return runAgentLogsCommand(args, { ...deps, output: process.stdout });
|
|
160
160
|
}),
|
|
161
161
|
createEnvCommand(["agent", "stop"], "Stop a local agent run", async (args, deps) => {
|
|
162
|
-
const { runAgentStopCommand } = await import("./agentRunControl-
|
|
162
|
+
const { runAgentStopCommand } = await import("./agentRunControl-XBSNHHZE.js");
|
|
163
163
|
return runAgentStopCommand(args, { ...deps, output: process.stdout });
|
|
164
164
|
}),
|
|
165
165
|
createEnvCommand(["agent", "kill"], "Kill a local agent run", async (args, deps) => {
|
|
166
|
-
const { runAgentKillCommand } = await import("./agentRunControl-
|
|
166
|
+
const { runAgentKillCommand } = await import("./agentRunControl-XBSNHHZE.js");
|
|
167
167
|
return runAgentKillCommand(args, { ...deps, output: process.stdout });
|
|
168
168
|
}),
|
|
169
169
|
createEnvCommand(["agent", "setup-offline-marxists"], "Create or update the Marxists.org offline book agent", async (args, deps) => {
|
|
@@ -171,31 +171,31 @@ function getAgentInternalCommandEntries() {
|
|
|
171
171
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
172
172
|
}),
|
|
173
173
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
174
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
174
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-CKILCNQZ.js");
|
|
175
175
|
return runAgentUpdateCommand(args, deps);
|
|
176
176
|
}),
|
|
177
177
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
178
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
178
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-2QPD5VP3.js");
|
|
179
179
|
return runAgentEmailProvisionCommand(args, deps);
|
|
180
180
|
}),
|
|
181
181
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
182
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
182
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-2QPD5VP3.js");
|
|
183
183
|
return runAgentEmailBindCommand(args, deps);
|
|
184
184
|
}),
|
|
185
185
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
186
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
186
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-2QPD5VP3.js");
|
|
187
187
|
return runAgentEmailTransferCommand(args, deps);
|
|
188
188
|
}),
|
|
189
189
|
createEnvCommand(
|
|
190
190
|
["agent", "email", "create-and-provision"],
|
|
191
191
|
"Create an agent and provision its controlled inbox",
|
|
192
192
|
async (args, deps) => {
|
|
193
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
193
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-2QPD5VP3.js");
|
|
194
194
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
195
195
|
}
|
|
196
196
|
),
|
|
197
197
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
198
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
198
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-ON2KVSJ5.js");
|
|
199
199
|
return runAgentDeleteCommand(args, deps);
|
|
200
200
|
}),
|
|
201
201
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -211,15 +211,15 @@ function getAgentInternalCommandEntries() {
|
|
|
211
211
|
return runAgentRevokeGrantCommand(args, deps);
|
|
212
212
|
}),
|
|
213
213
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
214
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
214
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-V44DPSED.js");
|
|
215
215
|
return runAgentBindCurrentCommand(args, deps);
|
|
216
216
|
}),
|
|
217
217
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
218
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
218
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-V44DPSED.js");
|
|
219
219
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
220
220
|
}),
|
|
221
221
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
222
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
222
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-V44DPSED.js");
|
|
223
223
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
224
224
|
}),
|
|
225
225
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -230,23 +230,23 @@ function getAgentInternalCommandEntries() {
|
|
|
230
230
|
function getAppInternalCommandEntries() {
|
|
231
231
|
return [
|
|
232
232
|
createEnvCommand(["app", "list"], "List your apps", async (args, deps) => {
|
|
233
|
-
const { runAppListCommand } = await import("./appListCommands-
|
|
233
|
+
const { runAppListCommand } = await import("./appListCommands-JLFVS44M.js");
|
|
234
234
|
return runAppListCommand(args, deps);
|
|
235
235
|
}),
|
|
236
236
|
createEnvCommand(["app", "get"], "Get app details", async (args, deps) => {
|
|
237
|
-
const { runAppGetCommand } = await import("./appGetCommands-
|
|
237
|
+
const { runAppGetCommand } = await import("./appGetCommands-IUZCPAP7.js");
|
|
238
238
|
return runAppGetCommand(args, deps);
|
|
239
239
|
}),
|
|
240
240
|
createEnvCommand(["app", "deploy"], "Deploy an app", async (args, deps) => {
|
|
241
|
-
const { runAppDeployCommand } = await import("./appDeployCommands-
|
|
241
|
+
const { runAppDeployCommand } = await import("./appDeployCommands-AZCMCMK6.js");
|
|
242
242
|
return runAppDeployCommand(args, deps);
|
|
243
243
|
}),
|
|
244
244
|
createEnvCommand(["app", "deploy", "status"], "Check app deploy status", async (args, deps) => {
|
|
245
|
-
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-
|
|
245
|
+
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-HSIKPVJN.js");
|
|
246
246
|
return runAppDeployStatusCommand(args, deps);
|
|
247
247
|
}),
|
|
248
248
|
createEnvCommand(["app", "delete"], "Delete an app", async (args, deps) => {
|
|
249
|
-
const { runAppDeleteCommand } = await import("./appDeleteCommands-
|
|
249
|
+
const { runAppDeleteCommand } = await import("./appDeleteCommands-2PJFNLAJ.js");
|
|
250
250
|
return runAppDeleteCommand(args, deps);
|
|
251
251
|
})
|
|
252
252
|
];
|
|
@@ -374,27 +374,27 @@ function getCiInternalCommandEntries() {
|
|
|
374
374
|
function getDialogInternalCommandEntries() {
|
|
375
375
|
return [
|
|
376
376
|
createEnvCommand(["dialog", "search"], "Search dialog messages across dialogs", async (args, deps) => {
|
|
377
|
-
const { runDialogSearchCommand } = await import("./dialogCommands-
|
|
377
|
+
const { runDialogSearchCommand } = await import("./dialogCommands-KMECTGCW.js");
|
|
378
378
|
return runDialogSearchCommand(args, deps);
|
|
379
379
|
}),
|
|
380
380
|
createEnvCommand(["dialog", "list"], "List dialogs (default --limit 50; --all/--limit 0 full; --jsonl streams)", async (args, deps) => {
|
|
381
|
-
const { runDialogListCommand } = await import("./dialogCommands-
|
|
381
|
+
const { runDialogListCommand } = await import("./dialogCommands-KMECTGCW.js");
|
|
382
382
|
return runDialogListCommand(args, deps);
|
|
383
383
|
}),
|
|
384
384
|
createEnvCommand(["dialog", "delete"], "Delete one or more dialogs", async (args, deps) => {
|
|
385
|
-
const { runDialogDeleteCommand } = await import("./dialogCommands-
|
|
385
|
+
const { runDialogDeleteCommand } = await import("./dialogCommands-KMECTGCW.js");
|
|
386
386
|
return runDialogDeleteCommand(args, deps);
|
|
387
387
|
}),
|
|
388
388
|
createEnvCommand(["dialog", "query"], "Query dialogs by subject refs (default --limit 50; --all full; --jsonl streams)", async (args, deps) => {
|
|
389
|
-
const { runDialogQueryCommand } = await import("./dialogCommands-
|
|
389
|
+
const { runDialogQueryCommand } = await import("./dialogCommands-KMECTGCW.js");
|
|
390
390
|
return runDialogQueryCommand(args, deps);
|
|
391
391
|
}),
|
|
392
392
|
createEnvCommand(["dialog", "read"], "Read a dialog", async (args, deps) => {
|
|
393
|
-
const { runDialogReadCommand } = await import("./dialogCommands-
|
|
393
|
+
const { runDialogReadCommand } = await import("./dialogCommands-KMECTGCW.js");
|
|
394
394
|
return runDialogReadCommand(args, deps);
|
|
395
395
|
}),
|
|
396
396
|
createEnvCommand(["dialog", "status"], "Read compact dialog status", async (args, deps) => {
|
|
397
|
-
const { runDialogStatusCommand } = await import("./dialogCommands-
|
|
397
|
+
const { runDialogStatusCommand } = await import("./dialogCommands-KMECTGCW.js");
|
|
398
398
|
return runDialogStatusCommand(args, deps);
|
|
399
399
|
})
|
|
400
400
|
];
|
|
@@ -404,39 +404,39 @@ function getDialogInternalCommandEntries() {
|
|
|
404
404
|
function getDocInternalCommandEntries() {
|
|
405
405
|
return [
|
|
406
406
|
createEnvCommand(["doc", "create"], "Create a normal doc", async (args, deps) => {
|
|
407
|
-
const { runDocCreateCommand } = await import("./docCreateCommands-
|
|
407
|
+
const { runDocCreateCommand } = await import("./docCreateCommands-4IT5PUAL.js");
|
|
408
408
|
return runDocCreateCommand(args, deps);
|
|
409
409
|
}),
|
|
410
410
|
createEnvCommand(["doc", "read"], "Read a normal doc", async (args, deps) => {
|
|
411
|
-
const { runDocReadCommand } = await import("./docReadCommands-
|
|
411
|
+
const { runDocReadCommand } = await import("./docReadCommands-3SAI46YC.js");
|
|
412
412
|
return runDocReadCommand(args, deps);
|
|
413
413
|
}),
|
|
414
414
|
createEnvCommand(["doc", "update"], "Update a normal doc", async (args, deps) => {
|
|
415
|
-
const { runDocUpdateCommand } = await import("./docUpdateCommands-
|
|
415
|
+
const { runDocUpdateCommand } = await import("./docUpdateCommands-OGYG5BRC.js");
|
|
416
416
|
return runDocUpdateCommand(args, deps);
|
|
417
417
|
}),
|
|
418
418
|
createEnvCommand(["doc", "delete"], "Delete a normal doc", async (args, deps) => {
|
|
419
|
-
const { runDocDeleteCommand } = await import("./docDeleteCommands-
|
|
419
|
+
const { runDocDeleteCommand } = await import("./docDeleteCommands-QS66YNZV.js");
|
|
420
420
|
return runDocDeleteCommand(args, deps);
|
|
421
421
|
}),
|
|
422
422
|
createEnvCommand(["skill-doc", "create"], "Create a skill-backed doc", async (args, deps) => {
|
|
423
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
423
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-4IT5PUAL.js");
|
|
424
424
|
return runSkillDocCreateCommand(args, deps);
|
|
425
425
|
}),
|
|
426
426
|
createEnvCommand(["skill", "create-doc"], "Create a skill-backed doc", async (args, deps) => {
|
|
427
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
427
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-4IT5PUAL.js");
|
|
428
428
|
return runSkillDocCreateCommand(args, deps);
|
|
429
429
|
}),
|
|
430
430
|
createEnvCommand(["skill-doc", "read"], "Read a skill doc", async (args, deps) => {
|
|
431
|
-
const { runSkillDocReadCommand } = await import("./docReadCommands-
|
|
431
|
+
const { runSkillDocReadCommand } = await import("./docReadCommands-3SAI46YC.js");
|
|
432
432
|
return runSkillDocReadCommand(args, deps);
|
|
433
433
|
}),
|
|
434
434
|
createEnvCommand(["skill-doc", "update"], "Update a skill doc", async (args, deps) => {
|
|
435
|
-
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-
|
|
435
|
+
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-OGYG5BRC.js");
|
|
436
436
|
return runSkillDocUpdateCommand(args, deps);
|
|
437
437
|
}),
|
|
438
438
|
createEnvCommand(["skill-doc", "delete"], "Delete a skill doc", async (args, deps) => {
|
|
439
|
-
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-
|
|
439
|
+
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-QS66YNZV.js");
|
|
440
440
|
return runSkillDocDeleteCommand(args, deps);
|
|
441
441
|
})
|
|
442
442
|
];
|
|
@@ -464,19 +464,19 @@ function getMemoryInternalCommandEntries() {
|
|
|
464
464
|
function getSpaceInternalCommandEntries() {
|
|
465
465
|
return [
|
|
466
466
|
createEnvCommand(["space", "create"], "Create a space", async (args, deps) => {
|
|
467
|
-
const { runSpaceCreateCommand } = await import("./spaceCommands-
|
|
467
|
+
const { runSpaceCreateCommand } = await import("./spaceCommands-WQMUCGV7.js");
|
|
468
468
|
return runSpaceCreateCommand(args, deps);
|
|
469
469
|
}),
|
|
470
470
|
createEnvCommand(["space", "invite"], "Invite an existing user to a space", async (args, deps) => {
|
|
471
|
-
const { runSpaceInviteCommand } = await import("./spaceCommands-
|
|
471
|
+
const { runSpaceInviteCommand } = await import("./spaceCommands-WQMUCGV7.js");
|
|
472
472
|
return runSpaceInviteCommand(args, deps);
|
|
473
473
|
}),
|
|
474
474
|
createEnvCommand(["space", "accept-invite"], "Accept a space invite", async (args, deps) => {
|
|
475
|
-
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-
|
|
475
|
+
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-WQMUCGV7.js");
|
|
476
476
|
return runSpaceAcceptInviteCommand(args, deps);
|
|
477
477
|
}),
|
|
478
478
|
createEnvCommand(["space", "upload"], "Upload a file to a space", async (args, deps) => {
|
|
479
|
-
const { runSpaceUploadCommand } = await import("./spaceCommands-
|
|
479
|
+
const { runSpaceUploadCommand } = await import("./spaceCommands-WQMUCGV7.js");
|
|
480
480
|
return runSpaceUploadCommand(args, deps);
|
|
481
481
|
})
|
|
482
482
|
];
|
|
@@ -530,15 +530,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
530
530
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
531
531
|
}),
|
|
532
532
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
533
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
533
|
+
const { runMachineConnectCommand } = await import("./machineCommands-7MBJJY4K.js");
|
|
534
534
|
return runMachineConnectCommand(args, deps);
|
|
535
535
|
}),
|
|
536
536
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
537
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
537
|
+
const { runMachineConnectCommand } = await import("./machineCommands-7MBJJY4K.js");
|
|
538
538
|
return runMachineConnectCommand(args, deps);
|
|
539
539
|
}),
|
|
540
540
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
541
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
541
|
+
const { runMachineStatusCommand } = await import("./machineCommands-7MBJJY4K.js");
|
|
542
542
|
return runMachineStatusCommand(args, deps);
|
|
543
543
|
}),
|
|
544
544
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
runDialogSearchCommand,
|
|
16
16
|
runDialogStatusCommand,
|
|
17
17
|
sortDialogs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2XDQAWBM.js";
|
|
19
19
|
import "./chunk-ID4G2MAR.js";
|
|
20
20
|
import "./chunk-O2IWR23M.js";
|
|
21
21
|
import "./chunk-Y5GCAMGP.js";
|
|
@@ -30,7 +30,7 @@ import "./chunk-OFFL4DCR.js";
|
|
|
30
30
|
import "./chunk-QQ56R7KS.js";
|
|
31
31
|
import "./chunk-OW765XBU.js";
|
|
32
32
|
import "./chunk-D2MDMY2M.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-K25WQPP3.js";
|
|
34
34
|
import "./chunk-KMDDG73K.js";
|
|
35
35
|
import "./chunk-ZNFJWEN4.js";
|
|
36
36
|
import "./chunk-QXZH5UDF.js";
|
|
@@ -66,7 +66,7 @@ import "./chunk-M2EJHDJP.js";
|
|
|
66
66
|
import "./chunk-5EMSBTQ6.js";
|
|
67
67
|
import "./chunk-I42VC5KR.js";
|
|
68
68
|
import "./chunk-U6VC4MU4.js";
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-SNAWGDXT.js";
|
|
70
70
|
import "./chunk-PJNFNEJE.js";
|
|
71
71
|
import "./chunk-PSCNXBYA.js";
|
|
72
72
|
import "./chunk-GAGGEA7D.js";
|
|
@@ -29,7 +29,7 @@ import "./chunk-VF4K2QE6.js";
|
|
|
29
29
|
import "./chunk-UAD2WT54.js";
|
|
30
30
|
import "./chunk-AETZ7AD6.js";
|
|
31
31
|
import "./chunk-KHCLMKZZ.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-K25WQPP3.js";
|
|
33
33
|
import "./chunk-KMDDG73K.js";
|
|
34
34
|
import "./chunk-ZNFJWEN4.js";
|
|
35
35
|
import "./chunk-QXZH5UDF.js";
|
|
@@ -23,7 +23,7 @@ import "./chunk-UAD2WT54.js";
|
|
|
23
23
|
import "./chunk-D2MDMY2M.js";
|
|
24
24
|
import "./chunk-AETZ7AD6.js";
|
|
25
25
|
import "./chunk-KHCLMKZZ.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-K25WQPP3.js";
|
|
27
27
|
import "./chunk-KMDDG73K.js";
|
|
28
28
|
import "./chunk-ZNFJWEN4.js";
|
|
29
29
|
import "./chunk-QXZH5UDF.js";
|
|
@@ -17,7 +17,7 @@ import "./chunk-VF4K2QE6.js";
|
|
|
17
17
|
import "./chunk-UAD2WT54.js";
|
|
18
18
|
import "./chunk-AETZ7AD6.js";
|
|
19
19
|
import "./chunk-KHCLMKZZ.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-K25WQPP3.js";
|
|
21
21
|
import "./chunk-KMDDG73K.js";
|
|
22
22
|
import "./chunk-ZNFJWEN4.js";
|
|
23
23
|
import "./chunk-QXZH5UDF.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolvePageSkillMetadata
|
|
32
32
|
} from "./chunk-AETZ7AD6.js";
|
|
33
33
|
import "./chunk-KHCLMKZZ.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-K25WQPP3.js";
|
|
35
35
|
import "./chunk-KMDDG73K.js";
|
|
36
36
|
import "./chunk-ZNFJWEN4.js";
|
|
37
37
|
import "./chunk-QXZH5UDF.js";
|
package/index.js
CHANGED
|
@@ -71,9 +71,9 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
71
71
|
return proc.exited;
|
|
72
72
|
}
|
|
73
73
|
async function launchTuiWorkspace(args2) {
|
|
74
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
74
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-QHPB5LUC.js");
|
|
75
75
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-FESHBDTT.js");
|
|
76
|
-
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-
|
|
76
|
+
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-MO64KEOS.js");
|
|
77
77
|
setCliAutoCompactionSummaryFallback(
|
|
78
78
|
createTuiSummaryLlmCaller(args2.env, { timeoutMs: 3e4 })
|
|
79
79
|
);
|
|
@@ -85,7 +85,7 @@ async function launchTuiWorkspace(args2) {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
async function main() {
|
|
88
|
-
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-
|
|
88
|
+
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-A4OR4B4L.js");
|
|
89
89
|
const { buildCliRuntimeEnv, loadProfileConfig } = await import("./profileConfig-KN3N2BLF.js");
|
|
90
90
|
const { resolveTuiLaunchMode } = await import("./runtimeModeArgs-2Y7BALTO.js");
|
|
91
91
|
const runtimeEnv = {
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
withRuntimeEnabledPacksAndPrompt,
|
|
46
46
|
writeDialog,
|
|
47
47
|
writeLocalTokenRecord
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-UY73HNIN.js";
|
|
49
49
|
import "./chunk-G3VYRPTV.js";
|
|
50
50
|
import "./chunk-6MXDOUMH.js";
|
|
51
51
|
import "./chunk-2AB2HA4M.js";
|
|
@@ -125,7 +125,7 @@ import "./chunk-EUGTFFO6.js";
|
|
|
125
125
|
import "./chunk-AETZ7AD6.js";
|
|
126
126
|
import "./chunk-Y6ORVLSS.js";
|
|
127
127
|
import "./chunk-KHCLMKZZ.js";
|
|
128
|
-
import "./chunk-
|
|
128
|
+
import "./chunk-K25WQPP3.js";
|
|
129
129
|
import "./chunk-KMDDG73K.js";
|
|
130
130
|
import "./chunk-ZNFJWEN4.js";
|
|
131
131
|
import "./chunk-QXZH5UDF.js";
|
|
@@ -163,7 +163,7 @@ import "./chunk-I42VC5KR.js";
|
|
|
163
163
|
import "./chunk-U6VC4MU4.js";
|
|
164
164
|
import {
|
|
165
165
|
setRemoteDialogSyncTimeoutForTest
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-SNAWGDXT.js";
|
|
167
167
|
import "./chunk-PJNFNEJE.js";
|
|
168
168
|
import "./chunk-PSCNXBYA.js";
|
|
169
169
|
import "./chunk-FDLDMJTM.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
buildMachinePermissionPromptBlock,
|
|
3
3
|
handleConnectorRunMessage,
|
|
4
4
|
resolveMachineRunPermissionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EVPKKBSI.js";
|
|
6
6
|
import {
|
|
7
7
|
MAX_CONNECTOR_TIMER_DELAY_MS,
|
|
8
8
|
clampConnectorTimerDelayMs,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveConnectorProbeTimeoutMs,
|
|
12
12
|
resolveConnectorWebSocketTarget
|
|
13
13
|
} from "./chunk-BLVSFYQ3.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-UY73HNIN.js";
|
|
15
15
|
import "./chunk-G3VYRPTV.js";
|
|
16
16
|
import "./chunk-6MXDOUMH.js";
|
|
17
17
|
import "./chunk-2AB2HA4M.js";
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
PATH_FIELD_ALIASES,
|
|
100
100
|
createLocalWorkspaceToolExecutors,
|
|
101
101
|
resolveRequestedWorkspacePath
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-K25WQPP3.js";
|
|
103
103
|
import "./chunk-KMDDG73K.js";
|
|
104
104
|
import "./chunk-ZNFJWEN4.js";
|
|
105
105
|
import "./chunk-QXZH5UDF.js";
|
|
@@ -135,7 +135,7 @@ import "./chunk-M2EJHDJP.js";
|
|
|
135
135
|
import "./chunk-5EMSBTQ6.js";
|
|
136
136
|
import "./chunk-I42VC5KR.js";
|
|
137
137
|
import "./chunk-U6VC4MU4.js";
|
|
138
|
-
import "./chunk-
|
|
138
|
+
import "./chunk-SNAWGDXT.js";
|
|
139
139
|
import "./chunk-PJNFNEJE.js";
|
|
140
140
|
import "./chunk-PSCNXBYA.js";
|
|
141
141
|
import "./chunk-FDLDMJTM.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runtimeWorkspacePermissionPolicy,
|
|
12
12
|
scopePermissionPolicyToRuntimeWorkspace,
|
|
13
13
|
summarizeAgentConfigForLogs
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-EVPKKBSI.js";
|
|
15
|
+
import "./chunk-UY73HNIN.js";
|
|
16
16
|
import "./chunk-G3VYRPTV.js";
|
|
17
17
|
import "./chunk-6MXDOUMH.js";
|
|
18
18
|
import "./chunk-2AB2HA4M.js";
|
|
@@ -87,7 +87,7 @@ import "./chunk-EUGTFFO6.js";
|
|
|
87
87
|
import "./chunk-AETZ7AD6.js";
|
|
88
88
|
import "./chunk-Y6ORVLSS.js";
|
|
89
89
|
import "./chunk-KHCLMKZZ.js";
|
|
90
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-K25WQPP3.js";
|
|
91
91
|
import "./chunk-KMDDG73K.js";
|
|
92
92
|
import "./chunk-ZNFJWEN4.js";
|
|
93
93
|
import "./chunk-QXZH5UDF.js";
|
|
@@ -123,7 +123,7 @@ import "./chunk-M2EJHDJP.js";
|
|
|
123
123
|
import "./chunk-5EMSBTQ6.js";
|
|
124
124
|
import "./chunk-I42VC5KR.js";
|
|
125
125
|
import "./chunk-U6VC4MU4.js";
|
|
126
|
-
import "./chunk-
|
|
126
|
+
import "./chunk-SNAWGDXT.js";
|
|
127
127
|
import "./chunk-PJNFNEJE.js";
|
|
128
128
|
import "./chunk-PSCNXBYA.js";
|
|
129
129
|
import "./chunk-FDLDMJTM.js";
|
package/package.json
CHANGED
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
computeBaselineContextTokens,
|
|
35
35
|
countPhysicalLines,
|
|
36
36
|
createCollapsedPasteStore,
|
|
37
|
+
createIdleHeapReleaser,
|
|
37
38
|
detectSystemBrightnessFromEnv,
|
|
38
39
|
dimCliText,
|
|
39
40
|
displayWidth,
|
|
@@ -89,7 +90,7 @@ import {
|
|
|
89
90
|
wrapTextToLines,
|
|
90
91
|
wrapTranscriptLine,
|
|
91
92
|
wrapTranscriptLineWithLayout
|
|
92
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-JSB2OPQT.js";
|
|
93
94
|
import "./chunk-6QDYSCPW.js";
|
|
94
95
|
import "./chunk-ZAV4YVEA.js";
|
|
95
96
|
import {
|
|
@@ -101,7 +102,7 @@ import {
|
|
|
101
102
|
createCliLocalRuntimeAdapter,
|
|
102
103
|
createOriginShellGrant,
|
|
103
104
|
readTimestamp
|
|
104
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-UY73HNIN.js";
|
|
105
106
|
import "./chunk-G3VYRPTV.js";
|
|
106
107
|
import "./chunk-6MXDOUMH.js";
|
|
107
108
|
import {
|
|
@@ -122,7 +123,7 @@ import {
|
|
|
122
123
|
normalizeDialogRecord,
|
|
123
124
|
readDialogSnapshot,
|
|
124
125
|
sortDialogs
|
|
125
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-2XDQAWBM.js";
|
|
126
127
|
import "./chunk-ID4G2MAR.js";
|
|
127
128
|
import {
|
|
128
129
|
listUserRecordsFromServers,
|
|
@@ -228,7 +229,7 @@ import {
|
|
|
228
229
|
formatToolOverflowMarker,
|
|
229
230
|
getProcessRegistry,
|
|
230
231
|
readCommandActionGatePayload
|
|
231
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-K25WQPP3.js";
|
|
232
233
|
import "./chunk-KMDDG73K.js";
|
|
233
234
|
import "./chunk-ZNFJWEN4.js";
|
|
234
235
|
import "./chunk-QXZH5UDF.js";
|
|
@@ -319,7 +320,7 @@ import {
|
|
|
319
320
|
isRunRecordClaimed,
|
|
320
321
|
listRunRecords,
|
|
321
322
|
readRunRecord
|
|
322
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-SNAWGDXT.js";
|
|
323
324
|
import {
|
|
324
325
|
clipText,
|
|
325
326
|
formatDuration,
|
|
@@ -4922,44 +4923,6 @@ function createRunRegistryPoller(deps) {
|
|
|
4922
4923
|
};
|
|
4923
4924
|
}
|
|
4924
4925
|
|
|
4925
|
-
// packages/cli/tui/idleHeapRelease.ts
|
|
4926
|
-
var IDLE_HEAP_RELEASE_DELAY_MS = 2e3;
|
|
4927
|
-
function createIdleHeapReleaser(options = {}) {
|
|
4928
|
-
const env = options.env ?? process.env;
|
|
4929
|
-
const bun = "bun" in options ? options.bun : globalThis.Bun;
|
|
4930
|
-
const disabled = env.NOLO_TUI_IDLE_HEAP_RELEASE === "0" || typeof bun?.gc !== "function" || typeof bun?.shrink !== "function";
|
|
4931
|
-
if (disabled) return { schedule() {
|
|
4932
|
-
}, cancel() {
|
|
4933
|
-
} };
|
|
4934
|
-
const delayMs = options.delayMs ?? IDLE_HEAP_RELEASE_DELAY_MS;
|
|
4935
|
-
const setTimer = options.setTimer ?? ((fn, ms) => {
|
|
4936
|
-
const handle = setTimeout(fn, ms);
|
|
4937
|
-
handle.unref?.();
|
|
4938
|
-
return handle;
|
|
4939
|
-
});
|
|
4940
|
-
const clearTimer = options.clearTimer ?? ((handle) => clearTimeout(handle));
|
|
4941
|
-
let pending = null;
|
|
4942
|
-
const release = () => {
|
|
4943
|
-
pending = null;
|
|
4944
|
-
try {
|
|
4945
|
-
bun.gc(true);
|
|
4946
|
-
bun.shrink();
|
|
4947
|
-
} catch {
|
|
4948
|
-
}
|
|
4949
|
-
};
|
|
4950
|
-
return {
|
|
4951
|
-
schedule() {
|
|
4952
|
-
if (pending !== null) clearTimer(pending);
|
|
4953
|
-
pending = setTimer(release, delayMs);
|
|
4954
|
-
},
|
|
4955
|
-
cancel() {
|
|
4956
|
-
if (pending === null) return;
|
|
4957
|
-
clearTimer(pending);
|
|
4958
|
-
pending = null;
|
|
4959
|
-
}
|
|
4960
|
-
};
|
|
4961
|
-
}
|
|
4962
|
-
|
|
4963
4926
|
// packages/core/chat/internalTurnEvent.ts
|
|
4964
4927
|
function normalizeRunCompletionShape(record) {
|
|
4965
4928
|
const runId = String(record.runId ?? record.id ?? "");
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
resolveFileCategory
|
|
21
21
|
} from "./chunk-3PVYUPXK.js";
|
|
22
22
|
import "./chunk-D2MDMY2M.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-K25WQPP3.js";
|
|
24
24
|
import "./chunk-KMDDG73K.js";
|
|
25
25
|
import "./chunk-ZNFJWEN4.js";
|
|
26
26
|
import "./chunk-QXZH5UDF.js";
|