nolo-cli 0.49.1 → 0.50.0

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 (131) hide show
  1. package/{_executeModel-KE4PQSZ3.js → _executeModel-JKEH7ACW.js} +48 -42
  2. package/{action-IU6ON7ZB.js → action-VSG2IYP3.js} +8 -8
  3. package/{addContentAction-5V5CCI3I.js → addContentAction-2HJJITDI.js} +8 -7
  4. package/{addDialogAgentAction-KF3KZZNZ.js → addDialogAgentAction-7BSQVVL5.js} +10 -9
  5. package/{agentDeleteCommand-Z67TJG3W.js → agentDeleteCommand-SVXKS5SC.js} +30 -28
  6. package/{agentEmailCommands-7LPIK7JE.js → agentEmailCommands-WN7QBTP3.js} +57 -52
  7. package/{agentListCommands-5J2IM3IT.js → agentListCommands-2BEBOQIG.js} +42 -33
  8. package/{agentMachineCommands-YXH6FXUQ.js → agentMachineCommands-WALP3ONU.js} +30 -28
  9. package/{agentRecordCommands-GZLCDVUS.js → agentRecordCommands-E652SW57.js} +55 -50
  10. package/{agentRunCommand-WYH5Q54Q.js → agentRunCommand-6VXWXKCS.js} +60 -53
  11. package/{agentRunControl-4GHHSXFZ.js → agentRunControl-LJVFDJGU.js} +3 -1
  12. package/{agentRuntimeLocal-A6EF3RUY.js → agentRuntimeLocal-SBG7BDFQ.js} +30 -26
  13. package/{agentSlice-ARTDF6VD.js → agentSlice-3WYXIGEO.js} +8 -8
  14. package/{agentSuperviseCommands-VB6BUS5H.js → agentSuperviseCommands-F3RFAL7K.js} +2 -2
  15. package/{appDeleteCommands-V2B7ZCLC.js → appDeleteCommands-NTUNMEXY.js} +31 -29
  16. package/{appDeployCommands-AXQU44RD.js → appDeployCommands-DISWXRTL.js} +31 -29
  17. package/{appDeployStatusCommands-FWGSC2UM.js → appDeployStatusCommands-IKRA6B6F.js} +31 -29
  18. package/{appGetCommands-67R3RFZK.js → appGetCommands-UMOP2DFV.js} +31 -29
  19. package/{appListCommands-TTASJPGV.js → appListCommands-ZKFD2AKS.js} +31 -29
  20. package/{authCommand-QOPOEYEK.js → authCommand-BS3CQC6I.js} +11 -11
  21. package/{chatQueueReduxAdapter-6CAHUQ4O.js → chatQueueReduxAdapter-A3YH4MT4.js} +24 -21
  22. package/{chunk-76UA7376.js → chunk-273FJUYI.js} +6 -6
  23. package/{chunk-7CH6U3FL.js → chunk-2GRGFCF6.js} +2 -4
  24. package/{chunk-T27IEBNQ.js → chunk-2QDDKFG5.js} +74 -1
  25. package/{chunk-IRJVFYOH.js → chunk-2TLYVDTN.js} +321 -1100
  26. package/{chunk-6BYAXNH5.js → chunk-3QOCS5IF.js} +11 -2
  27. package/chunk-6IGD47IC.js +19 -0
  28. package/{chunk-GFD7TIZU.js → chunk-6TUT5ZJD.js} +4 -6
  29. package/chunk-6YTOJY35.js +352 -0
  30. package/{chunk-B54WOZ77.js → chunk-7H7GQL6V.js} +2 -2
  31. package/{chunk-OYNDYVSE.js → chunk-B45YNDAE.js} +1 -1
  32. package/{chunk-UQWFIWHX.js → chunk-BKIDF5LV.js} +1 -1
  33. package/{chunk-5XCW6RQG.js → chunk-BUBPRCIU.js} +1 -1
  34. package/chunk-BYXBJQAS.js +0 -0
  35. package/{chunk-X7S7OFUX.js → chunk-CEVCRRHU.js} +4 -4
  36. package/{chunk-SP3DPVBH.js → chunk-DEIGUGP6.js} +2 -2
  37. package/{chunk-V2IPBG5U.js → chunk-DGEPT6FH.js} +1 -1
  38. package/{chunk-3AOLVADY.js → chunk-DVINR3PL.js} +1 -1
  39. package/{chunk-NN3AMBY3.js → chunk-DXOELY7S.js} +64 -69
  40. package/{chunk-OFZPJ3NT.js → chunk-E4MARS3Q.js} +1 -1
  41. package/{chunk-QUCSAM43.js → chunk-EAYBPWHX.js} +87 -66
  42. package/{chunk-DQLYEGP7.js → chunk-EGVY3GMT.js} +1 -1
  43. package/{chunk-2JYSSXLY.js → chunk-EJFW7TRP.js} +5 -26
  44. package/{chunk-HPZL4IBN.js → chunk-FGRCSLPV.js} +34 -45
  45. package/{chunk-WL3UOGYO.js → chunk-G4WSLTQF.js} +31 -97
  46. package/{chunk-HR5XDXYM.js → chunk-G5SQVIFZ.js} +3 -3
  47. package/{chunk-J3UALFHL.js → chunk-GHE5XMVR.js} +1 -1
  48. package/{chunk-6SMMK7MD.js → chunk-GKB4AZKV.js} +440 -2981
  49. package/{chunk-IKSFDJXB.js → chunk-GKNGRBE6.js} +150 -27
  50. package/{chunk-Q24S4NDF.js → chunk-HQTK2SFT.js} +1 -1
  51. package/{chunk-GDGIEGHV.js → chunk-IPTZ5TVU.js} +7 -6
  52. package/{chunk-4RXXP6WD.js → chunk-J7KDNHUO.js} +5 -64
  53. package/{chunk-QDHZCAH3.js → chunk-KNQ5LYVZ.js} +57 -2
  54. package/{chunk-VRJUIUIY.js → chunk-KVVNC5V3.js} +2 -2
  55. package/{chunk-CVT7L2WZ.js → chunk-LVCAWHI5.js} +4 -4
  56. package/{chunk-WX5E6HZS.js → chunk-N6SLQMSA.js} +6 -6
  57. package/{chunk-SQTVMYMU.js → chunk-NTZO3KX2.js} +3 -3
  58. package/{chunk-LGUQHYAL.js → chunk-O5FLGN2L.js} +3 -2
  59. package/{chunk-WKOEOQCI.js → chunk-OSUZKICS.js} +1600 -190
  60. package/{chunk-EXDR5D6X.js → chunk-Q2QN2RHG.js} +7 -7
  61. package/{chunk-L3JWI7WX.js → chunk-QOKAKDPE.js} +15 -11
  62. package/{chunk-757BGY6Y.js → chunk-RFYXK6KI.js} +1 -1
  63. package/chunk-RQSN75DW.js +1766 -0
  64. package/{chunk-HCMFFI2G.js → chunk-S3JNURSO.js} +2 -2
  65. package/{chunk-YZ2WE6CW.js → chunk-SAJSBPI2.js} +2 -2
  66. package/{chunk-WHVQA7PJ.js → chunk-SCBBGS2N.js} +23 -5
  67. package/chunk-SGSJBBKP.js +297 -0
  68. package/{chunk-GFUOVFQA.js → chunk-TUBNQ3OF.js} +2 -2
  69. package/{chunk-BANYWEYY.js → chunk-TY3ADTX5.js} +1 -1
  70. package/chunk-UAD2WT54.js +64 -0
  71. package/{chunk-SW7RCUGA.js → chunk-UEV5WVQV.js} +3 -3
  72. package/{chunk-EURF2SV6.js → chunk-UMCMW5R3.js} +51 -34
  73. package/{chunk-K524MUQC.js → chunk-VFDRZHPM.js} +16 -16
  74. package/{chunk-5WADL4O7.js → chunk-W22UTILW.js} +3 -3
  75. package/{chunk-IKTHA3JH.js → chunk-WERPP2S7.js} +2 -2
  76. package/{chunk-GBADO3SM.js → chunk-WSUHBABG.js} +1 -1
  77. package/{chunk-U5Z7LFZF.js → chunk-X3OGKR5Q.js} +4 -4
  78. package/{chunk-AVKUDHJO.js → chunk-X5LRMXTS.js} +10 -10
  79. package/{chunk-DIQCV4FR.js → chunk-X665UCNM.js} +1 -1
  80. package/{chunk-HCBQVVFZ.js → chunk-X7P6EJUY.js} +4 -4
  81. package/{chunk-HHBXCRJS.js → chunk-XOJRZUPF.js} +4 -4
  82. package/{chunk-MRWGHF56.js → chunk-YDH3FDFQ.js} +12 -356
  83. package/{chunk-TNPCQNGQ.js → chunk-YEFRCO5N.js} +4 -9
  84. package/{chunk-RO2IUWZE.js → chunk-YUKTCDVN.js} +1 -1
  85. package/{chunk-56W233KG.js → chunk-YWY25N4V.js} +1 -1
  86. package/{chunk-RU5D3B22.js → chunk-ZDS63Y4O.js} +2 -2
  87. package/chunk-ZJ7UHBJS.js +89 -0
  88. package/{chunk-SG65C33A.js → chunk-ZLMG6NRV.js} +4 -4
  89. package/{codingSkills-BYQI6EPT.js → codingSkills-FQPCEIWL.js} +2 -2
  90. package/contentThunks-J33BZB3E.js +71 -0
  91. package/{createAgentAutomationAction-7BBF5YXN.js → createAgentAutomationAction-HTMTGX6Q.js} +25 -21
  92. package/{createDialogAction-B5URPHP4.js → createDialogAction-WYQBSN6A.js} +27 -23
  93. package/{createPageAction-ISJKM5Q3.js → createPageAction-ICRRK3SA.js} +27 -22
  94. package/{dbSlice-FWF5F4L7.js → dbSlice-YORO4VL4.js} +6 -6
  95. package/{deleteFile-NPZ64DFN.js → deleteFile-JYKRT7C3.js} +4 -4
  96. package/{dialogCommands-XHH4MVA4.js → dialogCommands-FRSIAPKY.js} +31 -29
  97. package/{dialogSlice-NRAN5X7F.js → dialogSlice-5KPVIAWH.js} +24 -21
  98. package/{docCreateCommands-FUN2Z7HQ.js → docCreateCommands-DBRJMPDX.js} +30 -28
  99. package/{docDeleteCommands-OZDPFXPF.js → docDeleteCommands-BCYPLWXN.js} +31 -29
  100. package/{docReadCommands-FIPK7LE3.js → docReadCommands-L5JX4Q7G.js} +30 -28
  101. package/{docStore-LUS7SWC3.js → docStore-34NXLCEO.js} +8 -33
  102. package/{docUpdateCommands-BZ5GKAN4.js → docUpdateCommands-RELG7XJD.js} +30 -28
  103. package/fetchMessages-KZQVBXKY.js +1 -1
  104. package/{getPricing-HAU62AFM.js → getPricing-FM7TJZFV.js} +4 -4
  105. package/{handleSendMessageAction-RA4OD2ZH.js → handleSendMessageAction-MEYK7RPD.js} +25 -22
  106. package/index.js +64 -64
  107. package/{machineCommands-WDAYEFBE.js → machineCommands-YSXTOWHQ.js} +59 -54
  108. package/{machineWsRunDispatch-TPQ2FQVS.js → machineWsRunDispatch-DNAYOPQT.js} +54 -49
  109. package/memberThunks-KVPBG4V7.js +638 -0
  110. package/{models-4QF4BJVY.js → models-CW5EL6Z7.js} +2 -2
  111. package/package.json +2 -3
  112. package/{read-J7RVVCHH.js → read-NIOV5F7W.js} +4 -4
  113. package/{readDocTool-G2WBM4IH.js → readDocTool-ULKJ5BEM.js} +1 -1
  114. package/{readlineWorkspace-HN44KGIF.js → readlineWorkspace-KZ3LPQG2.js} +829 -393
  115. package/{removeDialogAgentAction-RMPISD42.js → removeDialogAgentAction-JGSCPML3.js} +12 -11
  116. package/{runAgentClientLoop-ZYUI22EA.js → runAgentClientLoop-O2AUHIJT.js} +46 -40
  117. package/{setDialogExtraReferencesAction-7BUTHDAL.js → setDialogExtraReferencesAction-CORU64NM.js} +9 -8
  118. package/{setPrimaryDialogAgentAction-WCYIBGZ4.js → setPrimaryDialogAgentAction-5VS2VKLZ.js} +12 -11
  119. package/{settingSlice-7NN2MI6Y.js → settingSlice-3GNGTC2T.js} +7 -7
  120. package/{skillDiscovery-COX56OBO.js → skillDiscovery-CYUCJMAG.js} +3 -3
  121. package/{spaceCommands-OJ2567D4.js → spaceCommands-OI7RIB2T.js} +30 -28
  122. package/{streamAgentChatTurn-FNFMMGNN.js → streamAgentChatTurn-TA3PGS6C.js} +61 -54
  123. package/{switchDialogAgentAction-WGMMQHDI.js → switchDialogAgentAction-LP433X4D.js} +10 -9
  124. package/{tableCommands-P2TXJ3CF.js → tableCommands-R6WFRDYF.js} +1 -1
  125. package/{toolApiClient-B2MFXMEG.js → toolApiClient-53U4UDFF.js} +3 -2
  126. package/{tools-QCDR3UMD.js → tools-6ZPQ75XA.js} +37 -32
  127. package/{tuiSummaryLlmCaller-LCGT62QC.js → tuiSummaryLlmCaller-YKYQB4ZL.js} +17 -15
  128. package/{updateDialogTitleAction-Y3OGJWDB.js → updateDialogTitleAction-LRJ7NSOS.js} +26 -22
  129. package/chunk-EUG45QJR.js +0 -6104
  130. package/spaceSlice-F7JCOZEF.js +0 -127
  131. package/{chunk-NQ4N4IGO.js → chunk-CS6TCJ7E.js} +3 -3
