nolo-cli 0.189.0-alpha.1 → 0.190.0-alpha.2

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 (99) hide show
  1. package/{_executeModel-7GFCTOFY.js → _executeModel-SWF5L2QJ.js} +22 -22
  2. package/{action-HQXK4ZT4.js → action-BHWB4MOK.js} +2 -2
  3. package/{addContentAction-3WAN3OWY.js → addContentAction-BY375D35.js} +3 -3
  4. package/{addDialogAgentAction-WNQBFR5G.js → addDialogAgentAction-HOZYOCWC.js} +2 -2
  5. package/{agentDeleteCommand-GXYAEUFQ.js → agentDeleteCommand-RZBGWFD7.js} +23 -23
  6. package/{agentEmailCommands-WYZKZBPZ.js → agentEmailCommands-WLI22RW4.js} +24 -24
  7. package/{agentListCommands-POWEO3US.js → agentListCommands-RL5BMN2E.js} +7 -7
  8. package/{agentMachineCommands-LD4UKJ47.js → agentMachineCommands-F3NUJ2L6.js} +5 -5
  9. package/{agentRecordCommands-O6SOBL37.js → agentRecordCommands-P56UX5EH.js} +23 -23
  10. package/{agentRunCommand-JZ5CH3DL.js → agentRunCommand-75PMX2RJ.js} +24 -24
  11. package/{agentRuntimeLocal-G4KEXO5D.js → agentRuntimeLocal-3H7ZXM5X.js} +3 -3
  12. package/{agentSlice-STUDWJJZ.js → agentSlice-YGT6LLK6.js} +3 -3
  13. package/{appDeleteCommands-GZPGKI2Z.js → appDeleteCommands-AUDFCIFP.js} +7 -7
  14. package/{appDeployCommands-5UU3V5OK.js → appDeployCommands-ZMVIKSPY.js} +7 -7
  15. package/{appDeployStatusCommands-2ZB2QZ22.js → appDeployStatusCommands-LQNUHHGW.js} +7 -7
  16. package/{appGetCommands-YSZFBV5G.js → appGetCommands-WVCAHY4P.js} +7 -7
  17. package/{appListCommands-W6D7XIFX.js → appListCommands-4HHNJQUI.js} +7 -7
  18. package/{authCommand-L6C4LLOU.js → authCommand-RV5MQDWN.js} +3 -3
  19. package/{authCommands-RFLKIPBT.js → authCommands-MZUXPRYJ.js} +2 -2
  20. package/{builtinSkillRegistry-2VN6JG4U.js → builtinSkillRegistry-7MBUY5EY.js} +3 -3
  21. package/{chromeOpsCommands-BTIWDYLA.js → chromeOpsCommands-C46BXHEE.js} +1 -1
  22. package/{chunk-H6FUDBS3.js → chunk-23QZ43OQ.js} +5 -5
  23. package/{chunk-5LVGXDSL.js → chunk-2CYD3OWD.js} +1 -1
  24. package/{chunk-4MZCYEK5.js → chunk-4KH2J6P7.js} +2 -2
  25. package/{chunk-XTM23OUX.js → chunk-4MYCKDSI.js} +2 -2
  26. package/{chunk-RGTPR57U.js → chunk-4YS6SAUO.js} +4 -4
  27. package/{chunk-LOQYQUM2.js → chunk-53PBXLID.js} +1 -1
  28. package/{chunk-KOIGM3KU.js → chunk-5DPVRMSY.js} +1 -1
  29. package/{chunk-GSX7Z46F.js → chunk-5HAPEKNH.js} +1 -1
  30. package/{chunk-RANCLEEC.js → chunk-6PV7VEEE.js} +10 -10
  31. package/{chunk-JOOWHDGM.js → chunk-A5BLRE3G.js} +1 -1
  32. package/{chunk-Y2ZDNW2H.js → chunk-B2N5GZBU.js} +2 -2
  33. package/{chunk-7SJG5ZNX.js → chunk-B6EZB6DW.js} +1 -1
  34. package/{chunk-CLGAGPEM.js → chunk-CNMQATUF.js} +1 -1
  35. package/{chunk-ER4UTWWS.js → chunk-DFF6B7P7.js} +1 -1
  36. package/{chunk-TNVE3CAV.js → chunk-DNHR4SIB.js} +4 -4
  37. package/{chunk-WMHWFFTE.js → chunk-ECX3NKRD.js} +46 -0
  38. package/{chunk-ZIOYHDYW.js → chunk-EWY63OTN.js} +2 -2
  39. package/{chunk-MMOISK6N.js → chunk-FLOZJJZO.js} +3 -3
  40. package/{chunk-R6AJKHEU.js → chunk-FSOJN3F7.js} +3 -3
  41. package/{chunk-WBCYL63M.js → chunk-GYVLAHA4.js} +1 -1
  42. package/{chunk-OKFKGCTS.js → chunk-HTLIKE5U.js} +2 -2
  43. package/{chunk-7N6C3IHF.js → chunk-JCDNXY6M.js} +2 -2
  44. package/{chunk-S4W4GV3B.js → chunk-K6TZSON4.js} +1 -1
  45. package/{chunk-3QFOYFJW.js → chunk-LMHU2NXQ.js} +4 -4
  46. package/{chunk-YUZIPPER.js → chunk-NHUH5CDA.js} +2 -2
  47. package/{chunk-2SUNC7EM.js → chunk-P277FU5Z.js} +12 -12
  48. package/{chunk-PCPQWTXJ.js → chunk-PD2YRFAI.js} +1 -1
  49. package/{chunk-O2MBTX37.js → chunk-RKUSD72B.js} +4 -4
  50. package/{chunk-J7QGWFT6.js → chunk-SIZY5XFD.js} +36 -11
  51. package/{chunk-OXOXPREC.js → chunk-SM56M7N7.js} +1 -1
  52. package/{chunk-J6ACCFU6.js → chunk-TFSMPRAY.js} +4 -4
  53. package/{chunk-IFN7MHWL.js → chunk-UGCQKKXW.js} +1 -1
  54. package/{chunk-63RO7QWZ.js → chunk-UNOILAZP.js} +10 -0
  55. package/{chunk-HVV4B6OL.js → chunk-W622GBH3.js} +2 -2
  56. package/{chunk-7GXK3WTO.js → chunk-WAZ6BTSC.js} +1 -1
  57. package/{chunk-4OTMONZL.js → chunk-XECMQMCS.js} +9 -9
  58. package/{chunk-6G5V4Y3V.js → chunk-XY6RHOUI.js} +19 -19
  59. package/{chunk-PVZ3GB25.js → chunk-ZLBQ55HI.js} +5 -5
  60. package/{chunk-RBVR7P3M.js → chunk-ZRATZ7OH.js} +18 -18
  61. package/{commandRegistry-AXZLPIPP.js → commandRegistry-IG7CJFTP.js} +61 -61
  62. package/{contentThunks-E4DHXF3M.js → contentThunks-UOENCNOK.js} +8 -8
  63. package/{cooldownCommands-ZERBBSWJ.js → cooldownCommands-4XKJFEBW.js} +1 -1
  64. package/{createAgentAutomationAction-2P2II7B3.js → createAgentAutomationAction-4STTL3XS.js} +8 -8
  65. package/{createDialogAction-MFZGE5EO.js → createDialogAction-2L47HM5V.js} +10 -10
  66. package/{createPageAction-SBU2YCNR.js → createPageAction-6QX7NS6V.js} +8 -8
  67. package/{dbSlice-2O3YBVPP.js → dbSlice-QAUXABCC.js} +2 -2
  68. package/{dialogCommands-AQLB3TG2.js → dialogCommands-VCQO2OFM.js} +7 -7
  69. package/{dialogSlice-GKPCUQWM.js → dialogSlice-5M2W5QZZ.js} +7 -7
  70. package/{dialogUsageCommand-44XMU6DD.js → dialogUsageCommand-QTG6ILEJ.js} +58 -5
  71. package/{docCreateCommands-AND3EMIY.js → docCreateCommands-7FAETK4S.js} +6 -6
  72. package/{docDeleteCommands-WA7CPPN3.js → docDeleteCommands-IVA4T2VS.js} +7 -7
  73. package/{docReadCommands-A4JLU4WF.js → docReadCommands-F63GIAYX.js} +6 -6
  74. package/{docStore-DOZVBVKZ.js → docStore-FOMW62P6.js} +3 -3
  75. package/{docUpdateCommands-33PDSHS3.js → docUpdateCommands-QEC4Y2HQ.js} +6 -6
  76. package/{fetchMessages-QLW7INJJ.js → fetchMessages-HWBVATSE.js} +1 -1
  77. package/{handleSendMessageAction-FY4RBJEA.js → handleSendMessageAction-6PA7PBAE.js} +15 -15
  78. package/index.js +6 -6
  79. package/{keys-N6HQICY5.js → keys-P4ZDOVJW.js} +11 -1
  80. package/{localDialogRead-55YDVPNU.js → localDialogRead-CT5HGDMC.js} +1 -1
  81. package/{localRuntimeAdapter-VOTHX3NK.js → localRuntimeAdapter-UZVDGE24.js} +21 -21
  82. package/{machineCommands-FDTN3A5S.js → machineCommands-JMHZ2BFI.js} +22 -22
  83. package/{machineWsRunDispatch-PPVYOERM.js → machineWsRunDispatch-5CYUKV3K.js} +22 -22
  84. package/{memberThunks-VXT36MZP.js → memberThunks-ZAE52VIP.js} +3 -3
  85. package/package.json +1 -1
  86. package/{readlineWorkspace-6SU3QTTY.js → readlineWorkspace-G5EZWTPW.js} +83 -37
  87. package/{removeDialogAgentAction-PK24DJ2J.js → removeDialogAgentAction-YEPO5AYI.js} +3 -3
  88. package/{runAgentClientLoop-CFIM6MXT.js → runAgentClientLoop-5P42KTXW.js} +20 -20
  89. package/{secretCommands-UYVNIQIN.js → secretCommands-N6CMCJDZ.js} +1 -1
  90. package/{setDialogExtraReferencesAction-BN4IBUO6.js → setDialogExtraReferencesAction-EH5GWDAJ.js} +3 -3
  91. package/{setPrimaryDialogAgentAction-JR5SMLZY.js → setPrimaryDialogAgentAction-PNWRK6IY.js} +3 -3
  92. package/{settingThunks-RJZQHL7H.js → settingThunks-7VCWB6P7.js} +2 -2
  93. package/{spaceCommands-BI3TRIAK.js → spaceCommands-6IH5EH6B.js} +5 -5
  94. package/{streamAgentChatTurn-3BS7IAFR.js → streamAgentChatTurn-LK4RYXJ6.js} +22 -22
  95. package/{switchDialogAgentAction-TSIXBNRH.js → switchDialogAgentAction-23BFWJMV.js} +2 -2
  96. package/{tools-PCTUYG54.js → tools-RGZRKCCX.js} +17 -17
  97. package/{updateCommands-6GKGM7NR.js → updateCommands-KE6LP3QX.js} +3 -3
  98. package/{updateDialogTitleAction-ZHFIMEQL.js → updateDialogTitleAction-HEON2XAV.js} +8 -8
  99. package/{windowsSelfUpdate-4N7JCG2M.js → windowsSelfUpdate-26TSFXEZ.js} +2 -2
