nolo-cli 0.97.6 → 0.97.8

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 (97) hide show
  1. package/{_executeModel-E64QIKWF.js → _executeModel-V7RANMQR.js} +25 -25
  2. package/{addContentAction-DX6T34JR.js → addContentAction-RBOUD7SJ.js} +5 -5
  3. package/{addDialogAgentAction-6SGG37BF.js → addDialogAgentAction-IODCR6TB.js} +4 -4
  4. package/{agentDeleteCommand-76VXVM3N.js → agentDeleteCommand-CF65LJO2.js} +15 -15
  5. package/{agentEmailCommands-URGNKPPJ.js → agentEmailCommands-HBNZIE5Q.js} +29 -29
  6. package/{agentListCommands-62NGDFOS.js → agentListCommands-5EFAYZ5B.js} +16 -16
  7. package/{agentMachineCommands-SDIABR4D.js → agentMachineCommands-HIGEYGHU.js} +14 -14
  8. package/{agentPullCommand-5DOL6RGF.js → agentPullCommand-B4T2DJ5H.js} +1 -1
  9. package/{agentRecordCommands-ZICUGEEH.js → agentRecordCommands-DIGUK2EV.js} +29 -29
  10. package/{agentRunCommand-66NCRPQ7.js → agentRunCommand-7IYB6QL5.js} +29 -29
  11. package/{agentRuntimeLocal-EZPUCRMS.js → agentRuntimeLocal-IOFBNVIL.js} +12 -12
  12. package/{agentSlice-V2EDVUXC.js → agentSlice-6ON6SBOW.js} +5 -5
  13. package/{appDeleteCommands-7WLUFWPE.js → appDeleteCommands-UZ6MYQJN.js} +12 -12
  14. package/{appDeployCommands-NK22AMAW.js → appDeployCommands-PQD6OJ6V.js} +12 -12
  15. package/{appDeployStatusCommands-PIWSMQET.js → appDeployStatusCommands-4JJSAK6R.js} +12 -12
  16. package/{appGetCommands-J3H6IHUT.js → appGetCommands-4M7DVU5T.js} +12 -12
  17. package/{appListCommands-CF4NYHRY.js → appListCommands-PERJZZRY.js} +12 -12
  18. package/{authCommand-T6UO5KPG.js → authCommand-NHDLY3IB.js} +2 -2
  19. package/{authCommands-KTIUCVVG.js → authCommands-UDBJVSZU.js} +2 -2
  20. package/{chunk-XBIYSBSG.js → chunk-46Y5D2BZ.js} +1 -1
  21. package/{chunk-NVRC52JS.js → chunk-4FFUDT6D.js} +4 -4
  22. package/{chunk-YWLAWZYQ.js → chunk-6RSG6HJR.js} +6 -6
  23. package/{chunk-KFJ7ZWBF.js → chunk-7JIOW5N3.js} +7 -7
  24. package/{chunk-WS2VEVHS.js → chunk-7MMSLEPA.js} +2 -2
  25. package/{chunk-V4UYSDTH.js → chunk-ADBZWMFB.js} +1 -1
  26. package/{chunk-SBFHKTI7.js → chunk-CD7Y7F5H.js} +13 -3
  27. package/{chunk-GBRG75BQ.js → chunk-D2MDMY2M.js} +1 -0
  28. package/{chunk-Z7A2EDGT.js → chunk-DFX557SE.js} +3 -3
  29. package/{chunk-EPCAQM3U.js → chunk-E73ON47R.js} +1 -1
  30. package/{chunk-ROFPWC4X.js → chunk-FJ5BGMNM.js} +2 -2
  31. package/{chunk-74D5HEDI.js → chunk-FOXQ7BAB.js} +1 -1
  32. package/{chunk-OCZQEXMX.js → chunk-FWBJR7BZ.js} +18 -12
  33. package/{chunk-7MTCBOOS.js → chunk-GARACBQB.js} +1 -1
  34. package/{chunk-ANRWQGOV.js → chunk-GDFA73QZ.js} +45 -11
  35. package/{chunk-SH7KLR4U.js → chunk-I72JY7FP.js} +3 -3
  36. package/{chunk-CERE5KFG.js → chunk-KN25LO6X.js} +1 -1
  37. package/{chunk-JNXHAQPJ.js → chunk-LDCAFLXD.js} +17 -1
  38. package/{chunk-EMQZSES6.js → chunk-LOCNXNOU.js} +1 -1
  39. package/{chunk-4XYBLM4D.js → chunk-LQ4PDQCI.js} +1 -1
  40. package/{chunk-PUOC4YRO.js → chunk-M7VLQGQP.js} +11 -0
  41. package/{chunk-BFU6C242.js → chunk-NMFV26UG.js} +1 -1
  42. package/{chunk-2TYM4V33.js → chunk-NNCYNBYV.js} +2 -2
  43. package/{chunk-KQHGZWSV.js → chunk-OXME3PEE.js} +1 -1
  44. package/{chunk-ELIMCKNX.js → chunk-PCF3QU5Q.js} +1 -1
  45. package/{chunk-RX4HD4H7.js → chunk-PTDYOADJ.js} +1 -1
  46. package/{chunk-RJYTVNWD.js → chunk-RS4ENQ4O.js} +2 -2
  47. package/{chunk-BFWQ65IZ.js → chunk-SNMQMOD2.js} +1 -1
  48. package/{chunk-2LM7XUCX.js → chunk-SPCBJGFO.js} +4 -4
  49. package/{chunk-ZGNDLCYH.js → chunk-TQE6BVFT.js} +22 -22
  50. package/{chunk-SESH42J6.js → chunk-UACUR6N5.js} +1 -1
  51. package/{chunk-PQ6BKMXB.js → chunk-UM4PH574.js} +1 -1
  52. package/{chunk-BS7YHAQP.js → chunk-UWVGKNAL.js} +244 -57
  53. package/{chunk-CV366NXM.js → chunk-V5OWQOJZ.js} +8 -2
  54. package/{chunk-3PELUSVV.js → chunk-WZLHDC7H.js} +2 -2
  55. package/{chunk-LYKHXIQC.js → chunk-X5YVT5HS.js} +2 -2
  56. package/{chunk-QNTL2KFU.js → chunk-XEALKKFF.js} +105 -32
  57. package/{chunk-WGPKQLZO.js → chunk-ZOWXSMIG.js} +7 -7
  58. package/{chunk-OXEHLZNH.js → chunk-ZTZCZV42.js} +3 -3
  59. package/{commandRegistry-N47CRDOH.js → commandRegistry-WSHNW7RD.js} +52 -52
  60. package/{contentThunks-RRD2XMWB.js → contentThunks-2IQTDXY2.js} +12 -12
  61. package/{createAgentAutomationAction-OW4WEVHP.js → createAgentAutomationAction-W42UXDBD.js} +12 -12
  62. package/{createDialogAction-L3WMTD5Z.js → createDialogAction-YWNYTXXK.js} +13 -13
  63. package/{createPageAction-PWG3K3K7.js → createPageAction-UFGCRJ3W.js} +12 -12
  64. package/{dbSlice-BUB77DHH.js → dbSlice-Q25STFGJ.js} +4 -4
  65. package/{deleteFile-HG4BF3CS.js → deleteFile-AJ2EZMHT.js} +2 -2
  66. package/{dialogCommands-CNXJGME5.js → dialogCommands-YQFKAGMA.js} +15 -15
  67. package/{dialogSlice-M7ZWTW5D.js → dialogSlice-34DUPW5Z.js} +11 -11
  68. package/{docCreateCommands-U2TEDZHS.js → docCreateCommands-FCANZT2K.js} +12 -12
  69. package/{docDeleteCommands-K4ME6F6S.js → docDeleteCommands-AJHN65NA.js} +14 -14
  70. package/{docReadCommands-ZUAVR3HH.js → docReadCommands-25KDEVTF.js} +12 -12
  71. package/{docStore-IX7ASJUP.js → docStore-FAQ6XUUA.js} +7 -5
  72. package/{docUpdateCommands-UKEOVRTF.js → docUpdateCommands-KFR7UB3E.js} +12 -12
  73. package/{fetchMessages-N2BW2L62.js → fetchMessages-I5ICDDHM.js} +2 -2
  74. package/{handleSendMessageAction-KMPC6UD4.js → handleSendMessageAction-5XCHOMQH.js} +28 -12
  75. package/index.js +3 -3
  76. package/{localDialogRead-3FHUPYAR.js → localDialogRead-ZHZ3KXDM.js} +1 -1
  77. package/{localRuntimeAuthority-AENMRPGX.js → localRuntimeAuthority-TU6OBC76.js} +5 -2
  78. package/{localRuntimeDb-AXJREE2T.js → localRuntimeDb-VKWVOPPI.js} +1 -1
  79. package/{machineCommands-U4RRZGU6.js → machineCommands-MSUNJQFK.js} +28 -28
  80. package/{machineWsRunDispatch-V3IOP2P2.js → machineWsRunDispatch-VO7TVIB4.js} +28 -28
  81. package/{memberThunks-LEUNURN2.js → memberThunks-R75S3RWP.js} +5 -5
  82. package/package.json +1 -1
  83. package/{read-TBK4DFHP.js → read-SRQMNO26.js} +2 -2
  84. package/{readDocTool-TJFCZ3ND.js → readDocTool-RC3JUNJ2.js} +1 -1
  85. package/{readlineWorkspace-QTCU2BC4.js → readlineWorkspace-QIPJ23JY.js} +33 -33
  86. package/{removeDialogAgentAction-CT5HGRZH.js → removeDialogAgentAction-46XQV5Q7.js} +5 -5
  87. package/{runAgentClientLoop-4VOARXQF.js → runAgentClientLoop-GSJ4FH6L.js} +23 -23
  88. package/{runtimeDoctorCommands-EQJA4MGD.js → runtimeDoctorCommands-PIVSBZRZ.js} +3 -3
  89. package/{setDialogExtraReferencesAction-JOENKFTX.js → setDialogExtraReferencesAction-J4V5ADQF.js} +5 -5
  90. package/{setPrimaryDialogAgentAction-MHWOGXP3.js → setPrimaryDialogAgentAction-UHHV2QZW.js} +5 -5
  91. package/{settingThunks-KLPZNA6L.js → settingThunks-2OFFBLF4.js} +4 -4
  92. package/{spaceCommands-ZESRWSTC.js → spaceCommands-R3SC2VWH.js} +14 -14
  93. package/{streamAgentChatTurn-VDAVK7N3.js → streamAgentChatTurn-IUQH52XL.js} +25 -25
  94. package/{switchDialogAgentAction-JHA4JEYA.js → switchDialogAgentAction-A2TMVGAE.js} +4 -4
  95. package/{tools-VJ3L5V6D.js → tools-BQKPNGWC.js} +19 -19
  96. package/{tuiSummaryLlmCaller-QUCBFGZK.js → tuiSummaryLlmCaller-Q65IBDGO.js} +8 -8
  97. package/{updateDialogTitleAction-GBUSLAQR.js → updateDialogTitleAction-Z7OREKH3.js} +12 -12
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  normalizeTimingMs
3
- } from "./chunk-WS2VEVHS.js";
3
+ } from "./chunk-7MMSLEPA.js";
4
4
  import {
5
5
  MODEL_LOOKUP_MAP
6
6
  } from "./chunk-3BXNTXYI.js";