@@ -8,23 +8,20 @@ import {
8
8
  import {
9
9
  isOAuthApiKeyRef
10
10
  } from "./chunk-YYLHWIW6.js";
11
- import {
12
- runLlm
13
- } from "./chunk-WX5E6HZS.js";
14
11
  import {
15
12
  getApproxPricePerImage
16
13
  } from "./chunk-AGGIDPCZ.js";
14
+ import {
15
+ runLlm
16
+ } from "./chunk-N6SLQMSA.js";
17
17
  import {
18
18
  cleanupCliSessionForDialog
19
- } from "./chunk-SG65C33A.js";
19
+ } from "./chunk-ZLMG6NRV.js";
20
20
  import {
21
21
  getActiveDialogAgentId,
22
22
  getDialogAgentIds,
23
23
  getPrimaryDialogAgentId
24
24
  } from "./chunk-5RGU3J7P.js";
25
- import {
26
- require_date_fns
27
- } from "./chunk-M76ECQRD.js";
28
25
  import {
29
26
  abortActiveControllers,
30
27
  addPageReferenceToRuntime,
@@ -34,12 +31,17 @@ import {
34
31
  deleteDialogRuntime,
35
32
  getActiveDialogKey,
36
33
  getDialogRuntimeTokens,
37
- require_react,
38
34
  resetDialogRuntimeSessionState,
39
35
  selectCurrentDialogKey,
40
36
  setActiveDialogKey,
41
37
  setDialogConfigError
42
- } from "./chunk-MRWGHF56.js";
38
+ } from "./chunk-6YTOJY35.js";
39
+ import {
40
+ require_date_fns
41
+ } from "./chunk-M76ECQRD.js";
42
+ import {
43
+ require_react
44
+ } from "./chunk-YDH3FDFQ.js";
43
45
  import {
44
46
  DEFAULT_AUTO_EXECUTION_PROFILE,
45
47
  DEFAULT_CONTEXT_WINDOW,
@@ -51,7 +53,7 @@ import {
51
53
  getModelContextWindow,
52
54
  getModelInfo,
53
55
  resolveAutoExecutionProfile
54
- } from "./chunk-SW7RCUGA.js";
56
+ } from "./chunk-UEV5WVQV.js";
55
57
  import {
56
58
  COMPACTION_SUMMARY_SYSTEM_PROMPT,
57
59
  buildCompactionMetricsFromPlan,
@@ -63,11 +65,11 @@ import {
63
65
  normalizeAssistantContentBuffer,
64
66
  planCompression,
65
67
  serializeMessageContent
66
- } from "./chunk-HR5XDXYM.js";
68
+ } from "./chunk-G5SQVIFZ.js";
67
69
  import {
68
70
  findModelConfig,
69
71
  getModelConfig
70
- } from "./chunk-QDHZCAH3.js";
72
+ } from "./chunk-KNQ5LYVZ.js";
71
73
  import {
72
74
  toErrorMessage
73
75
  } from "./chunk-HNMXYYJR.js";