@@ -7,7 +7,7 @@ import {
7
7
  listUserRecordsFromServers,
8
8
  readDbRecordFromServers,
9
9
  readLiveDbRecordAfterTombstoneMerge
10
- } from "./chunk-KOIGM3KU.js";
10
+ } from "./chunk-5DPVRMSY.js";
11
11
  import {
12
12
  parsePositiveFiniteNumberOrFallback
13
13
  } from "./chunk-Y5GCAMGP.js";
@@ -69,7 +69,7 @@ import {
69
69
  } from "./chunk-4SN6J65J.js";
70
70
  import {
71
71
  t
72
- } from "./chunk-63RO7QWZ.js";
72
+ } from "./chunk-UNOILAZP.js";
73
73
  import {
74
74
  asNonEmptyStringArray,
75
75
  asTrimmedNonEmptyStringArray
@@ -780,7 +780,7 @@ function isExplicitDialogIdMismatch(meta, dialogId) {
780
780
  return meta && typeof meta === "object" && "id" in meta && meta.id != null && String(meta.id) !== dialogId;
781
781
  }
782
782
  async function readDialogFromLocalDb(dialogKey, dialogId, limit, readLocalDialog) {
783
- const reader = readLocalDialog ?? (await import("./localDialogRead-55YDVPNU.js")).readDialogFromLocalDb;
783
+ const reader = readLocalDialog ?? (await import("./localDialogRead-CT5HGDMC.js")).readDialogFromLocalDb;
784
784
  const result = await reader({ dialogKey, dialogId, limit });
785
785
  return {
786
786
  ...result,
@@ -795,7 +795,7 @@ async function readLocalDialogAtDbPathDefault(args) {
795
795
  );
796
796
  }
797
797
  const db = await getDefaultCliLocalRuntimeDb();
798
- const { readDialogFromLocalDb: reader } = await import("./localDialogRead-55YDVPNU.js");
798
+ const { readDialogFromLocalDb: reader } = await import("./localDialogRead-CT5HGDMC.js");
799
799
  return reader({ ...args, db });
800
800
  }
801
801
  async function readDialogFromLocalDbWithFallback(args) {
@@ -31,7 +31,7 @@ import {
31
31
  createMemoryOwnerIndexKey,
32
32
  createMemorySubjectKindIndexKey,
33
33
  memoryOwnerRange
34
- } from "./chunk-WMHWFFTE.js";
34
+ } from "./chunk-ECX3NKRD.js";
35
35
  import {
36
36
  asTrimmedNonEmptyStringArray
37
37
  } from "./chunk-I42VC5KR.js";
@@ -553,6 +553,16 @@ var agentStrings = {
553
553
  en: "+{0} more",
554
554
  zh: "\u8FD8\u6709 {0} \u4E2A"
555
555
  },
556
+ // 纯推理 run(0 次工具调用)的心跳:模型调用次数。
557
+ runLlmCalls: {
558
+ en: "{0} model calls",
559
+ zh: "{0} \u6B21\u6A21\u578B\u8C03\u7528"
560
+ },
561
+ // 停滞信号:最后一次事件太久没有更新(次数不涨)。
562
+ runStalled: {
563
+ en: "may be stuck",
564
+ zh: "\u53EF\u80FD\u5361\u4F4F"
565
+ },
556
566
  agentsTitle: {
557
567
  en: "Agents:",
558
568
  zh: "\u667A\u80FD\u4F53\uFF1A"
@@ -145,7 +145,7 @@ import {
145
145
  resolveEmptyAssistantFallbackMessage,
146
146
  resolveEmptyAssistantOutcome,
147
147
  resolveTruncatedReasoningTailLog
148
- } from "./chunk-S4W4GV3B.js";
148
+ } from "./chunk-K6TZSON4.js";
149
149
  import {
150
150
  COMPACTION_SUMMARY_SCHEMA_VERSION,
151
151
  COMPACTION_SUMMARY_SYSTEM_PROMPT,
@@ -22985,7 +22985,7 @@ function buildLoadSkillExecutor(args2) {
22985
22985
  const { resolveSkillByName } = await import("./skillDiscovery-F3TMVQOJ.js");
22986
22986
  const resolved = resolveSkillByName(args2.cwd, name);
22987
22987
  if (!resolved) {
22988
- const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-2VN6JG4U.js");
22988
+ const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-7MBUY5EY.js");
22989
22989
  const builtin = resolveBuiltinSkillByName(name);
22990
22990
  if (builtin) {
22991
22991
  return {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  t
3
- } from "./chunk-63RO7QWZ.js";
3
+ } from "./chunk-UNOILAZP.js";
4
4
 
5
5
  // packages/cli/windowsSelfUpdate.ts
6
6
  import { spawn } from "node:child_process";
@@ -7,7 +7,7 @@ import {
7
7
  mergeReferences,
8
8
  resolveReferenceAssets,
9
9
  resolveToolsFromKeys
10
- } from "./chunk-3QFOYFJW.js";
10
+ } from "./chunk-LMHU2NXQ.js";
11
11
  import {
12
12
  UI_CARD_ENVELOPE_MAX_BYTES,
13
13
  getAllToolRuns,
@@ -20,10 +20,10 @@ import {
20
20
  selectSpaceContextLevel,
21
21
  selectUserTonePreset,
22
22
  uiCardFallback
23
- } from "./chunk-O2MBTX37.js";
23
+ } from "./chunk-RKUSD72B.js";
24
24
  import {
25
25
  getDocState
26
- } from "./chunk-R6AJKHEU.js";
26
+ } from "./chunk-FSOJN3F7.js";
27
27
  import {
28
28
  resolveToolBaseUrl
29
29
  } from "./chunk-MYOH447Z.js";
@@ -35,7 +35,7 @@ import {
35
35
  } from "./chunk-ZBCBFOWC.js";
36
36
  import {
37
37
  getTableState
38
- } from "./chunk-RGTPR57U.js";
38
+ } from "./chunk-4YS6SAUO.js";
39
39
  import {
40
40
  getCurrentSpaceIdRaw,
41
41
  getViewMode
@@ -44,14 +44,14 @@ import {
44
44
  PERSONALIZATION_DIALOG_CATEGORY,
45
45
  buildPersonalizationDialogPolicyContext,
46
46
  selectAllMsgs
47
- } from "./chunk-RBVR7P3M.js";
47
+ } from "./chunk-ZRATZ7OH.js";
48
48
  import {
49
49
  selectPendingFiles
50
50
  } from "./chunk-OWYYDMGJ.js";
51
51
  import {
52
52
  read,
53
53
  selectById
54
- } from "./chunk-Y2ZDNW2H.js";
54
+ } from "./chunk-B2N5GZBU.js";
55
55
  import {
56
56
  getSessionSnapshotForState,
57
57
  selectIdentityUserBalance,
@@ -66,7 +66,7 @@ import {
66
66
  expandEnabledPackPromptPatches,
67
67
  expandEnabledPacks,
68
68
  resolveEffectiveEnabledPacks
69
- } from "./chunk-OXOXPREC.js";
69
+ } from "./chunk-SM56M7N7.js";
70
70
  import {
71
71
  projectToolMessageContent
72
72
  } from "./chunk-2WZXXAQD.js";