@@ -171,6 +171,22 @@ function fuzzyContextWindow(normalizedName) {
171
171
  if (normalizedName.includes("qwen3.6") || normalizedName.includes("qwen3p6")) return QWEN_3_6_CONTEXT_WINDOW;
172
172
  if (normalizedName.includes("qwen3.7") || normalizedName.includes("qwen3p7")) return 262144;
173
173
  if (normalizedName.includes("minimax-m2") || normalizedName.includes("minimax_m2")) return 262144;
174
+ const bareModelName = (normalizedName.includes("/") ? normalizedName.slice(normalizedName.lastIndexOf("/") + 1) : normalizedName).replace(/:.*$/, "");
175
+ if (normalizedName.includes("mistral-large-4")) {
176
+ const rest = normalizedName.slice(
177
+ normalizedName.indexOf("mistral-large-4") + "mistral-large-4".length
178
+ );
179
+ if (rest === "" || /^[-:_@/\s]/.test(rest)) return 524288;
180
+ }
181
+ if (normalizedName.includes("mistral-vibe-cli") || normalizedName.includes("mistral-medium-3.5") || normalizedName.includes("mistral-medium-3-5") || normalizedName.includes("mistral-medium-latest") || normalizedName.includes("mistral-medium-2604") || normalizedName.includes("mistral-large-latest") || normalizedName.includes("mistral-large-2512") || normalizedName.includes("mistral-small-latest") || normalizedName.includes("mistral-small-2603") || normalizedName.includes("magistral-medium-latest") || normalizedName.includes("magistral-small-latest") || // 展示名(TUI 传 displayName 的路径;Mistral 不在 MODEL_LOOKUP_MAP,无法走精确表):
182
+ normalizedName.includes("mistral vibe cli") || normalizedName.includes("mistral medium 3.5") || normalizedName.includes("mistral large (latest)")) {
183
+ return 262144;
184
+ }
185
+ if (bareModelName === "mistral-medium" || bareModelName === "mistral-medium-3") return 262144;
186
+ if (normalizedName.includes("mistral-embed") || normalizedName.includes("codestral-embed")) return 8192;
187
+ if (normalizedName.includes("mistral-ocr")) return 16384;
188
+ if (normalizedName.includes("mistral-moderation")) return 131072;
189
+ if (normalizedName.includes("codestral") || normalizedName.includes("mistral-code")) return 256e3;
174
190
  if (normalizedName.includes("claude")) return 2e5;
175
191
  if (normalizedName.includes("llama3.1") || normalizedName.includes("llama-3.1") || normalizedName.includes("llama3.2") || normalizedName.includes("llama-3.2") || normalizedName.includes("llama3.3") || normalizedName.includes("llama-3.3") || normalizedName.includes("qwen2.5") || normalizedName.includes("qwen-2.5") || normalizedName.includes("mistral-nemo") || normalizedName.includes("phi3.5") || normalizedName.includes("phi-3.5") || normalizedName.includes("phi4") || normalizedName.includes("phi-4")) {
176
192
  return 131072;
@@ -4,7 +4,7 @@ import {
4
4
 
5
5
  // packages/cli/agentCommandSupport.ts
6
6
  async function getDefaultCliDb() {
7
- const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-AXJREE2T.js");
7
+ const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-VKWVOPPI.js");
8
8
  return getDefaultCliLocalRuntimeDb();
9
9
  }
10
10
  function createNullCliDb() {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-5ZUL4CUO.js";
4
4
  import {
5
5
  getModelContextWindow
6
- } from "./chunk-JNXHAQPJ.js";
6
+ } from "./chunk-LDCAFLXD.js";
7
7
  import {
8
8
  findModelConfig,
9
9
  getProviderByModelName
@@ -96,6 +96,10 @@ function preserveAgentStateFields(source, target, options) {
96
96
  }
97
97
  if (Array.isArray(source.tool_calls)) {
98
98
  mutableTarget.tool_calls = source.tool_calls;
99
+ const replayPlaceholder = options?.replayReasoningPlaceholder;
100
+ if (typeof replayPlaceholder === "string" && replayPlaceholder.length > 0 && !options?.stripReasoningContent && source.tool_calls.length > 0 && !(typeof mutableTarget.reasoning_content === "string" && mutableTarget.reasoning_content.length > 0)) {
101
+ mutableTarget.reasoning_content = replayPlaceholder;
102
+ }
99
103
  }
100
104
  }
101
105
  if (source.role === "tool") {
@@ -121,6 +125,12 @@ function shouldStripReasoningContentForOutbound(provider, model) {
121
125
  }
122
126
  return false;
123
127
  }
128
+ function shouldReplayReasoningContentForOutbound(provider, model) {
129
+ const p = provider?.trim().toLowerCase();
130
+ const m = model?.trim().toLowerCase();
131
+ if (!p || !m) return false;
132
+ return p === "opencode-go" && m.includes("deepseek");
133
+ }
124
134
 
125
135
  // packages/integrations/openai/responsesHelpers.ts
126
136
  var RESPONSES_TOP_LEVEL_SCHEMA_KEYS = ["anyOf", "oneOf", "allOf", "enum", "not"];
@@ -383,6 +393,7 @@ export {
383
393
  preserveAgentStateFields,
384
394
  toOpenAiCompatibleMessages,
385
395
  shouldStripReasoningContentForOutbound,
396
+ shouldReplayReasoningContentForOutbound,
386
397
  toResponsesTools,
387
398
  convertMessagesToResponsesInput,
388
399
  extractTextFromResponseOutput,
@@ -37,7 +37,7 @@ function resolveCliAuthorityBrokerPort(options = {}) {
37
37
  ...options,
38
38
  env: options.env ?? {}
39
39
  });
40
- return 47e3 + hashString(noloHome) % 2e3;
40
+ return 24e3 + hashString(noloHome) % 2e3;
41
41
  }
42
42
  function resolveCliAuthorityStoreDriver(options = {}) {
43
43
  return readCliAuthorityDriver(options.env ?? {}).driver;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  isImageUrlPart,
3
3
  isOllamaEndpoint
4
- } from "./chunk-PUOC4YRO.js";
4
+ } from "./chunk-M7VLQGQP.js";
5
5
  import {
6
6
  AGENT_SELECTION_PRIORITY_INSTRUCTIONS
7
7
  } from "./chunk-4YSOUKUR.js";
8
8
  import {
9
9
  getModelContextWindow
10
- } from "./chunk-JNXHAQPJ.js";
10
+ } from "./chunk-LDCAFLXD.js";
11
11
  import {
12
12
  estimateTokenCount
13
13
  } from "./chunk-PSCNXBYA.js";
