nolo-cli 0.146.0-alpha.3 → 0.146.0-alpha.5

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.
Files changed (38) hide show
  1. package/{_executeModel-XVXD2NF6.js → _executeModel-PSFK7JFS.js} +10 -10
  2. package/{agentEmailCommands-G5JSIMJ3.js → agentEmailCommands-4IDFCQL5.js} +9 -9
  3. package/{agentMachineCommands-KRPRBFIJ.js → agentMachineCommands-IGC4R5M3.js} +1 -1
  4. package/{agentRecordCommands-O4UQUZGI.js → agentRecordCommands-TIWPKZ3T.js} +9 -9
  5. package/{agentRunCommand-UKFJRTI5.js → agentRunCommand-LWNLMKAC.js} +9 -9
  6. package/{agentSlice-EURJ2X3Z.js → agentSlice-ZTFKNEHJ.js} +1 -1
  7. package/{chatQueueReduxAdapter-FX6PLQWD.js → chatQueueReduxAdapter-PIK5M2U6.js} +2 -2
  8. package/{chunk-5KTY7S7I.js → chunk-2BAC5FZX.js} +2 -2
  9. package/{chunk-GE2NV4EP.js → chunk-2T4P3OTH.js} +3 -3
  10. package/{chunk-GE3OHMKS.js → chunk-4CWJSCX5.js} +2 -2
  11. package/{chunk-WMFK3PKA.js → chunk-5MCQDAD6.js} +3 -3
  12. package/{chunk-RTRV6QJJ.js → chunk-6XNOGDTR.js} +5 -5
  13. package/{chunk-TOLHTG5T.js → chunk-C5CV4CLU.js} +2 -2
  14. package/{chunk-E6T5QAXV.js → chunk-CEXP7INN.js} +4 -4
  15. package/{chunk-33A6BLNO.js → chunk-FV6LUB6R.js} +8 -8
  16. package/{chunk-RS4VWU3Q.js → chunk-IOPSD2SG.js} +4 -4
  17. package/{chunk-X537GZWB.js → chunk-LFD2V36M.js} +1 -1
  18. package/{chunk-AQSCYA4B.js → chunk-N6MHJ3VG.js} +2 -2
  19. package/{chunk-SAS3P766.js → chunk-O4RO527J.js} +10 -8
  20. package/{chunk-IOO4FJTA.js → chunk-TITGPUWJ.js} +1 -1
  21. package/{chunk-EXVPU2BV.js → chunk-YOJHATGG.js} +1 -1
  22. package/{commandRegistry-TM5ANDW5.js → commandRegistry-JY2L75RT.js} +14 -14
  23. package/{contentThunks-6UITIUO4.js → contentThunks-A3O35EO3.js} +3 -3
  24. package/{createAgentAutomationAction-S5BMORF6.js → createAgentAutomationAction-3WQROJFS.js} +3 -3
  25. package/{createDialogAction-ETEAN4ZV.js → createDialogAction-27LGAZTE.js} +4 -4
  26. package/{createPageAction-YX2G7OQ3.js → createPageAction-FEOA765U.js} +3 -3
  27. package/{dialogSlice-CNX5LBUS.js → dialogSlice-HA7LO4KI.js} +2 -2
  28. package/{docStore-N4OQ6ZGQ.js → docStore-5ZEQSBCJ.js} +1 -1
  29. package/{handleSendMessageAction-NGVDNLYI.js → handleSendMessageAction-L773P53D.js} +88 -8
  30. package/index.js +2 -2
  31. package/{machineCommands-XPKB75TZ.js → machineCommands-3PAJ3N4U.js} +9 -9
  32. package/{machineWsRunDispatch-GXEHR7TB.js → machineWsRunDispatch-6TQU3KYJ.js} +9 -9
  33. package/package.json +1 -1
  34. package/{readlineWorkspace-6RVKAZET.js → readlineWorkspace-7QZ5V5G4.js} +9 -9
  35. package/{runAgentClientLoop-HGLQHN47.js → runAgentClientLoop-POZB5FTY.js} +8 -8
  36. package/{streamAgentChatTurn-7SEKC4RT.js → streamAgentChatTurn-HSJ7LAWE.js} +9 -9
  37. package/{tools-TY7FT76E.js → tools-HO6FDNB4.js} +6 -6
  38. package/{updateDialogTitleAction-AEZO5S6D.js → updateDialogTitleAction-YV5HMYZM.js} +3 -3
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  filterAndCleanMessages,
3
3
  sendOpenAICompletionsRequest