@@ -75,14 +77,16 @@ import {
75
77
  fetchMessages
76
78
  } from "./chunk-FA4SY4F5.js";
77
79
  import {
80
+ PLATFORM_HOSTED_GLM_53_FLASH_MODEL,
78
81
  getPlatformHostedDeepSeekV4Price,
82
+ isPlatformHostedClaudeModel,
79
83
  isPlatformHostedDeepSeekV4Model,
80
84
  isPlatformHostedImageModel,
81
85
  isPlatformHostedOpenAIImageModel
82
- } from "./chunk-WL3UOGYO.js";
86
+ } from "./chunk-G4WSLTQF.js";
83
87
  import {
84
88
  nolotusId
85
- } from "./chunk-X7S7OFUX.js";
89
+ } from "./chunk-CEVCRRHU.js";
86
90
  import {
87
91
  asRecordOrEmpty
88
92
  } from "./chunk-KX6YBIHG.js";
@@ -92,7 +96,7 @@ import {
92
96
  remove,
93
97
  selectById,
94
98
  write
95
- } from "./chunk-76UA7376.js";
99
+ } from "./chunk-273FJUYI.js";
96
100
  import {
97
101
  buildDialogAgentListIndexDeleteOps,
98
102
  createDialogMessageKeyAndId,
@@ -117,7 +121,7 @@ import {
117
121
  builtinAgentCatalogEntryById,
118
122
  builtinRuntimeFallbackEntries,
119
123
  isBuiltinPlatformAgentKey
120
- } from "./chunk-2JYSSXLY.js";
124
+ } from "./chunk-EJFW7TRP.js";
121
125
  import {
122
126
  extractCustomId,
123
127
  extractUserId,
@@ -134,21 +138,21 @@ import {
134
138
  parseOwnerUserIdFromDbKey,
135
139
  scheduleDeleteReplication,
136
140
  selectIdentityUserId
137
- } from "./chunk-HHBXCRJS.js";
141
+ } from "./chunk-XOJRZUPF.js";
138
142
  import {
139
143
  createClientLogger,
140
144
  isAbortError
141
- } from "./chunk-L3JWI7WX.js";
145
+ } from "./chunk-QOKAKDPE.js";
142
146
  import {
143
147
  isTombstoneRecord,
144
148
  shouldReplaceWithNextRecord
145
149
  } from "./chunk-GBRG75BQ.js";
