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,19 +1,24 @@
1
- import {
2
- resolveAgentImageInputSupport
3
- } from "./chunk-KNIIRXHF.js";
4
1
  import {
5
2
  TOOL_HAD_IMAGES,
6
3
  hadToolImages
7
- } from "./chunk-E2BESSAW.js";
4
+ } from "./chunk-X4O7FJF5.js";
5
+ import {
6
+ resolveAgentImageInputSupport
7
+ } from "./chunk-P244EH4W.js";
8
+ import {
9
+ isCompleteInstructionOutput,
10
+ sanitizeToolOutputText,
11
+ scrubSecrets
12
+ } from "./chunk-WFGNWWJI.js";
8
13
  import {
9
14
  asTrimmedString
10
15
  } from "./chunk-3EUW3WEO.js";
11
- import {
12
- isRecord
13
- } from "./chunk-KUG52IAP.js";
14
16
  import {
15
17
  asOptionalFiniteNumber
16
18
  } from "./chunk-WWC7I6TA.js";
19
+ import {
20
+ isRecord
21
+ } from "./chunk-KUG52IAP.js";
17
22
  import {
18
23
  asOptionalTrimmedString
19
24
  } from "./chunk-G3SUCT4W.js";
@@ -419,6 +424,12 @@ function sanitizeChatMessage(value) {
419
424
  if (role === "tool" && (hadToolImages(value) || isRecord(metadata) && metadata[TOOL_HAD_IMAGES] === true)) {
420
425
  message.tool_result_metadata = { [TOOL_HAD_IMAGES]: true };
421
426
  }
427
+ const toolName = asOptionalTrimmedString(value.toolName) ?? asOptionalTrimmedString(value.name);
428
+ if (role === "tool" && typeof content === "string" && isCompleteInstructionOutput(toolName, metadata, content)) {
429
+ message.content = scrubSecrets(sanitizeToolOutputText(content)).cleaned;
430
+ message.toolName = toolName;
431
+ message.tool_result_metadata = { ...message.tool_result_metadata, projectInstruction: true };
432
+ }
422
433
  const toolCalls = sanitizeToolCalls(value.tool_calls);
423
434
  if (toolCalls) message.tool_calls = toolCalls;
424
435
  if (typeof value.reasoning_content === "string" && value.reasoning_content) {
@@ -0,0 +1,9 @@
1
+ // packages/core/sha256.ts
2
+ import SHA256 from "crypto-js/sha256.js";
3
+ function sha256Hex(text) {
4
+ return SHA256(text).toString();
5
+ }
6
+
7
+ export {
8
+ sha256Hex
9
+ };
@@ -113,9 +113,10 @@ var MemoryAuthorityBacking = class {
113
113
  entries.reverse();
114
114
  }
115
115
  for (const entry of entries) {
116
- if (options.gte && entry.key < options.gte) continue;
117
- if (options.lte && entry.key > options.lte) continue;
118
- if (options.lt && entry.key >= options.lt) continue;
116
+ if (options.gt !== void 0 && entry.key <= options.gt) continue;
117
+ if (options.gte !== void 0 && entry.key < options.gte) continue;
118
+ if (options.lte !== void 0 && entry.key > options.lte) continue;
119
+ if (options.lt !== void 0 && entry.key >= options.lt) continue;
119
120
  const value = options.values === false ? void 0 : entry.value;
120
121
  yield [entry.key, value];
121
122
  }
@@ -273,6 +274,10 @@ function createSqliteAuthorityStore(dbPath) {
273
274
  async *iterator(options = {}) {
274
275
  const conditions = [];
275
276
  const params = [];
277
+ if (options.gt !== void 0) {
278
+ conditions.push("key > ?");
279
+ params.push(options.gt);
280
+ }
276
281
  if (options.gte !== void 0) {
277
282
  conditions.push("key >= ?");
278
283
  params.push(options.gte);
@@ -0,0 +1,62 @@
1
+ import {
2
+ isPidGone
3
+ } from "./chunk-IIG3TT73.js";
4
+
5
+ // packages/cli/tui/tuiRestart.ts
6
+ import { realpathSync } from "node:fs";
7
+ import { isAbsolute, resolve } from "node:path";
8
+ function getRestartBlocker(state, checks) {
9
+ if (!checks.supported) return "\u5F53\u524D\u5BBF\u4E3B\u4E0D\u652F\u6301\u539F\u5730\u91CD\u542F\u3002";
10
+ if (checks.activeProcesses || checks.activeRuns) return "\u540E\u53F0\u4EFB\u52A1\u4ECD\u5728\u8FD0\u884C\u6216\u72B6\u6001\u672A\u786E\u8BA4\uFF0C\u4E0D\u80FD\u91CD\u542F\uFF1B\u8BF7\u7B49\u5F85\u4EFB\u52A1\u7ED3\u675F\u3002";
11
+ if (state.attachedImages.length || state.attachedDocs.length || state.attachedSkills.length || state.pendingCwdNotice || state.pendingTranscripts?.length || state.pendingChildRunNotices?.length || state.pendingProcessNotices?.length) {
12
+ return "\u6709\u672A\u53D1\u9001\u9644\u4EF6\u6216\u5F85\u5904\u7406\u901A\u77E5\uFF0C\u4E0D\u80FD\u91CD\u542F\uFF1B\u8BF7\u5148\u5904\u7406\u3002";
13
+ }
14
+ return void 0;
15
+ }
16
+ function buildRestartEnv(env, state) {
17
+ return {
18
+ ...env,
19
+ // Override the startup snapshot, including an empty value after revocation.
20
+ // Omitting the key would let the next process inherit stale grants.
21
+ NOLO_PERMISSION_GRANTS: ["local", "remote"].filter((bucket) => state.permissionGrants?.[bucket] === true).join(","),
22
+ NOLO_CWD: state.cwd,
23
+ NOLO_AGENT: state.agentKey,
24
+ NOLO_AGENT_NAME: state.agentName,
25
+ NOLO_SERVER: state.serverUrl,
26
+ NOLO_RUNTIME_MODE: state.runtimeMode,
27
+ NOLO_DIALOG_ID: state.dialogId ?? "",
28
+ NOLO_DIALOG_KEY: state.dialogKey ?? "",
29
+ NOLO_DIALOG: state.dialogLabel,
30
+ NOLO_TUI_RESTART: "1"
31
+ };
32
+ }
33
+ function hasRestartBlockingRuns(records, pidGone = isPidGone) {
34
+ return records.some((run) => run.status === "running" && (typeof run.pid !== "number" || run.pid <= 0 || !pidGone(run.pid)));
35
+ }
36
+ function buildRestartArgv(args) {
37
+ return args.compiled ? [args.executable, "tui"] : [args.executable, ...args.execArgv, args.entrypoint, "tui"];
38
+ }
39
+ function replaceTuiProcess(executable, argv, env, execve = process.execve) {
40
+ try {
41
+ execve(executable, argv, env);
42
+ } catch (error) {
43
+ throw new Error(`\u539F\u5730\u91CD\u542F\u5931\u8D25\uFF1B\u672A\u542F\u52A8\u65B0\u8FDB\u7A0B\u3002\u5BF9\u8BDD ${env.NOLO_DIALOG_ID || "(new)"}\uFF1Bcwd ${env.NOLO_CWD}\uFF1B${String(error)}`, { cause: error });
44
+ }
45
+ }
46
+ function captureRestartExecutable(executable, invocation, lookup = (name) => Bun.which(name), realpath = realpathSync) {
47
+ const candidate = isAbsolute(invocation) ? invocation : invocation.includes("/") ? resolve(invocation) : lookup(invocation);
48
+ try {
49
+ if (candidate && realpath(candidate) === realpath(executable)) return candidate;
50
+ } catch {
51
+ }
52
+ return executable;
53
+ }
54
+
55
+ export {
56
+ getRestartBlocker,
57
+ buildRestartEnv,
58
+ hasRestartBlockingRuns,
59
+ buildRestartArgv,
60
+ replaceTuiProcess,
61
+ captureRestartExecutable
62
+ };
@@ -1,21 +1,21 @@
1
1
  import {
2
- toErrorMessage
3
- } from "./chunk-HNMXYYJR.js";
4
- import {
5
- isRecord
6
- } from "./chunk-KUG52IAP.js";
2
+ resolveNoloStateDir
3
+ } from "./chunk-6UBGXX2W.js";
7
4
  import {
8
5
  asOptionalPositiveFiniteNumber
9
6
  } from "./chunk-U6VC4MU4.js";
7
+ import {
8
+ toErrorMessage
9
+ } from "./chunk-HNMXYYJR.js";
10
10
  import {
11
11
  asOptionalFiniteNumber
12
12
  } from "./chunk-WWC7I6TA.js";
13
+ import {
14
+ isRecord
15
+ } from "./chunk-KUG52IAP.js";
13
16
  import {
14
17
  asOptionalTrimmedString
15
18
  } from "./chunk-G3SUCT4W.js";
16
- import {
17
- resolveNoloStateDir
18
- } from "./chunk-6UBGXX2W.js";
19
19
 
20
20
  // packages/agent-runtime/processTask.ts
21
21
  var PROCESS_TASK_TERMINAL_STATUSES = [
@@ -2082,6 +2082,13 @@ ${stderr.trim()}` : "",
2082
2082
  }
2083
2083
 
2084
2084
  export {
2085
+ countLines,
2086
+ spillToolOutput,
2087
+ formatToolOverflowMarker,
2088
+ TOOL_OUTPUT_SPILL_BYTES,
2089
+ TOOL_OUTPUT_SPILL_LINES,
2090
+ isSpilledToolOutput,
2091
+ spillLargeToolOutput,
2085
2092
  resolveExecutableOnPath,
2086
2093
  createGlob,
2087
2094
  spawnToWebStreams,
@@ -2089,10 +2096,6 @@ export {
2089
2096
  reportedTaskStatus,
2090
2097
  toProcessTaskView,
2091
2098
  getProcessRegistry,
2092
- spillToolOutput,
2093
- formatToolOverflowMarker,
2094
- isSpilledToolOutput,
2095
- spillLargeToolOutput,
2096
2099
  buildProcessTaskResultCapsule,
2097
2100
  withShellChildEnvironment,
2098
2101
  extractActivity,
@@ -1,3 +1,6 @@
1
+ import {
2
+ resolveRunsDir
3
+ } from "./chunk-IIG3TT73.js";
1
4
  import {
2
5
  isLoopbackHostname
3
6
  } from "./chunk-4SN6J65J.js";
@@ -66,7 +69,34 @@ async function defaultLoopbackRequest(input, init) {
66
69
  });
67
70
  }
68
71
 
72
+ // packages/cli/tui/localRunChildDialogIds.ts
73
+ import { readdirSync, readFileSync } from "node:fs";
74
+ import { join } from "node:path";
75
+ function loadLocalRunChildDialogIds(args = {}) {
76
+ const ids = /* @__PURE__ */ new Set();
77
+ const runsDir = resolveRunsDir(args.env, args.homedir);
78
+ let entries;
79
+ try {
80
+ entries = readdirSync(runsDir);
81
+ } catch {
82
+ return ids;
83
+ }
84
+ for (const name of entries) {
85
+ if (!name.endsWith(".json")) continue;
86
+ try {
87
+ const record = JSON.parse(readFileSync(join(runsDir, name), "utf8"));
88
+ const dialogId = record?.dialogId;
89
+ if (typeof dialogId === "string" && dialogId.trim()) {
90
+ ids.add(dialogId.trim());
91
+ }
92
+ } catch {
93
+ }
94
+ }
95
+ return ids;
96
+ }
97
+
69
98
  export {
70
99
  isLoopbackUrl,
71
- defaultLoopbackRequest
100
+ defaultLoopbackRequest,
101
+ loadLocalRunChildDialogIds
72
102
  };
@@ -63,6 +63,8 @@ var CLOUDFLARE_CLAUDE_SONNET_5_5_UPSTREAM_MODEL_ID = "anthropic/claude-sonnet-5.
63
63
  var CLOUDFLARE_AI_MESSAGES_ENDPOINT_TEMPLATE = "https://api.cloudflare.com/client/v4/accounts/{account}/ai/v1/messages";
64
64
  var PLATFORM_HOSTED_GROK_4_6_MODEL = "grok-4.6";
65
65
  var PLATFORM_HOSTED_GPT_6_ASTRA_MODEL = "gpt-6-astra";
66
+ var PLATFORM_HOSTED_GPT_6_2_ASTRA_MODEL = "gpt-6.2-astra";
67
+ var PLATFORM_HOSTED_GPT_6_2_SOL_MODEL = "gpt-6.2-sol";
66
68
  var PLATFORM_HOSTED_GPT_6_LUNA_MODEL = "gpt-6-luna";
67
69
  var PLATFORM_HOSTED_GPT_6_SOL_MODEL = "gpt-6-sol";
68
70
  var PLATFORM_HOSTED_GPT_56_SOL_MODEL = "gpt-5.6-sol";
@@ -93,6 +95,8 @@ var PLATFORM_HOSTED_DEEPSEEK_FLASH_VISION_EXP_MODEL = "deepseek-v4-flash-vision-
93
95
  var PLATFORM_HOSTED_DEEPSEEK_PRO_MODEL = "deepseek-v4-pro";
94
96
  var PLATFORM_HOSTED_LEGACY_DEEPSEEK_V4_FLASH_MODEL = "deepseek-v4-flash";
95
97
  var OPENAI_GPT_6_ASTRA_UPSTREAM_MODEL_ID = "gpt-6-astra";
98
+ var OPENAI_GPT_6_2_ASTRA_UPSTREAM_MODEL_ID = "gpt-6.2-astra";
99
+ var OPENAI_GPT_6_2_SOL_UPSTREAM_MODEL_ID = "gpt-6.2-sol";
96
100
  var OPENAI_GPT_6_LUNA_UPSTREAM_MODEL_ID = "gpt-6-luna";
97
101
  var OPENAI_GPT_6_1_SOL_UPSTREAM_MODEL_ID = "gpt-6.1-sol";
98
102
  var OPENAI_GPT_6_1_TERRA_UPSTREAM_MODEL_ID = "gpt-6.1-terra";
@@ -335,6 +339,22 @@ var PLATFORM_HOSTED_ROUTING_TABLE = {
335
339
  wire: "responses",
336
340
  agentRunHosted: true
337
341
  },
342
+ [PLATFORM_HOSTED_GPT_6_2_ASTRA_MODEL]: {
343
+ endpoint: "https://api.openai.com/v1/responses",
344
+ usageProvider: "openai",
345
+ keyName: "openai",
346
+ upstreamModelId: OPENAI_GPT_6_2_ASTRA_UPSTREAM_MODEL_ID,
347
+ wire: "responses",
348
+ agentRunHosted: true
349
+ },
350
+ [PLATFORM_HOSTED_GPT_6_2_SOL_MODEL]: {
351
+ endpoint: "https://api.openai.com/v1/responses",
352
+ usageProvider: "openai",
353
+ keyName: "openai",
354
+ upstreamModelId: OPENAI_GPT_6_2_SOL_UPSTREAM_MODEL_ID,
355
+ wire: "responses",
356
+ agentRunHosted: true
357
+ },
338
358
  // GPT-6 Luna(2026-09-22 随 GPT-6 Sol/Luna 上线):官方直连 Responses 线。
339
359
  [PLATFORM_HOSTED_GPT_6_LUNA_MODEL]: {
340
360
  endpoint: "https://api.openai.com/v1/responses",
@@ -765,6 +785,34 @@ var PLATFORM_HOSTED_GPT_6_ASTRA_LONG_CONTEXT_PRICE = {
765
785
  output: toPlatformCredits(75)
766
786
  // 600 credits
767
787
  };
788
+ var PLATFORM_HOSTED_GPT_6_2_ASTRA_PRICE = {
789
+ input: toPlatformCredits(8),
790
+ inputCacheHit: toPlatformCredits(0.4),
791
+ cachingRead: toPlatformCredits(0.4),
792
+ cachingWrite: toPlatformCredits(10),
793
+ output: toPlatformCredits(40)
794
+ };
795
+ var PLATFORM_HOSTED_GPT_6_2_ASTRA_LONG_CONTEXT_PRICE = {
796
+ input: toPlatformCredits(16),
797
+ inputCacheHit: toPlatformCredits(0.8),
798
+ cachingRead: toPlatformCredits(0.8),
799
+ cachingWrite: toPlatformCredits(20),
800
+ output: toPlatformCredits(60)
801
+ };
802
+ var PLATFORM_HOSTED_GPT_6_2_SOL_PRICE = {
803
+ input: toPlatformCredits(2),
804
+ inputCacheHit: toPlatformCredits(0.1),
805
+ cachingRead: toPlatformCredits(0.1),
806
+ cachingWrite: toPlatformCredits(2.5),
807
+ output: toPlatformCredits(10)
808
+ };
809
+ var PLATFORM_HOSTED_GPT_6_2_SOL_LONG_CONTEXT_PRICE = {
810
+ input: toPlatformCredits(4),
811
+ inputCacheHit: toPlatformCredits(0.2),
812
+ cachingRead: toPlatformCredits(0.2),
813
+ cachingWrite: toPlatformCredits(5),
814
+ output: toPlatformCredits(15)
815
+ };
768
816
  var PLATFORM_HOSTED_GPT_56_SOL_PRICE = {
769
817
  input: toPlatformCredits(2),
770
818
  // 16 credits
@@ -1311,6 +1359,46 @@ var platformHostedModels = [
1311
1359
  supportsTool: false
1312
1360
  },
1313
1361
  // GPT-6 / GPT-5.6 系:OpenAI 官方 chat.completions,平台价按短上下文价目。
1362
+ {
1363
+ name: PLATFORM_HOSTED_GPT_6_2_ASTRA_MODEL,
1364
+ displayName: "GPT-6.2 Astra",
1365
+ hasVision: true,
1366
+ price: { ...PLATFORM_HOSTED_GPT_6_2_ASTRA_PRICE },
1367
+ pricingStrategy: {
1368
+ type: "tiered_context",
1369
+ tiers: [
1370
+ {
1371
+ minContext: PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS,
1372
+ price: { ...PLATFORM_HOSTED_GPT_6_2_ASTRA_LONG_CONTEXT_PRICE }
1373
+ }
1374
+ ]
1375
+ },
1376
+ releasedAtMs: catalogReleasedAt(2026, 11, 17),
1377
+ maxOutputTokens: 128e3,
1378
+ contextWindow: 105e4,
1379
+ supportsTool: true,
1380
+ supportsReasoningEffort: true
1381
+ },
1382
+ {
1383
+ name: PLATFORM_HOSTED_GPT_6_2_SOL_MODEL,
1384
+ displayName: "GPT-6.2 Sol",
1385
+ hasVision: true,
1386
+ price: { ...PLATFORM_HOSTED_GPT_6_2_SOL_PRICE },
1387
+ pricingStrategy: {
1388
+ type: "tiered_context",
1389
+ tiers: [
1390
+ {
1391
+ minContext: PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS,
1392
+ price: { ...PLATFORM_HOSTED_GPT_6_2_SOL_LONG_CONTEXT_PRICE }
1393
+ }
1394
+ ]
1395
+ },
1396
+ releasedAtMs: catalogReleasedAt(2026, 11, 17),
1397
+ maxOutputTokens: 128e3,
1398
+ contextWindow: 105e4,
1399
+ supportsTool: true,
1400
+ supportsReasoningEffort: true
1401
+ },
1314
1402
  {
1315
1403
  name: PLATFORM_HOSTED_GPT_6_ASTRA_MODEL,
1316
1404
  displayName: "GPT-6 Astra",
@@ -1,6 +1,11 @@
1
1
  // packages/cli/tui/ciStatus.ts
2
2
  import { execFile } from "node:child_process";
3
- var DEFAULT_SSH_HOST = "root@62.83.99.45";
3
+
4
+ // packages/core/infraHosts.ts
5
+ var ALPHA_ORIGIN_IP = "62.83.99.45";
6
+
7
+ // packages/cli/tui/ciStatus.ts
8
+ var DEFAULT_SSH_HOST = `root@${ALPHA_ORIGIN_IP}`;
4
9
  var DEFAULT_CI_PORT = "3900";
5
10
  function resolveCiSshTarget(env = process.env) {
6
11
  const override = env.NOLO_CI_SSH_HOST?.trim();
@@ -21,8 +26,15 @@ function buildCiStatusCommand(limit, env = process.env) {
21
26
  const safeLimit = Math.max(1, Math.min(20, Math.trunc(limit) || 5));
22
27
  return compactStatusBeforeTransport(`curl -s -m 3 "http://127.0.0.1:${resolveCiPort(env)}/status?limit=${safeLimit}"`);
23
28
  }
24
- function resolveSshTarget() {
25
- return resolveCiSshTarget();
29
+ function isCiStatusTestOrCiEnvironment(env = process.env) {
30
+ return env.NODE_ENV === "test" || process.env.NODE_ENV === "test" || env.BUN_ENV === "test" || process.env.BUN_ENV === "test" || Boolean(
31
+ env.CI || process.env.CI || env.GITHUB_ACTIONS || process.env.GITHUB_ACTIONS
32
+ );
33
+ }
34
+ function shouldBlockRealSsh(env, execFileImpl) {
35
+ if (execFileImpl !== execFile) return false;
36
+ if (env.NOLO_CI_STATUS_ALLOW_SSH === "1") return false;
37
+ return isCiStatusTestOrCiEnvironment(env);
26
38
  }
27
39
  function asRecord(value) {
28
40
  return typeof value === "object" && value !== null ? value : void 0;
@@ -74,13 +86,16 @@ function parseCiStatusPayload(raw) {
74
86
  const single = toCiJob(parsed);
75
87
  return single ? [single] : void 0;
76
88
  }
77
- function buildRemoteCommand(limit) {
78
- return buildCiStatusCommand(limit);
89
+ function buildRemoteCommand(limit, env = process.env) {
90
+ return buildCiStatusCommand(limit, env);
79
91
  }
80
- function fetchCiStatus(limit = 5, timeoutMs = 4e3, signal) {
81
- return fetchCiPayload(buildRemoteCommand(limit), parseCiStatusPayload, timeoutMs, resolveSshTarget(), signal);
92
+ function fetchCiStatus(limit = 5, timeoutMs = 4e3, signal, env = process.env, execFileImpl = execFile) {
93
+ return fetchCiPayload(buildRemoteCommand(limit, env), parseCiStatusPayload, timeoutMs, resolveCiSshTarget(env), signal, execFileImpl, env);
82
94
  }
83
- function fetchCiPayload(command, parse, timeoutMs, sshTarget, signal, execFileImpl = execFile) {
95
+ function fetchCiPayload(command, parse, timeoutMs, sshTarget, signal, execFileImpl = execFile, env = process.env) {
96
+ if (shouldBlockRealSsh(env, execFileImpl)) {
97
+ return Promise.resolve(void 0);
98
+ }
84
99
  return new Promise((resolve) => {
85
100
  let settled = false;
86
101
  let guard;
@@ -132,24 +147,25 @@ function summarizeLatest(jobs) {
132
147
  }
133
148
  return `ci:${sha} ${latest.status}`;
134
149
  }
135
- function buildCancelCommand(jobId) {
136
- const port = resolveCiPort();
150
+ function buildCancelCommand(jobId, env = process.env) {
151
+ const port = resolveCiPort(env);
137
152
  const body = JSON.stringify({ jobId }).replace(/'/g, "'\\''");
138
153
  const endpoint = `http://127.0.0.1:${port}/cancel`;
139
154
  const tokenRef = `$(grep -m1 '^NOLO_CI_ADMIN_TOKEN=' "$HOME/.config/nolo-ci.env" 2>/dev/null | cut -d= -f2-)`;
140
155
  return `curl -s -m 110 -H "Authorization: Bearer ${tokenRef}" -H 'Content-Type: application/json' -X POST --data '${body}' "${endpoint}"`;
141
156
  }
142
- function fetchCiCancel(jobId, timeoutMs = 12e4, execFileImpl = execFile) {
157
+ function fetchCiCancel(jobId, timeoutMs = 12e4, execFileImpl = execFile, env = process.env) {
143
158
  return fetchCiPayload(
144
- buildCancelCommand(jobId),
159
+ buildCancelCommand(jobId, env),
145
160
  (stdout) => {
146
161
  const response = JSON.parse(stdout);
147
162
  return response?.ok === true && response?.cancelled === true && response?.jobId === jobId ? true : false;
148
163
  },
149
164
  timeoutMs,
150
- resolveSshTarget(),
165
+ resolveCiSshTarget(env),
151
166
  void 0,
152
- execFileImpl
167
+ execFileImpl,
168
+ env
153
169
  );
154
170
  }
155
171
 
@@ -1,33 +1,13 @@
1
1
  import {
2
- WORKFLOW_GUIDANCE_SKILL_SLUGS
3
- } from "./chunk-GNHMRBYZ.js";
2
+ DEFAULT_USER_PREFERENCE_PROFILE
3
+ } from "./chunk-HSWEFHFS.js";
4
4
  import {
5
5
  noloAgentId
6
- } from "./chunk-KN3HEZIQ.js";
6
+ } from "./chunk-ZVOL2MAJ.js";
7
7
  import {
8
8
  normalizeServerOrigin
9
9
  } from "./chunk-CF7PE763.js";
10
10
 
11
- // packages/ai/policy/types.ts
12
- var DEFAULT_AGENT_BASE_POLICY = {
13
- version: 1,
14
- tone: {
15
- preset: "default",
16
- resolutionMode: "blend"
17
- },
18
- knowledgeCaptureMaxLevel: 4,
19
- spaceContextMaxLevel: 4,
20
- selfEvolutionMode: "knowledge_only"
21
- };
22
- var DEFAULT_USER_PREFERENCE_PROFILE = {
23
- version: 1,
24
- tone: {
25
- preset: "default"
26
- },
27
- knowledgeCaptureLevel: 2,
28
- spaceContextLevel: 3
29
- };
30
-
31
11
  // packages/app/settings/settingTypes.ts
32
12
  var SYSTEM_DEFAULT_AGENT_ID = "system-default";
33
13
 
@@ -80,86 +60,21 @@ var normalizeSystemBuiltinSkills = (value, defaults) => {
80
60
  return result;
81
61
  };
82
62
 
83
- // packages/ai/skills/userPromptSkills.ts
84
- var RECOMMENDED_PROMPT_SKILL_SLUGS = ["ub-mode"];
85
- var ALLOWED_PROMPT_SKILL_SLUGS = new Set(
86
- RECOMMENDED_PROMPT_SKILL_SLUGS
87
- );
88
- function normalizeEnabledPromptSkills(value) {
89
- if (!Array.isArray(value)) {
90
- return [];
91
- }
92
- const result = [];
93
- const seen = /* @__PURE__ */ new Set();
94
- for (const item of value) {
95
- if (typeof item !== "string") {
96
- continue;
97
- }
98
- const trimmed = item.trim();
99
- if (ALLOWED_PROMPT_SKILL_SLUGS.has(trimmed) && !seen.has(trimmed)) {
100
- seen.add(trimmed);
101
- result.push(trimmed);
102
- }
63
+ // packages/app/plugins/uiPlugins.ts
64
+ var UI_PLUGIN_SPECS = Object.freeze([
65
+ { id: "music", title: "\u97F3\u4E50", path: "/music" },
66
+ { id: "calendar", title: "\u65E5\u5386", path: "/calendar" }
67
+ ]);
68
+ var isRecordLike2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
69
+ var toUiPluginState = (value) => value === "enabled" || value === "disabled" || value === "absent" ? value : "absent";
70
+ var normalizeUiPlugins = (value) => {
71
+ const record = isRecordLike2(value) ? value : {};
72
+ const result = {};
73
+ for (const spec of UI_PLUGIN_SPECS) {
74
+ result[spec.id] = toUiPluginState(record[spec.id]);
103
75
  }
104
76
  return result;
105
- }
106
-
107
- // packages/ai/skills/userSkills.ts
108
- var NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS = WORKFLOW_GUIDANCE_SKILL_SLUGS;
109
- function isAccountOnDemandWorkflowSkill(slug) {
110
- return typeof slug === "string" && NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS.some((candidate) => candidate === slug.trim());
111
- }
112
- var SUPPORTED_USER_SKILL_SLUGS = [
113
- "ub-mode",
114
- "auto-review",
115
- "code-style",
116
- "worktree-isolation",
117
- "systematic-investigation",
118
- "show-me",
119
- "caveman",
120
- "secrets-manager",
121
- "skill-creator",
122
- "code-planning",
123
- "coding",
124
- "coding-review",
125
- "android-adb",
126
- "stock-quotes",
127
- ...NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS
128
- ];
129
- var SUPPORTED_USER_SKILL_SLUG_SET = new Set(
130
- SUPPORTED_USER_SKILL_SLUGS
131
- );
132
- function normalizeEnabledSkills(value) {
133
- if (!Array.isArray(value)) {
134
- return [];
135
- }
136
- const result = [];
137
- const seen = /* @__PURE__ */ new Set();
138
- for (const item of value) {
139
- if (typeof item !== "string") {
140
- continue;
141
- }
142
- const trimmed = item.trim();
143
- if (SUPPORTED_USER_SKILL_SLUG_SET.has(trimmed) && !seen.has(trimmed)) {
144
- seen.add(trimmed);
145
- result.push(trimmed);
146
- }
147
- }
148
- return result;
149
- }
150
- function resolveUserEnabledSkills(preferences) {
151
- if (!preferences || typeof preferences !== "object") {
152
- return [];
153
- }
154
- if (Object.prototype.hasOwnProperty.call(preferences, "enabledSkills")) {
155
- return normalizeEnabledSkills(preferences.enabledSkills);
156
- }
157
- if (Object.prototype.hasOwnProperty.call(preferences, "enabledPromptSkills")) {
158
- const legacy = normalizeEnabledPromptSkills(preferences.enabledPromptSkills);
159
- return legacy.filter((slug) => SUPPORTED_USER_SKILL_SLUG_SET.has(slug));
160
- }
161
- return [];
162
- }
77
+ };
163
78
 
164
79
  // packages/ai/policy/selfUpdateFields.ts
165
80
  var AGENT_UPDATE_FIELD_NAMES = [
@@ -205,8 +120,7 @@ var normalizeAgentUpdateFieldList = (value, fallback = DEFAULT_AUTO_APPROVED_SEL
205
120
  };
206
121
 
207
122
  export {
208
- DEFAULT_AGENT_BASE_POLICY,
209
- DEFAULT_USER_PREFERENCE_PROFILE,
123
+ normalizeUiPlugins,
210
124
  AGENT_UPDATE_FIELD_NAMES,
211
125
  DEFAULT_AUTO_APPROVED_SELF_UPDATE_FIELDS,
212
126
  normalizeAgentUpdateFieldList,
@@ -218,9 +132,5 @@ export {
218
132
  normalizePolicyLevelSetting,
219
133
  resolveDefaultAgentIdSetting,
220
134
  omitKeys,
221
- normalizeSystemBuiltinSkills,
222
- normalizeEnabledPromptSkills,
223
- isAccountOnDemandWorkflowSkill,
224
- normalizeEnabledSkills,
225
- resolveUserEnabledSkills
135
+ normalizeSystemBuiltinSkills
226
136
  };
@@ -5,7 +5,7 @@ import {
5
5
  mapDiscoveredSkillsToCatalogEntries,
6
6
  resolveSkillCatalog,
7
7
  resolveSkillCatalogSync
8
- } from "./chunk-JWXITTQB.js";
8
+ } from "./chunk-5HUO7SEX.js";
9
9
  import {
10
10
  load
11
11
  } from "./chunk-KHCLMKZZ.js";
@@ -1,12 +1,12 @@
1
- import {
2
- selectCurrentServer
3
- } from "./chunk-VREDDN25.js";
4
1
  import {
5
2
  patch
6
- } from "./chunk-AVHRSJUH.js";
3
+ } from "./chunk-6MQWGA5F.js";
4
+ import {
5
+ selectCurrentServer
6
+ } from "./chunk-CJTB3OYB.js";
7
7
  import {
8
8
  getIsDesktopApp
9
- } from "./chunk-AGP3YSEC.js";
9
+ } from "./chunk-BH7CEVOH.js";
10
10
  import {
11
11
  selectIdentityToken
12
12
  } from "./chunk-PXYBUFDB.js";
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  markdownToSlate
3
- } from "./chunk-FJ23FZXF.js";
3
+ } from "./chunk-VIYVRPMJ.js";
4
+ import {
5
+ buildSkillSummaryMarker
6
+ } from "./chunk-VF4K2QE6.js";
4
7
  import {
5
8
  createEmptyParagraph,
6
9
  splitSlateTitleAndBody
@@ -8,28 +11,25 @@ import {
8
11
  import {
9
12
  slateToRenderMarkdown
10
13
  } from "./chunk-63W5N6P3.js";
11
- import {
12
- buildSkillSummaryMarker
13
- } from "./chunk-VF4K2QE6.js";
14
14
  import {
15
15
  addContentToSpace,
16
16
  resolveCreationSpaceId
17
- } from "./chunk-JHRQXQ4A.js";
17
+ } from "./chunk-6XLWUNZB.js";
18
18
  import {
19
19
  runtime_default
20
- } from "./chunk-W772FYAQ.js";
20
+ } from "./chunk-ODGSLWLO.js";
21
21
  import {
22
22
  getCurrentSpaceId
23
- } from "./chunk-MOMR7NMG.js";
23
+ } from "./chunk-ZCVBIIUE.js";
24
24
  import {
25
25
  write
26
- } from "./chunk-AVHRSJUH.js";
26
+ } from "./chunk-6MQWGA5F.js";
27
27
  import {
28
28
  selectIdentityUserId
29
29
  } from "./chunk-PXYBUFDB.js";
30
30
  import {
31
31
  parseSkillDocProtocol
32
- } from "./chunk-W6RFEDN4.js";
32
+ } from "./chunk-AETZ7AD6.js";
33
33
  import {
34
34
  createPageKey
35
35
  } from "./chunk-SYTHYBMI.js";