nolo-cli 0.213.0 → 0.219.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 (262) hide show
  1. package/README.md +3 -2
  2. package/{_executeModel-CUJLCFWR.js → _executeModel-WW57SJN4.js} +111 -82
  3. package/{accountResolver-4LKIHEKL.js → accountResolver-EK2S4PWF.js} +6 -6
  4. package/{action-DF5UYSJF.js → action-CK64LS6S.js} +12 -11
  5. package/{addContentAction-WERAONNY.js → addContentAction-EQXMFNPR.js} +18 -17
  6. package/{addDialogAgentAction-7VI7YRML.js → addDialogAgentAction-RSDZDASD.js} +21 -20
  7. package/{agentDeleteCommand-XJORXPGU.js → agentDeleteCommand-X2VWEKUA.js} +127 -118
  8. package/{agentEmailCommands-XTYYFR6Z.js → agentEmailCommands-6IE773VW.js} +132 -124
  9. package/{agentFavoriteCommands-EDK743YA.js → agentFavoriteCommands-2LKGKSUD.js} +7 -8
  10. package/{agentGrantCommands-RQWK2TEV.js → agentGrantCommands-QQV4N4JW.js} +5 -5
  11. package/{agentListCommands-OBLRBLHS.js → agentListCommands-5UNM7CGG.js} +155 -92
  12. package/{agentMachineCommands-5FMT3OT5.js → agentMachineCommands-EVWFKK6Q.js} +62 -54
  13. package/{agentProviderCommands-Q5O33MED.js → agentProviderCommands-ZCH37KAL.js} +5 -5
  14. package/{agentPullCommand-6EM3URVK.js → agentPullCommand-XN6ZPBUW.js} +7 -7
  15. package/agentRecordCommands-DX2WE6BH.js +176 -0
  16. package/agentRunCommand-KGOT2AFB.js +206 -0
  17. package/{agentRunControl-TAMHJQSR.js → agentRunControl-QDFW5P2T.js} +30 -15
  18. package/{agentRuntimeLocal-SOO2OPJG.js → agentRuntimeLocal-SD7U2EGY.js} +52 -45
  19. package/{agentSlice-CHR6KOZN.js → agentSlice-ACZGTZVW.js} +20 -19
  20. package/{appDeleteCommands-GUP6P5YE.js → appDeleteCommands-NE3NQQJL.js} +61 -53
  21. package/{appDeployCommands-MH2FX4O5.js → appDeployCommands-2BAHY522.js} +61 -53
  22. package/{appDeployStatusCommands-SUHN3HPJ.js → appDeployStatusCommands-JTW6LZNC.js} +61 -53
  23. package/{appGetCommands-YWDEX6Z4.js → appGetCommands-WKFEJO6A.js} +61 -53
  24. package/{appListCommands-ZQVMLPAY.js → appListCommands-HNAZZLFX.js} +61 -53
  25. package/{authCommand-PWX2ZNUP.js → authCommand-4FDPL7WG.js} +29 -28
  26. package/{authCommands-HV3EAU3V.js → authCommands-GAJ3NIXO.js} +14 -13
  27. package/{builtinSkillRegistry-2QETTQPM.js → builtinSkillRegistry-PXH7EGQB.js} +11 -13
  28. package/{chromeCommands-REEAH4SX.js → chromeCommands-G5UDKVSV.js} +3 -3
  29. package/{chromeOpsCommands-DIVM2K3T.js → chromeOpsCommands-YKX2QX3A.js} +20 -10
  30. package/chunk-2KTUDBG7.js +675 -0
  31. package/{chunk-TCZHTTUU.js → chunk-2OLYKYNY.js} +8 -8
  32. package/{chunk-PYRUW7XN.js → chunk-2VUZSVAS.js} +136 -54
  33. package/{chunk-YB3YZK56.js → chunk-2WZXXAQD.js} +1 -67
  34. package/chunk-2YGBI2XB.js +30 -0
  35. package/chunk-2ZKFCIJJ.js +13 -0
  36. package/{chunk-G2BQWAVT.js → chunk-3ESU44FG.js} +4 -4
  37. package/{chunk-HUBHAQK2.js → chunk-3N4ASIP6.js} +29 -29
  38. package/{chunk-4KB6WQUL.js → chunk-4A2JIXR2.js} +1 -1
  39. package/{chunk-MYOH447Z.js → chunk-4JVNURX4.js} +1 -1
  40. package/{chunk-H7PPIYWP.js → chunk-4NMHE7CX.js} +20 -20
  41. package/{chunk-YDH3FDFQ.js → chunk-5FUN7EG4.js} +1 -1
  42. package/chunk-5OZC7R7Y.js +97 -0
  43. package/chunk-5R63B62U.js +364 -0
  44. package/{chunk-INUFILG6.js → chunk-5RKUPJYL.js} +1 -1
  45. package/{chunk-ZNWI6OVT.js → chunk-652XYZGP.js} +80 -11
  46. package/{chunk-QHPRUL4O.js → chunk-65XXHYZ5.js} +4 -4
  47. package/{chunk-MOIJOHA5.js → chunk-6D7NVU66.js} +36 -25
  48. package/{chunk-CRHOO2ZR.js → chunk-6NKA6RKF.js} +2 -2
  49. package/{chunk-ZC3CMUKU.js → chunk-6OVNSQHN.js} +84 -2
  50. package/{chunk-H2TJUNCH.js → chunk-6RQFZCKH.js} +18 -18
  51. package/{chunk-LLRPJECG.js → chunk-7UH3DGV6.js} +17 -159
  52. package/{chunk-X7SDOJUM.js → chunk-7WPAI5JJ.js} +14 -14
  53. package/{chunk-P5L7CXOC.js → chunk-7Z6EW7AH.js} +3 -2
  54. package/{chunk-VO4WSAVP.js → chunk-AFHOCBSP.js} +3 -3
  55. package/{chunk-HPFCI4SK.js → chunk-AK5O76CC.js} +3 -3
  56. package/{chunk-Y63ZSOR6.js → chunk-AL3TYDIF.js} +1 -1
  57. package/{chunk-ALQ3657A.js → chunk-AMEOV5VZ.js} +32 -12
  58. package/chunk-AVHRSJUH.js +1621 -0
  59. package/{chunk-RLBNLZVC.js → chunk-BGGHA5DV.js} +1 -1
  60. package/{chunk-NBTY7YJF.js → chunk-BR3GT6MR.js} +1 -0
  61. package/{chunk-7RFNTILS.js → chunk-BUDVRYES.js} +2 -2
  62. package/{chunk-SVYO6AO7.js → chunk-BV3FLP2L.js} +41 -1
  63. package/{chunk-RZOV7OMV.js → chunk-C4VAR65S.js} +83 -141
  64. package/{chunk-COFEN36Z.js → chunk-C4WTX5TU.js} +2 -2
  65. package/{chunk-F6UUQOG6.js → chunk-CKT6QUE2.js} +4 -4
  66. package/{chunk-6VLJ6YA7.js → chunk-CXDPIPZ4.js} +9 -9
  67. package/{secretCommands-LXDWOLZ6.js → chunk-D726I5AZ.js} +191 -16
  68. package/{chunk-OQPKUBPB.js → chunk-DJSTBAOU.js} +19 -7
  69. package/chunk-DVQH4BTR.js +1137 -0
  70. package/{chunk-7OCO4TDT.js → chunk-EGXPAWLG.js} +1 -1
  71. package/chunk-EOWLBDY6.js +142 -0
  72. package/chunk-EUCFKKDM.js +247 -0
  73. package/chunk-EWQ3HGNZ.js +90 -0
  74. package/{chunk-7Y4YTDQF.js → chunk-F3TQURKK.js} +281 -159
  75. package/{chunk-YTF4WH7J.js → chunk-FIYSMXHY.js} +1 -1
  76. package/{chunk-75XIDFBW.js → chunk-FJ23FZXF.js} +72 -28
  77. package/{chunk-5MQRBSMW.js → chunk-FRSBYNWI.js} +111 -113
  78. package/{chunk-ZXOUUDCG.js → chunk-FVZW66K4.js} +3657 -233
  79. package/{chunk-YUA6OAH5.js → chunk-G2EJ7NL4.js} +2 -2
  80. package/{chunk-PCLE46CE.js → chunk-GBWGPTA7.js} +2 -1
  81. package/{chunk-R5O4QAWG.js → chunk-GGKNJ42M.js} +11 -77
  82. package/{chunk-TAKB25RM.js → chunk-GIABSSWQ.js} +4 -4
  83. package/{chunk-WRYQ35LQ.js → chunk-GNHMRBYZ.js} +859 -57
  84. package/{chunk-NJLL224W.js → chunk-GVGOEMNV.js} +2 -2
  85. package/{chunk-J2NHJ7WX.js → chunk-H7R3365N.js} +4 -4
  86. package/{chunk-7BT37FK3.js → chunk-HCJFGH6Y.js} +648 -131
  87. package/{chunk-3UKL3HPD.js → chunk-HOCHUZQ7.js} +8 -78
  88. package/{chunk-EHSZD5OI.js → chunk-HXER7YJF.js} +4 -4
  89. package/{chunk-CTPXME7U.js → chunk-IWH5SOU4.js} +29 -6
  90. package/{chunk-INN4LTAJ.js → chunk-IWQAOW2X.js} +2 -2
  91. package/{chunk-RPQXPZZF.js → chunk-J6T25AJ6.js} +908 -13
  92. package/{chunk-KIM6CLW5.js → chunk-JC5XLWZK.js} +42 -15
  93. package/chunk-JVRQ6YVK.js +99 -0
  94. package/{chunk-ZRSNONOB.js → chunk-JWXITTQB.js} +8 -3
  95. package/{chunk-NSAPDIN2.js → chunk-K5FNYHZC.js} +541 -31
  96. package/{chunk-TX5EYMGT.js → chunk-KAVGK4ES.js} +30 -254
  97. package/{chunk-H4UOTUOX.js → chunk-KEN3N2TN.js} +148 -18
  98. package/{chunk-LEC5ALIN.js → chunk-KEPOVMF4.js} +1 -1
  99. package/{chunk-Y6ORVLSS.js → chunk-KN3HEZIQ.js} +1 -1
  100. package/{chunk-UYD5HQ6T.js → chunk-KO63FPG3.js} +5429 -1752
  101. package/{chunk-IXNGOHV5.js → chunk-KOXKKHFE.js} +11 -152
  102. package/{chunk-4VJAC32I.js → chunk-L5I543VB.js} +3 -2
  103. package/{chunk-SM3NSZJV.js → chunk-LE6LGAJE.js} +20 -1
  104. package/chunk-LKA64WH4.js +227 -0
  105. package/{chunk-VL5KOY2C.js → chunk-MK2Q7ZJD.js} +67 -5
  106. package/{chunk-YJAFKXMU.js → chunk-MKQ2UTTX.js} +50 -48
  107. package/chunk-MOMR7NMG.js +226 -0
  108. package/{chunk-4T2WNOY7.js → chunk-N3J4VDGV.js} +33 -22
  109. package/{chunk-AZMYUSVF.js → chunk-N5Z2V73W.js} +1 -1
  110. package/{chunk-6DWMYIUY.js → chunk-N7HVLYOY.js} +14 -9
  111. package/{chunk-7QTZCMKL.js → chunk-O2CYENYJ.js} +1204 -1651
  112. package/{chunk-VNYYOX3V.js → chunk-OB6DVWPF.js} +141 -48
  113. package/{chunk-HRMJUN5J.js → chunk-OGHP3CTL.js} +1 -1
  114. package/{chunk-XJWWBO34.js → chunk-OJKUU3LP.js} +5 -7
  115. package/{chunk-G7MLNNEX.js → chunk-OOF7XDZF.js} +5 -5
  116. package/{chunk-QG4AOSON.js → chunk-OXKUPBAQ.js} +13 -32
  117. package/{chunk-6XIE5ZGI.js → chunk-PDCV7P5W.js} +1 -1
  118. package/{chunk-H5HF7TJA.js → chunk-PFJNLBRU.js} +2 -2
  119. package/{chunk-A7TFUNZO.js → chunk-PPJYZRSQ.js} +6 -2
  120. package/chunk-PVZY6P3S.js +271 -0
  121. package/{chunk-ZL5RAEEB.js → chunk-Q6HOUF4O.js} +1 -1
  122. package/{chunk-FUGMREBO.js → chunk-Q7WP5RPC.js} +5 -5
  123. package/chunk-QHEN7NZ7.js +46 -0
  124. package/{chunk-O2TZF4AI.js → chunk-QLFCTYRH.js} +3 -3
  125. package/{chunk-YGILMZ7N.js → chunk-QVBXJNZ2.js} +1 -1
  126. package/{chunk-KFLT5KAD.js → chunk-QWYFFHCJ.js} +20 -20
  127. package/{chunk-C6KNNXWU.js → chunk-RGQ4UUWZ.js} +25 -2
  128. package/{chunk-OWYYDMGJ.js → chunk-S2NTVGA2.js} +4 -2
  129. package/{chunk-BBJ22CLB.js → chunk-S7SB7L2I.js} +60 -30
  130. package/{chunk-W4S457LU.js → chunk-SASHAZ67.js} +41 -5
  131. package/{chunk-KC4XDTT3.js → chunk-SOF4OWDM.js} +6 -4
  132. package/{chunk-YWSEPJ7C.js → chunk-SRL56PI2.js} +3 -3
  133. package/{chunk-WMTBPBMP.js → chunk-SYQR7FQS.js} +52 -50
  134. package/{chunk-JY5NGFFH.js → chunk-SYTHYBMI.js} +5 -5
  135. package/{chunk-XHQC4PXX.js → chunk-T3O6BLYU.js} +426 -196
  136. package/chunk-TLE77UJ5.js +230 -0
  137. package/{chunk-T43B7LB2.js → chunk-TRWT3EE3.js} +1 -1
  138. package/{chunk-RSHTSUEG.js → chunk-TVFRV3UQ.js} +2060 -602
  139. package/{chunk-4VNS5WPM.js → chunk-U67V476Y.js} +1 -8
  140. package/{chunk-F7CI2ZC5.js → chunk-UAIHKQIA.js} +2 -1
  141. package/{chunk-LOEO7LRC.js → chunk-UJKTI5PG.js} +10 -7
  142. package/{chunk-UHJGXRJ4.js → chunk-UMRI2IRY.js} +3 -3
  143. package/{chunk-WPORQFYN.js → chunk-UVLYNWIE.js} +2 -2
  144. package/{chunk-NOKUNJON.js → chunk-UYOICCYG.js} +29 -19
  145. package/{chunk-GOO6G4PY.js → chunk-VALBGPM6.js} +106 -50
  146. package/{chunk-MDB67IWP.js → chunk-VHPAA6MT.js} +10 -10
  147. package/{chunk-4I7ERB7F.js → chunk-VREDDN25.js} +1 -1
  148. package/{chunk-WYDI6TGM.js → chunk-XFJ4ZPFC.js} +91 -132
  149. package/{chunk-TY3TIUJK.js → chunk-XI2BWJM5.js} +65 -0
  150. package/{chunk-V5Y3R6BT.js → chunk-XWGDCWXY.js} +213 -210
  151. package/{chunk-J5JTMQIA.js → chunk-YFLVRVYK.js} +1 -1
  152. package/{chunk-EYLGAEB4.js → chunk-YGMBIXCF.js} +132 -0
  153. package/chunk-YL3EFYL3.js +199 -0
  154. package/{chunk-MMA3LZ3W.js → chunk-YNIYE47Z.js} +1 -1
  155. package/chunk-YZMNK53S.js +68 -0
  156. package/{chunk-FY7F4Q6X.js → chunk-Z4PCXPUE.js} +2 -2
  157. package/{cliAgentConfigHelpers-WJBZQTLW.js → cliAgentConfigHelpers-PO3MVDME.js} +15 -16
  158. package/{cliAuthorityBrokerClient-PM3U6Q6J.js → cliAuthorityBrokerClient-XHH7MH2P.js} +1 -1
  159. package/{cliAuthorityStoreDriver-TKLXNNTG.js → cliAuthorityStoreDriver-6FE3BJNB.js} +1 -1
  160. package/{cliEnvHelpers-BVYTMUPJ.js → cliEnvHelpers-VPSJ4XWC.js} +3 -3
  161. package/{cliExecutor-BWBF2MTI.js → cliExecutor-4MAX3PZL.js} +2 -2
  162. package/cliLocalAgentRecordReader-Z7CH4K4R.js +90 -0
  163. package/{commandRegistry-W63CYRZJ.js → commandRegistry-SDSYBKMC.js} +105 -97
  164. package/{contentThunks-U7PL5MQD.js → contentThunks-G3TRPEAU.js} +47 -43
  165. package/{cooldownCommands-TIGUHXTD.js → cooldownCommands-X7P5M2V5.js} +5 -4
  166. package/{createAgentAutomationAction-OLBQDD6R.js → createAgentAutomationAction-KHA4MXUJ.js} +51 -49
  167. package/{createDialogAction-SVH6B3SB.js → createDialogAction-KWSBNAPJ.js} +46 -48
  168. package/{createPageAction-F4DIWZ2Z.js → createPageAction-HXKJ7OFG.js} +50 -48
  169. package/{cursorProvider-YGGNMVWX.js → cursorProvider-2RACMEMF.js} +1 -1
  170. package/{db-HUCI5R4G.js → db-CS4ZJQKV.js} +1 -1
  171. package/{dbSlice-BVH2YZPQ.js → dbSlice-ZJPDIFER.js} +17 -16
  172. package/{deleteFile-5YOEKV4U.js → deleteFile-Q3YDB4ML.js} +9 -9
  173. package/{desktopFolderProjects-SFY5EZS3.js → desktopFolderProjects-4POAMVJN.js} +2 -2
  174. package/{dialogCommands-KHIEPY3M.js → dialogCommands-6KQEBHSG.js} +64 -57
  175. package/dialogNotifyCommand-WIZFFEY3.js +36 -0
  176. package/{dialogSlice-ZCTDV2PZ.js → dialogSlice-HXPKFGRL.js} +42 -40
  177. package/{dialogUsageCommand-7KCPYGHG.js → dialogUsageCommand-HTVPR2CX.js} +11 -10
  178. package/{docCreateCommands-DPMZI7G5.js → docCreateCommands-XZOLWBRC.js} +61 -55
  179. package/{docDeleteCommands-IRQQLUBT.js → docDeleteCommands-ZSO4LGWE.js} +63 -57
  180. package/{docReadCommands-LK37XH6L.js → docReadCommands-TTMXCDER.js} +61 -55
  181. package/{docStore-V2KECILA.js → docStore-A2B3GH33.js} +21 -20
  182. package/{docUpdateCommands-O6T3HJHH.js → docUpdateCommands-PRG6WOXL.js} +64 -58
  183. package/{fetchMessages-NR4KNQLO.js → fetchMessages-TQEUZD7H.js} +8 -7
  184. package/{getPricing-2MNMXEVG.js → getPricing-YH3VMSVU.js} +6 -6
  185. package/{handleSendMessageAction-2PE25WM3.js → handleSendMessageAction-NWYG3Q72.js} +194 -302
  186. package/{hostCredentialCreate-S233UMAP.js → hostCredentialCreate-WS6D3EHT.js} +123 -114
  187. package/index.js +29 -29
  188. package/{keys-BEGDOTRL.js → keys-RWF7UCB4.js} +5 -4
  189. package/legacyMigration-TF4SYJCZ.js +19 -0
  190. package/{lib-5KKIBFIT.js → lib-OT5OTXRU.js} +7087 -6664
  191. package/{localDialogRead-7NNDVVF7.js → localDialogRead-SVTPA5GY.js} +3 -3
  192. package/{localFirstLog-DHNOY2NA.js → localFirstLog-OIETGK66.js} +1 -1
  193. package/localRecall-2J6QPOK2.js +15 -0
  194. package/{localRuntimeAdapter-KY6WXNBR.js → localRuntimeAdapter-TFYOA6YE.js} +119 -110
  195. package/{localRuntimeAuthority-OYH4AE4G.js → localRuntimeAuthority-IBJAT62G.js} +1 -1
  196. package/{localRuntimeDb-VBIMCWUC.js → localRuntimeDb-N7KHDXS2.js} +2 -2
  197. package/{machineCommands-Q6HA3IXF.js → machineCommands-WFWV25IR.js} +128 -119
  198. package/{machineInfo-UKPTZO5Y.js → machineInfo-LWHTEBHJ.js} +1 -1
  199. package/machineWsRunDispatch-ZGXC3F2R.js +191 -0
  200. package/{memberThunks-7EDJADWU.js → memberThunks-JRYNONYV.js} +29 -28
  201. package/{memoryCommands-ASCE5STX.js → memoryCommands-5WC3T66U.js} +4 -4
  202. package/models-CXINDUJA.js +9 -0
  203. package/{oauthTokenStore-OEERZFUC.js → oauthTokenStore-RUYNYALS.js} +1 -1
  204. package/{offlineMarxistsAgentCommand-2QTHJCHV.js → offlineMarxistsAgentCommand-4IC3Y4C6.js} +4 -4
  205. package/overlay-THLKYIWY.js +11 -0
  206. package/package.json +2 -2
  207. package/{pdf-U6KSUEZZ.js → pdf-KE3QI2V7.js} +1 -1
  208. package/{processSpawn-ZU5QFM43.js → processSpawn-6GEO77KV.js} +1 -1
  209. package/{profileConfig-KN3N2BLF.js → profileConfig-KOWK4HOG.js} +1 -1
  210. package/{projectArchive-DRTDIMEV.js → projectArchive-ULJDLUA6.js} +52 -50
  211. package/{providerPresetApply-YXGV6NXB.js → providerPresetApply-SHT2SUVB.js} +19 -12
  212. package/{providerRegistry-S6UL6UNA.js → providerRegistry-TA7EGCVZ.js} +10 -10
  213. package/{read-4V2RMG7N.js → read-Q7GOHGNP.js} +10 -10
  214. package/{readDocTool-BH6ATGQO.js → readDocTool-Z5OQ6422.js} +2 -2
  215. package/{readlineWorkspace-2W4WRCOU.js → readlineWorkspace-LTCV2BFW.js} +7982 -6274
  216. package/{removeDialogAgentAction-LYAZGNKW.js → removeDialogAgentAction-U3F2MNAY.js} +23 -22
  217. package/{runAgentClientLoop-J2VQBS2Z.js → runAgentClientLoop-BVIEQUB3.js} +81 -79
  218. package/{runtimeDoctorCommands-QAI3MBKQ.js → runtimeDoctorCommands-I47JN4HS.js} +12 -12
  219. package/{runtimeModeArgs-2Y7BALTO.js → runtimeModeArgs-X7DL7PUN.js} +1 -1
  220. package/secretCommands-LJXOOYA7.js +24 -0
  221. package/{setDialogExtraReferencesAction-OCRPGPYH.js → setDialogExtraReferencesAction-G3WSJ7EM.js} +22 -21
  222. package/{setPrimaryDialogAgentAction-HFJDQIBU.js → setPrimaryDialogAgentAction-6FHAHZBB.js} +23 -22
  223. package/{settingThunks-RAMHMTGM.js → settingThunks-AXTBX3Q5.js} +97 -88
  224. package/{skillDiscovery-XKHROSH2.js → skillDiscovery-B5V23AXP.js} +4 -4
  225. package/{skillSummaryMarker-42HKSXYY.js → skillSummaryMarker-62UW7HI7.js} +1 -1
  226. package/{slateToRenderMarkdown-Y5IYN73U.js → slateToRenderMarkdown-R3X74MCX.js} +1 -1
  227. package/{slateUtils-NGV2NMKM.js → slateUtils-ESQAJ6RN.js} +1 -1
  228. package/{spaceCommands-KVJZVKVO.js → spaceCommands-IB6FKWIC.js} +61 -53
  229. package/store-JRVN62NM.js +46 -0
  230. package/{streamAgentChatTurn-GHBMJJ6S.js → streamAgentChatTurn-DNYFHBJM.js} +875 -618
  231. package/{switchDialogAgentAction-EBRMW3RA.js → switchDialogAgentAction-UOFIAGPL.js} +21 -20
  232. package/{tableCommands-MP6VFSVT.js → tableCommands-HITDSLHS.js} +10 -10
  233. package/tombstones-FQQMEDOW.js +32 -0
  234. package/{toolApiClient-HGNO53TC.js → toolApiClient-OGQEBQVX.js} +4 -4
  235. package/{tools-EWKCPKMS.js → tools-JVOJ5HC4.js} +75 -74
  236. package/tuiSummaryLlmCaller-7LWYTHLM.js +44 -0
  237. package/{updateCommands-ZQYU6SCI.js → updateCommands-RJVCRSBP.js} +10 -8
  238. package/{updateDialogTitleAction-5GGMBTDF.js → updateDialogTitleAction-Q57BOSXG.js} +48 -46
  239. package/{usageCommand-F4IPVMIZ.js → usageCommand-RVKHEPLU.js} +11 -10
  240. package/{usageRebuildCommand-HAW2AD5N.js → usageRebuildCommand-GRAFOZF2.js} +12 -11
  241. package/userDataMerge-HT2ZVHBJ.js +13 -0
  242. package/{windowsSelfUpdate-257DV2T6.js → windowsSelfUpdate-KERHIAB4.js} +3 -3
  243. package/{workloadLifecycle-4C42SVBD.js → workloadLifecycle-O2I3NZ2Q.js} +6 -6
  244. package/agentRecordCommands-ZQ7SVYGG.js +0 -167
  245. package/agentRunCommand-WS7IGO2W.js +0 -196
  246. package/chunk-3CGG2PAL.js +0 -594
  247. package/chunk-5XBUWM6I.js +0 -89
  248. package/chunk-CJEIOP3E.js +0 -0
  249. package/chunk-EHGEOAHI.js +0 -636
  250. package/chunk-FW6YHHLI.js +0 -842
  251. package/chunk-GPVRUGGY.js +0 -115
  252. package/chunk-HSVBJRF4.js +0 -339
  253. package/chunk-WJZOQR2J.js +0 -151
  254. package/chunk-ZCWRMUWT.js +0 -89
  255. package/dist-M676ULYG.js +0 -7314
  256. package/machineWsRunDispatch-WWJQ6WR3.js +0 -182
  257. package/models-PJBE6JDV.js +0 -9
  258. package/tuiSummaryLlmCaller-ALQYUUWB.js +0 -189
  259. package/{chunk-WACI5I6V.js → chunk-2THCNKE4.js} +3 -3
  260. package/{chunk-2QHFH3DR.js → chunk-47ITIXO7.js} +6 -6
  261. package/{chunk-OQHIVPG4.js → chunk-SNBZZPYH.js} +3 -3
  262. package/{chunk-AETZ7AD6.js → chunk-W6RFEDN4.js} +3 -3