4
- } from "./chunk-RTRV6QJJ.js";
4
+ } from "./chunk-6XNOGDTR.js";
5
5
  import "./chunk-JEXVIMYZ.js";
6
- import "./chunk-5KTY7S7I.js";
6
+ import "./chunk-2BAC5FZX.js";
7
7
  import "./chunk-OCZKATRC.js";
8
8
  import {
9
9
  fetchAgentContexts
10
- } from "./chunk-IOO4FJTA.js";
10
+ } from "./chunk-TITGPUWJ.js";
11
11
  import {
12
12
  generateRequestBody,
13
13
  mergeReferences,
14
14
  performFetchRequest,
15
15
  sanitizeOutboundBody
16
- } from "./chunk-GE2NV4EP.js";
16
+ } from "./chunk-2T4P3OTH.js";
17
17
  import "./chunk-EOARMOVD.js";
18
18
  import "./chunk-HS7MLR74.js";
19
19
  import "./chunk-6OTOA5MH.js";
20
- import "./chunk-33A6BLNO.js";
20
+ import "./chunk-FV6LUB6R.js";
21
21
  import "./chunk-2EE5UD3N.js";
22
22
  import "./chunk-5UTFL4QJ.js";
23
23
  import "./chunk-KQHGZWSV.js";
@@ -25,27 +25,27 @@ import "./chunk-GOMR6S5Z.js";
25
25
  import "./chunk-NF64D32W.js";
26
26
  import "./chunk-3L2WKC3W.js";
27
27
  import "./chunk-4JMDLJAD.js";
28
- import "./chunk-TOLHTG5T.js";
28
+ import "./chunk-C5CV4CLU.js";
29
29
  import "./chunk-HNRASX3X.js";
30
30
  import "./chunk-YRRASA5Q.js";
31
31
  import "./chunk-63W5N6P3.js";
32
32
  import "./chunk-VF4K2QE6.js";
33
- import "./chunk-AQSCYA4B.js";
33
+ import "./chunk-N6MHJ3VG.js";
34
34
  import "./chunk-Z7IZQF56.js";
35
35
  import "./chunk-XPRWFQQK.js";
36
36
  import "./chunk-BJUDYFV5.js";
37
37
  import "./chunk-MEYIRKDN.js";
38
- import "./chunk-X537GZWB.js";
38
+ import "./chunk-LFD2V36M.js";
39
39
  import "./chunk-ZJ7UHBJS.js";
40
40
  import {
41
41
  selectAllMsgs,
42
42
  selectCurrentDialogConfig,
43
43
  updateTokensAction
44
- } from "./chunk-SAS3P766.js";
44
+ } from "./chunk-O4RO527J.js";
45
45
  import "./chunk-523DITKR.js";
46
46
  import "./chunk-YYLHWIW6.js";
47
47
  import "./chunk-6O4IK4V2.js";
48
- import "./chunk-WMFK3PKA.js";
48
+ import "./chunk-5MCQDAD6.js";
49
49
  import "./chunk-D76D3RTR.js";
50
50
  import "./chunk-5RGU3J7P.js";
51
51
  import "./chunk-M76ECQRD.js";
@@ -4,13 +4,13 @@ import {
4
4
  } from "./chunk-X2QRZXZH.js";
5
5
  import {
6
6
  runAgentCreateCommand
7
- } from "./chunk-EXVPU2BV.js";
7
+ } from "./chunk-YOJHATGG.js";
8
8
  import "./chunk-U4STABYN.js";
9
9
  import {
10
10
  positionalArgs,
11
11
  readFlagValue
12
12
  } from "./chunk-BIDGLJQ3.js";
13
- import "./chunk-E6T5QAXV.js";
13
+ import "./chunk-CEXP7INN.js";
14
14
  import "./chunk-I4OPU5TK.js";
15
15
  import "./chunk-YUNJN43V.js";
16
16
  import "./chunk-62IL3KQV.js";
@@ -33,9 +33,9 @@ import "./chunk-4XEYAFLY.js";
33
33
  import "./chunk-JBTJAPUF.js";
34
34
  import "./chunk-QJLEMM2V.js";
35
35
  import "./chunk-ATNTHIZI.js";
36
- import "./chunk-5KTY7S7I.js";
36
+ import "./chunk-2BAC5FZX.js";
37
37
  import "./chunk-HS7MLR74.js";
