nolo-cli 0.253.0-alpha.1 → 0.255.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-VUXEWLLQ.js → _executeModel-XD2EAFVG.js} +44 -43
- package/{action-4MADDU52.js → action-C6IQAKN4.js} +5 -5
- package/{addContentAction-MT4BECXT.js → addContentAction-53364YDW.js} +8 -8
- package/{addDialogAgentAction-ZZTJ5GBD.js → addDialogAgentAction-U5DD5EN5.js} +7 -7
- package/{agentDeleteCommand-SU5IKIW3.js → agentDeleteCommand-AI2AAFA4.js} +59 -58
- package/{agentEmailCommands-SHLVY627.js → agentEmailCommands-I544I2MU.js} +60 -59
- package/{agentListCommands-3NTMYMVI.js → agentListCommands-3NB4FDIJ.js} +26 -25
- package/{agentMachineCommands-MYXLAKQF.js → agentMachineCommands-RZEHM6NS.js} +22 -21
- package/{agentRecordCommands-EIZTKSWW.js → agentRecordCommands-X2AVD6Y2.js} +59 -58
- package/{agentRunCommand-RB3EIT4I.js → agentRunCommand-XU5TL3WO.js} +63 -59
- package/{agentRunControl-5ABAIBQT.js → agentRunControl-3TIVJ3SR.js} +3 -2
- package/{agentRuntimeLocal-IO3GGTCJ.js → agentRuntimeLocal-3MAEFYSB.js} +18 -17
- package/{agentSlice-TQVS23WV.js → agentSlice-ZFY3PT3D.js} +9 -9
- package/{appDeleteCommands-ZQ4ZEKTC.js → appDeleteCommands-J5BTYVPC.js} +24 -23
- package/{appDeployCommands-4XT7PFW5.js → appDeployCommands-I3JIN7TN.js} +24 -23
- package/{appDeployStatusCommands-5RVMRYQW.js → appDeployStatusCommands-BKJVLIOV.js} +24 -23
- package/{appGetCommands-VH5W3RFK.js → appGetCommands-67JTU36H.js} +24 -23
- package/{appListCommands-TAHZLAL3.js → appListCommands-HF4GFCN4.js} +24 -23
- package/{authCommand-HBO5G6RL.js → authCommand-Y3CXNAYM.js} +4 -4
- package/{builtinSkillRegistry-66PEOD4Y.js → builtinSkillRegistry-FVEEO4U2.js} +3 -3
- package/{chromeOpsCommands-AA555ANS.js → chromeOpsCommands-W5I2AEOV.js} +1 -1
- package/{chunk-D3WOFN6N.js → chunk-223KZUJ6.js} +1 -1
- package/{chunk-TI2JIXK4.js → chunk-24Z44WHO.js} +27 -27
- package/{chunk-FZSGYLFV.js → chunk-2BHHT2TR.js} +4 -4
- package/{chunk-IRORRPH2.js → chunk-3W2J3LFB.js} +21 -10
- package/{chunk-2RCMFPUZ.js → chunk-46FETNLF.js} +2 -2
- package/{chunk-CO6E7YK6.js → chunk-5P3PPQVP.js} +1 -1
- package/{chunk-VKAITWPC.js → chunk-6FONTXR7.js} +45 -25
- package/{chunk-KWARDHBI.js → chunk-6N4IKMTH.js} +37 -2
- package/{chunk-M7GMJBQJ.js → chunk-6VEO7Z3Y.js} +3 -3
- package/{chunk-2VYX3ZCR.js → chunk-6VNBJ7GI.js} +5 -5
- package/{chunk-GK772DEV.js → chunk-7BIJFGKS.js} +3 -3
- package/{chunk-3SEBCWLD.js → chunk-7EUJ65PF.js} +2057 -223
- package/{chunk-4GWNEPY6.js → chunk-7PTWFSZZ.js} +1 -1
- package/{chunk-CIAV4WK2.js → chunk-7WHCIA5V.js} +2 -2
- package/{chunk-O3WZMJAN.js → chunk-AAYDROBM.js} +2 -2
- package/{chunk-53UOBNTI.js → chunk-ADYWV732.js} +8 -8
- package/{chunk-WLHUANWZ.js → chunk-AIFQKNPP.js} +1 -1
- package/{chunk-GFXPPQZN.js → chunk-AKBNCTPY.js} +1 -1
- package/{chunk-HEUHCHAR.js → chunk-BD22OFDQ.js} +3 -3
- package/{chunk-SID2TFMV.js → chunk-BXGU6274.js} +104 -55
- package/{chunk-SCY2O7CU.js → chunk-BZMDWGQQ.js} +2 -2
- package/{chunk-UMI4NNZP.js → chunk-CAPHUP3M.js} +2 -2
- package/{chunk-JKO32CCL.js → chunk-CBIGMWMI.js} +1 -1
- package/{chunk-JP2BH4NC.js → chunk-CEKRIR22.js} +1 -1
- package/{chunk-6AJIU6OC.js → chunk-D53SPVAC.js} +3 -3
- package/{chunk-HS4JGZQH.js → chunk-DWES4SXY.js} +1 -1
- package/{chunk-3272HU62.js → chunk-E47JZP2R.js} +1 -1
- package/{chunk-D4CUS6NT.js → chunk-E4HBZDV6.js} +3 -3
- package/{chunk-JJABK3QO.js → chunk-EXD7S7QW.js} +58 -7
- package/{chunk-YGDYYFRX.js → chunk-GYX6XTAI.js} +3 -5
- package/{chunk-CMYZT2XN.js → chunk-H3KLIPAL.js} +5 -5
- package/{chunk-CF7U32BX.js → chunk-H6EKTB6X.js} +2 -2
- package/{chunk-VYRTLHIT.js → chunk-HDKMVYNJ.js} +1 -1
- package/chunk-HEVRQGGH.js +106 -0
- package/{chunk-4CL6QIQZ.js → chunk-HPDLPEUG.js} +2 -2
- package/{chunk-YQYSQUP3.js → chunk-HZQGCFPJ.js} +10 -10
- package/{chunk-7STRX24O.js → chunk-JAAYO52G.js} +8 -7
- package/{chunk-QV32GSVO.js → chunk-JPZKKSGT.js} +1 -1
- package/{chunk-Z2ZCKNKX.js → chunk-JW6OURKM.js} +261 -228
- package/{chunk-4AFKLWZP.js → chunk-K5X4D2TS.js} +156 -1767
- package/{chunk-MPOUZIF4.js → chunk-KF7M2UEK.js} +499 -7
- package/{chunk-VZCBYCHV.js → chunk-KG27JIG4.js} +2 -2
- package/{chunk-PTY2VZM5.js → chunk-KO5GO2BC.js} +6 -8
- package/{chunk-4BQ5QKIG.js → chunk-KRDG2XCI.js} +10 -10
- package/{chunk-OLS2J3WE.js → chunk-LLUBUHNT.js} +1 -1
- package/{chunk-CUQNRU4X.js → chunk-LQ4CQKTS.js} +3 -3
- package/{chunk-52M4RYVP.js → chunk-MDHI2LWF.js} +1 -1
- package/{chunk-XWR2YD4L.js → chunk-MLK3FEXG.js} +1 -1
- package/{chunk-KQBGXCKM.js → chunk-MNFUKRRU.js} +3 -3
- package/{chunk-FRC2DNTN.js → chunk-NAW2SN54.js} +1 -1
- package/{chunk-UHW6SCVK.js → chunk-NUHQO3RB.js} +1 -1
- package/{chunk-CYGFNMCH.js → chunk-OKAXQFON.js} +1 -1
- package/{chunk-P4JX7YMQ.js → chunk-ONTHDYFU.js} +22 -2
- package/{chunk-PR25J652.js → chunk-PNBQ5JTA.js} +1 -1
- package/{chunk-2BJ53346.js → chunk-PVHY7Y6T.js} +6 -6
- package/{chunk-K4LLTJUO.js → chunk-Q2MPKE4B.js} +5 -105
- package/{chunk-MARF3TN2.js → chunk-Q66O5LN3.js} +4 -4
- package/{chunk-TOHMK27J.js → chunk-QEVT4LQ3.js} +68 -54
- package/{chunk-OMIXG25B.js → chunk-QGFLVQ6E.js} +1 -1
- package/{chunk-25BDZGD7.js → chunk-QJKDHR4Y.js} +2 -2
- package/{chunk-ANQ544EU.js → chunk-QNZRR3NT.js} +9 -9
- package/{chunk-WMMKHEGQ.js → chunk-R3FZHW4Q.js} +12 -12
- package/{chunk-KZAT2M2V.js → chunk-RIWKZT7E.js} +22 -0
- package/{chunk-OWXOXKH7.js → chunk-SCAC3NM5.js} +2 -2
- package/{chunk-EG3JTV7H.js → chunk-TCAAHWCY.js} +2 -2
- package/{chunk-NMGG3NUB.js → chunk-U6QNVOR5.js} +1 -1
- package/{chunk-5UYDG6HP.js → chunk-V5NK6KMF.js} +8 -13
- package/{chunk-AIHNB5QH.js → chunk-VQR2ACSC.js} +6 -4
- package/{chunk-HEQJ5XND.js → chunk-WS36XPJD.js} +2 -2
- package/{chunk-MRYKRL2V.js → chunk-WSLL7VV4.js} +2 -2
- package/{dialogUsageCommand-3JMINURR.js → chunk-Y2TCTNUD.js} +19 -12
- package/{chunk-UHTT23PH.js → chunk-YKCFDOO4.js} +765 -29
- package/{chunk-DNY33GGQ.js → chunk-YN23INFZ.js} +1 -1
- package/{chunk-5HUO7SEX.js → chunk-YQLAFJRQ.js} +1 -1
- package/{chunk-VPSPVLCM.js → chunk-ZMJMHXYX.js} +3 -3
- package/{chunk-W4S5FQWQ.js → chunk-ZTHAJU3O.js} +1 -1
- package/{cliAgentConfigHelpers-FKBPFPKR.js → cliAgentConfigHelpers-BXHQ3PXP.js} +2 -2
- package/{cliLocalAgentRecordReader-2WBUVRVD.js → cliLocalAgentRecordReader-Q6677YID.js} +22 -21
- package/{commandRegistry-JDCGWIWD.js → commandRegistry-YCKR4SWB.js} +82 -78
- package/{contentThunks-B6BY7GS3.js → contentThunks-R2ZLM2Z3.js} +20 -20
- package/{cooldownCommands-PT5L4LNB.js → cooldownCommands-TVZBWUN3.js} +1 -1
- package/{createAgentAutomationAction-TQ6IA5SV.js → createAgentAutomationAction-Q665HFZS.js} +20 -20
- package/{createDialogAction-QKMGD2TS.js → createDialogAction-VOGA6VXH.js} +21 -21
- package/{createPageAction-7EEVGWGG.js → createPageAction-FICG35GF.js} +21 -21
- package/{dbSlice-HXFRXGI3.js → dbSlice-RWPSVHBC.js} +7 -7
- package/{deleteFile-QDSZVTUJ.js → deleteFile-ECU6FU5C.js} +5 -5
- package/{dialogCommands-MEH4CVRL.js → dialogCommands-TCIB4AMT.js} +28 -25
- package/{dialogNotifyCommand-JKYVSR6K.js → dialogNotifyCommand-IASQGEMW.js} +3 -3
- package/{dialogSlice-6WIME53P.js → dialogSlice-SCZJH2Q3.js} +18 -18
- package/dialogTraceCommand-E3BYXL3D.js +961 -0
- package/dialogUsageCommand-WJ3U6KZU.js +27 -0
- package/{docCreateCommands-MVAYVGQ5.js → docCreateCommands-UHY2QSEL.js} +23 -22
- package/{docDeleteCommands-TKXPRA3O.js → docDeleteCommands-JX53B6VB.js} +24 -23
- package/{docReadCommands-MR2YKCZP.js → docReadCommands-H5XZBEYD.js} +23 -22
- package/{docStore-VEHQHXRM.js → docStore-KTTOVQLL.js} +8 -8
- package/{docUpdateCommands-VJ6A6F7F.js → docUpdateCommands-YYYU6CHT.js} +23 -22
- package/{handleSendMessageAction-X5LGNJX5.js → handleSendMessageAction-FRGNSG6B.js} +32 -32
- package/{hostCredentialCreate-AQYSWUKA.js → hostCredentialCreate-V5EDFPAV.js} +59 -58
- package/index.js +7 -7
- package/{localRuntimeAdapter-FA4OGZGU.js → localRuntimeAdapter-VMGFXQOJ.js} +58 -57
- package/{machineCommands-VKU6MAFA.js → machineCommands-AUPY2QB6.js} +59 -58
- package/{machineWsRunDispatch-XQQHHOX4.js → machineWsRunDispatch-KNOARY66.js} +59 -58
- package/{mcpLocalAuthorizeCommand-Y3SOZFXT.js → mcpLocalAuthorizeCommand-RBXJDE6J.js} +2 -2
- package/{memberThunks-ZXEUM6DH.js → memberThunks-43B7UYC5.js} +9 -9
- package/package.json +1 -1
- package/{projectArchive-674NJOYI.js → projectArchive-KON534LA.js} +21 -21
- package/{read-T5WPCAY7.js → read-KG6INYUT.js} +5 -5
- package/{readDocTool-DW4DCRQG.js → readDocTool-N3GA52JR.js} +1 -1
- package/{readlineWorkspace-HFPEDOHN.js → readlineWorkspace-MHYNJR5O.js} +599 -840
- package/{removeDialogAgentAction-MXJEB77K.js → removeDialogAgentAction-EEVSOQOJ.js} +9 -9
- package/{runAgentClientLoop-NU3JNHSH.js → runAgentClientLoop-YRGQCRC4.js} +51 -40
- package/{secretCommands-BXAQEOES.js → secretCommands-POD67M6Y.js} +2 -2
- package/{setDialogExtraReferencesAction-BILVMHM7.js → setDialogExtraReferencesAction-DNO5POHA.js} +8 -8
- package/{setPrimaryDialogAgentAction-CUBBWACR.js → setPrimaryDialogAgentAction-QABBEO4C.js} +9 -9
- package/{settingThunks-BRBBAGEK.js → settingThunks-DVKG4X4S.js} +10 -10
- package/{skillDiscovery-MDDKPTW3.js → skillDiscovery-5GEGWJ6N.js} +3 -3
- package/{spaceCommands-K4HHG7OO.js → spaceCommands-USN52WYJ.js} +22 -21
- package/{streamAgentChatTurn-7FDXIRMB.js → streamAgentChatTurn-EQO3ULUB.js} +62 -50
- package/{switchDialogAgentAction-SSI2CSNE.js → switchDialogAgentAction-KYWJSGOO.js} +7 -7
- package/{tableCommands-C3P2HHKK.js → tableCommands-EFA754RE.js} +2 -2
- package/{tools-GC45557U.js → tools-UME4HYSH.js} +36 -35
- package/{tuiRestart-7IKI6JZK.js → tuiRestart-VN5F4GYU.js} +4 -3
- package/tuiSummaryLlmCaller-HROLGN4F.js +1 -1
- package/{updateCommands-BZ4YDHNM.js → updateCommands-L32TVOI7.js} +3 -3
- package/{updateDialogTitleAction-OAC5MWMS.js → updateDialogTitleAction-NZIGJL5Q.js} +20 -20
- package/{usageCommand-HVCMX7BG.js → usageCommand-WI6SQOPB.js} +1 -1
- package/{usageRebuildCommand-VMPIZ2ME.js → usageRebuildCommand-WQRLLZAT.js} +2 -2
- package/{windowsSelfUpdate-4BAXX7C3.js → windowsSelfUpdate-AGVLDVQS.js} +2 -2
- package/lib-62SWPXNF.js +0 -21042
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LOCAL_USER_ID
|
|
3
|
-
} from "./chunk-TZXPT53C.js";
|
|
4
1
|
import {
|
|
5
2
|
applyTokenUsageToDayStats,
|
|
6
3
|
require_format
|
|
7
4
|
} from "./chunk-BUDVRYES.js";
|
|
5
|
+
import {
|
|
6
|
+
LOCAL_USER_ID
|
|
7
|
+
} from "./chunk-TZXPT53C.js";
|
|
8
8
|
import {
|
|
9
9
|
BUILTIN_SUMMARY_LLM_CONFIG
|
|
10
10
|
} from "./chunk-523DITKR.js";
|
|
11
11
|
import {
|
|
12
12
|
runLlm
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QNZRR3NT.js";
|
|
14
14
|
import {
|
|
15
15
|
cleanupCliSessionForDialog
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6VEO7Z3Y.js";
|
|
17
17
|
import {
|
|
18
18
|
getActiveDialogAgentId,
|
|
19
19
|
getDialogAgentIds,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-5RGU3J7P.js";
|
|
22
22
|
import {
|
|
23
23
|
addContentAction
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-46FETNLF.js";
|
|
25
25
|
import {
|
|
26
26
|
patch,
|
|
27
27
|
read,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
selectById,
|
|
30
30
|
upload,
|
|
31
31
|
write
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ADYWV732.js";
|
|
33
33
|
import {
|
|
34
34
|
fetchMessages
|
|
35
35
|
} from "./chunk-HXER7YJF.js";
|
|
@@ -66,19 +66,19 @@ import {
|
|
|
66
66
|
resolveUserAuthorityServer,
|
|
67
67
|
scheduleDeleteReplication,
|
|
68
68
|
waitForWriteAck
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-HPDLPEUG.js";
|
|
70
70
|
import {
|
|
71
71
|
asyncThunkCreator,
|
|
72
72
|
buildCreateSlice,
|
|
73
73
|
createAsyncThunk,
|
|
74
74
|
createEntityAdapter,
|
|
75
75
|
createSelector
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-ZTHAJU3O.js";
|
|
77
77
|
import {
|
|
78
78
|
googleSessionRequestToken,
|
|
79
79
|
isGoogleAuthoritySession,
|
|
80
80
|
normalizeTimeFields
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-HDKMVYNJ.js";
|
|
82
82
|
import {
|
|
83
83
|
createClientLogger
|
|
84
84
|
} from "./chunk-QQ56R7KS.js";
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
import {
|
|
91
91
|
applyBuiltinAgentRuntimeOverride,
|
|
92
92
|
resolveBuiltinPlatformAgentRecord
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-CEKRIR22.js";
|
|
94
94
|
import {
|
|
95
95
|
DEFAULT_AUTO_EXECUTION_PROFILE,
|
|
96
96
|
EMPTY_ASSISTANT_FALLBACK_MESSAGE,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
isCodexOAuthAgent,
|
|
106
106
|
normalizeAttachmentPart,
|
|
107
107
|
resolveAutoExecutionProfile
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-7WHCIA5V.js";
|
|
109
109
|
import {
|
|
110
110
|
isDevinOAuthAgent
|
|
111
111
|
} from "./chunk-5ZUL4CUO.js";
|
|
@@ -146,7 +146,7 @@ import {
|
|
|
146
146
|
} from "./chunk-BV3FLP2L.js";
|
|
147
147
|
import {
|
|
148
148
|
nolotusId
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-5P3PPQVP.js";
|
|
150
150
|
import {
|
|
151
151
|
buildDialogAgentListIndexDeleteOps,
|
|
152
152
|
createKey,
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
} from "./chunk-OJKUU3LP.js";
|
|
160
160
|
import {
|
|
161
161
|
isBuiltinPlatformAgentKey
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-RIWKZT7E.js";
|
|
163
163
|
import {
|
|
164
164
|
extractCustomId,
|
|
165
165
|
extractUserId
|
|
@@ -15192,7 +15192,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
15192
15192
|
runtimeOptions: args.runtimeOptions
|
|
15193
15193
|
});
|
|
15194
15194
|
if (agentKeyToUse) {
|
|
15195
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
15195
|
+
const { streamAgentChatTurn } = await import("./agentSlice-ZFY3PT3D.js");
|
|
15196
15196
|
await dispatch(
|
|
15197
15197
|
streamAgentChatTurn({
|
|
15198
15198
|
agentKey: agentKeyToUse,
|
|
@@ -16276,7 +16276,7 @@ var deleteOwnedDialogAttachments = async (args) => {
|
|
|
16276
16276
|
metadataReadFailures
|
|
16277
16277
|
});
|
|
16278
16278
|
if (!plan.deleteCandidates.length) return plan;
|
|
16279
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
16279
|
+
const { deleteFileAction } = await import("./deleteFile-ECU6FU5C.js");
|
|
16280
16280
|
for (const candidate of plan.deleteCandidates) {
|
|
16281
16281
|
if (candidate.fileDbKey) {
|
|
16282
16282
|
await deleteFileAction(candidate.fileDbKey, args.thunkApi);
|
|
@@ -16338,7 +16338,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
16338
16338
|
}
|
|
16339
16339
|
if (isCurrentDialog) {
|
|
16340
16340
|
await thunkApi.dispatch(resetMsgs());
|
|
16341
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
16341
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-SCZJH2Q3.js");
|
|
16342
16342
|
dispatch(clearPendingAttachments2());
|
|
16343
16343
|
}
|
|
16344
16344
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -16346,39 +16346,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
16346
16346
|
|
|
16347
16347
|
// packages/chat/dialog/dialogSlice.ts
|
|
16348
16348
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
16349
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
16349
|
+
const { createDialogAction } = await import("./createDialogAction-VOGA6VXH.js");
|
|
16350
16350
|
return createDialogAction(args, thunkApi);
|
|
16351
16351
|
};
|
|
16352
16352
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
16353
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
16353
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-Q665HFZS.js");
|
|
16354
16354
|
return createAgentAutomationAction(args, thunkApi);
|
|
16355
16355
|
};
|
|
16356
16356
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
16357
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
16357
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-NZIGJL5Q.js");
|
|
16358
16358
|
return updateDialogTitleAction(args, thunkApi);
|
|
16359
16359
|
};
|
|
16360
16360
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
16361
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
16361
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-U5DD5EN5.js");
|
|
16362
16362
|
return addDialogAgentAction(args, thunkApi);
|
|
16363
16363
|
};
|
|
16364
16364
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
16365
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
16365
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-EEVSOQOJ.js");
|
|
16366
16366
|
return removeDialogAgentAction(args, thunkApi);
|
|
16367
16367
|
};
|
|
16368
16368
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
16369
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
16369
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-QABBEO4C.js");
|
|
16370
16370
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
16371
16371
|
};
|
|
16372
16372
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
16373
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
16373
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-KYWJSGOO.js");
|
|
16374
16374
|
return switchDialogAgentAction(args, thunkApi);
|
|
16375
16375
|
};
|
|
16376
16376
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
16377
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
16377
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-DNO5POHA.js");
|
|
16378
16378
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
16379
16379
|
};
|
|
16380
16380
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
16381
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
16381
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-FRGNSG6B.js");
|
|
16382
16382
|
return handleSendMessageAction(args, thunkApi);
|
|
16383
16383
|
};
|
|
16384
16384
|
function clearDialogState() {
|
|
@@ -16391,7 +16391,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
16391
16391
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
16392
16392
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
16393
16393
|
try {
|
|
16394
|
-
const { createDocState } = await import("./docStore-
|
|
16394
|
+
const { createDocState } = await import("./docStore-KTTOVQLL.js");
|
|
16395
16395
|
const pageKey = await createDocState(
|
|
16396
16396
|
{ slateData, title },
|
|
16397
16397
|
{ dispatch, getState }
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QEVT4LQ3.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KRDG2XCI.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7EUJ65PF.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveLocalRuntimeEnvFromPolicy
|
|
13
13
|
} from "./chunk-USGHJSGO.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
} from "./chunk-4O22PGNQ.js";
|
|
39
39
|
import {
|
|
40
40
|
t
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-V5NK6KMF.js";
|
|
42
42
|
import {
|
|
43
43
|
toErrorMessage
|
|
44
44
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
mergeReferences,
|
|
4
4
|
resolveReferenceAssets,
|
|
5
5
|
resolveToolsFromKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PVHY7Y6T.js";
|
|
7
7
|
import {
|
|
8
8
|
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
9
9
|
getAllToolRuns,
|
|
10
10
|
parseUiCard,
|
|
11
11
|
uiCardFallback
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KRDG2XCI.js";
|
|
13
13
|
import {
|
|
14
14
|
getDocState
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LQ4CQKTS.js";
|
|
16
16
|
import {
|
|
17
17
|
getTableState
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HZQGCFPJ.js";
|
|
19
19
|
import {
|
|
20
20
|
selectAllMsgs
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-24Z44WHO.js";
|
|
22
22
|
import {
|
|
23
23
|
getCurrentSpaceIdRaw,
|
|
24
24
|
getViewMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YN23INFZ.js";
|
|
26
26
|
import {
|
|
27
27
|
selectById
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ADYWV732.js";
|
|
29
29
|
import {
|
|
30
30
|
resolveToolBaseUrl
|
|
31
31
|
} from "./chunk-KQHEGELM.js";
|
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
projectToolMessageContent,
|
|
42
42
|
resolveAgentRecommendedSkillNames,
|
|
43
43
|
resolveAgentRequiredPackIds
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-KO5GO2BC.js";
|
|
45
45
|
import {
|
|
46
46
|
attachmentKind,
|
|
47
47
|
extractReferenceKeysFromMessage,
|
|
48
48
|
normalizeAttachmentPart
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-7WHCIA5V.js";
|
|
50
50
|
import {
|
|
51
51
|
asRecordOrEmpty
|
|
52
52
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
expandEnabledPackPromptPatches,
|
|
64
64
|
expandEnabledPacks,
|
|
65
65
|
resolveEffectiveEnabledPacks
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-JW6OURKM.js";
|
|
67
67
|
import {
|
|
68
68
|
metaKey
|
|
69
69
|
} from "./chunk-SYTHYBMI.js";
|
|
@@ -1446,6 +1446,16 @@ var withRequestContextBlocks = (contexts, blocks) => {
|
|
|
1446
1446
|
requestContextBlocks: [...contexts.requestContextBlocks ?? [], ...cleaned]
|
|
1447
1447
|
};
|
|
1448
1448
|
};
|
|
1449
|
+
var canProxyToExplicitServerBase = (args) => {
|
|
1450
|
+
const { runtimeOptions, dialogExtraReferences } = args;
|
|
1451
|
+
if (Array.isArray(args.userInput)) return false;
|
|
1452
|
+
if (runtimeOptions?.extraTools?.length) return false;
|
|
1453
|
+
if (runtimeOptions?.editingTarget) return false;
|
|
1454
|
+
if (runtimeOptions?.imageConfigOverride) return false;
|
|
1455
|
+
if (Array.isArray(dialogExtraReferences) && dialogExtraReferences.length > 0)
|
|
1456
|
+
return false;
|
|
1457
|
+
return true;
|
|
1458
|
+
};
|
|
1449
1459
|
var mergeAgentToolsWithRuntime = (agentConfig, referencedTools, mentionedTools, runtimeOptions, state, accountSkillRuntime) => {
|
|
1450
1460
|
const userSkills = agentConfig.runtimePromptAlreadyInMessages ? null : accountSkillRuntime;
|
|
1451
1461
|
const userSkillPromptPatches = userSkills?.skillPromptPatches ?? [];
|
|
@@ -1845,6 +1855,7 @@ export {
|
|
|
1845
1855
|
buildDynamicContexts,
|
|
1846
1856
|
mergeContexts,
|
|
1847
1857
|
withRequestContextBlocks,
|
|
1858
|
+
canProxyToExplicitServerBase,
|
|
1848
1859
|
mergeAgentToolsWithRuntime,
|
|
1849
1860
|
applyImageConfigRuntimeOverride,
|
|
1850
1861
|
resolveImageGenerationStreamingState,
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
patch,
|
|
7
7
|
read
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ADYWV732.js";
|
|
9
9
|
import {
|
|
10
10
|
DEVICE_LOCAL_OWNER_ID,
|
|
11
11
|
isDeviceLocalSpaceBody
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HPDLPEUG.js";
|
|
13
13
|
import {
|
|
14
14
|
selectIdentityUserId
|
|
15
15
|
} from "./chunk-PXYBUFDB.js";
|
|
@@ -5,20 +5,21 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AAYDROBM.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
12
12
|
buildInvalidToolCallSelfHealResult,
|
|
13
13
|
parseToolCallArguments,
|
|
14
14
|
performFetchRequest,
|
|
15
|
+
reportToolExecutionErrorInBackground,
|
|
15
16
|
sanitizeOutboundMessages,
|
|
16
17
|
stripModelToolArgs
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KF7M2UEK.js";
|
|
18
19
|
import {
|
|
19
20
|
findToolExecutor,
|
|
20
21
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-K5X4D2TS.js";
|
|
22
23
|
import {
|
|
23
24
|
createSSEParser,
|
|
24
25
|
createToolRunId,
|
|
@@ -27,7 +28,7 @@ import {
|
|
|
27
28
|
toolRunSetPending,
|
|
28
29
|
toolRunStarted,
|
|
29
30
|
toolRunSucceeded
|
|
30
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-KRDG2XCI.js";
|
|
31
32
|
import {
|
|
32
33
|
addToolMessage,
|
|
33
34
|
messageStreamEnd,
|
|
@@ -35,19 +36,19 @@ import {
|
|
|
35
36
|
toast,
|
|
36
37
|
toolResultNeedsUserConfirmation,
|
|
37
38
|
updateToolMessage
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-24Z44WHO.js";
|
|
39
40
|
import {
|
|
40
41
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-QNZRR3NT.js";
|
|
42
43
|
import {
|
|
43
44
|
getCurrentSpaceId
|
|
44
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-YN23INFZ.js";
|
|
45
46
|
import {
|
|
46
47
|
selectCurrentServer
|
|
47
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-BZMDWGQQ.js";
|
|
48
49
|
import {
|
|
49
50
|
write
|
|
50
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ADYWV732.js";
|
|
51
52
|
import {
|
|
52
53
|
addActiveController,
|
|
53
54
|
getActiveDialogKey,
|
|
@@ -59,7 +60,7 @@ import {
|
|
|
59
60
|
} from "./chunk-RD3QLZQV.js";
|
|
60
61
|
import {
|
|
61
62
|
createAsyncThunk
|
|
62
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-ZTHAJU3O.js";
|
|
63
64
|
import {
|
|
64
65
|
selectIdentityToken
|
|
65
66
|
} from "./chunk-PXYBUFDB.js";
|
|
@@ -70,7 +71,7 @@ import {
|
|
|
70
71
|
projectUserPartForModel,
|
|
71
72
|
resolveOutboundDiagnosticSink,
|
|
72
73
|
resolveOutboundWire
|
|
73
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-AIFQKNPP.js";
|
|
74
75
|
import {
|
|
75
76
|
accumulateToolCallDelta,
|
|
76
77
|
createThinkParserState,
|
|
@@ -93,10 +94,10 @@ import {
|
|
|
93
94
|
isCompleteInstructionOutput,
|
|
94
95
|
sanitizeToolOutputText,
|
|
95
96
|
scrubSecrets
|
|
96
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-KO5GO2BC.js";
|
|
97
98
|
import {
|
|
98
99
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
99
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-7WHCIA5V.js";
|
|
100
101
|
import {
|
|
101
102
|
getModelInfo
|
|
102
103
|
} from "./chunk-2FZVXOFX.js";
|
|
@@ -110,6 +111,9 @@ import {
|
|
|
110
111
|
createDialogMessageKeyAndId,
|
|
111
112
|
dialogMessageKey
|
|
112
113
|
} from "./chunk-OJKUU3LP.js";
|
|
114
|
+
import {
|
|
115
|
+
splitDialogKeyIdentity
|
|
116
|
+
} from "./chunk-YZMNK53S.js";
|
|
113
117
|
import {
|
|
114
118
|
extractCustomId
|
|
115
119
|
} from "./chunk-M2EJHDJP.js";
|
|
@@ -711,18 +715,25 @@ var processToolData = createAsyncThunk(
|
|
|
711
715
|
});
|
|
712
716
|
}
|
|
713
717
|
}
|
|
718
|
+
let toolResult;
|
|
719
|
+
let executorThrew = false;
|
|
714
720
|
try {
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
721
|
+
try {
|
|
722
|
+
toolResult = await found.executor(executionToolArgs, thunkApi, {
|
|
723
|
+
parentMessageId,
|
|
724
|
+
toolRunId,
|
|
725
|
+
agentKey,
|
|
726
|
+
effectiveModel: args.effectiveModel,
|
|
727
|
+
runKind: "interactive",
|
|
728
|
+
// 定档信号:这里是前台对话流式路径,来源恒为 chat;对话 id 用于数历史搜索。
|
|
729
|
+
...args.dialogId ? { dialogId: args.dialogId } : {},
|
|
730
|
+
...args.userMessageId ? { userMessageId: args.userMessageId } : {},
|
|
731
|
+
origin: "chat"
|
|
732
|
+
});
|
|
733
|
+
} catch (executorError) {
|
|
734
|
+
executorThrew = true;
|
|
735
|
+
throw executorError;
|
|
736
|
+
}
|
|
726
737
|
const rawData = toolResult?.rawData ?? toolResult;
|
|
727
738
|
const llmContext = asOptionalTrimmedString(toolResult?.llmContext);
|
|
728
739
|
const displayData = asOptionalTrimmedString(toolResult?.displayData);
|
|
@@ -803,6 +814,15 @@ var processToolData = createAsyncThunk(
|
|
|
803
814
|
hasPendingInteraction: true
|
|
804
815
|
};
|
|
805
816
|
}
|
|
817
|
+
if (executorThrew) {
|
|
818
|
+
reportToolExecutionErrorInBackground({
|
|
819
|
+
thunkApi,
|
|
820
|
+
dialogId: args.dialogId,
|
|
821
|
+
callId: toolCallId,
|
|
822
|
+
toolName: canonicalName,
|
|
823
|
+
error: e
|
|
824
|
+
});
|
|
825
|
+
}
|
|
806
826
|
const rawErrorResult = structured?.rawData !== void 0 ? structured.rawData : { error: errorMessage };
|
|
807
827
|
const summary = asOptionalTrimmedString(structured?.displayData) || `\u274C ${canonicalName} \u6267\u884C\u5931\u8D25: ${errorMessage}`;
|
|
808
828
|
toolRunFailed({
|
|
@@ -1681,7 +1701,7 @@ var sendOpenAICompletionsRequest = async ({
|
|
|
1681
1701
|
userMessageId
|
|
1682
1702
|
}) => {
|
|
1683
1703
|
const { dispatch, getState, signal: thunkSignal } = thunkApi;
|
|
1684
|
-
const dialogId = extractCustomId(dialogKey);
|
|
1704
|
+
const dialogId = splitDialogKeyIdentity(dialogKey)?.dialogId ?? extractCustomId(dialogKey);
|
|
1685
1705
|
const controller = new AbortController();
|
|
1686
1706
|
thunkSignal.addEventListener("abort", () => controller.abort());
|
|
1687
1707
|
const signal = controller.signal;
|
|
@@ -166,6 +166,7 @@ function mintTaskId(pid) {
|
|
|
166
166
|
var ProcessRegistry = class {
|
|
167
167
|
processes = /* @__PURE__ */ new Map();
|
|
168
168
|
byTaskId = /* @__PURE__ */ new Map();
|
|
169
|
+
liveOutputs = /* @__PURE__ */ new Map();
|
|
169
170
|
eventLog;
|
|
170
171
|
terminalListeners = /* @__PURE__ */ new Set();
|
|
171
172
|
backgroundListeners = /* @__PURE__ */ new Set();
|
|
@@ -233,6 +234,12 @@ var ProcessRegistry = class {
|
|
|
233
234
|
transient: proc.transient ?? false,
|
|
234
235
|
owner: proc.owner ?? null
|
|
235
236
|
};
|
|
237
|
+
const existing = this.processes.get(proc.pid);
|
|
238
|
+
if (existing && existing.taskId !== record.taskId) {
|
|
239
|
+
this.byTaskId.delete(existing.taskId);
|
|
240
|
+
this.liveOutputs.get(existing.taskId)?.markClosed();
|
|
241
|
+
this.liveOutputs.delete(existing.taskId);
|
|
242
|
+
}
|
|
236
243
|
this.processes.set(proc.pid, record);
|
|
237
244
|
this.byTaskId.set(record.taskId, proc.pid);
|
|
238
245
|
this.eventLog.append({ taskId: record.taskId, pid: proc.pid, type: "started" });
|
|
@@ -262,7 +269,21 @@ var ProcessRegistry = class {
|
|
|
262
269
|
}
|
|
263
270
|
getByTaskId(taskId) {
|
|
264
271
|
const pid = this.byTaskId.get(taskId);
|
|
265
|
-
|
|
272
|
+
if (pid === void 0) return void 0;
|
|
273
|
+
const item = this.processes.get(pid);
|
|
274
|
+
if (!item || item.taskId !== taskId) return void 0;
|
|
275
|
+
return { ...item };
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Attach a live stdout/stderr output handle to a tracked task (kept outside
|
|
279
|
+
* RegisteredProcess so list()/get() clones and JSON views stay payload-free).
|
|
280
|
+
*/
|
|
281
|
+
attachLiveOutput(taskId, liveOutput) {
|
|
282
|
+
if (!this.byTaskId.has(taskId)) return;
|
|
283
|
+
this.liveOutputs.set(taskId, liveOutput);
|
|
284
|
+
}
|
|
285
|
+
getLiveOutput(taskId) {
|
|
286
|
+
return this.liveOutputs.get(taskId);
|
|
266
287
|
}
|
|
267
288
|
/** Append-only lifecycle events of a task with `seq > cursor` (ascending). */
|
|
268
289
|
getTaskEvents(taskId, cursor = 0) {
|
|
@@ -324,6 +345,7 @@ var ProcessRegistry = class {
|
|
|
324
345
|
}
|
|
325
346
|
item.status = "stopped";
|
|
326
347
|
item.endedAt = Date.now();
|
|
348
|
+
this.liveOutputs.get(item.taskId)?.markClosed();
|
|
327
349
|
if (!item.transient) this.emitBackgroundChange();
|
|
328
350
|
this.eventLog.append({ taskId: item.taskId, pid, type: "killed" });
|
|
329
351
|
this.emitTerminal({
|
|
@@ -356,6 +378,7 @@ var ProcessRegistry = class {
|
|
|
356
378
|
}
|
|
357
379
|
item.status = "stopped";
|
|
358
380
|
item.endedAt = Date.now();
|
|
381
|
+
this.liveOutputs.get(item.taskId)?.markClosed();
|
|
359
382
|
if (!item.transient) this.emitBackgroundChange();
|
|
360
383
|
this.eventLog.append({ taskId: item.taskId, pid: item.pid, type: "killed" });
|
|
361
384
|
this.emitTerminal({
|
|
@@ -369,13 +392,17 @@ var ProcessRegistry = class {
|
|
|
369
392
|
}
|
|
370
393
|
}
|
|
371
394
|
}
|
|
372
|
-
markExited(pid, exitCode, resultCapsule) {
|
|
395
|
+
markExited(pid, exitCode, resultCapsule, expectedTaskId) {
|
|
373
396
|
const item = this.processes.get(pid);
|
|
397
|
+
if (expectedTaskId !== void 0 && item !== void 0 && item.taskId !== expectedTaskId) {
|
|
398
|
+
return;
|
|
399
|
+
}
|
|
374
400
|
if (item && item.status === "running") {
|
|
375
401
|
item.exitCode = exitCode;
|
|
376
402
|
if (resultCapsule) item.resultCapsule = resultCapsule;
|
|
377
403
|
item.status = exitCode === 0 ? "exited" : "failed";
|
|
378
404
|
item.endedAt = Date.now();
|
|
405
|
+
this.liveOutputs.get(item.taskId)?.markClosed();
|
|
379
406
|
if (!item.transient) this.emitBackgroundChange();
|
|
380
407
|
this.eventLog.append({
|
|
381
408
|
taskId: item.taskId,
|
|
@@ -406,6 +433,8 @@ var ProcessRegistry = class {
|
|
|
406
433
|
const item = this.processes.get(pid);
|
|
407
434
|
if (!item || item.promoted) return;
|
|
408
435
|
this.eventLog.append({ taskId: item.taskId, pid, type: "exited", exitCode });
|
|
436
|
+
this.liveOutputs.get(item.taskId)?.markClosed();
|
|
437
|
+
this.liveOutputs.delete(item.taskId);
|
|
409
438
|
this.processes.delete(pid);
|
|
410
439
|
this.byTaskId.delete(item.taskId);
|
|
411
440
|
}
|
|
@@ -413,12 +442,18 @@ var ProcessRegistry = class {
|
|
|
413
442
|
remove(pid) {
|
|
414
443
|
const item = this.processes.get(pid);
|
|
415
444
|
if (!item) return false;
|
|
445
|
+
this.liveOutputs.get(item.taskId)?.markClosed();
|
|
446
|
+
this.liveOutputs.delete(item.taskId);
|
|
416
447
|
this.processes.delete(pid);
|
|
417
448
|
this.byTaskId.delete(item.taskId);
|
|
418
449
|
if (!item.transient) this.emitBackgroundChange();
|
|
419
450
|
return true;
|
|
420
451
|
}
|
|
421
452
|
clear() {
|
|
453
|
+
for (const liveOutput of this.liveOutputs.values()) {
|
|
454
|
+
liveOutput.markClosed();
|
|
455
|
+
}
|
|
456
|
+
this.liveOutputs.clear();
|
|
422
457
|
this.processes.clear();
|
|
423
458
|
this.byTaskId.clear();
|
|
424
459
|
this.eventLog.clear();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
selectCurrentServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BZMDWGQQ.js";
|
|
4
4
|
import {
|
|
5
5
|
patch
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ADYWV732.js";
|
|
7
7
|
import {
|
|
8
8
|
getIsDesktopApp
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HDKMVYNJ.js";
|
|
10
10
|
import {
|
|
11
11
|
selectIdentityToken
|
|
12
12
|
} from "./chunk-PXYBUFDB.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyPublicAgentCatalogOverride
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-223KZUJ6.js";
|
|
4
4
|
import {
|
|
5
5
|
applyBuiltinAgentRuntimeOverride,
|
|
6
6
|
resolveBuiltinPlatformAgentConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CEKRIR22.js";
|
|
8
8
|
import {
|
|
9
9
|
buildLocalAgentLookupKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CBIGMWMI.js";
|
|
11
11
|
import {
|
|
12
12
|
localDialogMessageRecordToRuntimeMessage,
|
|
13
13
|
orderDialogHistory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7EUJ65PF.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveAgentRuntimeConfigFromRecord
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MLK3FEXG.js";
|
|
18
18
|
import {
|
|
19
19
|
dialogMessagePrefix,
|
|
20
20
|
dialogMessageRange
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
scheduleExistingRecordReplication,
|
|
8
8
|
shouldReplaceLocalWithRemoteRecord,
|
|
9
9
|
shouldReplicateLocalRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HPDLPEUG.js";
|
|
11
11
|
import {
|
|
12
12
|
fetchFromClientDb,
|
|
13
13
|
fetchFromServer,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
isReadTimeoutError,
|
|
17
17
|
logger,
|
|
18
18
|
scopeGoogleSessionServers
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HDKMVYNJ.js";
|
|
20
20
|
import {
|
|
21
21
|
isAbortError
|
|
22
22
|
} from "./chunk-7DPNBQSV.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
isBuiltinPlatformAgentKey,
|
|
28
28
|
isPublicBuiltinPlatformAgentKey
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RIWKZT7E.js";
|
|
30
30
|
import {
|
|
31
31
|
NOLO_CLUSTER_SERVERS,
|
|
32
32
|
normalizeKnownServerOrigin
|