@@ -5,7 +5,7 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-G2BQWAVT.js";
8
+ } from "./chunk-3ESU44FG.js";
9
9
  import {
10
10
  CONFIRMATION_INPUT_KEYS,
11
11
  INVALID_TOOL_ARGS_REPLACEMENT,
@@ -14,16 +14,11 @@ import {
14
14
  performFetchRequest,
15
15
  sanitizeOutboundMessages,
16
16
  stripModelToolArgs
17
- } from "./chunk-BBJ22CLB.js";
17
+ } from "./chunk-S7SB7L2I.js";
18
18
  import {
19
19
  findToolExecutor,
20
20
  toolDefinitionsByName
21
- } from "./chunk-XHQC4PXX.js";
22
- import {
23
- classifyApiError,
24
- classifyGenerationError,
25
- extractErrorDiagnostics
26
- } from "./chunk-TX5EYMGT.js";
21
+ } from "./chunk-T3O6BLYU.js";
27
22
  import {
28
23
  createSSEParser,
29
24
  createToolRunId,
@@ -32,10 +27,7 @@ import {
32
27
  toolRunSetPending,
33
28
  toolRunStarted,
34
29
  toolRunSucceeded
35
- } from "./chunk-HUBHAQK2.js";
36
- import {
37
- getPublicImageAgentMode
38
- } from "./chunk-VIDPVFP3.js";
30
+ } from "./chunk-3N4ASIP6.js";
39
31
  import {
40
32
  addToolMessage,
41
33
  messageStreamEnd,
@@ -43,31 +35,31 @@ import {
43
35
  toast,
44
36
  toolResultNeedsUserConfirmation,
45
37
  updateToolMessage
46
- } from "./chunk-ZXOUUDCG.js";
38
+ } from "./chunk-FVZW66K4.js";
47
39
  import {
48
40
  streamAgentChatTurn
49
- } from "./chunk-KFLT5KAD.js";
41
+ } from "./chunk-QWYFFHCJ.js";
50
42
  import {
51
43
  getCurrentSpaceId
52
- } from "./chunk-5XBUWM6I.js";
44
+ } from "./chunk-MOMR7NMG.js";
53
45
  import {
54
46
  addActiveController,
55
47
  getActiveDialogKey,
56
48
  removeActiveController,
57
49
  tokenUsageLiveUpdate
58
- } from "./chunk-OWYYDMGJ.js";
50
+ } from "./chunk-S2NTVGA2.js";
59
51
  import {
60
52
  require_react
61
- } from "./chunk-YDH3FDFQ.js";
53
+ } from "./chunk-5FUN7EG4.js";
62
54
  import {
63
55
  selectCurrentServer
64
- } from "./chunk-4I7ERB7F.js";
56
+ } from "./chunk-VREDDN25.js";
65
57
  import {
66
58
  write
67
- } from "./chunk-FW6YHHLI.js";
59
+ } from "./chunk-AVHRSJUH.js";
68
60
  import {
69
61
  createAsyncThunk
70
- } from "./chunk-P5L7CXOC.js";
62
+ } from "./chunk-7Z6EW7AH.js";
71
63
  import {
72
64
  selectIdentityToken
73
65
  } from "./chunk-PXYBUFDB.js";