@@ -76,7 +76,7 @@ import {
76
76
  } from "./chunk-WJZOQR2J.js";
77
77
  import {
78
78
  extractReferenceKeysFromMessage
79
- } from "./chunk-S4W4GV3B.js";
79
+ } from "./chunk-K6TZSON4.js";
80
80
  import {
81
81
  getModelContextWindow,
82
82
  planContextUsage
@@ -110,7 +110,7 @@ import {
110
110
  } from "./chunk-KUG52IAP.js";
111
111
  import {
112
112
  metaKey
113
- } from "./chunk-WMHWFFTE.js";
113
+ } from "./chunk-ECX3NKRD.js";
114
114
  import {
115
115
  asNonEmptyStringArray
116
116
  } from "./chunk-I42VC5KR.js";
@@ -26,7 +26,7 @@ import {
26
26
  setMembershipRejected,
27
27
  setSpaceInitialized,
28
28
  updateMemberSpaceName
29
- } from "./chunk-LOQYQUM2.js";
29
+ } from "./chunk-53PBXLID.js";
30
30
  import {
31
31
  ToolResultError,
32
32
  clipMultilineText,
@@ -38,7 +38,7 @@ import {
38
38
  toolRunUpdated,
39
39
  uiCardFallback,
40
40
  waitForAbortableDelay
41
- } from "./chunk-O2MBTX37.js";
41
+ } from "./chunk-RKUSD72B.js";
42
42
  import {
43
43
  isGatewayHttpStatus
44
44
  } from "./chunk-NF64D32W.js";