38
- import "./chunk-33A6BLNO.js";
38
+ import "./chunk-FV6LUB6R.js";
39
39
  import "./chunk-2EE5UD3N.js";
40
40
  import "./chunk-5UTFL4QJ.js";
41
41
  import "./chunk-KQHGZWSV.js";
@@ -43,23 +43,23 @@ import "./chunk-GOMR6S5Z.js";
43
43
  import "./chunk-NF64D32W.js";
44
44
  import "./chunk-3L2WKC3W.js";
45
45
  import "./chunk-4JMDLJAD.js";
46
- import "./chunk-TOLHTG5T.js";
46
+ import "./chunk-C5CV4CLU.js";
47
47
  import "./chunk-HNRASX3X.js";
48
48
  import "./chunk-YRRASA5Q.js";
49
49
  import "./chunk-63W5N6P3.js";
50
50
  import "./chunk-VF4K2QE6.js";
51
- import "./chunk-AQSCYA4B.js";
51
+ import "./chunk-N6MHJ3VG.js";
52
52
  import "./chunk-Z7IZQF56.js";
53
53
  import "./chunk-XPRWFQQK.js";
54
54
  import "./chunk-BJUDYFV5.js";
55
55
  import "./chunk-MEYIRKDN.js";
56
- import "./chunk-X537GZWB.js";
56
+ import "./chunk-LFD2V36M.js";
57
57
  import "./chunk-ZJ7UHBJS.js";
58
- import "./chunk-SAS3P766.js";
58
+ import "./chunk-O4RO527J.js";
59
59
  import "./chunk-523DITKR.js";
60
60
  import "./chunk-YYLHWIW6.js";
61
61
  import "./chunk-6O4IK4V2.js";
62
- import "./chunk-WMFK3PKA.js";
62
+ import "./chunk-5MCQDAD6.js";
63
63
  import "./chunk-D76D3RTR.js";
64
64
  import "./chunk-5RGU3J7P.js";
65
65
  import "./chunk-M76ECQRD.js";
@@ -93,7 +93,7 @@ async function defaultExecuteCli(provider, prompt, options) {
93
93
  return executeCli(provider, prompt, options);
94
94
  }
95
95
  async function forwardConnectorRunMessage(machine, message, pushMessage, executeCli, env, fetchImpl) {
96
- const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-GXEHR7TB.js");
96
+ const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-6TQU3KYJ.js");
97
97
  return handleConnectorRunMessage(message, pushMessage, executeCli, env, fetchImpl);
98
98
  }
99
99
  async function detectLaunchableMachineInfo() {
@@ -2,9 +2,9 @@ import {
2
2
  runAgentCreateCommand,
3
3
  runAgentReadCommand,
4
4
  runAgentUpdateCommand
5
- } from "./chunk-EXVPU2BV.js";
5
+ } from "./chunk-YOJHATGG.js";
6
6
  import "./chunk-U4STABYN.js";
7
- import "./chunk-E6T5QAXV.js";
7
+ import "./chunk-CEXP7INN.js";
8
8
  import "./chunk-I4OPU5TK.js";
9
9
  import "./chunk-YUNJN43V.js";
10
10
  import "./chunk-62IL3KQV.js";
@@ -20,9 +20,9 @@ import "./chunk-4XEYAFLY.js";
20
20
  import "./chunk-JBTJAPUF.js";
21
21
  import "./chunk-QJLEMM2V.js";
22
22
  import "./chunk-ATNTHIZI.js";
23
- import "./chunk-5KTY7S7I.js";
23
+ import "./chunk-2BAC5FZX.js";
24
24
  import "./chunk-HS7MLR74.js";
25
- import "./chunk-33A6BLNO.js";
25
+ import "./chunk-FV6LUB6R.js";
26
26
  import "./chunk-2EE5UD3N.js";
27
27
  import "./chunk-5UTFL4QJ.js";
28
28
  import "./chunk-KQHGZWSV.js";
@@ -30,23 +30,23 @@ import "./chunk-GOMR6S5Z.js";
30
30
  import "./chunk-NF64D32W.js";
31
31
  import "./chunk-3L2WKC3W.js";
32
32
  import "./chunk-4JMDLJAD.js";
33
- import "./chunk-TOLHTG5T.js";
33
+ import "./chunk-C5CV4CLU.js";
34
34
  import "./chunk-HNRASX3X.js";
35
35
  import "./chunk-YRRASA5Q.js";
36
36
  import "./chunk-63W5N6P3.js";
