nolo-cli 0.259.0-alpha.1 → 0.261.0-alpha.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 (320) hide show
  1. package/README.md +1 -1
  2. package/{_executeModel-MTM4BJK3.js → _executeModel-PODMRXJJ.js} +97 -83
  3. package/accountResolver-NGICIMEE.js +1 -1
  4. package/{action-C6IQAKN4.js → action-NJTYNXXR.js} +12 -10
  5. package/{addContentAction-53364YDW.js → addContentAction-RUPXLROG.js} +14 -13
  6. package/{addDialogAgentAction-U5DD5EN5.js → addDialogAgentAction-57EJ2UBC.js} +20 -24
  7. package/{agentDeleteCommand-53NN3VSK.js → agentDeleteCommand-DRFCOTYP.js} +185 -147
  8. package/{agentEmailCommands-KOGGIT6I.js → agentEmailCommands-FHENHUBF.js} +143 -127
  9. package/{agentGrantCommands-L6O2HVJI.js → agentGrantCommands-BMVKNYIY.js} +9 -6
  10. package/{agentListCommands-62UYUQDI.js → agentListCommands-W66W5K3V.js} +88 -69
  11. package/{agentMachineCommands-W6TNJXEA.js → agentMachineCommands-C3BUBCXU.js} +69 -60
  12. package/{agentProviderCommands-QLTABYR7.js → agentProviderCommands-VIWKP7DM.js} +11 -8
  13. package/{agentPullCommand-2EYJ5ENC.js → agentPullCommand-5SNSXOY7.js} +10 -7
  14. package/agentRecordCommands-DYMHWTID.js +210 -0
  15. package/agentRun-QVFG3CI4.js +250 -0
  16. package/agentRunCommand-YV4V5HSL.js +248 -0
  17. package/{agentRunControl-LXMADX3N.js → agentRunControl-RGBHKPKJ.js} +19 -12
  18. package/{agentRuntimeLocal-YGNJMQW3.js → agentRuntimeLocal-LVEMOYS2.js} +62 -49
  19. package/{agentSlice-3HHYUQLM.js → agentSlice-OJCM7OUX.js} +15 -18
  20. package/appConfigCommands-ZUXQLE7L.js +417 -0
  21. package/{appDeleteCommands-5COJ6CSG.js → appDeleteCommands-L5UKUMXY.js} +68 -58
  22. package/{appDeployCommands-3JPAT3XO.js → appDeployCommands-KX2BRQUW.js} +74 -59
  23. package/{appDeployStatusCommands-RHZKF3G4.js → appDeployStatusCommands-7LHRSWW7.js} +68 -58
  24. package/{appGetCommands-73DXOAQW.js → appGetCommands-F7SDFCUK.js} +74 -58
  25. package/{appListCommands-HD5LOQ3G.js → appListCommands-U4NJKSMZ.js} +74 -58
  26. package/appMigrateCommands-JAPOLYSW.js +230 -0
  27. package/appSourceCommands-TLXPWXUH.js +279 -0
  28. package/authCommand-AU3GZBZ2.js +65 -0
  29. package/{authCommands-T5FODCEG.js → authCommands-JKBWMUQ4.js} +20 -17
  30. package/{builtinSkillRegistry-EDHD2UHU.js → builtinSkillRegistry-6XUWMAV5.js} +8 -6
  31. package/{chromeOpsCommands-3SSTDFRF.js → chromeOpsCommands-F47WYQWF.js} +68 -18
  32. package/{chunk-5YS6QHGT.js → chunk-2FGFY72B.js} +9 -9
  33. package/{chunk-MJBLXJMP.js → chunk-2I4R6ZRV.js} +12 -9
  34. package/{chunk-FXEPZKNJ.js → chunk-2MIZHEND.js} +506 -64
  35. package/{chunk-TLE77UJ5.js → chunk-2OROOEOQ.js} +0 -1
  36. package/{chunk-6RSNVJGO.js → chunk-2ZBPWX7N.js} +4 -4
  37. package/chunk-35JIFLIG.js +30 -0
  38. package/{chunk-7OVOZRZF.js → chunk-3B7OTHDW.js} +23 -379
  39. package/{chunk-DNNPARJK.js → chunk-3QMN3T6L.js} +50 -37
  40. package/{chunk-DMPZMYH4.js → chunk-3R4AYHJR.js} +13 -1
  41. package/{chunk-XNNBXUEM.js → chunk-3TII7WCF.js} +5 -5
  42. package/{chunk-223KZUJ6.js → chunk-4HZCBA4Q.js} +18 -15
  43. package/{chunk-C5A54QS7.js → chunk-4INJGWE3.js} +18 -5
  44. package/chunk-4IVMDQBA.js +261 -0
  45. package/chunk-4Y6CZ2N4.js +82 -0
  46. package/{chunk-KZ4A7EIV.js → chunk-56OAS5RZ.js} +1 -1
  47. package/{chunk-KQHEGELM.js → chunk-63G7JWEA.js} +16 -6
  48. package/{chunk-4EACJPZI.js → chunk-6BBXJGIQ.js} +51 -42
  49. package/chunk-72VWN4VK.js +51 -0
  50. package/chunk-7LR2IFUH.js +100 -0
  51. package/{chunk-S73EPYNC.js → chunk-7LS5ATRP.js} +20 -6
  52. package/{chunk-XPETQ4MR.js → chunk-7X4BFUJV.js} +24 -10
  53. package/{chunk-KHYSFS3W.js → chunk-A454UXB6.js} +148 -73
  54. package/chunk-A4O76A6V.js +432 -0
  55. package/chunk-AMNZPQCY.js +635 -0
  56. package/{chunk-4MXYCQBS.js → chunk-AQNWWJLH.js} +2 -56
  57. package/{chunk-LHCGKAFO.js → chunk-BKP325XS.js} +184 -112
  58. package/{chunk-PENRYZ4D.js → chunk-BPB3T5EU.js} +4 -7
  59. package/{chunk-U6QNVOR5.js → chunk-BUGLH2A7.js} +130 -6
  60. package/{chunk-2JHGUL5K.js → chunk-BVYHE6QD.js} +2 -2
  61. package/{chunk-KXOPLLFP.js → chunk-CA7LGAHV.js} +69 -9
  62. package/{chunk-2FZVXOFX.js → chunk-CEIWXKHP.js} +112 -200
  63. package/{chunk-Y2TCTNUD.js → chunk-CK2LMTYO.js} +4 -4
  64. package/{chunk-AIFQKNPP.js → chunk-CL33RFD7.js} +1 -1
  65. package/{chunk-57V4PADY.js → chunk-CNYPQYXT.js} +781 -449
  66. package/{chunk-P4R5KXU7.js → chunk-CW6LRDSF.js} +5 -5
  67. package/chunk-D3ONA3FP.js +762 -0
  68. package/{chunk-PIVTQRX6.js → chunk-DDKA6V6X.js} +111 -12
  69. package/chunk-DLXL4NSL.js +1179 -0
  70. package/{chunk-EJQE5HB7.js → chunk-DSBRIUX5.js} +4 -2
  71. package/{chunk-XRGBJHZX.js → chunk-E36V7MPY.js} +9 -5
  72. package/{chunk-4YPH5KRA.js → chunk-EDKMRDET.js} +1 -1
  73. package/{chunk-DBJODIZ6.js → chunk-EQOWWSNQ.js} +19 -27
  74. package/chunk-ER6NTALN.js +34 -0
  75. package/{chunk-L4XST72F.js → chunk-ERCSHBUD.js} +16027 -17392
  76. package/chunk-EUHMI5KG.js +101 -0
  77. package/{chunk-YQLAFJRQ.js → chunk-FBNVJ2TO.js} +1 -1
  78. package/{chunk-Q2EERN52.js → chunk-FF5ZRKW7.js} +12 -7
  79. package/{chunk-6XIE5ZGI.js → chunk-FGFJUFPS.js} +5 -6
  80. package/chunk-FI4DPLR7.js +902 -0
  81. package/{chunk-HDKMVYNJ.js → chunk-FNLT7NKG.js} +7 -11
  82. package/{chunk-JCQ3WCQ3.js → chunk-FOC4TORM.js} +69 -3
  83. package/chunk-FP46RAJQ.js +58 -0
  84. package/{chunk-JPXACKSW.js → chunk-G22P2J7O.js} +30 -81
  85. package/{chunk-7WHCIA5V.js → chunk-G5IAIGGD.js} +3 -8
  86. package/{chunk-FZENZCIA.js → chunk-GEC4CHS2.js} +19 -12
  87. package/chunk-GF4LYNNZ.js +25 -0
  88. package/{chunk-IYLUK67R.js → chunk-GH6SS2DZ.js} +25 -8
  89. package/chunk-HAZ6UVH4.js +368 -0
  90. package/{chunk-OKAXQFON.js → chunk-HB4J5HA6.js} +4 -4
  91. package/{chunk-324FWHUA.js → chunk-HHXF57CL.js} +12 -3
  92. package/chunk-HJTI7RZV.js +94 -0
  93. package/{chunk-HQUGB2HM.js → chunk-HMFKYZKP.js} +62 -50
  94. package/{chunk-Q2MPKE4B.js → chunk-HVRG27HI.js} +76 -26
  95. package/{chunk-46FETNLF.js → chunk-IN4B6Z2D.js} +7 -6
  96. package/chunk-IV6VUVLJ.js +88 -0
  97. package/{chunk-LLUBUHNT.js → chunk-IWWJSSST.js} +5 -9
  98. package/{chunk-7BIJFGKS.js → chunk-J22PFCQN.js} +106 -52
  99. package/chunk-J42X32PV.js +472 -0
  100. package/{chunk-LCBAMY2M.js → chunk-JKVOKKMQ.js} +0 -7
  101. package/{chunk-KT7S7ANZ.js → chunk-JPYOHIHX.js} +9 -9
  102. package/{chunk-R7XWZDOH.js → chunk-JUMQJSQF.js} +1423 -282
  103. package/{chunk-KVMLM5VD.js → chunk-KAHYBAEN.js} +211 -472
  104. package/{chunk-KLMBM6P6.js → chunk-KALCFXQO.js} +2454 -1115
  105. package/chunk-KDDXC2IH.js +148 -0
  106. package/chunk-KGKTN2NX.js +25 -0
  107. package/chunk-KGWE224L.js +246 -0
  108. package/{chunk-OYUMJMC5.js → chunk-KSV6T4AH.js} +6 -1
  109. package/{chunk-P27E22MA.js → chunk-L43DGEPZ.js} +1 -1
  110. package/{chunk-5BIDJVNX.js → chunk-L45P4JTE.js} +180 -31
  111. package/chunk-LHCIIUCX.js +222 -0
  112. package/{chunk-CBIGMWMI.js → chunk-LHJB4BXJ.js} +1 -1
  113. package/{chunk-TRRXYFTR.js → chunk-LOFRSJX2.js} +1 -0
  114. package/{chunk-SQL7YNED.js → chunk-LPXBBC32.js} +71 -5
  115. package/{chunk-BIDSIRTS.js → chunk-LTCZOOAM.js} +11 -17
  116. package/chunk-LUTSMSIL.js +425 -0
  117. package/chunk-LXP53WGF.js +168 -0
  118. package/{chunk-2CT2J3O6.js → chunk-M7VNNPVX.js} +2493 -4055
  119. package/chunk-MDAYRIP7.js +1889 -0
  120. package/{chunk-6B2OBX5B.js → chunk-MMXHIHJZ.js} +15 -47
  121. package/{chunk-HPDLPEUG.js → chunk-MPWQI36J.js} +267 -234
  122. package/chunk-MRACVEPZ.js +7 -0
  123. package/{chunk-ZYPXOQS2.js → chunk-MSFKHPA6.js} +1 -1
  124. package/chunk-NHLLXINQ.js +8 -0
  125. package/{chunk-QXTEEEIN.js → chunk-NJCTPWJU.js} +8 -8
  126. package/chunk-NLS7F5DW.js +1697 -0
  127. package/{chunk-FP37ELBT.js → chunk-NTBTVKKB.js} +17 -25
  128. package/{chunk-JLZJL3WC.js → chunk-O77F26YB.js} +370 -39
  129. package/{chunk-LVZVSLKO.js → chunk-O7ZY6SUK.js} +5 -22
  130. package/{chunk-YN23INFZ.js → chunk-OIOMBPCA.js} +23 -2
  131. package/{chunk-CJOOF4L5.js → chunk-OSZNERNW.js} +17 -14
  132. package/{chunk-JZO7KUF3.js → chunk-P4I55ASV.js} +313 -275
  133. package/{chunk-2C5VN7NH.js → chunk-P4XAHM4B.js} +1 -1
  134. package/chunk-PL5RKESU.js +40 -0
  135. package/chunk-Q5FJJ6XI.js +103 -0
  136. package/{chunk-WS36XPJD.js → chunk-Q5IXZF3S.js} +82 -6
  137. package/{createAgentAutomationAction-GRZ6XY7Q.js → chunk-QKM55LP2.js} +3 -160
  138. package/{chunk-WSLL7VV4.js → chunk-QXWXRBOL.js} +9 -9
  139. package/{chunk-MXA54TQM.js → chunk-QZYQ3Y3G.js} +1 -1
  140. package/{chunk-FE7G6DSP.js → chunk-R72QWIFO.js} +14 -4
  141. package/{chunk-5RGU3J7P.js → chunk-REAE2SZK.js} +0 -1
  142. package/chunk-RF576RYE.js +117 -0
  143. package/chunk-RI7SXDJW.js +1317 -0
  144. package/{chunk-FEIVARWR.js → chunk-RIOAPUGV.js} +238 -25
  145. package/{chunk-BZLGPM5B.js → chunk-RNLKWUVY.js} +7 -12
  146. package/{chunk-J7JRCOIW.js → chunk-RWXHGPWJ.js} +1 -1
  147. package/{chunk-J55F3IEZ.js → chunk-SARJZIGR.js} +1 -1
  148. package/chunk-SJFL32RD.js +356 -0
  149. package/{chunk-6SOWMEAY.js → chunk-SR57FDTX.js} +2 -258
  150. package/{chunk-MPGR4ZNR.js → chunk-SRVLHMES.js} +46 -42
  151. package/{chunk-CEKRIR22.js → chunk-SU4NCTW4.js} +1 -1
  152. package/{chunk-RD3QLZQV.js → chunk-SWJRX4M5.js} +324 -2
  153. package/{chunk-R3TUHCSJ.js → chunk-T3Y2NA4H.js} +8 -3
  154. package/{chunk-53W5BXLN.js → chunk-TCOHWKDM.js} +54 -55
  155. package/{chunk-KWNVPY6M.js → chunk-TJXO66M2.js} +8 -5
  156. package/{chunk-QIGQFON2.js → chunk-TXMFSGRY.js} +1 -1
  157. package/{chunk-ADYWV732.js → chunk-U5PSCTMR.js} +264 -177
  158. package/{chunk-UUCYUN6Y.js → chunk-UB7NV7NN.js} +1 -1
  159. package/{chunk-QGFLVQ6E.js → chunk-UBOTXA3Z.js} +4 -14
  160. package/{chunk-6YX2RAQN.js → chunk-UEZL3RBG.js} +89 -164
  161. package/{chunk-NCFKHYDM.js → chunk-UJL23HBL.js} +774 -119
  162. package/chunk-ULPU4C43.js +1710 -0
  163. package/{chunk-UA3QTA2S.js → chunk-VC3MAT33.js} +4442 -2570
  164. package/{chunk-VNHZJEQN.js → chunk-VCESLFF4.js} +3 -3
  165. package/chunk-VOO3YQQP.js +17157 -0
  166. package/{chunk-Y2GWUBNS.js → chunk-VZDSNDUD.js} +279 -149
  167. package/{chunk-6BMTKYAO.js → chunk-W2Z5E2R7.js} +126 -698
  168. package/{chunk-4ZCTKB27.js → chunk-W5GKF5ZW.js} +1 -0
  169. package/chunk-WEEB2JKA.js +443 -0
  170. package/{chunk-NUHQO3RB.js → chunk-WIVVNJUS.js} +1 -1
  171. package/chunk-WMBJDXMY.js +408 -0
  172. package/chunk-WSQLCWLQ.js +201 -0
  173. package/{chunk-OOVOAG4Q.js → chunk-WY6DMHMG.js} +1 -1
  174. package/{chunk-6K32PBRY.js → chunk-XJW6SLBZ.js} +3 -3
  175. package/{chunk-MNFUKRRU.js → chunk-XKNDVHF5.js} +7 -7
  176. package/{chunk-MHKPUGPD.js → chunk-XREMPMNK.js} +20 -4
  177. package/chunk-XT6C2QZW.js +46 -0
  178. package/chunk-XUDXQT7R.js +790 -0
  179. package/{chunk-ZEZC7IIM.js → chunk-YFSM2366.js} +35 -35
  180. package/{chunk-RIWKZT7E.js → chunk-YRPIUIEQ.js} +11 -9
  181. package/{chunk-U35UUM5K.js → chunk-YVOUSIIA.js} +1 -1
  182. package/{chunk-6VEO7Z3Y.js → chunk-Z27AH6A5.js} +6 -6
  183. package/chunk-Z3KTXWWB.js +76 -0
  184. package/{chunk-UWWOWTW2.js → chunk-Z7EP5HDL.js} +1 -1
  185. package/{chunk-YFEK7ACQ.js → chunk-ZB2E724W.js} +4 -4
  186. package/{chunk-YLAHYLDQ.js → chunk-ZC3CMUKU.js} +2 -89
  187. package/{chunk-5P3PPQVP.js → chunk-ZQAADXSF.js} +1 -1
  188. package/{cliAgentConfigHelpers-BXHQ3PXP.js → cliAgentConfigHelpers-BJJEXHSZ.js} +20 -14
  189. package/{cliAuthorityBrokerClient-TFNXJLXL.js → cliAuthorityBrokerClient-3SKOA7OZ.js} +3 -1
  190. package/cliAuthorityBrokerProcess-VIJEKQSX.js +34 -0
  191. package/{cliEnvHelpers-CNMP3RDX.js → cliEnvHelpers-NDMKN4X2.js} +6 -3
  192. package/{cliExecutor-K6FDZTQ2.js → cliExecutor-Z62UBJ5S.js} +12 -6
  193. package/cliLocalAgentRecordReader-KCZS2MZU.js +113 -0
  194. package/cloudAutomationCommands-2WQUGQSW.js +310 -0
  195. package/{commandRegistry-IFYQLPGM.js → commandRegistry-C64JBZJ3.js} +288 -121
  196. package/{contentThunks-QCFCD2X3.js → contentThunks-G3HEIRXC.js} +45 -43
  197. package/{cooldownCommands-WDOI5VD7.js → cooldownCommands-FPAFS7XG.js} +1 -1
  198. package/createAgentAutomationAction-DSBL3X3A.js +172 -0
  199. package/createDialogAction-OHFUHC53.js +86 -0
  200. package/{createPageAction-QCVBMP4C.js → createPageAction-E6JZSZLU.js} +49 -45
  201. package/{db-VR74ADGC.js → db-KTQ3LL2Q.js} +3 -3
  202. package/{dbSlice-RWPSVHBC.js → dbSlice-U3GPLEL3.js} +21 -16
  203. package/deleteDbKey-DRXKWJX5.js +86 -0
  204. package/{dialogCommands-4IEQUALS.js → dialogCommands-4EX2OTIC.js} +80 -66
  205. package/{dialogMessageRecord-OAV77LT7.js → dialogMessageRecord-2HJTEXQX.js} +1 -1
  206. package/dialogNotifyCommand-4SCE2Z2R.js +44 -0
  207. package/dialogPortabilityCommands-ZSFFHRX4.js +3036 -0
  208. package/{dialogSlice-XFYID6KE.js → dialogSlice-PRZCIJCH.js} +43 -42
  209. package/{dialogTraceCommand-Y67NRFCV.js → dialogTraceCommand-RKB76OVX.js} +84 -70
  210. package/{dialogUsageCommand-WJ3U6KZU.js → dialogUsageCommand-BP7HMRYP.js} +7 -4
  211. package/{docCreateCommands-QLRIWRQE.js → docCreateCommands-JGPNGIZ7.js} +68 -59
  212. package/{docDeleteCommands-XPRYA532.js → docDeleteCommands-XRJTNRDH.js} +68 -59
  213. package/{docReadCommands-EXQI7ETH.js → docReadCommands-6GFO4ARS.js} +67 -58
  214. package/{docStore-MWFUKZL2.js → docStore-QRLIWFTU.js} +16 -17
  215. package/{docUpdateCommands-EFBFQV77.js → docUpdateCommands-W2GXMUXW.js} +68 -59
  216. package/{ebookDownloaderAgentCommand-DYSKF5ZY.js → ebookDownloaderAgentCommand-2DHPGEOQ.js} +14 -17
  217. package/{fetchMessages-TQEUZD7H.js → fetchMessages-RGPIYEPZ.js} +2 -2
  218. package/{getPricing-5BLZRPTM.js → getPricing-BK6CUBAE.js} +8 -4
  219. package/{handleSendMessageAction-GG3TR62X.js → handleSendMessageAction-DHGWURJZ.js} +265 -119
  220. package/{hostCredentialCreate-26S6DDJ5.js → hostCredentialCreate-FPUZ7RMI.js} +138 -122
  221. package/index.js +36 -22
  222. package/{keys-RWF7UCB4.js → keys-FXEGMKSG.js} +2 -2
  223. package/localAutomationCommands-ZMU22RQJ.js +198 -0
  224. package/localAutomationRuntime-MU5FGJ3V.js +60 -0
  225. package/{localDialogRead-BJJT3TF5.js → localDialogRead-W2EVXISA.js} +2 -2
  226. package/{localRuntimeAdapter-VREWZWPC.js → localRuntimeAdapter-YBXQBV4G.js} +136 -119
  227. package/localRuntimeAuthority-LDXMEDO5.js +44 -0
  228. package/{localRuntimeDb-ZJFGNHML.js → localRuntimeDb-6TQZDLNU.js} +1 -1
  229. package/{machineCommands-CL5XK5UC.js → machineCommands-57RTUYRV.js} +251 -357
  230. package/{machineInfo-LWHTEBHJ.js → machineInfo-BJIU3WQ5.js} +4 -2
  231. package/machineWsRunDispatch-VBKV3FFE.js +227 -0
  232. package/{mcpLocalAuthorizeCommand-RBXJDE6J.js → mcpLocalAuthorizeCommand-J76SOJVZ.js} +40 -22
  233. package/mcpLocalManageCommands-USETIMHB.js +212 -0
  234. package/{memberThunks-43B7UYC5.js → memberThunks-7UERUEMI.js} +102 -22
  235. package/{memoryCommands-BC6REPQB.js → memoryCommands-N7NHEE55.js} +25 -34
  236. package/{models-ZX2BYIMB.js → models-TOXYINNM.js} +3 -2
  237. package/{offlineMarxistsAgentCommand-XVXUE6G5.js → offlineMarxistsAgentCommand-WZBJBCPZ.js} +16 -22
  238. package/package.json +3 -3
  239. package/parityCommands-LYDLWSLK.js +613 -0
  240. package/{projectArchive-OC63TWTD.js → projectArchive-KCNQDVWJ.js} +49 -45
  241. package/{providerPresetApply-NTJUINI6.js → providerPresetApply-IRJ56XIZ.js} +12 -16
  242. package/{providerRegistry-W45SLUV6.js → providerRegistry-26PAUYH2.js} +3 -13
  243. package/{read-KG6INYUT.js → read-SPSQ6NLR.js} +11 -10
  244. package/{readDocTool-N3GA52JR.js → readDocTool-ENUL2GNL.js} +5 -1
  245. package/{readlineWorkspace-2NO6D6IZ.js → readlineWorkspace-MKS7TAEF.js} +927 -573
  246. package/{rememberExplicit-CPAPONSI.js → rememberExplicit-7KX4HXQC.js} +4 -4
  247. package/remove-TNNDO635.js +32 -0
  248. package/{removeDialogAgentAction-EEVSOQOJ.js → removeDialogAgentAction-POPUZ3WU.js} +22 -26
  249. package/{runAgentClientLoop-U7V32UTD.js → runAgentClientLoop-KVILXQNI.js} +117 -82
  250. package/{runtimeDoctorCommands-V3M3JTUV.js → runtimeDoctorCommands-4J2DP4LZ.js} +23 -16
  251. package/{secretCommands-KVVZS7A6.js → secretCommands-CSTQYB6T.js} +2 -2
  252. package/{setDialogExtraReferencesAction-DNO5POHA.js → setDialogExtraReferencesAction-35THMVBP.js} +16 -17
  253. package/{setPrimaryDialogAgentAction-QABBEO4C.js → setPrimaryDialogAgentAction-WLXBNIG7.js} +23 -27
  254. package/{settingThunks-DVKG4X4S.js → settingThunks-6Y5U5M5N.js} +170 -497
  255. package/{skillDiscovery-5GEGWJ6N.js → skillDiscovery-IUEZZG2B.js} +3 -3
  256. package/{spaceCommands-7QKXKBDQ.js → spaceCommands-LXNJBO2U.js} +293 -58
  257. package/spacePruneCommand-2ITUFYBM.js +233 -0
  258. package/{store-Z53ICFL3.js → store-WSAVTR32.js} +3 -1
  259. package/{streamAgentChatTurn-UAGFOXNJ.js → streamAgentChatTurn-EY6MFKCA.js} +225 -137
  260. package/{switchDialogAgentAction-KYWJSGOO.js → switchDialogAgentAction-TG6BQRDA.js} +19 -23
  261. package/{tableCommands-EFA754RE.js → tableCommands-35G34R4B.js} +28 -49
  262. package/{toolApiClient-N5PYW2R3.js → toolApiClient-MPQIFYXP.js} +15 -4
  263. package/{tools-2Q2LBDUC.js → tools-CSLTRRUR.js} +73 -63
  264. package/{tuiRestart-4QDWLHYZ.js → tuiRestart-ALR4Q3JM.js} +20 -13
  265. package/tuiSummaryLlmCaller-3Y3JEXJK.js +52 -0
  266. package/{updateCommands-GJGRS6JK.js → updateCommands-GHQVP6Z5.js} +13 -8
  267. package/{updateDialogTitleAction-GGNTTI5L.js → updateDialogTitleAction-LFAWF5EW.js} +57 -58
  268. package/{usageCommand-WI6SQOPB.js → usageCommand-5VKW6T4C.js} +6 -8
  269. package/{usageRebuildCommand-WQRLLZAT.js → usageRebuildCommand-VUQETFMW.js} +11 -15
  270. package/{windowsSelfUpdate-C7LGVWYX.js → windowsSelfUpdate-SXSVXK4X.js} +2 -2
  271. package/workContext-ZAW6VXT7.js +18 -0
  272. package/workContextQueryProjection-CACY5VFE.js +23 -0
  273. package/{workloadLifecycle-DYX5ZMAT.js → workloadLifecycle-P2SJVV3S.js} +1 -1
  274. package/agentFavoriteCommands-7LOP3HUD.js +0 -186
  275. package/agentRecordCommands-TPE7NSZ6.js +0 -194
  276. package/agentRunCommand-DMVGBPLI.js +0 -232
  277. package/authCommand-V6EOMZX6.js +0 -79
  278. package/chunk-2MBTWINN.js +0 -89
  279. package/chunk-523DITKR.js +0 -32
  280. package/chunk-BUDVRYES.js +0 -2213
  281. package/chunk-BZMDWGQQ.js +0 -47
  282. package/chunk-GAHJLSDO.js +0 -107
  283. package/chunk-GYX6XTAI.js +0 -84
  284. package/chunk-HNUWUO75.js +0 -93
  285. package/chunk-HSBHS6KT.js +0 -33401
  286. package/chunk-KG27JIG4.js +0 -136
  287. package/chunk-OB4FBZXJ.js +0 -364
  288. package/chunk-OKH74FML.js +0 -3746
  289. package/chunk-OLZBQWZU.js +0 -6
  290. package/chunk-OOV5JN25.js +0 -1317
  291. package/chunk-OQFOE4SJ.js +0 -405
  292. package/chunk-PXYBUFDB.js +0 -53
  293. package/chunk-R3FZHW4Q.js +0 -103
  294. package/chunk-R3MV2GII.js +0 -106
  295. package/chunk-SCAC3NM5.js +0 -11751
  296. package/chunk-SR4FE5VD.js +0 -9
  297. package/chunk-SYTHYBMI.js +0 -3558
  298. package/chunk-UKZX3NHN.js +0 -48
  299. package/chunk-UVLYNWIE.js +0 -74
  300. package/chunk-VQX5JJNI.js +0 -861
  301. package/chunk-X4O7FJF5.js +0 -160
  302. package/chunk-YJPK35HB.js +0 -175
  303. package/chunk-YNIYE47Z.js +0 -105
  304. package/chunk-Z4PCXPUE.js +0 -127
  305. package/chunk-ZR5IVL4N.js +0 -862
  306. package/chunk-ZTHAJU3O.js +0 -2537
  307. package/cliAuthorityBrokerProcess-5ZFBTHLB.js +0 -22
  308. package/cliLocalAgentRecordReader-34UKRBLY.js +0 -104
  309. package/createDialogAction-ZAJERW62.js +0 -82
  310. package/deleteFile-ECU6FU5C.js +0 -55
  311. package/dialogNotifyCommand-IASQGEMW.js +0 -36
  312. package/localRuntimeAuthority-UF2DAQ3F.js +0 -28
  313. package/machineWsRunDispatch-TBVOYOAH.js +0 -209
  314. package/markdownToSlate-PXYAIBVL.js +0 -8
  315. package/tuiSummaryLlmCaller-HROLGN4F.js +0 -45
  316. package/webapi-QVV65DQF.js +0 -2487
  317. package/workContext-Y3ADAPZU.js +0 -14
  318. package/{chunk-USGHJSGO.js → chunk-GX2MFKF3.js} +3 -3
  319. package/{chunk-PHREU2KZ.js → chunk-WX266G2C.js} +0 -0
  320. package/{chunk-DXWGFL2Z.js → chunk-YY7IGJMN.js} +3 -3