146
- import {
147
- isRecord
148
- } from "./chunk-KUG52IAP.js";
149
150
  import {
150
151
  asTrimmedString
151
152
  } from "./chunk-3EUW3WEO.js";
153
+ import {
154
+ isRecord
155
+ } from "./chunk-KUG52IAP.js";
152
156
  import {
153
157
  asOptionalTrimmedString
154
158
  } from "./chunk-G3SUCT4W.js";
@@ -3584,7 +3588,7 @@ var messageSlice = createSliceWithThunks({
3584
3588
  runtimeOptions: args.runtimeOptions
3585
3589
  });
3586
3590
  if (agentKeyToUse) {
3587
- const { streamAgentChatTurn } = await import("./agentSlice-ARTDF6VD.js");
3591
+ const { streamAgentChatTurn } = await import("./agentSlice-3WYXIGEO.js");
3588
3592
  await dispatch(
3589
3593
  streamAgentChatTurn({
3590
3594
  agentKey: agentKeyToUse,
@@ -4079,6 +4083,19 @@ var calculatePrice = ({
4079
4083
  const pay3 = calculatePayDistribution(costs3, externalPrice, sharingLevel);
4080
4084
  return { cost: sanitizeCost(costs3.charge), pay: pay3 };
4081
4085
  }
4086
+ if (provider === "nolo" && isPlatformHostedClaudeModel(modelName)) {
4087
+ const compatModel = getModelConfig("nolo", PLATFORM_HOSTED_GLM_53_FLASH_MODEL);
4088
+ const costs3 = calculateBasicCost(
4089
+ compatModel,
4090
+ usage,
4091
+ provider,
4092
+ externalPrice,
4093
+ billingServiceTier,
4094
+ nowMs
4095
+ );
4096
+ const pay3 = calculatePayDistribution(costs3, externalPrice, sharingLevel);
4097
+ return { cost: sanitizeCost(costs3.charge), pay: pay3 };
4098
+ }
4082
4099
  const zeroCostModel = {
4083
4100
  name: modelName,
4084
4101
  hasVision: false,
@@ -4786,7 +4803,7 @@ var deleteOwnedDialogAttachments = async (args) => {
4786
4803
  metadataReadFailures
4787
4804
  });
4788
4805
  if (!plan.deleteCandidates.length) return plan;
4789
- const { deleteFileAction } = await import("./deleteFile-NPZ64DFN.js");
4806
+ const { deleteFileAction } = await import("./deleteFile-JYKRT7C3.js");
4790
4807
  for (const candidate of plan.deleteCandidates) {
4791
4808
  if (candidate.fileDbKey) {
4792
4809
  await deleteFileAction(candidate.fileDbKey, args.thunkApi);
@@ -4848,7 +4865,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
4848
4865
  }
4849
4866
  if (isCurrentDialog) {
4850
4867
  await thunkApi.dispatch(resetMsgs());
4851
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-NRAN5X7F.js");
4868
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-5KPVIAWH.js");
4852
4869
  dispatch(clearPendingAttachments2());
4853
4870
  }
4854
4871
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -4856,39 +4873,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
4856
4873
 
4857
4874
  // packages/chat/dialog/dialogSlice.ts
4858
4875
  var runCreateDialogAction = async (args, thunkApi) => {
4859
- const { createDialogAction } = await import("./createDialogAction-B5URPHP4.js");
4876
+ const { createDialogAction } = await import("./createDialogAction-WYQBSN6A.js");
4860
4877
  return createDialogAction(args, thunkApi);
4861
4878
  };
4862
4879
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
4863
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-7BBF5YXN.js");
4880
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-HTMTGX6Q.js");
4864
4881
  return createAgentAutomationAction(args, thunkApi);
4865
4882
  };
4866
4883
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
4867
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-Y3OGJWDB.js");
4884
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-LRJ7NSOS.js");
4868
4885
  return updateDialogTitleAction(args, thunkApi);
4869
4886
  };
4870
4887
  var runAddDialogAgentAction = async (args, thunkApi) => {
4871
- const { addDialogAgentAction } = await import("./addDialogAgentAction-KF3KZZNZ.js");
4888
+ const { addDialogAgentAction } = await import("./addDialogAgentAction-7BSQVVL5.js");
4872
4889
  return addDialogAgentAction(args, thunkApi);
4873
4890
  };
4874
4891
  var runRemoveDialogAgentAction = async (args, thunkApi) => {
4875
- const { removeDialogAgentAction } = await import("./removeDialogAgentAction-RMPISD42.js");
4892
+ const { removeDialogAgentAction } = await import("./removeDialogAgentAction-JGSCPML3.js");
4876
4893
  return removeDialogAgentAction(args, thunkApi);
4877
4894
  };
4878
4895
  var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
4879
- const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-WCYIBGZ4.js");
4896
+ const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-5VS2VKLZ.js");
4880
4897
  return setPrimaryDialogAgentAction(args, thunkApi);
4881
4898
  };
4882
4899
  var runSwitchDialogAgentAction = async (args, thunkApi) => {
4883
- const { switchDialogAgentAction } = await import("./switchDialogAgentAction-WGMMQHDI.js");
4900
+ const { switchDialogAgentAction } = await import("./switchDialogAgentAction-LP433X4D.js");
4884
4901
  return switchDialogAgentAction(args, thunkApi);
4885
4902
  };
4886
4903
  var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
4887
- const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-7BUTHDAL.js");
4904
+ const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-CORU64NM.js");
4888
4905
  return setDialogExtraReferencesAction(args, thunkApi);
4889
4906
  };
4890
4907
  var runHandleSendMessageAction = async (args, thunkApi) => {
4891
- const { handleSendMessageAction } = await import("./handleSendMessageAction-RA4OD2ZH.js");
4908
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-MEYK7RPD.js");
4892
4909
  return handleSendMessageAction(args, thunkApi);
4893
4910
  };
4894
4911
  function clearDialogState() {
@@ -4901,7 +4918,7 @@ var createPageAndAddReference = createAsyncThunk(
4901
4918
  async (payload, { dispatch, getState, rejectWithValue }) => {
4902
4919
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
4903
4920
  try {
4904
- const { createDocState } = await import("./docStore-LUS7SWC3.js");
4921
+ const { createDocState } = await import("./docStore-34NXLCEO.js");
4905
4922
  const pageKey = await createDocState(
4906
4923
  { slateData, title },
4907
4924
  { dispatch, getState }
@@ -5,14 +5,14 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-HCMFFI2G.js";
8
+ } from "./chunk-S3JNURSO.js";
9
9
  import {
10
10
  INVALID_TOOL_ARGS_REPLACEMENT,
11
11
  buildInvalidToolCallSelfHealResult,
12
12
  parseToolCallArguments,
13
13
  performFetchRequest,
14
14
  sanitizeOutboundMessages
15
- } from "./chunk-HPZL4IBN.js";
15
+ } from "./chunk-FGRCSLPV.js";
16
16
  import {
17
17
  createSSEParser,
18
18
  createToolRunId,
@@ -23,27 +23,27 @@ import {
23
23
  toolRunSetPending,
24
24
  toolRunStarted,
25
25
  toolRunSucceeded
26
- } from "./chunk-WKOEOQCI.js";
26
+ } from "./chunk-OSUZKICS.js";
27
27
  import {
28
28
  getPublicImageAgentMode
29
29
  } from "./chunk-VIDPVFP3.js";
30
30
  import {
31
31
  getCurrentSpaceId
32
- } from "./chunk-6SMMK7MD.js";
32
+ } from "./chunk-ZJ7UHBJS.js";
33
33
  import {
34
34
  addToolMessage,
35
35
  messageStreamEnd,
36
36
  messageStreaming,
37
37
  updateToolMessage
38
- } from "./chunk-EURF2SV6.js";
38
+ } from "./chunk-UMCMW5R3.js";
39
39
  import {
40
40
  streamAgentChatTurn
41
- } from "./chunk-WX5E6HZS.js";
41
+ } from "./chunk-N6SLQMSA.js";
42
42
  import {
43
43
  addActiveController,
44
44
  removeActiveController,
45
45
  tokenUsageLiveUpdate
46
- } from "./chunk-MRWGHF56.js";
46
+ } from "./chunk-6YTOJY35.js";
47
47
  import {
48
48
  accumulateToolCallDelta,
49
49
  createThinkParserState,
@@ -56,19 +56,19 @@ import {
56
56
  import {
57
57
  EMPTY_ASSISTANT_REPAIR_PROMPT,
58
58
  getModelInfo
59
- } from "./chunk-SW7RCUGA.js";
59
+ } from "./chunk-UEV5WVQV.js";
60
60
  import {
61
61
  getApiEndpoint
62
- } from "./chunk-QDHZCAH3.js";
62
+ } from "./chunk-KNQ5LYVZ.js";
63
63
  import {
64
64
  toErrorMessage
65
65
  } from "./chunk-HNMXYYJR.js";
66
66
  import {
67
67
  selectCurrentServer
68
- } from "./chunk-X7S7OFUX.js";
68
+ } from "./chunk-CEVCRRHU.js";
69
69
  import {
70
70
  write
71
- } from "./chunk-76UA7376.js";
71
+ } from "./chunk-273FJUYI.js";
72
72
  import {
73
73
  createDialogMessageKeyAndId,
74
74
  dialogMessageKey,
@@ -80,16 +80,16 @@ import {
80
80
  import {
81
81
  createAsyncThunk,
82
82
  selectIdentityToken
83
- } from "./chunk-HHBXCRJS.js";
83
+ } from "./chunk-XOJRZUPF.js";
84
84
  import {
85
85
  isAbortError
86
- } from "./chunk-L3JWI7WX.js";
87
- import {
88
- isRecord
89
- } from "./chunk-KUG52IAP.js";
86
+ } from "./chunk-QOKAKDPE.js";
90
87
  import {
91
88
  asTrimmedString
92
89
  } from "./chunk-3EUW3WEO.js";