37
37
  import "./chunk-VF4K2QE6.js";
38
- import "./chunk-AQSCYA4B.js";
38
+ import "./chunk-N6MHJ3VG.js";
39
39
  import "./chunk-Z7IZQF56.js";
40
40
  import "./chunk-XPRWFQQK.js";
41
41
  import "./chunk-BJUDYFV5.js";
42
42
  import "./chunk-MEYIRKDN.js";
43
- import "./chunk-X537GZWB.js";
43
+ import "./chunk-LFD2V36M.js";
44
44
  import "./chunk-ZJ7UHBJS.js";
45
- import "./chunk-SAS3P766.js";
45
+ import "./chunk-O4RO527J.js";
46
46
  import "./chunk-523DITKR.js";
47
47
  import "./chunk-YYLHWIW6.js";
48
48
  import "./chunk-6O4IK4V2.js";
49
- import "./chunk-WMFK3PKA.js";
49
+ import "./chunk-5MCQDAD6.js";
50
50
  import "./chunk-D76D3RTR.js";
51
51
  import "./chunk-5RGU3J7P.js";
52
52
  import "./chunk-M76ECQRD.js";
@@ -8,12 +8,12 @@ import {
8
8
  resolveRunSettlementNote,
9
9
  resolveWorkflowReference,
10
10
  runAgentRunCommand
11
- } from "./chunk-RS4VWU3Q.js";
11
+ } from "./chunk-IOPSD2SG.js";
12
12
  import "./chunk-VJVNU77E.js";
13
13
  import {
14
14
  parseAgentRunArgs
15
15
  } from "./chunk-BIDGLJQ3.js";
16
- import "./chunk-E6T5QAXV.js";
16
+ import "./chunk-CEXP7INN.js";
17
17
  import "./chunk-I4OPU5TK.js";
18
18
  import "./chunk-YUNJN43V.js";
19
19
  import "./chunk-62IL3KQV.js";
@@ -34,9 +34,9 @@ import "./chunk-LTRXGFMS.js";
34
34
  import "./chunk-QJLEMM2V.js";
35
35
  import "./chunk-ATNTHIZI.js";
36
36
  import "./chunk-JEXVIMYZ.js";
37
- import "./chunk-5KTY7S7I.js";
37
+ import "./chunk-2BAC5FZX.js";
38
38
  import "./chunk-HS7MLR74.js";
39
- import "./chunk-33A6BLNO.js";
39
+ import "./chunk-FV6LUB6R.js";
40
40
  import "./chunk-2EE5UD3N.js";
41
41
  import "./chunk-5UTFL4QJ.js";
42
42
  import "./chunk-KQHGZWSV.js";
@@ -44,23 +44,23 @@ import "./chunk-GOMR6S5Z.js";
44
44
  import "./chunk-NF64D32W.js";
45
45
  import "./chunk-3L2WKC3W.js";
46
46
  import "./chunk-4JMDLJAD.js";
47
- import "./chunk-TOLHTG5T.js";
47
+ import "./chunk-C5CV4CLU.js";
48
48
  import "./chunk-HNRASX3X.js";
49
49
  import "./chunk-YRRASA5Q.js";
50
50
  import "./chunk-63W5N6P3.js";
51
51
  import "./chunk-VF4K2QE6.js";
52
- import "./chunk-AQSCYA4B.js";
52
+ import "./chunk-N6MHJ3VG.js";
53
53
  import "./chunk-Z7IZQF56.js";
54
54
  import "./chunk-XPRWFQQK.js";
55
55
  import "./chunk-BJUDYFV5.js";
56
56
  import "./chunk-MEYIRKDN.js";
57
- import "./chunk-X537GZWB.js";
57
+ import "./chunk-LFD2V36M.js";
58
58
  import "./chunk-ZJ7UHBJS.js";
59
- import "./chunk-SAS3P766.js";
59
+ import "./chunk-O4RO527J.js";
60
60
  import "./chunk-523DITKR.js";
61
61
  import "./chunk-YYLHWIW6.js";
62
62
  import "./chunk-6O4IK4V2.js";
63
- import "./chunk-WMFK3PKA.js";
63
+ import "./chunk-5MCQDAD6.js";
64
64
  import "./chunk-D76D3RTR.js";
65
65
  import "./chunk-5RGU3J7P.js";
66
66
  import "./chunk-M76ECQRD.js";
