nolo-cli 0.227.0-alpha.1 → 0.227.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 (258) hide show
  1. package/README.md +3 -5
  2. package/{_executeModel-JKQGZ3HU.js → _executeModel-CXOFYVHC.js} +93 -87
  3. package/{action-CK64LS6S.js → action-R2EIXR7I.js} +11 -8
  4. package/{addContentAction-CARFID6E.js → addContentAction-W6JVLQ6H.js} +17 -16
  5. package/{addDialogAgentAction-APLZLFW5.js → addDialogAgentAction-LVNKMXKZ.js} +20 -19
  6. package/{agentDeleteCommand-NVR2V2HH.js → agentDeleteCommand-VFSZPEQ5.js} +145 -137
  7. package/{agentEmailCommands-UCVOWD3S.js → agentEmailCommands-KRUIF4EH.js} +149 -137
  8. package/{agentFavoriteCommands-4PDOP3GW.js → agentFavoriteCommands-7LOP3HUD.js} +6 -6
  9. package/{agentGrantCommands-FLCEXLUH.js → agentGrantCommands-L6O2HVJI.js} +7 -7
  10. package/agentListCommands-TDFOLWN3.js +644 -0
  11. package/{agentMachineCommands-V3DGEJU4.js → agentMachineCommands-PSH7Q5PF.js} +76 -67
  12. package/{agentProviderCommands-7QBFRFRK.js → agentProviderCommands-C5T7C5KZ.js} +7 -7
  13. package/{agentPullCommand-E6JBGBVG.js → agentPullCommand-QQQZSC6S.js} +7 -7
  14. package/agentRecordCommands-KCKCW2QU.js +188 -0
  15. package/agentRunCommand-EF2T2QWD.js +223 -0
  16. package/{agentRunControl-SNZZ5XP4.js → agentRunControl-CSMSJFFB.js} +25 -17
  17. package/{agentRuntimeLocal-GOX2DIY7.js → agentRuntimeLocal-6QXQS3TS.js} +64 -50
  18. package/{agentSlice-N7H2FRJA.js → agentSlice-IZ5ANAF7.js} +19 -18
  19. package/{appDeleteCommands-LZDN26FU.js → appDeleteCommands-4M7ETEEG.js} +68 -59
  20. package/{appDeployCommands-6IO6TTZH.js → appDeployCommands-2VJ2NDW5.js} +68 -59
  21. package/{appDeployStatusCommands-FG3LX24J.js → appDeployStatusCommands-LDFSWOPQ.js} +68 -59
  22. package/{appGetCommands-NAKVDVD4.js → appGetCommands-RHVNOPT4.js} +68 -59
  23. package/{appListCommands-KL56RN73.js → appListCommands-U3XEVTL4.js} +68 -59
  24. package/{authCommand-AUN5MXV2.js → authCommand-PVZ45QRO.js} +36 -31
  25. package/{authCommands-D2IPS6ES.js → authCommands-6AUYO65N.js} +18 -13
  26. package/{builtinSkillRegistry-UQGLKRYP.js → builtinSkillRegistry-LRVAQCPW.js} +6 -6
  27. package/{chromeCommands-G5UDKVSV.js → chromeCommands-S7AW3AOD.js} +383 -6
  28. package/{chromeOpsCommands-UJWN5HWH.js → chromeOpsCommands-TBPM6MR4.js} +8 -8
  29. package/{chunk-ABGULE7H.js → chunk-22YUCKMK.js} +16 -16
  30. package/{chunk-P2ZLUIW2.js → chunk-2BSLGODA.js} +350 -25
  31. package/{chunk-GOLPOTG5.js → chunk-2COM7SAH.js} +4 -4
  32. package/{chunk-ULAQPRHX.js → chunk-2FK2KZSL.js} +1 -1
  33. package/{chunk-PLPLH2XZ.js → chunk-2IPR4PBB.js} +2 -2
  34. package/chunk-2SXN7LAY.js +15 -0
  35. package/{chunk-XI2BWJM5.js → chunk-324FWHUA.js} +20 -3
  36. package/{chunk-7Z3WUZ4Q.js → chunk-3YYFU6H7.js} +74 -46
  37. package/{chunk-C2B7M567.js → chunk-4OXPN3WC.js} +17 -6
  38. package/chunk-4TVOZGOS.js +62 -0
  39. package/chunk-4ZCTKB27.js +31 -0
  40. package/chunk-53AEDFBL.js +33394 -0
  41. package/chunk-53W5BXLN.js +340 -0
  42. package/{chunk-OXA5GWHU.js → chunk-56O2J2Y4.js} +3 -3
  43. package/{chunk-IAJJYHIB.js → chunk-56PB7FEN.js} +8 -8
  44. package/{chunk-JWXITTQB.js → chunk-5HUO7SEX.js} +9 -107
  45. package/{chunk-AGP3YSEC.js → chunk-5PASH2MB.js} +46 -1
  46. package/{chunk-PHOSZT3E.js → chunk-5UAKGCQG.js} +1 -1
  47. package/{chunk-5RKRXQ2H.js → chunk-5VVP7DW3.js} +20 -13
  48. package/chunk-6ASGEP5D.js +21 -0
  49. package/chunk-6PXFEPHL.js +103 -0
  50. package/chunk-6RSNVJGO.js +279 -0
  51. package/{chunk-YGMBIXCF.js → chunk-6XRPBZRS.js} +4 -2
  52. package/{chunk-KMRKZNGT.js → chunk-6YYTTLJV.js} +14 -13
  53. package/{chunk-VREDDN25.js → chunk-76HAJUOJ.js} +14 -9
  54. package/{chunk-FKEZOMIF.js → chunk-7DXFOL5B.js} +1410 -768
  55. package/{chunk-LA7JYAKF.js → chunk-AKPKOI5Z.js} +6 -6
  56. package/{chunk-PWTNI4N7.js → chunk-ANUP75N2.js} +22 -0
  57. package/{chunk-F5AY2UZL.js → chunk-AO6T7U62.js} +592 -68
  58. package/{chunk-LJSNEV7M.js → chunk-AS6L5KSD.js} +8 -8
  59. package/{chunk-GOQ6ZVTN.js → chunk-AVSZ6PBM.js} +5 -5
  60. package/chunk-BIDSIRTS.js +307 -0
  61. package/chunk-C5A54QS7.js +108 -0
  62. package/{chunk-KYH7XW3K.js → chunk-CD2DK5JA.js} +135 -14
  63. package/{chunk-G6HJUMST.js → chunk-CJQBWHNM.js} +2 -2
  64. package/{chunk-EVGU5P4U.js → chunk-CO6E7YK6.js} +1 -1
  65. package/{chunk-ZYA2YDB6.js → chunk-CT5JXREL.js} +17 -17
  66. package/{chunk-VPAZ6BEN.js → chunk-CTWCZKNS.js} +42 -17
  67. package/{chunk-4OKTPFNX.js → chunk-CX2LYFZQ.js} +107 -66
  68. package/{chunk-YFLVRVYK.js → chunk-DLT2DN4M.js} +1 -1
  69. package/{chunk-LKA64WH4.js → chunk-DMPZMYH4.js} +37 -1
  70. package/{chunk-KFHREHUQ.js → chunk-DXWGFL2Z.js} +89 -1
  71. package/{chunk-OQHIVPG4.js → chunk-E6A5NHDH.js} +4 -1
  72. package/{chunk-IX2BXN2K.js → chunk-EDT65EUE.js} +6 -6
  73. package/{chunk-VP3BINY7.js → chunk-EQZZASCD.js} +31 -1
  74. package/{chunk-45LZIYXB.js → chunk-ESN4WNWU.js} +3 -2
  75. package/{chunk-M3JEW6N6.js → chunk-F26GAEH3.js} +10 -0
  76. package/{chunk-CVERLOJM.js → chunk-F4XIS5DL.js} +1215 -1431
  77. package/chunk-FDZ2GBWO.js +166 -0
  78. package/chunk-FGHEF6WI.js +34 -0
  79. package/{chunk-CSW7IPVD.js → chunk-FMYNIAI6.js} +61 -24
  80. package/{chunk-VIHDJ3FK.js → chunk-FNT5VENS.js} +15 -15
  81. package/{chunk-PMDVQBGA.js → chunk-GAHJLSDO.js} +14 -7
  82. package/{chunk-GRXSJR2Z.js → chunk-GVTFSLNI.js} +112 -109
  83. package/{chunk-UN7HIYMH.js → chunk-GX6DITLQ.js} +1 -1
  84. package/{chunk-3VFYQH3I.js → chunk-HIDVLMZC.js} +203 -156
  85. package/{chunk-5LQDHFBN.js → chunk-IDFGIROZ.js} +20 -17
  86. package/{chunk-UCFPVYP7.js → chunk-IFWXH7LH.js} +1 -1
  87. package/{chunk-LXTC53TN.js → chunk-J45ACAOQ.js} +815 -361
  88. package/{chunk-S6K5F3KP.js → chunk-JP2BH4NC.js} +1 -1
  89. package/{chunk-X2KRQP7V.js → chunk-JV5FHHF7.js} +1 -1
  90. package/{chunk-6EDAMVG6.js → chunk-K26XPZRB.js} +11 -11
  91. package/{chunk-RU6DULV4.js → chunk-KB5RQRSJ.js} +1 -1
  92. package/{chunk-T43K75CK.js → chunk-KC2QVCI7.js} +24 -178
  93. package/chunk-KK3FCYZM.js +647 -0
  94. package/{chunk-XZODOEKU.js → chunk-KMDHRVS7.js} +29 -5
  95. package/{chunk-4JVNURX4.js → chunk-KQHEGELM.js} +68 -16
  96. package/{chunk-UAPNPNSG.js → chunk-KW72WVHO.js} +2085 -1046
  97. package/{chunk-ILHQ2AXT.js → chunk-KZAT2M2V.js} +14 -8
  98. package/{chunk-L42CBKBZ.js → chunk-KZKMH374.js} +3 -3
  99. package/{chunk-ZI5SZ3MV.js → chunk-L6BLA6BT.js} +40 -31
  100. package/{chunk-AK5O76CC.js → chunk-LC5CVWP2.js} +3 -3
  101. package/{chunk-N5Z2V73W.js → chunk-LELADM5Q.js} +1 -1
  102. package/chunk-LHCGKAFO.js +739 -0
  103. package/{chunk-YOT437BH.js → chunk-LOF2EFUE.js} +203 -123
  104. package/{chunk-YQETUZ5V.js → chunk-LTVEOOZL.js} +29 -16
  105. package/{chunk-T2BEPTAG.js → chunk-MAA42MMV.js} +272 -26
  106. package/{chunk-NAOO4PVX.js → chunk-MECW2HJG.js} +16 -16
  107. package/{chunk-5HL4KC4A.js → chunk-MEDPR36J.js} +62 -87
  108. package/chunk-MVOZ22RZ.js +26 -0
  109. package/{chunk-YPPKC6FL.js → chunk-MYYNZG2M.js} +140 -40
  110. package/{chunk-UVUVQVZ6.js → chunk-MZVCFV3T.js} +19 -15
  111. package/{chunk-CQVGR3MX.js → chunk-N7MXFYLU.js} +7 -7
  112. package/{chunk-IC2I373Q.js → chunk-NEG5LYK5.js} +4 -4
  113. package/chunk-NJJK3PDA.js +133 -0
  114. package/{chunk-OB6DVWPF.js → chunk-OGZE6BZG.js} +331 -99
  115. package/{chunk-M3Y4IBIR.js → chunk-OHUYN3YU.js} +6 -6
  116. package/chunk-P27E22MA.js +203 -0
  117. package/{chunk-SFTTXGPM.js → chunk-PDAXMBLW.js} +35 -28
  118. package/{chunk-OBSEKCVK.js → chunk-PQ63BDV3.js} +210 -51
  119. package/{chunk-EUCFKKDM.js → chunk-PVFYPUIM.js} +40 -10
  120. package/{chunk-SRG5CNLC.js → chunk-QIVE5WJE.js} +8 -8
  121. package/{chunk-HOCHUZQ7.js → chunk-QJTZ76CP.js} +24 -6
  122. package/{chunk-5RKUPJYL.js → chunk-QLUYDJST.js} +11 -3
  123. package/{chunk-7Z6EW7AH.js → chunk-QOURTDZL.js} +97 -11
  124. package/{chunk-VZW34YUL.js → chunk-QWSH3UAQ.js} +8 -5
  125. package/{chunk-MK2Q7ZJD.js → chunk-R7XWZDOH.js} +58 -24
  126. package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
  127. package/{chunk-SW6OD4KE.js → chunk-RDPAIR67.js} +351 -18
  128. package/{chunk-NO3VBWTL.js → chunk-RXTZB2DH.js} +4 -4
  129. package/{chunk-AXYH4734.js → chunk-S25VJYXV.js} +21 -15
  130. package/{chunk-MWHOH4RJ.js → chunk-SESKIWB4.js} +6 -6
  131. package/{chunk-GUVXQSFZ.js → chunk-SF4GMDZO.js} +18 -108
  132. package/{chunk-TINJKQSO.js → chunk-SQRKAYQW.js} +25 -25
  133. package/chunk-SR4FE5VD.js +9 -0
  134. package/{chunk-3HTP4WZQ.js → chunk-SX6AWTNK.js} +46 -8
  135. package/{chunk-4WVJLODK.js → chunk-T23G6PXQ.js} +8 -3
  136. package/{chunk-CLCXHIBS.js → chunk-T4QY3HZ5.js} +1 -1
  137. package/{chunk-HVUDBOQG.js → chunk-TB5KTLNB.js} +9 -6
  138. package/{chunk-KRRE4A7D.js → chunk-TKE4OJ4B.js} +280 -56
  139. package/{chunk-S2NTVGA2.js → chunk-U35UUM5K.js} +2 -1
  140. package/{chunk-PPJYZRSQ.js → chunk-U5LOKQ2R.js} +30 -14
  141. package/{chunk-CKT6QUE2.js → chunk-UHW6SCVK.js} +1 -1
  142. package/{chunk-T5N6NHAT.js → chunk-UPOW5HTG.js} +6 -6
  143. package/{chunk-WJP4TH6U.js → chunk-VEVLLBFK.js} +2 -2
  144. package/{chunk-HGDKT2D6.js → chunk-VTHWBTRE.js} +177 -1
  145. package/{chunk-KJAAPGBE.js → chunk-VUHKG4KS.js} +6 -6
  146. package/{chunk-TOKPHZ55.js → chunk-W3HSD32M.js} +17 -10
  147. package/{chunk-2SKTCNWO.js → chunk-W5OJBZLZ.js} +4 -4
  148. package/chunk-WBSJAIZP.js +170 -0
  149. package/chunk-WDWZPASX.js +29 -0
  150. package/chunk-WFGNWWJI.js +326 -0
  151. package/{chunk-FIYSMXHY.js → chunk-WWTSEBDF.js} +1 -1
  152. package/{chunk-E2BESSAW.js → chunk-X4O7FJF5.js} +2 -0
  153. package/{chunk-HYKGIXNO.js → chunk-XGWRH3OF.js} +114 -29
  154. package/{chunk-XIEYGCN6.js → chunk-XKV53E4E.js} +460 -117
  155. package/{chunk-JHF6VLVL.js → chunk-XYRTC2Y3.js} +155 -170
  156. package/{chunk-L5I543VB.js → chunk-YGDYYFRX.js} +20 -24
  157. package/{chunk-ZADGPNTV.js → chunk-YHWMKGOX.js} +77 -103
  158. package/{chunk-6OVNSQHN.js → chunk-YLAHYLDQ.js} +5 -0
  159. package/chunk-Z6YTCDU4.js +24 -0
  160. package/{chunk-PVAWNHP5.js → chunk-ZP26NIZE.js} +647 -387
  161. package/{chunk-2G3YSVO6.js → chunk-ZQ6K57FJ.js} +3 -3
  162. package/{cliAgentConfigHelpers-QVSQYTKC.js → cliAgentConfigHelpers-37ZNEY5Y.js} +16 -16
  163. package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-SFPC3WVK.js} +1 -1
  164. package/{cliEnvHelpers-D6HMC46Z.js → cliEnvHelpers-CNMP3RDX.js} +2 -2
  165. package/{cliExecutor-4MAX3PZL.js → cliExecutor-K6FDZTQ2.js} +3 -1
  166. package/cliLocalAgentRecordReader-53773JID.js +102 -0
  167. package/{commandRegistry-TKR6OWXP.js → commandRegistry-RJUO2VOD.js} +113 -101
  168. package/{contentThunks-BQWRPCTM.js → contentThunks-4EFHLUTB.js} +44 -41
  169. package/{cooldownCommands-FZYQOWI5.js → cooldownCommands-QL6DWGVU.js} +3 -3
  170. package/{createAgentAutomationAction-GFI6SJZV.js → createAgentAutomationAction-ZFFGJ7CZ.js} +44 -41
  171. package/{createDialogAction-MMBIHFFU.js → createDialogAction-SDUGVTPS.js} +45 -43
  172. package/{createPageAction-EEYUE5FB.js → createPageAction-NNM3OFLY.js} +49 -46
  173. package/{db-CS4ZJQKV.js → db-6NRZLEW2.js} +10 -7
  174. package/{dbSlice-X4Z4E4QU.js → dbSlice-5MQ3ELID.js} +16 -15
  175. package/{deleteFile-QOOP2UK7.js → deleteFile-VCCHS72Y.js} +12 -9
  176. package/{dialogCommands-OXBQ73DD.js → dialogCommands-SJK5KWXU.js} +73 -66
  177. package/dialogMessageRecord-OAV77LT7.js +7 -0
  178. package/{dialogNotifyCommand-VWS5G4OO.js → dialogNotifyCommand-PST75COP.js} +19 -19
  179. package/{dialogSlice-KGYIABDY.js → dialogSlice-2KLMHECR.js} +44 -41
  180. package/{dialogUsageCommand-FEWCN7IA.js → dialogUsageCommand-BZPKR3DW.js} +8 -8
  181. package/{docCreateCommands-LS32VKY3.js → docCreateCommands-K7CDL2HY.js} +66 -57
  182. package/{docDeleteCommands-JTYR5RPH.js → docDeleteCommands-ZEY5YCSP.js} +69 -60
  183. package/{docReadCommands-E5LTVKWN.js → docReadCommands-A4ROLIQG.js} +66 -57
  184. package/{docStore-TVS2FNER.js → docStore-A4O6YJAM.js} +19 -18
  185. package/{docUpdateCommands-I3J3JDZ2.js → docUpdateCommands-6HTFQY4O.js} +66 -57
  186. package/{fetchMessages-Q3INLN5F.js → fetchMessages-TQEUZD7H.js} +3 -3
  187. package/{getPricing-VNGFM4PN.js → getPricing-FCHYVRJU.js} +6 -6
  188. package/{handleSendMessageAction-SSON36TJ.js → handleSendMessageAction-6WEFYBUC.js} +87 -82
  189. package/{hostCredentialCreate-WTW4THJF.js → hostCredentialCreate-WOWCNOYM.js} +136 -123
  190. package/index.js +54 -16
  191. package/keys-RWF7UCB4.js +1 -1
  192. package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
  193. package/{localDialogRead-V36DX2Q2.js → localDialogRead-3T2KMCRC.js} +2 -2
  194. package/{localRuntimeAdapter-MI2JGXSF.js → localRuntimeAdapter-7EDBDRYW.js} +147 -133
  195. package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-7DKIT7UH.js} +4 -2
  196. package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-5WZ4RJJO.js} +1 -1
  197. package/{machineCommands-3LROJZDK.js → machineCommands-XRPC67LL.js} +290 -354
  198. package/machineWsRunDispatch-SOGFW472.js +203 -0
  199. package/markdownToSlate-KIYM7B3P.js +8 -0
  200. package/mcpLocalAuthorizeCommand-VOJARP3M.js +106 -0
  201. package/{memberThunks-CFEPHAND.js → memberThunks-KC3WJGL3.js} +26 -21
  202. package/{memoryCommands-JQMEJO7J.js → memoryCommands-BC6REPQB.js} +6 -6
  203. package/{models-H5NNZRLH.js → models-EP7VG6N2.js} +2 -2
  204. package/{overlay-THLKYIWY.js → overlay-JA3SPVUS.js} +7 -3
  205. package/package.json +1 -1
  206. package/{projectArchive-3X54XFVN.js → projectArchive-GDVPIZX2.js} +50 -47
  207. package/{providerPresetApply-FO36N5TX.js → providerPresetApply-4H7YP5D7.js} +9 -9
  208. package/{providerRegistry-U2BSFE6K.js → providerRegistry-F3UPOTIY.js} +9 -9
  209. package/{read-KA3L2V7O.js → read-T7VU2IMO.js} +11 -10
  210. package/{readDocTool-AMAZAPAW.js → readDocTool-BPQ3QJSD.js} +1 -1
  211. package/{readlineWorkspace-Z3YUH4SX.js → readlineWorkspace-OWQIIUGH.js} +9406 -6791
  212. package/rememberExplicit-CPAPONSI.js +15 -0
  213. package/{removeDialogAgentAction-JQOJSUM7.js → removeDialogAgentAction-FEUUVMYC.js} +23 -22
  214. package/{runAgentClientLoop-4FCFLMDJ.js → runAgentClientLoop-SJREK2B7.js} +107 -86
  215. package/{runtimeDoctorCommands-CXOCVDPU.js → runtimeDoctorCommands-XQD4MN4I.js} +19 -19
  216. package/{secretCommands-GGUAWAE7.js → secretCommands-LH7QTJO2.js} +3 -3
  217. package/{setDialogExtraReferencesAction-YXQTGXIN.js → setDialogExtraReferencesAction-JSTQJPXL.js} +19 -18
  218. package/{setPrimaryDialogAgentAction-YNLB66WE.js → setPrimaryDialogAgentAction-Z2BQE3IY.js} +23 -22
  219. package/{settingThunks-E6N7RSSS.js → settingThunks-C2YWCNYI.js} +186 -67
  220. package/{skillDiscovery-B5V23AXP.js → skillDiscovery-MDDKPTW3.js} +4 -3
  221. package/{spaceCommands-DB5DKC2J.js → spaceCommands-YRBQ52PG.js} +71 -62
  222. package/{store-JRVN62NM.js → store-Z53ICFL3.js} +3 -1
  223. package/{streamAgentChatTurn-FCBGMD4D.js → streamAgentChatTurn-NCA4BKDZ.js} +244 -185
  224. package/{switchDialogAgentAction-LAHLUECU.js → switchDialogAgentAction-G7XVAOGH.js} +20 -19
  225. package/{tableCommands-VNSXHAMG.js → tableCommands-UHEA5QNL.js} +14 -11
  226. package/{toolApiClient-OGQEBQVX.js → toolApiClient-N5PYW2R3.js} +8 -6
  227. package/{tools-6JD36D6K.js → tools-6WQVUGKV.js} +74 -70
  228. package/tuiRestart-3J7LRMPR.js +41 -0
  229. package/{tuiSummaryLlmCaller-UHZIPGAX.js → tuiSummaryLlmCaller-2J6NG53N.js} +24 -23
  230. package/{updateCommands-KZ54HCU5.js → updateCommands-5OYND6EF.js} +8 -6
  231. package/{updateDialogTitleAction-RV3EUEN3.js → updateDialogTitleAction-QCSN3RYO.js} +46 -43
  232. package/{usageCommand-KFVV6UL3.js → usageCommand-SK7JTEPC.js} +3 -3
  233. package/{usageRebuildCommand-HHFSNK46.js → usageRebuildCommand-DF3HUP6F.js} +4 -4
  234. package/webapi-QVV65DQF.js +2487 -0
  235. package/{windowsSelfUpdate-KERHIAB4.js → windowsSelfUpdate-HIYNL3VR.js} +2 -2
  236. package/workContext-Y3ADAPZU.js +14 -0
  237. package/workContextAccess-UZHDLBUR.js +11 -0
  238. package/workContextWriteNotice-YCSSMHN4.js +7 -0
  239. package/{workloadLifecycle-O2I3NZ2Q.js → workloadLifecycle-ZCSQCHG3.js} +9 -9
  240. package/agentListCommands-C65UESYM.js +0 -1004
  241. package/agentRecordCommands-6RCJS2EY.js +0 -176
  242. package/agentRunCommand-P3GRKXKS.js +0 -208
  243. package/chunk-2WZXXAQD.js +0 -57
  244. package/chunk-5ZMIIR23.js +0 -265
  245. package/chunk-62HXNQVV.js +0 -134
  246. package/chunk-BJF2MHJ3.js +0 -118
  247. package/chunk-KEPOVMF4.js +0 -91
  248. package/chunk-PXKF5CV4.js +0 -357
  249. package/chunk-WACI5I6V.js +0 -147
  250. package/chunk-YGILMZ7N.js +0 -81
  251. package/cliLocalAgentRecordReader-SPKAJYME.js +0 -90
  252. package/machineWsRunDispatch-BUUJRUUB.js +0 -191
  253. package/{accountResolver-EK2S4PWF.js → accountResolver-QETKNC7T.js} +4 -4
  254. package/{chunk-VXL2FZTP.js → chunk-HXER7YJF.js} +3 -3
  255. package/{chunk-BLVSFYQ3.js → chunk-LISC7BD4.js} +3 -3
  256. package/{chunk-SSGTV4FC.js → chunk-USGHJSGO.js} +5 -5
  257. package/{chunk-FJ23FZXF.js → chunk-VIYVRPMJ.js} +0 -0
  258. package/{offlineMarxistsAgentCommand-AGA2X5E4.js → offlineMarxistsAgentCommand-XVXUE6G5.js} +5 -5
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  t
3
- } from "./chunk-OB6DVWPF.js";
3
+ } from "./chunk-OGZE6BZG.js";
4
4
 