90
+ import {
91
+ isRecord
92
+ } from "./chunk-KUG52IAP.js";
93
93
  import {
94
94
  asOptionalTrimmedString
95
95
  } from "./chunk-G3SUCT4W.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  listUserRecordsFromServers,
3
3
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-Q24S4NDF.js";
4
+ } from "./chunk-HQTK2SFT.js";
5
5
  import {
6
6
  agentRecordHasConfiguredCredential
7
- } from "./chunk-DQLYEGP7.js";
7
+ } from "./chunk-EGVY3GMT.js";
8
8
  import {
9
9
  toSafeAgentSummary
10
- } from "./chunk-RU5D3B22.js";
10
+ } from "./chunk-ZDS63Y4O.js";
11
11
  import {
12
12
  PUBLIC_AGENT_KEY_PREFIX,
13
13
  isOwnedAgentKey,
@@ -6,10 +6,10 @@ import {
6
6
  } from "./chunk-AGGIDPCZ.js";
7
7
  import {
8
8
  getModelConfig
9
- } from "./chunk-QDHZCAH3.js";
9
+ } from "./chunk-KNQ5LYVZ.js";
10
10
  import {
11
11
  isPlatformHostedImageModel
12
- } from "./chunk-WL3UOGYO.js";
12
+ } from "./chunk-G4WSLTQF.js";
13
13
  import {
14
14
  asOptionalFiniteNumber
15
15
  } from "./chunk-WWC7I6TA.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generatePkcePair,
