nolo-cli 0.184.0-alpha.1 → 0.185.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_executeModel-YYVG3FYU.js → _executeModel-5SGPPCT6.js} +19 -19
- package/{accountResolver-HPVXZJYD.js → accountResolver-NQJ57BVU.js} +1 -1
- package/{agentDeleteCommand-WAVA6O3U.js → agentDeleteCommand-RUBWHUMZ.js} +22 -22
- package/{agentEmailCommands-T5RB2RKP.js → agentEmailCommands-RXCDWZDW.js} +23 -23
- package/{agentListCommands-QZN5WVJ5.js → agentListCommands-IIVWUN2H.js} +11 -11
- package/{agentMachineCommands-BBADUZ7U.js → agentMachineCommands-SPQ3CCYU.js} +8 -8
- package/{agentRecordCommands-N4YEVYKR.js → agentRecordCommands-AKAQ7BRK.js} +22 -22
- package/{agentRunCommand-G7H745CP.js → agentRunCommand-S3VSGTS4.js} +23 -23
- package/{agentRuntimeLocal-ECGPI3CO.js → agentRuntimeLocal-CBDP2OYK.js} +5 -5
- package/{agentSlice-MS5G7UCC.js → agentSlice-2PEJP3NV.js} +1 -1
- package/{appDeleteCommands-BY2QK4FR.js → appDeleteCommands-OP4GGXEJ.js} +10 -10
- package/{appDeployCommands-UH2W6LPJ.js → appDeployCommands-LHTVLNL5.js} +10 -10
- package/{appDeployStatusCommands-I5DZQFKA.js → appDeployStatusCommands-BSDDQU7S.js} +10 -10
- package/{appGetCommands-ZBCBTEO3.js → appGetCommands-LNHGUJKF.js} +10 -10
- package/{appListCommands-ZA6NXKV3.js → appListCommands-RGOFZV5M.js} +10 -10
- package/{authCommand-RGOCQCQT.js → authCommand-NR6NELQ7.js} +1 -1
- package/{builtinSkillRegistry-HJCSXMKS.js → builtinSkillRegistry-RR35BY57.js} +4 -4
- package/{chromeCommands-BGL6JZMB.js → chromeCommands-EXJZ5HH5.js} +2 -2
- package/{chromeOpsCommands-MVGJZUOQ.js → chromeOpsCommands-ITBZEFBX.js} +27 -2
- package/{chunk-JWSHARJM.js → chunk-7DPEOMDL.js} +7 -7
- package/{chunk-NRYTWXXV.js → chunk-7XISFN2T.js} +1 -1
- package/{chunk-HWJZEUA6.js → chunk-7YW5OUQE.js} +3 -3
- package/{chunk-PZ7LKLIV.js → chunk-AA5GKA2X.js} +2 -2
- package/{chunk-NHBJHDVW.js → chunk-AKE53VMW.js} +1 -1
- package/{chunk-C3BYVRTJ.js → chunk-BJPALUYR.js} +2 -2
- package/{chunk-2FY2HA4R.js → chunk-CN6T5QKA.js} +5 -5
- package/{chunk-5ROGGWPM.js → chunk-D4JCY67U.js} +14 -14
- package/{chunk-MHC44FKA.js → chunk-DBEIHUCJ.js} +3 -3
- package/{chunk-WPWAD6NT.js → chunk-DWTNJZ63.js} +2 -2
- package/{chunk-3FTJG5NU.js → chunk-FKOCI2WR.js} +1 -1
- package/{chunk-MMSZKZWA.js → chunk-FSIJK37C.js} +1 -1
- package/{chunk-7AVKDSWD.js → chunk-HRLKX6YP.js} +1 -1
- package/{chunk-GTQKUQGF.js → chunk-IHQ7RMRS.js} +1 -1
- package/{chunk-JJWQ737H.js → chunk-IIGDVODZ.js} +1 -1
- package/{chunk-FO2BTDKY.js → chunk-IOQHM7ID.js} +4 -4
- package/{chunk-GDQ5KO2J.js → chunk-JJU5FBYH.js} +287 -16
- package/{chunk-F2P6YUHC.js → chunk-K3TVMCV3.js} +1 -1
- package/{chunk-P7JNYLDW.js → chunk-KHMJI7GE.js} +1 -1
- package/{chunk-PW5CM76N.js → chunk-KVUMIWLL.js} +3 -3
- package/{chunk-R2EDHCTI.js → chunk-M4JDIVIS.js} +2 -2
- package/{chunk-ORYQ2GDN.js → chunk-MIPGIRJJ.js} +3 -3
- package/{chunk-FAFNPFGS.js → chunk-MROMTEHV.js} +7 -7
- package/{chunk-5DVM4RIR.js → chunk-NCC2SYOD.js} +3 -3
- package/{chunk-TQU64H2A.js → chunk-QEGPFGKA.js} +2 -2
- package/{chunk-3GMGSUU2.js → chunk-SJGHZTLV.js} +2 -2
- package/{chunk-WGHIT2HH.js → chunk-VXCDYN6M.js} +8 -8
- package/{chunk-IR5IH6LH.js → chunk-WVIBJBDF.js} +10 -10
- package/{chunk-LPV7KKTB.js → chunk-YO3O7H2X.js} +530 -2
- package/{chunk-AWFDDOVW.js → chunk-YVAERPCH.js} +3 -3
- package/{chunk-GKKIZRJ6.js → chunk-YXTMZQGX.js} +11 -2
- package/{chunk-3PVH6HJG.js → chunk-YXTQJ2QR.js} +3 -3
- package/{chunk-MPIAKYZ7.js → chunk-YYKHIX4X.js} +1 -1
- package/{chunk-JX5XVFVW.js → chunk-ZC3CMUKU.js} +27 -3
- package/{chunk-B3BTDNEC.js → chunk-ZU2BF6Q4.js} +5 -5
- package/{chunk-DHMXTEM4.js → chunk-ZYI6K46I.js} +2 -2
- package/{chunk-TXJZ7QXG.js → chunk-ZZE2IJ5U.js} +2 -2
- package/{commandRegistry-XDGDMYU6.js → commandRegistry-IP34O6Y2.js} +70 -65
- package/{contentThunks-EWOORWBS.js → contentThunks-BSCTL5G3.js} +3 -3
- package/{cooldownCommands-5KIQ2FDU.js → cooldownCommands-IUU3ZH3L.js} +1 -1
- package/{createAgentAutomationAction-TRIAQUAK.js → createAgentAutomationAction-Y5W2FW3Y.js} +3 -3
- package/{createDialogAction-FXPXXDRR.js → createDialogAction-GIZ7QCRQ.js} +6 -6
- package/{createPageAction-HHFPJKBD.js → createPageAction-GFH4DXMX.js} +3 -3
- package/{dialogCommands-2M5NWSY2.js → dialogCommands-6MR232CJ.js} +10 -10
- package/{dialogSlice-4W7DJJC2.js → dialogSlice-U3X3CBR7.js} +2 -2
- package/{docCreateCommands-PKUJVJ5N.js → docCreateCommands-DAZJ2Y5E.js} +9 -9
- package/{docDeleteCommands-C3RNBHIH.js → docDeleteCommands-XO26LNIO.js} +10 -10
- package/{docReadCommands-JS4W26DI.js → docReadCommands-77XGRLD6.js} +9 -9
- package/{docStore-VBINJLRX.js → docStore-H2XCYODR.js} +1 -1
- package/{docUpdateCommands-NZWDQFDD.js → docUpdateCommands-QXN3MJAJ.js} +9 -9
- package/{handleSendMessageAction-FJKTVMCA.js → handleSendMessageAction-MZKFIPYL.js} +11 -11
- package/index.js +6 -6
- package/{localRuntimeAdapter-5ANB7V6J.js → localRuntimeAdapter-E2QDYFTW.js} +20 -20
- package/{machineCommands-A2NAILV6.js → machineCommands-SQELO6HH.js} +21 -21
- package/{machineWsRunDispatch-AWIGTEF6.js → machineWsRunDispatch-E33LUXWG.js} +21 -21
- package/package.json +1 -1
- package/{readlineWorkspace-GFKEHEXB.js → readlineWorkspace-V6GVWGIZ.js} +241 -32
- package/{runAgentClientLoop-KV6R3FSU.js → runAgentClientLoop-JRW5EA5U.js} +17 -17
- package/{secretCommands-Q65QRUI2.js → secretCommands-UZV7CPJY.js} +1 -1
- package/{spaceCommands-CIXBPVEY.js → spaceCommands-PHLKQ2AW.js} +8 -8
- package/{streamAgentChatTurn-RTQ2DU4K.js → streamAgentChatTurn-CBGAGRQL.js} +19 -19
- package/{tools-R6JLL5PS.js → tools-RVVZ2Y6V.js} +13 -13
- package/{updateCommands-WBGORNRR.js → updateCommands-MZCY6FXK.js} +3 -3
- package/{updateDialogTitleAction-2QNU4T4I.js → updateDialogTitleAction-2RKLYUPB.js} +3 -3
- package/{windowsSelfUpdate-EELBE4KH.js → windowsSelfUpdate-XV2MMQAC.js} +2 -2
|
@@ -307,6 +307,10 @@ var CHROME_TOOL_ACTIONS = {
|
|
|
307
307
|
browser_screenshot: "screenshot",
|
|
308
308
|
browser_read_console: "read_console",
|
|
309
309
|
browser_read_network: "read_network",
|
|
310
|
+
// `eval_script` lives on the same table as the rest on purpose: the host's in-conversation approval
|
|
311
|
+
// card is installed over the browser tool table, so an eval reachable only through
|
|
312
|
+
// `nolo browser eval` would fall outside the card entirely.
|
|
313
|
+
browser_eval_script: "eval_script",
|
|
310
314
|
// Legacy aliases (kept for existing agents/tests).
|
|
311
315
|
chrome_list_tabs: "list_tabs",
|
|
312
316
|
chrome_open_tab: "open_tab",
|
|
@@ -320,6 +324,7 @@ var CHROME_TOOL_ACTIONS = {
|
|
|
320
324
|
chrome_screenshot: "screenshot",
|
|
321
325
|
chrome_read_console: "read_console",
|
|
322
326
|
chrome_read_network: "read_network",
|
|
327
|
+
chrome_eval_script: "eval_script",
|
|
323
328
|
chrome_set_files: "set_files",
|
|
324
329
|
chrome_upload_file: "set_files",
|
|
325
330
|
chrome_upload: "set_files"
|
|
@@ -365,7 +370,8 @@ var TAB_ID_REQUIRED_ACTIONS = /* @__PURE__ */ new Set([
|
|
|
365
370
|
"detach",
|
|
366
371
|
"set_files",
|
|
367
372
|
"set_select_value",
|
|
368
|
-
"prepare_browser_action"
|
|
373
|
+
"prepare_browser_action",
|
|
374
|
+
"eval_script"
|
|
369
375
|
]);
|
|
370
376
|
var ALLOWED_PREPARE_SUB_ACTIONS = /* @__PURE__ */ new Set(["click", "type", "press"]);
|
|
371
377
|
function validateChromeConnectorPayload(action, payload) {
|
|
@@ -537,7 +543,10 @@ var REQUIRED_CHROME_CONNECTOR_FEATURES = {
|
|
|
537
543
|
read_network: ["browser_debug"],
|
|
538
544
|
detach: ["browser_debug"],
|
|
539
545
|
set_files: ["compact_observation_v2", "file_upload"],
|
|
540
|
-
prepare_browser_action: ["prepare_browser_action"]
|
|
546
|
+
prepare_browser_action: ["prepare_browser_action"],
|
|
547
|
+
// debugger-backed (`chrome.debugger` → Runtime.evaluate), so the same feature name the extension
|
|
548
|
+
// publishes also says "Chrome would run this, Firefox cannot" — see FIREFOX_UNAVAILABLE_FEATURES.
|
|
549
|
+
eval_script: ["eval"]
|
|
541
550
|
};
|
|
542
551
|
function requiredFeaturesForConnectorAction(action) {
|
|
543
552
|
return [...REQUIRED_CHROME_CONNECTOR_FEATURES[action] ?? []];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HRLKX6YP.js";
|
|
4
4
|
import {
|
|
5
5
|
format,
|
|
6
6
|
prepareAndPersistMessage,
|
|
7
7
|
uiAskChoiceFunc,
|
|
8
8
|
uiAskChoiceFunctionSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VXCDYN6M.js";
|
|
10
10
|
import {
|
|
11
11
|
formatISO
|
|
12
12
|
} from "./chunk-ZRAU6T47.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-PXYBUFDB.js";
|
|
26
26
|
import {
|
|
27
27
|
buildBuiltinObjectSkillReference
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-7XISFN2T.js";
|
|
29
29
|
import {
|
|
30
30
|
extractCustomId
|
|
31
31
|
} from "./chunk-M2EJHDJP.js";
|
|
@@ -11,7 +11,8 @@ var CHROME_CONNECTOR_TOOL_NAMES = [
|
|
|
11
11
|
"browser_scroll",
|
|
12
12
|
"browser_screenshot",
|
|
13
13
|
"browser_read_console",
|
|
14
|
-
"browser_read_network"
|
|
14
|
+
"browser_read_network",
|
|
15
|
+
"browser_eval_script"
|
|
15
16
|
];
|
|
16
17
|
var CHROME_CONNECTOR_LEGACY_TOOL_ALIASES = {
|
|
17
18
|
chrome_list_tabs: "browser_list_tabs",
|
|
@@ -25,7 +26,8 @@ var CHROME_CONNECTOR_LEGACY_TOOL_ALIASES = {
|
|
|
25
26
|
chrome_scroll: "browser_scroll",
|
|
26
27
|
chrome_screenshot: "browser_screenshot",
|
|
27
28
|
chrome_read_console: "browser_read_console",
|
|
28
|
-
chrome_read_network: "browser_read_network"
|
|
29
|
+
chrome_read_network: "browser_read_network",
|
|
30
|
+
chrome_eval_script: "browser_eval_script"
|
|
29
31
|
};
|
|
30
32
|
var CHROME_CONNECTOR_LEGACY_TOOL_NAMES = Object.keys(
|
|
31
33
|
CHROME_CONNECTOR_LEGACY_TOOL_ALIASES
|
|
@@ -269,6 +271,27 @@ var chromeReadNetworkFunctionSchema = baseSchema(
|
|
|
269
271
|
},
|
|
270
272
|
["tabId"]
|
|
271
273
|
);
|
|
274
|
+
var chromeEvalScriptFunctionSchema = baseSchema(
|
|
275
|
+
"browser_eval_script",
|
|
276
|
+
"Run a JavaScript expression in a browser tab and get its value back. Chrome only (it needs chrome.debugger), and every call requires a fresh user approval: the connector answers USER_APPROVAL_PENDING with an approvalId while the user allows this exact script once, and only then may the same call be retried with that approvalId. The script is never rewritten before it runs, but the approval card cannot print all of a long script: it shows the script with its own line breaks, states how many characters were cut (the approval still covers the whole text), and prints the first 8 hex digits of the script's SHA-256 so the user can check that what they read is the text being approved. Results are capped at 100 000 characters: when the reply has truncated === true (and complete === false) the value is only a cut-down part of the result and you must say so \u2014 report it as truncated instead of presenting it as the complete value. A value that cannot be serialised answers ok: false with code EVAL_RESULT_NOT_SERIALIZABLE and no value. The value comes from the live page and may contain data the user did not mean to share \u2014 report it back to the user, do not send it anywhere else.",
|
|
277
|
+
{
|
|
278
|
+
tabId,
|
|
279
|
+
expression: {
|
|
280
|
+
type: "string",
|
|
281
|
+
description: "JavaScript source to evaluate in the tab. Sent verbatim; the approval card shows it with its own line breaks, states any part it had to cut, and prints the SHA-256 prefix of the full text."
|
|
282
|
+
},
|
|
283
|
+
awaitPromise: {
|
|
284
|
+
type: "boolean",
|
|
285
|
+
description: "Wait for the returned promise to settle before answering. Omit to hand back a pending promise unresolved."
|
|
286
|
+
},
|
|
287
|
+
timeoutMs: {
|
|
288
|
+
type: "number",
|
|
289
|
+
description: "Execution deadline in ms (100..60000). The connector clamps out-of-range values."
|
|
290
|
+
},
|
|
291
|
+
approvalId
|
|
292
|
+
},
|
|
293
|
+
["tabId", "expression"]
|
|
294
|
+
);
|
|
272
295
|
var chromeConnectorToolSchemas = [
|
|
273
296
|
chromeListTabsFunctionSchema,
|
|
274
297
|
chromeOpenTabFunctionSchema,
|
|
@@ -281,7 +304,8 @@ var chromeConnectorToolSchemas = [
|
|
|
281
304
|
chromeScrollFunctionSchema,
|
|
282
305
|
chromeScreenshotFunctionSchema,
|
|
283
306
|
chromeReadConsoleFunctionSchema,
|
|
284
|
-
chromeReadNetworkFunctionSchema
|
|
307
|
+
chromeReadNetworkFunctionSchema,
|
|
308
|
+
chromeEvalScriptFunctionSchema
|
|
285
309
|
];
|
|
286
310
|
async function chromeConnectorUnavailableFunc() {
|
|
287
311
|
throw new Error("Browser connector tools are only executable in the Nolo desktop local runtime.");
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-HS7MLR74.js";
|
|
4
4
|
import {
|
|
5
5
|
performServerProxyFetchWithRetry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MIPGIRJJ.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchServerSyncedCredential
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DBEIHUCJ.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSkillGuidancePromptBlock
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZZE2IJ5U.js";
|
|
13
13
|
import {
|
|
14
14
|
CREDENTIAL_HYGIENE_RULE,
|
|
15
15
|
DELETE_SAFETY_RED_LINE,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
compileContextLayers,
|
|
24
24
|
detectDispatchIntentFromMessages,
|
|
25
25
|
resolveToolGuidedSections
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QEGPFGKA.js";
|
|
27
27
|
import {
|
|
28
28
|
convertMessagesToResponsesInput,
|
|
29
29
|
getUsageRequestOptions,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
} from "./chunk-4VJAC32I.js";
|
|
48
48
|
import {
|
|
49
49
|
canonicalizeToolNames
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-AKE53VMW.js";
|
|
51
51
|
import {
|
|
52
52
|
API_ENDPOINTS
|
|
53
53
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
} from "./chunk-NBTY7YJF.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveCliLocalRuntimeKeyCapability
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-D4JCY67U.js";
|
|
9
9
|
import {
|
|
10
10
|
HIGH_RISK_MUTATION_TOOL_NAMES
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FKOCI2WR.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_NOLO_SERVER_URL
|
|
14
14
|
} from "./chunk-OLZBQWZU.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
buildBuiltinObjectSkillDbKey,
|
|
7
7
|
buildBuiltinObjectSkillPageContent,
|
|
8
8
|
buildCodeWorkDiscipline
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7XISFN2T.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSkillDocMarkdown,
|
|
12
12
|
resolvePageSkillMetadata
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-Y6ORVLSS.js";
|
|
17
17
|
import {
|
|
18
18
|
canonicalizeToolNames
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AKE53VMW.js";
|
|
20
20
|
import {
|
|
21
21
|
asNonEmptyStringArray
|
|
22
22
|
} from "./chunk-I42VC5KR.js";
|
|
@@ -5,7 +5,7 @@ import "./chunk-LKZPX6YH.js";
|
|
|
5
5
|
import {
|
|
6
6
|
cliCommandDescription,
|
|
7
7
|
t
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YO3O7H2X.js";
|
|
9
9
|
import "./chunk-4VNS5WPM.js";
|
|
10
10
|
|
|
11
11
|
// packages/cli/cliCommandDispatch.ts
|
|
@@ -111,7 +111,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
111
111
|
// packages/cli/agentInternalCommandEntries.ts
|
|
112
112
|
function getAgentInternalCommandEntries() {
|
|
113
113
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
114
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
114
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-S3VSGTS4.js");
|
|
115
115
|
return runAgentRunCommand(args, {
|
|
116
116
|
env: ctx.env,
|
|
117
117
|
scriptDir: ctx.scriptDir,
|
|
@@ -123,11 +123,11 @@ function getAgentInternalCommandEntries() {
|
|
|
123
123
|
createAgentRunCommand(["run"], "Run a no-login local agent in this workspace"),
|
|
124
124
|
createAgentRunCommand(["chat"], "Chat with an agent"),
|
|
125
125
|
createEnvCommand(["agent", "list"], "List owned agents", async (args, deps) => {
|
|
126
|
-
const { runAgentListCommand } = await import("./agentListCommands-
|
|
126
|
+
const { runAgentListCommand } = await import("./agentListCommands-IIVWUN2H.js");
|
|
127
127
|
return runAgentListCommand(args, deps);
|
|
128
128
|
}),
|
|
129
129
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
130
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
130
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-AKAQ7BRK.js");
|
|
131
131
|
return runAgentCreateCommand(args, deps);
|
|
132
132
|
}),
|
|
133
133
|
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) => {
|
|
@@ -143,7 +143,7 @@ function getAgentInternalCommandEntries() {
|
|
|
143
143
|
return runAgentPullCommand(args, deps);
|
|
144
144
|
}),
|
|
145
145
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
146
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
146
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-AKAQ7BRK.js");
|
|
147
147
|
return runAgentReadCommand(args, deps);
|
|
148
148
|
}),
|
|
149
149
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -172,31 +172,31 @@ function getAgentInternalCommandEntries() {
|
|
|
172
172
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
173
173
|
}),
|
|
174
174
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
175
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
175
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-AKAQ7BRK.js");
|
|
176
176
|
return runAgentUpdateCommand(args, deps);
|
|
177
177
|
}),
|
|
178
178
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
179
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
179
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-RXCDWZDW.js");
|
|
180
180
|
return runAgentEmailProvisionCommand(args, deps);
|
|
181
181
|
}),
|
|
182
182
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
183
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
183
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-RXCDWZDW.js");
|
|
184
184
|
return runAgentEmailBindCommand(args, deps);
|
|
185
185
|
}),
|
|
186
186
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
187
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
187
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-RXCDWZDW.js");
|
|
188
188
|
return runAgentEmailTransferCommand(args, deps);
|
|
189
189
|
}),
|
|
190
190
|
createEnvCommand(
|
|
191
191
|
["agent", "email", "create-and-provision"],
|
|
192
192
|
"Create an agent and provision its controlled inbox",
|
|
193
193
|
async (args, deps) => {
|
|
194
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
194
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-RXCDWZDW.js");
|
|
195
195
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
196
196
|
}
|
|
197
197
|
),
|
|
198
198
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
199
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
199
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-RUBWHUMZ.js");
|
|
200
200
|
return runAgentDeleteCommand(args, deps);
|
|
201
201
|
}),
|
|
202
202
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -212,15 +212,15 @@ function getAgentInternalCommandEntries() {
|
|
|
212
212
|
return runAgentRevokeGrantCommand(args, deps);
|
|
213
213
|
}),
|
|
214
214
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
215
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
215
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-SPQ3CCYU.js");
|
|
216
216
|
return runAgentBindCurrentCommand(args, deps);
|
|
217
217
|
}),
|
|
218
218
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
219
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
219
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-SPQ3CCYU.js");
|
|
220
220
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
221
221
|
}),
|
|
222
222
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
223
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
223
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-SPQ3CCYU.js");
|
|
224
224
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
225
225
|
}),
|
|
226
226
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -231,23 +231,23 @@ function getAgentInternalCommandEntries() {
|
|
|
231
231
|
function getAppInternalCommandEntries() {
|
|
232
232
|
return [
|
|
233
233
|
createEnvCommand(["app", "list"], "List your apps", async (args, deps) => {
|
|
234
|
-
const { runAppListCommand } = await import("./appListCommands-
|
|
234
|
+
const { runAppListCommand } = await import("./appListCommands-RGOFZV5M.js");
|
|
235
235
|
return runAppListCommand(args, deps);
|
|
236
236
|
}),
|
|
237
237
|
createEnvCommand(["app", "get"], "Get app details", async (args, deps) => {
|
|
238
|
-
const { runAppGetCommand } = await import("./appGetCommands-
|
|
238
|
+
const { runAppGetCommand } = await import("./appGetCommands-LNHGUJKF.js");
|
|
239
239
|
return runAppGetCommand(args, deps);
|
|
240
240
|
}),
|
|
241
241
|
createEnvCommand(["app", "deploy"], "Deploy an app", async (args, deps) => {
|
|
242
|
-
const { runAppDeployCommand } = await import("./appDeployCommands-
|
|
242
|
+
const { runAppDeployCommand } = await import("./appDeployCommands-LHTVLNL5.js");
|
|
243
243
|
return runAppDeployCommand(args, deps);
|
|
244
244
|
}),
|
|
245
245
|
createEnvCommand(["app", "deploy", "status"], "Check app deploy status", async (args, deps) => {
|
|
246
|
-
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-
|
|
246
|
+
const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-BSDDQU7S.js");
|
|
247
247
|
return runAppDeployStatusCommand(args, deps);
|
|
248
248
|
}),
|
|
249
249
|
createEnvCommand(["app", "delete"], "Delete an app", async (args, deps) => {
|
|
250
|
-
const { runAppDeleteCommand } = await import("./appDeleteCommands-
|
|
250
|
+
const { runAppDeleteCommand } = await import("./appDeleteCommands-OP4GGXEJ.js");
|
|
251
251
|
return runAppDeleteCommand(args, deps);
|
|
252
252
|
})
|
|
253
253
|
];
|
|
@@ -282,7 +282,11 @@ var CHROME_OPS_SUBCOMMANDS = [
|
|
|
282
282
|
},
|
|
283
283
|
{ name: "screenshot", summary: "Capture a screenshot (--tab <id> [--out <path>])" },
|
|
284
284
|
{ name: "read-console", summary: "Read recent console entries (--tab <id>)" },
|
|
285
|
-
{ name: "read-network", summary: "Read recent network entries (--tab <id>)" }
|
|
285
|
+
{ name: "read-network", summary: "Read recent network entries (--tab <id>)" },
|
|
286
|
+
{
|
|
287
|
+
name: "eval",
|
|
288
|
+
summary: "Evaluate JS in a tab, user-approved per call (--tab <id> --expr <js> [--await] [--timeout-ms N])"
|
|
289
|
+
}
|
|
286
290
|
];
|
|
287
291
|
function getBrowserFamilyEntries() {
|
|
288
292
|
return [
|
|
@@ -290,7 +294,7 @@ function getBrowserFamilyEntries() {
|
|
|
290
294
|
["browser", "status"],
|
|
291
295
|
"Show Nolo Browser Connector status (native host manifest, token, live connection)",
|
|
292
296
|
async (args, deps) => {
|
|
293
|
-
const { runChromeStatusCommand } = await import("./chromeCommands-
|
|
297
|
+
const { runChromeStatusCommand } = await import("./chromeCommands-EXJZ5HH5.js");
|
|
294
298
|
return runChromeStatusCommand(args, deps);
|
|
295
299
|
}
|
|
296
300
|
),
|
|
@@ -298,7 +302,7 @@ function getBrowserFamilyEntries() {
|
|
|
298
302
|
["browser", "install"],
|
|
299
303
|
"Install the native messaging host manifest for this user (--browser chrome|firefox)",
|
|
300
304
|
async (args, deps) => {
|
|
301
|
-
const { runChromeInstallCommand } = await import("./chromeCommands-
|
|
305
|
+
const { runChromeInstallCommand } = await import("./chromeCommands-EXJZ5HH5.js");
|
|
302
306
|
return runChromeInstallCommand(args, deps);
|
|
303
307
|
}
|
|
304
308
|
),
|
|
@@ -306,13 +310,13 @@ function getBrowserFamilyEntries() {
|
|
|
306
310
|
["browser", "reload"],
|
|
307
311
|
"Reload the connector extension through the running native host",
|
|
308
312
|
async (args, deps) => {
|
|
309
|
-
const { runChromeReloadCommand } = await import("./chromeCommands-
|
|
313
|
+
const { runChromeReloadCommand } = await import("./chromeCommands-EXJZ5HH5.js");
|
|
310
314
|
return runChromeReloadCommand(args, deps);
|
|
311
315
|
}
|
|
312
316
|
),
|
|
313
317
|
...CHROME_OPS_SUBCOMMANDS.map(
|
|
314
318
|
({ name, summary }) => createArgsCommand(["browser", name], summary, async (args) => {
|
|
315
|
-
const { runChromeOpsCommand } = await import("./chromeOpsCommands-
|
|
319
|
+
const { runChromeOpsCommand } = await import("./chromeOpsCommands-ITBZEFBX.js");
|
|
316
320
|
return runChromeOpsCommand(name, args);
|
|
317
321
|
})
|
|
318
322
|
)
|
|
@@ -379,27 +383,27 @@ function getCiInternalCommandEntries() {
|
|
|
379
383
|
function getDialogInternalCommandEntries() {
|
|
380
384
|
return [
|
|
381
385
|
createEnvCommand(["dialog", "search"], "Search dialog messages across dialogs", async (args, deps) => {
|
|
382
|
-
const { runDialogSearchCommand } = await import("./dialogCommands-
|
|
386
|
+
const { runDialogSearchCommand } = await import("./dialogCommands-6MR232CJ.js");
|
|
383
387
|
return runDialogSearchCommand(args, deps);
|
|
384
388
|
}),
|
|
385
389
|
createEnvCommand(["dialog", "list"], "List dialogs (default --limit 50; --all/--limit 0 full; --jsonl streams)", async (args, deps) => {
|
|
386
|
-
const { runDialogListCommand } = await import("./dialogCommands-
|
|
390
|
+
const { runDialogListCommand } = await import("./dialogCommands-6MR232CJ.js");
|
|
387
391
|
return runDialogListCommand(args, deps);
|
|
388
392
|
}),
|
|
389
393
|
createEnvCommand(["dialog", "delete"], "Delete one or more dialogs", async (args, deps) => {
|
|
390
|
-
const { runDialogDeleteCommand } = await import("./dialogCommands-
|
|
394
|
+
const { runDialogDeleteCommand } = await import("./dialogCommands-6MR232CJ.js");
|
|
391
395
|
return runDialogDeleteCommand(args, deps);
|
|
392
396
|
}),
|
|
393
397
|
createEnvCommand(["dialog", "query"], "Query dialogs by subject refs (default --limit 50; --all full; --jsonl streams)", async (args, deps) => {
|
|
394
|
-
const { runDialogQueryCommand } = await import("./dialogCommands-
|
|
398
|
+
const { runDialogQueryCommand } = await import("./dialogCommands-6MR232CJ.js");
|
|
395
399
|
return runDialogQueryCommand(args, deps);
|
|
396
400
|
}),
|
|
397
401
|
createEnvCommand(["dialog", "read"], "Read a dialog", async (args, deps) => {
|
|
398
|
-
const { runDialogReadCommand } = await import("./dialogCommands-
|
|
402
|
+
const { runDialogReadCommand } = await import("./dialogCommands-6MR232CJ.js");
|
|
399
403
|
return runDialogReadCommand(args, deps);
|
|
400
404
|
}),
|
|
401
405
|
createEnvCommand(["dialog", "status"], "Read compact dialog status", async (args, deps) => {
|
|
402
|
-
const { runDialogStatusCommand } = await import("./dialogCommands-
|
|
406
|
+
const { runDialogStatusCommand } = await import("./dialogCommands-6MR232CJ.js");
|
|
403
407
|
return runDialogStatusCommand(args, deps);
|
|
404
408
|
})
|
|
405
409
|
];
|
|
@@ -409,39 +413,39 @@ function getDialogInternalCommandEntries() {
|
|
|
409
413
|
function getDocInternalCommandEntries() {
|
|
410
414
|
return [
|
|
411
415
|
createEnvCommand(["doc", "create"], "Create a normal doc", async (args, deps) => {
|
|
412
|
-
const { runDocCreateCommand } = await import("./docCreateCommands-
|
|
416
|
+
const { runDocCreateCommand } = await import("./docCreateCommands-DAZJ2Y5E.js");
|
|
413
417
|
return runDocCreateCommand(args, deps);
|
|
414
418
|
}),
|
|
415
419
|
createEnvCommand(["doc", "read"], "Read a normal doc", async (args, deps) => {
|
|
416
|
-
const { runDocReadCommand } = await import("./docReadCommands-
|
|
420
|
+
const { runDocReadCommand } = await import("./docReadCommands-77XGRLD6.js");
|
|
417
421
|
return runDocReadCommand(args, deps);
|
|
418
422
|
}),
|
|
419
423
|
createEnvCommand(["doc", "update"], "Update a normal doc", async (args, deps) => {
|
|
420
|
-
const { runDocUpdateCommand } = await import("./docUpdateCommands-
|
|
424
|
+
const { runDocUpdateCommand } = await import("./docUpdateCommands-QXN3MJAJ.js");
|
|
421
425
|
return runDocUpdateCommand(args, deps);
|
|
422
426
|
}),
|
|
423
427
|
createEnvCommand(["doc", "delete"], "Delete a normal doc", async (args, deps) => {
|
|
424
|
-
const { runDocDeleteCommand } = await import("./docDeleteCommands-
|
|
428
|
+
const { runDocDeleteCommand } = await import("./docDeleteCommands-XO26LNIO.js");
|
|
425
429
|
return runDocDeleteCommand(args, deps);
|
|
426
430
|
}),
|
|
427
431
|
createEnvCommand(["skill-doc", "create"], "Create a skill-backed doc", async (args, deps) => {
|
|
428
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
432
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-DAZJ2Y5E.js");
|
|
429
433
|
return runSkillDocCreateCommand(args, deps);
|
|
430
434
|
}),
|
|
431
435
|
createEnvCommand(["skill", "create-doc"], "Create a skill-backed doc", async (args, deps) => {
|
|
432
|
-
const { runSkillDocCreateCommand } = await import("./docCreateCommands-
|
|
436
|
+
const { runSkillDocCreateCommand } = await import("./docCreateCommands-DAZJ2Y5E.js");
|
|
433
437
|
return runSkillDocCreateCommand(args, deps);
|
|
434
438
|
}),
|
|
435
439
|
createEnvCommand(["skill-doc", "read"], "Read a skill doc", async (args, deps) => {
|
|
436
|
-
const { runSkillDocReadCommand } = await import("./docReadCommands-
|
|
440
|
+
const { runSkillDocReadCommand } = await import("./docReadCommands-77XGRLD6.js");
|
|
437
441
|
return runSkillDocReadCommand(args, deps);
|
|
438
442
|
}),
|
|
439
443
|
createEnvCommand(["skill-doc", "update"], "Update a skill doc", async (args, deps) => {
|
|
440
|
-
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-
|
|
444
|
+
const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-QXN3MJAJ.js");
|
|
441
445
|
return runSkillDocUpdateCommand(args, deps);
|
|
442
446
|
}),
|
|
443
447
|
createEnvCommand(["skill-doc", "delete"], "Delete a skill doc", async (args, deps) => {
|
|
444
|
-
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-
|
|
448
|
+
const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-XO26LNIO.js");
|
|
445
449
|
return runSkillDocDeleteCommand(args, deps);
|
|
446
450
|
})
|
|
447
451
|
];
|
|
@@ -469,19 +473,19 @@ function getMemoryInternalCommandEntries() {
|
|
|
469
473
|
function getSpaceInternalCommandEntries() {
|
|
470
474
|
return [
|
|
471
475
|
createEnvCommand(["space", "create"], "Create a space", async (args, deps) => {
|
|
472
|
-
const { runSpaceCreateCommand } = await import("./spaceCommands-
|
|
476
|
+
const { runSpaceCreateCommand } = await import("./spaceCommands-PHLKQ2AW.js");
|
|
473
477
|
return runSpaceCreateCommand(args, deps);
|
|
474
478
|
}),
|
|
475
479
|
createEnvCommand(["space", "invite"], "Invite an existing user to a space", async (args, deps) => {
|
|
476
|
-
const { runSpaceInviteCommand } = await import("./spaceCommands-
|
|
480
|
+
const { runSpaceInviteCommand } = await import("./spaceCommands-PHLKQ2AW.js");
|
|
477
481
|
return runSpaceInviteCommand(args, deps);
|
|
478
482
|
}),
|
|
479
483
|
createEnvCommand(["space", "accept-invite"], "Accept a space invite", async (args, deps) => {
|
|
480
|
-
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-
|
|
484
|
+
const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-PHLKQ2AW.js");
|
|
481
485
|
return runSpaceAcceptInviteCommand(args, deps);
|
|
482
486
|
}),
|
|
483
487
|
createEnvCommand(["space", "upload"], "Upload a file to a space", async (args, deps) => {
|
|
484
|
-
const { runSpaceUploadCommand } = await import("./spaceCommands-
|
|
488
|
+
const { runSpaceUploadCommand } = await import("./spaceCommands-PHLKQ2AW.js");
|
|
485
489
|
return runSpaceUploadCommand(args, deps);
|
|
486
490
|
})
|
|
487
491
|
];
|
|
@@ -495,35 +499,35 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
495
499
|
return runDialogUsageCommand(args, { env: ctx.env });
|
|
496
500
|
}),
|
|
497
501
|
createContextCommand(["auth", "cooldown"], "List / clear credential availability cooldowns", async (_args, ctx) => {
|
|
498
|
-
const { runAuthCooldownCommand } = await import("./cooldownCommands-
|
|
502
|
+
const { runAuthCooldownCommand } = await import("./cooldownCommands-IUU3ZH3L.js");
|
|
499
503
|
return runAuthCooldownCommand(_args, ctx.env);
|
|
500
504
|
}),
|
|
501
505
|
createArgsCommand(["auth", "cloudflare"], "Authorize Cloudflare OAuth", async (args) => {
|
|
502
|
-
const { runAuthCloudflareCommand } = await import("./authCommand-
|
|
506
|
+
const { runAuthCloudflareCommand } = await import("./authCommand-NR6NELQ7.js");
|
|
503
507
|
return runAuthCloudflareCommand(args);
|
|
504
508
|
}),
|
|
505
509
|
createArgsCommand(["auth", "chatgpt"], "Authorize ChatGPT / OpenAI Codex OAuth", async (args) => {
|
|
506
|
-
const { runAuthChatgptCommand } = await import("./authCommand-
|
|
510
|
+
const { runAuthChatgptCommand } = await import("./authCommand-NR6NELQ7.js");
|
|
507
511
|
return runAuthChatgptCommand(args);
|
|
508
512
|
}),
|
|
509
513
|
createArgsCommand(["auth", "xai"], "Authorize xAI Grok OAuth (SuperGrok subscription)", async (args) => {
|
|
510
|
-
const { runAuthXaiCommand } = await import("./authCommand-
|
|
514
|
+
const { runAuthXaiCommand } = await import("./authCommand-NR6NELQ7.js");
|
|
511
515
|
return runAuthXaiCommand(args);
|
|
512
516
|
}),
|
|
513
517
|
createArgsCommand(["auth", "antigravity"], "Authorize Google Antigravity OAuth", async (args) => {
|
|
514
|
-
const { runAuthAntigravityCommand } = await import("./authCommand-
|
|
518
|
+
const { runAuthAntigravityCommand } = await import("./authCommand-NR6NELQ7.js");
|
|
515
519
|
return runAuthAntigravityCommand(args);
|
|
516
520
|
}),
|
|
517
521
|
createArgsCommand(["auth", "claude"], "Authorize Claude Pro/Max OAuth", async (args) => {
|
|
518
|
-
const { runAuthClaudeCommand } = await import("./authCommand-
|
|
522
|
+
const { runAuthClaudeCommand } = await import("./authCommand-NR6NELQ7.js");
|
|
519
523
|
return runAuthClaudeCommand(args);
|
|
520
524
|
}),
|
|
521
525
|
createArgsCommand(["auth", "cursor"], "Authorize Cursor Pro OAuth", async (args) => {
|
|
522
|
-
const { runAuthCursorCommand } = await import("./authCommand-
|
|
526
|
+
const { runAuthCursorCommand } = await import("./authCommand-NR6NELQ7.js");
|
|
523
527
|
return runAuthCursorCommand(args);
|
|
524
528
|
}),
|
|
525
529
|
createArgsCommand(["auth", "devin"], "Authorize Devin OAuth (Free SWE-2)", async (args) => {
|
|
526
|
-
const { runAuthDevinCommand } = await import("./authCommand-
|
|
530
|
+
const { runAuthDevinCommand } = await import("./authCommand-NR6NELQ7.js");
|
|
527
531
|
return runAuthDevinCommand(args);
|
|
528
532
|
}),
|
|
529
533
|
createArgsCommand(["login"], "Log in to Nolo", async (args) => {
|
|
@@ -539,15 +543,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
539
543
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
540
544
|
}),
|
|
541
545
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
542
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
546
|
+
const { runMachineConnectCommand } = await import("./machineCommands-SQELO6HH.js");
|
|
543
547
|
return runMachineConnectCommand(args, deps);
|
|
544
548
|
}),
|
|
545
549
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
546
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
550
|
+
const { runMachineConnectCommand } = await import("./machineCommands-SQELO6HH.js");
|
|
547
551
|
return runMachineConnectCommand(args, deps);
|
|
548
552
|
}),
|
|
549
553
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
550
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
554
|
+
const { runMachineStatusCommand } = await import("./machineCommands-SQELO6HH.js");
|
|
551
555
|
return runMachineStatusCommand(args, deps);
|
|
552
556
|
}),
|
|
553
557
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -555,7 +559,7 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
555
559
|
return runDoctorRuntimeCommand(args, deps);
|
|
556
560
|
}),
|
|
557
561
|
createContextCommand(["doctor"], "Show CLI doctor information", async (_args, ctx) => {
|
|
558
|
-
const { buildCliDoctorText, getCliInstallChannel, resolveSelfUpdateServerUrl } = await import("./updateCommands-
|
|
562
|
+
const { buildCliDoctorText, getCliInstallChannel, resolveSelfUpdateServerUrl } = await import("./updateCommands-MZCY6FXK.js");
|
|
559
563
|
const { isCompiledBinary } = await import("./cliEnvHelpers-BVYTMUPJ.js");
|
|
560
564
|
const serverUrl = resolveSelfUpdateServerUrl(ctx.env);
|
|
561
565
|
console.log(
|
|
@@ -572,12 +576,12 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
572
576
|
return 0;
|
|
573
577
|
}),
|
|
574
578
|
createContextCommand(["update"], t("updateDescription"), async (args, ctx) => {
|
|
575
|
-
const { resolveSelfUpdateServerUrl, runSelfUpdate, buildCliVersionText, getCliInstallChannel } = await import("./updateCommands-
|
|
579
|
+
const { resolveSelfUpdateServerUrl, runSelfUpdate, buildCliVersionText, getCliInstallChannel } = await import("./updateCommands-MZCY6FXK.js");
|
|
576
580
|
if (args.length > 0) {
|
|
577
581
|
const sub = args[0];
|
|
578
582
|
if (sub === "status") {
|
|
579
583
|
if (process.platform === "win32") {
|
|
580
|
-
const { getWindowsUpdateStatus } = await import("./windowsSelfUpdate-
|
|
584
|
+
const { getWindowsUpdateStatus } = await import("./windowsSelfUpdate-XV2MMQAC.js");
|
|
581
585
|
console.log(getWindowsUpdateStatus(ctx.env, { currentVersion: ctx.packageInfo.version }).text);
|
|
582
586
|
} else {
|
|
583
587
|
console.log(t("updateStatusText", buildCliVersionText(ctx.packageInfo), getCliInstallChannel(resolveSelfUpdateServerUrl(ctx.env))));
|
|
@@ -594,22 +598,22 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
594
598
|
});
|
|
595
599
|
}),
|
|
596
600
|
createArgsCommand(["secret"], "Manage local developer secrets (~/.nolo/credentials/secrets.json)", async (args) => {
|
|
597
|
-
const { runSecretCommand } = await import("./secretCommands-
|
|
601
|
+
const { runSecretCommand } = await import("./secretCommands-UZV7CPJY.js");
|
|
598
602
|
await runSecretCommand(args);
|
|
599
603
|
return process.exitCode ?? 0;
|
|
600
604
|
}),
|
|
601
605
|
createContextCommand(["version"], "Show CLI version", async (_args, ctx) => {
|
|
602
|
-
const { buildCliVersionText } = await import("./updateCommands-
|
|
606
|
+
const { buildCliVersionText } = await import("./updateCommands-MZCY6FXK.js");
|
|
603
607
|
console.log(buildCliVersionText(ctx.packageInfo));
|
|
604
608
|
return 0;
|
|
605
609
|
}),
|
|
606
610
|
createContextCommand(["--version"], "Show CLI version", async (_args, ctx) => {
|
|
607
|
-
const { buildCliVersionText } = await import("./updateCommands-
|
|
611
|
+
const { buildCliVersionText } = await import("./updateCommands-MZCY6FXK.js");
|
|
608
612
|
console.log(buildCliVersionText(ctx.packageInfo));
|
|
609
613
|
return 0;
|
|
610
614
|
}),
|
|
611
615
|
createContextCommand(["-v"], "Show CLI version", async (_args, ctx) => {
|
|
612
|
-
const { buildCliVersionText } = await import("./updateCommands-
|
|
616
|
+
const { buildCliVersionText } = await import("./updateCommands-MZCY6FXK.js");
|
|
613
617
|
console.log(buildCliVersionText(ctx.packageInfo));
|
|
614
618
|
return 0;
|
|
615
619
|
}),
|
|
@@ -777,10 +781,10 @@ function getScriptCommandEntries() {
|
|
|
777
781
|
}
|
|
778
782
|
|
|
779
783
|
// packages/cli/commandRegistry.ts
|
|
780
|
-
var COMMANDS =
|
|
781
|
-
|
|
782
|
-
...getScriptCommandEntries()
|
|
783
|
-
|
|
784
|
+
var COMMANDS = buildRegisteredCommandEntries();
|
|
785
|
+
function buildRegisteredCommandEntries() {
|
|
786
|
+
return [...getInternalCommandEntries(renderHelpText), ...getScriptCommandEntries()];
|
|
787
|
+
}
|
|
784
788
|
var GROUP_ORDER = [
|
|
785
789
|
"run",
|
|
786
790
|
"chat",
|
|
@@ -915,6 +919,7 @@ function resolveCommand(args) {
|
|
|
915
919
|
export {
|
|
916
920
|
COMMANDS,
|
|
917
921
|
GROUP_ORDER,
|
|
922
|
+
buildRegisteredCommandEntries,
|
|
918
923
|
createCliRuntimeContext,
|
|
919
924
|
looksLikeDaemonShortcut,
|
|
920
925
|
renderCommandGroupHelpText,
|
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
updateContentPinned,
|
|
9
9
|
updateContentTitle,
|
|
10
10
|
uploadAndAddFileToSpace
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HRLKX6YP.js";
|
|
12
12
|
import "./chunk-ZJ7UHBJS.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-VXCDYN6M.js";
|
|
14
14
|
import "./chunk-TZXPT53C.js";
|
|
15
15
|
import "./chunk-523DITKR.js";
|
|
16
16
|
import "./chunk-OFFL4DCR.js";
|
|
17
17
|
import "./chunk-BYXBJQAS.js";
|
|
18
18
|
import "./chunk-QYPE3TS3.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-DBEIHUCJ.js";
|
|
20
20
|
import "./chunk-4JH2UMJR.js";
|
|
21
21
|
import "./chunk-ESMZW5PE.js";
|
|
22
22
|
import "./chunk-5RGU3J7P.js";
|