@@ -7,7 +7,7 @@ import {
7
7
  slice,
8
8
  streamAgentChatTurn,
9
9
  updateAgent
10
- } from "./chunk-WMFK3PKA.js";
10
+ } from "./chunk-5MCQDAD6.js";
11
11
  import "./chunk-L36OWPP3.js";
12
12
  import "./chunk-ZWQUWF6W.js";
13
13
  import "./chunk-KX6YBIHG.js";
@@ -4,11 +4,11 @@ import {
4
4
  } from "./chunk-YPREESF4.js";
5
5
  import {
6
6
  handleSendMessage
7
- } from "./chunk-SAS3P766.js";
7
+ } from "./chunk-O4RO527J.js";
8
8
  import "./chunk-523DITKR.js";
9
9
  import "./chunk-YYLHWIW6.js";
10
10
  import "./chunk-6O4IK4V2.js";
11
- import "./chunk-WMFK3PKA.js";
11
+ import "./chunk-5MCQDAD6.js";
12
12
  import "./chunk-D76D3RTR.js";
13
13
  import "./chunk-5RGU3J7P.js";
14
14
  import "./chunk-M76ECQRD.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toolRegistry
3
- } from "./chunk-33A6BLNO.js";
3
+ } from "./chunk-FV6LUB6R.js";
4
4
  import {
5
5
  i18n_default
6
- } from "./chunk-SAS3P766.js";
6
+ } from "./chunk-O4RO527J.js";
7
7
  import {
8
8
  canonicalizeToolNames
9
9
  } from "./chunk-XUWRURDF.js";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  clipMultilineText,
12
12
  fetchAndSerializeTable
13
- } from "./chunk-33A6BLNO.js";
13
+ } from "./chunk-FV6LUB6R.js";
14
14
  import {
15
15
  resolvePageReadMarkdown,
16
16
  slateToSimplifiedMarkdown
@@ -20,13 +20,13 @@ import {
20
20
  } from "./chunk-MEYIRKDN.js";
21
21
  import {
22
22
  fetchAndCacheMessages
23
- } from "./chunk-SAS3P766.js";
23
+ } from "./chunk-O4RO527J.js";
24
24
  import {
25
25
  shouldUseServerProxy
26
26
  } from "./chunk-YYLHWIW6.js";
27
27
  import {
28
28
  fetchServerSyncedCredential
29
- } from "./chunk-WMFK3PKA.js";
29
+ } from "./chunk-5MCQDAD6.js";
30
30
  import {
31
31
  buildSkillGuidancePromptBlock,
32
32
  extractRuntimePageCapabilities,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-E6T5QAXV.js";
4
+ } from "./chunk-CEXP7INN.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-33A6BLNO.js";
7
+ } from "./chunk-FV6LUB6R.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
10
  } from "./chunk-O7WXJIUI.js";