5
5
  // packages/cli/windowsSelfUpdate.ts
6
6
  import { spawn } from "node:child_process";
@@ -304,11 +304,12 @@ const switchWindowsShims = (shimDir, entrypoint) => {
304
304
  throw new Error("Refusing to downgrade " + payload.currentVersion + " to " + targetVersion);
305
305
  }
306
306
 
307
- if (compare(targetVersion, payload.currentVersion) > 0) {
307
+ if (compare(targetVersion, payload.currentVersion) >= 0) {
308
308
  log("phase: install-target");
309
309
  const versionPrefix = join(payload.managedRoot, targetVersion + "-" + payload.updateId);
310
310
  uncommittedVersionPrefix = versionPrefix;
311
- mkdirSync(versionPrefix, { recursive: true });
311
+ mkdirSync(payload.managedRoot, { recursive: true });
312
+ mkdirSync(versionPrefix);
312
313
  // Install the exact version resolved from the dist-tag above — never the
313
314
  // floating channel tag — so the staged package is the verified one.
314
315
  const install = runNpm(["install", "-g", "--prefix", versionPrefix, "nolo-cli@" + targetVersion, "--force", "--progress"]);
@@ -320,6 +321,13 @@ const switchWindowsShims = (shimDir, entrypoint) => {
320
321
  }
321
322
  const stagedEntrypoint = join(versionPrefix, "node_modules", "nolo-cli", "index.js");
322
323
  if (!existsSync(stagedEntrypoint)) throw new Error("Staged nolo entrypoint is missing");
324
+ const preflight = spawnSync(payload.nodePath, [stagedEntrypoint, "-v"], {
325
+ encoding: "utf8", windowsHide: true, env: process.env,
326
+ cwd: payload.updateDir, timeout: 30 * 1000,
327
+ });
328
+ if (preflight.error || preflight.status !== 0 || String(preflight.stdout || "").trim() !== "nolo-cli " + targetVersion) {
329
+ throw new Error("The staged CLI failed its pre-switch version check");
330
+ }
323
331
  assertLockOwnership();
324
332
  log("phase: switch-shims");
325
333
  const switchedShims = switchWindowsShims(prefix, stagedEntrypoint);
@@ -1,3 +1,7 @@
1
+ import {
2
+ googleSessionRequestToken,
3
+ isGoogleAuthoritySession
4
+ } from "./chunk-5PASH2MB.js";
1
5
  import {
2
6
  selectIdentityToken
3
7
  } from "./chunk-PXYBUFDB.js";
@@ -1979,7 +1983,14 @@ function createUnsortedStateAdapter(selectId) {
1979
1983
  });
1980
1984
  updates = Object.values(updatesPerEntity);
1981
1985
  if (updates.length > 0) {
1982
- if (updates.filter((update) => takeNewKey(newKeys, update, state)).length > 0) state.ids = Object.values(state.entities).map((e) => selectIdValue(e, selectId));
1986
+ if (updates.filter((update) => takeNewKey(newKeys, update, state)).length > 0) {
1987
+ const ids = /* @__PURE__ */ new Set();
1988
+ for (const id of state.ids) {
1989
+ const newId = newKeys[id] ?? id;
1990
+ if (newId in state.entities) ids.add(newId);
1991
+ }
1992
+ state.ids = Array.from(ids);
1993
+ }
1983
1994
  }
1984
1995
  }
