nolo-cli 0.98.0-alpha.2 → 0.98.0-alpha.4

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 (58) hide show
  1. package/{_executeModel-MA3D2J4W.js → _executeModel-HYZ4NXRJ.js} +10 -10
  2. package/{agentDeleteCommand-FHUJH5X4.js → agentDeleteCommand-2YAHAZFJ.js} +2 -2
  3. package/{agentEmailCommands-RE2E7J5U.js → agentEmailCommands-SLEQANTK.js} +11 -11
  4. package/{agentListCommands-GATRXEMT.js → agentListCommands-KMS675GZ.js} +3 -3
  5. package/{agentMachineCommands-WAB65VQQ.js → agentMachineCommands-KBI77S35.js} +2 -2
  6. package/{agentRecordCommands-J5OBRSAV.js → agentRecordCommands-IPPPUHG4.js} +11 -11
  7. package/{agentRunCommand-VUSTQP4Z.js → agentRunCommand-24XO4RDT.js} +11 -11
  8. package/{agentRunControl-WCTKX5VL.js → agentRunControl-AVJR4JW4.js} +1 -1
  9. package/{agentSlice-65ETD734.js → agentSlice-ZOYISPZD.js} +1 -1
  10. package/{appDeleteCommands-PDZ7HQYH.js → appDeleteCommands-32MHLR4L.js} +3 -3
  11. package/{appDeployCommands-KLLW32YA.js → appDeployCommands-WCQOUSOB.js} +3 -3
  12. package/{appDeployStatusCommands-IPNJ445T.js → appDeployStatusCommands-6QKB7DYN.js} +3 -3
  13. package/{appGetCommands-QA57XGXS.js → appGetCommands-SFAPP5PB.js} +3 -3
  14. package/{appListCommands-YBTAUFZS.js → appListCommands-EKUBDRUO.js} +3 -3
  15. package/{chatQueueReduxAdapter-5QOW43T4.js → chatQueueReduxAdapter-PMAMSHG7.js} +2 -2
  16. package/{chunk-PELKTR62.js → chunk-2D66PZ54.js} +5 -5
  17. package/{chunk-D2QT5FW4.js → chunk-34BLIAHQ.js} +1 -1
  18. package/{chunk-FUUHG5LT.js → chunk-37NKTC3Q.js} +1 -1
  19. package/{chunk-677AH2IM.js → chunk-5ZYCLPXL.js} +6 -6
  20. package/{chunk-TDRTS7QW.js → chunk-6IG4XSS6.js} +2 -2
  21. package/{chunk-76WEAXJB.js → chunk-AEOE4Z6Q.js} +7 -2
  22. package/{chunk-PY5D7R4Z.js → chunk-AJ3A3445.js} +5 -5
  23. package/{chunk-QIAVMDHY.js → chunk-ETI2NYVF.js} +1 -1
  24. package/{chunk-FSX24MR3.js → chunk-G4EBXCWF.js} +8 -8
  25. package/{chunk-BLJWCTRL.js → chunk-GEPUP7OO.js} +1 -1
  26. package/{chunk-WGR3J4Q6.js → chunk-I3TQJXQ7.js} +8 -2
  27. package/{chunk-TVYSVSA2.js → chunk-ITM7D3UQ.js} +3 -3
  28. package/{chunk-YQTQQX2H.js → chunk-NA35QHCF.js} +1 -1
  29. package/{chunk-DHDVZFNC.js → chunk-OCSGDPAT.js} +12 -12
  30. package/{chunk-SNPMM7H3.js → chunk-OEVAY4J6.js} +1 -1
  31. package/{chunk-GABFWSOQ.js → chunk-PDIBG2WC.js} +3 -3
  32. package/{chunk-N2WELJE7.js → chunk-PKUGW3X6.js} +2 -2
  33. package/{chunk-GZBATRJA.js → chunk-T37GTQYU.js} +2 -2
  34. package/{chunk-D4T5RT5D.js → chunk-V7BKTIF6.js} +2 -2
  35. package/{chunk-C26JRUFH.js → chunk-XDJFSBVV.js} +2 -2
  36. package/{chunk-AD2L6YCC.js → chunk-YRPASJCG.js} +2 -2
  37. package/{contentThunks-Y6FA2TCW.js → contentThunks-G55OKUFE.js} +3 -3
  38. package/{createAgentAutomationAction-JXAFQO5V.js → createAgentAutomationAction-D2J2O5GS.js} +3 -3
  39. package/{createDialogAction-O2QABXZF.js → createDialogAction-E2EVICIE.js} +4 -4
  40. package/{createPageAction-GUQDPKO5.js → createPageAction-FHZBN7DJ.js} +3 -3
  41. package/{dialogCommands-JJDASFIL.js → dialogCommands-5J56DFWN.js} +3 -3
  42. package/{dialogSlice-J2YJNE6E.js → dialogSlice-D4V3HURH.js} +2 -2
  43. package/{docCreateCommands-OB3X3EQM.js → docCreateCommands-KYI2DC2U.js} +2 -2
  44. package/{docDeleteCommands-WMHRGF22.js → docDeleteCommands-67REUSRY.js} +3 -3
  45. package/{docReadCommands-NWGGLIAZ.js → docReadCommands-HOSVSBDJ.js} +2 -2
  46. package/{docStore-6KKYKAGQ.js → docStore-5LROPEEP.js} +1 -1
  47. package/{docUpdateCommands-3DDSOLPS.js → docUpdateCommands-EMGCSMXY.js} +2 -2
  48. package/{handleSendMessageAction-A4XLEEPU.js → handleSendMessageAction-QBPDYSLZ.js} +2 -2
  49. package/index.js +46 -46
  50. package/{machineCommands-QWDAUIRP.js → machineCommands-4ISPVTPN.js} +10 -10
  51. package/{machineWsRunDispatch-S2SMIDWM.js → machineWsRunDispatch-L4MKXQAO.js} +10 -10
  52. package/package.json +1 -1
  53. package/{readlineWorkspace-3VZDKUXT.js → readlineWorkspace-JFADM567.js} +14 -14
  54. package/{runAgentClientLoop-ADZRHNG6.js → runAgentClientLoop-JFFIFP7N.js} +8 -8
  55. package/{spaceCommands-E7MQ4VU2.js → spaceCommands-NKJVJCQQ.js} +2 -2
  56. package/{streamAgentChatTurn-TUP7YO3H.js → streamAgentChatTurn-HFVTDCFD.js} +9 -9
  57. package/{tools-2VDNDFET.js → tools-BBBCUOUZ.js} +6 -6
  58. package/{updateDialogTitleAction-KSWXWWFT.js → updateDialogTitleAction-PER2C6MR.js} +3 -3
