nolo-cli 0.205.0-alpha.2 → 0.206.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-PPB6JA5Y.js → agentDeleteCommand-NVXNQ2VQ.js} +7 -7
- package/{agentEmailCommands-XHDV5OQ2.js → agentEmailCommands-VUJOYASY.js} +7 -7
- package/{agentListCommands-66ZCC36P.js → agentListCommands-KDRCBFUE.js} +6 -6
- package/{agentMachineCommands-XHM2USMU.js → agentMachineCommands-TGZIF2SL.js} +5 -5
- package/{agentRecordCommands-X5YU4AGX.js → agentRecordCommands-DM5UHNZM.js} +7 -7
- package/{agentRunCommand-SINW3FLJ.js → agentRunCommand-T6JGFAFZ.js} +7 -7
- package/{agentRunControl-ABDUPJLX.js → agentRunControl-GOH5VSQU.js} +2 -2
- package/{agentRuntimeLocal-TLV4MITB.js → agentRuntimeLocal-N5S7NSJB.js} +2 -2
- package/{appDeleteCommands-3WZVRCAN.js → appDeleteCommands-VJNS4HSF.js} +6 -6
- package/{appDeployCommands-HQGQR2FV.js → appDeployCommands-HLZIEHUP.js} +6 -6
- package/{appDeployStatusCommands-XWK7B6VD.js → appDeployStatusCommands-PT64TF2T.js} +6 -6
- package/{appGetCommands-NR2SFXAG.js → appGetCommands-FM2ICAF7.js} +6 -6
- package/{appListCommands-UREKGWAC.js → appListCommands-QVC3TKQD.js} +6 -6
- package/{chunk-7C45ONOU.js → chunk-2PW2KOII.js} +1 -1
- package/{chunk-5EOHW7K3.js → chunk-3UCYYSKN.js} +4 -4
- package/{chunk-CDGCIP2L.js → chunk-3ZUXGHFS.js} +2 -2
- package/{chunk-YT65GYRP.js → chunk-4NWJ3Z3G.js} +1 -1
- package/{chunk-Y6ROFCZO.js → chunk-4O22PGNQ.js} +1 -0
- package/{chunk-3KUSLYEV.js → chunk-5ZBZHVMF.js} +7 -6
- package/{chunk-DGCIYDMU.js → chunk-73PRLLT6.js} +2 -2
- package/{chunk-PJILX6KS.js → chunk-BAPZCPYU.js} +1 -1
- package/{chunk-YHT3ZONH.js → chunk-D3DGBEYY.js} +1 -1
- package/{chunk-767YOSGT.js → chunk-DDVXTOFJ.js} +2 -2
- package/{chunk-5OV4MVQK.js → chunk-EVG6HQQ7.js} +1 -1
- package/{chunk-MNUOMXJH.js → chunk-PK5TD4ST.js} +3 -1
- package/{chunk-DDERKP4L.js → chunk-WC6TH54L.js} +3 -3
- package/{chunk-2BMURXSB.js → chunk-XPHZK3PJ.js} +4 -1
- package/{chunk-TYKUYQDP.js → chunk-ZRDUMMDG.js} +4 -3
- package/{commandRegistry-F5V2QBJ5.js → commandRegistry-PASVNTAX.js} +50 -50
- package/{dialogCommands-X3GNU6DC.js → dialogCommands-RYIONJLY.js} +7 -7
- package/{docCreateCommands-YDXECDNF.js → docCreateCommands-KC2V2RPX.js} +5 -5
- package/{docDeleteCommands-DPMHSXK7.js → docDeleteCommands-S2SDQL2S.js} +6 -6
- package/{docReadCommands-HH4TTBSR.js → docReadCommands-3YGFKAOZ.js} +5 -5
- package/{docUpdateCommands-74I6RA7U.js → docUpdateCommands-PU6MQTLW.js} +5 -5
- package/index.js +6 -6
- package/{localRuntimeAdapter-5BG42C3L.js → localRuntimeAdapter-5B7QODVK.js} +4 -4
- package/{machineCommands-HOOU3DI7.js → machineCommands-U3DO4TFR.js} +6 -6
- package/{machineWsRunDispatch-KUSLW2GE.js → machineWsRunDispatch-Y3IMIZO7.js} +6 -6
- package/package.json +1 -1
- package/{processSpawn-SOAV3FEV.js → processSpawn-ZU5QFM43.js} +1 -1
- package/{readlineWorkspace-GBI2NFXY.js → readlineWorkspace-32IDD2MQ.js} +11 -11
- package/{spaceCommands-SJJPZL7J.js → spaceCommands-4UWABUD7.js} +5 -5
- package/{updateCommands-N7K7TEU4.js → updateCommands-X23W5F73.js} +2 -2
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
resolveAgentRecordFromHybridStore,
|
|
14
14
|
sanitizeAgentRecordForCliOutput,
|
|
15
15
|
writeAgentRecord
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2PW2KOII.js";
|
|
17
17
|
import {
|
|
18
18
|
clearCliLocalRuntimePreparedAgentCache
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3UCYYSKN.js";
|
|
20
20
|
import {
|
|
21
21
|
readCredentialAvailability
|
|
22
22
|
} from "./chunk-W45PCJHS.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BAPZCPYU.js";
|
|
11
11
|
import {
|
|
12
12
|
parsePositiveFiniteNumberOrFallback
|
|
13
13
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
} from "./chunk-KX6YBIHG.js";
|
|
50
50
|
import {
|
|
51
51
|
resolveRunsDir
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PK5TD4ST.js";
|
|
53
53
|
import {
|
|
54
54
|
toErrorMessage
|
|
55
55
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-PJNFNEJE.js";
|
|
5
5
|
import {
|
|
6
6
|
findPowerShellExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XPHZK3PJ.js";
|
|
8
8
|
import {
|
|
9
9
|
resolvePlatformAuthToken
|
|
10
10
|
} from "./chunk-WPOKOKZA.js";
|
|
@@ -2338,6 +2338,8 @@ async function spawnLocalBackgroundRun(input, deps = {}) {
|
|
|
2338
2338
|
cwd: input.cwd,
|
|
2339
2339
|
env: childEnv,
|
|
2340
2340
|
detached: true,
|
|
2341
|
+
// Detached on Windows means no console; hide the one its children would create.
|
|
2342
|
+
windowsHide: true,
|
|
2341
2343
|
stdio: deps.shellApprovalHost ? ["ignore", logFd, logFd, "ipc"] : ["ignore", logFd, logFd]
|
|
2342
2344
|
});
|
|
2343
2345
|
} catch (error) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3UCYYSKN.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
7
|
} from "./chunk-QSAUX2Q2.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZRDUMMDG.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
13
|
} from "./chunk-2Q3LOAFE.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
import {
|
|
36
36
|
readPipeText,
|
|
37
37
|
spawnProcess
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-4O22PGNQ.js";
|
|
39
39
|
import {
|
|
40
40
|
t
|
|
41
41
|
} from "./chunk-PPCUXO3E.js";
|
|
@@ -1595,7 +1595,10 @@ async function runWorkspaceCommand(args) {
|
|
|
1595
1595
|
"pipe",
|
|
1596
1596
|
"pipe"
|
|
1597
1597
|
],
|
|
1598
|
-
detached
|
|
1598
|
+
detached,
|
|
1599
|
+
// Windows: a child spawned from a console-less parent (e.g. a detached run) would
|
|
1600
|
+
// otherwise get its own flashing console window per command.
|
|
1601
|
+
windowsHide: true
|
|
1599
1602
|
});
|
|
1600
1603
|
if (args.stdin !== void 0 && proc.stdin) {
|
|
1601
1604
|
proc.stdin.write(args.stdin);
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
spillToolOutput,
|
|
213
213
|
toProcessTaskView,
|
|
214
214
|
truncateToolOutput
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-XPHZK3PJ.js";
|
|
216
216
|
import {
|
|
217
217
|
estimateTokenCount
|
|
218
218
|
} from "./chunk-PSCNXBYA.js";
|
|
@@ -15322,7 +15322,7 @@ async function runCommand(binary, args2, cwd, maxResults) {
|
|
|
15322
15322
|
return await new Promise((done4) => {
|
|
15323
15323
|
let stdout = "", stderr = "", recordCount = 0, stopped = false;
|
|
15324
15324
|
try {
|
|
15325
|
-
const child = spawnChildProcess(binary, args2, { cwd, stdio: ["ignore", "pipe", "pipe"] });
|
|
15325
|
+
const child = spawnChildProcess(binary, args2, { cwd, stdio: ["ignore", "pipe", "pipe"], windowsHide: true });
|
|
15326
15326
|
child.stdout.on("data", (chunk) => {
|
|
15327
15327
|
stdout += chunk.toString();
|
|
15328
15328
|
recordCount = parseMatches(cwd, stdout).length;
|
|
@@ -17608,7 +17608,8 @@ async function launchProcessTool(args2) {
|
|
|
17608
17608
|
const proc = spawnChildProcess2(cmdArgs[0] ?? "", cmdArgs.slice(1), {
|
|
17609
17609
|
cwd: resolve4(args2.workspaceRoot),
|
|
17610
17610
|
stdio: ["ignore", "pipe", "pipe"],
|
|
17611
|
-
detached
|
|
17611
|
+
detached,
|
|
17612
|
+
windowsHide: true
|
|
17612
17613
|
});
|
|
17613
17614
|
const stdoutCapture = createLaunchProcessStreamCapture();
|
|
17614
17615
|
const stderrCapture = createLaunchProcessStreamCapture();
|
|
@@ -112,7 +112,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
112
112
|
// packages/cli/agentInternalCommandEntries.ts
|
|
113
113
|
function getAgentInternalCommandEntries() {
|
|
114
114
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
115
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
115
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-T6JGFAFZ.js");
|
|
116
116
|
return runAgentRunCommand(args, {
|
|
117
117
|
env: ctx.env,
|
|
118
118
|
scriptDir: ctx.scriptDir,
|
|
@@ -124,11 +124,11 @@ function getAgentInternalCommandEntries() {
|
|
|
124
124
|
createAgentRunCommand(["run"], "Run a no-login local agent in this workspace"),
|
|
125
125
|
createAgentRunCommand(["chat"], "Chat with an agent"),
|
|
126
126
|
createEnvCommand(["agent", "list"], "List owned agents", async (args, deps) => {
|
|
127
|
-
const { runAgentListCommand } = await import("./agentListCommands-
|
|
127
|
+
const { runAgentListCommand } = await import("./agentListCommands-KDRCBFUE.js");
|
|
128
128
|
return runAgentListCommand(args, deps);
|
|
129
129
|
}),
|
|
130
130
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
131
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
131
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-DM5UHNZM.js");
|
|
132
132
|
return runAgentCreateCommand(args, deps);
|
|
133
133
|
}),
|
|
134
134
|
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) => {
|
|
@@ -144,28 +144,28 @@ function getAgentInternalCommandEntries() {
|
|
|
144
144
|
return runAgentPullCommand(args, deps);
|
|
145
145
|
}),
|
|
146
146
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
147
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
147
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-DM5UHNZM.js");
|
|
148
148
|
return runAgentReadCommand(args, deps);
|
|
149
149
|
}),
|
|
150
150
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
151
151
|
createEnvCommand(["agent", "ps"], "List active and recent local agent runs (--json for machine-readable output)", async (_args, deps) => {
|
|
152
|
-
const { runAgentPsCommand } = await import("./agentRunControl-
|
|
152
|
+
const { runAgentPsCommand } = await import("./agentRunControl-GOH5VSQU.js");
|
|
153
153
|
return runAgentPsCommand(_args, { ...deps, output: process.stdout });
|
|
154
154
|
}),
|
|
155
155
|
createEnvCommand(["agent", "status"], "Show status of a local agent run (--json, --include-checkpoint, --watch, --interval-ms N)", async (args, deps) => {
|
|
156
|
-
const { runAgentStatusCommand } = await import("./agentRunControl-
|
|
156
|
+
const { runAgentStatusCommand } = await import("./agentRunControl-GOH5VSQU.js");
|
|
157
157
|
return runAgentStatusCommand(args, { ...deps, output: process.stdout });
|
|
158
158
|
}),
|
|
159
159
|
createEnvCommand(["agent", "logs"], "Show logs of a local agent run", async (args, deps) => {
|
|
160
|
-
const { runAgentLogsCommand } = await import("./agentRunControl-
|
|
160
|
+
const { runAgentLogsCommand } = await import("./agentRunControl-GOH5VSQU.js");
|
|
161
161
|
return runAgentLogsCommand(args, { ...deps, output: process.stdout });
|
|
162
162
|
}),
|
|
163
163
|
createEnvCommand(["agent", "stop"], "Stop a local agent run", async (args, deps) => {
|
|
164
|
-
const { runAgentStopCommand } = await import("./agentRunControl-
|
|
164
|
+
const { runAgentStopCommand } = await import("./agentRunControl-GOH5VSQU.js");
|
|
165
165
|
return runAgentStopCommand(args, { ...deps, output: process.stdout });
|
|
166
166
|
}),
|
|
167
167
|
createEnvCommand(["agent", "kill"], "Kill a local agent run", async (args, deps) => {
|
|
168
|
-
const { runAgentKillCommand } = await import("./agentRunControl-
|
|
168
|
+
const { runAgentKillCommand } = await import("./agentRunControl-GOH5VSQU.js");
|
|
169
169
|
return runAgentKillCommand(args, { ...deps, output: process.stdout });
|
|
170
170
|
}),
|
|
171
171
|
createEnvCommand(["agent", "setup-offline-marxists"], "Create or update the Marxists.org offline book agent", async (args, deps) => {
|
|
@@ -173,31 +173,31 @@ function getAgentInternalCommandEntries() {
|
|
|
173
173
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
174
174
|
}),
|
|
175
175
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
176
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
176
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-DM5UHNZM.js");
|
|
177
177
|
return runAgentUpdateCommand(args, deps);
|
|
178
178
|
}),
|
|
179
179
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
180
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
180
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-VUJOYASY.js");
|
|
181
181
|
return runAgentEmailProvisionCommand(args, deps);
|
|
182
182
|
}),
|
|
183
183
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
184
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
184
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-VUJOYASY.js");
|
|
185
185
|
return runAgentEmailBindCommand(args, deps);
|
|
186
186
|
}),
|
|
187
187
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
188
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
188
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-VUJOYASY.js");
|
|
189
189
|
return runAgentEmailTransferCommand(args, deps);
|
|
190
190
|
}),
|
|
191
191
|
createEnvCommand(
|
|
192
192
|
["agent", "email", "create-and-provision"],
|
|
193
193
|
"Create an agent and provision its controlled inbox",
|
|
194
194
|
async (args, deps) => {
|
|
195
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
195
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-VUJOYASY.js");
|
|
196
196
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
197
197
|
}
|
|
198
198
|
),
|
|
199
199
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
200
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
200
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-NVXNQ2VQ.js");
|
|
201
201
|
return runAgentDeleteCommand(args, deps);
|
|
202
202
|
}),
|
|
203
203
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -217,15 +217,15 @@ function getAgentInternalCommandEntries() {
|
|
|
217
217
|
return runAgentRevokeGrantCommand(args, deps);
|
|
218
218
|
}),
|
|
219
219
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
220
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
220
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-TGZIF2SL.js");
|
|
221
221
|
return runAgentBindCurrentCommand(args, deps);
|
|
222
222
|
}),
|
|
223
223
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
224
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
224
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-TGZIF2SL.js");
|
|
225
225
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
226
226
|
}),
|
|
227
227
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
228
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
228
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-TGZIF2SL.js");
|
|
229
229
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
230
230
|
}),
|
|
231
231
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -236,23 +236,23 @@ function getAgentInternalCommandEntries() {
|
|
|
236
236
|
function getAppInternalCommandEntries() {
|
|
237
237
|
return [
|
|
238
238
|
createEnvCommand(["app", "list"], "List your apps", async (args, deps) => {
|
|
239
|
-
const { runAppListCommand } = await import("./appListCommands-
|
|
239
|
+
const { runAppListCommand } = await import("./appListCommands-QVC3TKQD.js");
|
|
240
240
|
return runAppListCommand(args, deps);
|
|
241
241
|
}),
|
|
242
242
|
createEnvCommand(["app", "get"], "Get app details", async (args, deps) => {
|
|
243
|
-
const { runAppGetCommand } = await import("./appGetCommands-
|
|
243
|
+
const { runAppGetCommand } = await import("./appGetCommands-FM2ICAF7.js");
|
|
244
244
|
return runAppGetCommand(args, deps);
|
|
245
245
|
}),
|
|
246
246
|
createEnvCommand(["app", "deploy"], "Deploy an app", async (args, deps) => {
|
|
247
|
-
const { runAppDeployCommand } = await import("./appDeployCommands-
|
|
247
|
+
const { runAppDeployCommand } = await import("./appDeployCommands-HLZIEHUP.js");
|
|
248
248
|
return runAppDeployCommand(args, deps);
|
|
249
249
|
}),
|
|
250
250
|
createEnvCommand(["app", "deploy", "status"], "Check app deploy status", async (args, deps) => {
|
|
251
|
-
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-
|
|
251
|
+
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-PT64TF2T.js");
|
|
252
252
|
return runAppDeployStatusCommand(args, deps);
|
|
253
253
|
}),
|
|
254
254
|
createEnvCommand(["app", "delete"], "Delete an app", async (args, deps) => {
|
|
255
|
-
const { runAppDeleteCommand } = await import("./appDeleteCommands-
|
|
255
|
+
const { runAppDeleteCommand } = await import("./appDeleteCommands-VJNS4HSF.js");
|
|
256
256
|
return runAppDeleteCommand(args, deps);
|
|
257
257
|
})
|
|
258
258
|
];
|
|
@@ -407,27 +407,27 @@ function getCiInternalCommandEntries() {
|
|
|
407
407
|
function getDialogInternalCommandEntries() {
|
|
408
408
|
return [
|
|
409
409
|
createEnvCommand(["dialog", "search"], "Search dialog messages across dialogs", async (args, deps) => {
|
|
410
|
-
const { runDialogSearchCommand } = await import("./dialogCommands-
|
|
410
|
+
const { runDialogSearchCommand } = await import("./dialogCommands-RYIONJLY.js");
|
|
411
411
|
return runDialogSearchCommand(args, deps);
|
|
412
412
|
}),
|
|
413
413
|
createEnvCommand(["dialog", "list"], "List dialogs (default --limit 50; --all/--limit 0 full; --jsonl streams)", async (args, deps) => {
|
|
414
|
-
const { runDialogListCommand } = await import("./dialogCommands-
|
|
414
|
+
const { runDialogListCommand } = await import("./dialogCommands-RYIONJLY.js");
|
|
415
415
|
return runDialogListCommand(args, deps);
|
|
416
416
|
}),
|
|
417
417
|
createEnvCommand(["dialog", "delete"], "Delete one or more dialogs", async (args, deps) => {
|
|
418
|
-
const { runDialogDeleteCommand } = await import("./dialogCommands-
|
|
418
|
+
const { runDialogDeleteCommand } = await import("./dialogCommands-RYIONJLY.js");
|
|
419
419
|
return runDialogDeleteCommand(args, deps);
|
|
420
420
|
}),
|
|
421
421
|
createEnvCommand(["dialog", "query"], "Query dialogs by subject refs (default --limit 50; --all full; --jsonl streams)", async (args, deps) => {
|
|
422
|
-
const { runDialogQueryCommand } = await import("./dialogCommands-
|
|
422
|
+
const { runDialogQueryCommand } = await import("./dialogCommands-RYIONJLY.js");
|
|
423
423
|
return runDialogQueryCommand(args, deps);
|
|
424
424
|
}),
|
|
425
425
|
createEnvCommand(["dialog", "read"], "Read a dialog", async (args, deps) => {
|
|
426
|
-
const { runDialogReadCommand } = await import("./dialogCommands-
|
|
426
|
+
const { runDialogReadCommand } = await import("./dialogCommands-RYIONJLY.js");
|
|
427
427
|
return runDialogReadCommand(args, deps);
|
|
428
428
|
}),
|
|
429
429
|
createEnvCommand(["dialog", "status"], "Read compact dialog status", async (args, deps) => {
|
|
430
|
-
const { runDialogStatusCommand } = await import("./dialogCommands-
|
|
430
|
+
const { runDialogStatusCommand } = await import("./dialogCommands-RYIONJLY.js");
|
|
431
431
|
return runDialogStatusCommand(args, deps);
|
|
432
432
|
})
|
|
433
433
|
];
|
|
@@ -437,39 +437,39 @@ function getDialogInternalCommandEntries() {
|
|
|
437
437
|
function getDocInternalCommandEntries() {
|
|
438
438
|
return [
|
|
439
439
|
createEnvCommand(["doc", "create"], "Create a normal doc", async (args, deps) => {
|
|
440
|
-
const { runDocCreateCommand } = await import("./docCreateCommands-
|
|
440
|
+
const { runDocCreateCommand } = await import("./docCreateCommands-KC2V2RPX.js");
|
|
441
441
|
return runDocCreateCommand(args, deps);
|
|
442
442
|
}),
|
|
443
443
|
createEnvCommand(["doc", "read"], "Read a normal doc", async (args, deps) => {
|
|
444
|
-
const { runDocReadCommand } = await import("./docReadCommands-
|
|
444
|
+
const { runDocReadCommand } = await import("./docReadCommands-3YGFKAOZ.js");
|
|
445
445
|
return runDocReadCommand(args, deps);
|
|
446
446
|
}),
|
|
447
447
|
createEnvCommand(["doc", "update"], "Update a normal doc", async (args, deps) => {
|
|
448
|
-
const { runDocUpdateCommand } = await import("./docUpdateCommands-
|
|
448
|
+
const { runDocUpdateCommand } = await import("./docUpdateCommands-PU6MQTLW.js");
|
|
449
449
|
return runDocUpdateCommand(args, deps);
|
|
450
450
|
}),
|
|
451
451
|
createEnvCommand(["doc", "delete"], "Delete a normal doc", async (args, deps) => {
|
|
452
|
-
const { runDocDeleteCommand } = await import("./docDeleteCommands-
|
|
452
|
+
const { runDocDeleteCommand } = await import("./docDeleteCommands-S2SDQL2S.js");
|
|
453
453
|
return runDocDeleteCommand(args, deps);
|
|
454
454
|
}),
|
|
455
455
|
createEnvCommand(["skill-doc", "create"], "Create a skill-backed doc", async (args, deps) => {
|
|
456
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
456
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-KC2V2RPX.js");
|
|
457
457
|
return runSkillDocCreateCommand(args, deps);
|
|
458
458
|
}),
|
|
459
459
|
createEnvCommand(["skill", "create-doc"], "Create a skill-backed doc", async (args, deps) => {
|
|
460
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
460
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-KC2V2RPX.js");
|
|
461
461
|
return runSkillDocCreateCommand(args, deps);
|
|
462
462
|
}),
|
|
463
463
|
createEnvCommand(["skill-doc", "read"], "Read a skill doc", async (args, deps) => {
|
|
464
|
-
const { runSkillDocReadCommand } = await import("./docReadCommands-
|
|
464
|
+
const { runSkillDocReadCommand } = await import("./docReadCommands-3YGFKAOZ.js");
|
|
465
465
|
return runSkillDocReadCommand(args, deps);
|
|
466
466
|
}),
|
|
467
467
|
createEnvCommand(["skill-doc", "update"], "Update a skill doc", async (args, deps) => {
|
|
468
|
-
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-
|
|
468
|
+
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-PU6MQTLW.js");
|
|
469
469
|
return runSkillDocUpdateCommand(args, deps);
|
|
470
470
|
}),
|
|
471
471
|
createEnvCommand(["skill-doc", "delete"], "Delete a skill doc", async (args, deps) => {
|
|
472
|
-
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-
|
|
472
|
+
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-S2SDQL2S.js");
|
|
473
473
|
return runSkillDocDeleteCommand(args, deps);
|
|
474
474
|
})
|
|
475
475
|
];
|
|
@@ -497,19 +497,19 @@ function getMemoryInternalCommandEntries() {
|
|
|
497
497
|
function getSpaceInternalCommandEntries() {
|
|
498
498
|
return [
|
|
499
499
|
createEnvCommand(["space", "create"], "Create a space", async (args, deps) => {
|
|
500
|
-
const { runSpaceCreateCommand } = await import("./spaceCommands-
|
|
500
|
+
const { runSpaceCreateCommand } = await import("./spaceCommands-4UWABUD7.js");
|
|
501
501
|
return runSpaceCreateCommand(args, deps);
|
|
502
502
|
}),
|
|
503
503
|
createEnvCommand(["space", "invite"], "Invite an existing user to a space", async (args, deps) => {
|
|
504
|
-
const { runSpaceInviteCommand } = await import("./spaceCommands-
|
|
504
|
+
const { runSpaceInviteCommand } = await import("./spaceCommands-4UWABUD7.js");
|
|
505
505
|
return runSpaceInviteCommand(args, deps);
|
|
506
506
|
}),
|
|
507
507
|
createEnvCommand(["space", "accept-invite"], "Accept a space invite", async (args, deps) => {
|
|
508
|
-
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-
|
|
508
|
+
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-4UWABUD7.js");
|
|
509
509
|
return runSpaceAcceptInviteCommand(args, deps);
|
|
510
510
|
}),
|
|
511
511
|
createEnvCommand(["space", "upload"], "Upload a file to a space", async (args, deps) => {
|
|
512
|
-
const { runSpaceUploadCommand } = await import("./spaceCommands-
|
|
512
|
+
const { runSpaceUploadCommand } = await import("./spaceCommands-4UWABUD7.js");
|
|
513
513
|
return runSpaceUploadCommand(args, deps);
|
|
514
514
|
})
|
|
515
515
|
];
|
|
@@ -567,15 +567,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
567
567
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
568
568
|
}),
|
|
569
569
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
570
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
570
|
+
const { runMachineConnectCommand } = await import("./machineCommands-U3DO4TFR.js");
|
|
571
571
|
return runMachineConnectCommand(args, deps);
|
|
572
572
|
}),
|
|
573
573
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
574
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
574
|
+
const { runMachineConnectCommand } = await import("./machineCommands-U3DO4TFR.js");
|
|
575
575
|
return runMachineConnectCommand(args, deps);
|
|
576
576
|
}),
|
|
577
577
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
578
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
578
|
+
const { runMachineStatusCommand } = await import("./machineCommands-U3DO4TFR.js");
|
|
579
579
|
return runMachineStatusCommand(args, deps);
|
|
580
580
|
}),
|
|
581
581
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -583,7 +583,7 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
583
583
|
return runDoctorRuntimeCommand(args, deps);
|
|
584
584
|
}),
|
|
585
585
|
createContextCommand(["doctor"], "Show CLI doctor information", async (_args, ctx) => {
|
|
586
|
-
const { buildCliDoctorText, getCliInstallChannel, resolveSelfUpdateServerUrl } = await import("./updateCommands-
|
|
586
|
+
const { buildCliDoctorText, getCliInstallChannel, resolveSelfUpdateServerUrl } = await import("./updateCommands-X23W5F73.js");
|
|
587
587
|
const { isCompiledBinary } = await import("./cliEnvHelpers-BVYTMUPJ.js");
|
|
588
588
|
const serverUrl = resolveSelfUpdateServerUrl(ctx.env);
|
|
589
589
|
console.log(
|
|
@@ -600,7 +600,7 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
600
600
|
return 0;
|
|
601
601
|
}),
|
|
602
602
|
createContextCommand(["update"], t("updateDescription"), async (args, ctx) => {
|
|
603
|
-
const { resolveSelfUpdateServerUrl, runSelfUpdate, buildCliVersionText, getCliInstallChannel } = await import("./updateCommands-
|
|
603
|
+
const { resolveSelfUpdateServerUrl, runSelfUpdate, buildCliVersionText, getCliInstallChannel } = await import("./updateCommands-X23W5F73.js");
|
|
604
604
|
if (args.length > 0) {
|
|
605
605
|
const sub = args[0];
|
|
606
606
|
if (sub === "status") {
|
|
@@ -627,17 +627,17 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
627
627
|
return process.exitCode ?? 0;
|
|
628
628
|
}),
|
|
629
629
|
createContextCommand(["version"], "Show CLI version", async (_args, ctx) => {
|
|
630
|
-
const { buildCliVersionText } = await import("./updateCommands-
|
|
630
|
+
const { buildCliVersionText } = await import("./updateCommands-X23W5F73.js");
|
|
631
631
|
console.log(buildCliVersionText(ctx.packageInfo));
|
|
632
632
|
return 0;
|
|
633
633
|
}),
|
|
634
634
|
createContextCommand(["--version"], "Show CLI version", async (_args, ctx) => {
|
|
635
|
-
const { buildCliVersionText } = await import("./updateCommands-
|
|
635
|
+
const { buildCliVersionText } = await import("./updateCommands-X23W5F73.js");
|
|
636
636
|
console.log(buildCliVersionText(ctx.packageInfo));
|
|
637
637
|
return 0;
|
|
638
638
|
}),
|
|
639
639
|
createContextCommand(["-v"], "Show CLI version", async (_args, ctx) => {
|
|
640
|
-
const { buildCliVersionText } = await import("./updateCommands-
|
|
640
|
+
const { buildCliVersionText } = await import("./updateCommands-X23W5F73.js");
|
|
641
641
|
console.log(buildCliVersionText(ctx.packageInfo));
|
|
642
642
|
return 0;
|
|
643
643
|
}),
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
runDialogSearchCommand,
|
|
16
16
|
runDialogStatusCommand,
|
|
17
17
|
sortDialogs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DDVXTOFJ.js";
|
|
19
19
|
import "./chunk-ID4G2MAR.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-BAPZCPYU.js";
|
|
21
21
|
import "./chunk-Y5GCAMGP.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-2PW2KOII.js";
|
|
23
23
|
import "./chunk-VP3BINY7.js";
|
|
24
24
|
import "./chunk-LKZPX6YH.js";
|
|
25
25
|
import "./chunk-U7HTU2S7.js";
|
|
@@ -36,7 +36,7 @@ import "./chunk-GLKOYSRU.js";
|
|
|
36
36
|
import "./chunk-QQ56R7KS.js";
|
|
37
37
|
import "./chunk-OW765XBU.js";
|
|
38
38
|
import "./chunk-D2MDMY2M.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-ZRDUMMDG.js";
|
|
40
40
|
import "./chunk-ZNFJWEN4.js";
|
|
41
41
|
import "./chunk-JASKVAYJ.js";
|
|
42
42
|
import "./chunk-7NMNKOW5.js";
|
|
@@ -76,9 +76,9 @@ import "./chunk-ZC3CMUKU.js";
|
|
|
76
76
|
import "./chunk-LOEO7LRC.js";
|
|
77
77
|
import "./chunk-M2EJHDJP.js";
|
|
78
78
|
import "./chunk-YF4ZRVP3.js";
|
|
79
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-PK5TD4ST.js";
|
|
80
80
|
import "./chunk-PJNFNEJE.js";
|
|
81
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-XPHZK3PJ.js";
|
|
82
82
|
import "./chunk-PSCNXBYA.js";
|
|
83
83
|
import "./chunk-6UBGXX2W.js";
|
|
84
84
|
import "./chunk-WPOKOKZA.js";
|
|
@@ -92,7 +92,7 @@ import "./chunk-OLZBQWZU.js";
|
|
|
92
92
|
import "./chunk-LCBAMY2M.js";
|
|
93
93
|
import "./chunk-4SN6J65J.js";
|
|
94
94
|
import "./chunk-CF7PE763.js";
|
|
95
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-4O22PGNQ.js";
|
|
96
96
|
import "./chunk-PPCUXO3E.js";
|
|
97
97
|
import "./chunk-ECX3NKRD.js";
|
|
98
98
|
import "./chunk-XJWWBO34.js";
|
|
@@ -17,19 +17,19 @@ import {
|
|
|
17
17
|
resolveDocKind,
|
|
18
18
|
resolveWriteTargets,
|
|
19
19
|
writePageRecord
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4NWJ3Z3G.js";
|
|
21
21
|
import {
|
|
22
22
|
findPotentialSecrets,
|
|
23
23
|
formatSecretFindings
|
|
24
24
|
} from "./chunk-6QDYSCPW.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-2PW2KOII.js";
|
|
26
26
|
import "./chunk-U7HTU2S7.js";
|
|
27
27
|
import "./chunk-NBTY7YJF.js";
|
|
28
28
|
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-ZRDUMMDG.js";
|
|
33
33
|
import "./chunk-ZNFJWEN4.js";
|
|
34
34
|
import "./chunk-JASKVAYJ.js";
|
|
35
35
|
import "./chunk-7NMNKOW5.js";
|
|
@@ -69,7 +69,7 @@ import "./chunk-ZC3CMUKU.js";
|
|
|
69
69
|
import "./chunk-LOEO7LRC.js";
|
|
70
70
|
import "./chunk-M2EJHDJP.js";
|
|
71
71
|
import "./chunk-YF4ZRVP3.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-XPHZK3PJ.js";
|
|
73
73
|
import "./chunk-PSCNXBYA.js";
|
|
74
74
|
import "./chunk-6UBGXX2W.js";
|
|
75
75
|
import "./chunk-WPOKOKZA.js";
|
|
@@ -85,7 +85,7 @@ import "./chunk-OLZBQWZU.js";
|
|
|
85
85
|
import "./chunk-LCBAMY2M.js";
|
|
86
86
|
import "./chunk-4SN6J65J.js";
|
|
87
87
|
import "./chunk-CF7PE763.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-4O22PGNQ.js";
|
|
89
89
|
import {
|
|
90
90
|
t
|
|
91
91
|
} from "./chunk-PPCUXO3E.js";
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
requireTokenUser,
|
|
11
11
|
resolveDocKind,
|
|
12
12
|
resolveWriteTargets
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4NWJ3Z3G.js";
|
|
14
14
|
import {
|
|
15
15
|
deleteDbRecordOnServers
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-BAPZCPYU.js";
|
|
17
|
+
import "./chunk-2PW2KOII.js";
|
|
18
18
|
import "./chunk-U7HTU2S7.js";
|
|
19
19
|
import "./chunk-NBTY7YJF.js";
|
|
20
20
|
import "./chunk-OXME3PEE.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-ZRDUMMDG.js";
|
|
27
27
|
import "./chunk-ZNFJWEN4.js";
|
|
28
28
|
import "./chunk-JASKVAYJ.js";
|
|
29
29
|
import "./chunk-7NMNKOW5.js";
|
|
@@ -63,7 +63,7 @@ import "./chunk-ZC3CMUKU.js";
|
|
|
63
63
|
import "./chunk-LOEO7LRC.js";
|
|
64
64
|
import "./chunk-M2EJHDJP.js";
|
|
65
65
|
import "./chunk-YF4ZRVP3.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-XPHZK3PJ.js";
|
|
67
67
|
import "./chunk-PSCNXBYA.js";
|
|
68
68
|
import "./chunk-6UBGXX2W.js";
|
|
69
69
|
import "./chunk-WPOKOKZA.js";
|
|
@@ -79,7 +79,7 @@ import "./chunk-OLZBQWZU.js";
|
|
|
79
79
|
import "./chunk-LCBAMY2M.js";
|
|
80
80
|
import "./chunk-4SN6J65J.js";
|
|
81
81
|
import "./chunk-CF7PE763.js";
|
|
82
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-4O22PGNQ.js";
|
|
83
83
|
import {
|
|
84
84
|
t
|
|
85
85
|
} from "./chunk-PPCUXO3E.js";
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
requireTokenUser,
|
|
10
10
|
resolveDocKind,
|
|
11
11
|
resolveWriteTargets
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-4NWJ3Z3G.js";
|
|
13
|
+
import "./chunk-2PW2KOII.js";
|
|
14
14
|
import "./chunk-U7HTU2S7.js";
|
|
15
15
|
import "./chunk-NBTY7YJF.js";
|
|
16
16
|
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-ZRDUMMDG.js";
|
|
21
21
|
import "./chunk-ZNFJWEN4.js";
|
|
22
22
|
import "./chunk-JASKVAYJ.js";
|
|
23
23
|
import "./chunk-7NMNKOW5.js";
|
|
@@ -57,7 +57,7 @@ import "./chunk-ZC3CMUKU.js";
|
|
|
57
57
|
import "./chunk-LOEO7LRC.js";
|
|
58
58
|
import "./chunk-M2EJHDJP.js";
|
|
59
59
|
import "./chunk-YF4ZRVP3.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-XPHZK3PJ.js";
|
|
61
61
|
import "./chunk-PSCNXBYA.js";
|
|
62
62
|
import "./chunk-6UBGXX2W.js";
|
|
63
63
|
import "./chunk-WPOKOKZA.js";
|
|
@@ -73,7 +73,7 @@ import "./chunk-OLZBQWZU.js";
|
|
|
73
73
|
import "./chunk-LCBAMY2M.js";
|
|
74
74
|
import "./chunk-4SN6J65J.js";
|
|
75
75
|
import "./chunk-CF7PE763.js";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-4O22PGNQ.js";
|
|
77
77
|
import {
|
|
78
78
|
t
|
|
79
79
|
} from "./chunk-PPCUXO3E.js";
|