@@ -78,7 +70,7 @@ import {
78
70
  projectUserPartForModel,
79
71
  resolveOutboundDiagnosticSink,
80
72
  resolveOutboundWire
81
- } from "./chunk-4KB6WQUL.js";
73
+ } from "./chunk-4A2JIXR2.js";
82
74
  import {
83
75
  accumulateToolCallDelta,
84
76
  createThinkParserState,
@@ -90,44 +82,52 @@ import {
90
82
  } from "./chunk-56GBUMO5.js";
91
83
  import {
92
84
  normalizeChatCompletionsBodyForProvider
93
- } from "./chunk-H5HF7TJA.js";
85
+ } from "./chunk-PFJNLBRU.js";
86
+ import {
87
+ classifyApiError,
88
+ classifyGenerationError,
89
+ extractErrorDiagnostics
90
+ } from "./chunk-TLE77UJ5.js";
94
91
  import {
95
92
  EMPTY_ASSISTANT_REPAIR_PROMPT
96
- } from "./chunk-V5Y3R6BT.js";
93
+ } from "./chunk-XWGDCWXY.js";
97
94
  import {
98
95
  getModelInfo
99
- } from "./chunk-7BT37FK3.js";
96
+ } from "./chunk-HCJFGH6Y.js";
100
97
  import {
101
98
  isAbortError
102
99
  } from "./chunk-7DPNBQSV.js";