3
3
  startCallbackServer
4
- } from "./chunk-U5Z7LFZF.js";
4
+ } from "./chunk-X3OGKR5Q.js";
5
5
  import {
6
6
  toErrorMessage
7
7
  } from "./chunk-HNMXYYJR.js";
@@ -11,7 +11,7 @@ import {
11
11
  getAntigravityUserAgent,
12
12
  normalizeAntigravityTokenPayload,
13
13
  refreshAntigravityToken
14
- } from "./chunk-757BGY6Y.js";
14
+ } from "./chunk-RFYXK6KI.js";
15
15
  import {
16
16
  writeOAuthCredential
17
17
  } from "./chunk-FD36SCCD.js";
@@ -21,12 +21,12 @@ import {
21
21
  import {
22
22
  asOptionalFiniteNumber
23
23
  } from "./chunk-WWC7I6TA.js";
24
- import {
25
- isRecord
26
- } from "./chunk-KUG52IAP.js";
27
24
  import {
28
25
  asTrimmedString
29
26
  } from "./chunk-3EUW3WEO.js";
27
+ import {
28
+ isRecord
29
+ } from "./chunk-KUG52IAP.js";
30
30
 
31
31
  // packages/cli/oauth/callback-server.ts
32
32
  import { createServer } from "node:http";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-6SMMK7MD.js";
3
+ } from "./chunk-GKB4AZKV.js";
4
4
  import {
5
5
  prepareAndPersistMessage,
6
6
  uiAskChoiceFunc,
7
7
  uiAskChoiceFunctionSchema
8
- } from "./chunk-EURF2SV6.js";
8
+ } from "./chunk-UMCMW5R3.js";
9
9
  import {
10
10
  require_date_fns
11
11
  } from "./chunk-M76ECQRD.js";
