nolo-cli 0.254.0-alpha.1 → 0.256.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-OMDET3E2.js → _executeModel-E2LL7FPO.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-5WXEECFH.js → agentDeleteCommand-ORNRRKJO.js} +59 -58
- package/{agentEmailCommands-3QWBB2JL.js → agentEmailCommands-2ALVFOD5.js} +60 -59
- package/{agentListCommands-WTEF5RKJ.js → agentListCommands-6I4NQPR4.js} +26 -25
- package/{agentMachineCommands-DP44GKA6.js → agentMachineCommands-PNHTIJ6A.js} +22 -21
- package/{agentRecordCommands-4I7P34GJ.js → agentRecordCommands-BEZPBYBM.js} +59 -58
- package/{agentRunCommand-VAKWFXJV.js → agentRunCommand-2T72V5KY.js} +63 -59
- package/{agentRunControl-5ABAIBQT.js → agentRunControl-3TIVJ3SR.js} +3 -2
- package/{agentRuntimeLocal-IO3GGTCJ.js → agentRuntimeLocal-3MAEFYSB.js} +18 -17
- package/{agentSlice-5ZSVWJHV.js → agentSlice-KOQXUPKT.js} +9 -9
- package/{appDeleteCommands-ZQ4ZEKTC.js → appDeleteCommands-IIOP3CZU.js} +24 -23
- package/{appDeployCommands-4XT7PFW5.js → appDeployCommands-S5ZNB7MA.js} +24 -23
- package/{appDeployStatusCommands-5RVMRYQW.js → appDeployStatusCommands-MQIGLK3T.js} +24 -23
- package/{appGetCommands-VH5W3RFK.js → appGetCommands-XFX4E3KR.js} +24 -23
- package/{appListCommands-TAHZLAL3.js → appListCommands-QR7LT4AK.js} +24 -23
- package/{authCommand-HBO5G6RL.js → authCommand-HKSXJT3J.js} +4 -4
- package/{builtinSkillRegistry-66PEOD4Y.js → builtinSkillRegistry-FVEEO4U2.js} +3 -3
- package/{chromeOpsCommands-AA555ANS.js → chromeOpsCommands-4UIKH26F.js} +1 -1
- package/{chunk-D3WOFN6N.js → chunk-223KZUJ6.js} +1 -1
- package/{chunk-4Z7Q4QZF.js → chunk-2RZBFJEG.js} +1014 -43
- package/{chunk-AX63ZU2W.js → chunk-3GGVFHWI.js} +4 -4
- package/{chunk-2RCMFPUZ.js → chunk-46FETNLF.js} +2 -2
- package/{chunk-CO6E7YK6.js → chunk-5P3PPQVP.js} +1 -1
- 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-MICGEDCN.js → chunk-7B55IVLF.js} +107 -27
- package/{chunk-GK772DEV.js → chunk-7BIJFGKS.js} +3 -3
- package/{chunk-3SEBCWLD.js → chunk-7EUJ65PF.js} +2057 -223
- package/{chunk-25BDZGD7.js → chunk-7JMBQ7YU.js} +2 -2
- package/{chunk-4GWNEPY6.js → chunk-7PTWFSZZ.js} +1 -1
- package/{chunk-CIAV4WK2.js → chunk-7WHCIA5V.js} +2 -2
- package/{chunk-KR4W72OK.js → chunk-ADUCBH4M.js} +45 -25
- 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-3272HU62.js → chunk-APQBEIOQ.js} +1 -1
- package/{chunk-MW3XUUYS.js → chunk-APXC3SQO.js} +6 -6
- package/{chunk-52M4RYVP.js → chunk-BB76X6O4.js} +1 -1
- package/{chunk-HEUHCHAR.js → chunk-BD22OFDQ.js} +3 -3
- package/{chunk-ZAKWT4XQ.js → chunk-BD5YJJLJ.js} +3 -3
- package/{chunk-SID2TFMV.js → chunk-BXGU6274.js} +104 -55
- package/{chunk-SCY2O7CU.js → chunk-BZMDWGQQ.js} +2 -2
- package/{chunk-QV32GSVO.js → chunk-C63KMRJE.js} +1 -1
- package/{chunk-JKO32CCL.js → chunk-CBIGMWMI.js} +1 -1
- package/{chunk-JP2BH4NC.js → chunk-CEKRIR22.js} +1 -1
- package/{chunk-MR72IIX5.js → chunk-CVDJUPBN.js} +4 -4
- package/{chunk-6AJIU6OC.js → chunk-DCTQJDDQ.js} +3 -3
- package/{chunk-HS4JGZQH.js → chunk-DWES4SXY.js} +1 -1
- package/{chunk-D4CUS6NT.js → chunk-E4HBZDV6.js} +3 -3
- package/{chunk-2G3XMM3O.js → chunk-EXD7S7QW.js} +41 -5
- package/{chunk-YGDYYFRX.js → chunk-GYX6XTAI.js} +3 -5
- 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-7STRX24O.js → chunk-IZHENZQ5.js} +8 -7
- package/{chunk-IGK4OXAO.js → chunk-JAGD4PSH.js} +499 -7
- package/{chunk-MCQXBKC6.js → chunk-JGVWHUYK.js} +2 -2
- package/{chunk-5UYDG6HP.js → chunk-JOJH3KWV.js} +26 -15
- package/{chunk-Z2ZCKNKX.js → chunk-JW6OURKM.js} +261 -228
- package/{chunk-VZCBYCHV.js → chunk-KG27JIG4.js} +2 -2
- package/{chunk-PTY2VZM5.js → chunk-KO5GO2BC.js} +6 -8
- package/{chunk-TA2JQUWA.js → chunk-KO5PFS74.js} +156 -1767
- package/{chunk-YW5L3XOO.js → chunk-LJ6WIQZO.js} +10 -10
- package/{chunk-OLS2J3WE.js → chunk-LLUBUHNT.js} +1 -1
- package/{chunk-IDCGMZLC.js → chunk-MD7O2NN2.js} +9 -9
- package/{chunk-XWR2YD4L.js → chunk-MLK3FEXG.js} +1 -1
- package/{chunk-KQBGXCKM.js → chunk-MNFUKRRU.js} +3 -3
- package/{chunk-YYHWEVBI.js → chunk-MUDMYJCM.js} +2 -2
- package/{chunk-NEDBPW44.js → chunk-NRUYSNSZ.js} +2 -2
- 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-K4LLTJUO.js → chunk-Q2MPKE4B.js} +5 -105
- package/{chunk-OMIXG25B.js → chunk-QGFLVQ6E.js} +1 -1
- package/{chunk-WMMKHEGQ.js → chunk-R3FZHW4Q.js} +12 -12
- package/{chunk-KZAT2M2V.js → chunk-RIWKZT7E.js} +22 -0
- package/{chunk-FRC2DNTN.js → chunk-RQKTCHQM.js} +1 -1
- package/{chunk-OWXOXKH7.js → chunk-SCAC3NM5.js} +2 -2
- package/{chunk-NXNHG3QT.js → chunk-SIHOY5YI.js} +21 -10
- package/{chunk-HKPIFK7F.js → chunk-TF427WGH.js} +5 -5
- package/{chunk-NMGG3NUB.js → chunk-U6QNVOR5.js} +1 -1
- package/{chunk-6WI4PFPP.js → chunk-V6S5OZSP.js} +68 -54
- package/{chunk-AIHNB5QH.js → chunk-VQR2ACSC.js} +6 -4
- package/{chunk-GJKEOBCV.js → chunk-WFEWP352.js} +10 -10
- 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-DNY33GGQ.js → chunk-YN23INFZ.js} +1 -1
- package/{chunk-5HUO7SEX.js → chunk-YQLAFJRQ.js} +1 -1
- package/{chunk-EG3JTV7H.js → chunk-Z3JZ2R5F.js} +2 -2
- 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-DONNI3FW.js → commandRegistry-RNYUOKUE.js} +82 -78
- package/{contentThunks-THSXC6WQ.js → contentThunks-ZDBDDZP3.js} +20 -20
- package/{cooldownCommands-PT5L4LNB.js → cooldownCommands-Y4ZQQ35D.js} +1 -1
- package/{createAgentAutomationAction-WNQOJ4DG.js → createAgentAutomationAction-HEZ3G5L4.js} +20 -20
- package/{createDialogAction-YORDQFFC.js → createDialogAction-DK62W5VA.js} +21 -21
- package/{createPageAction-2S7V5OCW.js → createPageAction-W6NXHVKO.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-Z24IDINY.js} +28 -25
- package/{dialogNotifyCommand-JKYVSR6K.js → dialogNotifyCommand-IASQGEMW.js} +3 -3
- package/{dialogSlice-JOICDGQU.js → dialogSlice-62GISS77.js} +18 -18
- package/dialogTraceCommand-FDINAIZ6.js +961 -0
- package/dialogUsageCommand-WJ3U6KZU.js +27 -0
- package/{docCreateCommands-MVAYVGQ5.js → docCreateCommands-SXA4TMGJ.js} +23 -22
- package/{docDeleteCommands-TKXPRA3O.js → docDeleteCommands-ELXSZK3F.js} +24 -23
- package/{docReadCommands-MR2YKCZP.js → docReadCommands-DFLAQPI4.js} +23 -22
- package/{docStore-NKVLWCXX.js → docStore-UWF2PMCB.js} +8 -8
- package/{docUpdateCommands-VJ6A6F7F.js → docUpdateCommands-KB6M5HUH.js} +23 -22
- package/{handleSendMessageAction-SNNYOQ4P.js → handleSendMessageAction-ZV6OQPQG.js} +32 -32
- package/{hostCredentialCreate-SDQUFL23.js → hostCredentialCreate-3IA5IJFG.js} +59 -58
- package/index.js +7 -7
- package/{localRuntimeAdapter-JHYH5ZIR.js → localRuntimeAdapter-SSG5ORLZ.js} +58 -57
- package/{machineCommands-BXSBRM7L.js → machineCommands-ECFQMLHA.js} +59 -58
- package/{machineWsRunDispatch-KEXSHGSD.js → machineWsRunDispatch-7PROH7E7.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-FDYE7VNC.js → projectArchive-JN43WW4E.js} +21 -21
- package/{read-T5WPCAY7.js → read-KG6INYUT.js} +5 -5
- package/{readDocTool-DW4DCRQG.js → readDocTool-N3GA52JR.js} +1 -1
- package/{readlineWorkspace-ME2C64XI.js → readlineWorkspace-D6EUSB2Q.js} +684 -874
- package/{removeDialogAgentAction-MXJEB77K.js → removeDialogAgentAction-EEVSOQOJ.js} +9 -9
- package/{runAgentClientLoop-UAGXVYW5.js → runAgentClientLoop-FEZTSUSJ.js} +51 -40
- package/{secretCommands-BXAQEOES.js → secretCommands-53NZFD4T.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-4ACQQNZL.js} +70 -25
- package/{streamAgentChatTurn-RZUB6JTH.js → streamAgentChatTurn-I425SVYJ.js} +62 -50
- package/{switchDialogAgentAction-SSI2CSNE.js → switchDialogAgentAction-KYWJSGOO.js} +7 -7
- package/{tableCommands-C3P2HHKK.js → tableCommands-EFA754RE.js} +2 -2
- package/{tools-23F5EEVM.js → tools-WBPFTSMK.js} +36 -35
- package/{tuiRestart-7IKI6JZK.js → tuiRestart-VN5F4GYU.js} +4 -3
- package/tuiSummaryLlmCaller-HROLGN4F.js +1 -1
- package/{updateCommands-BZ4YDHNM.js → updateCommands-VQEBBIGO.js} +3 -3
- package/{updateDialogTitleAction-TJWT4LXL.js → updateDialogTitleAction-VB5DTVXV.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-ZEZKGX4M.js} +2 -2
- package/lib-62SWPXNF.js +0 -21042
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requireTokenUser
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PNBQ5JTA.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveServerUrl
|
|
6
6
|
} from "./chunk-BIDSIRTS.js";
|
|
7
7
|
import {
|
|
8
8
|
t
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JOJH3KWV.js";
|
|
10
10
|
|
|
11
11
|
// packages/cli/cliApiClient.ts
|
|
12
12
|
var CliApiError = class extends Error {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-OJKUU3LP.js";
|
|
14
14
|
import {
|
|
15
15
|
BUILTIN_NOLO_AGENT_KEY
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RIWKZT7E.js";
|
|
17
17
|
import {
|
|
18
18
|
asTrimmedString
|
|
19
19
|
} from "./chunk-3EUW3WEO.js";
|
|
@@ -35,7 +35,7 @@ function isGpt62DeveloperPrefixModel(model) {
|
|
|
35
35
|
// packages/agent-runtime/codexOAuthPure.ts
|
|
36
36
|
function isCodexOAuthAgent(agent) {
|
|
37
37
|
if (!agent) return false;
|
|
38
|
-
const ref = agent.apiKeyRef
|
|
38
|
+
const ref = asTrimmedLowercaseString(agent.apiKeyRef);
|
|
39
39
|
return ref === "chatgpt";
|
|
40
40
|
}
|
|
41
41
|
function usesCodexDeveloperPrefix(agent, model) {
|
|
@@ -5,20 +5,21 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JGVWHUYK.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-JAGD4PSH.js";
|
|
18
19
|
import {
|
|
19
20
|
findToolExecutor,
|
|
20
21
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KO5PFS74.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-WFEWP352.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-7B55IVLF.js";
|
|
39
40
|
import {
|
|
40
41
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-MD7O2NN2.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;
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
loadFileFromIndexedDb,
|
|
7
7
|
removeAction,
|
|
8
8
|
saveFileToIndexedDb
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WS36XPJD.js";
|
|
10
10
|
import {
|
|
11
11
|
readAction,
|
|
12
12
|
readRequestManager,
|
|
13
13
|
resolveAgentReadServers
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7BIJFGKS.js";
|
|
15
15
|
import {
|
|
16
16
|
beginWriteAck,
|
|
17
17
|
compareRemoteRecordsByComparableTime,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
shouldReplaceLocalWithRemoteRecord,
|
|
30
30
|
shouldReplicateLocalRecord,
|
|
31
31
|
uploadToCurrentServer
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HPDLPEUG.js";
|
|
33
33
|
import {
|
|
34
34
|
asyncThunkCreator,
|
|
35
35
|
buildCreateSlice,
|
|
36
36
|
createEntityAdapter,
|
|
37
37
|
noloDeleteRequest
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ZTHAJU3O.js";
|
|
39
39
|
import {
|
|
40
40
|
fetchFromClientDb,
|
|
41
41
|
fetchFromServer,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
logger,
|
|
45
45
|
normalizeTimeFields,
|
|
46
46
|
scopeGoogleSessionServers
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-HDKMVYNJ.js";
|
|
48
48
|
import {
|
|
49
49
|
isTombstoneRecord
|
|
50
50
|
} from "./chunk-BV3FLP2L.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
} from "./chunk-OJKUU3LP.js";
|
|
58
58
|
import {
|
|
59
59
|
isPublicBuiltinPlatformAgentKey
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-RIWKZT7E.js";
|
|
61
61
|
import {
|
|
62
62
|
API_ENDPOINTS
|
|
63
63
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -1516,7 +1516,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
1516
1516
|
// 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
|
|
1517
1517
|
read: create.asyncThunk(
|
|
1518
1518
|
async (payload, thunkApi) => {
|
|
1519
|
-
const { readAction: readAction2 } = await import("./read-
|
|
1519
|
+
const { readAction: readAction2 } = await import("./read-KG6INYUT.js");
|
|
1520
1520
|
return readAction2(payload, thunkApi);
|
|
1521
1521
|
},
|
|
1522
1522
|
{
|
|
@@ -1590,7 +1590,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
1590
1590
|
// 这里改成动态 import,运行期才解析,彻底断开这条边。
|
|
1591
1591
|
share: create.asyncThunk(
|
|
1592
1592
|
async (config, thunkApi) => {
|
|
1593
|
-
const { shareResourceAction } = await import("./action-
|
|
1593
|
+
const { shareResourceAction } = await import("./action-C6IQAKN4.js");
|
|
1594
1594
|
return shareResourceAction(config, thunkApi);
|
|
1595
1595
|
}
|
|
1596
1596
|
),
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WFEWP352.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
9
9
|
import {
|
|
10
10
|
resolvePageReadMarkdown,
|
|
11
11
|
slateToSimplifiedMarkdown
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-U6QNVOR5.js";
|
|
13
13
|
import {
|
|
14
14
|
extractCategorizedMentions
|
|
15
15
|
} from "./chunk-AGIM7IMJ.js";
|
|
16
16
|
import {
|
|
17
17
|
fetchAndCacheMessages
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7B55IVLF.js";
|
|
19
19
|
import {
|
|
20
20
|
createSpaceKey
|
|
21
21
|
} from "./chunk-UAD2WT54.js";
|
|
22
22
|
import {
|
|
23
23
|
read
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ADYWV732.js";
|
|
25
25
|
import {
|
|
26
26
|
createDrainExhaustedResponse,
|
|
27
27
|
isCoreDrainingBody,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-3L2WKC3W.js";
|
|
31
31
|
import {
|
|
32
32
|
getRuntimeServerContext
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-HPDLPEUG.js";
|
|
34
34
|
import {
|
|
35
35
|
classifyGenerationError
|
|
36
36
|
} from "./chunk-TLE77UJ5.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
resolveBuiltinSkillEntry,
|
|
50
50
|
resolveBuiltinSkillPage,
|
|
51
51
|
resolveSkillGraphFromRoots
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-JW6OURKM.js";
|
|
53
53
|
import {
|
|
54
54
|
resolvePageSkillMetadata
|
|
55
55
|
} from "./chunk-AETZ7AD6.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7PTWFSZZ.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-E4HBZDV6.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveCredentialGroup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VQR2ACSC.js";
|
|
11
11
|
import {
|
|
12
12
|
isTombstoneRecord
|
|
13
13
|
} from "./chunk-BV3FLP2L.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
patch,
|
|
6
6
|
readAndWait
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ADYWV732.js";
|
|
8
8
|
import {
|
|
9
9
|
require_react
|
|
10
10
|
} from "./chunk-RD3QLZQV.js";
|
|
@@ -335,7 +335,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
335
335
|
).unwrap();
|
|
336
336
|
if (dbSpaceId) {
|
|
337
337
|
try {
|
|
338
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
338
|
+
const { updateContentTitle } = await import("./contentThunks-ZDBDDZP3.js");
|
|
339
339
|
await dispatch(
|
|
340
340
|
updateContentTitle({
|
|
341
341
|
spaceId: dbSpaceId,
|
|
@@ -378,7 +378,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
async function createDocState(args, thunkApi) {
|
|
381
|
-
const { createPageAction } = await import("./createPageAction-
|
|
381
|
+
const { createPageAction } = await import("./createPageAction-W6NXHVKO.js");
|
|
382
382
|
return createPageAction(args, thunkApi);
|
|
383
383
|
}
|
|
384
384
|
function subscribe(listener) {
|