103
100
  import {
104
101
  extractCustomId
105
102
  } from "./chunk-M2EJHDJP.js";
106
- import {
107
- getApiEndpoint
108
- } from "./chunk-SM3NSZJV.js";
109
- import {
110
- toErrorMessage
111
- } from "./chunk-HNMXYYJR.js";
112
- import {
113
- isRecord
114
- } from "./chunk-KUG52IAP.js";
115
103
  import {
116
104
  toTrimmedString
117
- } from "./chunk-JY5NGFFH.js";
105
+ } from "./chunk-SYTHYBMI.js";
118
106
  import {
119
107
  createDialogMessageKeyAndId,
120
108
  dialogMessageKey
121
- } from "./chunk-XJWWBO34.js";
109
+ } from "./chunk-OJKUU3LP.js";
110
+ import {
111
+ getPublicImageAgentMode
112
+ } from "./chunk-VIDPVFP3.js";
113
+ import {
114
+ toErrorMessage
115
+ } from "./chunk-HNMXYYJR.js";
122
116
  import {
123
117
  asTrimmedString
124
118
  } from "./chunk-3EUW3WEO.js";
119
+ import {
120
+ getApiEndpoint
121
+ } from "./chunk-LE6LGAJE.js";
122
+ import {
123
+ isRecord
124
+ } from "./chunk-KUG52IAP.js";
125
125
  import {
126
126
  asOptionalTrimmedString
127
127
  } from "./chunk-G3SUCT4W.js";