12
12
  import {
13
13
  TOOL_PACKS
14
- } from "./chunk-LGUQHYAL.js";
14
+ } from "./chunk-O5FLGN2L.js";
15
15
  import {
16
16
  buildSkillDocMarkdown
17
17
  } from "./chunk-AETZ7AD6.js";
18
18
  import {
19
19
  PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
20
20
  PLATFORM_HOSTED_KIMI_PROVIDER
21
- } from "./chunk-WL3UOGYO.js";
21
+ } from "./chunk-G4WSLTQF.js";
22
22
  import {
23
23
  read,
24
24
  readAndWait,
25
25
  removeCachedEntity,
26
26
  upsertSSREntity,
27
27
  write
28
- } from "./chunk-76UA7376.js";
28
+ } from "./chunk-273FJUYI.js";
29
29
  import {
30
30
  createAgentKey,
31
31
  createDialogKey,
@@ -40,19 +40,19 @@ import {
40
40
  } from "./chunk-BJIRLHJR.js";
41
41
  import {
42
42
  selectIdentityUserId
43
- } from "./chunk-HHBXCRJS.js";
43
+ } from "./chunk-XOJRZUPF.js";
44
44
  import {
45
45
  isDevelopment
46
- } from "./chunk-L3JWI7WX.js";
47
- import {
48
- isRecord
49
- } from "./chunk-KUG52IAP.js";
46
+ } from "./chunk-QOKAKDPE.js";
50
47
  import {
51
48
  asTrimmedString
52
49
  } from "./chunk-3EUW3WEO.js";
