nolo-cli 0.14.0-alpha.2 → 0.14.0-alpha.4
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/README.md +5 -2
- package/{_executeModel-KMUDFYY2.js → _executeModel-ERQQ5SO5.js} +9 -9
- package/agentDeleteCommand-AZDVM4HQ.js +1 -1
- package/{agentEmailCommands-AP6MX4XN.js → agentEmailCommands-SBGSPBSS.js} +9 -9
- package/agentGrantCommands-B4MB23VQ.js +239 -0
- package/agentListCommands-OJLOXSKL.js +1 -1
- package/{agentMachineCommands-G4T4GU42.js → agentMachineCommands-Y7RXBTEY.js} +2 -2
- package/{agentRecordCommands-RNENEXQI.js → agentRecordCommands-LFQ3RK24.js} +9 -9
- package/{agentRunCommand-2VTOTQWA.js → agentRunCommand-WARBRXRP.js} +9 -9
- package/{agentSlice-BLHSFM3Q.js → agentSlice-F23RHRVB.js} +1 -1
- package/{authCommand-O7SL3WW5.js → authCommand-66ME4KZX.js} +8 -4
- package/{chunk-XBZL4SGS.js → chunk-4GTGSUMH.js} +2 -2
- package/{chunk-CPGQAMHA.js → chunk-4QUXYE7J.js} +3 -3
- package/{chunk-ONJIZ7UF.js → chunk-7EVWUQJZ.js} +58 -6
- package/{chunk-SE4YDESE.js → chunk-CBLNDNYI.js} +2 -2
- package/{chunk-BMZRD37B.js → chunk-KPUM5RIE.js} +35 -17
- package/{chunk-2Q5FTOQA.js → chunk-LAVVL3GH.js} +116 -8
- package/{chunk-LVJFD5HS.js → chunk-NARL6TJS.js} +8 -8
- package/{chunk-S6V2Y72C.js → chunk-NFRS3JW4.js} +1 -1
- package/{chunk-HJAMZQFI.js → chunk-NVV3ABII.js} +6 -5
- package/{chunk-DQUUZXUZ.js → chunk-PBP4KPF7.js} +5 -5
- package/{chunk-RTHJF57Z.js → chunk-RLOKCZNX.js} +1 -1
- package/{chunk-GGQW6DXG.js → chunk-VIPFEPO4.js} +1 -1
- package/{chunk-VFGBWVXO.js → chunk-X7NITNY4.js} +1 -1
- package/{createAgentAutomationAction-RIOI4YZI.js → createAgentAutomationAction-YCBXLFWW.js} +2 -2
- package/{createDialogAction-QBHFBWM4.js → createDialogAction-LOE4IBWI.js} +3 -3
- package/{createPageAction-GHVLL7YQ.js → createPageAction-MQPKRYSZ.js} +2 -2
- package/dialogCommands-BQDGLVMO.js +1 -1
- package/{dialogSlice-VNKDTTHR.js → dialogSlice-MLJL22KB.js} +2 -2
- package/docCreateCommands-K2MPMXYF.js +1 -1
- package/docDeleteCommands-NBAARB77.js +1 -1
- package/docReadCommands-S3MO5RPS.js +1 -1
- package/{docStore-W4KEEPCW.js → docStore-CRULGCHQ.js} +3 -3
- package/docUpdateCommands-EHEI7FCE.js +1 -1
- package/{handleSendMessageAction-6BFLKGWQ.js → handleSendMessageAction-JSJC7RWU.js} +29 -3
- package/index.js +33 -21
- package/{machineCommands-R27VIC5L.js → machineCommands-7WHQPMXF.js} +9 -9
- package/{machineWsRunDispatch-5JH6QGHK.js → machineWsRunDispatch-EZ2IOYWT.js} +9 -9
- package/package.json +1 -1
- package/{readlineWorkspace-RJ3TDGEK.js → readlineWorkspace-2KIRBLOS.js} +9 -9
- package/{runAgentClientLoop-6D7FP7CK.js → runAgentClientLoop-GFC2XHEC.js} +7 -7
- package/spaceCommands-4R63UST3.js +1 -1
- package/{spaceSlice-6PZEMRZM.js → spaceSlice-IYTGSETI.js} +2 -2
- package/{streamAgentChatTurn-VW7433O6.js → streamAgentChatTurn-42SBHJ6F.js} +13 -13
- package/{tools-MWNK4RKM.js → tools-BBNP7OHL.js} +5 -5
- package/{updateDialogTitleAction-3SKUPJIN.js → updateDialogTitleAction-UOULZ7J2.js} +2 -2
- package/{agentRuntimeLocal-4CM3VHR3.js → agentRuntimeLocal-DSUBT77I.js} +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-X7NITNY4.js";
|
|
5
5
|
import "./chunk-VC6OZXO5.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-NARL6TJS.js";
|
|
7
7
|
import "./chunk-V2J635L5.js";
|
|
8
8
|
import "./chunk-MRC4Q34M.js";
|
|
9
9
|
import "./chunk-MTU75CZ2.js";
|
|
10
10
|
import "./chunk-CWMSB67P.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-4QUXYE7J.js";
|
|
12
12
|
import "./chunk-V6VXDXGY.js";
|
|
13
13
|
import "./chunk-Z4NR32XR.js";
|
|
14
14
|
import "./chunk-M76ECQRD.js";
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
addContentToSpace,
|
|
19
19
|
client_default,
|
|
20
20
|
selectCurrentSpaceId
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NARL6TJS.js";
|
|
22
22
|
import "./chunk-V2J635L5.js";
|
|
23
23
|
import "./chunk-MRC4Q34M.js";
|
|
24
24
|
import "./chunk-MTU75CZ2.js";
|
|
25
25
|
import "./chunk-CWMSB67P.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-4QUXYE7J.js";
|
|
27
27
|
import "./chunk-V6VXDXGY.js";
|
|
28
28
|
import "./chunk-Z4NR32XR.js";
|
|
29
29
|
import "./chunk-M76ECQRD.js";
|
|
@@ -17,8 +17,8 @@ import "./chunk-VHBWHNVT.js";
|
|
|
17
17
|
import "./chunk-KQHGZWSV.js";
|
|
18
18
|
import "./chunk-MTU75CZ2.js";
|
|
19
19
|
import "./chunk-33K5FKRL.js";
|
|
20
|
-
import "./chunk-PB2DHBEQ.js";
|
|
21
20
|
import "./chunk-ZNFJWEN4.js";
|
|
21
|
+
import "./chunk-PB2DHBEQ.js";
|
|
22
22
|
import "./chunk-OIQPORYI.js";
|
|
23
23
|
import "./chunk-VQFY3VXW.js";
|
|
24
24
|
import "./chunk-3WGLLTK4.js";
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
setPrimaryDialogAgent,
|
|
20
20
|
updateDialogTitle,
|
|
21
21
|
updateTokens
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NARL6TJS.js";
|
|
23
23
|
import "./chunk-V2J635L5.js";
|
|
24
24
|
import "./chunk-MRC4Q34M.js";
|
|
25
25
|
import "./chunk-MTU75CZ2.js";
|
|
26
26
|
import "./chunk-CWMSB67P.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-4QUXYE7J.js";
|
|
28
28
|
import "./chunk-V6VXDXGY.js";
|
|
29
29
|
import "./chunk-Z4NR32XR.js";
|
|
30
30
|
import "./chunk-M76ECQRD.js";
|
|
@@ -27,8 +27,8 @@ import "./chunk-VF4K2QE6.js";
|
|
|
27
27
|
import "./chunk-VC6OZXO5.js";
|
|
28
28
|
import "./chunk-WZSRQNQG.js";
|
|
29
29
|
import "./chunk-33K5FKRL.js";
|
|
30
|
-
import "./chunk-PB2DHBEQ.js";
|
|
31
30
|
import "./chunk-ZNFJWEN4.js";
|
|
31
|
+
import "./chunk-PB2DHBEQ.js";
|
|
32
32
|
import "./chunk-OIQPORYI.js";
|
|
33
33
|
import "./chunk-VQFY3VXW.js";
|
|
34
34
|
import "./chunk-3WGLLTK4.js";
|
|
@@ -20,8 +20,8 @@ import "./chunk-VF4K2QE6.js";
|
|
|
20
20
|
import "./chunk-VC6OZXO5.js";
|
|
21
21
|
import "./chunk-WZSRQNQG.js";
|
|
22
22
|
import "./chunk-33K5FKRL.js";
|
|
23
|
-
import "./chunk-PB2DHBEQ.js";
|
|
24
23
|
import "./chunk-ZNFJWEN4.js";
|
|
24
|
+
import "./chunk-PB2DHBEQ.js";
|
|
25
25
|
import "./chunk-OIQPORYI.js";
|
|
26
26
|
import "./chunk-VQFY3VXW.js";
|
|
27
27
|
import "./chunk-3WGLLTK4.js";
|
|
@@ -15,8 +15,8 @@ import "./chunk-VF4K2QE6.js";
|
|
|
15
15
|
import "./chunk-VC6OZXO5.js";
|
|
16
16
|
import "./chunk-WZSRQNQG.js";
|
|
17
17
|
import "./chunk-33K5FKRL.js";
|
|
18
|
-
import "./chunk-PB2DHBEQ.js";
|
|
19
18
|
import "./chunk-ZNFJWEN4.js";
|
|
19
|
+
import "./chunk-PB2DHBEQ.js";
|
|
20
20
|
import "./chunk-OIQPORYI.js";
|
|
21
21
|
import "./chunk-VQFY3VXW.js";
|
|
22
22
|
import "./chunk-3WGLLTK4.js";
|
|
@@ -24,13 +24,13 @@ import {
|
|
|
24
24
|
updateTitleDoc,
|
|
25
25
|
useDocField,
|
|
26
26
|
useDocState
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-4GTGSUMH.js";
|
|
28
|
+
import "./chunk-NARL6TJS.js";
|
|
29
29
|
import "./chunk-V2J635L5.js";
|
|
30
30
|
import "./chunk-MRC4Q34M.js";
|
|
31
31
|
import "./chunk-MTU75CZ2.js";
|
|
32
32
|
import "./chunk-CWMSB67P.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-4QUXYE7J.js";
|
|
34
34
|
import "./chunk-V6VXDXGY.js";
|
|
35
35
|
import "./chunk-Z4NR32XR.js";
|
|
36
36
|
import "./chunk-M76ECQRD.js";
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
} from "./chunk-VC6OZXO5.js";
|
|
30
30
|
import "./chunk-WZSRQNQG.js";
|
|
31
31
|
import "./chunk-33K5FKRL.js";
|
|
32
|
-
import "./chunk-PB2DHBEQ.js";
|
|
33
32
|
import "./chunk-ZNFJWEN4.js";
|
|
33
|
+
import "./chunk-PB2DHBEQ.js";
|
|
34
34
|
import "./chunk-OIQPORYI.js";
|
|
35
35
|
import "./chunk-VQFY3VXW.js";
|
|
36
36
|
import "./chunk-3WGLLTK4.js";
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
messageStreamEnd,
|
|
3
3
|
prepareAndPersistUserMessage,
|
|
4
4
|
resolveHandleSendMessageContext
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NARL6TJS.js";
|
|
6
6
|
import "./chunk-V2J635L5.js";
|
|
7
7
|
import "./chunk-MRC4Q34M.js";
|
|
8
8
|
import "./chunk-MTU75CZ2.js";
|
|
9
9
|
import "./chunk-CWMSB67P.js";
|
|
10
10
|
import {
|
|
11
11
|
streamAgentChatTurn
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4QUXYE7J.js";
|
|
13
13
|
import "./chunk-V6VXDXGY.js";
|
|
14
14
|
import "./chunk-Z4NR32XR.js";
|
|
15
15
|
import "./chunk-M76ECQRD.js";
|
|
@@ -91,6 +91,27 @@ var logQuickChatPerfStage = (startedAt, stage, details = {}) => {
|
|
|
91
91
|
...details
|
|
92
92
|
});
|
|
93
93
|
};
|
|
94
|
+
var resolveBrowseContextPrefix = async (message) => {
|
|
95
|
+
try {
|
|
96
|
+
if (typeof process === "undefined" || process.env?.NOLO_DESKTOP !== "1") return "";
|
|
97
|
+
if (typeof fetch !== "function" || typeof AbortSignal?.timeout !== "function") return "";
|
|
98
|
+
const response = await fetch("/api/desktop/browse-context", {
|
|
99
|
+
method: "POST",
|
|
100
|
+
headers: { "Content-Type": "application/json" },
|
|
101
|
+
body: JSON.stringify({ message }),
|
|
102
|
+
signal: AbortSignal.timeout(2e3)
|
|
103
|
+
});
|
|
104
|
+
if (!response.ok) return "";
|
|
105
|
+
const payload = await response.json();
|
|
106
|
+
if (!payload.context || !payload.context.url) return "";
|
|
107
|
+
const ctx = payload.context;
|
|
108
|
+
const parts = [`[\u5F53\u524D\u6D4F\u89C8\u4E0A\u4E0B\u6587]`, `URL: ${ctx.url}`, `\u6807\u9898: ${ctx.title}`];
|
|
109
|
+
if (ctx.textSnippet) parts.push(`\u6458\u8981: ${ctx.textSnippet.slice(0, 2e3)}`);
|
|
110
|
+
return parts.join("\n");
|
|
111
|
+
} catch {
|
|
112
|
+
return "";
|
|
113
|
+
}
|
|
114
|
+
};
|
|
94
115
|
var finalizeQuickChatStreamStartupFailure = async (dispatch, dialogConfig, agentKey) => {
|
|
95
116
|
const dialogKey = dialogConfig.dbKey;
|
|
96
117
|
const dialogId = dialogConfig.id ?? (dialogKey ? extractCustomId(dialogKey) : "");
|
|
@@ -147,10 +168,15 @@ var handleSendMessageAction = async (args, { dispatch, getState, rejectWithValue
|
|
|
147
168
|
if (!agentKeyToUse) {
|
|
148
169
|
return;
|
|
149
170
|
}
|
|
171
|
+
const userInputText = typeof args.userInput === "string" ? args.userInput : "";
|
|
172
|
+
const browseContextPrefix = typeof process !== "undefined" && process.env?.NOLO_DESKTOP === "1" ? await resolveBrowseContextPrefix(userInputText) : "";
|
|
173
|
+
const effectiveUserInput = browseContextPrefix ? `${browseContextPrefix}
|
|
174
|
+
|
|
175
|
+
${userInputText}` : args.userInput;
|
|
150
176
|
const streamResult = await dispatch(
|
|
151
177
|
streamAgentChatTurn({
|
|
152
178
|
agentKey: agentKeyToUse,
|
|
153
|
-
userInput:
|
|
179
|
+
userInput: effectiveUserInput,
|
|
154
180
|
dialogKey: dialogConfig.dbKey,
|
|
155
181
|
parentMessageId: void 0,
|
|
156
182
|
runtimeOptions: effectiveRuntimeOptions,
|
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-WARBRXRP.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-LFQ3RK24.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-LFQ3RK24.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-LFQ3RK24.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-SBGSPBSS.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-SBGSPBSS.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-SBGSPBSS.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-SBGSPBSS.js");
|
|
202
202
|
return runAgentEmailCreateAndProvisionCommand(args2, deps);
|
|
203
203
|
}
|
|
204
204
|
),
|
|
@@ -206,16 +206,28 @@ function getAgentInternalCommandEntries() {
|
|
|
206
206
|
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-AZDVM4HQ.js");
|
|
207
207
|
return runAgentDeleteCommand(args2, deps);
|
|
208
208
|
}),
|
|
209
|
+
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args2, deps) => {
|
|
210
|
+
const { runAgentGrantCommand } = await import("./agentGrantCommands-B4MB23VQ.js");
|
|
211
|
+
return runAgentGrantCommand(args2, deps);
|
|
212
|
+
}),
|
|
213
|
+
createEnvCommand(["agent", "grants"], "List active credential grants for an agent", async (args2, deps) => {
|
|
214
|
+
const { runAgentGrantsListCommand } = await import("./agentGrantCommands-B4MB23VQ.js");
|
|
215
|
+
return runAgentGrantsListCommand(args2, deps);
|
|
216
|
+
}),
|
|
217
|
+
createEnvCommand(["agent", "revoke-grant"], "Revoke a credential grant for an agent", async (args2, deps) => {
|
|
218
|
+
const { runAgentRevokeGrantCommand } = await import("./agentGrantCommands-B4MB23VQ.js");
|
|
219
|
+
return runAgentRevokeGrantCommand(args2, deps);
|
|
220
|
+
}),
|
|
209
221
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args2, deps) => {
|
|
210
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
222
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-Y7RXBTEY.js");
|
|
211
223
|
return runAgentBindCurrentCommand(args2, deps);
|
|
212
224
|
}),
|
|
213
225
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args2, deps) => {
|
|
214
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
226
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-Y7RXBTEY.js");
|
|
215
227
|
return runAgentSmokeCurrentCommand(args2, deps);
|
|
216
228
|
}),
|
|
217
229
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args2, deps) => {
|
|
218
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
230
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-Y7RXBTEY.js");
|
|
219
231
|
return runAgentRuntimeDoctorCommand(args2, deps);
|
|
220
232
|
}),
|
|
221
233
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -334,27 +346,27 @@ function getSpaceInternalCommandEntries() {
|
|
|
334
346
|
function getSystemInternalCommandEntries(renderHelpText2) {
|
|
335
347
|
return [
|
|
336
348
|
createArgsCommand(["auth", "cloudflare"], "Authorize Cloudflare OAuth", async (args2) => {
|
|
337
|
-
const { runAuthCloudflareCommand } = await import("./authCommand-
|
|
349
|
+
const { runAuthCloudflareCommand } = await import("./authCommand-66ME4KZX.js");
|
|
338
350
|
return runAuthCloudflareCommand(args2);
|
|
339
351
|
}),
|
|
340
352
|
createArgsCommand(["auth", "chatgpt"], "Authorize ChatGPT / OpenAI Codex OAuth", async (args2) => {
|
|
341
|
-
const { runAuthChatgptCommand } = await import("./authCommand-
|
|
353
|
+
const { runAuthChatgptCommand } = await import("./authCommand-66ME4KZX.js");
|
|
342
354
|
return runAuthChatgptCommand(args2);
|
|
343
355
|
}),
|
|
344
356
|
createArgsCommand(["auth", "xai"], "Authorize xAI Grok OAuth (SuperGrok subscription)", async (args2) => {
|
|
345
|
-
const { runAuthXaiCommand } = await import("./authCommand-
|
|
357
|
+
const { runAuthXaiCommand } = await import("./authCommand-66ME4KZX.js");
|
|
346
358
|
return runAuthXaiCommand(args2);
|
|
347
359
|
}),
|
|
348
360
|
createArgsCommand(["auth", "antigravity"], "Authorize Google Antigravity OAuth", async (args2) => {
|
|
349
|
-
const { runAuthAntigravityCommand } = await import("./authCommand-
|
|
361
|
+
const { runAuthAntigravityCommand } = await import("./authCommand-66ME4KZX.js");
|
|
350
362
|
return runAuthAntigravityCommand(args2);
|
|
351
363
|
}),
|
|
352
364
|
createArgsCommand(["auth", "claude"], "Authorize Claude Pro/Max OAuth", async (args2) => {
|
|
353
|
-
const { runAuthClaudeCommand } = await import("./authCommand-
|
|
365
|
+
const { runAuthClaudeCommand } = await import("./authCommand-66ME4KZX.js");
|
|
354
366
|
return runAuthClaudeCommand(args2);
|
|
355
367
|
}),
|
|
356
368
|
createArgsCommand(["auth", "cursor"], "Authorize Cursor Pro OAuth", async (args2) => {
|
|
357
|
-
const { runAuthCursorCommand } = await import("./authCommand-
|
|
369
|
+
const { runAuthCursorCommand } = await import("./authCommand-66ME4KZX.js");
|
|
358
370
|
return runAuthCursorCommand(args2);
|
|
359
371
|
}),
|
|
360
372
|
createArgsCommand(["login"], "Log in to Nolo", async (args2) => {
|
|
@@ -370,15 +382,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
370
382
|
return runWhoamiCommand({ args: args2, env: ctx.env });
|
|
371
383
|
}),
|
|
372
384
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args2, deps) => {
|
|
373
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
385
|
+
const { runMachineConnectCommand } = await import("./machineCommands-7WHQPMXF.js");
|
|
374
386
|
return runMachineConnectCommand(args2, deps);
|
|
375
387
|
}),
|
|
376
388
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args2, deps) => {
|
|
377
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
389
|
+
const { runMachineConnectCommand } = await import("./machineCommands-7WHQPMXF.js");
|
|
378
390
|
return runMachineConnectCommand(args2, deps);
|
|
379
391
|
}),
|
|
380
392
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args2, deps) => {
|
|
381
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
393
|
+
const { runMachineStatusCommand } = await import("./machineCommands-7WHQPMXF.js");
|
|
382
394
|
return runMachineStatusCommand(args2, deps);
|
|
383
395
|
}),
|
|
384
396
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args2, deps) => {
|
|
@@ -753,7 +765,7 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
753
765
|
return proc.exited;
|
|
754
766
|
}
|
|
755
767
|
async function launchTuiWorkspace(args2) {
|
|
756
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
768
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-2KIRBLOS.js");
|
|
757
769
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-2D65LKWM.js");
|
|
758
770
|
return startTuiWorkspace({
|
|
759
771
|
...args2,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
buildMachinePermissionPromptBlock,
|
|
3
3
|
handleConnectorRunMessage,
|
|
4
4
|
resolveMachineRunPermissionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CBLNDNYI.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-KPUM5RIE.js";
|
|
15
15
|
import "./chunk-EHLHSX7R.js";
|
|
16
16
|
import "./chunk-CMKUBIGW.js";
|
|
17
17
|
import "./chunk-JBTJAPUF.js";
|
|
@@ -19,9 +19,9 @@ import "./chunk-TQCONXQ3.js";
|
|
|
19
19
|
import "./chunk-VHBWHNVT.js";
|
|
20
20
|
import "./chunk-T3X232L6.js";
|
|
21
21
|
import "./chunk-ATNTHIZI.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-RLOKCZNX.js";
|
|
23
23
|
import "./chunk-OIMX7MM4.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-LAVVL3GH.js";
|
|
25
25
|
import {
|
|
26
26
|
CORE_DRAIN_REASON
|
|
27
27
|
} from "./chunk-RQSOAMPJ.js";
|
|
@@ -32,23 +32,23 @@ import "./chunk-3LY4F7SV.js";
|
|
|
32
32
|
import "./chunk-VP4WJWKW.js";
|
|
33
33
|
import "./chunk-63W5N6P3.js";
|
|
34
34
|
import "./chunk-VF4K2QE6.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-4GTGSUMH.js";
|
|
36
|
+
import "./chunk-X7NITNY4.js";
|
|
37
37
|
import "./chunk-VC6OZXO5.js";
|
|
38
38
|
import "./chunk-OWOHNGCN.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-NARL6TJS.js";
|
|
40
40
|
import "./chunk-V2J635L5.js";
|
|
41
41
|
import "./chunk-MRC4Q34M.js";
|
|
42
42
|
import "./chunk-MTU75CZ2.js";
|
|
43
43
|
import "./chunk-CWMSB67P.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-4QUXYE7J.js";
|
|
45
45
|
import "./chunk-V6VXDXGY.js";
|
|
46
46
|
import "./chunk-Z4NR32XR.js";
|
|
47
47
|
import "./chunk-M76ECQRD.js";
|
|
48
48
|
import "./chunk-WZSRQNQG.js";
|
|
49
49
|
import "./chunk-33K5FKRL.js";
|
|
50
|
-
import "./chunk-PB2DHBEQ.js";
|
|
51
50
|
import "./chunk-ZNFJWEN4.js";
|
|
51
|
+
import "./chunk-PB2DHBEQ.js";
|
|
52
52
|
import "./chunk-OIQPORYI.js";
|
|
53
53
|
import "./chunk-VQFY3VXW.js";
|
|
54
54
|
import "./chunk-3WGLLTK4.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runtimeWorkspacePermissionPolicy,
|
|
12
12
|
scopePermissionPolicyToRuntimeWorkspace,
|
|
13
13
|
summarizeAgentConfigForLogs
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-CBLNDNYI.js";
|
|
15
|
+
import "./chunk-KPUM5RIE.js";
|
|
16
16
|
import "./chunk-EHLHSX7R.js";
|
|
17
17
|
import "./chunk-CMKUBIGW.js";
|
|
18
18
|
import "./chunk-JBTJAPUF.js";
|
|
@@ -20,9 +20,9 @@ import "./chunk-TQCONXQ3.js";
|
|
|
20
20
|
import "./chunk-VHBWHNVT.js";
|
|
21
21
|
import "./chunk-T3X232L6.js";
|
|
22
22
|
import "./chunk-ATNTHIZI.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-RLOKCZNX.js";
|
|
24
24
|
import "./chunk-OIMX7MM4.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-LAVVL3GH.js";
|
|
26
26
|
import "./chunk-RQSOAMPJ.js";
|
|
27
27
|
import "./chunk-OOIN7HSO.js";
|
|
28
28
|
import "./chunk-KQHGZWSV.js";
|
|
@@ -31,23 +31,23 @@ import "./chunk-3LY4F7SV.js";
|
|
|
31
31
|
import "./chunk-VP4WJWKW.js";
|
|
32
32
|
import "./chunk-63W5N6P3.js";
|
|
33
33
|
import "./chunk-VF4K2QE6.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-4GTGSUMH.js";
|
|
35
|
+
import "./chunk-X7NITNY4.js";
|
|
36
36
|
import "./chunk-VC6OZXO5.js";
|
|
37
37
|
import "./chunk-OWOHNGCN.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-NARL6TJS.js";
|
|
39
39
|
import "./chunk-V2J635L5.js";
|
|
40
40
|
import "./chunk-MRC4Q34M.js";
|
|
41
41
|
import "./chunk-MTU75CZ2.js";
|
|
42
42
|
import "./chunk-CWMSB67P.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-4QUXYE7J.js";
|
|
44
44
|
import "./chunk-V6VXDXGY.js";
|
|
45
45
|
import "./chunk-Z4NR32XR.js";
|
|
46
46
|
import "./chunk-M76ECQRD.js";
|
|
47
47
|
import "./chunk-WZSRQNQG.js";
|
|
48
48
|
import "./chunk-33K5FKRL.js";
|
|
49
|
-
import "./chunk-PB2DHBEQ.js";
|
|
50
49
|
import "./chunk-ZNFJWEN4.js";
|
|
50
|
+
import "./chunk-PB2DHBEQ.js";
|
|
51
51
|
import "./chunk-OIQPORYI.js";
|
|
52
52
|
import "./chunk-VQFY3VXW.js";
|
|
53
53
|
import "./chunk-3WGLLTK4.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-7EVWUQJZ.js";
|
|
61
61
|
import "./chunk-6HYVJV7B.js";
|
|
62
62
|
import {
|
|
63
63
|
listFavoriteAgentIdsAcrossServers,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
parseCliLocale,
|
|
77
77
|
setCliLocale,
|
|
78
78
|
t
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-KPUM5RIE.js";
|
|
80
80
|
import "./chunk-EHLHSX7R.js";
|
|
81
81
|
import "./chunk-CMKUBIGW.js";
|
|
82
82
|
import "./chunk-JBTJAPUF.js";
|
|
@@ -98,11 +98,11 @@ import "./chunk-ATNTHIZI.js";
|
|
|
98
98
|
import "./chunk-JEXVIMYZ.js";
|
|
99
99
|
import {
|
|
100
100
|
prepareTools
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-RLOKCZNX.js";
|
|
102
102
|
import "./chunk-OIMX7MM4.js";
|
|
103
103
|
import {
|
|
104
104
|
expandEnabledPacks
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-LAVVL3GH.js";
|
|
106
106
|
import "./chunk-RQSOAMPJ.js";
|
|
107
107
|
import "./chunk-OOIN7HSO.js";
|
|
108
108
|
import "./chunk-KQHGZWSV.js";
|
|
@@ -111,20 +111,20 @@ import "./chunk-3LY4F7SV.js";
|
|
|
111
111
|
import "./chunk-VP4WJWKW.js";
|
|
112
112
|
import "./chunk-63W5N6P3.js";
|
|
113
113
|
import "./chunk-VF4K2QE6.js";
|
|
114
|
-
import "./chunk-
|
|
115
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-4GTGSUMH.js";
|
|
115
|
+
import "./chunk-X7NITNY4.js";
|
|
116
116
|
import "./chunk-VC6OZXO5.js";
|
|
117
117
|
import "./chunk-OWOHNGCN.js";
|
|
118
118
|
import {
|
|
119
119
|
extractReferenceKeysFromMessage
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-NARL6TJS.js";
|
|
121
121
|
import {
|
|
122
122
|
buildBuiltinSummaryContent
|
|
123
123
|
} from "./chunk-V2J635L5.js";
|
|
124
124
|
import "./chunk-MRC4Q34M.js";
|
|
125
125
|
import "./chunk-MTU75CZ2.js";
|
|
126
126
|
import "./chunk-CWMSB67P.js";
|
|
127
|
-
import "./chunk-
|
|
127
|
+
import "./chunk-4QUXYE7J.js";
|
|
128
128
|
import "./chunk-V6VXDXGY.js";
|
|
129
129
|
import "./chunk-Z4NR32XR.js";
|
|
130
130
|
import "./chunk-M76ECQRD.js";
|
|
@@ -137,8 +137,8 @@ import {
|
|
|
137
137
|
buildLocalWorkspaceToolset,
|
|
138
138
|
getProcessRegistry
|
|
139
139
|
} from "./chunk-33K5FKRL.js";
|
|
140
|
-
import "./chunk-PB2DHBEQ.js";
|
|
141
140
|
import "./chunk-ZNFJWEN4.js";
|
|
141
|
+
import "./chunk-PB2DHBEQ.js";
|
|
142
142
|
import "./chunk-OIQPORYI.js";
|
|
143
143
|
import {
|
|
144
144
|
readCommandActionGatePayload,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchAgentContexts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NFRS3JW4.js";
|
|
4
4
|
import {
|
|
5
5
|
generateRequestBody,
|
|
6
6
|
mergeReferences,
|
|
7
7
|
performFetchRequest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NVV3ABII.js";
|
|
9
9
|
import "./chunk-OIMX7MM4.js";
|
|
10
10
|
import {
|
|
11
11
|
findToolExecutor,
|
|
12
12
|
getToolResultErrorData
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LAVVL3GH.js";
|
|
14
14
|
import "./chunk-RQSOAMPJ.js";
|
|
15
15
|
import "./chunk-OOIN7HSO.js";
|
|
16
16
|
import "./chunk-KQHGZWSV.js";
|
|
@@ -19,17 +19,17 @@ import "./chunk-3LY4F7SV.js";
|
|
|
19
19
|
import "./chunk-VP4WJWKW.js";
|
|
20
20
|
import "./chunk-63W5N6P3.js";
|
|
21
21
|
import "./chunk-VF4K2QE6.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-4GTGSUMH.js";
|
|
23
|
+
import "./chunk-X7NITNY4.js";
|
|
24
24
|
import "./chunk-VC6OZXO5.js";
|
|
25
25
|
import {
|
|
26
26
|
updateTokensAction
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-NARL6TJS.js";
|
|
28
28
|
import "./chunk-V2J635L5.js";
|
|
29
29
|
import "./chunk-MRC4Q34M.js";
|
|
30
30
|
import "./chunk-MTU75CZ2.js";
|
|
31
31
|
import "./chunk-CWMSB67P.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-4QUXYE7J.js";
|
|
33
33
|
import "./chunk-V6VXDXGY.js";
|
|
34
34
|
import "./chunk-Z4NR32XR.js";
|
|
35
35
|
import "./chunk-M76ECQRD.js";
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
authRoutes
|
|
13
13
|
} from "./chunk-MRC4Q34M.js";
|
|
14
14
|
import "./chunk-33K5FKRL.js";
|
|
15
|
-
import "./chunk-PB2DHBEQ.js";
|
|
16
15
|
import "./chunk-ZNFJWEN4.js";
|
|
16
|
+
import "./chunk-PB2DHBEQ.js";
|
|
17
17
|
import "./chunk-OIQPORYI.js";
|
|
18
18
|
import "./chunk-VQFY3VXW.js";
|
|
19
19
|
import "./chunk-3WGLLTK4.js";
|
|
@@ -51,12 +51,12 @@ import {
|
|
|
51
51
|
updateContentTitle,
|
|
52
52
|
updateSpace,
|
|
53
53
|
uploadAndAddFileToSpace
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-NARL6TJS.js";
|
|
55
55
|
import "./chunk-V2J635L5.js";
|
|
56
56
|
import "./chunk-MRC4Q34M.js";
|
|
57
57
|
import "./chunk-MTU75CZ2.js";
|
|
58
58
|
import "./chunk-CWMSB67P.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-4QUXYE7J.js";
|
|
60
60
|
import "./chunk-V6VXDXGY.js";
|
|
61
61
|
import "./chunk-Z4NR32XR.js";
|
|
62
62
|
import "./chunk-M76ECQRD.js";
|