nolo-cli 0.212.0-alpha.1 → 0.213.0
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-KE6MBNUJ.js → _executeModel-CUJLCFWR.js} +35 -35
- package/{addContentAction-N2YC5IL3.js → addContentAction-WERAONNY.js} +5 -5
- package/{addDialogAgentAction-3NKVQCEC.js → addDialogAgentAction-7VI7YRML.js} +4 -4
- package/{agentDeleteCommand-NWK7VU4N.js → agentDeleteCommand-XJORXPGU.js} +42 -42
- package/{agentEmailCommands-UZ4DHEX2.js → agentEmailCommands-XTYYFR6Z.js} +43 -43
- package/{agentListCommands-HE7L2A6L.js → agentListCommands-OBLRBLHS.js} +60 -51
- package/{agentMachineCommands-6TE4MBMP.js → agentMachineCommands-5FMT3OT5.js} +13 -12
- package/{agentRecordCommands-L3QQ7HZ4.js → agentRecordCommands-ZQ7SVYGG.js} +42 -42
- package/{agentRunCommand-2IFGQHCO.js → agentRunCommand-WS7IGO2W.js} +43 -43
- package/{agentRunControl-OI3LOENH.js → agentRunControl-TAMHJQSR.js} +3 -3
- package/{agentRuntimeLocal-HL526DNQ.js → agentRuntimeLocal-SOO2OPJG.js} +10 -10
- package/{agentSlice-TMYP2UEA.js → agentSlice-CHR6KOZN.js} +5 -5
- package/{appDeleteCommands-ZERW4AXY.js → appDeleteCommands-GUP6P5YE.js} +15 -14
- package/{appDeployCommands-DUWSMYHL.js → appDeployCommands-MH2FX4O5.js} +15 -14
- package/{appDeployStatusCommands-N2KIE4BF.js → appDeployStatusCommands-SUHN3HPJ.js} +15 -14
- package/{appGetCommands-YVR4NPVY.js → appGetCommands-YWDEX6Z4.js} +15 -14
- package/{appListCommands-JS6HOHZS.js → appListCommands-ZQVMLPAY.js} +15 -14
- package/{authCommand-FE2C3ZUM.js → authCommand-PWX2ZNUP.js} +2 -2
- package/{builtinSkillRegistry-3YOIGEF6.js → builtinSkillRegistry-2QETTQPM.js} +2 -2
- package/{chromeOpsCommands-HEN5AX2J.js → chromeOpsCommands-DIVM2K3T.js} +1 -1
- package/{chunk-YUXQAVRD.js → chunk-3UKL3HPD.js} +251 -14
- package/{chunk-PDGKOTO7.js → chunk-4T2WNOY7.js} +4 -4
- package/{chunk-NOMIGOST.js → chunk-5MQRBSMW.js} +35 -41
- package/{chunk-5RYBGBQH.js → chunk-6DWMYIUY.js} +3 -3
- package/{chunk-KSTEXKL6.js → chunk-75XIDFBW.js} +4 -3
- package/{chunk-CZM5YTZ7.js → chunk-7BT37FK3.js} +193 -305
- package/{chunk-GPO7FCEZ.js → chunk-7QTZCMKL.js} +159 -106
- package/{chunk-NJR3WKVP.js → chunk-7Y4YTDQF.js} +6 -6
- package/{chunk-CKAHAVMK.js → chunk-A7TFUNZO.js} +35 -25
- package/{chunk-PJNFNEJE.js → chunk-ALQ3657A.js} +28 -2
- package/{chunk-YJMRHHGY.js → chunk-BBJ22CLB.js} +5 -5
- package/{chunk-AVTVGMDY.js → chunk-COFEN36Z.js} +1 -1
- package/{chunk-DM6UMOEL.js → chunk-CRHOO2ZR.js} +1 -1
- package/{chunk-EYUBHHFB.js → chunk-EHGEOAHI.js} +2 -2
- package/{chunk-Y2WUYX4I.js → chunk-EHSZD5OI.js} +1 -1
- package/{chunk-QT6PKHYJ.js → chunk-FUGMREBO.js} +2 -2
- package/{chunk-BFM34N54.js → chunk-FW6YHHLI.js} +4 -4
- package/{chunk-3FOQHGHN.js → chunk-G2BQWAVT.js} +2 -2
- package/{chunk-VPAZOH2D.js → chunk-GPVRUGGY.js} +1 -1
- package/{chunk-JNKSDZFS.js → chunk-H4UOTUOX.js} +162 -48
- package/{chunk-UTV2AYEG.js → chunk-H5HF7TJA.js} +1 -1
- package/{chunk-IJXYFTV7.js → chunk-H7PPIYWP.js} +1 -1
- package/{chunk-NRFKLKRU.js → chunk-HSVBJRF4.js} +1 -1
- package/{chunk-GNDJKC4B.js → chunk-HUBHAQK2.js} +8 -8
- package/{chunk-LKDF3ATR.js → chunk-INUFILG6.js} +1 -1
- package/{chunk-OHNELDTO.js → chunk-IXNGOHV5.js} +2 -2
- package/{chunk-WXYLV624.js → chunk-J2NHJ7WX.js} +4 -4
- package/{chunk-YPD3VJZW.js → chunk-KFLT5KAD.js} +4 -4
- package/{chunk-OOF4UPC5.js → chunk-LLRPJECG.js} +4 -4
- package/{chunk-B7NJ3T4A.js → chunk-MDB67IWP.js} +4 -4
- package/{chunk-IF45XG7K.js → chunk-MOIJOHA5.js} +9 -4
- package/{chunk-IIQ6JGRI.js → chunk-NJLL224W.js} +1 -1
- package/{chunk-YOIW77S2.js → chunk-NOKUNJON.js} +2 -2
- package/{chunk-HIRC32DV.js → chunk-NSAPDIN2.js} +8 -4
- package/{chunk-JIT6FSXJ.js → chunk-O2TZF4AI.js} +1 -1
- package/{chunk-4KH4J3G5.js → chunk-OQPKUBPB.js} +1 -1
- package/{chunk-OXME3PEE.js → chunk-PCLE46CE.js} +1 -1
- package/{chunk-CJRONOYL.js → chunk-QG4AOSON.js} +8 -45
- package/{chunk-6OQUPIQF.js → chunk-QHPRUL4O.js} +3 -3
- package/{chunk-MMNYUVLW.js → chunk-R5O4QAWG.js} +1 -1
- package/{chunk-IAPCBNEE.js → chunk-RLBNLZVC.js} +1 -1
- package/{chunk-FHU44LN3.js → chunk-RSHTSUEG.js} +246 -77
- package/{chunk-25JZEIXN.js → chunk-RZOV7OMV.js} +11 -11
- package/{chunk-D2MDMY2M.js → chunk-SVYO6AO7.js} +7 -1
- package/{chunk-INSBKSBB.js → chunk-TAKB25RM.js} +1 -1
- package/{chunk-RU4SD66C.js → chunk-TX5EYMGT.js} +5 -5
- package/{chunk-D5RCRX4A.js → chunk-UYD5HQ6T.js} +746 -177
- package/{chunk-JTDORD5P.js → chunk-V5Y3R6BT.js} +110 -2
- package/{chunk-3RQVYR4B.js → chunk-VNYYOX3V.js} +59 -20
- package/{chunk-3AKFVZ2I.js → chunk-VO4WSAVP.js} +3 -3
- package/{chunk-6NSSLV67.js → chunk-WMTBPBMP.js} +6 -6
- package/{chunk-EZFQ6XRV.js → chunk-WRYQ35LQ.js} +4 -4
- package/{chunk-SOHTHFV2.js → chunk-WYDI6TGM.js} +14 -14
- package/{chunk-M6RL5JCD.js → chunk-X7SDOJUM.js} +3 -3
- package/{chunk-CQ46IRNN.js → chunk-XHQC4PXX.js} +48 -34
- package/{chunk-2WZXXAQD.js → chunk-YB3YZK56.js} +67 -1
- package/{chunk-22CIEBYO.js → chunk-YJAFKXMU.js} +11 -11
- package/{chunk-GSQNH63I.js → chunk-YTF4WH7J.js} +3 -19
- package/{chunk-5AQR3DGV.js → chunk-ZNWI6OVT.js} +2 -2
- package/{chunk-VZKUKCA6.js → chunk-ZXOUUDCG.js} +49 -40
- package/{commandRegistry-VVMTPFAX.js → commandRegistry-W63CYRZJ.js} +64 -64
- package/{contentThunks-N52O67MI.js → contentThunks-U7PL5MQD.js} +12 -12
- package/{cooldownCommands-YXLWOXWR.js → cooldownCommands-TIGUHXTD.js} +3 -3
- package/{createAgentAutomationAction-ZC57YRSV.js → createAgentAutomationAction-OLBQDD6R.js} +12 -12
- package/{createDialogAction-VQW5WDYX.js → createDialogAction-SVH6B3SB.js} +14 -14
- package/{createPageAction-M5VDA7SC.js → createPageAction-F4DIWZ2Z.js} +14 -14
- package/{dbSlice-HP7G4LX3.js → dbSlice-BVH2YZPQ.js} +4 -4
- package/{deleteFile-7VQGLK2V.js → deleteFile-5YOEKV4U.js} +2 -2
- package/{dialogCommands-JHMR2N2Y.js → dialogCommands-KHIEPY3M.js} +18 -18
- package/{dialogSlice-GRSVGDTF.js → dialogSlice-ZCTDV2PZ.js} +11 -11
- package/{docCreateCommands-F2K3UPSQ.js → docCreateCommands-DPMZI7G5.js} +14 -13
- package/{docDeleteCommands-XGXB5RFT.js → docDeleteCommands-IRQQLUBT.js} +16 -16
- package/{docReadCommands-7HWZZV6J.js → docReadCommands-LK37XH6L.js} +14 -13
- package/{docStore-KNZK6Y2G.js → docStore-V2KECILA.js} +5 -5
- package/{docUpdateCommands-OZZ7NQII.js → docUpdateCommands-O6T3HJHH.js} +14 -13
- package/{fetchMessages-M3QU7ZCQ.js → fetchMessages-NR4KNQLO.js} +2 -2
- package/{handleSendMessageAction-SHIH74GJ.js → handleSendMessageAction-2PE25WM3.js} +25 -25
- package/{hostCredentialCreate-X64WK4JD.js → hostCredentialCreate-S233UMAP.js} +42 -42
- package/index.js +7 -7
- package/{localDialogRead-XRLAH4CZ.js → localDialogRead-7NNDVVF7.js} +1 -1
- package/{localRuntimeAdapter-A7K3ABA6.js → localRuntimeAdapter-KY6WXNBR.js} +41 -41
- package/{machineCommands-DE3MR7CJ.js → machineCommands-Q6HA3IXF.js} +42 -42
- package/{machineWsRunDispatch-R26P5V36.js → machineWsRunDispatch-WWJQ6WR3.js} +42 -42
- package/{memberThunks-7WJAY5V6.js → memberThunks-7EDJADWU.js} +5 -5
- package/package.json +1 -1
- package/{projectArchive-GGL5HLMD.js → projectArchive-DRTDIMEV.js} +14 -14
- package/{read-4VZQODSN.js → read-4V2RMG7N.js} +2 -2
- package/{readDocTool-AVD32RUJ.js → readDocTool-BH6ATGQO.js} +1 -1
- package/{readlineWorkspace-XKYKNL2I.js → readlineWorkspace-2W4WRCOU.js} +322 -159
- package/{removeDialogAgentAction-FKL4BYMR.js → removeDialogAgentAction-LYAZGNKW.js} +5 -5
- package/{runAgentClientLoop-V7E2WBVM.js → runAgentClientLoop-J2VQBS2Z.js} +33 -33
- package/{secretCommands-4QS3HCA2.js → secretCommands-LXDWOLZ6.js} +1 -1
- package/{setDialogExtraReferencesAction-TLIOLWWI.js → setDialogExtraReferencesAction-OCRPGPYH.js} +5 -5
- package/{setPrimaryDialogAgentAction-2OLWRFYR.js → setPrimaryDialogAgentAction-HFJDQIBU.js} +5 -5
- package/{settingThunks-UGBPCNYF.js → settingThunks-RAMHMTGM.js} +7 -7
- package/{spaceCommands-4KSLKVNF.js → spaceCommands-KVJZVKVO.js} +14 -14
- package/{streamAgentChatTurn-7FR7X2NU.js → streamAgentChatTurn-GHBMJJ6S.js} +37 -37
- package/{switchDialogAgentAction-UZSAG2N5.js → switchDialogAgentAction-EBRMW3RA.js} +4 -4
- package/{tools-ZLKCC25W.js → tools-EWKCPKMS.js} +28 -28
- package/{tuiSummaryLlmCaller-WC54MVGP.js → tuiSummaryLlmCaller-ALQYUUWB.js} +41 -12
- package/{updateCommands-4744PL3P.js → updateCommands-ZQYU6SCI.js} +3 -3
- package/{updateDialogTitleAction-U53ZT7PJ.js → updateDialogTitleAction-5GGMBTDF.js} +12 -12
- package/{windowsSelfUpdate-XSQVF2GK.js → windowsSelfUpdate-257DV2T6.js} +2 -2
- package/{workloadLifecycle-4BEQHMSD.js → workloadLifecycle-4C42SVBD.js} +1 -0
|
@@ -15,19 +15,19 @@ import {
|
|
|
15
15
|
} from "./chunk-523DITKR.js";
|
|
16
16
|
import {
|
|
17
17
|
runLlm
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KFLT5KAD.js";
|
|
19
19
|
import {
|
|
20
20
|
isMediaToolConfirmation
|
|
21
21
|
} from "./chunk-QYPE3TS3.js";
|
|
22
22
|
import {
|
|
23
23
|
cleanupCliSessionForDialog
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NJLL224W.js";
|
|
25
25
|
import {
|
|
26
26
|
getApproxPricePerImage
|
|
27
27
|
} from "./chunk-4JH2UMJR.js";
|
|
28
28
|
import {
|
|
29
29
|
addContentAction
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-GPVRUGGY.js";
|
|
31
31
|
import {
|
|
32
32
|
getActiveDialogAgentId,
|
|
33
33
|
getDialogAgentIds,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
selectById,
|
|
60
60
|
upload,
|
|
61
61
|
write
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-FW6YHHLI.js";
|
|
63
63
|
import {
|
|
64
64
|
getRuntimeServerContext,
|
|
65
65
|
parseOwnerUserIdFromDbKey,
|
|
@@ -82,13 +82,13 @@ import {
|
|
|
82
82
|
} from "./chunk-PXYBUFDB.js";
|
|
83
83
|
import {
|
|
84
84
|
fetchMessages
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-EHSZD5OI.js";
|
|
86
86
|
import {
|
|
87
87
|
getRecordTimestamp,
|
|
88
88
|
getTombstoneTimestamp,
|
|
89
89
|
isTombstoneRecord,
|
|
90
90
|
shouldReplaceWithNextRecord
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-SVYO6AO7.js";
|
|
92
92
|
import {
|
|
93
93
|
nolotusId
|
|
94
94
|
} from "./chunk-Y6ORVLSS.js";
|
|
@@ -100,25 +100,25 @@ import {
|
|
|
100
100
|
STAGNANT_TOOL_CALLS_FALLBACK_MESSAGE,
|
|
101
101
|
STREAM_TRUNCATED_FALLBACK_MESSAGE,
|
|
102
102
|
asOptionalJsonRecord,
|
|
103
|
+
codexOAuthCatalogWindow,
|
|
103
104
|
devinChannelContextWindow,
|
|
104
105
|
extractReferenceKeysFromMessage,
|
|
106
|
+
isCodexOAuthAgent,
|
|
105
107
|
normalizeUsage,
|
|
106
108
|
resolveAutoExecutionProfile
|
|
107
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-V5Y3R6BT.js";
|
|
108
110
|
import {
|
|
109
111
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
110
112
|
DEFAULT_CONTEXT_WINDOW,
|
|
113
|
+
buildBoundedCompactionRequest,
|
|
111
114
|
buildCompactionMetricsFromPlan,
|
|
112
|
-
buildCompactionUserContent,
|
|
113
115
|
computeSummarySourceMetadata,
|
|
114
116
|
findModelContextWindow,
|
|
115
117
|
formatCompactionMetricsLog,
|
|
116
|
-
formatFileOperationsFromMessages,
|
|
117
|
-
formatMessagesForSummaryWithTruncation,
|
|
118
118
|
getModelInfo,
|
|
119
119
|
planCompression,
|
|
120
120
|
serializeMessageContent
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-7BT37FK3.js";
|
|
122
122
|
import {
|
|
123
123
|
isDevinOAuthAgent
|
|
124
124
|
} from "./chunk-5ZUL4CUO.js";
|
|
@@ -737,6 +737,9 @@ function resolveOccupancyWindow(ref) {
|
|
|
737
737
|
if (isDevinOAuthAgent(ref)) {
|
|
738
738
|
return devinChannelContextWindow(ref.model) ?? findModelContextWindow(ref.model, ref.provider);
|
|
739
739
|
}
|
|
740
|
+
if (isCodexOAuthAgent(ref)) {
|
|
741
|
+
return codexOAuthCatalogWindow(ref.model) ?? findModelContextWindow(ref.model, ref.provider);
|
|
742
|
+
}
|
|
740
743
|
return findModelContextWindow(ref.model, ref.provider);
|
|
741
744
|
}
|
|
742
745
|
|
|
@@ -8486,31 +8489,34 @@ var updateDialogSummaryAction = async (args, thunkApi) => {
|
|
|
8486
8489
|
} : {}
|
|
8487
8490
|
});
|
|
8488
8491
|
if (!plan.shouldCompress) return;
|
|
8489
|
-
const { msgsToCompress, newSummarizedBeforeId } = plan;
|
|
8490
|
-
const extractedKeys = new Set(dialogConfig.referenceKeys || []);
|
|
8491
|
-
for (const msg of msgsToCompress) {
|
|
8492
|
-
for (const key of extractReferenceKeysFromMessage(msg)) {
|
|
8493
|
-
extractedKeys.add(key);
|
|
8494
|
-
}
|
|
8495
|
-
}
|
|
8496
8492
|
const previousSummary = dialogConfig.summary || "";
|
|
8497
|
-
const
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
identityCanonicalName
|
|
8493
|
+
const summaryWindow = Math.min(
|
|
8494
|
+
resolveAgentContextWindow({ model: BUILTIN_SUMMARY_LLM_CONFIG.model, provider: BUILTIN_SUMMARY_LLM_CONFIG.provider }) ?? 32768,
|
|
8495
|
+
resolveAgentContextWindow({ model: BUILTIN_DIALOG_LLM_FALLBACK_MODEL, provider: BUILTIN_SUMMARY_LLM_CONFIG.provider }) ?? 32768
|
|
8501
8496
|
);
|
|
8502
|
-
const
|
|
8497
|
+
const request = buildBoundedCompactionRequest({
|
|
8498
|
+
msgsToCompress: plan.msgsToCompress,
|
|
8503
8499
|
previousSummary,
|
|
8504
|
-
|
|
8505
|
-
|
|
8500
|
+
contextWindow: summaryWindow,
|
|
8501
|
+
canonicalizeToolName: identityCanonicalName
|
|
8506
8502
|
});
|
|
8503
|
+
if (request.status === "blocked") {
|
|
8504
|
+
notifyCompressionFailure(new Error(`\u6458\u8981\u8BF7\u6C42\u65E0\u6CD5\u5B89\u5168\u6784\u5EFA\uFF08${request.reason}\uFF09\uFF0C\u539F\u5386\u53F2\u4FDD\u6301\u4E0D\u53D8`));
|
|
8505
|
+
return;
|
|
8506
|
+
}
|
|
8507
|
+
const { coveredMessages, summarizedBeforeId: newSummarizedBeforeId, promptContent, outputTokenBudget } = request;
|
|
8508
|
+
const extractedKeys = new Set(dialogConfig.referenceKeys || []);
|
|
8509
|
+
for (const msg of coveredMessages) {
|
|
8510
|
+
for (const key of extractReferenceKeysFromMessage(msg)) extractedKeys.add(key);
|
|
8511
|
+
}
|
|
8507
8512
|
try {
|
|
8508
8513
|
const runSummaryLlm = (model) => dispatch(
|
|
8509
8514
|
runLlm({
|
|
8510
8515
|
llmConfig: {
|
|
8511
8516
|
...BUILTIN_SUMMARY_LLM_CONFIG,
|
|
8512
8517
|
...model ? { model } : {},
|
|
8513
|
-
prompt: COMPACTION_SUMMARY_SYSTEM_PROMPT
|
|
8518
|
+
prompt: COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
8519
|
+
max_tokens: outputTokenBudget
|
|
8514
8520
|
},
|
|
8515
8521
|
content: promptContent,
|
|
8516
8522
|
billingDialogKey: dialogKey
|
|
@@ -8559,7 +8565,10 @@ var updateDialogSummaryAction = async (args, thunkApi) => {
|
|
|
8559
8565
|
const metrics = buildCompactionMetricsFromPlan({
|
|
8560
8566
|
reason: args.reason || "context_budget",
|
|
8561
8567
|
previousSummary: dialogConfig.summary || "",
|
|
8562
|
-
plan
|
|
8568
|
+
plan: {
|
|
8569
|
+
msgsToCompress: coveredMessages,
|
|
8570
|
+
msgsToKeep: [...plan.msgsToCompress.slice(coveredMessages.length), ...plan.msgsToKeep]
|
|
8571
|
+
},
|
|
8563
8572
|
newSummary: newSummary.trim()
|
|
8564
8573
|
// web 端 runLlm 只返回摘要字符串,不含 usage。
|
|
8565
8574
|
// summaryUsage 需要 runLlm 改造才能获取,当前留空。
|
|
@@ -11075,7 +11084,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
11075
11084
|
runtimeOptions: args.runtimeOptions
|
|
11076
11085
|
});
|
|
11077
11086
|
if (agentKeyToUse) {
|
|
11078
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
11087
|
+
const { streamAgentChatTurn } = await import("./agentSlice-CHR6KOZN.js");
|
|
11079
11088
|
await dispatch(
|
|
11080
11089
|
streamAgentChatTurn({
|
|
11081
11090
|
agentKey: agentKeyToUse,
|
|
@@ -12074,7 +12083,7 @@ var deleteOwnedDialogAttachments = async (args) => {
|
|
|
12074
12083
|
metadataReadFailures
|
|
12075
12084
|
});
|
|
12076
12085
|
if (!plan.deleteCandidates.length) return plan;
|
|
12077
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
12086
|
+
const { deleteFileAction } = await import("./deleteFile-5YOEKV4U.js");
|
|
12078
12087
|
for (const candidate of plan.deleteCandidates) {
|
|
12079
12088
|
if (candidate.fileDbKey) {
|
|
12080
12089
|
await deleteFileAction(candidate.fileDbKey, args.thunkApi);
|
|
@@ -12136,7 +12145,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
12136
12145
|
}
|
|
12137
12146
|
if (isCurrentDialog) {
|
|
12138
12147
|
await thunkApi.dispatch(resetMsgs());
|
|
12139
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
12148
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-ZCTDV2PZ.js");
|
|
12140
12149
|
dispatch(clearPendingAttachments2());
|
|
12141
12150
|
}
|
|
12142
12151
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -12144,39 +12153,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
12144
12153
|
|
|
12145
12154
|
// packages/chat/dialog/dialogSlice.ts
|
|
12146
12155
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
12147
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
12156
|
+
const { createDialogAction } = await import("./createDialogAction-SVH6B3SB.js");
|
|
12148
12157
|
return createDialogAction(args, thunkApi);
|
|
12149
12158
|
};
|
|
12150
12159
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
12151
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
12160
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-OLBQDD6R.js");
|
|
12152
12161
|
return createAgentAutomationAction(args, thunkApi);
|
|
12153
12162
|
};
|
|
12154
12163
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
12155
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
12164
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-5GGMBTDF.js");
|
|
12156
12165
|
return updateDialogTitleAction(args, thunkApi);
|
|
12157
12166
|
};
|
|
12158
12167
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
12159
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
12168
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-7VI7YRML.js");
|
|
12160
12169
|
return addDialogAgentAction(args, thunkApi);
|
|
12161
12170
|
};
|
|
12162
12171
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
12163
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
12172
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-LYAZGNKW.js");
|
|
12164
12173
|
return removeDialogAgentAction(args, thunkApi);
|
|
12165
12174
|
};
|
|
12166
12175
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
12167
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
12176
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-HFJDQIBU.js");
|
|
12168
12177
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
12169
12178
|
};
|
|
12170
12179
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
12171
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
12180
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-EBRMW3RA.js");
|
|
12172
12181
|
return switchDialogAgentAction(args, thunkApi);
|
|
12173
12182
|
};
|
|
12174
12183
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
12175
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
12184
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-OCRPGPYH.js");
|
|
12176
12185
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
12177
12186
|
};
|
|
12178
12187
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
12179
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
12188
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-2PE25WM3.js");
|
|
12180
12189
|
return handleSendMessageAction(args, thunkApi);
|
|
12181
12190
|
};
|
|
12182
12191
|
function clearDialogState() {
|
|
@@ -12189,7 +12198,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
12189
12198
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
12190
12199
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
12191
12200
|
try {
|
|
12192
|
-
const { createDocState } = await import("./docStore-
|
|
12201
|
+
const { createDocState } = await import("./docStore-V2KECILA.js");
|
|
12193
12202
|
const pageKey = await createDocState(
|
|
12194
12203
|
{ slateData, title },
|
|
12195
12204
|
{ dispatch, getState }
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchCiCancel,
|
|
3
3
|
fetchCiStatus
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A7TFUNZO.js";
|
|
5
5
|
import "./chunk-LKZPX6YH.js";
|
|
6
6
|
import {
|
|
7
7
|
cliCommandDescription,
|
|
8
8
|
t
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VNYYOX3V.js";
|
|
10
10
|
import "./chunk-4VNS5WPM.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/cliCommandDispatch.ts
|
|
@@ -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-WS7IGO2W.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-OBLRBLHS.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-ZQ7SVYGG.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-ZQ7SVYGG.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-TAMHJQSR.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-TAMHJQSR.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-TAMHJQSR.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-TAMHJQSR.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-TAMHJQSR.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-ZQ7SVYGG.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-XTYYFR6Z.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-XTYYFR6Z.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-XTYYFR6Z.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-XTYYFR6Z.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-XJORXPGU.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-5FMT3OT5.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-5FMT3OT5.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-5FMT3OT5.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-ZQVMLPAY.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-YWDEX6Z4.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-MH2FX4O5.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-SUHN3HPJ.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-GUP6P5YE.js");
|
|
256
256
|
return runAppDeleteCommand(args, deps);
|
|
257
257
|
})
|
|
258
258
|
];
|
|
@@ -321,7 +321,7 @@ function getBrowserFamilyEntries() {
|
|
|
321
321
|
),
|
|
322
322
|
...CHROME_OPS_SUBCOMMANDS.map(
|
|
323
323
|
({ name, summary }) => createArgsCommand(["browser", name], summary, async (args) => {
|
|
324
|
-
const { runChromeOpsCommand } = await import("./chromeOpsCommands-
|
|
324
|
+
const { runChromeOpsCommand } = await import("./chromeOpsCommands-DIVM2K3T.js");
|
|
325
325
|
return runChromeOpsCommand(name, args);
|
|
326
326
|
})
|
|
327
327
|
)
|
|
@@ -362,7 +362,7 @@ function getCiInternalCommandEntries() {
|
|
|
362
362
|
return [
|
|
363
363
|
{
|
|
364
364
|
path: ["ci", "cancel"],
|
|
365
|
-
description: "
|
|
365
|
+
description: "Cancel an alpha deploy job",
|
|
366
366
|
kind: "internal",
|
|
367
367
|
handler: async (args) => {
|
|
368
368
|
const jobId = args[0]?.trim();
|
|
@@ -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-KHIEPY3M.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-KHIEPY3M.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-KHIEPY3M.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-KHIEPY3M.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-KHIEPY3M.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-KHIEPY3M.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-DPMZI7G5.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-LK37XH6L.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-O6T3HJHH.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-IRQQLUBT.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-DPMZI7G5.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-DPMZI7G5.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-LK37XH6L.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-O6T3HJHH.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-IRQQLUBT.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-KVJZVKVO.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-KVJZVKVO.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-KVJZVKVO.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-KVJZVKVO.js");
|
|
513
513
|
return runSpaceUploadCommand(args, deps);
|
|
514
514
|
})
|
|
515
515
|
];
|
|
@@ -527,35 +527,35 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
527
527
|
return runUsageCommand(args, { env: ctx.env });
|
|
528
528
|
}),
|
|
529
529
|
createContextCommand(["auth", "cooldown"], "List / clear credential availability cooldowns", async (_args, ctx) => {
|
|
530
|
-
const { runAuthCooldownCommand } = await import("./cooldownCommands-
|
|
530
|
+
const { runAuthCooldownCommand } = await import("./cooldownCommands-TIGUHXTD.js");
|
|
531
531
|
return runAuthCooldownCommand(_args, ctx.env);
|
|
532
532
|
}),
|
|
533
533
|
createArgsCommand(["auth", "cloudflare"], "Authorize Cloudflare OAuth", async (args) => {
|
|
534
|
-
const { runAuthCloudflareCommand } = await import("./authCommand-
|
|
534
|
+
const { runAuthCloudflareCommand } = await import("./authCommand-PWX2ZNUP.js");
|
|
535
535
|
return runAuthCloudflareCommand(args);
|
|
536
536
|
}),
|
|
537
537
|
createArgsCommand(["auth", "chatgpt"], "Authorize ChatGPT / OpenAI Codex OAuth", async (args) => {
|
|
538
|
-
const { runAuthChatgptCommand } = await import("./authCommand-
|
|
538
|
+
const { runAuthChatgptCommand } = await import("./authCommand-PWX2ZNUP.js");
|
|
539
539
|
return runAuthChatgptCommand(args);
|
|
540
540
|
}),
|
|
541
541
|
createArgsCommand(["auth", "xai"], "Authorize xAI Grok OAuth (SuperGrok subscription)", async (args) => {
|
|
542
|
-
const { runAuthXaiCommand } = await import("./authCommand-
|
|
542
|
+
const { runAuthXaiCommand } = await import("./authCommand-PWX2ZNUP.js");
|
|
543
543
|
return runAuthXaiCommand(args);
|
|
544
544
|
}),
|
|
545
545
|
createArgsCommand(["auth", "antigravity"], "Authorize Google Antigravity OAuth", async (args) => {
|
|
546
|
-
const { runAuthAntigravityCommand } = await import("./authCommand-
|
|
546
|
+
const { runAuthAntigravityCommand } = await import("./authCommand-PWX2ZNUP.js");
|
|
547
547
|
return runAuthAntigravityCommand(args);
|
|
548
548
|
}),
|
|
549
549
|
createArgsCommand(["auth", "claude"], "Authorize Claude Pro/Max OAuth", async (args) => {
|
|
550
|
-
const { runAuthClaudeCommand } = await import("./authCommand-
|
|
550
|
+
const { runAuthClaudeCommand } = await import("./authCommand-PWX2ZNUP.js");
|
|
551
551
|
return runAuthClaudeCommand(args);
|
|
552
552
|
}),
|
|
553
553
|
createArgsCommand(["auth", "cursor"], "Authorize Cursor Pro OAuth", async (args) => {
|
|
554
|
-
const { runAuthCursorCommand } = await import("./authCommand-
|
|
554
|
+
const { runAuthCursorCommand } = await import("./authCommand-PWX2ZNUP.js");
|
|
555
555
|
return runAuthCursorCommand(args);
|
|
556
556
|
}),
|
|
557
557
|
createArgsCommand(["auth", "devin"], "Authorize Devin OAuth (Free SWE-2)", async (args) => {
|
|
558
|
-
const { runAuthDevinCommand } = await import("./authCommand-
|
|
558
|
+
const { runAuthDevinCommand } = await import("./authCommand-PWX2ZNUP.js");
|
|
559
559
|
return runAuthDevinCommand(args);
|
|
560
560
|
}),
|
|
561
561
|
createArgsCommand(["login"], "Log in to Nolo", async (args) => {
|
|
@@ -571,15 +571,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
571
571
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
572
572
|
}),
|
|
573
573
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
574
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
574
|
+
const { runMachineConnectCommand } = await import("./machineCommands-Q6HA3IXF.js");
|
|
575
575
|
return runMachineConnectCommand(args, deps);
|
|
576
576
|
}),
|
|
577
577
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
578
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
578
|
+
const { runMachineConnectCommand } = await import("./machineCommands-Q6HA3IXF.js");
|
|
579
579
|
return runMachineConnectCommand(args, deps);
|
|
580
580
|
}),
|
|
581
581
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
582
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
582
|
+
const { runMachineStatusCommand } = await import("./machineCommands-Q6HA3IXF.js");
|
|
583
583
|
return runMachineStatusCommand(args, deps);
|
|
584
584
|
}),
|
|
585
585
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -587,7 +587,7 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
587
587
|
return runDoctorRuntimeCommand(args, deps);
|
|
588
588
|
}),
|
|
589
589
|
createContextCommand(["doctor"], "Show CLI doctor information", async (_args, ctx) => {
|
|
590
|
-
const { buildCliDoctorText, getCliInstallChannel, resolveSelfUpdateServerUrl } = await import("./updateCommands-
|
|
590
|
+
const { buildCliDoctorText, getCliInstallChannel, resolveSelfUpdateServerUrl } = await import("./updateCommands-ZQYU6SCI.js");
|
|
591
591
|
const { isCompiledBinary } = await import("./cliEnvHelpers-BVYTMUPJ.js");
|
|
592
592
|
const serverUrl = resolveSelfUpdateServerUrl(ctx.env);
|
|
593
593
|
console.log(
|
|
@@ -604,12 +604,12 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
604
604
|
return 0;
|
|
605
605
|
}),
|
|
606
606
|
createContextCommand(["update"], t("updateDescription"), async (args, ctx) => {
|
|
607
|
-
const { resolveSelfUpdateServerUrl, runSelfUpdate, buildCliVersionText, getCliInstallChannel } = await import("./updateCommands-
|
|
607
|
+
const { resolveSelfUpdateServerUrl, runSelfUpdate, buildCliVersionText, getCliInstallChannel } = await import("./updateCommands-ZQYU6SCI.js");
|
|
608
608
|
if (args.length > 0) {
|
|
609
609
|
const sub = args[0];
|
|
610
610
|
if (sub === "status") {
|
|
611
611
|
if (process.platform === "win32") {
|
|
612
|
-
const { getWindowsUpdateStatus } = await import("./windowsSelfUpdate-
|
|
612
|
+
const { getWindowsUpdateStatus } = await import("./windowsSelfUpdate-257DV2T6.js");
|
|
613
613
|
console.log(getWindowsUpdateStatus(ctx.env, { currentVersion: ctx.packageInfo.version }).text);
|
|
614
614
|
} else {
|
|
615
615
|
console.log(t("updateStatusText", buildCliVersionText(ctx.packageInfo), getCliInstallChannel(resolveSelfUpdateServerUrl(ctx.env))));
|
|
@@ -626,22 +626,22 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
626
626
|
});
|
|
627
627
|
}),
|
|
628
628
|
createArgsCommand(["secret"], "Manage local developer secrets (~/.nolo/credentials/secrets.json)", async (args) => {
|
|
629
|
-
const { runSecretCommand } = await import("./secretCommands-
|
|
629
|
+
const { runSecretCommand } = await import("./secretCommands-LXDWOLZ6.js");
|
|
630
630
|
await runSecretCommand(args);
|
|
631
631
|
return process.exitCode ?? 0;
|
|
632
632
|
}),
|
|
633
633
|
createContextCommand(["version"], "Show CLI version", async (_args, ctx) => {
|
|
634
|
-
const { buildCliVersionText } = await import("./updateCommands-
|
|
634
|
+
const { buildCliVersionText } = await import("./updateCommands-ZQYU6SCI.js");
|
|
635
635
|
console.log(buildCliVersionText(ctx.packageInfo));
|
|
636
636
|
return 0;
|
|
637
637
|
}),
|
|
638
638
|
createContextCommand(["--version"], "Show CLI version", async (_args, ctx) => {
|
|
639
|
-
const { buildCliVersionText } = await import("./updateCommands-
|
|
639
|
+
const { buildCliVersionText } = await import("./updateCommands-ZQYU6SCI.js");
|
|
640
640
|
console.log(buildCliVersionText(ctx.packageInfo));
|
|
641
641
|
return 0;
|
|
642
642
|
}),
|
|
643
643
|
createContextCommand(["-v"], "Show CLI version", async (_args, ctx) => {
|
|
644
|
-
const { buildCliVersionText } = await import("./updateCommands-
|
|
644
|
+
const { buildCliVersionText } = await import("./updateCommands-ZQYU6SCI.js");
|
|
645
645
|
console.log(buildCliVersionText(ctx.packageInfo));
|
|
646
646
|
return 0;
|
|
647
647
|
}),
|