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
package/chunk-5ZMIIR23.js DELETED
@@ -1,265 +0,0 @@
1
- // packages/database-engine/cliAuthorityBrokerClient.ts
2
- import { createConnection } from "node:net";
3
- var DEFAULT_ITERATOR_PAGE_SIZE = 200;
4
- var CliAuthorityBrokerUnavailableError = class extends Error {
5
- reason = "cli_authority_broker_unavailable";
6
- status = 503;
7
- endpoint;
8
- constructor(endpoint, cause) {
9
- super(`CLI authority broker unavailable at ${endpoint}. Start the local authority broker and retry.`);
10
- this.name = "CliAuthorityBrokerUnavailableError";
11
- this.endpoint = endpoint;
12
- if (cause !== void 0) {
13
- this.cause = cause;
14
- }
15
- }
16
- };
17
- var CliAuthorityBrokerTimeoutError = class extends Error {
18
- reason = "cli_authority_broker_timeout";
19
- endpoint;
20
- timeoutMs;
21
- constructor(endpoint, timeoutMs, cause) {
22
- super(`CLI authority broker request at ${endpoint} timed out after ${timeoutMs}ms`);
23
- this.name = "CliAuthorityBrokerTimeoutError";
24
- this.endpoint = endpoint;
25
- this.timeoutMs = timeoutMs;
26
- if (cause !== void 0) {
27
- this.cause = cause;
28
- }
29
- }
30
- };
31
- var CliAuthorityBrokerProtocolError = class extends Error {
32
- code;
33
- retryable;
34
- constructor(error) {
35
- super(error.message);
36
- this.name = "CliAuthorityBrokerProtocolError";
37
- this.code = error.code;
38
- this.retryable = error.retryable === true;
39
- }
40
- };
41
- function isCliAuthorityBrokerUnavailableError(error) {
42
- return error instanceof CliAuthorityBrokerUnavailableError || typeof error === "object" && error !== null && error.reason === "cli_authority_broker_unavailable" && error.status === 503;
43
- }
44
- function isCliAuthorityBrokerTimeoutError(error) {
45
- return error instanceof CliAuthorityBrokerTimeoutError || typeof error === "object" && error !== null && error.reason === "cli_authority_broker_timeout";
46
- }
47
- function isCliAuthorityBrokerProtocolError(error) {
48
- return error instanceof CliAuthorityBrokerProtocolError || typeof error === "object" && error !== null && error.name === "CliAuthorityBrokerProtocolError";
49
- }
50
- function isBrokerUnavailableCause(error) {
51
- if (!error) return false;
52
- if (isCliAuthorityBrokerTimeoutError(error) || isCliAuthorityBrokerProtocolError(error)) {
53
- return false;
54
- }
55
- if (isCliAuthorityBrokerUnavailableError(error)) {
56
- return true;
57
- }
58
- if (typeof error === "object") {
59
- const code = error.code;
60
- if (typeof code === "string" && /^(ECONNREFUSED|ENOENT|ECONNRESET|EPIPE|EADDRNOTAVAIL|ENETUNREACH|EHOSTUNREACH)$/i.test(code)) {
61
- return true;
62
- }
63
- }
64
- const message = error instanceof Error ? error.message : String(error);
65
- if (/timed out/i.test(message)) return false;
66
- if (/malformed response|protocol mismatch/i.test(message)) return false;
67
- return /ECONNREFUSED|ENOENT|ECONNRESET|EPIPE|closed connection without response|returned no response/i.test(message);
68
- }
69
- function resolveBrokerSocketTarget(endpoint) {
70
- if (endpoint.startsWith("unix://")) {
71
- return { kind: "unix", path: endpoint.slice("unix://".length) };
72
- }
73
- if (endpoint.startsWith("tcp://")) {
74
- const url = new URL(endpoint);
75
- return {
76
- kind: "tcp",
77
- host: url.hostname,
78
- port: Number(url.port)
79
- };
80
- }
81
- throw new Error(`Unsupported CLI authority broker endpoint: ${endpoint}`);
82
- }
83
- function createCliAuthorityBrokerSocketInvoker(options) {
84
- const target = resolveBrokerSocketTarget(options.endpoint);
85
- const timeoutMs = options.timeoutMs ?? 5e3;
86
- return async (request) => {
87
- return await new Promise((resolve, reject) => {
88
- const socket = target.kind === "unix" ? createConnection(target.path) : createConnection({ host: target.host, port: target.port });
89
- let responseBuffer = "";
90
- let settled = false;
91
- const timeout = setTimeout(() => {
92
- finish(() => {
93
- socket.destroy();
94
- socket.unref?.();
95
- reject(new CliAuthorityBrokerTimeoutError(options.endpoint, timeoutMs));
96
- });
97
- }, timeoutMs);
98
- const finish = (fn) => {
99
- if (settled) return;
100
- settled = true;
101
- clearTimeout(timeout);
102
- fn();
103
- };
104
- socket.setEncoding("utf8");
105
- socket.on("connect", () => {
106
- socket.write(`${JSON.stringify(request)}
107
- `);
108
- });
109
- socket.on("data", (chunk) => {
110
- responseBuffer += chunk;
111
- });
112
- socket.on("end", () => {
113
- finish(() => {
114
- const payload = responseBuffer.trim();
115
- if (!payload) {
116
- reject(
117
- new CliAuthorityBrokerUnavailableError(
118
- options.endpoint,
119
- new Error(`CLI authority broker at ${options.endpoint} closed connection without response`)
120
- )
121
- );
122
- return;
123
- }
124
- try {
125
- resolve(JSON.parse(payload));
126
- } catch (parseError) {
127
- reject(
128
- new CliAuthorityBrokerProtocolError({
129
- code: "MALFORMED_RESPONSE",
130
- message: `CLI authority broker at ${options.endpoint} returned malformed response: ${parseError instanceof Error ? parseError.message : String(parseError)}`
131
- })
132
- );
133
- }
134
- });
135
- });
136
- socket.on("error", (error) => {
137
- finish(() => {
138
- if (isBrokerUnavailableCause(error)) {
139
- reject(new CliAuthorityBrokerUnavailableError(options.endpoint, error));
140
- } else {
141
- reject(error);
142
- }
143
- });
144
- });
145
- });
146
- };
147
- }
148
- async function invokeBrokerRequest(options, request) {
149
- try {
150
- const response = await options.invoke(request);
151
- if (!response || typeof response !== "object" || typeof response.ok !== "boolean") {
152
- throw new CliAuthorityBrokerProtocolError({
153
- code: "MALFORMED_RESPONSE",
154
- message: `CLI authority broker protocol mismatch at ${options.endpoint}`
155
- });
156
- }
157
- if (response.ok) {
158
- if (!response.result || typeof response.result !== "object") {
159
- throw new CliAuthorityBrokerProtocolError({
160
- code: "MALFORMED_RESPONSE",
161
- message: `CLI authority broker protocol mismatch at ${options.endpoint}`
162
- });
163
- }
164
- return response.result;
165
- }
166
- if (!response.error || typeof response.error !== "object" || typeof response.error.code !== "string" || typeof response.error.message !== "string") {
167
- throw new CliAuthorityBrokerProtocolError({
168
- code: "MALFORMED_RESPONSE",
169
- message: `CLI authority broker protocol mismatch at ${options.endpoint}`
170
- });
171
- }
172
- if (response.error.code === "BROKER_UNAVAILABLE") {
173
- throw new CliAuthorityBrokerUnavailableError(options.endpoint, response.error);
174
- }
175
- throw new CliAuthorityBrokerProtocolError(response.error);
176
- } catch (error) {
177
- if (isCliAuthorityBrokerTimeoutError(error)) throw error;
178
- if (isCliAuthorityBrokerUnavailableError(error)) throw error;
179
- if (isCliAuthorityBrokerProtocolError(error)) throw error;
180
- if (isBrokerUnavailableCause(error)) {
181
- throw new CliAuthorityBrokerUnavailableError(options.endpoint, error);
182
- }
183
- throw error;
184
- }
185
- }
186
- function createCliAuthorityBrokerClient(options) {
187
- const pageSize = options.iteratorPageSize ?? DEFAULT_ITERATOR_PAGE_SIZE;
188
- return {
189
- get location() {
190
- return options.location ?? options.endpoint;
191
- },
192
- get status() {
193
- return options.status ?? "broker";
194
- },
195
- async open() {
196
- await invokeBrokerRequest(options, { type: "status" });
197
- },
198
- async close() {
199
- },
200
- async get(key) {
201
- const result = await invokeBrokerRequest(options, { type: "get", key });
202
- if (result.type !== "get") {
203
- throw new Error(`CLI authority broker protocol mismatch for get at ${options.endpoint}`);
204
- }
205
- return result.value;
206
- },
207
- async put(key, value) {
208
- await invokeBrokerRequest(options, { type: "put", key, value });
209
- },
210
- async del(key) {
211
- await invokeBrokerRequest(options, { type: "del", key });
212
- },
213
- async batchWrite(ops) {
214
- await invokeBrokerRequest(options, { type: "batchWrite", ops });
215
- },
216
- createBatch() {
217
- const ops = [];
218
- return {
219
- put(key, value) {
220
- ops.push({ type: "put", key, value });
221
- },
222
- del(key) {
223
- ops.push({ type: "del", key });
224
- },
225
- async write() {
226
- await invokeBrokerRequest(options, { type: "batchWrite", ops });
227
- }
228
- };
229
- },
230
- iterator(iteratorOptions = {}) {
231
- return async function* iterate() {
232
- let cursor = void 0;
233
- while (true) {
234
- const result = await invokeBrokerRequest(options, {
235
- type: "iterator",
236
- options: iteratorOptions,
237
- cursor,
238
- limit: pageSize
239
- });
240
- if (result.type !== "iterator") {
241
- throw new Error(
242
- `CLI authority broker protocol mismatch for iterator at ${options.endpoint}`
243
- );
244
- }
245
- for (const entry of result.page.entries) {
246
- yield entry;
247
- }
248
- if (result.page.done || !result.page.nextCursor) return;
249
- cursor = result.page.nextCursor;
250
- }
251
- }();
252
- }
253
- };
254
- }
255
-
256
- export {
257
- CliAuthorityBrokerUnavailableError,
258
- CliAuthorityBrokerTimeoutError,
259
- CliAuthorityBrokerProtocolError,
260
- isCliAuthorityBrokerUnavailableError,
261
- isCliAuthorityBrokerTimeoutError,
262
- isCliAuthorityBrokerProtocolError,
263
- createCliAuthorityBrokerSocketInvoker,
264
- createCliAuthorityBrokerClient
265
- };
package/chunk-BJF2MHJ3.js DELETED
@@ -1,118 +0,0 @@
1
- import {
2
- createMemoryKey,
3
- memoryOwnerRange,
4
- memorySubjectKindRange
5
- } from "./chunk-SYTHYBMI.js";
6
-
7
- // packages/ai/memory/queryShared.ts
8
- var chooseMemoryOwners = (input) => {
9
- const owners = [];
10
- if (input.userId) {
11
- owners.push({ ownerType: "user", ownerId: input.userId });
12
- }
13
- if (input.spaceId) {
14
- owners.push({ ownerType: "space", ownerId: input.spaceId });
15
- }
16
- return owners;
17
- };
18
- var loadOwnerItemsFromDb = async (db, owner, limit) => {
19
- const range = memoryOwnerRange(owner.ownerType, owner.ownerId);
20
- const refs = [];
21
- for await (const [, value] of db.iterator({
22
- gte: range.start,
23
- lte: range.end,
24
- reverse: true
25
- })) {
26
- refs.push(value ?? {});
27
- if (refs.length >= limit) break;
28
- }
29
- const items = await Promise.all(
30
- refs.map(
31
- (ref) => typeof ref?.memoryId === "string" ? db.get(createMemoryKey(owner.ownerType, owner.ownerId, ref.memoryId)).catch(() => null) : Promise.resolve(null)
32
- )
33
- );
34
- return items.filter((item) => !!item);
35
- };
36
- var loadSubjectKindItemsFromDb = async (db, subject, kind, limit) => {
37
- const range = memorySubjectKindRange(subject.subjectType, subject.subjectId, kind);
38
- const refs = [];
39
- for await (const [, value] of db.iterator({
40
- gte: range.start,
41
- lte: range.end,
42
- reverse: true
43
- })) {
44
- refs.push(value ?? {});
45
- if (refs.length >= limit) break;
46
- }
47
- const items = await Promise.all(
48
- refs.map(
49
- (ref) => typeof ref?.memoryKey === "string" ? db.get(ref.memoryKey).catch(() => null) : Promise.resolve(null)
50
- )
51
- );
52
- return items.filter((item) => !!item);
53
- };
54
- var loadMemoryCandidatesFromDb = async (db, input) => {
55
- const kinds = input.kinds ?? ["episodic", "semantic", "procedural"];
56
- const ownerLimit = input.ownerLimit ?? 12;
57
- const ownerFallback = input.ownerFallback ?? "onSubjectMiss";
58
- const reserve = Math.max(0, input.corroboratedProceduralReserve ?? 0);
59
- const ownerKeySet = new Set(
60
- input.owners.filter((owner) => owner.ownerId).map((owner) => `${owner.ownerType}:${owner.ownerId}`)
61
- );
62
- const subjects = input.subjects.filter(
63
- (subject) => !!subject.subjectId
64
- );
65
- const subjectResults = subjects.length > 0 ? await Promise.all(
66
- subjects.flatMap(
67
- (subject) => kinds.map(
68
- (kind) => loadSubjectKindItemsFromDb(db, subject, kind, ownerLimit)
69
- )
70
- )
71
- ) : [];
72
- const subjectHitCount = subjectResults.reduce((sum, items) => sum + items.length, 0);
73
- const shouldLoadOwnerFallback = ownerFallback !== "never" && (subjects.length === 0 || subjectHitCount === 0 || ownerFallback === "always");
74
- const results = shouldLoadOwnerFallback ? await Promise.all(
75
- [
76
- ...subjectResults,
77
- ...input.owners.map((owner) => loadOwnerItemsFromDb(db, owner, ownerLimit))
78
- ]
79
- ) : subjectResults;
80
- if (reserve > 0 && kinds.includes("procedural")) {
81
- const probeLimit = ownerLimit * 2;
82
- const reserveResults = await Promise.all(
83
- subjects.map(
84
- (subject) => loadSubjectKindItemsFromDb(db, subject, "procedural", probeLimit)
85
- )
86
- );
87
- const corroborated = reserveResults.flat().filter((item) => item && item.recurrenceEvidence).sort((a, b) => b.createdAt.localeCompare(a.createdAt)).slice(0, reserve);
88
- for (const item of corroborated) {
89
- results.push([item]);
90
- }
91
- }
92
- const kindSet = new Set(kinds);
93
- const seen = /* @__PURE__ */ new Set();
94
- const merged = [];
95
- for (const items of results) {
96
- for (const item of items) {
97
- if (seen.has(item.id)) continue;
98
- if (!kindSet.has(item.kind)) continue;
99
- if (ownerKeySet.size > 0 && !ownerKeySet.has(`${item.ownerType}:${item.ownerId}`)) {
100
- continue;
101
- }
102
- if (!shouldLoadOwnerFallback && subjects.length > 0 && !subjects.some(
103
- (subject) => subject.subjectType === item.subjectType && subject.subjectId === item.subjectId
104
- )) {
105
- continue;
106
- }
107
- seen.add(item.id);
108
- merged.push(item);
109
- }
110
- }
111
- return merged;
112
- };
113
-
114
- export {
115
- chooseMemoryOwners,
116
- loadOwnerItemsFromDb,
117
- loadMemoryCandidatesFromDb
118
- };
package/chunk-KEPOVMF4.js DELETED
@@ -1,91 +0,0 @@
1
- import {
2
- dialogMessageKey
3
- } from "./chunk-OJKUU3LP.js";
4
- import {
5
- asOptionalFiniteNumber
6
- } from "./chunk-WWC7I6TA.js";
7
- import {
8
- asOptionalTrimmedString
9
- } from "./chunk-G3SUCT4W.js";
10
-
11
- // packages/core/chat/dialogAttachmentCleanup.ts
12
- var FILE_CONTENT_RE = /(?:https?:\/\/[^/"'\s]+)?\/api\/v1\/db\/file\/content\/([^?#"'\s)]+)/g;
13
- function extractFileContentIds(value) {
14
- const ids = /* @__PURE__ */ new Set();
15
- const visit = (input) => {
16
- if (typeof input === "string") {
17
- for (const match of input.matchAll(FILE_CONTENT_RE)) {
18
- const fileId = decodeURIComponent(match[1] ?? "").trim();
19
- if (fileId) ids.add(fileId);
20
- }
21
- return;
22
- }
23
- if (Array.isArray(input)) {
24
- for (const item of input) visit(item);
25
- return;
26
- }
27
- if (input && typeof input === "object") {
28
- for (const item of Object.values(input)) visit(item);
29
- }
30
- };
31
- visit(value);
32
- return [...ids];
33
- }
34
- function messageDbKey(dialogId, message) {
35
- const dbKey = asOptionalTrimmedString(message.dbKey);
36
- if (dbKey) return dbKey;
37
- const id = asOptionalTrimmedString(message.id);
38
- if (id) return dialogMessageKey(dialogId, id);
39
- return null;
40
- }
41
- function asText(value) {
42
- return asOptionalTrimmedString(value) ?? null;
43
- }
44
- function buildDialogAttachmentPlan(args) {
45
- const messageKeys = new Set(
46
- args.messages.map((message) => messageDbKey(args.dialogId, message)).filter((key) => Boolean(key))
47
- );
48
- const referencedFileIds = [
49
- ...new Set(args.messages.flatMap((message) => extractFileContentIds(message)))
50
- ];
51
- const candidates = referencedFileIds.map((fileId) => {
52
- const metadata = args.metadataByFileId[fileId];
53
- const ownerType = asText(metadata?.ownerType);
54
- const ownerId = asText(metadata?.ownerId);
55
- const ownerDbKey = asText(metadata?.ownerDbKey);
56
- const fileDbKey = asText(metadata?.dbKey);
57
- const source = asText(metadata?.source);
58
- const ownedByDialog = ownerType === "dialog" && ownerId === args.dialogId;
59
- const ownedByMessage = Boolean(ownerDbKey && messageKeys.has(ownerDbKey));
60
- const userOwnedReferenced = args.includeUserOwnedReferenced === true && Boolean(args.ownerId) && ownerType === "user" && ownerId === args.ownerId;
61
- const canDelete = Boolean(fileDbKey && (ownedByDialog || ownedByMessage || userOwnedReferenced));
62
- return {
63
- fileId,
64
- fileDbKey,
65
- size: asOptionalFiniteNumber(metadata?.size) ?? null,
66
- ownerType,
67
- ownerId,
68
- ownerDbKey,
69
- source,
70
- status: canDelete ? "delete" : "retain",
71
- reason: canDelete ? ownedByMessage ? "ownerDbKey matches a message in this dialog" : userOwnedReferenced ? "user-owned file is referenced by this dialog and explicit referenced-attachment deletion is enabled" : "ownerType/ownerId matches this dialog" : fileDbKey ? "file ownership is not exclusive to this dialog" : "file metadata not found"
72
- };
73
- });
74
- const deleteCandidates = candidates.filter((candidate) => candidate.status === "delete");
75
- const retainedCandidates = candidates.filter((candidate) => candidate.status === "retain");
76
- return {
77
- dialogId: args.dialogId,
78
- messageCount: args.messages.length,
79
- referencedFileIds,
80
- candidates,
81
- deleteCandidates,
82
- retainedCandidates,
83
- bytesToDelete: deleteCandidates.reduce((sum, candidate) => sum + (candidate.size ?? 0), 0),
84
- metadataReadFailures: args.metadataReadFailures ?? []
85
- };
86
- }
87
-
88
- export {
89
- extractFileContentIds,
90
- buildDialogAttachmentPlan
91
- };