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.
Files changed (150) hide show
  1. package/{_executeModel-OMDET3E2.js → _executeModel-E2LL7FPO.js} +44 -43
  2. package/{action-4MADDU52.js → action-C6IQAKN4.js} +5 -5
  3. package/{addContentAction-MT4BECXT.js → addContentAction-53364YDW.js} +8 -8
  4. package/{addDialogAgentAction-ZZTJ5GBD.js → addDialogAgentAction-U5DD5EN5.js} +7 -7
  5. package/{agentDeleteCommand-5WXEECFH.js → agentDeleteCommand-ORNRRKJO.js} +59 -58
  6. package/{agentEmailCommands-3QWBB2JL.js → agentEmailCommands-2ALVFOD5.js} +60 -59
  7. package/{agentListCommands-WTEF5RKJ.js → agentListCommands-6I4NQPR4.js} +26 -25
  8. package/{agentMachineCommands-DP44GKA6.js → agentMachineCommands-PNHTIJ6A.js} +22 -21
  9. package/{agentRecordCommands-4I7P34GJ.js → agentRecordCommands-BEZPBYBM.js} +59 -58
  10. package/{agentRunCommand-VAKWFXJV.js → agentRunCommand-2T72V5KY.js} +63 -59
  11. package/{agentRunControl-5ABAIBQT.js → agentRunControl-3TIVJ3SR.js} +3 -2
  12. package/{agentRuntimeLocal-IO3GGTCJ.js → agentRuntimeLocal-3MAEFYSB.js} +18 -17
  13. package/{agentSlice-5ZSVWJHV.js → agentSlice-KOQXUPKT.js} +9 -9
  14. package/{appDeleteCommands-ZQ4ZEKTC.js → appDeleteCommands-IIOP3CZU.js} +24 -23
  15. package/{appDeployCommands-4XT7PFW5.js → appDeployCommands-S5ZNB7MA.js} +24 -23
  16. package/{appDeployStatusCommands-5RVMRYQW.js → appDeployStatusCommands-MQIGLK3T.js} +24 -23
  17. package/{appGetCommands-VH5W3RFK.js → appGetCommands-XFX4E3KR.js} +24 -23
  18. package/{appListCommands-TAHZLAL3.js → appListCommands-QR7LT4AK.js} +24 -23
  19. package/{authCommand-HBO5G6RL.js → authCommand-HKSXJT3J.js} +4 -4
  20. package/{builtinSkillRegistry-66PEOD4Y.js → builtinSkillRegistry-FVEEO4U2.js} +3 -3
  21. package/{chromeOpsCommands-AA555ANS.js → chromeOpsCommands-4UIKH26F.js} +1 -1
  22. package/{chunk-D3WOFN6N.js → chunk-223KZUJ6.js} +1 -1
  23. package/{chunk-4Z7Q4QZF.js → chunk-2RZBFJEG.js} +1014 -43
  24. package/{chunk-AX63ZU2W.js → chunk-3GGVFHWI.js} +4 -4
  25. package/{chunk-2RCMFPUZ.js → chunk-46FETNLF.js} +2 -2
  26. package/{chunk-CO6E7YK6.js → chunk-5P3PPQVP.js} +1 -1
  27. package/{chunk-KWARDHBI.js → chunk-6N4IKMTH.js} +37 -2
  28. package/{chunk-M7GMJBQJ.js → chunk-6VEO7Z3Y.js} +3 -3
  29. package/{chunk-2VYX3ZCR.js → chunk-6VNBJ7GI.js} +5 -5
  30. package/{chunk-MICGEDCN.js → chunk-7B55IVLF.js} +107 -27
  31. package/{chunk-GK772DEV.js → chunk-7BIJFGKS.js} +3 -3
  32. package/{chunk-3SEBCWLD.js → chunk-7EUJ65PF.js} +2057 -223
  33. package/{chunk-25BDZGD7.js → chunk-7JMBQ7YU.js} +2 -2
  34. package/{chunk-4GWNEPY6.js → chunk-7PTWFSZZ.js} +1 -1
  35. package/{chunk-CIAV4WK2.js → chunk-7WHCIA5V.js} +2 -2
  36. package/{chunk-KR4W72OK.js → chunk-ADUCBH4M.js} +45 -25
  37. package/{chunk-53UOBNTI.js → chunk-ADYWV732.js} +8 -8
  38. package/{chunk-WLHUANWZ.js → chunk-AIFQKNPP.js} +1 -1
  39. package/{chunk-GFXPPQZN.js → chunk-AKBNCTPY.js} +1 -1
  40. package/{chunk-3272HU62.js → chunk-APQBEIOQ.js} +1 -1
  41. package/{chunk-MW3XUUYS.js → chunk-APXC3SQO.js} +6 -6
  42. package/{chunk-52M4RYVP.js → chunk-BB76X6O4.js} +1 -1
  43. package/{chunk-HEUHCHAR.js → chunk-BD22OFDQ.js} +3 -3
  44. package/{chunk-ZAKWT4XQ.js → chunk-BD5YJJLJ.js} +3 -3
  45. package/{chunk-SID2TFMV.js → chunk-BXGU6274.js} +104 -55
  46. package/{chunk-SCY2O7CU.js → chunk-BZMDWGQQ.js} +2 -2
  47. package/{chunk-QV32GSVO.js → chunk-C63KMRJE.js} +1 -1
  48. package/{chunk-JKO32CCL.js → chunk-CBIGMWMI.js} +1 -1
  49. package/{chunk-JP2BH4NC.js → chunk-CEKRIR22.js} +1 -1
  50. package/{chunk-MR72IIX5.js → chunk-CVDJUPBN.js} +4 -4
  51. package/{chunk-6AJIU6OC.js → chunk-DCTQJDDQ.js} +3 -3
  52. package/{chunk-HS4JGZQH.js → chunk-DWES4SXY.js} +1 -1
  53. package/{chunk-D4CUS6NT.js → chunk-E4HBZDV6.js} +3 -3
  54. package/{chunk-2G3XMM3O.js → chunk-EXD7S7QW.js} +41 -5
  55. package/{chunk-YGDYYFRX.js → chunk-GYX6XTAI.js} +3 -5
  56. package/{chunk-VYRTLHIT.js → chunk-HDKMVYNJ.js} +1 -1
  57. package/chunk-HEVRQGGH.js +106 -0
  58. package/{chunk-4CL6QIQZ.js → chunk-HPDLPEUG.js} +2 -2
  59. package/{chunk-7STRX24O.js → chunk-IZHENZQ5.js} +8 -7
  60. package/{chunk-IGK4OXAO.js → chunk-JAGD4PSH.js} +499 -7
  61. package/{chunk-MCQXBKC6.js → chunk-JGVWHUYK.js} +2 -2
  62. package/{chunk-5UYDG6HP.js → chunk-JOJH3KWV.js} +26 -15
  63. package/{chunk-Z2ZCKNKX.js → chunk-JW6OURKM.js} +261 -228
  64. package/{chunk-VZCBYCHV.js → chunk-KG27JIG4.js} +2 -2
  65. package/{chunk-PTY2VZM5.js → chunk-KO5GO2BC.js} +6 -8
  66. package/{chunk-TA2JQUWA.js → chunk-KO5PFS74.js} +156 -1767
  67. package/{chunk-YW5L3XOO.js → chunk-LJ6WIQZO.js} +10 -10
  68. package/{chunk-OLS2J3WE.js → chunk-LLUBUHNT.js} +1 -1
  69. package/{chunk-IDCGMZLC.js → chunk-MD7O2NN2.js} +9 -9
  70. package/{chunk-XWR2YD4L.js → chunk-MLK3FEXG.js} +1 -1
  71. package/{chunk-KQBGXCKM.js → chunk-MNFUKRRU.js} +3 -3
  72. package/{chunk-YYHWEVBI.js → chunk-MUDMYJCM.js} +2 -2
  73. package/{chunk-NEDBPW44.js → chunk-NRUYSNSZ.js} +2 -2
  74. package/{chunk-UHW6SCVK.js → chunk-NUHQO3RB.js} +1 -1
  75. package/{chunk-CYGFNMCH.js → chunk-OKAXQFON.js} +1 -1
  76. package/{chunk-P4JX7YMQ.js → chunk-ONTHDYFU.js} +22 -2
  77. package/{chunk-PR25J652.js → chunk-PNBQ5JTA.js} +1 -1
  78. package/{chunk-K4LLTJUO.js → chunk-Q2MPKE4B.js} +5 -105
  79. package/{chunk-OMIXG25B.js → chunk-QGFLVQ6E.js} +1 -1
  80. package/{chunk-WMMKHEGQ.js → chunk-R3FZHW4Q.js} +12 -12
  81. package/{chunk-KZAT2M2V.js → chunk-RIWKZT7E.js} +22 -0
  82. package/{chunk-FRC2DNTN.js → chunk-RQKTCHQM.js} +1 -1
  83. package/{chunk-OWXOXKH7.js → chunk-SCAC3NM5.js} +2 -2
  84. package/{chunk-NXNHG3QT.js → chunk-SIHOY5YI.js} +21 -10
  85. package/{chunk-HKPIFK7F.js → chunk-TF427WGH.js} +5 -5
  86. package/{chunk-NMGG3NUB.js → chunk-U6QNVOR5.js} +1 -1
  87. package/{chunk-6WI4PFPP.js → chunk-V6S5OZSP.js} +68 -54
  88. package/{chunk-AIHNB5QH.js → chunk-VQR2ACSC.js} +6 -4
  89. package/{chunk-GJKEOBCV.js → chunk-WFEWP352.js} +10 -10
  90. package/{chunk-HEQJ5XND.js → chunk-WS36XPJD.js} +2 -2
  91. package/{chunk-MRYKRL2V.js → chunk-WSLL7VV4.js} +2 -2
  92. package/{dialogUsageCommand-3JMINURR.js → chunk-Y2TCTNUD.js} +19 -12
  93. package/{chunk-DNY33GGQ.js → chunk-YN23INFZ.js} +1 -1
  94. package/{chunk-5HUO7SEX.js → chunk-YQLAFJRQ.js} +1 -1
  95. package/{chunk-EG3JTV7H.js → chunk-Z3JZ2R5F.js} +2 -2
  96. package/{chunk-VPSPVLCM.js → chunk-ZMJMHXYX.js} +3 -3
  97. package/{chunk-W4S5FQWQ.js → chunk-ZTHAJU3O.js} +1 -1
  98. package/{cliAgentConfigHelpers-FKBPFPKR.js → cliAgentConfigHelpers-BXHQ3PXP.js} +2 -2
  99. package/{cliLocalAgentRecordReader-2WBUVRVD.js → cliLocalAgentRecordReader-Q6677YID.js} +22 -21
  100. package/{commandRegistry-DONNI3FW.js → commandRegistry-RNYUOKUE.js} +82 -78
  101. package/{contentThunks-THSXC6WQ.js → contentThunks-ZDBDDZP3.js} +20 -20
  102. package/{cooldownCommands-PT5L4LNB.js → cooldownCommands-Y4ZQQ35D.js} +1 -1
  103. package/{createAgentAutomationAction-WNQOJ4DG.js → createAgentAutomationAction-HEZ3G5L4.js} +20 -20
  104. package/{createDialogAction-YORDQFFC.js → createDialogAction-DK62W5VA.js} +21 -21
  105. package/{createPageAction-2S7V5OCW.js → createPageAction-W6NXHVKO.js} +21 -21
  106. package/{dbSlice-HXFRXGI3.js → dbSlice-RWPSVHBC.js} +7 -7
  107. package/{deleteFile-QDSZVTUJ.js → deleteFile-ECU6FU5C.js} +5 -5
  108. package/{dialogCommands-MEH4CVRL.js → dialogCommands-Z24IDINY.js} +28 -25
  109. package/{dialogNotifyCommand-JKYVSR6K.js → dialogNotifyCommand-IASQGEMW.js} +3 -3
  110. package/{dialogSlice-JOICDGQU.js → dialogSlice-62GISS77.js} +18 -18
  111. package/dialogTraceCommand-FDINAIZ6.js +961 -0
  112. package/dialogUsageCommand-WJ3U6KZU.js +27 -0
  113. package/{docCreateCommands-MVAYVGQ5.js → docCreateCommands-SXA4TMGJ.js} +23 -22
  114. package/{docDeleteCommands-TKXPRA3O.js → docDeleteCommands-ELXSZK3F.js} +24 -23
  115. package/{docReadCommands-MR2YKCZP.js → docReadCommands-DFLAQPI4.js} +23 -22
  116. package/{docStore-NKVLWCXX.js → docStore-UWF2PMCB.js} +8 -8
  117. package/{docUpdateCommands-VJ6A6F7F.js → docUpdateCommands-KB6M5HUH.js} +23 -22
  118. package/{handleSendMessageAction-SNNYOQ4P.js → handleSendMessageAction-ZV6OQPQG.js} +32 -32
  119. package/{hostCredentialCreate-SDQUFL23.js → hostCredentialCreate-3IA5IJFG.js} +59 -58
  120. package/index.js +7 -7
  121. package/{localRuntimeAdapter-JHYH5ZIR.js → localRuntimeAdapter-SSG5ORLZ.js} +58 -57
  122. package/{machineCommands-BXSBRM7L.js → machineCommands-ECFQMLHA.js} +59 -58
  123. package/{machineWsRunDispatch-KEXSHGSD.js → machineWsRunDispatch-7PROH7E7.js} +59 -58
  124. package/{mcpLocalAuthorizeCommand-Y3SOZFXT.js → mcpLocalAuthorizeCommand-RBXJDE6J.js} +2 -2
  125. package/{memberThunks-ZXEUM6DH.js → memberThunks-43B7UYC5.js} +9 -9
  126. package/package.json +1 -1
  127. package/{projectArchive-FDYE7VNC.js → projectArchive-JN43WW4E.js} +21 -21
  128. package/{read-T5WPCAY7.js → read-KG6INYUT.js} +5 -5
  129. package/{readDocTool-DW4DCRQG.js → readDocTool-N3GA52JR.js} +1 -1
  130. package/{readlineWorkspace-ME2C64XI.js → readlineWorkspace-D6EUSB2Q.js} +684 -874
  131. package/{removeDialogAgentAction-MXJEB77K.js → removeDialogAgentAction-EEVSOQOJ.js} +9 -9
  132. package/{runAgentClientLoop-UAGXVYW5.js → runAgentClientLoop-FEZTSUSJ.js} +51 -40
  133. package/{secretCommands-BXAQEOES.js → secretCommands-53NZFD4T.js} +2 -2
  134. package/{setDialogExtraReferencesAction-BILVMHM7.js → setDialogExtraReferencesAction-DNO5POHA.js} +8 -8
  135. package/{setPrimaryDialogAgentAction-CUBBWACR.js → setPrimaryDialogAgentAction-QABBEO4C.js} +9 -9
  136. package/{settingThunks-BRBBAGEK.js → settingThunks-DVKG4X4S.js} +10 -10
  137. package/{skillDiscovery-MDDKPTW3.js → skillDiscovery-5GEGWJ6N.js} +3 -3
  138. package/{spaceCommands-K4HHG7OO.js → spaceCommands-4ACQQNZL.js} +70 -25
  139. package/{streamAgentChatTurn-RZUB6JTH.js → streamAgentChatTurn-I425SVYJ.js} +62 -50
  140. package/{switchDialogAgentAction-SSI2CSNE.js → switchDialogAgentAction-KYWJSGOO.js} +7 -7
  141. package/{tableCommands-C3P2HHKK.js → tableCommands-EFA754RE.js} +2 -2
  142. package/{tools-23F5EEVM.js → tools-WBPFTSMK.js} +36 -35
  143. package/{tuiRestart-7IKI6JZK.js → tuiRestart-VN5F4GYU.js} +4 -3
  144. package/tuiSummaryLlmCaller-HROLGN4F.js +1 -1
  145. package/{updateCommands-BZ4YDHNM.js → updateCommands-VQEBBIGO.js} +3 -3
  146. package/{updateDialogTitleAction-TJWT4LXL.js → updateDialogTitleAction-VB5DTVXV.js} +20 -20
  147. package/{usageCommand-HVCMX7BG.js → usageCommand-WI6SQOPB.js} +1 -1
  148. package/{usageRebuildCommand-VMPIZ2ME.js → usageRebuildCommand-WQRLLZAT.js} +2 -2
  149. package/{windowsSelfUpdate-4BAXX7C3.js → windowsSelfUpdate-ZEZKGX4M.js} +2 -2
  150. package/lib-62SWPXNF.js +0 -21042
