nolo-cli 0.226.0-alpha.2 → 0.227.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_executeModel-IKZGZZXW.js → _executeModel-JKQGZ3HU.js} +60 -60
- package/accountResolver-EK2S4PWF.js +1 -1
- package/action-CK64LS6S.js +3 -3
- package/{addContentAction-EQXMFNPR.js → addContentAction-CARFID6E.js} +11 -11
- package/{addDialogAgentAction-RSDZDASD.js → addDialogAgentAction-APLZLFW5.js} +10 -10
- package/{agentDeleteCommand-IZY3VF5F.js → agentDeleteCommand-NVR2V2HH.js} +86 -87
- package/{agentEmailCommands-YWL567CL.js → agentEmailCommands-UCVOWD3S.js} +86 -87
- package/{agentFavoriteCommands-2LKGKSUD.js → agentFavoriteCommands-4PDOP3GW.js} +3 -3
- package/{agentGrantCommands-QQV4N4JW.js → agentGrantCommands-FLCEXLUH.js} +4 -4
- package/{agentListCommands-YBNOQ5T3.js → agentListCommands-C65UESYM.js} +70 -57
- package/{agentMachineCommands-AXJ4A772.js → agentMachineCommands-V3DGEJU4.js} +43 -43
- package/{agentProviderCommands-7BSJH7TO.js → agentProviderCommands-7QBFRFRK.js} +4 -4
- package/{agentPullCommand-XN6ZPBUW.js → agentPullCommand-E6JBGBVG.js} +3 -3
- package/{agentRecordCommands-WUUC2CX7.js → agentRecordCommands-6RCJS2EY.js} +83 -84
- package/{agentRunCommand-W6MDKVLJ.js → agentRunCommand-P3GRKXKS.js} +86 -86
- package/{agentRunControl-DFEEOFC7.js → agentRunControl-SNZZ5XP4.js} +10 -10
- package/{agentRuntimeLocal-GSTYFEX4.js → agentRuntimeLocal-GOX2DIY7.js} +38 -38
- package/{agentSlice-5F5U5X2U.js → agentSlice-N7H2FRJA.js} +15 -15
- package/{appDeleteCommands-L7HL4AWF.js → appDeleteCommands-LZDN26FU.js} +47 -47
- package/{appDeployCommands-SGSUNFZR.js → appDeployCommands-6IO6TTZH.js} +47 -47
- package/{appDeployStatusCommands-AAA3XD54.js → appDeployStatusCommands-FG3LX24J.js} +47 -47
- package/{appGetCommands-LN72GAOA.js → appGetCommands-NAKVDVD4.js} +47 -47
- package/{appListCommands-IJQQ3VND.js → appListCommands-KL56RN73.js} +47 -47
- package/{authCommand-7JXW54U4.js → authCommand-AUN5MXV2.js} +20 -20
- package/{authCommands-YDNAIDEY.js → authCommands-D2IPS6ES.js} +7 -7
- package/{builtinSkillRegistry-PXH7EGQB.js → builtinSkillRegistry-UQGLKRYP.js} +5 -5
- package/{chromeOpsCommands-YKX2QX3A.js → chromeOpsCommands-UJWN5HWH.js} +5 -5
- package/{chunk-3QFLXA24.js → chunk-2G3YSVO6.js} +1 -1
- package/{chunk-2COEG5ZV.js → chunk-2SKTCNWO.js} +2 -2
- package/{chunk-KNIIRXHF.js → chunk-3HTP4WZQ.js} +2 -2
- package/{chunk-2TIQO6TC.js → chunk-3VFYQH3I.js} +21 -170
- package/{chunk-AZQZ5XPM.js → chunk-4OKTPFNX.js} +27 -27
- package/{chunk-UYOICCYG.js → chunk-5HL4KC4A.js} +9 -9
- package/{chunk-2VA6TU4I.js → chunk-5LQDHFBN.js} +14 -14
- package/{chunk-QLFCTYRH.js → chunk-5RKRXQ2H.js} +2 -2
- package/{chunk-PDCV7P5W.js → chunk-6XIE5ZGI.js} +1 -1
- package/{chunk-QTMIHVLE.js → chunk-7Z3WUZ4Q.js} +27 -24
- package/{chunk-BLSNUIZD.js → chunk-ABGULE7H.js} +13 -13
- package/{chunk-VQUWV3YR.js → chunk-AXYH4734.js} +12 -12
- package/{chunk-UEKXWO7A.js → chunk-C2B7M567.js} +4 -4
- package/{chunk-2ZKFCIJJ.js → chunk-CLCXHIBS.js} +1 -1
- package/{chunk-GBZ4YKEO.js → chunk-CQVGR3MX.js} +2 -2
- package/{chunk-KC4SCKXO.js → chunk-CVERLOJM.js} +51 -52
- package/{chunk-KN3HEZIQ.js → chunk-EVGU5P4U.js} +1 -1
- package/{chunk-QZI44GWV.js → chunk-F5AY2UZL.js} +145 -4
- package/{chunk-WSJMT3FA.js → chunk-FKEZOMIF.js} +426 -2459
- package/{chunk-PVZY6P3S.js → chunk-G6HJUMST.js} +2 -2
- package/{chunk-NEKH3XDV.js → chunk-GOLPOTG5.js} +3 -3
- package/{chunk-GVGOEMNV.js → chunk-GOQ6ZVTN.js} +1 -1
- package/{chunk-T3T57NVP.js → chunk-GRXSJR2Z.js} +19 -19
- package/{chunk-GGKNJ42M.js → chunk-GUVXQSFZ.js} +2 -2
- package/{chunk-UKS7D2NL.js → chunk-HYKGIXNO.js} +9 -9
- package/{chunk-6O5YP6FX.js → chunk-IAJJYHIB.js} +5 -5
- package/{chunk-SOF4OWDM.js → chunk-IC2I373Q.js} +3 -5
- package/{chunk-UJKTI5PG.js → chunk-ILHQ2AXT.js} +0 -1
- package/{chunk-VV7TXWOC.js → chunk-IX2BXN2K.js} +3 -3
- package/{chunk-RRVQ446B.js → chunk-JHF6VLVL.js} +29 -29
- package/{chunk-DISQCYPE.js → chunk-KJAAPGBE.js} +1 -1
- package/{chunk-N5PQJKCY.js → chunk-KMRKZNGT.js} +5 -5
- package/{chunk-GNHMRBYZ.js → chunk-KRRE4A7D.js} +3 -3
- package/{chunk-6J4TTPS2.js → chunk-L42CBKBZ.js} +4 -4
- package/{chunk-BYH3HMUP.js → chunk-LA7JYAKF.js} +3 -3
- package/{chunk-EJU6WCDH.js → chunk-LXTC53TN.js} +84 -72
- package/{chunk-67BE44IS.js → chunk-M3Y4IBIR.js} +4 -4
- package/{chunk-GIABSSWQ.js → chunk-MWHOH4RJ.js} +1 -1
- package/{chunk-3KNEE64G.js → chunk-NAOO4PVX.js} +16 -16
- package/{chunk-MOMR7NMG.js → chunk-NO3VBWTL.js} +1 -1
- package/{chunk-YDBMZ7FV.js → chunk-OXA5GWHU.js} +2 -2
- package/{chunk-FTQWYWUI.js → chunk-PHOSZT3E.js} +1 -1
- package/{chunk-C4WTX5TU.js → chunk-PLPLH2XZ.js} +1 -1
- package/{chunk-W772FYAQ.js → chunk-PVAWNHP5.js} +52 -52
- package/{chunk-OLMJR6UM.js → chunk-PXKF5CV4.js} +4 -4
- package/{chunk-ZH6MUQEO.js → chunk-RU6DULV4.js} +1 -1
- package/{chunk-JVRQ6YVK.js → chunk-S6K5F3KP.js} +1 -1
- package/{chunk-AVHRSJUH.js → chunk-SFTTXGPM.js} +10 -10
- package/{chunk-4HFTBHBF.js → chunk-SRG5CNLC.js} +4 -4
- package/{chunk-HHL7WG65.js → chunk-SW6OD4KE.js} +6 -6
- package/{chunk-TXGQ4O5S.js → chunk-T43K75CK.js} +13 -13
- package/{chunk-KZU52OJ5.js → chunk-T5N6NHAT.js} +6 -6
- package/{chunk-JHRQXQ4A.js → chunk-TINJKQSO.js} +11 -11
- package/{chunk-JM5C4EUA.js → chunk-TOKPHZ55.js} +1 -1
- package/{chunk-GBUDWITV.js → chunk-UAPNPNSG.js} +892 -625
- package/{chunk-BGGHA5DV.js → chunk-UCFPVYP7.js} +1 -1
- package/{chunk-SOG7OEXX.js → chunk-ULAQPRHX.js} +1 -1
- package/{chunk-SBVTHMEG.js → chunk-UN7HIYMH.js} +1 -1
- package/{chunk-GOAPXKQU.js → chunk-UVUVQVZ6.js} +4 -4
- package/{chunk-4AMQZTE7.js → chunk-VIHDJ3FK.js} +5 -5
- package/{chunk-EWPDMS4N.js → chunk-VPAZ6BEN.js} +1 -1
- package/{chunk-XN23AUVU.js → chunk-VZW34YUL.js} +3 -3
- package/{chunk-D726I5AZ.js → chunk-WJP4TH6U.js} +1 -1
- package/{chunk-EOWLBDY6.js → chunk-X2KRQP7V.js} +1 -1
- package/{chunk-F7DU25CE.js → chunk-XIEYGCN6.js} +4 -10
- package/{chunk-KOXKKHFE.js → chunk-XZODOEKU.js} +1 -1
- package/{chunk-QVBXJNZ2.js → chunk-YGILMZ7N.js} +1 -1
- package/{chunk-C4VAR65S.js → chunk-YOT437BH.js} +5 -5
- package/{chunk-VFBVA3U2.js → chunk-YPPKC6FL.js} +2 -2
- package/{chunk-LM2PS3YS.js → chunk-YQETUZ5V.js} +5 -5
- package/{chunk-E5EIYI34.js → chunk-ZADGPNTV.js} +24 -24
- package/{chunk-L4NFXFFF.js → chunk-ZI5SZ3MV.js} +11 -11
- package/{chunk-EFX3Q5SM.js → chunk-ZYA2YDB6.js} +18 -18
- package/{cliAgentConfigHelpers-KICKKNYQ.js → cliAgentConfigHelpers-QVSQYTKC.js} +10 -10
- package/{cliEnvHelpers-VPSJ4XWC.js → cliEnvHelpers-D6HMC46Z.js} +2 -2
- package/{cliLocalAgentRecordReader-6FXGFBI3.js → cliLocalAgentRecordReader-SPKAJYME.js} +45 -45
- package/{commandRegistry-6EQXVODF.js → commandRegistry-TKR6OWXP.js} +91 -91
- package/{contentThunks-ANUP57QV.js → contentThunks-BQWRPCTM.js} +29 -29
- package/{createAgentAutomationAction-XMUWUDKQ.js → createAgentAutomationAction-GFI6SJZV.js} +32 -32
- package/{createDialogAction-43QJIQDH.js → createDialogAction-MMBIHFFU.js} +30 -30
- package/{createPageAction-SJO7UC3J.js → createPageAction-EEYUE5FB.js} +32 -32
- package/{dbSlice-ZJPDIFER.js → dbSlice-X4Z4E4QU.js} +10 -10
- package/{deleteFile-Q3YDB4ML.js → deleteFile-QOOP2UK7.js} +5 -5
- package/{dialogCommands-V5IYEOQP.js → dialogCommands-OXBQ73DD.js} +48 -48
- package/{dialogNotifyCommand-77B57PL6.js → dialogNotifyCommand-VWS5G4OO.js} +13 -13
- package/{dialogSlice-FQ6WOKWJ.js → dialogSlice-KGYIABDY.js} +27 -27
- package/{dialogUsageCommand-HTVPR2CX.js → dialogUsageCommand-FEWCN7IA.js} +6 -6
- package/{docCreateCommands-36WS33BK.js → docCreateCommands-LS32VKY3.js} +47 -47
- package/{docDeleteCommands-C4CS4XLF.js → docDeleteCommands-JTYR5RPH.js} +48 -48
- package/{docReadCommands-QZMSFMPN.js → docReadCommands-E5LTVKWN.js} +47 -47
- package/{docStore-BZ2O7WLF.js → docStore-TVS2FNER.js} +12 -12
- package/{docUpdateCommands-BYI64HVV.js → docUpdateCommands-I3J3JDZ2.js} +47 -47
- package/{fetchMessages-TQEUZD7H.js → fetchMessages-Q3INLN5F.js} +2 -2
- package/getPricing-VNGFM4PN.js +2 -2
- package/{handleSendMessageAction-I5J7QR7K.js → handleSendMessageAction-SSON36TJ.js} +54 -54
- package/{hostCredentialCreate-AVPMK7EQ.js → hostCredentialCreate-WTW4THJF.js} +83 -84
- package/index.js +12 -12
- package/{localDialogRead-SVTPA5GY.js → localDialogRead-V36DX2Q2.js} +1 -1
- package/{localRuntimeAdapter-S56R76HN.js → localRuntimeAdapter-MI2JGXSF.js} +83 -84
- package/{machineCommands-77NFB2AE.js → machineCommands-3LROJZDK.js} +86 -87
- package/{machineWsRunDispatch-5XWFUJ53.js → machineWsRunDispatch-BUUJRUUB.js} +82 -83
- package/{memberThunks-JRYNONYV.js → memberThunks-CFEPHAND.js} +14 -14
- package/{memoryCommands-5WC3T66U.js → memoryCommands-JQMEJO7J.js} +3 -3
- package/package.json +1 -1
- package/{projectArchive-GNOSYH6F.js → projectArchive-3X54XFVN.js} +32 -32
- package/{providerPresetApply-J3WMRPD2.js → providerPresetApply-FO36N5TX.js} +5 -5
- package/{providerRegistry-KJGB5XWS.js → providerRegistry-U2BSFE6K.js} +5 -5
- package/{read-Q7GOHGNP.js → read-KA3L2V7O.js} +6 -6
- package/{readDocTool-Z5OQ6422.js → readDocTool-AMAZAPAW.js} +1 -1
- package/{readlineWorkspace-2PONGBUP.js → readlineWorkspace-Z3YUH4SX.js} +599 -1264
- package/{removeDialogAgentAction-U3F2MNAY.js → removeDialogAgentAction-JQOJSUM7.js} +12 -12
- package/{runAgentClientLoop-WEXFFHVS.js → runAgentClientLoop-4FCFLMDJ.js} +63 -59
- package/{runtimeDoctorCommands-UXKXYBW6.js → runtimeDoctorCommands-CXOCVDPU.js} +5 -5
- package/{secretCommands-LJXOOYA7.js → secretCommands-GGUAWAE7.js} +3 -3
- package/{setDialogExtraReferencesAction-G3WSJ7EM.js → setDialogExtraReferencesAction-YXQTGXIN.js} +11 -11
- package/{setPrimaryDialogAgentAction-6FHAHZBB.js → setPrimaryDialogAgentAction-YNLB66WE.js} +12 -12
- package/{settingThunks-AXTBX3Q5.js → settingThunks-E6N7RSSS.js} +16 -16
- package/{spaceCommands-GUKMDRWN.js → spaceCommands-DB5DKC2J.js} +43 -43
- package/{streamAgentChatTurn-D2WFS5MF.js → streamAgentChatTurn-FCBGMD4D.js} +84 -123
- package/{switchDialogAgentAction-UOFIAGPL.js → switchDialogAgentAction-LAHLUECU.js} +10 -10
- package/{tools-YKE6PQHT.js → tools-6JD36D6K.js} +49 -49
- package/{tuiSummaryLlmCaller-7WLUKNP2.js → tuiSummaryLlmCaller-UHZIPGAX.js} +14 -14
- package/{updateCommands-RJVCRSBP.js → updateCommands-KZ54HCU5.js} +6 -6
- package/{updateDialogTitleAction-D5NCA4FC.js → updateDialogTitleAction-RV3EUEN3.js} +32 -32
- package/{usageCommand-YPJ2ZI2F.js → usageCommand-KFVV6UL3.js} +1 -1
- package/{usageRebuildCommand-FERQO74C.js → usageRebuildCommand-HHFSNK46.js} +2 -2
- package/{chunk-4NA3YTBC.js → chunk-6EDAMVG6.js} +6 -6
- package/{chunk-W6RFEDN4.js → chunk-AETZ7AD6.js} +3 -3
- package/{chunk-2VUZSVAS.js → chunk-CSW7IPVD.js} +9 -9
- package/{chunk-KEN3N2TN.js → chunk-HVUDBOQG.js} +7 -7
- package/{chunk-SNBZZPYH.js → chunk-OQHIVPG4.js} +3 -3
- package/{chunk-47ITIXO7.js → chunk-SSGTV4FC.js} +3 -3
- package/{chunk-IZIN2UNJ.js → chunk-T2BEPTAG.js} +6 -6
- package/{chunk-HXER7YJF.js → chunk-VXL2FZTP.js} +3 -3
- package/{chunk-2THCNKE4.js → chunk-WACI5I6V.js} +3 -3
- package/{cooldownCommands-X7P5M2V5.js → cooldownCommands-FZYQOWI5.js} +1 -1
- package/{offlineMarxistsAgentCommand-4IC3Y4C6.js → offlineMarxistsAgentCommand-AGA2X5E4.js} +6 -6
- package/{tableCommands-HITDSLHS.js → tableCommands-VNSXHAMG.js} +9 -9
|
@@ -4,35 +4,28 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
buildLocalAgentLookupKeys,
|
|
6
6
|
shouldReadAgentKeyRemotely
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CLCXHIBS.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveCliAgentKeyInput
|
|
10
10
|
} from "./chunk-BR3GT6MR.js";
|
|
11
11
|
import {
|
|
12
12
|
createHostCredentialBrokerChain,
|
|
13
13
|
createStrictHostCredentialBroker
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CVERLOJM.js";
|
|
15
15
|
import {
|
|
16
16
|
collectInvalidAgentSkillModes,
|
|
17
17
|
formatInvalidAgentSkillModeMessage,
|
|
18
18
|
formatInvalidAgentSkillModesFieldMessage,
|
|
19
19
|
isAgentSkillModesFieldShapeValid
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-X2KRQP7V.js";
|
|
21
21
|
import {
|
|
22
22
|
buildAgentApiKeyCredentialRef,
|
|
23
23
|
migrateAgentSecrets
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SSGTV4FC.js";
|
|
25
25
|
import {
|
|
26
26
|
assertCredentialRef,
|
|
27
27
|
createFileCredentialBroker
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
createAgentKey
|
|
31
|
-
} from "./chunk-SYTHYBMI.js";
|
|
32
|
-
import {
|
|
33
|
-
readPipeText,
|
|
34
|
-
spawnProcess
|
|
35
|
-
} from "./chunk-4O22PGNQ.js";
|
|
28
|
+
} from "./chunk-OQHIVPG4.js";
|
|
36
29
|
import {
|
|
37
30
|
toErrorMessage
|
|
38
31
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -42,7 +35,14 @@ import {
|
|
|
42
35
|
resolveAuthToken,
|
|
43
36
|
resolveServerCandidates,
|
|
44
37
|
resolveServerUrl
|
|
45
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-WACI5I6V.js";
|
|
39
|
+
import {
|
|
40
|
+
readPipeText,
|
|
41
|
+
spawnProcess
|
|
42
|
+
} from "./chunk-4O22PGNQ.js";
|
|
43
|
+
import {
|
|
44
|
+
createAgentKey
|
|
45
|
+
} from "./chunk-SYTHYBMI.js";
|
|
46
46
|
|
|
47
47
|
// packages/agent-runtime/sessionCredentialBroker.ts
|
|
48
48
|
function createSessionMemoryCredentialBroker() {
|
|
@@ -763,7 +763,7 @@ async function buildCreatedAgentRecord(args) {
|
|
|
763
763
|
const resolvedAgentInput = resolveCliAgentKeyInput(args.parsed.agentInput);
|
|
764
764
|
const agentKey = resolvedAgentInput.startsWith("agent-") ? resolvedAgentInput : createAgentKey.private(userId || "local", resolvedAgentInput);
|
|
765
765
|
if (args.parsed.presetId) {
|
|
766
|
-
const { resolveProviderPresetFields } = await import("./providerPresetApply-
|
|
766
|
+
const { resolveProviderPresetFields } = await import("./providerPresetApply-FO36N5TX.js");
|
|
767
767
|
const fields = resolveProviderPresetFields(args.parsed.presetId);
|
|
768
768
|
if (fields.kind === "manual") {
|
|
769
769
|
throw new Error(
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
scheduleExistingRecordReplication,
|
|
8
8
|
shouldReplaceLocalWithRemoteRecord,
|
|
9
9
|
shouldReplicateLocalRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CSW7IPVD.js";
|
|
11
11
|
import {
|
|
12
12
|
fetchFromClientDb,
|
|
13
13
|
fetchFromServer,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-7DPNBQSV.js";
|
|
23
23
|
import {
|
|
24
24
|
isBuiltinPlatformAgentKey
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ILHQ2AXT.js";
|
|
26
26
|
import {
|
|
27
27
|
NOLO_CLUSTER_SERVERS,
|
|
28
28
|
normalizeKnownServerOrigin
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2SKTCNWO.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
performFetchRequest,
|
|
15
15
|
sanitizeOutboundMessages,
|
|
16
16
|
stripModelToolArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZADGPNTV.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LXTC53TN.js";
|
|
22
22
|
import {
|
|
23
23
|
createSSEParser,
|
|
24
24
|
createToolRunId,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
toolRunSetPending,
|
|
28
28
|
toolRunStarted,
|
|
29
29
|
toolRunSucceeded
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-GRXSJR2Z.js";
|
|
31
31
|
import {
|
|
32
32
|
addToolMessage,
|
|
33
33
|
messageStreamEnd,
|
|
@@ -35,13 +35,13 @@ import {
|
|
|
35
35
|
toast,
|
|
36
36
|
toolResultNeedsUserConfirmation,
|
|
37
37
|
updateToolMessage
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-PVAWNHP5.js";
|
|
39
39
|
import {
|
|
40
40
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ABGULE7H.js";
|
|
42
42
|
import {
|
|
43
43
|
getCurrentSpaceId
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-NO3VBWTL.js";
|
|
45
45
|
import {
|
|
46
46
|
addActiveController,
|
|
47
47
|
getActiveDialogKey,
|
|
@@ -56,13 +56,16 @@ import {
|
|
|
56
56
|
} from "./chunk-VREDDN25.js";
|
|
57
57
|
import {
|
|
58
58
|
write
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-SFTTXGPM.js";
|
|
60
60
|
import {
|
|
61
61
|
createAsyncThunk
|
|
62
62
|
} from "./chunk-7Z6EW7AH.js";
|
|
63
63
|
import {
|
|
64
64
|
selectIdentityToken
|
|
65
65
|
} from "./chunk-PXYBUFDB.js";
|
|
66
|
+
import {
|
|
67
|
+
getPublicImageAgentMode
|
|
68
|
+
} from "./chunk-VIDPVFP3.js";
|
|
66
69
|
import {
|
|
67
70
|
classifyOutboundErrorCategory,
|
|
68
71
|
createOutboundDiagnosticCall,
|
|
@@ -70,7 +73,7 @@ import {
|
|
|
70
73
|
projectUserPartForModel,
|
|
71
74
|
resolveOutboundDiagnosticSink,
|
|
72
75
|
resolveOutboundWire
|
|
73
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-ULAQPRHX.js";
|
|
74
77
|
import {
|
|
75
78
|
accumulateToolCallDelta,
|
|
76
79
|
createThinkParserState,
|
|
@@ -82,7 +85,7 @@ import {
|
|
|
82
85
|
} from "./chunk-56GBUMO5.js";
|
|
83
86
|
import {
|
|
84
87
|
normalizeChatCompletionsBodyForProvider
|
|
85
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-TOKPHZ55.js";
|
|
86
89
|
import {
|
|
87
90
|
classifyApiError,
|
|
88
91
|
classifyGenerationError,
|
|
@@ -90,16 +93,25 @@ import {
|
|
|
90
93
|
} from "./chunk-TLE77UJ5.js";
|
|
91
94
|
import {
|
|
92
95
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
93
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-YQETUZ5V.js";
|
|
94
97
|
import {
|
|
95
98
|
getModelInfo
|
|
96
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-T2BEPTAG.js";
|
|
97
100
|
import {
|
|
98
101
|
isAbortError
|
|
99
102
|
} from "./chunk-7DPNBQSV.js";
|
|
103
|
+
import {
|
|
104
|
+
toErrorMessage
|
|
105
|
+
} from "./chunk-HNMXYYJR.js";
|
|
100
106
|
import {
|
|
101
107
|
extractCustomId
|
|
102
108
|
} from "./chunk-M2EJHDJP.js";
|
|
109
|
+
import {
|
|
110
|
+
getApiEndpoint
|
|
111
|
+
} from "./chunk-KYH7XW3K.js";
|
|
112
|
+
import {
|
|
113
|
+
isRecord
|
|
114
|
+
} from "./chunk-KUG52IAP.js";
|
|
103
115
|
import {
|
|
104
116
|
toTrimmedString
|
|
105
117
|
} from "./chunk-SYTHYBMI.js";
|
|
@@ -107,21 +119,9 @@ import {
|
|
|
107
119
|
createDialogMessageKeyAndId,
|
|
108
120
|
dialogMessageKey
|
|
109
121
|
} from "./chunk-OJKUU3LP.js";
|
|
110
|
-
import {
|
|
111
|
-
getPublicImageAgentMode
|
|
112
|
-
} from "./chunk-VIDPVFP3.js";
|
|
113
|
-
import {
|
|
114
|
-
toErrorMessage
|
|
115
|
-
} from "./chunk-HNMXYYJR.js";
|
|
116
122
|
import {
|
|
117
123
|
asTrimmedString
|
|
118
124
|
} from "./chunk-3EUW3WEO.js";
|
|
119
|
-
import {
|
|
120
|
-
getApiEndpoint
|
|
121
|
-
} from "./chunk-KYH7XW3K.js";
|
|
122
|
-
import {
|
|
123
|
-
isRecord
|
|
124
|
-
} from "./chunk-KUG52IAP.js";
|
|
125
125
|
import {
|
|
126
126
|
asOptionalTrimmedString
|
|
127
127
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -693,6 +693,8 @@ var processToolData = createAsyncThunk(
|
|
|
693
693
|
parentMessageId,
|
|
694
694
|
toolRunId,
|
|
695
695
|
agentKey,
|
|
696
|
+
effectiveModel: args.effectiveModel,
|
|
697
|
+
runKind: "interactive",
|
|
696
698
|
// 定档信号:这里是前台对话流式路径,来源恒为 chat;对话 id 用于数历史搜索。
|
|
697
699
|
...args.dialogId ? { dialogId: args.dialogId } : {},
|
|
698
700
|
origin: "chat"
|
|
@@ -873,6 +875,7 @@ var handleToolCalls = createAsyncThunk(
|
|
|
873
875
|
parentMessageId: messageId,
|
|
874
876
|
toolRunId,
|
|
875
877
|
agentKey: agentConfig.dbKey,
|
|
878
|
+
effectiveModel: agentConfig.model,
|
|
876
879
|
dialogId
|
|
877
880
|
})
|
|
878
881
|
).unwrap();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
upsertSSREntity,
|
|
3
3
|
write
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SFTTXGPM.js";
|
|
5
5
|
import {
|
|
6
6
|
getRuntimeServerContext,
|
|
7
7
|
resolveRecordAuthority
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CSW7IPVD.js";
|
|
9
9
|
import {
|
|
10
10
|
TIMEOUT,
|
|
11
11
|
asyncThunkCreator,
|
|
@@ -16,16 +16,22 @@ import {
|
|
|
16
16
|
applyAgentSecretMigrationUpdates,
|
|
17
17
|
migrateAgentSecrets,
|
|
18
18
|
normalizeAgentRuntimeToolPolicy
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SSGTV4FC.js";
|
|
20
20
|
import {
|
|
21
21
|
asRecordOrEmpty
|
|
22
22
|
} from "./chunk-KX6YBIHG.js";
|
|
23
23
|
import {
|
|
24
24
|
createFileCredentialBroker
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OQHIVPG4.js";
|
|
26
26
|
import {
|
|
27
27
|
isLevelNotFoundError
|
|
28
28
|
} from "./chunk-OW765XBU.js";
|
|
29
|
+
import {
|
|
30
|
+
isRecord
|
|
31
|
+
} from "./chunk-KUG52IAP.js";
|
|
32
|
+
import {
|
|
33
|
+
API_ENDPOINTS
|
|
34
|
+
} from "./chunk-LCBAMY2M.js";
|
|
29
35
|
import {
|
|
30
36
|
createAgentKey,
|
|
31
37
|
createUserKey,
|
|
@@ -34,12 +40,6 @@ import {
|
|
|
34
40
|
import {
|
|
35
41
|
asTrimmedString
|
|
36
42
|
} from "./chunk-3EUW3WEO.js";
|
|
37
|
-
import {
|
|
38
|
-
isRecord
|
|
39
|
-
} from "./chunk-KUG52IAP.js";
|
|
40
|
-
import {
|
|
41
|
-
API_ENDPOINTS
|
|
42
|
-
} from "./chunk-LCBAMY2M.js";
|
|
43
43
|
import {
|
|
44
44
|
asOptionalTrimmedString
|
|
45
45
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -458,7 +458,7 @@ var slice = createSliceWithThunks({
|
|
|
458
458
|
const overrides = {};
|
|
459
459
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
460
460
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
461
|
-
const { _executeModel } = await import("./_executeModel-
|
|
461
|
+
const { _executeModel } = await import("./_executeModel-JKQGZ3HU.js");
|
|
462
462
|
return _executeModel(
|
|
463
463
|
{
|
|
464
464
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -479,7 +479,7 @@ var slice = createSliceWithThunks({
|
|
|
479
479
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
480
480
|
*/
|
|
481
481
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
482
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
482
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-4FCFLMDJ.js");
|
|
483
483
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
484
484
|
{
|
|
485
485
|
agentKey: args.agentKey,
|
|
@@ -495,7 +495,7 @@ var slice = createSliceWithThunks({
|
|
|
495
495
|
* 聊天轮次流式 Agent 调用
|
|
496
496
|
*/
|
|
497
497
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
498
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
498
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-FCBGMD4D.js");
|
|
499
499
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
500
500
|
}),
|
|
501
501
|
/**
|
|
@@ -376,6 +376,15 @@ function formatLocalClockUntil(atMs, now) {
|
|
|
376
376
|
return sameDay ? time : `${pad(at.getMonth() + 1)}-${pad(at.getDate())} ${time}`;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
+
// packages/ai/tools/agent/runTitle.ts
|
|
380
|
+
var RUN_TITLE_MAX = 60;
|
|
381
|
+
function normalizeRunTitle(value) {
|
|
382
|
+
if (typeof value !== "string") return void 0;
|
|
383
|
+
const cleaned = value.replace(/[\u0000-\u001f\u007f-\u009f]+/g, " ").replace(/\s+/g, " ").trim();
|
|
384
|
+
if (!cleaned) return void 0;
|
|
385
|
+
return cleaned.length > RUN_TITLE_MAX ? `${cleaned.slice(0, RUN_TITLE_MAX - 1)}\u2026` : cleaned;
|
|
386
|
+
}
|
|
387
|
+
|
|
379
388
|
// packages/ai/tools/agent/agentRunName.ts
|
|
380
389
|
async function resolveAgentRunName(agentKey, candidates, readAgent) {
|
|
381
390
|
for (const candidate of candidates) {
|
|
@@ -394,15 +403,6 @@ function shortAgentKey(agentKey) {
|
|
|
394
403
|
return agentKey.trim().slice(-24) || "unknown-agent";
|
|
395
404
|
}
|
|
396
405
|
|
|
397
|
-
// packages/ai/tools/agent/runTitle.ts
|
|
398
|
-
var RUN_TITLE_MAX = 60;
|
|
399
|
-
function normalizeRunTitle(value) {
|
|
400
|
-
if (typeof value !== "string") return void 0;
|
|
401
|
-
const cleaned = value.replace(/[\u0000-\u001f\u007f-\u009f]+/g, " ").replace(/\s+/g, " ").trim();
|
|
402
|
-
if (!cleaned) return void 0;
|
|
403
|
-
return cleaned.length > RUN_TITLE_MAX ? `${cleaned.slice(0, RUN_TITLE_MAX - 1)}\u2026` : cleaned;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
406
|
export {
|
|
407
407
|
buildDelegatedTaskContent,
|
|
408
408
|
calculateDelegatedPayloadMetrics,
|
|
@@ -424,8 +424,8 @@ export {
|
|
|
424
424
|
formatNotFoundRunCard,
|
|
425
425
|
isAgentRunTerminalStatus,
|
|
426
426
|
formatAgentListCard,
|
|
427
|
-
resolveAgentRunName,
|
|
428
|
-
shortAgentKey,
|
|
429
427
|
RUN_TITLE_MAX,
|
|
430
|
-
normalizeRunTitle
|
|
428
|
+
normalizeRunTitle,
|
|
429
|
+
resolveAgentRunName,
|
|
430
|
+
shortAgentKey
|
|
431
431
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveAgentImageInputSupport
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3HTP4WZQ.js";
|
|
4
4
|
import {
|
|
5
5
|
TOOL_HAD_IMAGES,
|
|
6
6
|
hadToolImages
|
|
7
7
|
} from "./chunk-E2BESSAW.js";
|
|
8
|
-
import {
|
|
9
|
-
asTrimmedString
|
|
10
|
-
} from "./chunk-3EUW3WEO.js";
|
|
11
8
|
import {
|
|
12
9
|
isRecord
|
|
13
10
|
} from "./chunk-KUG52IAP.js";
|
|
11
|
+
import {
|
|
12
|
+
asTrimmedString
|
|
13
|
+
} from "./chunk-3EUW3WEO.js";
|
|
14
14
|
import {
|
|
15
15
|
asOptionalFiniteNumber
|
|
16
16
|
} from "./chunk-WWC7I6TA.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readDbRecord,
|
|
3
3
|
writeAgentRecord
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5LQDHFBN.js";
|
|
5
5
|
import {
|
|
6
6
|
buildSkillSummaryMarker
|
|
7
7
|
} from "./chunk-VF4K2QE6.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
readOption,
|
|
17
17
|
resolveAuthToken,
|
|
18
18
|
resolveServerUrl
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WACI5I6V.js";
|
|
20
20
|
import {
|
|
21
21
|
NOLO_CLUSTER_SERVERS
|
|
22
22
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DEVIN_CONNECT_URL,
|
|
3
3
|
parseSseDataLineJson,
|
|
4
4
|
parseSseDataLineObject
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YPPKC6FL.js";
|
|
6
6
|
import {
|
|
7
7
|
evaluateFileWritePolicy,
|
|
8
8
|
summarizeToolArguments
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
flushChatCompletionStream,
|
|
23
23
|
providerHttpFailure,
|
|
24
24
|
throwIfChatCompletionStreamFailed
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IX2BXN2K.js";
|
|
26
26
|
import {
|
|
27
27
|
readSseFrames
|
|
28
28
|
} from "./chunk-HNUWUO75.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
evaluateRequestBudget,
|
|
34
34
|
hasImageInRuntimeMessages,
|
|
35
35
|
stripImagePartsFromMessages
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-C2B7M567.js";
|
|
37
37
|
import {
|
|
38
38
|
clipToolText,
|
|
39
39
|
resolveHistoricalToolContentCap,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
resolveAgentImageInputSupport,
|
|
44
44
|
resolveToolImagePolicy
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3HTP4WZQ.js";
|
|
46
46
|
import {
|
|
47
47
|
applyShapingCounts,
|
|
48
48
|
attachProjectionFacts,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
projectUserPartForModel,
|
|
54
54
|
resolveOutboundDiagnosticSink,
|
|
55
55
|
writeThinkingFacts
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-ULAQPRHX.js";
|
|
57
57
|
import {
|
|
58
58
|
createThinkParserState,
|
|
59
59
|
createToolCallAccumulator,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
hashStablePrefixContent,
|
|
80
80
|
resolveResponseGuidelines,
|
|
81
81
|
resolveToolGuidedSections
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-3VFYQH3I.js";
|
|
83
83
|
import {
|
|
84
84
|
BRIDGE_STREAM_MAX_CHARS,
|
|
85
85
|
CLI_NOLO_WORKSPACE_TOOL_NAMES,
|
|
@@ -94,10 +94,10 @@ import {
|
|
|
94
94
|
parseNoloWorkspaceToolArguments,
|
|
95
95
|
readTextStreamUpToChars,
|
|
96
96
|
resolveNoloDialogInput
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-YOT437BH.js";
|
|
98
98
|
import {
|
|
99
99
|
applyToolSurfaceConstraints
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-IC2I373Q.js";
|
|
101
101
|
import {
|
|
102
102
|
classifyUnparsableToolArgs,
|
|
103
103
|
collectStablePromptPrefix,
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
toOpenAiCompatibleMessages,
|
|
122
122
|
toResponsesTools,
|
|
123
123
|
transferDowngradedToolTurnOrigin
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-TOKPHZ55.js";
|
|
125
125
|
import {
|
|
126
126
|
TOOL_HAD_IMAGES,
|
|
127
127
|
TOOL_IMAGES,
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
} from "./chunk-TLE77UJ5.js";
|
|
141
141
|
import {
|
|
142
142
|
isAgentSkillDisabled
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-X2KRQP7V.js";
|
|
144
144
|
import {
|
|
145
145
|
buildDialogFallbackTitleFromUserInput
|
|
146
146
|
} from "./chunk-2MBTWINN.js";
|
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
resolveEmptyAssistantFallbackMessage,
|
|
153
153
|
resolveEmptyAssistantOutcome,
|
|
154
154
|
resolveTruncatedReasoningTailLog
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-YQETUZ5V.js";
|
|
156
156
|
import {
|
|
157
157
|
COMPACTION_SUMMARY_SCHEMA_VERSION,
|
|
158
158
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
@@ -175,7 +175,7 @@ import {
|
|
|
175
175
|
sha256Hex,
|
|
176
176
|
summaryCompletionTokens,
|
|
177
177
|
truncateToolOutputForContext
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-T2BEPTAG.js";
|
|
179
179
|
import {
|
|
180
180
|
createProviderCallTimingTracker,
|
|
181
181
|
finalizeProviderCallTiming,
|
|
@@ -191,33 +191,7 @@ import {
|
|
|
191
191
|
} from "./chunk-KX6YBIHG.js";
|
|
192
192
|
import {
|
|
193
193
|
assertCredentialRef
|
|
194
|
-
} from "./chunk-
|
|
195
|
-
import {
|
|
196
|
-
isLevelNotFoundError
|
|
197
|
-
} from "./chunk-OW765XBU.js";
|
|
198
|
-
import {
|
|
199
|
-
isAbortError
|
|
200
|
-
} from "./chunk-7DPNBQSV.js";
|
|
201
|
-
import {
|
|
202
|
-
WORKTREE_ISOLATION_PRELUDE
|
|
203
|
-
} from "./chunk-GNHMRBYZ.js";
|
|
204
|
-
import {
|
|
205
|
-
canonicalizeToolName,
|
|
206
|
-
canonicalizeToolNames
|
|
207
|
-
} from "./chunk-6OVNSQHN.js";
|
|
208
|
-
import {
|
|
209
|
-
dialogMessageKey,
|
|
210
|
-
dialogMessageRange
|
|
211
|
-
} from "./chunk-OJKUU3LP.js";
|
|
212
|
-
import {
|
|
213
|
-
asTrimmedNonEmptyStringArray
|
|
214
|
-
} from "./chunk-I42VC5KR.js";
|
|
215
|
-
import {
|
|
216
|
-
buildDialogSummaryLayer
|
|
217
|
-
} from "./chunk-JWXITTQB.js";
|
|
218
|
-
import {
|
|
219
|
-
buildUserResponseLanguageContext
|
|
220
|
-
} from "./chunk-L5I543VB.js";
|
|
194
|
+
} from "./chunk-OQHIVPG4.js";
|
|
221
195
|
import {
|
|
222
196
|
buildInteractiveCommandBlockedResult,
|
|
223
197
|
buildProcessTaskResultCapsule,
|
|
@@ -242,20 +216,30 @@ import {
|
|
|
242
216
|
spillToolOutput,
|
|
243
217
|
toProcessTaskView,
|
|
244
218
|
truncateToolOutput
|
|
245
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-HVUDBOQG.js";
|
|
246
220
|
import {
|
|
247
221
|
estimateTokenCount
|
|
248
222
|
} from "./chunk-PSCNXBYA.js";
|
|
223
|
+
import {
|
|
224
|
+
isLevelNotFoundError
|
|
225
|
+
} from "./chunk-OW765XBU.js";
|
|
226
|
+
import {
|
|
227
|
+
isAbortError
|
|
228
|
+
} from "./chunk-7DPNBQSV.js";
|
|
249
229
|
import {
|
|
250
230
|
buildProviderAuthHeaders,
|
|
251
231
|
buildProviderExecutionPlan
|
|
252
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-6EDAMVG6.js";
|
|
253
233
|
import {
|
|
254
234
|
toErrorMessage
|
|
255
235
|
} from "./chunk-HNMXYYJR.js";
|
|
256
236
|
import {
|
|
257
|
-
|
|
258
|
-
} from "./chunk-
|
|
237
|
+
WORKTREE_ISOLATION_PRELUDE
|
|
238
|
+
} from "./chunk-KRRE4A7D.js";
|
|
239
|
+
import {
|
|
240
|
+
canonicalizeToolName,
|
|
241
|
+
canonicalizeToolNames
|
|
242
|
+
} from "./chunk-6OVNSQHN.js";
|
|
259
243
|
import {
|
|
260
244
|
isRecord
|
|
261
245
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -266,17 +250,33 @@ import {
|
|
|
266
250
|
asTrimmedLowercaseString
|
|
267
251
|
} from "./chunk-QSJ3HFEF.js";
|
|
268
252
|
import {
|
|
269
|
-
|
|
270
|
-
} from "./chunk-
|
|
253
|
+
buildDialogSummaryLayer
|
|
254
|
+
} from "./chunk-JWXITTQB.js";
|
|
271
255
|
import {
|
|
272
|
-
|
|
273
|
-
} from "./chunk-
|
|
256
|
+
buildUserResponseLanguageContext
|
|
257
|
+
} from "./chunk-L5I543VB.js";
|
|
274
258
|
import {
|
|
275
259
|
normalizeServerOrigin
|
|
276
260
|
} from "./chunk-CF7PE763.js";
|
|
277
261
|
import {
|
|
278
262
|
resolveNoloStateDir
|
|
279
263
|
} from "./chunk-6UBGXX2W.js";
|
|
264
|
+
import {
|
|
265
|
+
dialogMessageKey,
|
|
266
|
+
dialogMessageRange
|
|
267
|
+
} from "./chunk-OJKUU3LP.js";
|
|
268
|
+
import {
|
|
269
|
+
asTrimmedNonEmptyStringArray
|
|
270
|
+
} from "./chunk-I42VC5KR.js";
|
|
271
|
+
import {
|
|
272
|
+
asTrimmedString
|
|
273
|
+
} from "./chunk-3EUW3WEO.js";
|
|
274
|
+
import {
|
|
275
|
+
asOptionalPositiveFiniteNumber
|
|
276
|
+
} from "./chunk-U6VC4MU4.js";
|
|
277
|
+
import {
|
|
278
|
+
asOptionalTrimmedString
|
|
279
|
+
} from "./chunk-G3SUCT4W.js";
|
|
280
280
|
import {
|
|
281
281
|
__export
|
|
282
282
|
} from "./chunk-U67V476Y.js";
|
|
@@ -24026,7 +24026,7 @@ async function saveCliPendingUserMessages(args2) {
|
|
|
24026
24026
|
if (ops.length) await args2.store.batch(ops);
|
|
24027
24027
|
}
|
|
24028
24028
|
async function readCliPendingUserMessages(store, dialogId) {
|
|
24029
|
-
const { readDialogMessageRecords } = await import("./cliLocalAgentRecordReader-
|
|
24029
|
+
const { readDialogMessageRecords } = await import("./cliLocalAgentRecordReader-SPKAJYME.js");
|
|
24030
24030
|
const rows = await readDialogMessageRecords({ store, dialogId });
|
|
24031
24031
|
const uncertain = rows.filter(({ record: record2 }) => record2.metadata?.cliBatchPhase === "requested" && !record2.metadata?.cliBatchResolution);
|
|
24032
24032
|
const recovery = uncertain.length ? {
|
|
@@ -24129,7 +24129,7 @@ async function runNoloWorkspaceCliTool(call, args2) {
|
|
|
24129
24129
|
cmd,
|
|
24130
24130
|
stdout: "pipe",
|
|
24131
24131
|
stderr: "pipe",
|
|
24132
|
-
env: args2.env
|
|
24132
|
+
env: call.name === "listAgents" ? { ...process.env, ...args2.env, NOLO_PLANNING_CALLER: JSON.stringify(args2.planningCaller ?? {}) } : args2.env
|
|
24133
24133
|
});
|
|
24134
24134
|
const [stdout, stderr, exitCode] = await Promise.all([
|
|
24135
24135
|
readNoloProcessStream(proc.stdout),
|
|
@@ -24240,7 +24240,7 @@ function buildLoadSkillExecutor(args2) {
|
|
|
24240
24240
|
const { resolveSkillByName } = await import("./skillDiscovery-B5V23AXP.js");
|
|
24241
24241
|
const resolved = resolveSkillByName(args2.cwd, name);
|
|
24242
24242
|
if (!resolved) {
|
|
24243
|
-
const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-
|
|
24243
|
+
const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-UQGLKRYP.js");
|
|
24244
24244
|
const builtin = resolveBuiltinSkillByName(name);
|
|
24245
24245
|
if (builtin) {
|
|
24246
24246
|
const denied = await rejectDisabledBuiltin(args2.agentSkillSource, builtin.slug, name, args2.resolveAgentSkillSource);
|
|
@@ -24319,7 +24319,7 @@ async function loadPreciseSkill(cwd, parsed, agentSkillSource, resolveAgentSkill
|
|
|
24319
24319
|
if (!nonEmpty(parsed.slug) || has2("projectBinding") || has2("relativePath")) {
|
|
24320
24320
|
return reject("builtin requires only an exact slug.");
|
|
24321
24321
|
}
|
|
24322
|
-
const { listBuiltinSkills } = await import("./builtinSkillRegistry-
|
|
24322
|
+
const { listBuiltinSkills } = await import("./builtinSkillRegistry-UQGLKRYP.js");
|
|
24323
24323
|
const builtin = listBuiltinSkills().find((entry) => entry.slug === parsed.slug);
|
|
24324
24324
|
if (!builtin) return reject("builtin slug not found.");
|
|
24325
24325
|
const denied = await rejectDisabledBuiltin(agentSkillSource, builtin.slug, builtin.slug, resolveAgentSkillSource);
|
|
@@ -25058,7 +25058,6 @@ export {
|
|
|
25058
25058
|
runExecShellGates,
|
|
25059
25059
|
executeLocalToolWithPolicy,
|
|
25060
25060
|
LOCAL_TURN_ABORTED_CODE,
|
|
25061
|
-
evaluateTaskExecutionContract,
|
|
25062
25061
|
projectContextProvenance,
|
|
25063
25062
|
hashToolDefinitions,
|
|
25064
25063
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|