@@ -304,7 +304,7 @@ var slice = createSliceWithThunks({
304
304
  const overrides = {};
305
305
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
306
306
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
307
- const { _executeModel } = await import("./_executeModel-XVXD2NF6.js");
307
+ const { _executeModel } = await import("./_executeModel-PSFK7JFS.js");
308
308
  return _executeModel(
309
309
  {
310
310
  isStreaming: args.isStreaming ?? false,
@@ -325,7 +325,7 @@ var slice = createSliceWithThunks({
325
325
  * - 循环直到无工具调用或触发其他运行时停止条件
326
326
  */
327
327
  runAgent: create.asyncThunk(async (args, thunkApi) => {
328
- const { runAgentClientLoop } = await import("./runAgentClientLoop-HGLQHN47.js");
328
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-POZB5FTY.js");
329
329
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
330
330
  {
331
331
  agentKey: args.agentKey,
@@ -341,7 +341,7 @@ var slice = createSliceWithThunks({
341
341
  * 聊天轮次流式 Agent 调用
342
342
  */
343
343
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
344
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-7SEKC4RT.js");
344
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-HSJ7LAWE.js");
345
345
  return streamAgentChatTurnHandler(args, thunkApi);
346
346
  }),
347
347
  /**
@@ -5,7 +5,7 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-5KTY7S7I.js";
8
+ } from "./chunk-2BAC5FZX.js";
9
9
  import {
10
10
  parseApiError
11
11
  } from "./chunk-OCZKATRC.js";
@@ -15,7 +15,7 @@ import {
15
15
  parseToolCallArguments,
16
16
  performFetchRequest,
17
17
  sanitizeOutboundMessages
18
- } from "./chunk-GE2NV4EP.js";
18
+ } from "./chunk-2T4P3OTH.js";
19
19
  import {
20
20
  createToolRunId,
21
21
  findToolExecutor,
@@ -25,7 +25,7 @@ import {
25
25
  toolRunSetPending,
26
26
  toolRunStarted,
27
27
  toolRunSucceeded
28
- } from "./chunk-33A6BLNO.js";
28
+ } from "./chunk-FV6LUB6R.js";
29
29
  import {
30
30
  createSSEParser
31
31
  } from "./chunk-GOMR6S5Z.js";
@@ -37,10 +37,10 @@ import {
37
37
  messageStreamEnd,
38
38
  messageStreaming,
39
39
  updateToolMessage
40
- } from "./chunk-SAS3P766.js";
40
+ } from "./chunk-O4RO527J.js";
41
41
  import {
42
42
  streamAgentChatTurn
43
- } from "./chunk-WMFK3PKA.js";
43
+ } from "./chunk-5MCQDAD6.js";
44
44
  import {
45
45
  addActiveController,
46
46
  removeActiveController,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-X537GZWB.js";
3
+ } from "./chunk-LFD2V36M.js";
4
4
  import {
5
5
  prepareAndPersistMessage,
6
6
  uiAskChoiceFunc,
7
7
  uiAskChoiceFunctionSchema
8
- } from "./chunk-SAS3P766.js";
8
+ } from "./chunk-O4RO527J.js";
9
9
  import {
10
10
  require_date_fns
11
11
  } from "./chunk-M76ECQRD.js";
@@ -64,7 +64,7 @@ import {
64
64
  import {
65
65
  inlineImageUrlsForCustomProvider,
66
66
  prepareTools
67
- } from "./chunk-5KTY7S7I.js";
67
+ } from "./chunk-2BAC5FZX.js";
68
68
  import {
69
69
  getServerProviderSecret
70
70
  } from "./chunk-HS7MLR74.js";
@@ -82,7 +82,7 @@ import {
82
82
  rememberMemoryFunctionSchema,
83
83
  resolveAgentRequiredPackIds,
84
84
  setTodoListFunc
85
- } from "./chunk-33A6BLNO.js";
85
+ } from "./chunk-FV6LUB6R.js";
86
86
  import {
87
87
  deriveCredentialGroup,
88
88
  deriveCustomProviderCredentialGroup
@@ -110,14 +110,14 @@ import {
110
110
  prepareTokenUsageData,
111
111
  resolveBuiltinPlatformAgentConfig,
112
112
  runKeyed
113
- } from "./chunk-SAS3P766.js";
113
+ } from "./chunk-O4RO527J.js";
114
114
  import {
115
115
  BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
116
116
  BUILTIN_TITLE_LLM_CONFIG
117
117
  } from "./chunk-523DITKR.js";
118
118
  import {
119
119
  fetchServerSyncedCredential
120
- } from "./chunk-WMFK3PKA.js";
120
+ } from "./chunk-5MCQDAD6.js";
121
121
  import {
122
122
  require_date_fns
123
123
  } from "./chunk-M76ECQRD.js";
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-4JMDLJAD.js";
39
39
  import {
40
40
  createDialogAction
41
- } from "./chunk-TOLHTG5T.js";
41
+ } from "./chunk-C5CV4CLU.js";
42
42
  import {
43
43
  addMemberSpace,
44
44
  fetchAuthoritativeRemoteSpace,
@@ -62,7 +62,7 @@ import {
62
62
  } from "./chunk-VF4K2QE6.js";
63
63
  import {
64
64
  createDocState
65
- } from "./chunk-AQSCYA4B.js";
65
+ } from "./chunk-N6MHJ3VG.js";
66
66
  import {
67
67
  setDialogExtraReferencesAction
68
68
  } from "./chunk-Z7IZQF56.js";
@@ -101,7 +101,7 @@ import {
101
101
  updateContentCategory,
102
102
  updateContentTitle,
103
103
  writeStoredCollapsedCategories
104
- } from "./chunk-X537GZWB.js";
104
+ } from "./chunk-LFD2V36M.js";
105
105
  import {
106
106
  getCurrentSpaceId,
107
107
  getCurrentSpaceIdRaw,
@@ -123,14 +123,14 @@ import {
123
123
  selectMsgById,
124
124
  uiAskChoiceFunc,
125
125
  uiAskChoiceFunctionSchema
126
- } from "./chunk-SAS3P766.js";
126
+ } from "./chunk-O4RO527J.js";
127
127
  import {
128
128
  createAgent,
129
129
  deleteServerSyncedCredential,
130
130
  runLlm,
131
131
  streamAgentChatTurn,
132
132
  updateAgent
133
- } from "./chunk-WMFK3PKA.js";
133
+ } from "./chunk-5MCQDAD6.js";
134
134
  import {
135
135
  getActiveDialogKey,
136
136
  selectCurrentDialogKey,
@@ -3985,7 +3985,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3985
3985
  const deletedDialogIds = [];
3986
3986
  const deletedDialogKeys = [];
3987
3987
  const failures = [];
3988
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-CNX5LBUS.js");
3988
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-HA7LO4KI.js");
3989
3989
  for (const target of targets) {
3990
3990
  try {
3991
3991
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -14842,7 +14842,7 @@ var executeToolRun = createAsyncThunk(
14842
14842
  if (!executionInput) {
14843
14843
  throw new Error(`ToolRun ${id} has no input to execute with.`);
14844
14844
  }
14845
- const { findToolExecutor: findToolExecutor2 } = await import("./tools-TY7FT76E.js");
14845
+ const { findToolExecutor: findToolExecutor2 } = await import("./tools-HO6FDNB4.js");
14846
14846
  const { executor } = findToolExecutor2(run.toolName);
14847
14847
  toolRunStarted({
14848
14848
  id: run.id,
@@ -17349,7 +17349,7 @@ async function updateDocFunc(args, thunkApi) {
17349
17349
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
17350
17350
  };
17351
17351
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
17352
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-N4OQ6ZGQ.js");
17352
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-5ZEQSBCJ.js");
17353
17353
  if (getDocState().pageKey === id) {
17354
17354
  applyExternalDocUpdate({
17355
17355
  slateData: finalSlateData,
@@ -28,7 +28,7 @@ import {
28
28
  t,
29
29
  toolLabel,
30
30
  toolLabelVariants
31
- } from "./chunk-E6T5QAXV.js";
31
+ } from "./chunk-CEXP7INN.js";
32
32
  import {
33
33
  clearCredentialAvailability,
34
34
  readCredentialEntry,
@@ -75,7 +75,7 @@ import {
75
75
  } from "./chunk-LTRXGFMS.js";
76
76
  import {
77
77
  formatAgentListCard
78
- } from "./chunk-33A6BLNO.js";
78
+ } from "./chunk-FV6LUB6R.js";
79
79
  import {
80
80
  isTransientFetchError
81
81
  } from "./chunk-5UTFL4QJ.js";
@@ -96,11 +96,11 @@ import {
96
96
  chooseMemoryOwners,
97
97
  loadMemoryCandidatesFromDb,
98
98
  resolveAgentMemoryPolicy
99
- } from "./chunk-TOLHTG5T.js";
99
+ } from "./chunk-C5CV4CLU.js";
100
100
  import {
101
101
  API_REPORTED_COST_MULTIPLIER,
102
102
  parseUiAskChoiceContent
103
- } from "./chunk-SAS3P766.js";
103
+ } from "./chunk-O4RO527J.js";
104
104
  import {
105
105
  isOAuthApiKeyRef
106
106
  } from "./chunk-YYLHWIW6.js";
@@ -9,7 +9,7 @@ import {
9
9
  initReactI18next,
10
10
  instance,
11
11
  toast
12
- } from "./chunk-SAS3P766.js";
12
+ } from "./chunk-O4RO527J.js";
13
13
  import {
14
14
  require_date_fns
15
15
  } from "./chunk-M76ECQRD.js";
@@ -326,7 +326,7 @@ async function saveDocState(arg, { dispatch, getState }) {
326
326
  ).unwrap();
327
327
  if (dbSpaceId) {
328
328
  try {
329
- const { updateContentTitle } = await import("./contentThunks-6UITIUO4.js");
329
+ const { updateContentTitle } = await import("./contentThunks-A3O35EO3.js");
330
330
  await dispatch(
331
331
  updateContentTitle({
332
332
  spaceId: dbSpaceId,
@@ -365,7 +365,7 @@ async function saveDocState(arg, { dispatch, getState }) {
365
365
  }
366
366
  }
367
367
  async function createDocState(args, thunkApi) {
368
- const { createPageAction } = await import("./createPageAction-YX2G7OQ3.js");
368
+ const { createPageAction } = await import("./createPageAction-FEOA765U.js");
369
369
  return createPageAction(args, thunkApi);
370
370
  }
371
371
  function subscribe(listener) {
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-6O4IK4V2.js";
12
12
  import {
13
13
  runLlm
14
- } from "./chunk-WMFK3PKA.js";
14
+ } from "./chunk-5MCQDAD6.js";
15
15
  import {
16
16
  cleanupCliSessionForDialog
17
17
  } from "./chunk-D76D3RTR.js";
@@ -23937,7 +23937,7 @@ var messageSlice = createSliceWithThunks({
23937
23937
  runtimeOptions: args.runtimeOptions
23938
23938
  });
23939
23939
  if (agentKeyToUse) {
23940
- const { streamAgentChatTurn } = await import("./agentSlice-EURJ2X3Z.js");
23940
+ const { streamAgentChatTurn } = await import("./agentSlice-ZTFKNEHJ.js");
23941
23941
  await dispatch(
23942
23942
  streamAgentChatTurn({
23943
23943
  agentKey: agentKeyToUse,
@@ -25073,7 +25073,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
25073
25073
  }
25074
25074
  if (isCurrentDialog) {
25075
25075
  await thunkApi.dispatch(resetMsgs());
25076
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-CNX5LBUS.js");
25076
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-HA7LO4KI.js");
25077
25077
  dispatch(clearPendingAttachments2());
25078
25078
  }
25079
25079
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -25081,15 +25081,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
25081
25081
 
25082
25082
  // packages/chat/dialog/dialogSlice.ts
25083
25083
  var runCreateDialogAction = async (args, thunkApi) => {
25084
- const { createDialogAction } = await import("./createDialogAction-ETEAN4ZV.js");
25084
+ const { createDialogAction } = await import("./createDialogAction-27LGAZTE.js");
25085
25085
  return createDialogAction(args, thunkApi);
25086
25086
  };
25087
25087
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
25088
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-S5BMORF6.js");
25088
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-3WQROJFS.js");
25089
25089
  return createAgentAutomationAction(args, thunkApi);
25090
25090
  };
25091
25091
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
25092
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-AEZO5S6D.js");
25092
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-YV5HMYZM.js");
25093
25093
  return updateDialogTitleAction(args, thunkApi);
25094
25094
  };
25095
25095
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -25113,7 +25113,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
25113
25113
  return setDialogExtraReferencesAction(args, thunkApi);
25114
25114
  };
25115
25115
  var runHandleSendMessageAction = async (args, thunkApi) => {
25116
- const { handleSendMessageAction } = await import("./handleSendMessageAction-NGVDNLYI.js");
25116
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-L773P53D.js");
25117
25117
  return handleSendMessageAction(args, thunkApi);
25118
25118
  };
25119
25119
  function clearDialogState() {
@@ -25126,7 +25126,7 @@ var createPageAndAddReference = createAsyncThunk(
25126
25126
  async (payload, { dispatch, getState, rejectWithValue }) => {
25127
25127
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
25128
25128
  try {
25129
- const { createDocState } = await import("./docStore-N4OQ6ZGQ.js");
25129
+ const { createDocState } = await import("./docStore-5ZEQSBCJ.js");
25130
25130
  const pageKey = await createDocState(
25131
25131
  { slateData, title },
25132
25132
  { dispatch, getState }
@@ -25312,11 +25312,13 @@ export {
25312
25312
  buildPersonalizationDialogPolicyContext,
25313
25313
  estimateMissingUsage,
25314
25314
  resolveHandleSendMessageContext,
25315
+ setStreamingMessageId,
25315
25316
  selectCurrentDialogId,
25316
25317
  selectAllMsgs,
25317
25318
  selectMsgById,
25318
25319
  addUserMessage,
25319
25320
  messageStreaming,
25321
+ setMessages,
25320
25322
  removeTransientMessage,
25321
25323
  finalizeTransientMessageOnError,
25322
25324
  prepareAndPersistMessage,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-GE2NV4EP.js";
4
+ } from "./chunk-2T4P3OTH.js";
5
5
 
6
6
  // packages/ai/agent/fetchAgentContexts.ts
7
7
  async function fetchAgentContexts(references, dispatch) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-U4STABYN.js";
4
4
  import {
5
5
  clearCliLocalRuntimePreparedAgentCache
6
- } from "./chunk-E6T5QAXV.js";
6
+ } from "./chunk-CEXP7INN.js";
7
7
  import {
8
8
  readCredentialAvailability
9
9
  } from "./chunk-62IL3KQV.js";