128
128
  import {
129
129
  __toESM
130
- } from "./chunk-4VNS5WPM.js";
130
+ } from "./chunk-U67V476Y.js";
131
131
 
132
132
  // packages/integrations/openai/filterAndCleanMessages.ts
133
133
  var isValidMessagePart = (part) => {
@@ -1178,6 +1178,16 @@ function shouldSkipBillingForUserAbort(error, totalUsage) {
1178
1178
  const hasCost = Object.prototype.hasOwnProperty.call(totalUsage, "cost") && typeof totalUsage.cost === "number";
1179
1179
  return !(hasTokenField || hasCost);
1180
1180
  }
1181
+ function buildFinalCompletionsRequestBody(bodyData, agentConfig, disableTools) {
1182
+ return normalizeChatCompletionsBodyForProvider({
1183
+ body: buildRequestBodyWithTools(bodyData, agentConfig, disableTools),
1184
+ provider: agentConfig.provider ?? "",
1185
+ model: agentConfig.model
1186
+ });
1187
+ }
1188
+ function buildEmptyCompletionRepairBody(body) {
1189
+ return { ...body, messages: [...body.messages ?? [], { role: "user", content: EMPTY_ASSISTANT_REPAIR_PROMPT }] };
1190
+ }
1181
1191
  function buildRequestBodyWithTools(bodyData, agentConfig, disableToolsForThisRequest) {
1182
1192
  const messagesForBody = Array.isArray(bodyData?.messages) ? sanitizeOutboundMessages(bodyData.messages) : bodyData?.messages;
1183
1193
  const baseBody = messagesForBody !== bodyData?.messages ? { ...bodyData, messages: messagesForBody } : bodyData;
@@ -1659,11 +1669,7 @@ var sendOpenAICompletionsRequest = async ({
1659
1669
  }
1660
1670
  dispatch(addActiveController({ messageId, controller, dialogKey }));
1661
1671
  const requestBody = await inlineImageUrlsForCustomProvider(
1662
- normalizeChatCompletionsBodyForProvider({
1663
- body: buildRequestBodyWithTools(bodyData, agentConfig, disableToolsForThisRequest),
1664
- provider: agentConfig.provider ?? "",
1665
- model: agentConfig.model
1666
- }),
1672
+ buildFinalCompletionsRequestBody(bodyData, agentConfig, disableToolsForThisRequest),
1667
1673
  {
1668
1674
  shouldInline: shouldInlineImageUrlsForAgent(agentConfig)
1669
1675
  }
@@ -1893,13 +1899,7 @@ var sendOpenAICompletionsRequest = async ({
1893
1899
  if (producedNothing && !emptyCompletionRetryUsed && !streamState.hasHandedOff && !streamState.alreadyFinalized && !signal.aborted) {
1894
1900
  emptyCompletionRetryUsed = true;
1895
1901
  closeDiagnosticAttempt(diagnosticCurrentAttempt, "stream-error");
1896
- const repairRequestBody = {
1897
- ...requestBody,
1898
- messages: [
1899
- ...requestBody.messages ?? [],
1900
- { role: "user", content: EMPTY_ASSISTANT_REPAIR_PROMPT }
1901
- ]
1902
- };
1902
+ const repairRequestBody = buildEmptyCompletionRepairBody(requestBody);
1903
1903
  const repairAttempt = beginDiagnosticAttempt(repairRequestBody);
1904
1904
  const retryResponse = await performFetchRequest({
1905
1905
  agentConfig,
@@ -2099,5 +2099,7 @@ export {
2099
2099
  handleToolCalls,
2100
2100
  updateTotalUsage,
2101
2101
  readStreamChunk,
2102
+ buildFinalCompletionsRequestBody,
2103
+ buildEmptyCompletionRepairBody,
2102
2104
  sendOpenAICompletionsRequest
2103
2105
  };
@@ -0,0 +1,226 @@
1
+ import {
2
+ require_react
3
+ } from "./chunk-5FUN7EG4.js";
4
+ import {
5
+ normalizeSpaceId
6
+ } from "./chunk-UAD2WT54.js";
7
+ import {
8
+ toTimestampMs
9
+ } from "./chunk-AVHRSJUH.js";
10
+ import {
11
+ __toESM
12
+ } from "./chunk-U67V476Y.js";
13
+
14
+ // packages/create/space/spaceCurrentStore.ts
15
+ var import_react = __toESM(require_react(), 1);
16
+ var VIEW_MODE_STORAGE_KEY = "nolo-space-view-mode";
17
+ var readStoredViewMode = () => {
18
+ try {
19
+ if (typeof window === "undefined") return "all";
20
+ return window.localStorage.getItem(VIEW_MODE_STORAGE_KEY) === "categories" ? "categories" : "all";
21
+ } catch {
22
+ return "all";
23
+ }
24
+ };
25
+ var writeStoredViewMode = (mode) => {
26
+ try {
27
+ if (typeof window === "undefined") return;
28
+ window.localStorage.setItem(VIEW_MODE_STORAGE_KEY, mode);
29
+ } catch {
30
+ }
31
+ };
32
+ var createInitialState = () => ({
33
+ currentSpaceId: null,
34
+ currentSpace: null,
35
+ viewMode: readStoredViewMode()
36
+ });
37
+ var state = createInitialState();
38
+ var listeners = /* @__PURE__ */ new Set();
39
+ var version = 0;
40
+ var notify = () => {
41
+ version += 1;
42
+ for (const listener of listeners) {
43
+ try {
44
+ listener();
45
+ } catch {
46
+ }
47
+ }
48
+ };
49
+ function getCurrentSpaceId() {
50
+ return state.viewMode === "all" ? null : state.currentSpaceId;
51
+ }
52
+ function getCurrentSpaceIdRaw() {
53
+ return state.currentSpaceId;
54
+ }
55
+ function getCurrentSpaceRaw() {
56
+ return state.currentSpace;
57
+ }
58
+ function getViewMode() {
59
+ return state.viewMode;
60
+ }
61
+ function setViewMode(mode) {
62
+ if (state.viewMode === mode) return;
63
+ state = { ...state, viewMode: mode };
64
+ writeStoredViewMode(mode);
65
+ notify();
66
+ }
67
+ function setCurrentSpace(space) {
68
+ state = { ...state, currentSpace: space };
69
+ notify();
70
+ }
71
+ function setCurrentSpaceBoth(spaceId, space) {
72
+ state = { ...state, currentSpaceId: spaceId, currentSpace: space };
73
+ notify();
74
+ }
75
+ function updateCurrentSpaceIfMatch(spaceId, space) {
76
+ const currentId = state.currentSpaceId;
77
+ if (currentId && normalizeSpaceId(currentId) === normalizeSpaceId(spaceId)) {
78
+ state = { ...state, currentSpace: space };
79
+ notify();
80
+ }
81
+ }
82
+
83
+ // packages/create/space/spaceMembershipStore.ts
84
+ var import_react2 = __toESM(require_react(), 1);
85
+ var createInitialState2 = () => ({
86
+ memberSpaces: null,
87
+ loading: false,
88
+ membershipStatus: "idle",
89
+ initialized: false
90
+ });
91
+ var state2 = createInitialState2();
92
+ var listeners2 = /* @__PURE__ */ new Set();
93
+ var version2 = 0;
94
+ var notify2 = () => {
95
+ version2 += 1;
96
+ for (const listener of listeners2) {
97
+ try {
98
+ listener();
99
+ } catch {
100
+ }
101
+ }
102
+ };
103
+ var getMembershipUpdatedAt = (space) => {
104
+ if (!space) return 0;
105
+ return toTimestampMs(
106
+ space.spaceUpdatedAt ?? space.memberUpdatedAt ?? space.updatedAt ?? space.createdAt ?? space.joinedAt
107
+ );
108
+ };
109
+ function dedupeMemberSpacesById(memberSpaces) {
110
+ const membershipMap = /* @__PURE__ */ new Map();
111
+ memberSpaces.forEach((space) => {
112
+ const prev = membershipMap.get(space.spaceId);
113
+ if (!prev || getMembershipUpdatedAt(space) >= getMembershipUpdatedAt(prev)) {
114
+ membershipMap.set(space.spaceId, space);
115
+ }
116
+ });
117
+ return Array.from(membershipMap.values());
118
+ }
119
+ function getAllMemberSpaces() {
120
+ const memberSpaces = dedupeMemberSpacesById(state2.memberSpaces || []);
121
+ return [...memberSpaces].sort((a, b) => {
122
+ return getMembershipUpdatedAt(b) - getMembershipUpdatedAt(a);
123
+ });
124
+ }
125
+ function setMemberSpaces(spaces) {
126
+ state2 = {
127
+ ...state2,
128
+ memberSpaces: spaces,
129
+ loading: false,
130
+ error: void 0,
131
+ membershipStatus: "fresh",
132
+ initialized: true
133
+ };
134
+ notify2();
135
+ }
136
+ function setMembershipLoading() {
137
+ state2 = { ...state2, loading: true, membershipStatus: "loading" };
138
+ notify2();
139
+ }
140
+ function setMembershipRejected(errorMessage, isRemoteUnavailable) {
141
+ const membershipStatus = isRemoteUnavailable ? "offline" : state2.membershipStatus === "loading" ? "idle" : state2.membershipStatus;
142
+ state2 = {
143
+ ...state2,
144
+ loading: false,
145
+ error: errorMessage,
146
+ membershipStatus
147
+ };
148
+ notify2();
149
+ }
150
+ function appendRecoveredMemberships(recovered) {
151
+ if (!recovered || recovered.length === 0) return;
152
+ if (state2.memberSpaces === null) {
153
+ state2 = {
154
+ ...state2,
155
+ memberSpaces: dedupeMemberSpacesById(recovered)
156
+ };
157
+ notify2();
158
+ return;
159
+ }
160
+ state2 = {
161
+ ...state2,
162
+ memberSpaces: dedupeMemberSpacesById([
163
+ ...state2.memberSpaces,
164
+ ...recovered
165
+ ]).sort((a, b) => toTimestampMs(b.joinedAt) - toTimestampMs(a.joinedAt))
166
+ };
167
+ notify2();
168
+ }
169
+ function setSpaceInitialized() {
170
+ state2 = { ...state2, initialized: true };
171
+ notify2();
172
+ }
173
+ function setMembershipLoaded() {
174
+ state2 = { ...state2, loading: false, error: void 0 };
175
+ notify2();
176
+ }
177
+ function addMemberSpace(space) {
178
+ const existing = state2.memberSpaces || [];
179
+ state2 = {
180
+ ...state2,
181
+ memberSpaces: dedupeMemberSpacesById([...existing, space])
182
+ };
183
+ notify2();
184
+ }
185
+ function removeMemberSpace(spaceId) {
186
+ if (!state2.memberSpaces) return;
187
+ const normalized = normalizeSpaceId(spaceId);
188
+ state2 = {
189
+ ...state2,
190
+ memberSpaces: state2.memberSpaces.filter(
191
+ (s) => normalizeSpaceId(s.spaceId) !== normalized
192
+ )
193
+ };
194
+ notify2();
195
+ }
196
+ function updateMemberSpaceName(spaceId, name) {
197
+ if (!state2.memberSpaces || !name) return;
198
+ state2 = {
199
+ ...state2,
200
+ memberSpaces: state2.memberSpaces.map(
201
+ (space) => space.spaceId === spaceId ? { ...space, spaceName: name } : space
202
+ )
203
+ };
204
+ notify2();
205
+ }
206
+
207
+ export {
208
+ getCurrentSpaceId,
209
+ getCurrentSpaceIdRaw,
210
+ getCurrentSpaceRaw,
211
+ getViewMode,
212
+ setViewMode,
213
+ setCurrentSpace,
214
+ setCurrentSpaceBoth,
215
+ updateCurrentSpaceIfMatch,
216
+ getAllMemberSpaces,
217
+ setMemberSpaces,
218
+ setMembershipLoading,
219
+ setMembershipRejected,
220
+ appendRecoveredMemberships,
221
+ setSpaceInitialized,
222
+ setMembershipLoaded,
223
+ addMemberSpace,
224
+ removeMemberSpace,
225
+ updateMemberSpaceName
226
+ };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-UYD5HQ6T.js";
4
+ } from "./chunk-KO63FPG3.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-HUBHAQK2.js";
7
+ } from "./chunk-3N4ASIP6.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-RSHTSUEG.js";
10
+ } from "./chunk-TVFRV3UQ.js";
11
11
  import {
12
12
  applyToolSurfaceConstraints
13
- } from "./chunk-KC4XDTT3.js";
13
+ } from "./chunk-SOF4OWDM.js";
14
14
  import {
15
15
  resolveLocalRuntimeEnvFromPolicy
16
- } from "./chunk-2QHFH3DR.js";
16
+ } from "./chunk-47ITIXO7.js";
17
17
  import {
18
18
  asRecordOrEmpty
19
19
  } from "./chunk-KX6YBIHG.js";
@@ -21,33 +21,33 @@ import {
21
21
  ownedAgentKey
22
22
  } from "./chunk-M2EJHDJP.js";
23
23
  import {
24
- toErrorMessage
25
- } from "./chunk-HNMXYYJR.js";
26
- import {
27
- isRecord
28
- } from "./chunk-KUG52IAP.js";
29
- import {
30
- parseUserIdFromAuthToken
31
- } from "./chunk-WACI5I6V.js";
32
- import {
33
- DEFAULT_NOLO_SERVER_URL
34
- } from "./chunk-OLZBQWZU.js";
24
+ asTrimmedNonEmptyStringArray
25
+ } from "./chunk-I42VC5KR.js";
35
26
  import {
36
27
  readPipeText,
37
28
  spawnProcess
38
29
  } from "./chunk-4O22PGNQ.js";
39
30
  import {
40
31
  t
41
- } from "./chunk-VNYYOX3V.js";
32
+ } from "./chunk-OB6DVWPF.js";
42
33
  import {
43
- asTrimmedNonEmptyStringArray
44
- } from "./chunk-I42VC5KR.js";
34
+ toErrorMessage
35
+ } from "./chunk-HNMXYYJR.js";
36
+ import {
37
+ asTrimmedString
38
+ } from "./chunk-3EUW3WEO.js";
39
+ import {
40
+ isRecord
41
+ } from "./chunk-KUG52IAP.js";
45
42
  import {
46
43
  asOptionalPositiveFiniteNumber
47
44
  } from "./chunk-U6VC4MU4.js";
48
45
  import {
49
- asTrimmedString
50
- } from "./chunk-3EUW3WEO.js";
46
+ parseUserIdFromAuthToken
47
+ } from "./chunk-2THCNKE4.js";
48
+ import {
49
+ DEFAULT_NOLO_SERVER_URL
50
+ } from "./chunk-OLZBQWZU.js";
51
51
  import {
52
52
  asOptionalTrimmedString
53
53
  } from "./chunk-G3SUCT4W.js";