1985
1996
  function upsertOneMutably(entity, state) {
@@ -2190,18 +2201,90 @@ var logRequestFailure = (level, message) => {
2190
2201
  }
2191
2202
  console.error(message);
2192
2203
  };
2204
+ var mutationFailureIdentifiers = /* @__PURE__ */ new Set([
2205
+ "AUTHORITY_HOME_CONTROLLED",
2206
+ "AUTHORITY_MISMATCH",
2207
+ "USER_BATCH_AUTHORITY_CONTROLLED",
2208
+ "SPACE_OWNER_AGENT_FORBIDDEN",
2209
+ "APP_WRITE_FORBIDDEN",
2210
+ "INCOMPLETE_APP_PAYLOAD",
2211
+ "REVISION_CONFLICT",
2212
+ "tombstone_conflict",
2213
+ "INVALID_REQUEST",
2214
+ "FORBIDDEN",
2215
+ "TOKEN_STATS_SERVER_MANAGED",
2216
+ "PATCH_PERMISSION_DENIED",
2217
+ "WRITE_PERMISSION_DENIED",
2218
+ "UNSUPPORTED_OAUTH_PROVIDER",
2219
+ "INVALID_AGENT_SKILL_MODE",
2220
+ "AUTOMATION_OWNER_AGENT_FORBIDDEN",
2221
+ "PROTOCOL_UNAVAILABLE",
2222
+ "INVALID_IF_MATCH",
2223
+ "provider_model_mismatch"
2224
+ ]);
2225
+ var DIAGNOSTIC_READ_TIMEOUT_MS = 1200;
2226
+ var DIAGNOSTIC_MAX_BYTES = 8 * 1024;
2227
+ var readBoundedJson = async (response) => {
2228
+ const body = response.body;
2229
+ if (!body) return null;
2230
+ const reader = body.getReader();
2231
+ const deadline = Date.now() + DIAGNOSTIC_READ_TIMEOUT_MS;
2232
+ const chunks = [];
2233
+ let received = 0;
2234
+ try {
2235
+ for (; ; ) {
2236
+ const remainingMs = deadline - Date.now();
2237
+ if (remainingMs <= 0) throw new Error("diagnostic read timed out");
2238
+ let timer;
2239
+ const timeout = new Promise((_, reject) => {
2240
+ timer = setTimeout(() => reject(new Error("diagnostic read timed out")), remainingMs);
2241
+ });
2242
+ const { done, value } = await Promise.race([reader.read(), timeout]).finally(() => {
2243
+ if (timer !== void 0) clearTimeout(timer);
2244
+ });
2245
+ if (done) break;
2246
+ received += value.byteLength;
2247
+ if (received > DIAGNOSTIC_MAX_BYTES) throw new Error("diagnostic read too large");
2248
+ chunks.push(value);
2249
+ }
2250
+ } finally {
2251
+ void reader.cancel().catch(() => {
2252
+ });
2253
+ }
2254
+ const total = chunks.reduce((sum, chunk) => sum + chunk.byteLength, 0);
2255
+ const merged = new Uint8Array(total);
2256
+ let offset = 0;
2257
+ for (const chunk of chunks) {
2258
+ merged.set(chunk, offset);
2259
+ offset += chunk.byteLength;
2260
+ }
2261
+ return JSON.parse(new TextDecoder().decode(merged));
2262
+ };
2263
+ var describeMutationFailure = async (response) => {
2264
+ const status = `HTTP ${response.status}`;
2265
+ try {
2266
+ const body = await readBoundedJson(response);
2267
+ const fields = ["error", "code", "message"].flatMap((field) => {
2268
+ const value = body?.[field];
2269
+ return typeof value === "string" && mutationFailureIdentifiers.has(value) ? [`${field}=${value}`] : [];
2270
+ });
2271
+ return fields.length ? `${status} (${fields.join(", ")})` : status;
2272
+ } catch {
2273
+ return status;
2274
+ }
2275
+ };
2193
2276
  var noloRequest = async (server, config, state, signal) => {
2194
- const headers = config.headers || {
2195
- "Content-Type": "application/json"
2196
- };
2277
+ const headers = { ...config.headers || { "Content-Type": "application/json" } };
2197
2278
  const token = selectIdentityToken(state) ?? null;
2198
- if (token) {
2199
- headers["Authorization"] = `Bearer ${token}`;
2279
+ const requestToken = googleSessionRequestToken(token ?? void 0, server);
2280
+ if (requestToken) {
2281
+ headers["Authorization"] = `Bearer ${requestToken}`;
2200
2282
  }
2201
2283
  return fetch(server + config.url, {
2202
2284
  method: config.method || "GET",
2203
2285
  headers,
2204
2286
  body: config.body,
2287
+ ...isGoogleAuthoritySession(token) ? { credentials: "omit", redirect: "error" } : {},
2205
2288
  signal,
2206
2289
  // 传递 AbortSignal
2207
2290
  ...config.keepalive ? { keepalive: true } : {}
@@ -2220,10 +2303,10 @@ var noloPatchRequest = async (server, dbKey, updates, state, signal, options) =>
2220
2303
  state,
2221
2304
  signal
2222
2305
  );
2223
- if (!response.ok) {
2306
+ if (!response.ok && failureLogLevel !== "silent") {
2224
2307
  logRequestFailure(
2225
2308
  failureLogLevel,
2226
- `PATCH request failed for ${dbKey} on ${server}: HTTP ${response.status}`
2309
+ `PATCH request failed for ${dbKey} on ${server}: ${await describeMutationFailure(response)}`
2227
2310
  );
2228
2311
  }
2229
2312
  return response.ok;
@@ -2251,10 +2334,10 @@ var noloWriteRequest = async (server, writeConfig, state, signal, options) => {
2251
2334
  state,
2252
2335
  signal
2253
2336
  );
2254
- if (!response.ok) {
2337
+ if (!response.ok && failureLogLevel !== "silent") {
2255
2338
  logRequestFailure(
2256
2339
  failureLogLevel,
2257
- `Write request failed for ${customKey} on ${server}: HTTP ${response.status}`
2340
+ `Write request failed for ${customKey} on ${server}: ${await describeMutationFailure(response)}`
2258
2341
  );
2259
2342
  }
2260
2343
  return response.ok;
@@ -2302,7 +2385,9 @@ var xhrUploadRequest = (url, formData, state, onProgress, signal) => new Promise
2302
2385
  });
2303
2386
  var noloUploadRequest = async (server, uploadConfig, state, signal, onProgress) => {
2304
2387
  const { file, metadata, customKey, userId } = uploadConfig;
2388
+ const googleSession = isGoogleAuthoritySession(selectIdentityToken(state));
2305
2389
  try {
2390
+ googleSessionRequestToken(selectIdentityToken(state) ?? void 0, server);
2306
2391
  const isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative";
2307
2392
  const isRNFile = (f) => f && typeof f.uri === "string" && typeof f.name === "string" && typeof f.type === "string";
2308
2393
  if (isReactNative && isRNFile(file)) {
@@ -2328,7 +2413,7 @@ var noloUploadRequest = async (server, uploadConfig, state, signal, onProgress)
2328
2413
  if (userId) {
2329
2414
  formData.append("userId", userId);
2330
2415
  }
2331
- if (onProgress && typeof XMLHttpRequest !== "undefined") {
2416
+ if (onProgress && !googleSession && typeof XMLHttpRequest !== "undefined") {
2332
2417
  const result = await xhrUploadRequest(
2333
2418
  server + `${API_ENDPOINTS.DATABASE}/upload`,
2334
2419
  formData,
@@ -2361,6 +2446,7 @@ var noloUploadRequest = async (server, uploadConfig, state, signal, onProgress)
2361
2446
  `Upload request failed for ${customKey} on ${server}: HTTP ${response.status}`
2362
2447
  );
2363
2448
  }
2449
+ if (response.ok && googleSession && onProgress) onProgress(file.size, file.size);
2364
2450
  return response.ok;
2365
2451
  } catch (error) {
2366
2452
  if (!isAbortError(error)) {
@@ -1,13 +1,13 @@
1
+ import {
2
+ deriveCredentialGroup
3
+ } from "./chunk-AO6T7U62.js";
1
4
  import {
2
5
  listUserRecordsFromServers,
3
6
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-PHOSZT3E.js";
7
+ } from "./chunk-5UAKGCQG.js";
5
8
  import {
6
9
  agentRecordHasConfiguredCredential
7
- } from "./chunk-5LQDHFBN.js";
8
- import {
9
- deriveCredentialGroup
10
- } from "./chunk-F5AY2UZL.js";
10
+ } from "./chunk-IDFGIROZ.js";
11
11
  import {
12
12
  isTombstoneRecord
13
13
  } from "./chunk-BV3FLP2L.js";
@@ -110,6 +110,9 @@ function parseAgentListArgs(args) {
110
110
  // --verbose 拿回完整字段集排障。
111
111
  verbose: args.includes("--verbose"),
112
112
  compact: args.includes("--compact"),
113
+ fragmentOffset: readArgValue(args, "--fragment-offset"),
114
+ fragmentAgentKey: readArgValue(args, "--fragment-agent-key"),
115
+ fragmentDigest: readArgValue(args, "--fragment-digest"),
113
116
  limit: readArgValue(args, "--limit") ?? void 0,
114
117
  offset: readArgValue(args, "--offset") ?? void 0
115
118
  };
@@ -7,10 +7,10 @@ import {
7
7
  } from "./chunk-ATNTHIZI.js";
8
8
 
9
9
  // packages/ai/agent/cliExecutor.ts
10
- import { exec, spawn as spawn2 } from "child_process";
10
+ import { execFile, spawn as spawn2 } from "child_process";
11
11
  import { randomUUID as randomUUID2 } from "node:crypto";
12
- import { mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
13
- import { isAbsolute, join, resolve } from "node:path";
12
+ import { existsSync, mkdtempSync, readFileSync, realpathSync, rmSync, writeFileSync } from "node:fs";
13
+ import { isAbsolute, join, relative, resolve } from "node:path";
14
14
  import { tmpdir } from "node:os";
15
15
  import { StringDecoder } from "node:string_decoder";
16
16
 
@@ -817,22 +817,24 @@ function executeCopilot(prompt, options) {
817
817
  } = options;
818
818
  return new Promise((resolve2, reject) => {
819
819
  const args = [
820
- "NO_COLOR=1",
821
- "gh copilot --",
822
- `-p ${JSON.stringify(prompt)}`,
820
+ "copilot",
821
+ "--",
822
+ "-p",
823
+ prompt,
823
824
  "--silent",
824
825
  "--disable-builtin-mcps",
825
- "--stream off",
826
+ "--stream",
827
+ "off",
826
828
  "--no-color"
827
829
  ];
828
- if (model) args.push(`--model ${model}`);
829
- if (reasoningEffort) args.push(`--reasoning-effort ${reasoningEffort}`);
830
+ if (model) args.push("--model", model);
831
+ if (reasoningEffort) args.push("--reasoning-effort", reasoningEffort);
830
832
  if (yolo) args.push("--yolo");
831
- const cmd = args.join(" ");
832
833
  const start = Date.now();
833
- exec(
834
- cmd,
835
- { timeout, cwd, env: buildCliProcessEnv(options.env) },
834
+ execFile(
835
+ "gh",
836
+ args,
837
+ { timeout, cwd, env: { ...buildCliProcessEnv(options.env), NO_COLOR: "1" } },
836
838
  (error, stdout, stderr) => {
837
839
  if (error) {
838
840
  if (error.killed && error.signal === "SIGTERM") {
@@ -888,6 +890,35 @@ function parseGeminiStreamJson(stdout) {
888
890
  }
889
891
  return parts.join("");
890
892
  }
893
+ function resolveGeminiCommand(env, platform = process.platform) {
894
+ if (platform !== "win32") return { command: "gemini", args: [] };
895
+ const path = Object.entries(env).find(([key]) => key.toLowerCase() === "path")?.[1] ?? "";
896
+ for (const directory of path.split(";")) {
897
+ if (!directory || !isAbsolute(directory)) continue;
898
+ if (existsSync(join(directory, "gemini.exe"))) {
899
+ return { command: join(directory, "gemini.exe"), args: [] };
900
+ }
901
+ if (!existsSync(join(directory, "gemini.cmd"))) continue;
902
+ try {
903
+ const root = realpathSync(join(directory, "node_modules", "@google", "gemini-cli"));
904
+ const manifest = JSON.parse(readFileSync(join(root, "package.json"), "utf8"));
905
+ const bin = typeof manifest.bin === "string" ? manifest.bin : manifest.bin?.gemini;
906
+ if (manifest.name !== "@google/gemini-cli" || typeof bin !== "string" || !bin) {
907
+ throw new Error("missing package bin");
908
+ }
909
+ const entry = realpathSync(resolve(root, bin));
910
+ const withinPackage = relative(root, entry);
911
+ if (withinPackage.startsWith("..") || isAbsolute(withinPackage) || !/\.[cm]?js$/i.test(entry)) {
912
+ throw new Error("package bin is not a contained JavaScript entry");
913
+ }
914
+ const node = join(directory, "node.exe");
915
+ return { command: existsSync(node) ? node : "node", args: [entry] };
916
+ } catch (error) {
917
+ throw new Error(`Gemini npm entry could not be resolved: ${String(error)}`);
918
+ }
919
+ }
920
+ return { command: "gemini", args: [] };
921
+ }
891
922
  function executeGemini(prompt, options) {
892
923
  const {
893
924
  model = "gemini-3.8-flash",
@@ -897,20 +928,22 @@ function executeGemini(prompt, options) {
897
928
  } = options;
898
929
  return new Promise((resolve2, reject) => {
899
930
  const args = [
900
- "NO_COLOR=1",
901
- "NODE_OPTIONS='--no-deprecation'",
902
- "gemini",
903
- `-p ${JSON.stringify(prompt)}`,
904
- "--output-format stream-json",
905
- `-m ${JSON.stringify(model)}`
931
+ "-p",
932
+ prompt,
933
+ "--output-format",
934
+ "stream-json",
935
+ "-m",
936
+ model
906
937
  ];
907
938
  if (yolo) args.push("--yolo");
908
- args.push("-e none");
909
- const cmd = args.join(" ");
939
+ args.push("-e", "none");
910
940
  const start = Date.now();
911
- exec(
912
- cmd,
913
- { timeout, cwd, env: buildCliProcessEnv(options.env) },
941
+ const env = { ...buildCliProcessEnv(options.env), NO_COLOR: "1", NODE_OPTIONS: "--no-deprecation" };
942
+ const launcher = resolveGeminiCommand(env);
943
+ execFile(
944
+ launcher.command,
945
+ [...launcher.args, ...args],
946
+ { timeout, cwd, env },
914
947
  (error, stdout, stderr) => {
915
948
  if (error) {
916
949
  if (error.killed && error.signal === "SIGTERM") {
@@ -2173,6 +2206,7 @@ export {
2173
2206
  isBufferedCliStreamingProvider,
2174
2207
  CLI_PROBE_BINARIES,
2175
2208
  materializeCliImageInputs,
2209
+ resolveGeminiCommand,
2176
2210
  executeCli,
2177
2211
  startCliSession,
2178
2212
  getCliSession,
@@ -18,6 +18,7 @@ var require_react_production = __commonJS({
18
18
  var REACT_MEMO_TYPE = Symbol.for("react.memo");
19
19
  var REACT_LAZY_TYPE = Symbol.for("react.lazy");
20
20
  var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
21
+ var REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition");
21
22
  var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
22
23
  function getIteratorFn(maybeIterable) {
23
24
  if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
@@ -205,19 +206,18 @@ var require_react_production = __commonJS({
205
206
  }
206
207
  function lazyInitializer(payload) {
207
208
  if (-1 === payload._status) {
208
- var ctor = payload._result;
209
- ctor = ctor();
210
- ctor.then(
209
+ var ctor = payload._result, thenable = ctor();
210
+ thenable.then(
211
211
  function(moduleObject) {
212
212
  if (0 === payload._status || -1 === payload._status)
213
- payload._status = 1, payload._result = moduleObject;
213
+ payload._status = 1, payload._result = moduleObject, void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
214
214
  },
215
215
  function(error) {
216
216
  if (0 === payload._status || -1 === payload._status)
217
- payload._status = 2, payload._result = error;
217
+ payload._status = 2, payload._result = error, void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
218
218
  }
219
219
  );
220
- -1 === payload._status && (payload._status = 0, payload._result = ctor);
220
+ -1 === payload._status && (payload._status = 0, payload._result = thenable);
221
221
  }
222
222
  if (1 === payload._status) return payload._result.default;
223
223
  throw payload._result;
@@ -237,6 +237,27 @@ var require_react_production = __commonJS({
237
237
  }
238
238
  console.error(error);
239
239
  };
240
+ function startTransition(scope) {
241
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
242
+ currentTransition.types = null !== prevTransition ? prevTransition.types : null;
243
+ ReactSharedInternals.T = currentTransition;
244
+ try {
245
+ var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
246
+ null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
247
+ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
248
+ } catch (error) {
249
+ reportGlobalError(error);
250
+ } finally {
251
+ null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
252
+ }
253
+ }
254
+ function addTransitionType(type) {
255
+ var transition = ReactSharedInternals.T;
256
+ if (null !== transition) {
257
+ var transitionTypes = transition.types;
258
+ null === transitionTypes ? transition.types = [type] : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
259
+ } else startTransition(addTransitionType.bind(null, type));
260
+ }
240
261
  var Children = {
241
262
  map: mapChildren,
242
263
  forEach: function(children, forEachFunc, forEachContext) {
@@ -276,6 +297,7 @@ var require_react_production = __commonJS({
276
297
  exports.PureComponent = PureComponent;
277
298
  exports.StrictMode = REACT_STRICT_MODE_TYPE;
278
299
  exports.Suspense = REACT_SUSPENSE_TYPE;
300
+ exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;
279
301
  exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
280
302
  exports.__COMPILER_RUNTIME = {
281
303
  __proto__: null,
@@ -283,6 +305,7 @@ var require_react_production = __commonJS({
283
305
  return ReactSharedInternals.H.useMemoCache(size);
284
306
  }
285
307
  };
308
+ exports.addTransitionType = addTransitionType;
286
309
  exports.cache = function(fn) {
287
310
  return function() {
288
311
  return fn.apply(null, arguments);
@@ -363,19 +386,7 @@ var require_react_production = __commonJS({
363
386
  compare: void 0 === compare ? null : compare
364
387
  };
365
388
  };
366
- exports.startTransition = function(scope) {
367
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
368
- ReactSharedInternals.T = currentTransition;
369
- try {
370
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
371
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
372
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
373
- } catch (error) {
374
- reportGlobalError(error);
375
- } finally {
376
- null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
377
- }
378
- };
389
+ exports.startTransition = startTransition;
379
390
  exports.unstable_useCacheRefresh = function() {
380
391
  return ReactSharedInternals.H.useCacheRefresh();
381
392
  };
@@ -439,7 +450,7 @@ var require_react_production = __commonJS({
439
450
  exports.useTransition = function() {
440
451
  return ReactSharedInternals.H.useTransition();
441
452
  };
442
- exports.version = "19.2.3";
453
+ exports.version = "19.3.0";
443
454
  }
444
455
  });
445
456
 
@@ -530,6 +541,8 @@ var require_react_development = __commonJS({
530
541
  return "SuspenseList";
531
542
  case REACT_ACTIVITY_TYPE:
532
543
  return "Activity";
544
+ case REACT_VIEW_TRANSITION_TYPE:
545
+ return "ViewTransition";
533
546
  }
534
547
  if ("object" === typeof type)
535
548
  switch ("number" === typeof type.tag && console.error(
@@ -786,8 +799,11 @@ var require_react_development = __commonJS({
786
799
  }
787
800
  function lazyInitializer(payload) {
788
801
  if (-1 === payload._status) {
789
- var ioInfo = payload._ioInfo;
790
- null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
802
+ var resolveDebugValue = null, rejectDebugValue = null, ioInfo = payload._ioInfo;
803
+ null != ioInfo && (ioInfo.start = ioInfo.end = performance.now(), ioInfo.value = new Promise(function(resolve, reject) {
804
+ resolveDebugValue = resolve;
805
+ rejectDebugValue = reject;
806
+ }));
791
807
  ioInfo = payload._result;
792
808
  var thenable = ioInfo();
793
809
  thenable.then(
@@ -796,7 +812,13 @@ var require_react_development = __commonJS({
796
812
  payload._status = 1;
797
813
  payload._result = moduleObject;
798
814
  var _ioInfo = payload._ioInfo;
799
- null != _ioInfo && (_ioInfo.end = performance.now());
815
+ if (null != _ioInfo) {
816
+ _ioInfo.end = performance.now();
817
+ var debugValue = null == moduleObject ? void 0 : moduleObject.default;
818
+ resolveDebugValue(debugValue);
819
+ _ioInfo.value.status = "fulfilled";
820
+ _ioInfo.value.value = debugValue;
821
+ }
800
822
  void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
801
823
  }
802
824
  },
@@ -805,14 +827,13 @@ var require_react_development = __commonJS({
805
827
  payload._status = 2;
806
828
  payload._result = error;
807
829
  var _ioInfo2 = payload._ioInfo;
808
- null != _ioInfo2 && (_ioInfo2.end = performance.now());
830
+ null != _ioInfo2 && (_ioInfo2.end = performance.now(), _ioInfo2.value.then(noop, noop), rejectDebugValue(error), _ioInfo2.value.status = "rejected", _ioInfo2.value.reason = error);
809
831
  void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
810
832
  }
811
833
  }
812
834
  );
813
835
  ioInfo = payload._ioInfo;
814
836
  if (null != ioInfo) {
815
- ioInfo.value = thenable;
816
837
  var displayName = thenable.displayName;
817
838
  "string" === typeof displayName && (ioInfo.name = displayName);
818
839
  }
@@ -838,6 +859,35 @@ var require_react_development = __commonJS({
838
859
  function releaseAsyncTransition() {
839
860
  ReactSharedInternals.asyncTransitions--;
840
861
  }
862
+ function startTransition(scope) {
863
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
864
+ currentTransition.types = null !== prevTransition ? prevTransition.types : null;
865
+ currentTransition._updatedFibers = /* @__PURE__ */ new Set();
866
+ ReactSharedInternals.T = currentTransition;
867
+ try {
868
+ var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
869
+ null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
870
+ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
871
+ } catch (error) {
872
+ reportGlobalError(error);
873
+ } finally {
874
+ null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
875
+ "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
876
+ )), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
877
+ "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
878
+ ), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
879
+ }
880
+ }
881
+ function addTransitionType(type) {
882
+ var transition = ReactSharedInternals.T;
883
+ if (null !== transition) {
884
+ var transitionTypes = transition.types;
885
+ null === transitionTypes ? transition.types = [type] : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
886
+ } else
887
+ 0 === ReactSharedInternals.asyncTransitions && console.error(
888
+ "addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."
889
+ ), startTransition(addTransitionType.bind(null, type));
890
+ }
841
891
  function enqueueTask(task) {
842
892
  if (null === enqueueTaskImpl)
843
893
  try {
@@ -912,7 +962,7 @@ var require_react_development = __commonJS({
912
962
  }
913
963
  }
914
964
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
915
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
965
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
916
966
  isMounted: function() {
917
967
  return false;
918
968
  },
@@ -1047,6 +1097,7 @@ var require_react_development = __commonJS({
1047
1097
  exports.PureComponent = PureComponent;
1048
1098
  exports.StrictMode = REACT_STRICT_MODE_TYPE;
1049
1099
  exports.Suspense = REACT_SUSPENSE_TYPE;
1100
+ exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;
1050
1101
  exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
1051
1102
  exports.__COMPILER_RUNTIME = deprecatedAPIs;
1052
1103
  exports.act = function(callback) {
@@ -1126,6 +1177,7 @@ var require_react_development = __commonJS({
1126
1177
  }
1127
1178
  };
1128
1179
  };
1180
+ exports.addTransitionType = addTransitionType;
1129
1181
  exports.cache = function(fn) {
1130
1182
  return function() {
1131
1183
  return fn.apply(null, arguments);
@@ -1202,6 +1254,7 @@ var require_react_development = __commonJS({
1202
1254
  exports.createElement = function(type, config, children) {
1203
1255
  for (var i = 2; i < arguments.length; i++)
1204
1256
  validateChildKeys(arguments[i]);
1257
+ var propName;
1205
1258
  i = {};
1206
1259
  var key = null;
1207
1260
  if (null != config)
@@ -1224,13 +1277,13 @@ var require_react_development = __commonJS({
1224
1277
  i,
1225
1278
  "function" === typeof type ? type.displayName || type.name || "Unknown" : type
1226
1279
  );
1227
- var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1280
+ (propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++) ? (childArray = Error.stackTraceLimit, Error.stackTraceLimit = 10, childrenLength = Error("react-stack-top-frame"), Error.stackTraceLimit = childArray) : childrenLength = unknownOwnerDebugStack;
1228
1281
  return ReactElement(
1229
1282
  type,
1230
1283
  key,
1231
1284
  i,
1232
1285
  getOwner(),
1233
- propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1286
+ childrenLength,
1234
1287
  propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1235
1288
  );
1236
1289
  };
@@ -1310,24 +1363,7 @@ var require_react_development = __commonJS({
1310
1363
  });
1311
1364
  return compare;
1312
1365
  };
1313
- exports.startTransition = function(scope) {
1314
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
1315
- currentTransition._updatedFibers = /* @__PURE__ */ new Set();
1316
- ReactSharedInternals.T = currentTransition;
1317
- try {
1318
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
1319
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
1320
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
1321
- } catch (error) {
1322
- reportGlobalError(error);
1323
- } finally {
1324
- null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
1325
- "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
1326
- )), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
1327
- "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
1328
- ), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
1329
- }
1330
- };
1366
+ exports.startTransition = startTransition;
1331
1367
  exports.unstable_useCacheRefresh = function() {
1332
1368
  return resolveDispatcher().useCacheRefresh();
1333
1369
  };
@@ -1409,7 +1445,7 @@ var require_react_development = __commonJS({
1409
1445
  exports.useTransition = function() {
1410
1446
  return resolveDispatcher().useTransition();
1411
1447
  };
1412
- exports.version = "19.2.3";
1448
+ exports.version = "19.3.0";
1413
1449
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1414
1450
  }();
1415
1451
  }