nolo-cli 0.226.0-alpha.2 → 0.226.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 (259) hide show
  1. package/README.md +3 -5
  2. package/{_executeModel-IKZGZZXW.js → _executeModel-IZ2MCXHO.js} +89 -83
  3. package/{action-CK64LS6S.js → action-VDEW6WLI.js} +9 -6
  4. package/{addContentAction-EQXMFNPR.js → addContentAction-7YVXHIPQ.js} +15 -14
  5. package/{addDialogAgentAction-RSDZDASD.js → addDialogAgentAction-BX7B47HF.js} +18 -17
  6. package/{agentDeleteCommand-IZY3VF5F.js → agentDeleteCommand-N7ELXPLD.js} +145 -138
  7. package/{agentEmailCommands-YWL567CL.js → agentEmailCommands-OFS477PV.js} +144 -133
  8. package/{agentFavoriteCommands-2LKGKSUD.js → agentFavoriteCommands-7LOP3HUD.js} +5 -5
  9. package/{agentGrantCommands-QQV4N4JW.js → agentGrantCommands-L6O2HVJI.js} +5 -5
  10. package/agentListCommands-IQQHJSXP.js +644 -0
  11. package/{agentMachineCommands-AXJ4A772.js → agentMachineCommands-NS65BEW7.js} +75 -66
  12. package/{agentProviderCommands-7BSJH7TO.js → agentProviderCommands-SS6M6VGY.js} +6 -6
  13. package/{agentPullCommand-XN6ZPBUW.js → agentPullCommand-QQQZSC6S.js} +6 -6
  14. package/agentRecordCommands-4VE7CNLC.js +188 -0
  15. package/agentRunCommand-2MUXHKNW.js +223 -0
  16. package/{agentRunControl-DFEEOFC7.js → agentRunControl-55GL6Q3M.js} +23 -15
  17. package/{agentRuntimeLocal-GSTYFEX4.js → agentRuntimeLocal-5DB2P4MU.js} +63 -49
  18. package/{agentSlice-5F5U5X2U.js → agentSlice-5VTAFG43.js} +19 -18
  19. package/{appDeleteCommands-L7HL4AWF.js → appDeleteCommands-EDKUPHJM.js} +67 -58
  20. package/{appDeployCommands-SGSUNFZR.js → appDeployCommands-JO74GW4L.js} +67 -58
  21. package/{appDeployStatusCommands-AAA3XD54.js → appDeployStatusCommands-U77ZUHX7.js} +67 -58
  22. package/{appGetCommands-LN72GAOA.js → appGetCommands-QCMHBYPX.js} +67 -58
  23. package/{appListCommands-IJQQ3VND.js → appListCommands-ZQJYEXI6.js} +67 -58
  24. package/{authCommand-7JXW54U4.js → authCommand-W4KXRZLI.js} +33 -28
  25. package/{authCommands-YDNAIDEY.js → authCommands-6AUYO65N.js} +15 -10
  26. package/{builtinSkillRegistry-PXH7EGQB.js → builtinSkillRegistry-GHE3RD3V.js} +8 -8
  27. package/{chromeCommands-G5UDKVSV.js → chromeCommands-S7AW3AOD.js} +383 -6
  28. package/{chromeOpsCommands-YKX2QX3A.js → chromeOpsCommands-TBPM6MR4.js} +6 -6
  29. package/{chunk-7Z6EW7AH.js → chunk-247AAJRK.js} +13 -6
  30. package/{chunk-P2ZLUIW2.js → chunk-2BSLGODA.js} +350 -25
  31. package/{chunk-4HFTBHBF.js → chunk-2N4UBHUU.js} +8 -8
  32. package/chunk-2SXN7LAY.js +15 -0
  33. package/{chunk-GBUDWITV.js → chunk-2T5BHLID.js} +2871 -1565
  34. package/{chunk-XI2BWJM5.js → chunk-324FWHUA.js} +20 -3
  35. package/{chunk-VFBVA3U2.js → chunk-3OQFXODL.js} +131 -40
  36. package/{chunk-BGGHA5DV.js → chunk-3ORFJP2Z.js} +1 -1
  37. package/{chunk-E5EIYI34.js → chunk-3UNAGTBW.js} +32 -95
  38. package/{chunk-LM2PS3YS.js → chunk-4F7SWSWO.js} +26 -13
  39. package/{chunk-SBVTHMEG.js → chunk-4FE3IWRE.js} +1 -1
  40. package/{chunk-GOAPXKQU.js → chunk-4UK6UBXF.js} +4 -4
  41. package/{chunk-4JVNURX4.js → chunk-4YFC3DWW.js} +68 -16
  42. package/chunk-4ZCTKB27.js +31 -0
  43. package/chunk-53W5BXLN.js +340 -0
  44. package/{chunk-NEKH3XDV.js → chunk-5GRWWUB4.js} +4 -4
  45. package/{chunk-JWXITTQB.js → chunk-5HUO7SEX.js} +9 -107
  46. package/{chunk-ZH6MUQEO.js → chunk-6326DRQY.js} +1 -1
  47. package/{chunk-AVHRSJUH.js → chunk-6MQWGA5F.js} +31 -24
  48. package/{chunk-67BE44IS.js → chunk-6MX6S6TE.js} +3 -3
  49. package/chunk-6RSNVJGO.js +279 -0
  50. package/{chunk-L4NFXFFF.js → chunk-6S6CZUXK.js} +42 -33
  51. package/{chunk-PDCV7P5W.js → chunk-6XIE5ZGI.js} +1 -1
  52. package/{chunk-JHRQXQ4A.js → chunk-6XLWUNZB.js} +25 -25
  53. package/{chunk-YGMBIXCF.js → chunk-6XRPBZRS.js} +4 -2
  54. package/{chunk-62HXNQVV.js → chunk-776CXKMX.js} +1 -1
  55. package/{chunk-6J4TTPS2.js → chunk-7AWKDRXG.js} +5 -5
  56. package/{chunk-3KNEE64G.js → chunk-7GTXPS3D.js} +16 -16
  57. package/{chunk-RRVQ446B.js → chunk-7HUHOCIY.js} +147 -162
  58. package/{chunk-PWTNI4N7.js → chunk-ANUP75N2.js} +22 -0
  59. package/chunk-BEM6LPD2.js +734 -0
  60. package/{chunk-AGP3YSEC.js → chunk-BH7CEVOH.js} +46 -1
  61. package/chunk-BIDSIRTS.js +307 -0
  62. package/{chunk-4AMQZTE7.js → chunk-C4KX626C.js} +15 -15
  63. package/chunk-C5A54QS7.js +108 -0
  64. package/{chunk-BYH3HMUP.js → chunk-CHYYSFFM.js} +6 -6
  65. package/{chunk-VREDDN25.js → chunk-CJTB3OYB.js} +14 -9
  66. package/{chunk-YFLVRVYK.js → chunk-DLT2DN4M.js} +1 -1
  67. package/{chunk-LKA64WH4.js → chunk-DMPZMYH4.js} +37 -1
  68. package/{chunk-EOWLBDY6.js → chunk-DOK7GDRU.js} +1 -1
  69. package/{chunk-T3T57NVP.js → chunk-DPAIQLAL.js} +105 -102
  70. package/{chunk-KFHREHUQ.js → chunk-DXWGFL2Z.js} +89 -1
  71. package/{chunk-XN23AUVU.js → chunk-EKXPHL7M.js} +8 -5
  72. package/{chunk-DISQCYPE.js → chunk-ENYTIRIO.js} +6 -6
  73. package/{chunk-2TIQO6TC.js → chunk-ER3P6MBT.js} +206 -308
  74. package/{chunk-M3JEW6N6.js → chunk-F26GAEH3.js} +10 -0
  75. package/{chunk-JM5C4EUA.js → chunk-F4MCAOWN.js} +6 -6
  76. package/chunk-FDZ2GBWO.js +166 -0
  77. package/{chunk-PMDVQBGA.js → chunk-GAHJLSDO.js} +14 -7
  78. package/{chunk-N5PQJKCY.js → chunk-GES5GIAU.js} +14 -13
  79. package/{chunk-QTMIHVLE.js → chunk-HQVNO7FH.js} +66 -35
  80. package/chunk-HSWEFHFS.js +103 -0
  81. package/{chunk-S2NTVGA2.js → chunk-I2OYPD3Y.js} +1 -1
  82. package/{chunk-F7DU25CE.js → chunk-IIG3TT73.js} +460 -123
  83. package/{chunk-AK5O76CC.js → chunk-IZJFTY4R.js} +3 -3
  84. package/{chunk-2VA6TU4I.js → chunk-J25ESVUW.js} +22 -19
  85. package/{chunk-2COEG5ZV.js → chunk-J2XZZXIH.js} +4 -4
  86. package/{chunk-JVRQ6YVK.js → chunk-JBWXPACD.js} +1 -1
  87. package/{chunk-D726I5AZ.js → chunk-JVJ53XCH.js} +2 -2
  88. package/{chunk-TXGQ4O5S.js → chunk-KC2QVCI7.js} +20 -174
  89. package/{chunk-UKS7D2NL.js → chunk-KF2DWSAH.js} +113 -28
  90. package/chunk-KK3FCYZM.js +647 -0
  91. package/{chunk-HHL7WG65.js → chunk-KLD7K5FD.js} +349 -16
  92. package/{chunk-WSJMT3FA.js → chunk-KMW5CRRM.js} +1564 -2955
  93. package/{chunk-N5Z2V73W.js → chunk-LELADM5Q.js} +1 -1
  94. package/{chunk-4NA3YTBC.js → chunk-LMFMV5UC.js} +8 -8
  95. package/{chunk-KZU52OJ5.js → chunk-LZOOUQAZ.js} +6 -6
  96. package/{chunk-VV7TXWOC.js → chunk-M5EA44QU.js} +6 -6
  97. package/{chunk-UYOICCYG.js → chunk-MEDPR36J.js} +64 -89
  98. package/chunk-MFXJY44K.js +133 -0
  99. package/chunk-MVOZ22RZ.js +26 -0
  100. package/{chunk-3QFLXA24.js → chunk-N6EN3HK3.js} +3 -3
  101. package/{chunk-SOF4OWDM.js → chunk-NEG5LYK5.js} +1 -3
  102. package/{chunk-W772FYAQ.js → chunk-ODGSLWLO.js} +593 -370
  103. package/{chunk-OB6DVWPF.js → chunk-OGZE6BZG.js} +331 -99
  104. package/{chunk-KYH7XW3K.js → chunk-OJRTTERA.js} +77 -2
  105. package/{chunk-2VUZSVAS.js → chunk-OKPC4QNX.js} +57 -20
  106. package/{chunk-SOG7OEXX.js → chunk-ONFFUQYM.js} +1 -1
  107. package/{chunk-KNIIRXHF.js → chunk-P244EH4W.js} +46 -8
  108. package/chunk-P27E22MA.js +203 -0
  109. package/{chunk-YDBMZ7FV.js → chunk-PK7VT4ZU.js} +3 -3
  110. package/{chunk-EUCFKKDM.js → chunk-PVFYPUIM.js} +40 -10
  111. package/{chunk-HOCHUZQ7.js → chunk-QJTZ76CP.js} +24 -6
  112. package/{chunk-5RKUPJYL.js → chunk-QLUYDJST.js} +11 -3
  113. package/{chunk-EFX3Q5SM.js → chunk-QUJKDFZW.js} +17 -17
  114. package/{chunk-C4VAR65S.js → chunk-QXUVCIPB.js} +204 -124
  115. package/{chunk-BLSNUIZD.js → chunk-QYNABNNQ.js} +13 -13
  116. package/{chunk-MK2Q7ZJD.js → chunk-R7XWZDOH.js} +58 -24
  117. package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
  118. package/{chunk-KC4SCKXO.js → chunk-RGUWOMXU.js} +1234 -1451
  119. package/{chunk-IZIN2UNJ.js → chunk-RH44TIHX.js} +206 -27
  120. package/{chunk-GNHMRBYZ.js → chunk-RIMFTQMC.js} +282 -58
  121. package/{chunk-VQUWV3YR.js → chunk-S25VJYXV.js} +9 -3
  122. package/{chunk-EJU6WCDH.js → chunk-SBRJOYND.js} +723 -355
  123. package/{chunk-UEKXWO7A.js → chunk-SBRSXY67.js} +18 -7
  124. package/chunk-SR4FE5VD.js +9 -0
  125. package/{chunk-4WVJLODK.js → chunk-T23G6PXQ.js} +8 -3
  126. package/chunk-T3WSFTBS.js +62 -0
  127. package/{chunk-KEN3N2TN.js → chunk-TB5KTLNB.js} +15 -12
  128. package/{chunk-VP3BINY7.js → chunk-TOK555CQ.js} +31 -1
  129. package/{chunk-OBSEKCVK.js → chunk-U4VSBDO5.js} +88 -0
  130. package/{chunk-PPJYZRSQ.js → chunk-U5LOKQ2R.js} +30 -14
  131. package/{chunk-GGKNJ42M.js → chunk-UDT4SI37.js} +18 -108
  132. package/{chunk-CKT6QUE2.js → chunk-UHW6SCVK.js} +1 -1
  133. package/{chunk-GVGOEMNV.js → chunk-UQXOORR3.js} +5 -5
  134. package/{chunk-6O5YP6FX.js → chunk-UR7555FE.js} +9 -9
  135. package/{chunk-QLFCTYRH.js → chunk-UWOCASVL.js} +20 -13
  136. package/{chunk-C4WTX5TU.js → chunk-V2V5Q6DU.js} +2 -2
  137. package/{chunk-2ZKFCIJJ.js → chunk-VCU5GV42.js} +1 -1
  138. package/{chunk-FTQWYWUI.js → chunk-VMWY7TUA.js} +1 -1
  139. package/chunk-VNALJT32.js +33394 -0
  140. package/{chunk-HGDKT2D6.js → chunk-VTHWBTRE.js} +177 -1
  141. package/chunk-WBSJAIZP.js +170 -0
  142. package/chunk-WDWZPASX.js +29 -0
  143. package/chunk-WFGNWWJI.js +326 -0
  144. package/{chunk-UJKTI5PG.js → chunk-WRKMXMU7.js} +2 -1
  145. package/chunk-WVOZ35E4.js +1438 -0
  146. package/{chunk-FIYSMXHY.js → chunk-WWTSEBDF.js} +1 -1
  147. package/{chunk-E2BESSAW.js → chunk-X4O7FJF5.js} +2 -0
  148. package/{chunk-GIABSSWQ.js → chunk-XDNXKFWF.js} +6 -6
  149. package/{chunk-GBZ4YKEO.js → chunk-XLN2GD6Z.js} +7 -7
  150. package/{chunk-45LZIYXB.js → chunk-XNEDFWT4.js} +2 -2
  151. package/{chunk-EWPDMS4N.js → chunk-Y22P6ASC.js} +32 -17
  152. package/{chunk-LJSNEV7M.js → chunk-Y3DOUQQQ.js} +8 -8
  153. package/{chunk-KOXKKHFE.js → chunk-Y5EBOURK.js} +10 -5
  154. package/{chunk-L5I543VB.js → chunk-YGDYYFRX.js} +20 -24
  155. package/{chunk-6OVNSQHN.js → chunk-YLAHYLDQ.js} +5 -0
  156. package/{chunk-PVZY6P3S.js → chunk-YTEY27GN.js} +2 -2
  157. package/chunk-YUZ2DAIH.js +34 -0
  158. package/chunk-Z6YTCDU4.js +24 -0
  159. package/{chunk-MOMR7NMG.js → chunk-ZCVBIIUE.js} +4 -4
  160. package/{chunk-AZQZ5XPM.js → chunk-ZCZLTJEW.js} +98 -57
  161. package/{chunk-KN3HEZIQ.js → chunk-ZVOL2MAJ.js} +1 -1
  162. package/{cliAgentConfigHelpers-KICKKNYQ.js → cliAgentConfigHelpers-6OFDHJFT.js} +13 -13
  163. package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-SFPC3WVK.js} +1 -1
  164. package/{cliEnvHelpers-VPSJ4XWC.js → cliEnvHelpers-CNMP3RDX.js} +1 -1
  165. package/{cliExecutor-4MAX3PZL.js → cliExecutor-K6FDZTQ2.js} +3 -1
  166. package/cliLocalAgentRecordReader-FHIMCBUK.js +102 -0
  167. package/{commandRegistry-6EQXVODF.js → commandRegistry-OKIWAJIS.js} +113 -101
  168. package/{contentThunks-ANUP57QV.js → contentThunks-VF2DCU46.js} +41 -38
  169. package/{cooldownCommands-X7P5M2V5.js → cooldownCommands-QL6DWGVU.js} +4 -4
  170. package/{createAgentAutomationAction-XMUWUDKQ.js → createAgentAutomationAction-BGET7Q6K.js} +41 -38
  171. package/{createDialogAction-43QJIQDH.js → createDialogAction-XYDQZETK.js} +42 -40
  172. package/{createPageAction-SJO7UC3J.js → createPageAction-74S5RO7U.js} +46 -43
  173. package/{db-CS4ZJQKV.js → db-6NRZLEW2.js} +10 -7
  174. package/{dbSlice-ZJPDIFER.js → dbSlice-FI7VNDR5.js} +14 -13
  175. package/{deleteFile-Q3YDB4ML.js → deleteFile-GD62MPZW.js} +10 -7
  176. package/{dialogCommands-V5IYEOQP.js → dialogCommands-Y6DHZUAM.js} +71 -64
  177. package/dialogMessageRecord-OAV77LT7.js +7 -0
  178. package/{dialogNotifyCommand-77B57PL6.js → dialogNotifyCommand-MKXL4NGL.js} +15 -15
  179. package/{dialogSlice-FQ6WOKWJ.js → dialogSlice-XAUKSWZ4.js} +41 -38
  180. package/{dialogUsageCommand-HTVPR2CX.js → dialogUsageCommand-BZPKR3DW.js} +6 -6
  181. package/{docCreateCommands-36WS33BK.js → docCreateCommands-PHDFOQBM.js} +66 -57
  182. package/{docDeleteCommands-C4CS4XLF.js → docDeleteCommands-OSHJM67Y.js} +69 -60
  183. package/{docReadCommands-QZMSFMPN.js → docReadCommands-E6QYCFMS.js} +66 -57
  184. package/{docStore-BZ2O7WLF.js → docStore-ZZT2BEBU.js} +16 -15
  185. package/{docUpdateCommands-BYI64HVV.js → docUpdateCommands-DHIOPK2C.js} +66 -57
  186. package/fetchMessages-TQEUZD7H.js +2 -2
  187. package/{getPricing-VNGFM4PN.js → getPricing-RNRITFOP.js} +6 -6
  188. package/{handleSendMessageAction-I5J7QR7K.js → handleSendMessageAction-ARUU6CNF.js} +83 -78
  189. package/{hostCredentialCreate-AVPMK7EQ.js → hostCredentialCreate-SNQT73H4.js} +131 -119
  190. package/index.js +56 -18
  191. package/keys-RWF7UCB4.js +1 -1
  192. package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
  193. package/{localDialogRead-SVTPA5GY.js → localDialogRead-3T2KMCRC.js} +1 -1
  194. package/{localRuntimeAdapter-S56R76HN.js → localRuntimeAdapter-MHI6Y2IZ.js} +143 -130
  195. package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-7DKIT7UH.js} +4 -2
  196. package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-5WZ4RJJO.js} +1 -1
  197. package/{machineCommands-77NFB2AE.js → machineCommands-3O6Y27R4.js} +283 -348
  198. package/machineWsRunDispatch-5PFLR5XC.js +203 -0
  199. package/markdownToSlate-KIYM7B3P.js +8 -0
  200. package/mcpLocalAuthorizeCommand-BQCQ2KRJ.js +106 -0
  201. package/{memberThunks-JRYNONYV.js → memberThunks-TU6A6OBV.js} +24 -19
  202. package/{memoryCommands-5WC3T66U.js → memoryCommands-BC6REPQB.js} +4 -4
  203. package/{models-H5NNZRLH.js → models-CINY5UZR.js} +2 -2
  204. package/{overlay-THLKYIWY.js → overlay-JA3SPVUS.js} +7 -3
  205. package/package.json +1 -1
  206. package/{projectArchive-GNOSYH6F.js → projectArchive-X2EVXU3N.js} +47 -44
  207. package/{providerPresetApply-J3WMRPD2.js → providerPresetApply-HUWNV2NI.js} +7 -7
  208. package/{providerRegistry-KJGB5XWS.js → providerRegistry-7FWKDKZJ.js} +7 -7
  209. package/{read-Q7GOHGNP.js → read-QAHEQID5.js} +9 -8
  210. package/{readDocTool-Z5OQ6422.js → readDocTool-KG5DP6EM.js} +1 -1
  211. package/{readlineWorkspace-2PONGBUP.js → readlineWorkspace-SO3APHVP.js} +8125 -6196
  212. package/rememberExplicit-CPAPONSI.js +15 -0
  213. package/{removeDialogAgentAction-U3F2MNAY.js → removeDialogAgentAction-QZCCVK2G.js} +20 -19
  214. package/{runAgentClientLoop-WEXFFHVS.js → runAgentClientLoop-FLHHCOVH.js} +106 -81
  215. package/{runtimeDoctorCommands-UXKXYBW6.js → runtimeDoctorCommands-DN3I52C6.js} +17 -17
  216. package/{secretCommands-LJXOOYA7.js → secretCommands-36BCE3UE.js} +4 -4
  217. package/{setDialogExtraReferencesAction-G3WSJ7EM.js → setDialogExtraReferencesAction-PDPTYSEW.js} +17 -16
  218. package/{setPrimaryDialogAgentAction-6FHAHZBB.js → setPrimaryDialogAgentAction-DOUIPR66.js} +20 -19
  219. package/{settingThunks-AXTBX3Q5.js → settingThunks-MHGGP6UE.js} +186 -67
  220. package/{skillDiscovery-B5V23AXP.js → skillDiscovery-MDDKPTW3.js} +4 -3
  221. package/{spaceCommands-GUKMDRWN.js → spaceCommands-JH7UYE3K.js} +70 -61
  222. package/{store-JRVN62NM.js → store-Z53ICFL3.js} +3 -1
  223. package/{streamAgentChatTurn-D2WFS5MF.js → streamAgentChatTurn-VDDA2TX6.js} +200 -195
  224. package/{switchDialogAgentAction-UOFIAGPL.js → switchDialogAgentAction-7USK3DAP.js} +18 -17
  225. package/{tableCommands-HITDSLHS.js → tableCommands-UONBFC7L.js} +15 -12
  226. package/{toolApiClient-OGQEBQVX.js → toolApiClient-53YMJ2G6.js} +8 -6
  227. package/{tools-YKE6PQHT.js → tools-MIOCXKMG.js} +72 -68
  228. package/tuiRestart-ET3QISZ5.js +41 -0
  229. package/{tuiSummaryLlmCaller-7WLUKNP2.js → tuiSummaryLlmCaller-MSINBP3M.js} +21 -20
  230. package/{updateCommands-RJVCRSBP.js → updateCommands-5OYND6EF.js} +8 -6
  231. package/{updateDialogTitleAction-D5NCA4FC.js → updateDialogTitleAction-2L4CC4YO.js} +43 -40
  232. package/{usageCommand-YPJ2ZI2F.js → usageCommand-JTKDAG6I.js} +3 -3
  233. package/{usageRebuildCommand-FERQO74C.js → usageRebuildCommand-4TFZCKXM.js} +4 -4
  234. package/webapi-24RZDIIQ.js +2488 -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-YBNOQ5T3.js +0 -991
  241. package/agentRecordCommands-WUUC2CX7.js +0 -177
  242. package/agentRunCommand-W6MDKVLJ.js +0 -208
  243. package/chunk-2THCNKE4.js +0 -147
  244. package/chunk-2WZXXAQD.js +0 -57
  245. package/chunk-5ZMIIR23.js +0 -265
  246. package/chunk-BJF2MHJ3.js +0 -118
  247. package/chunk-KEPOVMF4.js +0 -91
  248. package/chunk-OLMJR6UM.js +0 -357
  249. package/chunk-QVBXJNZ2.js +0 -81
  250. package/chunk-QZI44GWV.js +0 -776
  251. package/cliLocalAgentRecordReader-6FXGFBI3.js +0 -90
  252. package/machineWsRunDispatch-5XWFUJ53.js +0 -192
  253. package/{accountResolver-EK2S4PWF.js → accountResolver-QETKNC7T.js} +3 -3
  254. package/{chunk-W6RFEDN4.js → chunk-AETZ7AD6.js} +3 -3
  255. package/{chunk-BLVSFYQ3.js → chunk-LISC7BD4.js} +3 -3
  256. package/{chunk-SNBZZPYH.js → chunk-OQHIVPG4.js} +3 -3
  257. package/{chunk-47ITIXO7.js → chunk-USGHJSGO.js} +3 -3
  258. package/{chunk-FJ23FZXF.js → chunk-VIYVRPMJ.js} +0 -0
  259. package/{offlineMarxistsAgentCommand-4IC3Y4C6.js → offlineMarxistsAgentCommand-XVXUE6G5.js} +3 -3
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  selectCurrentServer,
3
3
  selectRemoteServers