@@ -81,10 +81,10 @@ import {
81
81
  } from "./chunk-VF4K2QE6.js";
82
82
  import {
83
83
  createDocState
84
- } from "./chunk-GZBATRJA.js";
84
+ } from "./chunk-T37GTQYU.js";
85
85
  import {
86
86
  createDialogAction
87
- } from "./chunk-N2WELJE7.js";
87
+ } from "./chunk-PKUGW3X6.js";
88
88
  import {
89
89
  DEFAULT_COLLAPSED_CATEGORIES,
90
90
  addContentToSpace,
@@ -102,7 +102,7 @@ import {
102
102
  updateContentCategory,
103
103
  updateContentTitle,
104
104
  writeStoredCollapsedCategories
105
- } from "./chunk-D2QT5FW4.js";
105
+ } from "./chunk-34BLIAHQ.js";
106
106
  import {
107
107
  getCurrentSpaceId,
108
108
  getCurrentSpaceIdRaw,
@@ -124,14 +124,14 @@ import {
124
124
  selectMsgById,
125
125
  uiAskChoiceFunc,
126
126
  uiAskChoiceFunctionSchema
127
- } from "./chunk-DHDVZFNC.js";
127
+ } from "./chunk-OCSGDPAT.js";
128
128
  import {
129
129
  createAgent,
130
130
  deleteServerSyncedCredential,
131
131
  runLlm,
132
132
  streamAgentChatTurn,
133
133
  updateAgent
134
- } from "./chunk-TVYSVSA2.js";
134
+ } from "./chunk-ITM7D3UQ.js";
135
135
  import {
136
136
  getActiveDialogKey,
137
137
  selectCurrentDialogKey,
@@ -3945,7 +3945,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3945
3945
  const deletedDialogIds = [];
3946
3946
  const deletedDialogKeys = [];
3947
3947
  const failures = [];
3948
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-J2YJNE6E.js");
3948
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-D4V3HURH.js");
3949
3949
  for (const target of targets) {
3950
3950
  try {
3951
3951
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -14906,7 +14906,7 @@ var executeToolRun = createAsyncThunk(
14906
14906
  if (!executionInput) {
14907
14907
  throw new Error(`ToolRun ${id} has no input to execute with.`);
14908
14908
  }
14909
- const { findToolExecutor: findToolExecutor2 } = await import("./tools-2VDNDFET.js");
14909
+ const { findToolExecutor: findToolExecutor2 } = await import("./tools-BBBCUOUZ.js");
14910
14910
  const { executor } = findToolExecutor2(run.toolName);
14911
14911
  toolRunStarted({
14912
14912
  id: run.id,
@@ -17413,7 +17413,7 @@ async function updateDocFunc(args, thunkApi) {
17413
17413
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
17414
17414
  };
17415
17415
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
17416
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-6KKYKAGQ.js");
17416
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-5LROPEEP.js");
17417
17417
  if (getDocState().pageKey === id) {
17418
17418
  applyExternalDocUpdate({
17419
17419
  slateData: finalSlateData,
@@ -2,7 +2,7 @@ import {
2
2
  deleteDbRecord,
3
3
  queryUserRecords,
4
4
  readDbRecord
5
- } from "./chunk-76WEAXJB.js";
5
+ } from "./chunk-AEOE4Z6Q.js";
6
6
  import {
7
7
  mergeAndDedupUserData
8
8
  } from "./chunk-KQHGZWSV.js";
@@ -1473,14 +1473,20 @@ async function terminateRunProcess(record, initialSignal, deps) {
1473
1473
  signalGroup(initialSignal);
1474
1474
  if (initialSignal === "SIGTERM") {
1475
1475
  const deadline = nowMs() + TERMINATE_GRACE_MS;
1476
- while (!isPidGone(pid, deps) && nowMs() < deadline) {
1476
+ const maxIterations = Math.ceil(TERMINATE_GRACE_MS / TERMINATE_POLL_MS) + 1;
1477
+ let iterations = 0;
1478
+ while (!isPidGone(pid, deps) && nowMs() < deadline && iterations < maxIterations) {
1479
+ iterations += 1;
1477
1480
  await sleep(TERMINATE_POLL_MS);
1478
1481
  }
1479
1482
  }
1480
1483
  if (!isPidGone(pid, deps)) {
1481
1484
  signalGroup("SIGKILL");
1482
1485
  const killDeadline = nowMs() + TERMINATE_KILL_GRACE_MS;
1483
- while (!isPidGone(pid, deps) && nowMs() < killDeadline) {
1486
+ const maxIterations = Math.ceil(TERMINATE_KILL_GRACE_MS / TERMINATE_POLL_MS) + 1;
1487
+ let iterations = 0;
1488
+ while (!isPidGone(pid, deps) && nowMs() < killDeadline && iterations < maxIterations) {
1489
+ iterations += 1;
1484
1490
  await sleep(TERMINATE_POLL_MS);
1485
1491
  }
1486
1492
  }
@@ -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-MA3D2J4W.js");
307
+ const { _executeModel } = await import("./_executeModel-HYZ4NXRJ.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-ADZRHNG6.js");
328
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-JFFIFP7N.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-TUP7YO3H.js");
344
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-HFVTDCFD.js");
345
345
  return streamAgentChatTurnHandler(args, thunkApi);
346
346
  }),
347
347
  /**
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-QIAVMDHY.js";
3
+ } from "./chunk-ETI2NYVF.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-A7GB5UGH.js";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-AGGIDPCZ.js";
15
15
  import {
16
16
  runLlm
17
- } from "./chunk-TVYSVSA2.js";
17
+ } from "./chunk-ITM7D3UQ.js";
18
18
  import {
19
19
  cleanupCliSessionForDialog
20
20
  } from "./chunk-TOP2VXOR.js";
@@ -13738,7 +13738,7 @@ var recharge_locale_default = {
13738
13738
  recharge_page: {
13739
13739
  title: "Recharge",
13740
13740
  viewPricing: "View pricing",
13741
- channel: { online: "Online payment", transfer: "QR transfer" },
13741
+ channel: { online: "Online payment", transfer: "Manual payment" },
13742
13742
  loading: "Loading available payment methods...",
13743
13743
  noOnlineChannel: "No online payment method is available right now. Please pay by WeChat / Alipay QR transfer.",
13744
13744
  amountLabel: "Amount",
@@ -13807,7 +13807,7 @@ var recharge_locale_default = {
13807
13807
  recharge_page: {
13808
13808
  title: "\u5145\u503C",
13809
13809
  viewPricing: "\u67E5\u770B\u4EF7\u683C",
13810
- channel: { online: "\u5728\u7EBF\u652F\u4ED8", transfer: "\u626B\u7801\u8F6C\u8D26" },
13810
+ channel: { online: "\u5728\u7EBF\u652F\u4ED8", transfer: "\u4EBA\u5DE5\u6536\u6B3E" },
13811
13811
  loading: "\u6B63\u5728\u52A0\u8F7D\u53EF\u7528\u7684\u652F\u4ED8\u65B9\u5F0F...",
13812
13812
  noOnlineChannel: "\u5F53\u524D\u6CA1\u6709\u53EF\u7528\u7684\u5728\u7EBF\u652F\u4ED8\u65B9\u5F0F\uFF0C\u8BF7\u4F7F\u7528\u5FAE\u4FE1 / \u652F\u4ED8\u5B9D\u626B\u7801\u8F6C\u8D26\u3002",
13813
13813
  amountLabel: "\u5145\u503C\u989D\u5EA6",
@@ -13876,7 +13876,7 @@ var recharge_locale_default = {
13876
13876
  recharge_page: {
13877
13877
  title: "\u5132\u503C",
13878
13878
  viewPricing: "\u67E5\u770B\u50F9\u683C",
13879
- channel: { online: "\u7DDA\u4E0A\u652F\u4ED8", transfer: "\u6383\u78BC\u8F49\u5E33" },
13879
+ channel: { online: "\u7DDA\u4E0A\u652F\u4ED8", transfer: "\u4EBA\u5DE5\u6536\u6B3E" },
13880
13880
  loading: "\u6B63\u5728\u8F09\u5165\u53EF\u7528\u7684\u652F\u4ED8\u65B9\u5F0F...",
13881
13881
  noOnlineChannel: "\u76EE\u524D\u6C92\u6709\u53EF\u7528\u7684\u7DDA\u4E0A\u652F\u4ED8\u65B9\u5F0F\uFF0C\u8ACB\u4F7F\u7528\u5FAE\u4FE1 / \u652F\u4ED8\u5BF6\u6383\u78BC\u8F49\u5E33\u3002",
13882
13882
  amountLabel: "\u5132\u503C\u984D\u5EA6",
@@ -13945,7 +13945,7 @@ var recharge_locale_default = {
13945
13945
  recharge_page: {
13946
13946
  title: "\u30C1\u30E3\u30FC\u30B8",
13947
13947
  viewPricing: "\u6599\u91D1\u3092\u898B\u308B",
13948
- channel: { online: "\u30AA\u30F3\u30E9\u30A4\u30F3\u6C7A\u6E08", transfer: "QR\u9001\u91D1" },
13948
+ channel: { online: "\u30AA\u30F3\u30E9\u30A4\u30F3\u6C7A\u6E08", transfer: "\u624B\u52D5\u5165\u91D1" },
13949
13949
  loading: "\u5229\u7528\u53EF\u80FD\u306A\u6C7A\u6E08\u65B9\u6CD5\u3092\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059...",
13950
13950
  noOnlineChannel: "\u73FE\u5728\u5229\u7528\u3067\u304D\u308B\u30AA\u30F3\u30E9\u30A4\u30F3\u6C7A\u6E08\u304C\u3042\u308A\u307E\u305B\u3093\u3002WeChat / Alipay \u306EQR\u9001\u91D1\u3092\u3054\u5229\u7528\u304F\u3060\u3055\u3044\u3002",
13951
13951
  amountLabel: "\u30C1\u30E3\u30FC\u30B8\u984D",
@@ -17474,7 +17474,7 @@ var messageSlice = createSliceWithThunks({
17474
17474
  runtimeOptions: args.runtimeOptions
17475
17475
  });
17476
17476
  if (agentKeyToUse) {
17477
- const { streamAgentChatTurn } = await import("./agentSlice-65ETD734.js");
17477
+ const { streamAgentChatTurn } = await import("./agentSlice-ZOYISPZD.js");
17478
17478
  await dispatch(
17479
17479
  streamAgentChatTurn({
17480
17480
  agentKey: agentKeyToUse,
@@ -18610,7 +18610,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
18610
18610
  }
18611
18611
  if (isCurrentDialog) {
18612
18612
  await thunkApi.dispatch(resetMsgs());
18613
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-J2YJNE6E.js");
18613
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-D4V3HURH.js");
18614
18614
  dispatch(clearPendingAttachments2());
18615
18615
  }
18616
18616
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -18618,15 +18618,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
18618
18618
 
18619
18619
  // packages/chat/dialog/dialogSlice.ts
18620
18620
  var runCreateDialogAction = async (args, thunkApi) => {
18621
- const { createDialogAction } = await import("./createDialogAction-O2QABXZF.js");
18621
+ const { createDialogAction } = await import("./createDialogAction-E2EVICIE.js");
18622
18622
  return createDialogAction(args, thunkApi);
18623
18623
  };
18624
18624
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
18625
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-JXAFQO5V.js");
18625
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-D2J2O5GS.js");
18626
18626
  return createAgentAutomationAction(args, thunkApi);
18627
18627
  };
18628
18628
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
18629
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-KSWXWWFT.js");
18629
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-PER2C6MR.js");
18630
18630
  return updateDialogTitleAction(args, thunkApi);
18631
18631
  };
18632
18632
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -18650,7 +18650,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
18650
18650
  return setDialogExtraReferencesAction(args, thunkApi);
18651
18651
  };
18652
18652
  var runHandleSendMessageAction = async (args, thunkApi) => {
18653
- const { handleSendMessageAction } = await import("./handleSendMessageAction-A4XLEEPU.js");
18653
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-QBPDYSLZ.js");
18654
18654
  return handleSendMessageAction(args, thunkApi);
18655
18655
  };
18656
18656
  function clearDialogState() {
@@ -18663,7 +18663,7 @@ var createPageAndAddReference = createAsyncThunk(
18663
18663
  async (payload, { dispatch, getState, rejectWithValue }) => {
18664
18664
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
18665
18665
  try {
18666
- const { createDocState } = await import("./docStore-6KKYKAGQ.js");
18666
+ const { createDocState } = await import("./docStore-5LROPEEP.js");
18667
18667
  const pageKey = await createDocState(
18668
18668
  { slateData, title },
18669
18669
  { dispatch, getState }
@@ -7,7 +7,7 @@ import {
7
7
  listUserRecordsFromServers,
8
8
  readDbRecordFromServers,
9
9
  readLiveDbRecordAfterTombstoneMerge
10
- } from "./chunk-BLJWCTRL.js";
10
+ } from "./chunk-GEPUP7OO.js";
11
11
  import {
12
12
  fetchWithTransientRetry
13
13
  } from "./chunk-5UTFL4QJ.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  clipMultilineText,
9
9
  fetchAndSerializeTable
10
- } from "./chunk-FSX24MR3.js";
10
+ } from "./chunk-G4EBXCWF.js";
11
11
  import {
12
12
  isGatewayHttpStatus
13
13
  } from "./chunk-NF64D32W.js";
@@ -28,13 +28,13 @@ import {
28
28
  } from "./chunk-MEYIRKDN.js";
29
29
  import {
30
30
  fetchAndCacheMessages
31
- } from "./chunk-DHDVZFNC.js";
31
+ } from "./chunk-OCSGDPAT.js";
32
32
  import {
33
33
  shouldUseServerProxy
34
34
  } from "./chunk-YYLHWIW6.js";
35
35
  import {
36
36
  fetchServerSyncedCredential
37
- } from "./chunk-TVYSVSA2.js";
37
+ } from "./chunk-ITM7D3UQ.js";
38
38
  import {
39
39
  buildSkillGuidancePromptBlock,
40
40
  extractRuntimePageCapabilities,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-D2QT5FW4.js";
3
+ } from "./chunk-34BLIAHQ.js";
4
4
  import {
5
5
  prepareAndPersistMessage,
6
6
  uiAskChoiceFunc,
7
7
  uiAskChoiceFunctionSchema
8
- } from "./chunk-DHDVZFNC.js";
8
+ } from "./chunk-OCSGDPAT.js";
9
9
  import {
10
10
  require_date_fns
11
11
  } 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-Y6FA2TCW.js");
329
+ const { updateContentTitle } = await import("./contentThunks-G55OKUFE.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-GUQDPKO5.js");
368
+ const { createPageAction } = await import("./createPageAction-FHZBN7DJ.js");
369
369
  return createPageAction(args, thunkApi);
370
370
  }
371
371
  function subscribe(listener) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-PY5D7R4Z.js";
4
+ } from "./chunk-AJ3A3445.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-FSX24MR3.js";
7
+ } from "./chunk-G4EBXCWF.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
10
  } from "./chunk-6VFARHZW.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  clearCliLocalRuntimePreparedAgentCache
3
- } from "./chunk-PY5D7R4Z.js";
3
+ } from "./chunk-AJ3A3445.js";
4
4
  import {
5
5
  getReadableCliDb
6
6
  } from "./chunk-LS2ZANRJ.js";
@@ -12,7 +12,7 @@ import {
12
12
  resolveAgentRecordFromHybridStore,
13
13
  sanitizeAgentRecordForCliOutput,
14
14
  writeAgentRecord
15
- } from "./chunk-76WEAXJB.js";
15
+ } from "./chunk-AEOE4Z6Q.js";
16
16
  import {
17
17
  resolveCliAgentKeyInput
18
18
  } from "./chunk-SV5IJK6K.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toolRegistry
3
- } from "./chunk-FSX24MR3.js";
3
+ } from "./chunk-G4EBXCWF.js";
4
4
  import {
5
5
  i18n_default
6
- } from "./chunk-DHDVZFNC.js";
6
+ } from "./chunk-OCSGDPAT.js";
7
7
  import {
8
8
  canonicalizeToolNames
9
9
  } from "./chunk-O6OSWFZQ.js";
@@ -7,14 +7,14 @@ import {
7
7
  updateContentPinned,
8
8
  updateContentTitle,
9
9
  uploadAndAddFileToSpace
10
- } from "./chunk-D2QT5FW4.js";
10
+ } from "./chunk-34BLIAHQ.js";
11
11
  import "./chunk-ZJ7UHBJS.js";
12
- import "./chunk-DHDVZFNC.js";
12
+ import "./chunk-OCSGDPAT.js";
13
13
  import "./chunk-MC4XLIJ7.js";
14
14
  import "./chunk-3BMYXEUW.js";
15
15
  import "./chunk-YYLHWIW6.js";
16
16
  import "./chunk-AGGIDPCZ.js";
17
- import "./chunk-TVYSVSA2.js";
17
+ import "./chunk-ITM7D3UQ.js";
18
18
  import "./chunk-TOP2VXOR.js";
19
19
  import "./chunk-5RGU3J7P.js";
20
20
  import "./chunk-6YTOJY35.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-D2QT5FW4.js";
3
+ } from "./chunk-34BLIAHQ.js";
4
4
  import "./chunk-ZJ7UHBJS.js";
5
- import "./chunk-DHDVZFNC.js";
5
+ import "./chunk-OCSGDPAT.js";
6
6
  import "./chunk-MC4XLIJ7.js";
7
7
  import "./chunk-3BMYXEUW.js";
8
8
  import "./chunk-YYLHWIW6.js";
9
9
  import "./chunk-AGGIDPCZ.js";
10
- import "./chunk-TVYSVSA2.js";
10
+ import "./chunk-ITM7D3UQ.js";
11
11
  import "./chunk-TOP2VXOR.js";
12
12
  import "./chunk-5RGU3J7P.js";
13
13
  import "./chunk-6YTOJY35.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  createDialogAction,
3
3
  isLocalOwnerDialogAgents
4
- } from "./chunk-N2WELJE7.js";
5
- import "./chunk-D2QT5FW4.js";
4
+ } from "./chunk-PKUGW3X6.js";
5
+ import "./chunk-34BLIAHQ.js";
6
6
  import "./chunk-ZJ7UHBJS.js";
7
- import "./chunk-DHDVZFNC.js";
7
+ import "./chunk-OCSGDPAT.js";
8
8
  import "./chunk-MC4XLIJ7.js";
9
9
  import "./chunk-3BMYXEUW.js";
10
10
  import "./chunk-YYLHWIW6.js";
11
11
  import "./chunk-AGGIDPCZ.js";
12
- import "./chunk-TVYSVSA2.js";
12
+ import "./chunk-ITM7D3UQ.js";
13
13
  import "./chunk-TOP2VXOR.js";
14
14
  import "./chunk-5RGU3J7P.js";
15
15
  import "./chunk-6YTOJY35.js";
@@ -14,16 +14,16 @@ import {
14
14
  import {
15
15
  addContentToSpace,
16
16
  client_default
17
- } from "./chunk-D2QT5FW4.js";
17
+ } from "./chunk-34BLIAHQ.js";
18
18
  import {
19
19
  getCurrentSpaceId
20
20
  } from "./chunk-ZJ7UHBJS.js";
21
- import "./chunk-DHDVZFNC.js";
21
+ import "./chunk-OCSGDPAT.js";
22
22
  import "./chunk-MC4XLIJ7.js";
23
23
  import "./chunk-3BMYXEUW.js";
24
24
  import "./chunk-YYLHWIW6.js";
25
25
  import "./chunk-AGGIDPCZ.js";
26
- import "./chunk-TVYSVSA2.js";
26
+ import "./chunk-ITM7D3UQ.js";
27
27
  import "./chunk-TOP2VXOR.js";
28
28
  import "./chunk-5RGU3J7P.js";
29
29
  import "./chunk-6YTOJY35.js";
@@ -11,11 +11,11 @@ import {
11
11
  runDialogSearchCommand,
12
12
  runDialogStatusCommand,
13
13
  sortDialogs
14
- } from "./chunk-SNPMM7H3.js";
14
+ } from "./chunk-OEVAY4J6.js";
15
15
  import "./chunk-ID4G2MAR.js";
16
- import "./chunk-BLJWCTRL.js";
16
+ import "./chunk-GEPUP7OO.js";
17
17
  import "./chunk-EADNWBAZ.js";
18
- import "./chunk-76WEAXJB.js";
18
+ import "./chunk-AEOE4Z6Q.js";
19
19
  import "./chunk-Z77CRGTW.js";
20
20
  import "./chunk-SV5IJK6K.js";
21
21
  import "./chunk-5UTFL4QJ.js";
@@ -20,12 +20,12 @@ import {
20
20
  switchDialogAgent,
21
21
  updateDialogTitle,
22
22
  updateTokens
23
- } from "./chunk-DHDVZFNC.js";
23
+ } from "./chunk-OCSGDPAT.js";
24
24
  import "./chunk-MC4XLIJ7.js";
25
25
  import "./chunk-3BMYXEUW.js";
26
26
  import "./chunk-YYLHWIW6.js";
27
27
  import "./chunk-AGGIDPCZ.js";
28
- import "./chunk-TVYSVSA2.js";
28
+ import "./chunk-ITM7D3UQ.js";
29
29
  import "./chunk-TOP2VXOR.js";
30
30
  import {
31
31
  getActiveDialogAgentId
@@ -17,12 +17,12 @@ import {
17
17
  resolveDocKind,
18
18
  resolveWriteTargets,
19
19
  writePageRecord
20
- } from "./chunk-QIAVMDHY.js";
20
+ } from "./chunk-ETI2NYVF.js";
21
21
  import {
22
22
  findPotentialSecrets,
23
23
  formatSecretFindings
24
24
  } from "./chunk-S7Z2HMCN.js";
25
- import "./chunk-76WEAXJB.js";
25
+ import "./chunk-AEOE4Z6Q.js";
26
26
  import "./chunk-Z77CRGTW.js";
27
27
  import "./chunk-SV5IJK6K.js";
28
28
  import "./chunk-VF4K2QE6.js";
@@ -10,11 +10,11 @@ import {
10
10
  requireTokenUser,
11
11
  resolveDocKind,
12
12
  resolveWriteTargets
13
- } from "./chunk-QIAVMDHY.js";
13
+ } from "./chunk-ETI2NYVF.js";
14
14
  import {
15
15
  deleteDbRecordOnServers
16
- } from "./chunk-BLJWCTRL.js";
17
- import "./chunk-76WEAXJB.js";
16
+ } from "./chunk-GEPUP7OO.js";
17
+ import "./chunk-AEOE4Z6Q.js";
18
18
  import "./chunk-Z77CRGTW.js";
19
19
  import "./chunk-SV5IJK6K.js";
20
20
  import "./chunk-KQHGZWSV.js";
@@ -9,8 +9,8 @@ import {
9
9
  requireTokenUser,
10
10
  resolveDocKind,
11
11
  resolveWriteTargets
12
- } from "./chunk-QIAVMDHY.js";
13
- import "./chunk-76WEAXJB.js";
12
+ } from "./chunk-ETI2NYVF.js";
13
+ import "./chunk-AEOE4Z6Q.js";
14
14
  import "./chunk-Z77CRGTW.js";
15
15
  import "./chunk-SV5IJK6K.js";
16
16
  import "./chunk-VF4K2QE6.js";
@@ -24,7 +24,7 @@ import {
24
24
  updateTitleDoc,
25
25
  useDocField,
26
26
  useDocState
27
- } from "./chunk-GZBATRJA.js";
27
+ } from "./chunk-T37GTQYU.js";
28
28
  import "./chunk-M76ECQRD.js";
29
29
  import "./chunk-YDH3FDFQ.js";
30
30
  import "./chunk-HNMXYYJR.js";
@@ -16,12 +16,12 @@ import {
16
16
  resolveDocKind,
17
17
  resolveWriteTargets,
18
18
  writePageRecord
19
- } from "./chunk-QIAVMDHY.js";
19
+ } from "./chunk-ETI2NYVF.js";
20
20
  import {
21
21
  findPotentialSecrets,
22
22
  formatSecretFindings
23
23
  } from "./chunk-S7Z2HMCN.js";
24
- import "./chunk-76WEAXJB.js";
24
+ import "./chunk-AEOE4Z6Q.js";
25
25
  import "./chunk-Z77CRGTW.js";
26
26
  import "./chunk-SV5IJK6K.js";
27
27
  import "./chunk-VF4K2QE6.js";
@@ -6,14 +6,14 @@ import {
6
6
  prepareAndPersistUserMessage,
7
7
  resolveHandleSendMessageContext,
8
8
  selectAllMsgs
9
- } from "./chunk-DHDVZFNC.js";
9
+ } from "./chunk-OCSGDPAT.js";
10
10
  import "./chunk-MC4XLIJ7.js";
11
11
  import "./chunk-3BMYXEUW.js";
12
12
  import "./chunk-YYLHWIW6.js";
13
13
  import "./chunk-AGGIDPCZ.js";
14
14
  import {
15
15
  streamAgentChatTurn
16
- } from "./chunk-TVYSVSA2.js";
16
+ } from "./chunk-ITM7D3UQ.js";
17
17
  import "./chunk-TOP2VXOR.js";
18
18
  import "./chunk-5RGU3J7P.js";
19
19
  import {