@@ -1071,7 +1071,18 @@ async function handleConnectorRunMessage(message, send, executeCli, runtimeEnv,
1071
1071
  content: runContent,
1072
1072
  model: runModel,
1073
1073
  trace: runTrace,
1074
- artifacts
1074
+ artifacts,
1075
+ // Preserve host facts across the JSON transport. In particular do not
1076
+ // turn missing stopReason into success for legacy local runtimes.
1077
+ stopReason: result.stopReason,
1078
+ pending: result.pending,
1079
+ hasPendingInteraction: result.hasPendingInteraction,
1080
+ handoff: result.handoff,
1081
+ error: result.error,
1082
+ errorMessage: result.errorMessage,
1083
+ runtimeProviderFailure: result.runtimeProviderFailure,
1084
+ emptyAssistantFallbackReason: result.emptyAssistantFallbackReason,
1085
+ usage: result.usage
1075
1086
  }
1076
1087
  }));
1077
1088
  } catch (error) {
@@ -14,7 +14,7 @@ function buildCliLocalRuntimeDbEnv(env = process.env) {
14
14
  };
15
15
  }
16
16
  async function getDefaultCliLocalRuntimeDb(options = {}) {
17
- const { getDefaultCliLocalRuntimeDb: getAuthorityBackedDb } = await import("./localRuntimeAuthority-OYH4AE4G.js");
17
+ const { getDefaultCliLocalRuntimeDb: getAuthorityBackedDb } = await import("./localRuntimeAuthority-IBJAT62G.js");
18
18
  return getAuthorityBackedDb(options);
19
19
  }