4
- } from "./chunk-VREDDN25.js";
4
+ } from "./chunk-CJTB3OYB.js";
5
5
  import {
6
6
  noloDeleteRequest,
7
7
  noloWriteRequest
8
- } from "./chunk-7Z6EW7AH.js";
8
+ } from "./chunk-247AAJRK.js";
9
9
  import {
10
10
  normalizeTimeFields
11
- } from "./chunk-AGP3YSEC.js";
11
+ } from "./chunk-BH7CEVOH.js";
12
12
  import {
13
13
  selectIdentityUser,
14
14
  selectIdentityUserId
@@ -1,48 +1,51 @@
1
1
  import {
2
- buildRestorePatch
3
- } from "./chunk-BV3FLP2L.js";
2
+ resolveDefaultReasoningEffort
3
+ } from "./chunk-YUZ2DAIH.js";
4
4
  import {
5
5
  buildLocalAgentLookupKeys,
6
6
  shouldReadAgentKeyRemotely
7
- } from "./chunk-2ZKFCIJJ.js";
8
- import {
9
- resolveCliAgentKeyInput
10
- } from "./chunk-BR3GT6MR.js";
7
+ } from "./chunk-VCU5GV42.js";
11
8
  import {
12
9
  createHostCredentialBrokerChain,
13
10
  createStrictHostCredentialBroker
14
- } from "./chunk-KC4SCKXO.js";
11
+ } from "./chunk-BEM6LPD2.js";
15
12
  import {
16
13
  collectInvalidAgentSkillModes,
17
14
  formatInvalidAgentSkillModeMessage,
18
15
  formatInvalidAgentSkillModesFieldMessage,
19
16
  isAgentSkillModesFieldShapeValid
20
- } from "./chunk-EOWLBDY6.js";
17
+ } from "./chunk-DOK7GDRU.js";
21
18
  import {
22
19
  buildAgentApiKeyCredentialRef,
23
20
  migrateAgentSecrets
24
- } from "./chunk-47ITIXO7.js";
21
+ } from "./chunk-USGHJSGO.js";
25
22
  import {
26
23
  assertCredentialRef,
27
24
  createFileCredentialBroker
28
- } from "./chunk-SNBZZPYH.js";
25
+ } from "./chunk-OQHIVPG4.js";
26
+ import {
27
+ buildRestorePatch
28
+ } from "./chunk-BV3FLP2L.js";
29
29
  import {
30
30
  createAgentKey
31
31
  } from "./chunk-SYTHYBMI.js";