@@ -9,7 +9,7 @@ import {
9
9
  getMemoryEvidenceVNextStrict,
10
10
  getMemoryStateVNext,
11
11
  listMemoryStatesForEntityVNext
12
- } from "./chunk-324FWHUA.js";
12
+ } from "./chunk-HHXF57CL.js";
13
13
 
14
14
  // packages/ai/memory/vnext/applyMutation.ts
15
15
  async function validateMutation(db, ownerId, mutation) {
@@ -108,7 +108,7 @@ async function validateMutation(db, ownerId, mutation) {
108
108
  facetSlots.add(slot);
109
109
  }
110
110
  for (const ev of mutation.evidence ?? []) {
111
- const existing = await getMemoryEvidenceVNext(db, ownerId, ev.id);
111
+ const existing = await getMemoryEvidenceVNextStrict(db, ownerId, ev.id);
112
112
  if (existing) {
113
113
  throw new Error(
114
114
  `evidence ${ev.id} already exists (owner ${ownerId}); use a unique id`
@@ -134,7 +134,7 @@ async function validateMutation(db, ownerId, mutation) {
134
134
  }
135
135
  for (const evidenceId of st.evidenceIds) {
136
136
  if (!pending.evidenceIds.has(evidenceId)) {
137
- const ev = await getMemoryEvidenceVNext(db, ownerId, evidenceId);
137
+ const ev = await getMemoryEvidenceVNextStrict(db, ownerId, evidenceId);
138
138
  if (!ev) {
139
139
  throw new Error(
140
140
  `memory state ${st.id} references missing evidence ${evidenceId} (owner ${ownerId})`
@@ -156,7 +156,7 @@ async function validateMutation(db, ownerId, mutation) {
156
156
  }
157
157
  }
158
158
  if (!existing) {
159
- const existingStates = await listMemoryStatesForEntityVNext(db, ownerId, st.entityId);
159
+ const existingStates = await listMemoryStatesForEntityVNext(db, ownerId, st.entityId, { strict: true });
160
160
  for (const es of existingStates) {
161
161
  if (es.facet === st.facet && !es.retiredAt) {
162
162
  if (!supersededIds.has(es.id)) {
@@ -0,0 +1,30 @@
1
+ // packages/ai/llm/openrouterModels.ts
2
+ var OPENROUTER_MODELS = [];
3
+ var openrouterModels = OPENROUTER_MODELS;
4
+
5
+ // packages/ai/llm/cloudflare.ts
6
+ var getCloudflareWorkersAiChatCompletionsUrl = (accountId = (typeof process !== "undefined" ? process.env?.CLOUDFLARE_ACCOUNT_ID : void 0)?.trim()) => {
7
+ if (!accountId) {
8
+ throw new Error(
9
+ "CLOUDFLARE_ACCOUNT_ID is required for Cloudflare Workers AI chat completions"
10
+ );
11
+ }
12
+ return `https://api.cloudflare.com/client/v4/accounts/${accountId}/ai/v1/chat/completions`;
13
+ };
14
+ var cloudflareModels = [];
15
+
16
+ // packages/ai/llm/gmi.ts
17
+ var GMI_CHAT_COMPLETIONS_URL = "https://api.gmi-serving.com/v1/chat/completions";
18
+ var gmiModels = [];
19
+
20
+ // packages/ai/llm/zai.ts
21
+ var zaiModels = [];
22
+
23
+ export {
24
+ openrouterModels,
25
+ getCloudflareWorkersAiChatCompletionsUrl,
26
+ cloudflareModels,
27
+ GMI_CHAT_COMPLETIONS_URL,
28
+ gmiModels,
29
+ zaiModels
30
+ };
@@ -1,19 +1,13 @@
1
- import {
2
- defaultOpenBrowser
3
- } from "./chunk-HQUGB2HM.js";
4
1
  import {
5
2
  generateCloudflareEmailRoutingToken,
6
3
  parseFlagWithOptionalValue,
7
4
  runCloudflareOAuthLogin,
8
5
  upsertEnvVariable
9
- } from "./chunk-2C5VN7NH.js";
6
+ } from "./chunk-P4XAHM4B.js";
7
+ import {
8
+ defaultOpenBrowser
9
+ } from "./chunk-HMFKYZKP.js";
10
10
  import {
11
- ANTHROPIC_OAUTH_AUTHORIZE_URL,
12
- ANTHROPIC_OAUTH_CALLBACK_PORT,
13
- ANTHROPIC_OAUTH_CLIENT_ID,
14
- ANTHROPIC_OAUTH_REDIRECT_URI,
15
- ANTHROPIC_OAUTH_SCOPES,
16
- ANTHROPIC_OAUTH_TOKEN_URL,
17
11
  CURSOR_ACCESS_TOKEN_CLIENT_SKEW_MS,
18
12
  CURSOR_LOGIN_URL,
19
13
  CURSOR_POLL_BACKOFF_MULTIPLIER,
@@ -35,49 +29,29 @@ import {
35
29
  XAI_OAUTH_REDIRECT_PORT,
36
30
  XAI_OAUTH_SCOPE,
37
31
  XAI_TOKEN_REQUEST_TIMEOUT_MS,
38
- anthropicGrantRemainingMs,
39
32
  decodeJwtExp,
40
- fetchAnthropicBootstrapIdentity,
41
33
  generatePkcePair,
42
- normalizeAnthropicTokenPayload,
43
34
  readJsonBody,
44
- refreshAntigravityOAuthToken,
45
35
  renderDeviceCodeDisplay,
46
36
  resolveServerSyncConfig,
47
- runAntigravityOAuthLogin,
48
37
  runOpenAiCodexBrowserPkce,
49
38
  runOpenAiCodexDeviceCode,
50
39
  startCallbackServer,
51
40
  validateXAIEndpoint,
52
41
  xaiOAuthDiscovery
53
- } from "./chunk-6BMTKYAO.js";
54
- import {
55
- extractGoogleValidationLink
56
- } from "./chunk-BMQ2MJUK.js";
42
+ } from "./chunk-W2Z5E2R7.js";
57
43
  import {
58
44
  buildDevinAuthUrl,
59
45
  buildDevinOAuthCredential,
60
46
  detectLocalDevinCredentials,
61
- extractDevinToken,
62
- fetchAntigravityCloudCodeCompletion
63
- } from "./chunk-OOV5JN25.js";
64
- import {
65
- createOAuthTokenStore,
66
- resolveFreshAccessToken
67
- } from "./chunk-G7Y4GXTY.js";
68
- import {
69
- parseUserIdFromAuthToken
70
- } from "./chunk-BIDSIRTS.js";
71
- import {
72
- getProfileOAuthSync,
73
- saveProfileOAuthSync
74
- } from "./chunk-R5GO3YZP.js";
75
- import {
76
- t
77
- } from "./chunk-FEIVARWR.js";
47
+ extractDevinToken
48
+ } from "./chunk-Q5FJJ6XI.js";
78
49
  import {
79
50
  toErrorMessage
80
51
  } from "./chunk-HNMXYYJR.js";
52
+ import {
53
+ createOAuthTokenStore
54
+ } from "./chunk-G7Y4GXTY.js";
81
55
  import {
82
56
  asTrimmedString
83
57
  } from "./chunk-3EUW3WEO.js";
@@ -87,6 +61,16 @@ import {
87
61
  import {
88
62
  isRecord
89
63
  } from "./chunk-KUG52IAP.js";
64
+ import {
65
+ parseUserIdFromAuthToken
66
+ } from "./chunk-LTCZOOAM.js";
67
+ import {
68
+ getProfileOAuthSync,
69
+ saveProfileOAuthSync
70
+ } from "./chunk-R5GO3YZP.js";
71
+ import {
72
+ t
73
+ } from "./chunk-RIOAPUGV.js";
90
74
 
91
75
  // packages/cli/oauth/flows/xai.ts
92
76
  function buildXAIAuthorizeUrl(opts) {
@@ -421,182 +405,6 @@ async function runXaiOAuthDeviceCode(deps = {}) {
421
405
  return tokenToCredential(token, now());
422
406
  }
423
407
 
424
- // packages/cli/oauth/flows/anthropic.ts
425
- import { randomBytes } from "node:crypto";
426
- import { createInterface } from "node:readline/promises";
427
- function buildAnthropicAuthorizeUrl(args) {
428
- const params = new URLSearchParams({
429
- code: "true",
430
- client_id: ANTHROPIC_OAUTH_CLIENT_ID,
431
- response_type: "code",
432
- redirect_uri: args.redirectUri ?? ANTHROPIC_OAUTH_REDIRECT_URI,
433
- scope: ANTHROPIC_OAUTH_SCOPES.join(" "),
434
- code_challenge: args.challenge,
435
- code_challenge_method: "S256",
436
- state: args.state
437
- });
438
- return `${ANTHROPIC_OAUTH_AUTHORIZE_URL}?${params.toString()}`;
439
- }
440
- function parseManualAuthorization(raw, expectedState) {
441
- const value = raw.trim();
442
- if (!value) throw new Error("No authorization code was provided.");
443
- try {
444
- const url = new URL(value);
445
- const code2 = url.searchParams.get("code")?.trim();
446
- const state = url.searchParams.get("state")?.trim();
447
- if (code2 && state === expectedState) return { code: code2, state };
448
- throw new Error("Claude OAuth state verification failed.");
449
- } catch (error) {
450
- if (error instanceof Error && error.message.includes("state verification")) {
451
- throw error;
452
- }
453
- }
454
- const separator = value.lastIndexOf("#");
455
- if (separator < 0) return { code: value, state: expectedState };
456
- const code = value.slice(0, separator).trim();
457
- const returnedState = value.slice(separator + 1).trim();
458
- if (!code || returnedState !== expectedState) {
459
- throw new Error("Claude OAuth state verification failed.");
460
- }
461
- return { code, state: returnedState };
462
- }
463
- function tokenError(payload, status) {
464
- const detail = typeof payload.error_description === "string" ? payload.error_description : typeof payload.error === "string" ? payload.error : `HTTP ${status}`;
465
- return `Claude OAuth token exchange failed: ${detail}`;
466
- }
467
- async function exchangeAnthropicAuthorizationCode(args) {
468
- const fetchImpl = args.fetchImpl ?? fetch;
469
- const response = await fetchImpl(ANTHROPIC_OAUTH_TOKEN_URL, {
470
- method: "POST",
471
- headers: { "Content-Type": "application/json" },
472
- body: JSON.stringify({
473
- grant_type: "authorization_code",
474
- client_id: ANTHROPIC_OAUTH_CLIENT_ID,
475
- code: args.code,
476
- state: args.state,
477
- redirect_uri: args.redirectUri ?? ANTHROPIC_OAUTH_REDIRECT_URI,
478
- code_verifier: args.verifier
479
- }),
480
- signal: AbortSignal.timeout(3e4)
481
- });
482
- const payload = await response.json().catch(() => ({}));
483
- if (!response.ok) throw new Error(tokenError(payload, response.status));
484
- if (typeof payload.access_token !== "string" || !payload.access_token.trim()) {
485
- throw new Error("Claude OAuth token exchange response missing access_token.");
486
- }
487
- const hasAccountId = typeof payload.account?.uuid === "string" && Boolean(payload.account.uuid.trim());
488
- const hasEmail = typeof payload.account?.email_address === "string" && Boolean(payload.account.email_address.trim());
489
- const hasOrgId = typeof payload.organization?.uuid === "string" && Boolean(payload.organization.uuid.trim());
490
- if (!hasAccountId || !hasEmail || !hasOrgId) {
491
- const bootstrap = await fetchAnthropicBootstrapIdentity(payload.access_token, fetchImpl);
492
- if (!hasAccountId && bootstrap.accountId) {
493
- payload.account = {
494
- ...payload.account,
495
- uuid: bootstrap.accountId
496
- };
497
- }
498
- if (!hasEmail && bootstrap.email) {
499
- payload.account = {
500
- ...payload.account,
501
- email_address: bootstrap.email
502
- };
503
- }
504
- if (!hasOrgId && bootstrap.orgId) {
505
- payload.organization = {
506
- ...payload.organization,
507
- uuid: bootstrap.orgId,
508
- ...bootstrap.orgName && !payload.organization?.name ? { name: bootstrap.orgName } : {}
509
- };
510
- } else if (bootstrap.orgName && !payload.organization?.name) {
511
- payload.organization = {
512
- ...payload.organization,
513
- name: bootstrap.orgName
514
- };
515
- }
516
- }
517
- const now = args.now?.() ?? Date.now();
518
- return normalizeAnthropicTokenPayload({
519
- payload,
520
- now,
521
- // 显式声明:这条路径就是交互式登录(grant 起点)。不靠「有没有 baseCredential」
522
- // 隐式推断——将来若有调用方在登录路径上传了 baseCredential,grantedAt 会被
523
- // 悄悄错当成「刷新」而不写,30 天前瞻就整个失效。
524
- isInitialLogin: true
525
- });
526
- }
527
- async function defaultReadLine(prompt) {
528
- const terminal = createInterface({ input: process.stdin, output: process.stdout });
529
- try {
530
- return await terminal.question(prompt);
531
- } finally {
532
- terminal.close();
533
- }
534
- }
535
- async function runAnthropicOAuthLogin(deps = {}) {
536
- const output = deps.output ?? console;
537
- const error = deps.error ?? console;
538
- const state = randomBytes(24).toString("base64url");
539
- const pkce = generatePkcePair();
540
- const preferredCallbackPort = deps.callbackPort ?? ANTHROPIC_OAUTH_CALLBACK_PORT;
541
- const callbackServerFactory = deps.callbackServerFactory ?? startCallbackServer;
542
- const callback = deps.manualCode ? null : await callbackServerFactory({
543
- port: preferredCallbackPort,
544
- hostname: "127.0.0.1",
545
- timeoutMs: 5 * 6e4,
546
- fallbackToRandomPort: true
547
- });
548
- const redirectUri = callback ? `http://localhost:${callback.port}/callback` : `http://localhost:${preferredCallbackPort}/callback`;
549
- const authUrl = buildAnthropicAuthorizeUrl({
550
- state,
551
- challenge: pkce.challenge,
552
- redirectUri
553
- });
554
- output.log(
555
- `Open this URL to authorize Claude Pro/Max:
556
- ${authUrl}`
557
- );
558
- if (callback && callback.port !== preferredCallbackPort) {
559
- output.log(
560
- `Port ${preferredCallbackPort} is busy; using callback port ${callback.port}.`
561
- );
562
- }
563
- if (deps.openBrowser) {
564
- try {
565
- await deps.openBrowser(authUrl);
566
- } catch (cause) {
567
- error.error(`Could not open the browser automatically: ${String(cause)}`);
568
- }
569
- }
570
- let code = "";
571
- let returnedState = state;
572
- if (deps.manualCode) {
573
- const raw = await (deps.readLine ?? defaultReadLine)(
574
- "Paste the final callback URL or authorization code: "
575
- );
576
- ({ code, state: returnedState } = parseManualAuthorization(raw, state));
577
- } else {
578
- if (!callback) throw new Error("Claude OAuth callback server did not start.");
579
- try {
580
- const result = await callback.waitForCode();
581
- if (result.state !== state) {
582
- throw new Error("Claude OAuth state verification failed.");
583
- }
584
- code = result.code;
585
- returnedState = result.state;
586
- } finally {
587
- await callback.close().catch(() => void 0);
588
- }
589
- }
590
- return exchangeAnthropicAuthorizationCode({
591
- code,
592
- state: returnedState,
593
- verifier: pkce.verifier,
594
- redirectUri,
595
- ...deps.fetchImpl ? { fetchImpl: deps.fetchImpl } : {},
596
- ...deps.now ? { now: deps.now } : {}
597
- });
598
- }
599
-
600
408
  // packages/cli/oauth/flows/cursor.ts
601
409
  var POLL_MAX_ATTEMPTS = CURSOR_POLL_MAX_ATTEMPTS;
602
410
  var POLL_BASE_DELAY_MS = CURSOR_POLL_BASE_DELAY_MS;
@@ -687,7 +495,7 @@ Waiting for browser authentication... (polling ${CURSOR_POLL_URL})`
687
495
  }
688
496
 
689
497
  // packages/cli/oauth/flows/devin.ts
690
- import { createInterface as createInterface2 } from "node:readline/promises";
498
+ import { createInterface } from "node:readline/promises";
691
499
  async function runDevinOAuthLogin(deps = {}) {
692
500
  const detect = deps.detectCredentialsFn ?? detectLocalDevinCredentials;
693
501
  const local = detect();
@@ -711,7 +519,7 @@ async function runDevinOAuthLogin(deps = {}) {
711
519
  if (deps.readLine) {
712
520
  input = await deps.readLine("Devin Token: ");
713
521
  } else {
714
- const rl = createInterface2({
522
+ const rl = createInterface({
715
523
  input: process.stdin,
716
524
  output: process.stdout
717
525
  });
@@ -779,53 +587,6 @@ ${SYNC_HELP_LINE}
779
587
  Agents can reference the stored token by setting apiKeyRef: "xai" with
780
588
  apiSource: "custom" and provider: "xai".
781
589
  `;
782
- var ANTIGRAVITY_HELP_TEXT = `Authorize nolo-cli to call Google Antigravity (Gemini 3, Claude, GPT-OSS) via your Google account.
783
-
784
- This authorizes model API access only. It does NOT log you into the Nolo platform.
785
- To manage agents, docs, spaces, and other Nolo resources, run "nolo login" first.
786
-
787
- Usage:
788
- nolo auth antigravity [--browser] [--no-browser] [--verify] [--sync-to-server] [--help]
789
-
790
- Opens a browser to https://accounts.google.com (OIDC PKCE loopback on 127.0.0.1:51121).
791
- After approval, the flow provisions a Cloud Code Assist project and stores the
792
- access and refresh tokens in $NOLO_HOME/credentials/antigravity.json (or ~/.nolo/credentials/antigravity.json when NOLO_HOME is unset).
793
-
794
- The OAuth client_id/secret are the same base64-decoded values used by
795
- oh-my-pi; Google does not publish a public Cloud Code Assist client registration.
796
-
797
- Options:
798
- --browser Use the browser PKCE flow (default for antigravity).
799
- --no-browser Print the authorization URL only.
800
- --verify Check the current Google one-time verification challenge
801
- and open the validation link in a browser (no re-auth).
802
- ${SYNC_HELP_LINE}
803
- --help, -h Show this help and exit.
804
-
805
- Agents can reference the stored token by setting apiKeyRef: "antigravity" with
806
- apiSource: "custom" and provider: "google-antigravity".
807
- `;
808
- var CLAUDE_HELP_TEXT = `Authorize nolo-cli to call Anthropic Claude with your Claude Pro/Max subscription.
809
-
810
- This authorizes model API access only. It does NOT log you into the Nolo platform.
811
- To manage agents, docs, spaces, and other Nolo resources, run "nolo login" first.
812
-
813
- Usage:
814
- nolo auth claude [--browser] [--no-browser] [--sync-to-server] [--help]
815
-
816
- The default flow returns to a loopback callback on localhost:54545. With
817
- --no-browser, paste the final callback URL or authorization code into the
818
- terminal. Tokens are stored in $NOLO_HOME/credentials/claude.json (or ~/.nolo/credentials/claude.json when NOLO_HOME is unset).
819
-
820
- Options:
821
- --browser Open the Anthropic authorization page (default).
822
- --no-browser Print the authorization URL without opening a browser.
823
- ${SYNC_HELP_LINE}
824
- --help, -h Show this help and exit.
825
-
826
- Agents can reference the stored token with apiKeyRef: "claude", provider:
827
- "anthropic", and model such as "claude-sonnet-5".
828
- `;
829
590
  var CURSOR_HELP_TEXT = `Authorize nolo-cli to call Cursor models via your Cursor Pro subscription.
830
591
 
831
592
  This authorizes model API access only. It does NOT log you into the Nolo
@@ -911,8 +672,6 @@ ${SYNC_HELP_LINE}
911
672
  var HELP_BY_PROVIDER = {
912
673
  chatgpt: CHATGPT_HELP_TEXT,
913
674
  xai: XAI_HELP_TEXT,
914
- antigravity: ANTIGRAVITY_HELP_TEXT,
915
- claude: CLAUDE_HELP_TEXT,
916
675
  cloudflare: CLOUDFLARE_HELP_TEXT,
917
676
  cursor: CURSOR_HELP_TEXT,
918
677
  devin: DEVIN_HELP_TEXT
@@ -1043,92 +802,6 @@ async function runAuthProviderCommand(provider, args, _ctx, deps = {}) {
1043
802
  const synced = await syncCredentialToServer(provider, credential, deps);
1044
803
  return synced === "ok" ? 0 : 1;
1045
804
  }
1046
- if (verify) {
1047
- if (provider !== "antigravity") {
1048
- error.error(t("auth.verifyUnsupported"));
1049
- return 1;
1050
- }
1051
- const credential = tokenStore.read(provider);
1052
- if (!credential?.accessToken) {
1053
- error.error(t("auth.noLocalCredential", provider));
1054
- return 1;
1055
- }
1056
- output.log(
1057
- t("auth.checkingVerificationChallenge")
1058
- );
1059
- let accessToken = null;
1060
- let refreshError;
1061
- try {
1062
- accessToken = await resolveFreshAccessToken({
1063
- provider,
1064
- store: tokenStore,
1065
- refresh: deps.refreshAntigravityToken ?? refreshAntigravityOAuthToken
1066
- });
1067
- } catch (err) {
1068
- refreshError = toErrorMessage(err);
1069
- if (/invalid_grant|unauthorized_client|revoked|invalid_token|refresh[_ ]token[^.]*(expired|invalid|revoked)|expired[^.]*refresh/i.test(
1070
- refreshError
1071
- )) {
1072
- error.error(
1073
- t("auth.refreshTokenInvalid", refreshError)
1074
- );
1075
- return 1;
1076
- }
1077
- }
1078
- let result;
1079
- try {
1080
- result = await fetchAntigravityCloudCodeCompletion({
1081
- agentConfig: { model: "gemini-3.1-pro" },
1082
- accessToken: accessToken ?? credential.accessToken,
1083
- metadata: credential.metadata ?? null,
1084
- openAiBody: { messages: [{ role: "user", content: "hi" }] },
1085
- fetchImpl: deps.fetchImpl ?? fetch
1086
- });
1087
- } catch (err) {
1088
- const msg = toErrorMessage(err);
1089
- if (/projectId|metadata\.projectId|Re-run `nolo auth/i.test(msg)) {
1090
- error.error(
1091
- t("auth.credentialIncomplete", msg)
1092
- );
1093
- } else {
1094
- error.error(
1095
- t("auth.providerUnreachable", msg)
1096
- );
1097
- }
1098
- return 1;
1099
- }
1100
- if (result.status >= 200 && result.status < 300) {
1101
- output.log(
1102
- t("auth.credentialWorking")
1103
- );
1104
- return 0;
1105
- }
1106
- const { url: validationUrl } = extractGoogleValidationLink(
1107
- JSON.stringify(result.body ?? {})
1108
- );
1109
- if (result.status === 403 && validationUrl) {
1110
- output.log(
1111
- t("auth.googleVerificationRequired", credential.accountId ?? "this account")
1112
- );
1113
- output.log(`[nolo] ${validationUrl}`);
1114
- const opener = noBrowser ? void 0 : deps.openBrowser ?? defaultOpenBrowser;
1115
- const opened = opener ? await opener(validationUrl) : false;
1116
- output.log(
1117
- opened ? t("auth.verificationOpened") : t("auth.verificationCopyUrl", credential.accountId ?? "that account")
1118
- );
1119
- return 0;
1120
- }
1121
- const refreshSuffix = refreshError ? t("auth.httpWithoutVerificationLink.refreshSuffix", refreshError) : "";
1122
- error.error(
1123
- t(
1124
- "auth.httpWithoutVerificationLink",
1125
- String(result.status),
1126
- refreshSuffix,
1127
- JSON.stringify(result.body ?? {}).slice(0, 400)
1128
- )
1129
- );
1130
- return 1;
1131
- }
1132
805
  const flowDeps = {
1133
806
  ...deps.fetchImpl ? { fetchImpl: deps.fetchImpl } : {},
1134
807
  ...deps.sleep ? { sleep: deps.sleep } : {},
@@ -1150,8 +823,6 @@ async function runAuthProviderCommand(provider, args, _ctx, deps = {}) {
1150
823
  } else if (provider === "xai") {
1151
824
  const useDeviceCode = !useBrowser && (args.includes("--device-code") || noBrowser);
1152
825
  credential = useDeviceCode ? await runXaiOAuthDeviceCode(flowDeps) : await runXaiOAuthLogin(flowDeps);
1153
- } else if (provider === "claude") {
1154
- credential = await runAnthropicOAuthLogin(flowDeps);
1155
826
  } else if (provider === "cursor") {
1156
827
  credential = await runCursorOAuthLogin(flowDeps);
1157
828
  } else if (provider === "devin") {
@@ -1191,7 +862,7 @@ async function runAuthProviderCommand(provider, args, _ctx, deps = {}) {
1191
862
  }
1192
863
  }
1193
864
  } else {
1194
- credential = await runAntigravityOAuthLogin(flowDeps);
865
+ throw new Error(`Unsupported OAuth provider: ${provider}`);
1195
866
  }
1196
867
  tokenStore.write(provider, credential);
1197
868
  const accountLabel = credential.metadata?.email ?? credential.accountId ?? "";
@@ -1202,24 +873,6 @@ async function runAuthProviderCommand(provider, args, _ctx, deps = {}) {
1202
873
  accountLabel ? t("auth.authorizationSavedForAccount", accountLabel) : ""
1203
874
  )
1204
875
  );
1205
- if (provider === "claude") {
1206
- const remainingMs = anthropicGrantRemainingMs(
1207
- credential,
1208
- deps.now?.() ?? Date.now()
1209
- );
1210
- if (remainingMs !== void 0) {
1211
- if (remainingMs <= 0) {
1212
- output.log(t("auth.claudeGrantExpired"));
1213
- } else {
1214
- const days = Math.ceil(remainingMs / (24 * 60 * 60 * 1e3));
1215
- if (days < 7) {
1216
- output.log(t("auth.claudeGrantExpiringSoon", String(days)));
1217
- } else {
1218
- output.log(t("auth.claudeGrantValidDays", String(days)));
1219
- }
1220
- }
1221
- }
1222
- }
1223
876
  const hasExplicitNoSync = args.includes("--no-sync-to-server");
1224
877
  const hasExplicitSync = args.includes("--sync-to-server");
1225
878
  const envAutoSync = process.env.NOLO_OAUTH_AUTO_SYNC;
@@ -1311,15 +964,9 @@ async function runAuthChatgptCommand(args, ctx, deps) {
1311
964
  async function runAuthXaiCommand(args, ctx, deps) {
1312
965
  return runAuthProviderCommand("xai", args, ctx, deps);
1313
966
  }
1314
- async function runAuthAntigravityCommand(args, ctx, deps) {
1315
- return runAuthProviderCommand("antigravity", args, ctx, deps);
1316
- }
1317
967
  async function runAuthCloudflareCommand(args, ctx, deps) {
1318
968
  return runAuthProviderCommand("cloudflare", args, ctx, deps);
1319
969
  }
1320
- async function runAuthClaudeCommand(args, ctx, deps) {
1321
- return runAuthProviderCommand("claude", args, ctx, deps);
1322
- }
1323
970
  async function runAuthCursorCommand(args, ctx, deps) {
1324
971
  return runAuthProviderCommand("cursor", args, ctx, deps);
1325
972
  }
@@ -1330,16 +977,13 @@ async function runAuthDevinCommand(args, ctx, deps) {
1330
977
  export {
1331
978
  runXaiOAuthLogin,
1332
979
  runXaiOAuthDeviceCode,
1333
- runAnthropicOAuthLogin,
1334
980
  runCursorOAuthLogin,
1335
981
  runDevinOAuthLogin,
1336
982
  syncCredentialToServer,
1337
983
  runAuthProviderCommand,
1338
984
  runAuthChatgptCommand,
1339
985
  runAuthXaiCommand,
1340
- runAuthAntigravityCommand,
1341
986
  runAuthCloudflareCommand,
1342
- runAuthClaudeCommand,
1343
987
  runAuthCursorCommand,
1344
988
  runAuthDevinCommand
1345
989
  };