nolo-cli 0.12.0-alpha.11 → 0.12.0-alpha.12
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/{agentEmailCommands-VW5FKADD.js → agentEmailCommands-VQENDYL5.js} +2 -2
- package/{agentMachineCommands-T2R7HVRV.js → agentMachineCommands-Q3I3VDWS.js} +1 -1
- package/{agentRecordCommands-5DLPK3IV.js → agentRecordCommands-RY7CSPPL.js} +2 -2
- package/{agentRunCommand-P6EH5DN7.js → agentRunCommand-TGW6JFUW.js} +2 -2
- package/{chunk-LIO7AK5S.js → chunk-BTYBYAMP.js} +1 -1
- package/{chunk-E2BT7DBP.js → chunk-KGI44L4E.js} +1 -1
- package/{chunk-7HVCFCZK.js → chunk-UWNSWEEC.js} +9 -0
- package/{chunk-JHYLX2QV.js → chunk-YWSEVWQV.js} +1 -1
- package/index.js +15 -15
- package/{machineCommands-J5JWJQ6I.js → machineCommands-NGE4ZARV.js} +2 -2
- package/{machineWsRunDispatch-U476S4G2.js → machineWsRunDispatch-FISQUBI2.js} +2 -2
- package/package.json +1 -1
- package/{readlineWorkspace-AQCPSGS7.js → readlineWorkspace-ESNV6VBY.js} +2 -2
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
} from "./chunk-3QAF2LTL.js";
|
|
9
9
|
import {
|
|
10
10
|
runAgentCreateCommand
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-BTYBYAMP.js";
|
|
12
|
+
import "./chunk-UWNSWEEC.js";
|
|
13
13
|
import "./chunk-TOILAPLH.js";
|
|
14
14
|
import "./chunk-CMKUBIGW.js";
|
|
15
15
|
import "./chunk-JBTJAPUF.js";
|
|
@@ -76,7 +76,7 @@ async function defaultExecuteCli(provider, prompt, options) {
|
|
|
76
76
|
return executeCli(provider, prompt, options);
|
|
77
77
|
}
|
|
78
78
|
async function forwardConnectorRunMessage(machine, message, pushMessage, executeCli, env, fetchImpl) {
|
|
79
|
-
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-
|
|
79
|
+
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-FISQUBI2.js");
|
|
80
80
|
return handleConnectorRunMessage(message, pushMessage, executeCli, env, fetchImpl);
|
|
81
81
|
}
|
|
82
82
|
async function detectLaunchableMachineInfo() {
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
runAgentCreateCommand,
|
|
3
3
|
runAgentReadCommand,
|
|
4
4
|
runAgentUpdateCommand
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-BTYBYAMP.js";
|
|
6
|
+
import "./chunk-UWNSWEEC.js";
|
|
7
7
|
import "./chunk-TOILAPLH.js";
|
|
8
8
|
import "./chunk-CMKUBIGW.js";
|
|
9
9
|
import "./chunk-JBTJAPUF.js";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
prependSubjectDialogMarker,
|
|
7
7
|
resolveWorkflowReference,
|
|
8
8
|
runAgentRunCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YWSEVWQV.js";
|
|
10
10
|
import {
|
|
11
11
|
parseAgentRunArgs
|
|
12
12
|
} from "./chunk-3QAF2LTL.js";
|
|
13
13
|
import "./chunk-6HYVJV7B.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-UWNSWEEC.js";
|
|
15
15
|
import "./chunk-TOILAPLH.js";
|
|
16
16
|
import "./chunk-CMKUBIGW.js";
|
|
17
17
|
import "./chunk-JBTJAPUF.js";
|
|
@@ -2157,6 +2157,15 @@ function createCliControlAgentRunExecutor(deps = {}) {
|
|
|
2157
2157
|
startedAt: reconciled.startedAt,
|
|
2158
2158
|
endedAt: reconciled.endedAt ?? null,
|
|
2159
2159
|
exitCode: reconciled.exitCode ?? null,
|
|
2160
|
+
// Expose dialogId so the caller can read the agent's actual output
|
|
2161
|
+
// via `nolo dialog read <dialogId>`. The dialog is the authoritative
|
|
2162
|
+
// result store; the run log is the child process stdout/stderr,
|
|
2163
|
+
// whose contents vary by provider (some stream tokens to stdout,
|
|
2164
|
+
// some only emit startup + stderr). Because status does not carry
|
|
2165
|
+
// logTail by default, a "done" run with an empty logTail is
|
|
2166
|
+
// indistinguishable from a hung run without this field. Surfacing
|
|
2167
|
+
// dialogId gives the caller a reliable way to fetch the result.
|
|
2168
|
+
...reconciled.dialogId ? { dialogId: reconciled.dialogId } : {},
|
|
2160
2169
|
...logTail !== void 0 ? { logTail } : {},
|
|
2161
2170
|
...logLines ? { logLines } : {}
|
|
2162
2171
|
}),
|
package/index.js
CHANGED
|
@@ -126,7 +126,7 @@ function createDaemonShortcutCommand(path, description, command2) {
|
|
|
126
126
|
// packages/cli/agentInternalCommandEntries.ts
|
|
127
127
|
function getAgentInternalCommandEntries() {
|
|
128
128
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args2, ctx) => {
|
|
129
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
129
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-TGW6JFUW.js");
|
|
130
130
|
return runAgentRunCommand(args2, {
|
|
131
131
|
env: ctx.env,
|
|
132
132
|
scriptDir: ctx.scriptDir,
|
|
@@ -142,7 +142,7 @@ function getAgentInternalCommandEntries() {
|
|
|
142
142
|
return runAgentListCommand(args2, deps);
|
|
143
143
|
}),
|
|
144
144
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args2, deps) => {
|
|
145
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
145
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-RY7CSPPL.js");
|
|
146
146
|
return runAgentCreateCommand(args2, deps);
|
|
147
147
|
}),
|
|
148
148
|
createEnvCommand(["agent", "pull"], "Cache an agent for local runs", async (args2, deps) => {
|
|
@@ -150,7 +150,7 @@ function getAgentInternalCommandEntries() {
|
|
|
150
150
|
return runAgentPullCommand(args2, deps);
|
|
151
151
|
}),
|
|
152
152
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args2, deps) => {
|
|
153
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
153
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-RY7CSPPL.js");
|
|
154
154
|
return runAgentReadCommand(args2, deps);
|
|
155
155
|
}),
|
|
156
156
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -179,26 +179,26 @@ function getAgentInternalCommandEntries() {
|
|
|
179
179
|
return runSetupOfflineMarxistsAgentCommand(args2, deps);
|
|
180
180
|
}),
|
|
181
181
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args2, deps) => {
|
|
182
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
182
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-RY7CSPPL.js");
|
|
183
183
|
return runAgentUpdateCommand(args2, deps);
|
|
184
184
|
}),
|
|
185
185
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args2, deps) => {
|
|
186
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
186
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-VQENDYL5.js");
|
|
187
187
|
return runAgentEmailProvisionCommand(args2, deps);
|
|
188
188
|
}),
|
|
189
189
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args2, deps) => {
|
|
190
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
190
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-VQENDYL5.js");
|
|
191
191
|
return runAgentEmailBindCommand(args2, deps);
|
|
192
192
|
}),
|
|
193
193
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args2, deps) => {
|
|
194
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
194
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-VQENDYL5.js");
|
|
195
195
|
return runAgentEmailTransferCommand(args2, deps);
|
|
196
196
|
}),
|
|
197
197
|
createEnvCommand(
|
|
198
198
|
["agent", "email", "create-and-provision"],
|
|
199
199
|
"Create an agent and provision its controlled inbox",
|
|
200
200
|
async (args2, deps) => {
|
|
201
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
201
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-VQENDYL5.js");
|
|
202
202
|
return runAgentEmailCreateAndProvisionCommand(args2, deps);
|
|
203
203
|
}
|
|
204
204
|
),
|
|
@@ -207,15 +207,15 @@ function getAgentInternalCommandEntries() {
|
|
|
207
207
|
return runAgentDeleteCommand(args2, deps);
|
|
208
208
|
}),
|
|
209
209
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args2, deps) => {
|
|
210
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
210
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-Q3I3VDWS.js");
|
|
211
211
|
return runAgentBindCurrentCommand(args2, deps);
|
|
212
212
|
}),
|
|
213
213
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args2, deps) => {
|
|
214
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
214
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-Q3I3VDWS.js");
|
|
215
215
|
return runAgentSmokeCurrentCommand(args2, deps);
|
|
216
216
|
}),
|
|
217
217
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args2, deps) => {
|
|
218
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
218
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-Q3I3VDWS.js");
|
|
219
219
|
return runAgentRuntimeDoctorCommand(args2, deps);
|
|
220
220
|
}),
|
|
221
221
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -370,15 +370,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
370
370
|
return runWhoamiCommand({ args: args2, env: ctx.env });
|
|
371
371
|
}),
|
|
372
372
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args2, deps) => {
|
|
373
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
373
|
+
const { runMachineConnectCommand } = await import("./machineCommands-NGE4ZARV.js");
|
|
374
374
|
return runMachineConnectCommand(args2, deps);
|
|
375
375
|
}),
|
|
376
376
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args2, deps) => {
|
|
377
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
377
|
+
const { runMachineConnectCommand } = await import("./machineCommands-NGE4ZARV.js");
|
|
378
378
|
return runMachineConnectCommand(args2, deps);
|
|
379
379
|
}),
|
|
380
380
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args2, deps) => {
|
|
381
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
381
|
+
const { runMachineStatusCommand } = await import("./machineCommands-NGE4ZARV.js");
|
|
382
382
|
return runMachineStatusCommand(args2, deps);
|
|
383
383
|
}),
|
|
384
384
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args2, deps) => {
|
|
@@ -753,7 +753,7 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
753
753
|
return proc.exited;
|
|
754
754
|
}
|
|
755
755
|
async function launchTuiWorkspace(args2) {
|
|
756
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
756
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-ESNV6VBY.js");
|
|
757
757
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-XDC7WG4K.js");
|
|
758
758
|
return startTuiWorkspace({
|
|
759
759
|
...args2,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
buildMachinePermissionPromptBlock,
|
|
3
3
|
handleConnectorRunMessage,
|
|
4
4
|
resolveMachineRunPermissionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KGI44L4E.js";
|
|
6
6
|
import {
|
|
7
7
|
isConnectorWebSocketAuthError,
|
|
8
8
|
isConnectorWebSocketRetryableError,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
detectMachineInfo
|
|
13
13
|
} from "./chunk-6HYVJV7B.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-UWNSWEEC.js";
|
|
15
15
|
import "./chunk-TOILAPLH.js";
|
|
16
16
|
import "./chunk-CMKUBIGW.js";
|
|
17
17
|
import "./chunk-JBTJAPUF.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runtimeWorkspacePermissionPolicy,
|
|
12
12
|
scopePermissionPolicyToRuntimeWorkspace,
|
|
13
13
|
summarizeAgentConfigForLogs
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-KGI44L4E.js";
|
|
15
|
+
import "./chunk-UWNSWEEC.js";
|
|
16
16
|
import "./chunk-TOILAPLH.js";
|
|
17
17
|
import "./chunk-CMKUBIGW.js";
|
|
18
18
|
import "./chunk-JBTJAPUF.js";
|
package/package.json
CHANGED
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
visibleWidth,
|
|
58
58
|
wrapTextToLines,
|
|
59
59
|
wrapTranscriptLine
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-YWSEVWQV.js";
|
|
61
61
|
import "./chunk-3QAF2LTL.js";
|
|
62
62
|
import "./chunk-6HYVJV7B.js";
|
|
63
63
|
import {
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
parseCliLocale,
|
|
77
77
|
setCliLocale,
|
|
78
78
|
t
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-UWNSWEEC.js";
|
|
80
80
|
import "./chunk-TOILAPLH.js";
|
|
81
81
|
import "./chunk-CMKUBIGW.js";
|
|
82
82
|
import "./chunk-JBTJAPUF.js";
|