32
32
  import {
33
- readPipeText,
34
- spawnProcess
35
- } from "./chunk-4O22PGNQ.js";
36
- import {
37
- toErrorMessage
38
- } from "./chunk-HNMXYYJR.js";
33
+ resolveCliAgentKeyInput
34
+ } from "./chunk-BR3GT6MR.js";
39
35
  import {
40
36
  parseUserIdFromAuthToken,
41
37
  readOption,
42
38
  resolveAuthToken,
43
39
  resolveServerCandidates,
44
40
  resolveServerUrl
45
- } from "./chunk-2THCNKE4.js";
41
+ } from "./chunk-BIDSIRTS.js";
42
+ import {
43
+ readPipeText,
44
+ spawnProcess
45
+ } from "./chunk-4O22PGNQ.js";
46
+ import {
47
+ toErrorMessage
48
+ } from "./chunk-HNMXYYJR.js";
46
49
 
47
50
  // packages/agent-runtime/sessionCredentialBroker.ts
48
51
  function createSessionMemoryCredentialBroker() {
@@ -763,7 +766,7 @@ async function buildCreatedAgentRecord(args) {
763
766
  const resolvedAgentInput = resolveCliAgentKeyInput(args.parsed.agentInput);
764
767
  const agentKey = resolvedAgentInput.startsWith("agent-") ? resolvedAgentInput : createAgentKey.private(userId || "local", resolvedAgentInput);
765
768
  if (args.parsed.presetId) {
766
- const { resolveProviderPresetFields } = await import("./providerPresetApply-J3WMRPD2.js");
769
+ const { resolveProviderPresetFields } = await import("./providerPresetApply-HUWNV2NI.js");
767
770
  const fields = resolveProviderPresetFields(args.parsed.presetId);
768
771
  if (fields.kind === "manual") {
769
772
  throw new Error(
@@ -784,7 +787,7 @@ async function buildCreatedAgentRecord(args) {
784
787
  }
785
788
  if (!u.model && fields.model) u.model = fields.model;
786
789
  if (fields.defaultReasoningEffort && u.reasoning_effort == null) {
787
- u.reasoning_effort = fields.defaultReasoningEffort;
790
+ u.reasoning_effort = resolveDefaultReasoningEffort({ provider: typeof u.provider === "string" ? u.provider : void 0, model: typeof u.model === "string" ? u.model : void 0, fallback: fields.defaultReasoningEffort });
788
791
  }
789
792
  }
790
793
  if (args.parsed.copyProviderFrom) {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  toolRegistry
3
- } from "./chunk-EJU6WCDH.js";
3
+ } from "./chunk-SBRJOYND.js";
4
4
  import {
5
5
  runtime_default
6
- } from "./chunk-W772FYAQ.js";
6
+ } from "./chunk-ODGSLWLO.js";
7
7
  import {
8
8
  canonicalizeToolNames
9
- } from "./chunk-6OVNSQHN.js";
9
+ } from "./chunk-YLAHYLDQ.js";
10
10
  import {
11
11
  isRecord
12
12
  } from "./chunk-KUG52IAP.js";
13
13
  import {
14
14
  isNoloHostedProvider
15
- } from "./chunk-OBSEKCVK.js";
15
+ } from "./chunk-U4VSBDO5.js";
16
16
  import {
17
17
  asTrimmedLowercaseString
18
18
  } from "./chunk-QSJ3HFEF.js";