53
50
  import {
54
51
  asOptionalPositiveFiniteNumber
55
52
  } from "./chunk-U6VC4MU4.js";
53
+ import {
54
+ isRecord
55
+ } from "./chunk-KUG52IAP.js";
56
56
  import {
57
57
  asOptionalTrimmedString
58
58
  } from "./chunk-G3SUCT4W.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-B54WOZ77.js";
3
+ } from "./chunk-7H7GQL6V.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-A7GB5UGH.js";
@@ -1,13 +1,13 @@
1
+ import {
2
+ getActiveDialogKey
3
+ } from "./chunk-6YTOJY35.js";
1
4
  import {
2
5
  require_date_fns
3
6
  } from "./chunk-M76ECQRD.js";
4
- import {
5
- getActiveDialogKey
6
- } from "./chunk-MRWGHF56.js";
7
7
  import {
8
8
  patch,
9
9
  selectById
10
- } from "./chunk-76UA7376.js";
10
+ } from "./chunk-273FJUYI.js";
11
11
  import {
12
12
  __toESM
13
13
  } from "./chunk-4VNS5WPM.js";
@@ -2,16 +2,16 @@ import {
2
2
  getAllServers,
3
3
  getIsDesktopApp,
4
4
  isAbortError
5
- } from "./chunk-L3JWI7WX.js";
6
- import {
7
- isRecord
8
- } from "./chunk-KUG52IAP.js";
5
+ } from "./chunk-QOKAKDPE.js";
9
6
  import {
10
7
  asTrimmedString
11
8
  } from "./chunk-3EUW3WEO.js";
12
9
  import {
13
10
  asOptionalPositiveFiniteNumber
14
11
  } from "./chunk-U6VC4MU4.js";
12
+ import {
13
+ isRecord
14
+ } from "./chunk-KUG52IAP.js";
15
15
  import {
16
16
  API_ENDPOINTS,
17
17
  SERVERS,