@@ -14,16 +14,16 @@ import {
14
14
  import {
15
15
  addContentToSpace,
16
16
  resolveCreationSpaceId
17
- } from "./chunk-YW5L3XOO.js";
17
+ } from "./chunk-LJ6WIQZO.js";
18
18
  import {
19
19
  runtime_default
20
- } from "./chunk-MICGEDCN.js";
20
+ } from "./chunk-7B55IVLF.js";
21
21
  import {
22
22
  getCurrentSpaceId
23
- } from "./chunk-DNY33GGQ.js";
23
+ } from "./chunk-YN23INFZ.js";
24
24
  import {
25
25
  write
26
- } from "./chunk-53UOBNTI.js";
26
+ } from "./chunk-ADYWV732.js";
27
27
  import {
28
28
  selectIdentityUserId
29
29
  } from "./chunk-PXYBUFDB.js";
@@ -5,11 +5,11 @@ import {
5
5
  import {
6
6
  patch,
7
7
  read
8
- } from "./chunk-53UOBNTI.js";
8
+ } from "./chunk-ADYWV732.js";
9
9
  import {
10
10
  DEVICE_LOCAL_OWNER_ID,
11
11
  isDeviceLocalSpaceBody
12
- } from "./chunk-4CL6QIQZ.js";
12
+ } from "./chunk-HPDLPEUG.js";
13
13
  import {
14
14
  selectIdentityUserId
15
15
  } from "./chunk-PXYBUFDB.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BUILTIN_NOLO_AGENT_KEY