20
20
 
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  require_formatISO
3
- } from "./chunk-WPORQFYN.js";
3
+ } from "./chunk-UVLYNWIE.js";
4
4
  import {
5
5
  require_react
6
- } from "./chunk-YDH3FDFQ.js";
6
+ } from "./chunk-5FUN7EG4.js";
7
7
  import {
8
8
  patch,
9
9
  readAndWait
10
- } from "./chunk-FW6YHHLI.js";
10
+ } from "./chunk-AVHRSJUH.js";
11
11
  import {
12
12
  toErrorMessage
13
13
  } from "./chunk-HNMXYYJR.js";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-G3SUCT4W.js";
17
17
  import {
18
18
  __toESM
19
- } from "./chunk-4VNS5WPM.js";
19
+ } from "./chunk-U67V476Y.js";
20
20
 
21
21
  // packages/render/page/docStore.ts
22
22
  var import_react = __toESM(require_react(), 1);
@@ -308,9 +308,9 @@ async function saveDocState(arg, { dispatch, getState }) {
308
308
  { slateToRenderMarkdown },
309
309
  { buildSkillSummaryMarker }
310
310
  ] = await Promise.all([
311
- import("./slateUtils-NGV2NMKM.js"),
312
- import("./slateToRenderMarkdown-Y5IYN73U.js"),
313
- import("./skillSummaryMarker-42HKSXYY.js")
311
+ import("./slateUtils-ESQAJ6RN.js"),
312
+ import("./slateToRenderMarkdown-R3X74MCX.js"),
313
+ import("./skillSummaryMarker-62UW7HI7.js")
314
314
  ]);