@@ -55,7 +55,7 @@ import {
55
55
  } from "./chunk-VYNMQ6HW.js";
56
56
  import {
57
57
  createDocState
58
- } from "./chunk-R6AJKHEU.js";
58
+ } from "./chunk-FSOJN3F7.js";
59
59
  import {
60
60
  ToolApiError,
61
61
  buildToolRequestHeaders,
@@ -66,7 +66,7 @@ import {
66
66
  } from "./chunk-MYOH447Z.js";
67
67
  import {
68
68
  setDialogExtraReferencesAction
69
- } from "./chunk-ER4UTWWS.js";
69
+ } from "./chunk-DFF6B7P7.js";
70
70
  import {
71
71
  readDocFunc,
72
72
  readDocFunctionSchema,
@@ -82,7 +82,7 @@ import {
82
82
  } from "./chunk-63W5N6P3.js";
83
83
  import {
84
84
  createDialogAction
85
- } from "./chunk-H6FUDBS3.js";
85
+ } from "./chunk-23QZ43OQ.js";
86
86
  import {
87
87
  DEFAULT_COLLAPSED_CATEGORIES,
88
88
  addContentToSpace,
@@ -99,7 +99,7 @@ import {
99
99
  updateContentCategory,
100
100
  updateContentTitle,
101
101
  writeStoredCollapsedCategories
102
- } from "./chunk-RGTPR57U.js";
102
+ } from "./chunk-4YS6SAUO.js";
103
103
  import {
104
104
  getCurrentSpaceId,
105
105
  getCurrentSpaceIdRaw,
@@ -122,14 +122,14 @@ import {
122
122
  selectMsgById,
123
123
  uiAskChoiceFunc,
124
124
  uiAskChoiceFunctionSchema
125
- } from "./chunk-RBVR7P3M.js";
125
+ } from "./chunk-ZRATZ7OH.js";
126
126
  import {
127
127
  createAgent,
128
128
  deleteServerSyncedCredential,
129
129
  runLlm,
130
130
  streamAgentChatTurn,
131
131
  updateAgent
132
- } from "./chunk-PVZ3GB25.js";
132
+ } from "./chunk-ZLBQ55HI.js";
133
133
  import {
134
134
  buildMediaToolConfirmation,
135
135
  normalizeMediaConfirmExecutionRevision
@@ -138,7 +138,7 @@ import {
138
138
  UNCATEGORIZED_ID,
139
139
  addContentAction,
140
140
  checkSpaceMembership
141
- } from "./chunk-7SJG5ZNX.js";
141
+ } from "./chunk-B6EZB6DW.js";
142
142
  import {
143
143
  createSpaceKey,
144
144
  normalizeSpaceId
@@ -153,7 +153,7 @@ import {
153
153
  } from "./chunk-YDH3FDFQ.js";
154
154
  import {
155
155
  shareResourceAction
156
- } from "./chunk-CLGAGPEM.js";
156
+ } from "./chunk-CNMQATUF.js";
157
157
  import {
158
158
  selectCurrentServer,
159
159
  selectSyncServers
@@ -169,7 +169,7 @@ import {
169
169
  selectEntities,
170
170
  toTimestampMs,
171
171
  write
172
- } from "./chunk-Y2ZDNW2H.js";
172
+ } from "./chunk-B2N5GZBU.js";
173
173
  import {
174
174
  readAction
175
175
  } from "./chunk-LBXUNNDS.js";