3
- } from "./chunk-KZAT2M2V.js";
3
+ } from "./chunk-RIWKZT7E.js";
4
4
 
5
5
  // packages/core/init.ts
6
6
  var nolotusId = "0e95801d90";
@@ -166,6 +166,7 @@ function mintTaskId(pid) {
166
166
  var ProcessRegistry = class {
167
167
  processes = /* @__PURE__ */ new Map();
168
168
  byTaskId = /* @__PURE__ */ new Map();
169
+ liveOutputs = /* @__PURE__ */ new Map();
169
170
  eventLog;
170
171
  terminalListeners = /* @__PURE__ */ new Set();
171
172
  backgroundListeners = /* @__PURE__ */ new Set();
@@ -233,6 +234,12 @@ var ProcessRegistry = class {
233
234
  transient: proc.transient ?? false,
234
235
  owner: proc.owner ?? null
235
236
  };
237
+ const existing = this.processes.get(proc.pid);
238
+ if (existing && existing.taskId !== record.taskId) {
239
+ this.byTaskId.delete(existing.taskId);
240
+ this.liveOutputs.get(existing.taskId)?.markClosed();
241
+ this.liveOutputs.delete(existing.taskId);
242
+ }
236
243
  this.processes.set(proc.pid, record);
237
244
  this.byTaskId.set(record.taskId, proc.pid);
238
245
  this.eventLog.append({ taskId: record.taskId, pid: proc.pid, type: "started" });
@@ -262,7 +269,21 @@ var ProcessRegistry = class {
262
269
  }
263
270
  getByTaskId(taskId) {
264
271
  const pid = this.byTaskId.get(taskId);
265
- return pid === void 0 ? void 0 : this.get(pid);
272
+ if (pid === void 0) return void 0;
273
+ const item = this.processes.get(pid);
274
+ if (!item || item.taskId !== taskId) return void 0;
275
+ return { ...item };
276
+ }
277
+ /**
278
+ * Attach a live stdout/stderr output handle to a tracked task (kept outside
279
+ * RegisteredProcess so list()/get() clones and JSON views stay payload-free).
280
+ */
281
+ attachLiveOutput(taskId, liveOutput) {
282
+ if (!this.byTaskId.has(taskId)) return;
283
+ this.liveOutputs.set(taskId, liveOutput);
284
+ }
285
+ getLiveOutput(taskId) {
286
+ return this.liveOutputs.get(taskId);
266
287
  }
267
288
  /** Append-only lifecycle events of a task with `seq > cursor` (ascending). */
268
289
  getTaskEvents(taskId, cursor = 0) {
@@ -324,6 +345,7 @@ var ProcessRegistry = class {
324
345
  }
325
346
  item.status = "stopped";
326
347
  item.endedAt = Date.now();
348
+ this.liveOutputs.get(item.taskId)?.markClosed();
327
349
  if (!item.transient) this.emitBackgroundChange();
328
350
  this.eventLog.append({ taskId: item.taskId, pid, type: "killed" });
329
351
  this.emitTerminal({
@@ -356,6 +378,7 @@ var ProcessRegistry = class {
356
378
  }
357
379
  item.status = "stopped";
358
380
  item.endedAt = Date.now();
381
+ this.liveOutputs.get(item.taskId)?.markClosed();
359
382
  if (!item.transient) this.emitBackgroundChange();
360
383
  this.eventLog.append({ taskId: item.taskId, pid: item.pid, type: "killed" });
361
384
  this.emitTerminal({
@@ -369,13 +392,17 @@ var ProcessRegistry = class {
369
392
  }
370
393
  }
371
394
  }
372
- markExited(pid, exitCode, resultCapsule) {
395
+ markExited(pid, exitCode, resultCapsule, expectedTaskId) {
373
396
  const item = this.processes.get(pid);
397
+ if (expectedTaskId !== void 0 && item !== void 0 && item.taskId !== expectedTaskId) {
398
+ return;
399
+ }
374
400
  if (item && item.status === "running") {
375
401
  item.exitCode = exitCode;
376
402
  if (resultCapsule) item.resultCapsule = resultCapsule;
377
403
  item.status = exitCode === 0 ? "exited" : "failed";
378
404
  item.endedAt = Date.now();
405
+ this.liveOutputs.get(item.taskId)?.markClosed();
379
406
  if (!item.transient) this.emitBackgroundChange();
380
407
  this.eventLog.append({
381
408
  taskId: item.taskId,
@@ -406,6 +433,8 @@ var ProcessRegistry = class {
406
433
  const item = this.processes.get(pid);
407
434
  if (!item || item.promoted) return;
408
435
  this.eventLog.append({ taskId: item.taskId, pid, type: "exited", exitCode });
436
+ this.liveOutputs.get(item.taskId)?.markClosed();
437
+ this.liveOutputs.delete(item.taskId);
409
438
  this.processes.delete(pid);
410
439
  this.byTaskId.delete(item.taskId);
411
440
  }
@@ -413,12 +442,18 @@ var ProcessRegistry = class {
413
442
  remove(pid) {
414
443
  const item = this.processes.get(pid);
415
444
  if (!item) return false;
445
+ this.liveOutputs.get(item.taskId)?.markClosed();
446
+ this.liveOutputs.delete(item.taskId);
416
447
  this.processes.delete(pid);
417
448
  this.byTaskId.delete(item.taskId);
418
449
  if (!item.transient) this.emitBackgroundChange();
419
450
  return true;
420
451
  }
421
452
  clear() {
453
+ for (const liveOutput of this.liveOutputs.values()) {
454
+ liveOutput.markClosed();
455
+ }
456
+ this.liveOutputs.clear();
422
457
  this.processes.clear();
423
458
  this.byTaskId.clear();
424
459
  this.eventLog.clear();
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  selectCurrentServer
3
- } from "./chunk-SCY2O7CU.js";
3
+ } from "./chunk-BZMDWGQQ.js";
4
4
  import {
5
5
  patch
6
- } from "./chunk-53UOBNTI.js";
6
+ } from "./chunk-ADYWV732.js";
7
7
  import {
8
8
  getIsDesktopApp
9
- } from "./chunk-VYRTLHIT.js";
9
+ } from "./chunk-HDKMVYNJ.js";
10
10
  import {
11
11
  selectIdentityToken
12
12
  } from "./chunk-PXYBUFDB.js";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  applyPublicAgentCatalogOverride
3
- } from "./chunk-D3WOFN6N.js";
3
+ } from "./chunk-223KZUJ6.js";
4
4
  import {
5
5
  applyBuiltinAgentRuntimeOverride,
6
6
  resolveBuiltinPlatformAgentConfig
7
- } from "./chunk-JP2BH4NC.js";
7
+ } from "./chunk-CEKRIR22.js";
8
8
  import {
9
9
  buildLocalAgentLookupKeys
10
- } from "./chunk-JKO32CCL.js";
10
+ } from "./chunk-CBIGMWMI.js";
11
11
  import {
12
12
  localDialogMessageRecordToRuntimeMessage,
13
13
  orderDialogHistory
14
- } from "./chunk-3SEBCWLD.js";
14
+ } from "./chunk-7EUJ65PF.js";
15
15
  import {
16
16
  resolveAgentRuntimeConfigFromRecord
17
- } from "./chunk-XWR2YD4L.js";
17
+ } from "./chunk-MLK3FEXG.js";
18
18
  import {
19
19
  dialogMessagePrefix,
20
20
  dialogMessageRange
@@ -1,19 +1,19 @@
1
- import {
2
- LOCAL_USER_ID
3
- } from "./chunk-TZXPT53C.js";
4
1
  import {
5
2
  applyTokenUsageToDayStats,
6
3
  require_format
7
4
  } from "./chunk-BUDVRYES.js";
5
+ import {
6
+ LOCAL_USER_ID
7
+ } from "./chunk-TZXPT53C.js";
8
8
  import {
9
9
  BUILTIN_SUMMARY_LLM_CONFIG
10
10
  } from "./chunk-523DITKR.js";
11
11
  import {
12
12
  runLlm
13
- } from "./chunk-IDCGMZLC.js";
13
+ } from "./chunk-MD7O2NN2.js";
14
14
  import {
15
15
  cleanupCliSessionForDialog
16
- } from "./chunk-M7GMJBQJ.js";
16
+ } from "./chunk-6VEO7Z3Y.js";
17
17
  import {
18
18
  getActiveDialogAgentId,
19
19
  getDialogAgentIds,
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-5RGU3J7P.js";
22
22
  import {
23
23
  addContentAction
24
- } from "./chunk-2RCMFPUZ.js";
24
+ } from "./chunk-46FETNLF.js";
25
25
  import {
26
26
  patch,
27
27
  read,
@@ -29,7 +29,7 @@ import {
29
29
  selectById,
30
30
  upload,
31
31
  write
32
- } from "./chunk-53UOBNTI.js";
32
+ } from "./chunk-ADYWV732.js";
33
33
  import {
34
34
  fetchMessages
35
35
  } from "./chunk-HXER7YJF.js";
@@ -66,19 +66,19 @@ import {
66
66
  resolveUserAuthorityServer,
67
67
  scheduleDeleteReplication,
68
68
  waitForWriteAck
69
- } from "./chunk-4CL6QIQZ.js";
69
+ } from "./chunk-HPDLPEUG.js";
70
70
  import {
71
71
  asyncThunkCreator,
72
72
  buildCreateSlice,
73
73
  createAsyncThunk,
74
74
  createEntityAdapter,
75
75
  createSelector
76
- } from "./chunk-W4S5FQWQ.js";
76
+ } from "./chunk-ZTHAJU3O.js";
77
77
  import {
78
78
  googleSessionRequestToken,
79
79
  isGoogleAuthoritySession,
80
80
  normalizeTimeFields
81
- } from "./chunk-VYRTLHIT.js";
81
+ } from "./chunk-HDKMVYNJ.js";
82
82
  import {
83
83
  createClientLogger
84
84
  } from "./chunk-QQ56R7KS.js";