315
315
  const title = asOptionalTrimmedString(current.title) || extractTitleFromSlate(slateData) || "\u672A\u547D\u540D\u9875\u9762";
316
316
  const tools = extractMentionsFromSlate(slateData);
@@ -321,6 +321,7 @@ async function saveDocState(arg, { dispatch, getState }) {
321
321
  await dispatch(
322
322
  patch({
323
323
  dbKey: pageKey,
324
+ requireServerConfirmation: true,
324
325
  changes: {
325
326
  updatedAt,
326
327
  slateData,
@@ -334,7 +335,7 @@ async function saveDocState(arg, { dispatch, getState }) {
334
335
  ).unwrap();
335
336
  if (dbSpaceId) {
336
337
  try {
337
- const { updateContentTitle } = await import("./contentThunks-U7PL5MQD.js");
338
+ const { updateContentTitle } = await import("./contentThunks-G3TRPEAU.js");
338
339
  await dispatch(
339
340
  updateContentTitle({
340
341
  spaceId: dbSpaceId,
@@ -352,6 +353,10 @@ async function saveDocState(arg, { dispatch, getState }) {
352
353
  if (typeof window !== "undefined") {
353
354
  window.dispatchEvent(new Event("nolo-user-data-updated"));
354
355
  }
356
+ if (state.pageKey !== pageKey || state.slateData !== slateData || state.title !== current.title || state.icon !== icon) {
357
+ if (state.pageKey === pageKey) setState((prev) => ({ ...prev, isSaving: false, justSaved: false }));
358
+ return;
359
+ }
355
360
  setState((prev) => ({
356
361
  ...prev,
357
362
  isSaving: false,
@@ -373,7 +378,7 @@ async function saveDocState(arg, { dispatch, getState }) {
373
378
  }
374
379
  }
375
380
  async function createDocState(args, thunkApi) {
376
- const { createPageAction } = await import("./createPageAction-F4DIWZ2Z.js");
381
+ const { createPageAction } = await import("./createPageAction-HXKJ7OFG.js");
377
382
  return createPageAction(args, thunkApi);
378
383
  }
379
384
  function subscribe(listener) {