@@ -4,7 +4,7 @@ import {
4
4
  builtinRuntimeFallbackEntries,
5
5
  isBuiltinPlatformAgentKey,
6
6
  parseBuiltinPlatformAgentId
7
- } from "./chunk-UJKTI5PG.js";
7
+ } from "./chunk-WRKMXMU7.js";
8
8
  import {
9
9
  publicAgentKey
10
10
  } from "./chunk-M2EJHDJP.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createFileCredentialBroker
3
- } from "./chunk-SNBZZPYH.js";
3
+ } from "./chunk-OQHIVPG4.js";
4
4
  import {
5
5
  t
6
- } from "./chunk-OB6DVWPF.js";
6
+ } from "./chunk-OGZE6BZG.js";
7
7
 
8
8
  // packages/core/secretsStore.ts
9
9
  import {
@@ -1,16 +1,19 @@
1
1
  import {
2
2
  deriveStateResident
3
- } from "./chunk-PMDVQBGA.js";
3
+ } from "./chunk-GAHJLSDO.js";
4
4
  import {
5
5
  _appendRetiredStateBatch,
6
6
  loadMemoryVNextCatalog
7
- } from "./chunk-XI2BWJM5.js";
7
+ } from "./chunk-324FWHUA.js";
8
8
  import {
9
9
  resolveMachineId
10
10
  } from "./chunk-S73EPYNC.js";