@@ -90,7 +90,7 @@ import {
90
90
  import {
91
91
  applyBuiltinAgentRuntimeOverride,
92
92
  resolveBuiltinPlatformAgentRecord
93
- } from "./chunk-JP2BH4NC.js";
93
+ } from "./chunk-CEKRIR22.js";
94
94
  import {
95
95
  DEFAULT_AUTO_EXECUTION_PROFILE,
96
96
  EMPTY_ASSISTANT_FALLBACK_MESSAGE,
@@ -105,7 +105,7 @@ import {
105
105
  isCodexOAuthAgent,
106
106
  normalizeAttachmentPart,
107
107
  resolveAutoExecutionProfile
108
- } from "./chunk-CIAV4WK2.js";
108
+ } from "./chunk-7WHCIA5V.js";
109
109
  import {
110
110
  isDevinOAuthAgent
111
111
  } from "./chunk-5ZUL4CUO.js";
@@ -146,7 +146,7 @@ import {
146
146
  } from "./chunk-BV3FLP2L.js";
147
147
  import {
148
148
  nolotusId
149
- } from "./chunk-CO6E7YK6.js";
149
+ } from "./chunk-5P3PPQVP.js";
150
150
  import {
151
151
  buildDialogAgentListIndexDeleteOps,
152
152
  createKey,
@@ -159,7 +159,7 @@ import {
159
159
  } from "./chunk-OJKUU3LP.js";
160
160
  import {
161
161
  isBuiltinPlatformAgentKey
162
- } from "./chunk-KZAT2M2V.js";
162
+ } from "./chunk-RIWKZT7E.js";
163
163
  import {
164
164
  extractCustomId,
165
165
  extractUserId
@@ -10398,6 +10398,26 @@ var space_locale_default = {
10398
10398
  uploadFailed: "Upload failed",
10399
10399
  uploadPartial: "{{succeeded}} uploaded, {{failed}} failed",
10400
10400
  retry: "Retry",
10401
+ epub_loading: "Opening book...",
10402
+ epub_reader_label: "EPUB reader: {{name}}",
10403
+ epub_toc: "Table of contents",
10404
+ epub_prev: "Previous",
10405
+ epub_next: "Next",
10406
+ epub_chapter_fallback: "Chapter {{n}}",
10407
+ epub_chapter_of: "Chapter {{current}} / {{total}}",
10408
+ epub_progress_label: "Reading progress",
10409
+ epub_error_title: "Cannot open this book",
10410
+ epub_error_fetch: "The file could not be downloaded. Check your connection and try again.",
10411
+ epub_error_invalid_zip: "This file is not a valid EPUB package (it cannot be unzipped).",
10412
+ epub_error_missing_container: "This EPUB is damaged: META-INF/container.xml is missing.",
10413
+ epub_error_missing_opf: "This EPUB is damaged: the package (OPF) file is missing.",
10414
+ epub_error_invalid_opf: "This EPUB is damaged: the package (OPF) file cannot be parsed.",
10415
+ epub_error_encrypted: "This EPUB is protected by DRM encryption and cannot be read here.",
10416
+ epub_error_empty_spine: "This EPUB has no readable chapters.",
10417
+ epub_error_missing_chapter: "This chapter is missing from the EPUB package.",
10418
+ epub_error_too_large: "This EPUB is too large to open here.",
10419
+ epub_error_chapter_too_large: "This chapter is too large to render.",
10420
+ epub_links_hint: "Links inside the book are not clickable; use the table of contents.",
10401
10421
  uploadFile: "Upload File",
10402
10422
  uploading: "Uploading...",
10403
10423
  selectionCount: "Selected {{count}}",
@@ -10737,6 +10757,26 @@ var space_locale_default = {
10737
10757
  uploadFailed: "\u4E0A\u4F20\u5931\u8D25",
10738
10758
  uploadPartial: "{{succeeded}} \u4E2A\u6210\u529F\uFF0C{{failed}} \u4E2A\u5931\u8D25",
10739
10759
  retry: "\u91CD\u8BD5",
10760
+ epub_loading: "\u6B63\u5728\u6253\u5F00\u4E66\u7C4D\u2026",
10761
+ epub_reader_label: "EPUB \u9605\u8BFB\u5668\uFF1A{{name}}",
10762
+ epub_toc: "\u76EE\u5F55",
10763
+ epub_prev: "\u4E0A\u4E00\u7AE0",
10764
+ epub_next: "\u4E0B\u4E00\u7AE0",
10765
+ epub_chapter_fallback: "\u7B2C {{n}} \u7AE0",
10766
+ epub_chapter_of: "\u7B2C {{current}} / {{total}} \u7AE0",
10767
+ epub_progress_label: "\u9605\u8BFB\u8FDB\u5EA6",
10768
+ epub_error_title: "\u65E0\u6CD5\u6253\u5F00\u8FD9\u672C\u4E66",
10769
+ epub_error_fetch: "\u6587\u4EF6\u4E0B\u8F7D\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u540E\u91CD\u8BD5\u3002",
10770
+ epub_error_invalid_zip: "\u8FD9\u4E0D\u662F\u6709\u6548\u7684 EPUB \u6587\u4EF6\uFF08\u65E0\u6CD5\u89E3\u538B\uFF09\u3002",
10771
+ epub_error_missing_container: "EPUB \u5DF2\u635F\u574F\uFF1A\u7F3A\u5C11 META-INF/container.xml\u3002",
10772
+ epub_error_missing_opf: "EPUB \u5DF2\u635F\u574F\uFF1A\u627E\u4E0D\u5230\u5305\u63CF\u8FF0\uFF08OPF\uFF09\u6587\u4EF6\u3002",
10773
+ epub_error_invalid_opf: "EPUB \u5DF2\u635F\u574F\uFF1A\u5305\u63CF\u8FF0\uFF08OPF\uFF09\u6587\u4EF6\u65E0\u6CD5\u89E3\u6790\u3002",
10774
+ epub_error_encrypted: "\u8FD9\u672C EPUB \u5E26\u6709 DRM \u52A0\u5BC6\uFF0C\u65E0\u6CD5\u5728\u6B64\u9605\u8BFB\u3002",
10775
+ epub_error_empty_spine: "\u8FD9\u672C EPUB \u6CA1\u6709\u53EF\u9605\u8BFB\u7684\u7AE0\u8282\u3002",
10776
+ epub_error_missing_chapter: "EPUB \u5305\u5185\u7F3A\u5C11\u8BE5\u7AE0\u8282\u3002",
10777
+ epub_error_too_large: "\u8FD9\u672C EPUB \u4F53\u79EF\u8FC7\u5927\uFF0C\u65E0\u6CD5\u5728\u6B64\u6253\u5F00\u3002",
10778
+ epub_error_chapter_too_large: "\u8BE5\u7AE0\u8282\u5185\u5BB9\u8FC7\u5927\uFF0C\u65E0\u6CD5\u6E32\u67D3\u3002",
10779
+ epub_links_hint: "\u4E66\u5185\u94FE\u63A5\u6682\u4E0D\u53EF\u70B9\u51FB\uFF0C\u8BF7\u4F7F\u7528\u76EE\u5F55\u8DF3\u8F6C\u3002",
10740
10780
  uploadFile: "\u4E0A\u4F20\u6587\u4EF6",
10741
10781
  uploading: "\u4E0A\u4F20\u4E2D...",
10742
10782
  selectionCount: "\u5DF2\u9009 {{count}}",
@@ -11075,6 +11115,26 @@ var space_locale_default = {
11075
11115
  uploadFailed: "\u4E0A\u50B3\u5931\u6557",
11076
11116
  uploadPartial: "{{succeeded}} \u500B\u6210\u529F\uFF0C{{failed}} \u500B\u5931\u6557",
11077
11117
  retry: "\u91CD\u8A66",
11118
+ epub_loading: "\u6B63\u5728\u958B\u555F\u66F8\u7C4D\u2026",
11119
+ epub_reader_label: "EPUB \u95B1\u8B80\u5668\uFF1A{{name}}",
11120
+ epub_toc: "\u76EE\u9304",
11121
+ epub_prev: "\u4E0A\u4E00\u7AE0",
11122
+ epub_next: "\u4E0B\u4E00\u7AE0",
11123
+ epub_chapter_fallback: "\u7B2C {{n}} \u7AE0",
11124
+ epub_chapter_of: "\u7B2C {{current}} / {{total}} \u7AE0",
11125
+ epub_progress_label: "\u95B1\u8B80\u9032\u5EA6",
11126
+ epub_error_title: "\u7121\u6CD5\u958B\u555F\u9019\u672C\u66F8",
11127
+ epub_error_fetch: "\u6A94\u6848\u4E0B\u8F09\u5931\u6557\uFF0C\u8ACB\u6AA2\u67E5\u7DB2\u8DEF\u5F8C\u91CD\u8A66\u3002",
11128
+ epub_error_invalid_zip: "\u9019\u4E0D\u662F\u6709\u6548\u7684 EPUB \u6A94\u6848\uFF08\u7121\u6CD5\u89E3\u58D3\u7E2E\uFF09\u3002",
11129
+ epub_error_missing_container: "EPUB \u5DF2\u640D\u6BC0\uFF1A\u7F3A\u5C11 META-INF/container.xml\u3002",
11130
+ epub_error_missing_opf: "EPUB \u5DF2\u640D\u6BC0\uFF1A\u627E\u4E0D\u5230\u5957\u4EF6\u63CF\u8FF0\uFF08OPF\uFF09\u6A94\u6848\u3002",
11131
+ epub_error_invalid_opf: "EPUB \u5DF2\u640D\u6BC0\uFF1A\u5957\u4EF6\u63CF\u8FF0\uFF08OPF\uFF09\u6A94\u6848\u7121\u6CD5\u89E3\u6790\u3002",
11132
+ epub_error_encrypted: "\u9019\u672C EPUB \u5E36\u6709 DRM \u52A0\u5BC6\uFF0C\u7121\u6CD5\u5728\u6B64\u95B1\u8B80\u3002",
11133
+ epub_error_empty_spine: "\u9019\u672C EPUB \u6C92\u6709\u53EF\u95B1\u8B80\u7684\u7AE0\u7BC0\u3002",
11134
+ epub_error_missing_chapter: "EPUB \u5957\u4EF6\u5167\u7F3A\u5C11\u8A72\u7AE0\u7BC0\u3002",
11135
+ epub_error_too_large: "\u9019\u672C EPUB \u9AD4\u7A4D\u904E\u5927\uFF0C\u7121\u6CD5\u5728\u6B64\u958B\u555F\u3002",
11136
+ epub_error_chapter_too_large: "\u8A72\u7AE0\u7BC0\u5167\u5BB9\u904E\u5927\uFF0C\u7121\u6CD5\u6E32\u67D3\u3002",
11137
+ epub_links_hint: "\u66F8\u5167\u9023\u7D50\u66AB\u4E0D\u53EF\u9EDE\u64CA\uFF0C\u8ACB\u4F7F\u7528\u76EE\u9304\u8DF3\u8F49\u3002",
11078
11138
  uploadFile: "\u4E0A\u50B3\u6A94\u6848",
11079
11139
  uploading: "\u4E0A\u50B3\u4E2D...",
11080
11140
  selectionCount: "\u5DF2\u9078 {{count}}",
@@ -11415,6 +11475,26 @@ var space_locale_default = {
11415
11475
  uploadFailed: "\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u5931\u6557",
11416
11476
  uploadPartial: "{{succeeded}} \u4EF6\u6210\u529F\u3001{{failed}} \u4EF6\u5931\u6557",
11417
11477
  retry: "\u518D\u8A66\u884C",
11478
+ epub_loading: "\u672C\u3092\u958B\u3044\u3066\u3044\u307E\u3059\u2026",
11479
+ epub_reader_label: "EPUB \u30EA\u30FC\u30C0\u30FC\uFF1A{{name}}",
11480
+ epub_toc: "\u76EE\u6B21",
11481
+ epub_prev: "\u524D\u306E\u7AE0",
11482
+ epub_next: "\u6B21\u306E\u7AE0",
11483
+ epub_chapter_fallback: "\u7B2C {{n}} \u7AE0",
11484
+ epub_chapter_of: "\u7B2C {{current}} / {{total}} \u7AE0",
11485
+ epub_progress_label: "\u8AAD\u66F8\u306E\u9032\u6357",
11486
+ epub_error_title: "\u3053\u306E\u672C\u3092\u958B\u3051\u307E\u305B\u3093",
11487
+ epub_error_fetch: "\u30D5\u30A1\u30A4\u30EB\u3092\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u63A5\u7D9A\u3092\u78BA\u8A8D\u3057\u3066\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
11488
+ epub_error_invalid_zip: "\u6709\u52B9\u306A EPUB \u30D5\u30A1\u30A4\u30EB\u3067\u306F\u3042\u308A\u307E\u305B\u3093\uFF08\u5C55\u958B\u3067\u304D\u307E\u305B\u3093\uFF09\u3002",
11489
+ epub_error_missing_container: "EPUB \u304C\u7834\u640D\u3057\u3066\u3044\u307E\u3059\uFF1AMETA-INF/container.xml \u304C\u3042\u308A\u307E\u305B\u3093\u3002",
11490
+ epub_error_missing_opf: "EPUB \u304C\u7834\u640D\u3057\u3066\u3044\u307E\u3059\uFF1A\u30D1\u30C3\u30B1\u30FC\u30B8\uFF08OPF\uFF09\u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",
11491
+ epub_error_invalid_opf: "EPUB \u304C\u7834\u640D\u3057\u3066\u3044\u307E\u3059\uFF1A\u30D1\u30C3\u30B1\u30FC\u30B8\uFF08OPF\uFF09\u30D5\u30A1\u30A4\u30EB\u3092\u89E3\u6790\u3067\u304D\u307E\u305B\u3093\u3002",
11492
+ epub_error_encrypted: "\u3053\u306E EPUB \u306F DRM \u3067\u6697\u53F7\u5316\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u3053\u3053\u3067\u306F\u8AAD\u3081\u307E\u305B\u3093\u3002",
11493
+ epub_error_empty_spine: "\u3053\u306E EPUB \u306B\u306F\u8AAD\u3081\u308B\u7AE0\u304C\u3042\u308A\u307E\u305B\u3093\u3002",
11494
+ epub_error_missing_chapter: "\u3053\u306E\u7AE0\u306F EPUB \u30D1\u30C3\u30B1\u30FC\u30B8\u5185\u306B\u3042\u308A\u307E\u305B\u3093\u3002",
11495
+ epub_error_too_large: "\u3053\u306E EPUB \u306F\u5927\u304D\u3059\u304E\u308B\u305F\u3081\u3001\u3053\u3053\u3067\u306F\u958B\u3051\u307E\u305B\u3093\u3002",
11496
+ epub_error_chapter_too_large: "\u3053\u306E\u7AE0\u306F\u5927\u304D\u3059\u304E\u3066\u8868\u793A\u3067\u304D\u307E\u305B\u3093\u3002",
11497
+ epub_links_hint: "\u672C\u6587\u5185\u306E\u30EA\u30F3\u30AF\u306F\u73FE\u5728\u30AF\u30EA\u30C3\u30AF\u3067\u304D\u307E\u305B\u3093\u3002\u76EE\u6B21\u304B\u3089\u79FB\u52D5\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
11418
11498
  uploadFile: "\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9",
11419
11499
  uploading: "\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u4E2D...",
11420
11500
  selectionCount: "\u9078\u629E\u6E08\u307F {{count}}",
@@ -15192,7 +15272,7 @@ var messageSlice = createSliceWithThunks({
15192
15272
  runtimeOptions: args.runtimeOptions
15193
15273
  });
15194
15274
  if (agentKeyToUse) {
15195
- const { streamAgentChatTurn } = await import("./agentSlice-5ZSVWJHV.js");
15275
+ const { streamAgentChatTurn } = await import("./agentSlice-KOQXUPKT.js");
15196
15276
  await dispatch(
15197
15277
  streamAgentChatTurn({
15198
15278
  agentKey: agentKeyToUse,
@@ -16276,7 +16356,7 @@ var deleteOwnedDialogAttachments = async (args) => {
16276
16356
  metadataReadFailures
16277
16357
  });
16278
16358
  if (!plan.deleteCandidates.length) return plan;
16279
- const { deleteFileAction } = await import("./deleteFile-QDSZVTUJ.js");
16359
+ const { deleteFileAction } = await import("./deleteFile-ECU6FU5C.js");
16280
16360
  for (const candidate of plan.deleteCandidates) {
16281
16361
  if (candidate.fileDbKey) {
16282
16362
  await deleteFileAction(candidate.fileDbKey, args.thunkApi);
@@ -16338,7 +16418,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
16338
16418
  }
16339
16419
  if (isCurrentDialog) {
16340
16420
  await thunkApi.dispatch(resetMsgs());
16341
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-JOICDGQU.js");
16421
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-62GISS77.js");
16342
16422
  dispatch(clearPendingAttachments2());
16343
16423
  }
16344
16424
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -16346,39 +16426,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
16346
16426
 
16347
16427
  // packages/chat/dialog/dialogSlice.ts
16348
16428
  var runCreateDialogAction = async (args, thunkApi) => {
16349
- const { createDialogAction } = await import("./createDialogAction-YORDQFFC.js");
16429
+ const { createDialogAction } = await import("./createDialogAction-DK62W5VA.js");
16350
16430
  return createDialogAction(args, thunkApi);
16351
16431
  };
16352
16432
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
16353
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-WNQOJ4DG.js");
16433
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-HEZ3G5L4.js");
16354
16434
  return createAgentAutomationAction(args, thunkApi);
16355
16435
  };
16356
16436
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
16357
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-TJWT4LXL.js");
16437
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-VB5DTVXV.js");
16358
16438
  return updateDialogTitleAction(args, thunkApi);
16359
16439
  };
16360
16440
  var runAddDialogAgentAction = async (args, thunkApi) => {
16361
- const { addDialogAgentAction } = await import("./addDialogAgentAction-ZZTJ5GBD.js");
16441
+ const { addDialogAgentAction } = await import("./addDialogAgentAction-U5DD5EN5.js");
16362
16442
  return addDialogAgentAction(args, thunkApi);
16363
16443
  };
16364
16444
  var runRemoveDialogAgentAction = async (args, thunkApi) => {
16365
- const { removeDialogAgentAction } = await import("./removeDialogAgentAction-MXJEB77K.js");
16445
+ const { removeDialogAgentAction } = await import("./removeDialogAgentAction-EEVSOQOJ.js");
16366
16446
  return removeDialogAgentAction(args, thunkApi);
16367
16447
  };
16368
16448
  var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
16369
- const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-CUBBWACR.js");
16449
+ const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-QABBEO4C.js");
16370
16450
  return setPrimaryDialogAgentAction(args, thunkApi);
16371
16451
  };
16372
16452
  var runSwitchDialogAgentAction = async (args, thunkApi) => {
16373
- const { switchDialogAgentAction } = await import("./switchDialogAgentAction-SSI2CSNE.js");
16453
+ const { switchDialogAgentAction } = await import("./switchDialogAgentAction-KYWJSGOO.js");
16374
16454
  return switchDialogAgentAction(args, thunkApi);
16375
16455
  };
16376
16456
  var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
16377
- const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-BILVMHM7.js");
16457
+ const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-DNO5POHA.js");
16378
16458
  return setDialogExtraReferencesAction(args, thunkApi);
16379
16459
  };
16380
16460
  var runHandleSendMessageAction = async (args, thunkApi) => {
16381
- const { handleSendMessageAction } = await import("./handleSendMessageAction-SNNYOQ4P.js");
16461
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-ZV6OQPQG.js");
16382
16462
  return handleSendMessageAction(args, thunkApi);
16383
16463
  };
16384
16464
  function clearDialogState() {
@@ -16391,7 +16471,7 @@ var createPageAndAddReference = createAsyncThunk(
16391
16471
  async (payload, { dispatch, getState, rejectWithValue }) => {
16392
16472
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
16393
16473
  try {
16394
- const { createDocState } = await import("./docStore-NKVLWCXX.js");
16474
+ const { createDocState } = await import("./docStore-UWF2PMCB.js");
16395
16475
  const pageKey = await createDocState(
16396
16476
  { slateData, title },
16397
16477
  { dispatch, getState }
@@ -7,7 +7,7 @@ import {
7
7
  scheduleExistingRecordReplication,
8
8
  shouldReplaceLocalWithRemoteRecord,
9
9
  shouldReplicateLocalRecord
10
- } from "./chunk-4CL6QIQZ.js";
10
+ } from "./chunk-HPDLPEUG.js";
11
11
  import {
12
12
  fetchFromClientDb,
13
13
  fetchFromServer,
@@ -16,7 +16,7 @@ import {
16
16
  isReadTimeoutError,
17
17
  logger,
18
18
  scopeGoogleSessionServers
19
- } from "./chunk-VYRTLHIT.js";
19
+ } from "./chunk-HDKMVYNJ.js";
20
20
  import {
21
21
  isAbortError
22
22
  } from "./chunk-7DPNBQSV.js";
@@ -26,7 +26,7 @@ import {
26
26
  import {
27
27
  isBuiltinPlatformAgentKey,
28
28
  isPublicBuiltinPlatformAgentKey
29
- } from "./chunk-KZAT2M2V.js";
29
+ } from "./chunk-RIWKZT7E.js";
30
30
  import {
31
31
  NOLO_CLUSTER_SERVERS,
32
32
  normalizeKnownServerOrigin