@@ -2,7 +2,7 @@ import {
2
2
  getRecordTimestamp,
3
3
  isTombstoneRecord,
4
4
  shouldReplaceWithNextRecord
5
- } from "./chunk-GBRG75BQ.js";
5
+ } from "./chunk-D2MDMY2M.js";
6
6
 
7
7
  // packages/database/userDataMerge.ts
8
8
  var getUserDataItemTimestamp = (dataItem) => getRecordTimestamp(dataItem);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  patch
3
- } from "./chunk-NVRC52JS.js";
3
+ } from "./chunk-4FFUDT6D.js";
4
4
  import {
5
5
  selectCurrentServer
6
6
  } from "./chunk-NWENLDMM.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-UJXNKP5V.js";
11
11
  import {
12
12
  shouldReplaceWithNextRecord
13
- } from "./chunk-GBRG75BQ.js";
13
+ } from "./chunk-D2MDMY2M.js";
14
14
  import {
15
15
  BUILTIN_PLATFORM_AGENT_KEYS
16
16
  } from "./chunk-BNGW5ASC.js";
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-VZZUQTBR.js";
6
6
  import {
7
7
  mergeAndDedupUserData
8
- } from "./chunk-KQHGZWSV.js";
8
+ } from "./chunk-OXME3PEE.js";
9
9
  import {
10
10
  toErrorMessage
11
11
  } from "./chunk-HNMXYYJR.js";