11
+ import {
12
+ gBase64
13
+ } from "./chunk-WBSJAIZP.js";
11
14
  import {
12
15
  getDefaultCliLocalRuntimeDb
13
- } from "./chunk-N5Z2V73W.js";
16
+ } from "./chunk-LELADM5Q.js";
14
17
  import {
15
18
  createMemoryKey,
16
19
  createMemoryOwnerIndexKey,
@@ -20,6 +23,12 @@ import {
20
23
  import {
21
24
  asTrimmedNonEmptyStringArray
22
25
  } from "./chunk-I42VC5KR.js";
26
+ import {
27
+ resolveAuthTokenFromEnv
28
+ } from "./chunk-BIDSIRTS.js";
29
+ import {
30
+ DEFAULT_NOLO_SERVER_URL
31
+ } from "./chunk-OLZBQWZU.js";
23
32
  import {
24
33
  buildCliRuntimeEnv,
25
34
  clearProfileAuthToken,
@@ -32,179 +41,10 @@ import {
32
41
  import {
33
42
  asTrimmedString
34
43
  } from "./chunk-3EUW3WEO.js";
35
- import {
36
- resolveAuthTokenFromEnv
37
- } from "./chunk-2THCNKE4.js";
38
- import {
39
- DEFAULT_NOLO_SERVER_URL
40
- } from "./chunk-OLZBQWZU.js";
41
44
 
42
45
  // packages/core/crypto.ts
43
46
  import nacl from "tweetnacl";
44
47
 
45
- // node_modules/js-base64/base64.mjs
46
- var version = "3.9.6";
47
- var VERSION = version;
48
- var _TD = typeof TextDecoder === "function" ? new TextDecoder("utf-8", { ignoreBOM: true }) : void 0;
49
- var _TE = typeof TextEncoder === "function" ? new TextEncoder() : void 0;
50
- var b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
51
- var b64chs = Array.prototype.slice.call(b64ch);
52
- var b64tab = ((a) => {
53
- let tab = {};
54
- a.forEach((c, i) => tab[c] = i);
55
- return tab;
56
- })(b64chs);
57
- var b64re = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/;
58
- var _fromCC = String.fromCharCode.bind(String);
59
- var _U8Afrom = typeof Uint8Array.from === "function" ? Uint8Array.from.bind(Uint8Array) : (it) => new Uint8Array(Array.prototype.slice.call(it, 0));
60
- var _mkUriSafe = (src) => src.replace(/=/g, "").replace(/[+\/]/g, (m0) => m0 == "+" ? "-" : "_");
61
- var _tidyB64 = (s) => s.replace(/[^A-Za-z0-9\+\/]/g, "");
62
- var btoaPolyfill = (bin) => {
63
- let u32, c0, c1, c2, asc = "";
64
- const pad = bin.length % 3;
65
- for (let i = 0; i < bin.length; ) {
66
- if ((c0 = bin.charCodeAt(i++)) > 255 || (c1 = bin.charCodeAt(i++)) > 255 || (c2 = bin.charCodeAt(i++)) > 255)
67
- throw new TypeError("invalid character found");
68
- u32 = c0 << 16 | c1 << 8 | c2;
69
- asc += b64chs[u32 >> 18 & 63] + b64chs[u32 >> 12 & 63] + b64chs[u32 >> 6 & 63] + b64chs[u32 & 63];
70
- }
71
- return pad ? asc.slice(0, pad - 3) + "===".substring(pad) : asc;
72
- };
73
- var _btoa = typeof btoa === "function" ? (bin) => btoa(bin) : btoaPolyfill;
74
- var _fromUint8Array = typeof Uint8Array.prototype.toBase64 === "function" ? Function.prototype.call.bind(Uint8Array.prototype.toBase64) : (u8a) => {
75
- const maxargs = 4096;
76
- let strs = [];
77
- for (let i = 0, l = u8a.length; i < l; i += maxargs) {
78
- strs.push(_fromCC.apply(null, u8a.subarray(i, i + maxargs)));
79
- }
80
- return _btoa(strs.join(""));
81
- };
82
- var fromUint8Array = (u8a, urlsafe = false) => urlsafe ? _mkUriSafe(_fromUint8Array(u8a)) : _fromUint8Array(u8a);
83
- var cb_utob = (c) => {
84
- if (c.length < 2) {
85
- var cc = c.charCodeAt(0);
86
- return cc < 128 ? c : cc < 2048 ? _fromCC(192 | cc >>> 6) + _fromCC(128 | cc & 63) : _fromCC(224 | cc >>> 12 & 15) + _fromCC(128 | cc >>> 6 & 63) + _fromCC(128 | cc & 63);
87
- } else {
88
- var cc = 65536 + (c.charCodeAt(0) - 55296) * 1024 + (c.charCodeAt(1) - 56320);
89
- return _fromCC(240 | cc >>> 18 & 7) + _fromCC(128 | cc >>> 12 & 63) + _fromCC(128 | cc >>> 6 & 63) + _fromCC(128 | cc & 63);
90
- }
91
- };
92
- var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\x00-\x7F]/g;
93
- var utob = (u) => u.replace(re_utob, cb_utob);
94
- var _encode = _TE ? (s) => _fromUint8Array(_TE.encode(s)) : (s) => _btoa(utob(s));
95
- var encode = (src, urlsafe = false) => urlsafe ? _mkUriSafe(_encode(src)) : _encode(src);
96
- var encodeURI = (src) => encode(src, true);
97
- var re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g;
98
- var cb_btou = (cccc) => {
99
- switch (cccc.length) {
100
- case 4:
101
- var cp = (7 & cccc.charCodeAt(0)) << 18 | (63 & cccc.charCodeAt(1)) << 12 | (63 & cccc.charCodeAt(2)) << 6 | 63 & cccc.charCodeAt(3), offset = cp - 65536;
102
- return _fromCC((offset >>> 10) + 55296) + _fromCC((offset & 1023) + 56320);
103
- case 3:
104
- return _fromCC((15 & cccc.charCodeAt(0)) << 12 | (63 & cccc.charCodeAt(1)) << 6 | 63 & cccc.charCodeAt(2));
105
- default:
106
- return _fromCC((31 & cccc.charCodeAt(0)) << 6 | 63 & cccc.charCodeAt(1));
107
- }
108
- };
109
- var btou = (b) => b.replace(re_btou, cb_btou);
110
- var atobPolyfill = (asc) => {
111
- asc = asc.replace(/\s+/g, "");
112
- if (!b64re.test(asc))
113
- throw new TypeError("malformed base64.");
114
- asc += "==".slice(2 - (asc.length & 3));
115
- let u24, r1, r2;
116
- let binArray = [];
117
- for (let i = 0; i < asc.length; ) {
118
- u24 = b64tab[asc.charAt(i++)] << 18 | b64tab[asc.charAt(i++)] << 12 | (r1 = b64tab[asc.charAt(i++)]) << 6 | (r2 = b64tab[asc.charAt(i++)]);
119
- if (r1 === 64) {
120
- binArray.push(_fromCC(u24 >> 16 & 255));
121
- } else if (r2 === 64) {
122
- binArray.push(_fromCC(u24 >> 16 & 255, u24 >> 8 & 255));
123
- } else {
124
- binArray.push(_fromCC(u24 >> 16 & 255, u24 >> 8 & 255, u24 & 255));
125
- }
126
- }
127
- return binArray.join("");
128
- };
129
- var _atob = typeof atob === "function" ? (asc) => atob(_tidyB64(asc)) : atobPolyfill;
130
- var _toUint8Array = typeof Uint8Array.fromBase64 === "function" ? (a) => Uint8Array.fromBase64(a) : (a) => _U8Afrom(_atob(a).split("").map((c) => c.charCodeAt(0)));
131
- var toUint8Array = (a) => _toUint8Array(_unURI(a));
132
- var _decode = _TD ? (a) => _TD.decode(_toUint8Array(a)) : (a) => btou(_atob(a));
133
- var _unURI = (a) => _tidyB64(a.replace(/[-_]/g, (m0) => m0 == "-" ? "+" : "/"));
134
- var decode = (src) => _decode(_unURI(src));
135
- var isValid = (src) => {
136
- if (typeof src !== "string")
137
- return false;
138
- const s = src.replace(/\s+/g, "").replace(/={0,2}$/, "");
139
- if (s.length % 4 === 1)
140
- return false;
141
- return !/[^\s0-9a-zA-Z\+/]/.test(s) || !/[^\s0-9a-zA-Z\-_]/.test(s);
142
- };
143
- var _noEnum = (v) => {
144
- return {
145
- value: v,
146
- enumerable: false,
147
- writable: true,
148
- configurable: true
149
- };
150
- };
151
- var extendString = function() {
152
- const _add = (name, body) => Object.defineProperty(String.prototype, name, _noEnum(body));
153
- _add("fromBase64", function() {
154
- return decode(this);
155
- });
156
- _add("toBase64", function(urlsafe) {
157
- return encode(this, urlsafe);
158
- });
159
- _add("toBase64URI", function() {
160
- return encode(this, true);
161
- });
162
- _add("toBase64URL", function() {
163
- return encode(this, true);
164
- });
165
- _add("toUint8Array", function() {
166
- return toUint8Array(this);
167
- });
168
- };
169
- var extendUint8Array = function() {
170
- const _add = (name, body) => Object.defineProperty(Uint8Array.prototype, name, _noEnum(body));
171
- _add("toBase64", function(urlsafe) {
172
- return fromUint8Array(this, urlsafe);
173
- });
174
- _add("toBase64URI", function() {
175
- return fromUint8Array(this, true);
176
- });
177
- _add("toBase64URL", function() {
178
- return fromUint8Array(this, true);
179
- });
180
- };
181
- var extendBuiltins = () => {
182
- extendString();
183
- extendUint8Array();
184
- };
185
- var gBase64 = {
186
- version,
187
- VERSION,
188
- atob: _atob,
189
- atobPolyfill,
190
- btoa: _btoa,
191
- btoaPolyfill,
192
- fromBase64: decode,
193
- toBase64: encode,
194
- encode,
195
- encodeURI,
196
- encodeURL: encodeURI,
197
- utob,
198
- btou,
199
- decode,
200
- isValid,
201
- fromUint8Array,
202
- toUint8Array,
203
- extendString,
204
- extendUint8Array,
205
- extendBuiltins
206
- };
207
-
208
48
  // packages/core/authToken.ts
209
49
  var parseToken = (token) => {
210
50
  try {
@@ -220,7 +60,13 @@ var isAccountIdentity = (value) => typeof value === "object" && value !== null &
220
60
  var parseUserToken = (token) => {
221
61
  if (typeof token !== "string" || !token.trim()) return null;
222
62
  const parsed = parseToken(token);
223
- return isAccountIdentity(parsed) ? parsed : null;
63
+ if (!isAccountIdentity(parsed)) return null;
64
+ if (parsed.authKind === "google-session-v1") {
65
+ const account = { userId: parsed.userId };
66
+ if (typeof parsed.username === "string") account.username = parsed.username;
67
+ return account;
68
+ }
69
+ return parsed;
224
70
  };
225
71
  var parseStoredTokenEntries = (tokens) => {
226
72
  if (!Array.isArray(tokens)) return [];
@@ -352,7 +198,7 @@ var AccountSessionCore = class {
352
198
  this.setSnapshot({
353
199
  ...this.snapshot,
354
200
  transition
355
- });
201
+ }, true);
356
202
  }
357
203
  /**
358
204
  * Activate `token` as the active account and complete the current transition.
@@ -1,3 +1,13 @@
1
+ import {
2
+ writeOAuthCredential
3
+ } from "./chunk-G7Y4GXTY.js";
4
+ import {
5
+ buildEnvFromProfile,
6
+ loadProfileConfig
7
+ } from "./chunk-R5GO3YZP.js";
8
+ import {
9
+ getCliLocale
10
+ } from "./chunk-OGZE6BZG.js";
1
11
  import {
2
12
  ANTIGRAVITY_AUTH_URL,
3
13
  ANTIGRAVITY_CALLBACK_PATH,
@@ -11,29 +21,19 @@ import {
11
21
  getAntigravityUserAgent,
12
22
  normalizeAntigravityTokenPayload,
13
23
  refreshAntigravityToken
14
- } from "./chunk-EWPDMS4N.js";
15
- import {
16
- buildEnvFromProfile,
17
- loadProfileConfig
18
- } from "./chunk-R5GO3YZP.js";
19
- import {
20
- getCliLocale
21
- } from "./chunk-OB6DVWPF.js";
24
+ } from "./chunk-Y22P6ASC.js";
22
25
  import {
23
26
  toErrorMessage
24
27
  } from "./chunk-HNMXYYJR.js";
25
28
  import {
26
29
  asTrimmedString
27
30
  } from "./chunk-3EUW3WEO.js";
28
- import {
29
- isRecord
30
- } from "./chunk-KUG52IAP.js";
31
31
  import {
32
32
  asOptionalFiniteNumber
33
33
  } from "./chunk-WWC7I6TA.js";
34
34
  import {
35
- writeOAuthCredential
36
- } from "./chunk-G7Y4GXTY.js";
35
+ isRecord
36
+ } from "./chunk-KUG52IAP.js";
37
37
 
38
38
  // packages/cli/tui/wtAmbiguousWidth.ts
39
39
  import fs from "node:fs";
@@ -680,6 +680,7 @@ function buildSourceMapping(rawLine, styledLine, prefixCharCount) {
680
680
  while (contentStart < rawLine.length && rawLine[contentStart] === " ") contentStart++;
681
681
  lineToParse = rawLine.slice(contentStart);
682
682
  }
683
+ const visibleBody = stripAnsi2(styledLine.slice(prefixCharCount));
683
684
  const INLINE_RE = /(\[([^\]]+)\]\(([^)\s]+)\)|`([^`]+)`|\*\*(.+?)\*\*|(?<!\*)\*([^*]+?)\*(?!\*)|~~([^~]+?)~~)/g;
684
685
  const mapping = [];
685
686
  let lastIdx = 0;
@@ -693,18 +694,37 @@ function buildSourceMapping(rawLine, styledLine, prefixCharCount) {
693
694
  if (match[2] !== void 0 && match[3] !== void 0) {
694
695
  const linkText = match[2];
695
696
  const linkUrl = match[3];
697
+ const cleanText = linkText.replace(/[\u0000-\u001f\u007f]/g, "");
698
+ const cleanUrl = linkUrl.replace(/[\u0000-\u001f\u007f]/g, "");
699
+ const cursor = mapping.length;
696
700
  const textOffset = contentStart + match.index + 1;
697
- for (let c = 0; c < linkText.length; c++) {
701
+ for (let c = 0; c < cleanText.length; c++) {
698
702
  mapping.push(textOffset + c);
699
703
  }
700
- const parenOffset = textOffset + linkText.length;
701
- mapping.push(parenOffset);
702
- mapping.push(parenOffset + 1);
703
- const urlOffset = parenOffset + 2;
704
- for (let c = 0; c < linkUrl.length; c++) {
705
- mapping.push(urlOffset + c);
704
+ if (visibleBody.startsWith(`${cleanText} \u2197`, cursor)) {
705
+ const closeParenOffset = contentStart + match.index + fullMatch.length - 1;
706
+ mapping.push(closeParenOffset);
707
+ mapping.push(closeParenOffset);
708
+ } else if (visibleBody.startsWith(`${cleanText} (${cleanUrl})`, cursor)) {
709
+ const parenOffset = textOffset + linkText.length;
710
+ mapping.push(parenOffset);
711
+ mapping.push(parenOffset + 1);
712
+ const urlOffset = parenOffset + 2;
713
+ for (let c = 0; c < cleanUrl.length; c++) {
714
+ mapping.push(urlOffset + c);
715
+ }
716
+ mapping.push(urlOffset + linkUrl.length);
717
+ } else if (visibleBody.startsWith(cleanText, cursor) && cleanText.trim() === cleanUrl.trim()) {
718
+ } else if (linkText.trim() !== linkUrl.trim()) {
719
+ const parenOffset = textOffset + linkText.length;
720
+ mapping.push(parenOffset);
721
+ mapping.push(parenOffset + 1);
722
+ const urlOffset = parenOffset + 2;
723
+ for (let c = 0; c < linkUrl.length; c++) {
724
+ mapping.push(urlOffset + c);
725
+ }
726
+ mapping.push(urlOffset + linkUrl.length);
706
727
  }
707
- mapping.push(urlOffset + linkUrl.length);
708
728
  } else if (match[4] !== void 0) {
709
729
  const codeText = match[4];
710
730
  const codeOffset = contentStart + match.index + 1;
@@ -767,6 +787,25 @@ function wrapTranscriptLineWithLayout(line, columns, hangingIndent = "", lineSou
767
787
  break;
768
788
  }
769
789
  }
790
+ const CJK_CLOSING_OR_SEP_REGEX = /^[,。!?;:、)》】」』]$/;
791
+ let listMarkerEndToken = 0;
792
+ {
793
+ let plainPrefix = "";
794
+ let probe = 0;
795
+ while (probe < tokens.length && plainPrefix.length < 24) {
796
+ const tok = tokens[probe];
797
+ if (tok.kind === "char") {
798
+ plainPrefix += tok.value;
799
+ if (plainPrefix.length >= 2 && !/^(?:◈ ?)?\s*(?:\d*[.)]?|[•*+-])?\s*$/.test(plainPrefix)) {
800
+ break;
801
+ }
802
+ if (/^(?:◈\s+)?\s*(?:\d+[.)]|[•*+-])\s+$/.test(plainPrefix)) {
803
+ listMarkerEndToken = probe + 1;
804
+ }
805
+ }
806
+ probe += 1;
807
+ }
808
+ }
770
809
  let plainCharIndexAtStart = 0;
771
810
  let start = 0;
772
811
  while (start < tokens.length) {
@@ -776,6 +815,10 @@ function wrapTranscriptLineWithLayout(line, columns, hangingIndent = "", lineSou
776
815
  const currentPrefixWidth = isContinuation ? visibleWidth(hangingIndent) : prefixWidth;
777
816
  const indentWidth = isContinuation ? visibleWidth(hangingIndent) : 0;
778
817
  const maxSegmentWidth = Math.max(1, columns - indentWidth);
818
+ const nextContent = (from) => {
819
+ while (from < tokens.length && tokens[from].kind === "sgr") from += 1;
820
+ return tokens[from];
821
+ };
779
822
  let width = 0;
780
823
  let end = start;
781
824
  let lastBreak = -1;
@@ -788,17 +831,40 @@ function wrapTranscriptLineWithLayout(line, columns, hangingIndent = "", lineSou
788
831
  if (width + token.width > maxSegmentWidth && width > 0) break;
789
832
  width += token.width;
790
833
  end += 1;
791
- if ((token.value === " " || token.value === " ") && token.charIndex >= prefixCharCount) {
792
- lastBreak = end;
834
+ if (token.charIndex >= prefixCharCount && (isContinuation || end > listMarkerEndToken)) {
835
+ if (token.value === " " || token.value === " " || CJK_CLOSING_OR_SEP_REGEX.test(token.value) || token.value === "/") {
836
+ lastBreak = end;
837
+ }
793
838
  }
794
839
  }
795
840
  let segmentEnd = end;
796
841
  if (end < tokens.length && lastBreak > start) {
797
842
  const overflowToken = tokens[end];
798
- if (overflowToken.kind === "char" && overflowToken.value !== " " && overflowToken.width === 1) {
843
+ if (overflowToken.kind === "char" && overflowToken.value !== " " && (overflowToken.width === 1 || CJK_CLOSING_OR_SEP_REGEX.test(overflowToken.value)) && nextContent(lastBreak) !== overflowToken) {
799
844
  segmentEnd = lastBreak;
800
845
  }
801
846
  }
847
+ const next = nextContent(segmentEnd);
848
+ if (next?.kind === "char" && CJK_CLOSING_OR_SEP_REGEX.test(next.value)) {
849
+ const minBacktrack = isContinuation ? start : Math.max(start, listMarkerEndToken);
850
+ let previous = segmentEnd - 1;
851
+ while (previous > minBacktrack) {
852
+ const tok = tokens[previous];
853
+ if (tok.kind === "sgr") {
854
+ previous -= 1;
855
+ continue;
856
+ }
857
+ if (CJK_CLOSING_OR_SEP_REGEX.test(tok.value)) {
858
+ previous -= 1;
859
+ continue;
860
+ }
861
+ break;
862
+ }
863
+ const preceding = tokens[previous];
864
+ if (previous > minBacktrack && preceding?.kind === "char" && preceding.value !== " " && preceding.value !== " ") {
865
+ segmentEnd = previous;
866
+ }
867
+ }
802
868
  if (segmentEnd === start) segmentEnd = start + 1;
803
869
  let segment = "";
804
870
  let sawStyle = openingStyles.length > 0;
@@ -879,7 +945,7 @@ function wrapTranscriptLine(line, columns, hangingIndent = "") {
879
945
  return wrapTranscriptLineWithLayout(line, columns, hangingIndent).map((r) => r.rendered);
880
946
  }
881
947
  function buildWindowTitle(title) {
882
- const plain = stripAnsi2(title).replace(/[\x00-\x1f\x7f]+/g, " ");
948
+ const plain = stripAnsi2(title).replace(/[\x00-\x1f\x7f-\x9f]+/g, " ");
883
949
  let truncated = "";
884
950
  let width = 0;
885
951
  const maxCols = 80;
@@ -1026,6 +1092,23 @@ async function startCallbackServer(options) {
1026
1092
  var TIER_LEGACY = "legacy-tier";
1027
1093
  var PROJECT_ONBOARD_MAX_ATTEMPTS = 5;
1028
1094
  var PROJECT_ONBOARD_INTERVAL_MS = 2e3;
1095
+ async function fetchAntigravityAvailableModels(fetchImpl, accessToken) {
1096
+ const response = await fetchImpl(`${ANTIGRAVITY_CLOUD_CODE_BASE_URL}/v1internal:fetchAvailableModels`, {
1097
+ method: "POST",
1098
+ headers: {
1099
+ Authorization: `Bearer ${accessToken}`,
1100
+ "Content-Type": "application/json",
1101
+ "User-Agent": getAntigravityUserAgent()
1102
+ },
1103
+ body: "{}"
1104
+ });
1105
+ if (!response.ok) {
1106
+ const body = await response.text();
1107
+ throw new Error(`fetchAvailableModels failed: ${response.status} ${response.statusText}: ${body}`);
1108
+ }
1109
+ const payload = await response.json();
1110
+ return payload.models && typeof payload.models === "object" && !Array.isArray(payload.models) ? payload.models : {};
1111
+ }
1029
1112
  var ANTIGRAVITY_LOAD_CODE_ASSIST_METADATA = Object.freeze({
1030
1113
  ideType: "ANTIGRAVITY",
1031
1114
  platform: "PLATFORM_UNSPECIFIED",
@@ -2348,6 +2431,7 @@ export {
2348
2431
  ANSI_ESCAPE_REGEX,
2349
2432
  stripAnsi2 as stripAnsi,
2350
2433
  applyTerminalOutputToText,
2434
+ resolveAmbiguousWidth,
2351
2435
  resolveBoxCharset,
2352
2436
  boxGlyphs,
2353
2437
  displayWidth,
@@ -2363,12 +2447,13 @@ export {
2363
2447
  wrapTranscriptLine,
2364
2448
  buildWindowTitle,
2365
2449
  wrapTextToLines,
2366
- resolveClaudeCodeVersion,
2367
- getClaudeCodeUserAgent,
2368
- adoptRequiredClaudeCodeVersion,
2369
2450
  startCallbackServer,
2451
+ fetchAntigravityAvailableModels,
2370
2452
  runAntigravityOAuthLogin,
2371
2453
  refreshAntigravityOAuthToken,
2454
+ resolveClaudeCodeVersion,
2455
+ getClaudeCodeUserAgent,
2456
+ adoptRequiredClaudeCodeVersion,
2372
2457
  renderDeviceCodeDisplay,
2373
2458
  generatePkcePair,
2374
2459
  runOpenAiCodexDeviceCode,