@@ -199,10 +199,10 @@ import {
199
199
  import {
200
200
  listBuiltinSkills,
201
201
  resolveBuiltinSkillByName
202
- } from "./chunk-GSX7Z46F.js";
202
+ } from "./chunk-5HAPEKNH.js";
203
203
  import {
204
204
  CAPABILITY_PACKS
205
- } from "./chunk-OXOXPREC.js";
205
+ } from "./chunk-SM56M7N7.js";
206
206
  import {
207
207
  buildSkillDocMarkdown,
208
208
  normalizeSkillModalities,
@@ -308,7 +308,7 @@ import {
308
308
  rowKey,
309
309
  splitKey,
310
310
  toTrimmedString
311
- } from "./chunk-WMHWFFTE.js";
311
+ } from "./chunk-ECX3NKRD.js";
312
312
  import {
313
313
  dialogMessageRange,
314
314
  isDialogKey,
@@ -3884,7 +3884,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3884
3884
  const deletedDialogIds = [];
3885
3885
  const deletedDialogKeys = [];
3886
3886
  const failures = [];
3887
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-GKPCUQWM.js");
3887
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-5M2W5QZZ.js");
3888
3888
  for (const target of targets) {
3889
3889
  try {
3890
3890
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -4990,7 +4990,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
4990
4990
  const spaceKey = createSpaceKey.space(spaceId);
4991
4991
  const readSpace = async (dbKey) => {
4992
4992
  try {
4993
- const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-2O3YBVPP.js");
4993
+ const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-QAUXABCC.js");
4994
4994
  if (fresh) {
4995
4995
  return await dispatch(readAndWait2(dbKey)).unwrap();
4996
4996
  }
@@ -11637,7 +11637,7 @@ var selectUserIdFromState = (state2) => {
11637
11637
  var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
11638
11638
  async function addImageContentToSpace(input) {
11639
11639
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
11640
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-3WAN3OWY.js")).addContentAction;
11640
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-BY375D35.js")).addContentAction;
11641
11641
  await addContentAction2(
11642
11642
  {
11643
11643
  spaceId: input.spaceId,
@@ -18566,7 +18566,7 @@ async function updateDocFunc(args, thunkApi) {
18566
18566
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
18567
18567
  };
18568
18568
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
18569
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-DOZVBVKZ.js");
18569
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-FOMW62P6.js");
18570
18570
  if (getDocState().pageKey === id) {
18571
18571
  applyExternalDocUpdate({
18572
18572
  slateData: finalSlateData,
@@ -18591,7 +18591,7 @@ async function updateDocFunc(args, thunkApi) {
18591
18591
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
18592
18592
  async function dispatchSetSettings(thunkApi, changes) {
18593
18593
  const injectedSetSettings = thunkApi?.extra?.setSettings;
18594
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-RJZQHL7H.js")).setSettings;
18594
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-7VCWB6P7.js")).setSettings;
18595
18595
  await thunkApi.dispatch(setSettings(changes)).unwrap();
18596
18596
  }
18597
18597
  var updateUserPreferenceProfileFunctionSchema = {
@@ -2,7 +2,7 @@ import {
2
2
  patch,
3
3
  remove,
4
4
  write
5
- } from "./chunk-Y2ZDNW2H.js";
5
+ } from "./chunk-B2N5GZBU.js";
6
6
  import {
7
7
  getRuntimeServerContext
8
8
  } from "./chunk-7UODCAWW.js";
@@ -28,7 +28,7 @@ import {
28
28
  createAgentKey,
29
29
  createUserKey,
30
30
  toTrimmedString
31
- } from "./chunk-WMHWFFTE.js";
31
+ } from "./chunk-ECX3NKRD.js";
32
32
  import {
33
33
  asTrimmedString
34
34
  } from "./chunk-3EUW3WEO.js";
@@ -347,7 +347,7 @@ var slice = createSliceWithThunks({
347
347
  const overrides = {};
348
348
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
349
349
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
350
- const { _executeModel } = await import("./_executeModel-7GFCTOFY.js");
350
+ const { _executeModel } = await import("./_executeModel-SWF5L2QJ.js");
351
351
  return _executeModel(
352
352
  {
353
353
  isStreaming: args.isStreaming ?? false,
@@ -368,7 +368,7 @@ var slice = createSliceWithThunks({
368
368
  * - 循环直到无工具调用或触发其他运行时停止条件
369
369
  */
370
370
  runAgent: create.asyncThunk(async (args, thunkApi) => {
371
- const { runAgentClientLoop } = await import("./runAgentClientLoop-CFIM6MXT.js");
371
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-5P42KTXW.js");
372
372
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
373
373
  {
374
374
  agentKey: args.agentKey,
@@ -384,7 +384,7 @@ var slice = createSliceWithThunks({
384
384
  * 聊天轮次流式 Agent 调用
385
385
  */
386
386
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
387
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-3BS7IAFR.js");
387
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-LK4RYXJ6.js");
388
388
  return streamAgentChatTurnHandler(args, thunkApi);
389
389
  }),
390
390
  /**
@@ -11,19 +11,19 @@ import {
11
11
  } from "./chunk-523DITKR.js";
12
12
  import {
13
13
  runLlm
14
- } from "./chunk-PVZ3GB25.js";
14
+ } from "./chunk-ZLBQ55HI.js";
15
15
  import {
16
16
  isMediaToolConfirmation
17
17
  } from "./chunk-QYPE3TS3.js";
18
18
  import {
19
19
  cleanupCliSessionForDialog
20
- } from "./chunk-JOOWHDGM.js";
20
+ } from "./chunk-A5BLRE3G.js";
21
21
  import {
22
22
  getApproxPricePerImage
23
23
  } from "./chunk-4JH2UMJR.js";
24
24
  import {
25
25
  addContentAction
26
- } from "./chunk-7SJG5ZNX.js";
26
+ } from "./chunk-B6EZB6DW.js";
27
27
  import {
28
28
  getActiveDialogAgentId,
29
29
  getDialogAgentIds,
@@ -61,7 +61,7 @@ import {
61
61
  selectById,
62
62
  upload,
63
63
  write
64
- } from "./chunk-Y2ZDNW2H.js";
64
+ } from "./chunk-B2N5GZBU.js";
65
65
  import {
66
66
  getRuntimeServerContext,
67
67
  parseOwnerUserIdFromDbKey,
@@ -106,7 +106,7 @@ import {
106
106
  extractReferenceKeysFromMessage,
107
107
  normalizeUsage,
108
108
  resolveAutoExecutionProfile
109
- } from "./chunk-S4W4GV3B.js";
109
+ } from "./chunk-K6TZSON4.js";
110
110
  import {
111
111
  isDevinOAuthAgent
112
112
  } from "./chunk-5ZUL4CUO.js";
@@ -169,7 +169,7 @@ import {
169
169
  createKey,
170
170
  createTokenKey,
171
171
  createTokenStatsKey
172
- } from "./chunk-WMHWFFTE.js";
172
+ } from "./chunk-ECX3NKRD.js";
173
173
  import {
174
174
  createDialogMessageKeyAndId,
175
175
  dialogMessageKey
@@ -11073,7 +11073,7 @@ var messageSlice = createSliceWithThunks({
11073
11073
  runtimeOptions: args.runtimeOptions
11074
11074
  });
11075
11075
  if (agentKeyToUse) {
11076
- const { streamAgentChatTurn } = await import("./agentSlice-STUDWJJZ.js");
11076
+ const { streamAgentChatTurn } = await import("./agentSlice-YGT6LLK6.js");
11077
11077
  await dispatch(
11078
11078
  streamAgentChatTurn({
11079
11079
  agentKey: agentKeyToUse,
@@ -13887,7 +13887,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13887
13887
  }
13888
13888
  if (isCurrentDialog) {
13889
13889
  await thunkApi.dispatch(resetMsgs());
13890
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-GKPCUQWM.js");
13890
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-5M2W5QZZ.js");
13891
13891
  dispatch(clearPendingAttachments2());
13892
13892
  }
13893
13893
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -13895,39 +13895,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13895
13895
 
13896
13896
  // packages/chat/dialog/dialogSlice.ts
13897
13897
  var runCreateDialogAction = async (args, thunkApi) => {
13898
- const { createDialogAction } = await import("./createDialogAction-MFZGE5EO.js");
13898
+ const { createDialogAction } = await import("./createDialogAction-2L47HM5V.js");
13899
13899
  return createDialogAction(args, thunkApi);
13900
13900
  };
13901
13901
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
13902
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-2P2II7B3.js");
13902
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-4STTL3XS.js");
13903
13903
  return createAgentAutomationAction(args, thunkApi);
13904
13904
  };
13905
13905
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
13906
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-ZHFIMEQL.js");
13906
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-HEON2XAV.js");
13907
13907
  return updateDialogTitleAction(args, thunkApi);
13908
13908
  };
13909
13909
  var runAddDialogAgentAction = async (args, thunkApi) => {
13910
- const { addDialogAgentAction } = await import("./addDialogAgentAction-WNQBFR5G.js");
13910
+ const { addDialogAgentAction } = await import("./addDialogAgentAction-HOZYOCWC.js");
13911
13911
  return addDialogAgentAction(args, thunkApi);
13912
13912
  };
13913
13913
  var runRemoveDialogAgentAction = async (args, thunkApi) => {
13914
- const { removeDialogAgentAction } = await import("./removeDialogAgentAction-PK24DJ2J.js");
13914
+ const { removeDialogAgentAction } = await import("./removeDialogAgentAction-YEPO5AYI.js");
13915
13915
  return removeDialogAgentAction(args, thunkApi);
13916
13916
  };
13917
13917
  var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
13918
- const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-JR5SMLZY.js");
13918
+ const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-PNWRK6IY.js");
13919
13919
  return setPrimaryDialogAgentAction(args, thunkApi);
13920
13920
  };
13921
13921
  var runSwitchDialogAgentAction = async (args, thunkApi) => {
13922
- const { switchDialogAgentAction } = await import("./switchDialogAgentAction-TSIXBNRH.js");
13922
+ const { switchDialogAgentAction } = await import("./switchDialogAgentAction-23BFWJMV.js");
13923
13923
  return switchDialogAgentAction(args, thunkApi);
13924
13924
  };
13925
13925
  var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
13926
- const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-BN4IBUO6.js");
13926
+ const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-EH5GWDAJ.js");
13927
13927
  return setDialogExtraReferencesAction(args, thunkApi);
13928
13928
  };
13929
13929
  var runHandleSendMessageAction = async (args, thunkApi) => {
13930
- const { handleSendMessageAction } = await import("./handleSendMessageAction-FY4RBJEA.js");
13930
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-6PA7PBAE.js");
13931
13931
  return handleSendMessageAction(args, thunkApi);
13932
13932
  };
13933
13933
  function clearDialogState() {
@@ -13940,7 +13940,7 @@ var createPageAndAddReference = createAsyncThunk(
13940
13940
  async (payload, { dispatch, getState, rejectWithValue }) => {
13941
13941
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
13942
13942
  try {
13943
- const { createDocState } = await import("./docStore-DOZVBVKZ.js");
13943
+ const { createDocState } = await import("./docStore-FOMW62P6.js");
13944
13944
  const pageKey = await createDocState(
13945
13945
  { slateData, title },
13946
13946
  { dispatch, getState }