12
12
  import {
13
13
  isTombstoneRecord
14
- } from "./chunk-GBRG75BQ.js";
14
+ } from "./chunk-D2MDMY2M.js";
15
15
 
16
16
  // packages/cli/globalRecordOperations.ts
17
17
  async function listUserRecordsFromServers(args) {
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-ESHYE7WU.js";
8
8
  import {
9
9
  getDefaultCliLocalRuntimeDb
10
- } from "./chunk-74D5HEDI.js";
10
+ } from "./chunk-FOXQ7BAB.js";
11
11
  import {
12
12
  resolveAuthTokenFromEnv
13
13
  } from "./chunk-A7GB5UGH.js";
@@ -11,7 +11,7 @@ import {
11
11
  patch,
12
12
  remove,
13
13
  write
14
- } from "./chunk-NVRC52JS.js";
14
+ } from "./chunk-4FFUDT6D.js";
15
15
  import {
16
16
  getRuntimeServerContext
17
17
  } from "./chunk-UJXNKP5V.js";
@@ -306,7 +306,7 @@ var slice = createSliceWithThunks({
306
306
  const overrides = {};
307
307
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
308
308
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
309
- const { _executeModel } = await import("./_executeModel-E64QIKWF.js");
309
+ const { _executeModel } = await import("./_executeModel-V7RANMQR.js");
310
310
  return _executeModel(
311
311
  {
312
312
  isStreaming: args.isStreaming ?? false,
@@ -327,7 +327,7 @@ var slice = createSliceWithThunks({
327
327
  * - 循环直到无工具调用或触发其他运行时停止条件
328
328
  */
329
329
  runAgent: create.asyncThunk(async (args, thunkApi) => {
330
- const { runAgentClientLoop } = await import("./runAgentClientLoop-4VOARXQF.js");
330
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-GSJ4FH6L.js");
331
331
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
332
332
  {
333
333
  agentKey: args.agentKey,
@@ -343,7 +343,7 @@ var slice = createSliceWithThunks({
343
343
  * 聊天轮次流式 Agent 调用
344
344
  */
345
345
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
346
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-VDAVK7N3.js");
346
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-IUQH52XL.js");
347
347
  return streamAgentChatTurnHandler(args, thunkApi);
348
348
  }),
349
349
  /**
@@ -18,7 +18,7 @@ import {
18
18
  import {
19
19
  getUserDataItemTimestamp,
20
20
  mergeAndDedupUserData
21
- } from "./chunk-KQHGZWSV.js";
21
+ } from "./chunk-OXME3PEE.js";
22
22
  import {
23
23
  AGENT_UPDATE_FIELD_NAMES,
24
24
  DEFAULT_AUTO_APPROVED_SELF_UPDATE_FIELDS,
@@ -34,7 +34,7 @@ import {
34
34
  readPageFunc,
35
35
  readPageFunctionSchema,
36
36
  resolvePageReadMarkdown
37
- } from "./chunk-7MTCBOOS.js";
37
+ } from "./chunk-GARACBQB.js";
38
38
  import {
39
39
  addMemberSpace,
40
40
  fetchAuthoritativeRemoteSpace,
@@ -46,7 +46,7 @@ import {
46
46
  setMembershipRejected,
47
47
  setSpaceInitialized,
48
48
  updateMemberSpaceName
49
- } from "./chunk-ROFPWC4X.js";
49
+ } from "./chunk-FJ5BGMNM.js";
50
50
  import {
51
51
  ToolApiError,
52
52
  buildToolRequestHeaders,
@@ -57,7 +57,7 @@ import {
57
57
  } from "./chunk-HP57OUJO.js";
58
58
  import {
59
59
  setDialogExtraReferencesAction
60
- } from "./chunk-PQ6BKMXB.js";
60
+ } from "./chunk-UM4PH574.js";
61
61
  import {
62
62
  waitForAbortableDelay
63
63
  } from "./chunk-N4G4PKQ6.js";
@@ -75,10 +75,10 @@ import {
75
75
  } from "./chunk-VF4K2QE6.js";
76
76
  import {
77
77
  createDocState
78
- } from "./chunk-SBFHKTI7.js";
78
+ } from "./chunk-CD7Y7F5H.js";
79
79
  import {
80
80
  createDialogAction
81
- } from "./chunk-SH7KLR4U.js";
81
+ } from "./chunk-I72JY7FP.js";
82
82
  import {
83
83
  TASK_PREVIEW_MAX,
84
84
  buildDelegatedTaskContent,
@@ -108,7 +108,7 @@ import {
108
108
  updateContentCategory,
109
109
  updateContentTitle,
110
110
  writeStoredCollapsedCategories
111
- } from "./chunk-YWLAWZYQ.js";
111
+ } from "./chunk-6RSG6HJR.js";
112
112
  import {
113
113
  getCurrentSpaceId,
114
114
  getCurrentSpaceIdRaw,
@@ -130,14 +130,14 @@ import {
130
130
  selectMsgById,
131
131
  uiAskChoiceFunc,
132
132
  uiAskChoiceFunctionSchema
133
- } from "./chunk-BS7YHAQP.js";
133
+ } from "./chunk-UWVGKNAL.js";
134
134
  import {
135
135
  createAgent,
136
136
  deleteServerSyncedCredential,
137
137
  runLlm,
138
138
  streamAgentChatTurn,
139
139
  updateAgent
140
- } from "./chunk-2LM7XUCX.js";
140
+ } from "./chunk-SPCBJGFO.js";
141
141
  import {
142
142
  getActiveDialogKey,
143
143
  selectCurrentDialogKey,
@@ -185,7 +185,7 @@ import {
185
185
  } from "./chunk-4YSOUKUR.js";
186
186
  import {
187
187
  buildDatabaseFileContentUrl
188
- } from "./chunk-WS2VEVHS.js";
188
+ } from "./chunk-7MMSLEPA.js";
189
189
  import {
190
190
  clipCompactText
191
191
  } from "./chunk-5MMAK75Q.js";
@@ -202,7 +202,7 @@ import {
202
202
  UNCATEGORIZED_ID,
203
203
  addContentAction,
204
204
  checkSpaceMembership
205
- } from "./chunk-EPCAQM3U.js";
205
+ } from "./chunk-E73ON47R.js";
206
206
  import {
207
207
  createSpaceKey,
208
208
  normalizeSpaceId
@@ -218,7 +218,7 @@ import {
218
218
  selectEntities,
219
219
  toTimestampMs,
220
220
  write
221
- } from "./chunk-NVRC52JS.js";
221
+ } from "./chunk-4FFUDT6D.js";
222
222
  import {
223
223
  canonicalizeToolName,
224
224
  canonicalizeToolNames
@@ -243,7 +243,7 @@ import {
243
243
  } from "./chunk-QSJ3HFEF.js";
244
244
  import {
245
245
  readAction
246
- } from "./chunk-RX4HD4H7.js";
246
+ } from "./chunk-PTDYOADJ.js";
247
247
  import {
248
248
  DEVICE_LOCAL_OWNER_ID,
249
249
  getRuntimeServerContext,
@@ -257,7 +257,7 @@ import {
257
257
  import {
258
258
  buildTombstoneRecord,
259
259
  isTombstoneRecord
260
- } from "./chunk-GBRG75BQ.js";
260
+ } from "./chunk-D2MDMY2M.js";
261
261
  import {
262
262
  extractCustomId
263
263
  } from "./chunk-M2EJHDJP.js";
@@ -3996,7 +3996,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3996
3996
  const deletedDialogIds = [];
3997
3997
  const deletedDialogKeys = [];
3998
3998
  const failures = [];
3999
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-M7ZWTW5D.js");
3999
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-34DUPW5Z.js");
4000
4000
  for (const target of targets) {
4001
4001
  try {
4002
4002
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -4312,7 +4312,7 @@ var readSkillDocFunctionSchema = {
4312
4312
  }
4313
4313
  };
4314
4314
  async function readSkillDocFunc(args, thunkApi) {
4315
- const { buildReadDocResult } = await import("./readDocTool-TJFCZ3ND.js");
4315
+ const { buildReadDocResult } = await import("./readDocTool-RC3JUNJ2.js");
4316
4316
  const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
4317
4317
  if (typeof id !== "string" || !id.trim()) {
4318
4318
  throw new Error("readSkillDoc requires id or doc.");
@@ -5104,7 +5104,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
5104
5104
  const spaceKey = createSpaceKey.space(spaceId);
5105
5105
  const readSpace = async (dbKey) => {
5106
5106
  try {
5107
- const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-BUB77DHH.js");
5107
+ const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-Q25STFGJ.js");
5108
5108
  if (fresh) {
5109
5109
  return await dispatch(readAndWait2(dbKey)).unwrap();
5110
5110
  }
@@ -10852,7 +10852,7 @@ var selectUserIdFromState = (state2) => {
10852
10852
  var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
10853
10853
  async function addImageContentToSpace(input) {
10854
10854
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
10855
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-DX6T34JR.js")).addContentAction;
10855
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-RBOUD7SJ.js")).addContentAction;
10856
10856
  await addContentAction2(
10857
10857
  {
10858
10858
  spaceId: input.spaceId,
@@ -14905,7 +14905,7 @@ var executeToolRun = createAsyncThunk(
14905
14905
  if (!executionInput) {
14906
14906
  throw new Error(`ToolRun ${id} has no input to execute with.`);
14907
14907
  }
14908
- const { findToolExecutor: findToolExecutor2 } = await import("./tools-VJ3L5V6D.js");
14908
+ const { findToolExecutor: findToolExecutor2 } = await import("./tools-BQKPNGWC.js");
14909
14909
  const { executor } = findToolExecutor2(run.toolName);
14910
14910
  toolRunStarted({
14911
14911
  id: run.id,
@@ -14929,7 +14929,7 @@ var executeToolRun = createAsyncThunk(
14929
14929
  const latestState = thunkApi.getState();
14930
14930
  const userId = selectIdentityUserId(latestState);
14931
14931
  if (userId) {
14932
- const { fetchUserSpaceMemberships } = await import("./memberThunks-LEUNURN2.js");
14932
+ const { fetchUserSpaceMemberships } = await import("./memberThunks-R75S3RWP.js");
14933
14933
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
14934
14934
  }
14935
14935
  }
@@ -17412,7 +17412,7 @@ async function updateDocFunc(args, thunkApi) {
17412
17412
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
17413
17413
  };
17414
17414
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
17415
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-IX7ASJUP.js");
17415
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-FAQ6XUUA.js");
17416
17416
  if (getDocState().pageKey === id) {
17417
17417
  applyExternalDocUpdate({
17418
17418
  slateData: finalSlateData,
@@ -17437,7 +17437,7 @@ async function updateDocFunc(args, thunkApi) {
17437
17437
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
17438
17438
  async function dispatchSetSettings(thunkApi, changes) {
17439
17439
  const injectedSetSettings = thunkApi?.extra?.setSettings;
17440
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-KLPZNA6L.js")).setSettings;
17440
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-2OFFBLF4.js")).setSettings;
17441
17441
  await thunkApi.dispatch(setSettings(changes)).unwrap();
17442
17442
  }
17443
17443
  var updateUserPreferenceProfileFunctionSchema = {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  listUserRecordsFromServers,
3
3
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-RJYTVNWD.js";
4
+ } from "./chunk-RS4ENQ4O.js";
5
5
  import {
6
6
  agentRecordHasConfiguredCredential
7
7
  } from "./chunk-VZZUQTBR.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  patch,
9
9
  selectById
10
- } from "./chunk-NVRC52JS.js";
10
+ } from "./chunk-4FFUDT6D.js";
11
11
 
12
12
  // packages/chat/dialog/actions/setDialogExtraReferencesAction.ts
13
13
  var setDialogExtraReferencesAction = async (extraReferences, thunkApi) => {