nolo-cli 0.227.0-alpha.1 → 0.227.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/README.md +3 -5
  2. package/{_executeModel-JKQGZ3HU.js → _executeModel-CXOFYVHC.js} +93 -87
  3. package/{action-CK64LS6S.js → action-R2EIXR7I.js} +11 -8
  4. package/{addContentAction-CARFID6E.js → addContentAction-W6JVLQ6H.js} +17 -16
  5. package/{addDialogAgentAction-APLZLFW5.js → addDialogAgentAction-LVNKMXKZ.js} +20 -19
  6. package/{agentDeleteCommand-NVR2V2HH.js → agentDeleteCommand-VFSZPEQ5.js} +145 -137
  7. package/{agentEmailCommands-UCVOWD3S.js → agentEmailCommands-KRUIF4EH.js} +149 -137
  8. package/{agentFavoriteCommands-4PDOP3GW.js → agentFavoriteCommands-7LOP3HUD.js} +6 -6
  9. package/{agentGrantCommands-FLCEXLUH.js → agentGrantCommands-L6O2HVJI.js} +7 -7
  10. package/agentListCommands-TDFOLWN3.js +644 -0
  11. package/{agentMachineCommands-V3DGEJU4.js → agentMachineCommands-PSH7Q5PF.js} +76 -67
  12. package/{agentProviderCommands-7QBFRFRK.js → agentProviderCommands-C5T7C5KZ.js} +7 -7
  13. package/{agentPullCommand-E6JBGBVG.js → agentPullCommand-QQQZSC6S.js} +7 -7
  14. package/agentRecordCommands-KCKCW2QU.js +188 -0
  15. package/agentRunCommand-EF2T2QWD.js +223 -0
  16. package/{agentRunControl-SNZZ5XP4.js → agentRunControl-CSMSJFFB.js} +25 -17
  17. package/{agentRuntimeLocal-GOX2DIY7.js → agentRuntimeLocal-6QXQS3TS.js} +64 -50
  18. package/{agentSlice-N7H2FRJA.js → agentSlice-IZ5ANAF7.js} +19 -18
  19. package/{appDeleteCommands-LZDN26FU.js → appDeleteCommands-4M7ETEEG.js} +68 -59
  20. package/{appDeployCommands-6IO6TTZH.js → appDeployCommands-2VJ2NDW5.js} +68 -59
  21. package/{appDeployStatusCommands-FG3LX24J.js → appDeployStatusCommands-LDFSWOPQ.js} +68 -59
  22. package/{appGetCommands-NAKVDVD4.js → appGetCommands-RHVNOPT4.js} +68 -59
  23. package/{appListCommands-KL56RN73.js → appListCommands-U3XEVTL4.js} +68 -59
  24. package/{authCommand-AUN5MXV2.js → authCommand-PVZ45QRO.js} +36 -31
  25. package/{authCommands-D2IPS6ES.js → authCommands-6AUYO65N.js} +18 -13
  26. package/{builtinSkillRegistry-UQGLKRYP.js → builtinSkillRegistry-LRVAQCPW.js} +6 -6
  27. package/{chromeCommands-G5UDKVSV.js → chromeCommands-S7AW3AOD.js} +383 -6
  28. package/{chromeOpsCommands-UJWN5HWH.js → chromeOpsCommands-TBPM6MR4.js} +8 -8
  29. package/{chunk-ABGULE7H.js → chunk-22YUCKMK.js} +16 -16
  30. package/{chunk-P2ZLUIW2.js → chunk-2BSLGODA.js} +350 -25
  31. package/{chunk-GOLPOTG5.js → chunk-2COM7SAH.js} +4 -4
  32. package/{chunk-ULAQPRHX.js → chunk-2FK2KZSL.js} +1 -1
  33. package/{chunk-PLPLH2XZ.js → chunk-2IPR4PBB.js} +2 -2
  34. package/chunk-2SXN7LAY.js +15 -0
  35. package/{chunk-XI2BWJM5.js → chunk-324FWHUA.js} +20 -3
  36. package/{chunk-7Z3WUZ4Q.js → chunk-3YYFU6H7.js} +74 -46
  37. package/{chunk-C2B7M567.js → chunk-4OXPN3WC.js} +17 -6
  38. package/chunk-4TVOZGOS.js +62 -0
  39. package/chunk-4ZCTKB27.js +31 -0
  40. package/chunk-53AEDFBL.js +33394 -0
  41. package/chunk-53W5BXLN.js +340 -0
  42. package/{chunk-OXA5GWHU.js → chunk-56O2J2Y4.js} +3 -3
  43. package/{chunk-IAJJYHIB.js → chunk-56PB7FEN.js} +8 -8
  44. package/{chunk-JWXITTQB.js → chunk-5HUO7SEX.js} +9 -107
  45. package/{chunk-AGP3YSEC.js → chunk-5PASH2MB.js} +46 -1
  46. package/{chunk-PHOSZT3E.js → chunk-5UAKGCQG.js} +1 -1
  47. package/{chunk-5RKRXQ2H.js → chunk-5VVP7DW3.js} +20 -13
  48. package/chunk-6ASGEP5D.js +21 -0
  49. package/chunk-6PXFEPHL.js +103 -0
  50. package/chunk-6RSNVJGO.js +279 -0
  51. package/{chunk-YGMBIXCF.js → chunk-6XRPBZRS.js} +4 -2
  52. package/{chunk-KMRKZNGT.js → chunk-6YYTTLJV.js} +14 -13
  53. package/{chunk-VREDDN25.js → chunk-76HAJUOJ.js} +14 -9
  54. package/{chunk-FKEZOMIF.js → chunk-7DXFOL5B.js} +1410 -768
  55. package/{chunk-LA7JYAKF.js → chunk-AKPKOI5Z.js} +6 -6
  56. package/{chunk-PWTNI4N7.js → chunk-ANUP75N2.js} +22 -0
  57. package/{chunk-F5AY2UZL.js → chunk-AO6T7U62.js} +592 -68
  58. package/{chunk-LJSNEV7M.js → chunk-AS6L5KSD.js} +8 -8
  59. package/{chunk-GOQ6ZVTN.js → chunk-AVSZ6PBM.js} +5 -5
  60. package/chunk-BIDSIRTS.js +307 -0
  61. package/chunk-C5A54QS7.js +108 -0
  62. package/{chunk-KYH7XW3K.js → chunk-CD2DK5JA.js} +135 -14
  63. package/{chunk-G6HJUMST.js → chunk-CJQBWHNM.js} +2 -2
  64. package/{chunk-EVGU5P4U.js → chunk-CO6E7YK6.js} +1 -1
  65. package/{chunk-ZYA2YDB6.js → chunk-CT5JXREL.js} +17 -17
  66. package/{chunk-VPAZ6BEN.js → chunk-CTWCZKNS.js} +42 -17
  67. package/{chunk-4OKTPFNX.js → chunk-CX2LYFZQ.js} +107 -66
  68. package/{chunk-YFLVRVYK.js → chunk-DLT2DN4M.js} +1 -1
  69. package/{chunk-LKA64WH4.js → chunk-DMPZMYH4.js} +37 -1
  70. package/{chunk-KFHREHUQ.js → chunk-DXWGFL2Z.js} +89 -1
  71. package/{chunk-OQHIVPG4.js → chunk-E6A5NHDH.js} +4 -1
  72. package/{chunk-IX2BXN2K.js → chunk-EDT65EUE.js} +6 -6
  73. package/{chunk-VP3BINY7.js → chunk-EQZZASCD.js} +31 -1
  74. package/{chunk-45LZIYXB.js → chunk-ESN4WNWU.js} +3 -2
  75. package/{chunk-M3JEW6N6.js → chunk-F26GAEH3.js} +10 -0
  76. package/{chunk-CVERLOJM.js → chunk-F4XIS5DL.js} +1215 -1431
  77. package/chunk-FDZ2GBWO.js +166 -0
  78. package/chunk-FGHEF6WI.js +34 -0
  79. package/{chunk-CSW7IPVD.js → chunk-FMYNIAI6.js} +61 -24
  80. package/{chunk-VIHDJ3FK.js → chunk-FNT5VENS.js} +15 -15
  81. package/{chunk-PMDVQBGA.js → chunk-GAHJLSDO.js} +14 -7
  82. package/{chunk-GRXSJR2Z.js → chunk-GVTFSLNI.js} +112 -109
  83. package/{chunk-UN7HIYMH.js → chunk-GX6DITLQ.js} +1 -1
  84. package/{chunk-3VFYQH3I.js → chunk-HIDVLMZC.js} +203 -156
  85. package/{chunk-5LQDHFBN.js → chunk-IDFGIROZ.js} +20 -17
  86. package/{chunk-UCFPVYP7.js → chunk-IFWXH7LH.js} +1 -1
  87. package/{chunk-LXTC53TN.js → chunk-J45ACAOQ.js} +815 -361
  88. package/{chunk-S6K5F3KP.js → chunk-JP2BH4NC.js} +1 -1
  89. package/{chunk-X2KRQP7V.js → chunk-JV5FHHF7.js} +1 -1
  90. package/{chunk-6EDAMVG6.js → chunk-K26XPZRB.js} +11 -11
  91. package/{chunk-RU6DULV4.js → chunk-KB5RQRSJ.js} +1 -1
  92. package/{chunk-T43K75CK.js → chunk-KC2QVCI7.js} +24 -178
  93. package/chunk-KK3FCYZM.js +647 -0
  94. package/{chunk-XZODOEKU.js → chunk-KMDHRVS7.js} +29 -5
  95. package/{chunk-4JVNURX4.js → chunk-KQHEGELM.js} +68 -16
  96. package/{chunk-UAPNPNSG.js → chunk-KW72WVHO.js} +2085 -1046
  97. package/{chunk-ILHQ2AXT.js → chunk-KZAT2M2V.js} +14 -8
  98. package/{chunk-L42CBKBZ.js → chunk-KZKMH374.js} +3 -3
  99. package/{chunk-ZI5SZ3MV.js → chunk-L6BLA6BT.js} +40 -31
  100. package/{chunk-AK5O76CC.js → chunk-LC5CVWP2.js} +3 -3
  101. package/{chunk-N5Z2V73W.js → chunk-LELADM5Q.js} +1 -1
  102. package/chunk-LHCGKAFO.js +739 -0
  103. package/{chunk-YOT437BH.js → chunk-LOF2EFUE.js} +203 -123
  104. package/{chunk-YQETUZ5V.js → chunk-LTVEOOZL.js} +29 -16
  105. package/{chunk-T2BEPTAG.js → chunk-MAA42MMV.js} +272 -26
  106. package/{chunk-NAOO4PVX.js → chunk-MECW2HJG.js} +16 -16
  107. package/{chunk-5HL4KC4A.js → chunk-MEDPR36J.js} +62 -87
  108. package/chunk-MVOZ22RZ.js +26 -0
  109. package/{chunk-YPPKC6FL.js → chunk-MYYNZG2M.js} +140 -40
  110. package/{chunk-UVUVQVZ6.js → chunk-MZVCFV3T.js} +19 -15
  111. package/{chunk-CQVGR3MX.js → chunk-N7MXFYLU.js} +7 -7
  112. package/{chunk-IC2I373Q.js → chunk-NEG5LYK5.js} +4 -4
  113. package/chunk-NJJK3PDA.js +133 -0
  114. package/{chunk-OB6DVWPF.js → chunk-OGZE6BZG.js} +331 -99
  115. package/{chunk-M3Y4IBIR.js → chunk-OHUYN3YU.js} +6 -6
  116. package/chunk-P27E22MA.js +203 -0
  117. package/{chunk-SFTTXGPM.js → chunk-PDAXMBLW.js} +35 -28
  118. package/{chunk-OBSEKCVK.js → chunk-PQ63BDV3.js} +210 -51
  119. package/{chunk-EUCFKKDM.js → chunk-PVFYPUIM.js} +40 -10
  120. package/{chunk-SRG5CNLC.js → chunk-QIVE5WJE.js} +8 -8
  121. package/{chunk-HOCHUZQ7.js → chunk-QJTZ76CP.js} +24 -6
  122. package/{chunk-5RKUPJYL.js → chunk-QLUYDJST.js} +11 -3
  123. package/{chunk-7Z6EW7AH.js → chunk-QOURTDZL.js} +97 -11
  124. package/{chunk-VZW34YUL.js → chunk-QWSH3UAQ.js} +8 -5
  125. package/{chunk-MK2Q7ZJD.js → chunk-R7XWZDOH.js} +58 -24
  126. package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
  127. package/{chunk-SW6OD4KE.js → chunk-RDPAIR67.js} +351 -18
  128. package/{chunk-NO3VBWTL.js → chunk-RXTZB2DH.js} +4 -4
  129. package/{chunk-AXYH4734.js → chunk-S25VJYXV.js} +21 -15
  130. package/{chunk-MWHOH4RJ.js → chunk-SESKIWB4.js} +6 -6
  131. package/{chunk-GUVXQSFZ.js → chunk-SF4GMDZO.js} +18 -108
  132. package/{chunk-TINJKQSO.js → chunk-SQRKAYQW.js} +25 -25
  133. package/chunk-SR4FE5VD.js +9 -0
  134. package/{chunk-3HTP4WZQ.js → chunk-SX6AWTNK.js} +46 -8
  135. package/{chunk-4WVJLODK.js → chunk-T23G6PXQ.js} +8 -3
  136. package/{chunk-CLCXHIBS.js → chunk-T4QY3HZ5.js} +1 -1
  137. package/{chunk-HVUDBOQG.js → chunk-TB5KTLNB.js} +9 -6
  138. package/{chunk-KRRE4A7D.js → chunk-TKE4OJ4B.js} +280 -56
  139. package/{chunk-S2NTVGA2.js → chunk-U35UUM5K.js} +2 -1
  140. package/{chunk-PPJYZRSQ.js → chunk-U5LOKQ2R.js} +30 -14
  141. package/{chunk-CKT6QUE2.js → chunk-UHW6SCVK.js} +1 -1
  142. package/{chunk-T5N6NHAT.js → chunk-UPOW5HTG.js} +6 -6
  143. package/{chunk-WJP4TH6U.js → chunk-VEVLLBFK.js} +2 -2
  144. package/{chunk-HGDKT2D6.js → chunk-VTHWBTRE.js} +177 -1
  145. package/{chunk-KJAAPGBE.js → chunk-VUHKG4KS.js} +6 -6
  146. package/{chunk-TOKPHZ55.js → chunk-W3HSD32M.js} +17 -10
  147. package/{chunk-2SKTCNWO.js → chunk-W5OJBZLZ.js} +4 -4
  148. package/chunk-WBSJAIZP.js +170 -0
  149. package/chunk-WDWZPASX.js +29 -0
  150. package/chunk-WFGNWWJI.js +326 -0
  151. package/{chunk-FIYSMXHY.js → chunk-WWTSEBDF.js} +1 -1
  152. package/{chunk-E2BESSAW.js → chunk-X4O7FJF5.js} +2 -0
  153. package/{chunk-HYKGIXNO.js → chunk-XGWRH3OF.js} +114 -29
  154. package/{chunk-XIEYGCN6.js → chunk-XKV53E4E.js} +460 -117
  155. package/{chunk-JHF6VLVL.js → chunk-XYRTC2Y3.js} +155 -170
  156. package/{chunk-L5I543VB.js → chunk-YGDYYFRX.js} +20 -24
  157. package/{chunk-ZADGPNTV.js → chunk-YHWMKGOX.js} +77 -103
  158. package/{chunk-6OVNSQHN.js → chunk-YLAHYLDQ.js} +5 -0
  159. package/chunk-Z6YTCDU4.js +24 -0
  160. package/{chunk-PVAWNHP5.js → chunk-ZP26NIZE.js} +647 -387
  161. package/{chunk-2G3YSVO6.js → chunk-ZQ6K57FJ.js} +3 -3
  162. package/{cliAgentConfigHelpers-QVSQYTKC.js → cliAgentConfigHelpers-37ZNEY5Y.js} +16 -16
  163. package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-SFPC3WVK.js} +1 -1
  164. package/{cliEnvHelpers-D6HMC46Z.js → cliEnvHelpers-CNMP3RDX.js} +2 -2
  165. package/{cliExecutor-4MAX3PZL.js → cliExecutor-K6FDZTQ2.js} +3 -1
  166. package/cliLocalAgentRecordReader-53773JID.js +102 -0
  167. package/{commandRegistry-TKR6OWXP.js → commandRegistry-RJUO2VOD.js} +113 -101
  168. package/{contentThunks-BQWRPCTM.js → contentThunks-4EFHLUTB.js} +44 -41
  169. package/{cooldownCommands-FZYQOWI5.js → cooldownCommands-QL6DWGVU.js} +3 -3
  170. package/{createAgentAutomationAction-GFI6SJZV.js → createAgentAutomationAction-ZFFGJ7CZ.js} +44 -41
  171. package/{createDialogAction-MMBIHFFU.js → createDialogAction-SDUGVTPS.js} +45 -43
  172. package/{createPageAction-EEYUE5FB.js → createPageAction-NNM3OFLY.js} +49 -46
  173. package/{db-CS4ZJQKV.js → db-6NRZLEW2.js} +10 -7
  174. package/{dbSlice-X4Z4E4QU.js → dbSlice-5MQ3ELID.js} +16 -15
  175. package/{deleteFile-QOOP2UK7.js → deleteFile-VCCHS72Y.js} +12 -9
  176. package/{dialogCommands-OXBQ73DD.js → dialogCommands-SJK5KWXU.js} +73 -66
  177. package/dialogMessageRecord-OAV77LT7.js +7 -0
  178. package/{dialogNotifyCommand-VWS5G4OO.js → dialogNotifyCommand-PST75COP.js} +19 -19
  179. package/{dialogSlice-KGYIABDY.js → dialogSlice-2KLMHECR.js} +44 -41
  180. package/{dialogUsageCommand-FEWCN7IA.js → dialogUsageCommand-BZPKR3DW.js} +8 -8
  181. package/{docCreateCommands-LS32VKY3.js → docCreateCommands-K7CDL2HY.js} +66 -57
  182. package/{docDeleteCommands-JTYR5RPH.js → docDeleteCommands-ZEY5YCSP.js} +69 -60
  183. package/{docReadCommands-E5LTVKWN.js → docReadCommands-A4ROLIQG.js} +66 -57
  184. package/{docStore-TVS2FNER.js → docStore-A4O6YJAM.js} +19 -18
  185. package/{docUpdateCommands-I3J3JDZ2.js → docUpdateCommands-6HTFQY4O.js} +66 -57
  186. package/{fetchMessages-Q3INLN5F.js → fetchMessages-TQEUZD7H.js} +3 -3
  187. package/{getPricing-VNGFM4PN.js → getPricing-FCHYVRJU.js} +6 -6
  188. package/{handleSendMessageAction-SSON36TJ.js → handleSendMessageAction-6WEFYBUC.js} +87 -82
  189. package/{hostCredentialCreate-WTW4THJF.js → hostCredentialCreate-WOWCNOYM.js} +136 -123
  190. package/index.js +54 -16
  191. package/keys-RWF7UCB4.js +1 -1
  192. package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
  193. package/{localDialogRead-V36DX2Q2.js → localDialogRead-3T2KMCRC.js} +2 -2
  194. package/{localRuntimeAdapter-MI2JGXSF.js → localRuntimeAdapter-7EDBDRYW.js} +147 -133
  195. package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-7DKIT7UH.js} +4 -2
  196. package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-5WZ4RJJO.js} +1 -1
  197. package/{machineCommands-3LROJZDK.js → machineCommands-XRPC67LL.js} +290 -354
  198. package/machineWsRunDispatch-SOGFW472.js +203 -0
  199. package/markdownToSlate-KIYM7B3P.js +8 -0
  200. package/mcpLocalAuthorizeCommand-VOJARP3M.js +106 -0
  201. package/{memberThunks-CFEPHAND.js → memberThunks-KC3WJGL3.js} +26 -21
  202. package/{memoryCommands-JQMEJO7J.js → memoryCommands-BC6REPQB.js} +6 -6
  203. package/{models-H5NNZRLH.js → models-EP7VG6N2.js} +2 -2
  204. package/{overlay-THLKYIWY.js → overlay-JA3SPVUS.js} +7 -3
  205. package/package.json +1 -1
  206. package/{projectArchive-3X54XFVN.js → projectArchive-GDVPIZX2.js} +50 -47
  207. package/{providerPresetApply-FO36N5TX.js → providerPresetApply-4H7YP5D7.js} +9 -9
  208. package/{providerRegistry-U2BSFE6K.js → providerRegistry-F3UPOTIY.js} +9 -9
  209. package/{read-KA3L2V7O.js → read-T7VU2IMO.js} +11 -10
  210. package/{readDocTool-AMAZAPAW.js → readDocTool-BPQ3QJSD.js} +1 -1
  211. package/{readlineWorkspace-Z3YUH4SX.js → readlineWorkspace-OWQIIUGH.js} +9406 -6791
  212. package/rememberExplicit-CPAPONSI.js +15 -0
  213. package/{removeDialogAgentAction-JQOJSUM7.js → removeDialogAgentAction-FEUUVMYC.js} +23 -22
  214. package/{runAgentClientLoop-4FCFLMDJ.js → runAgentClientLoop-SJREK2B7.js} +107 -86
  215. package/{runtimeDoctorCommands-CXOCVDPU.js → runtimeDoctorCommands-XQD4MN4I.js} +19 -19
  216. package/{secretCommands-GGUAWAE7.js → secretCommands-LH7QTJO2.js} +3 -3
  217. package/{setDialogExtraReferencesAction-YXQTGXIN.js → setDialogExtraReferencesAction-JSTQJPXL.js} +19 -18
  218. package/{setPrimaryDialogAgentAction-YNLB66WE.js → setPrimaryDialogAgentAction-Z2BQE3IY.js} +23 -22
  219. package/{settingThunks-E6N7RSSS.js → settingThunks-C2YWCNYI.js} +186 -67
  220. package/{skillDiscovery-B5V23AXP.js → skillDiscovery-MDDKPTW3.js} +4 -3
  221. package/{spaceCommands-DB5DKC2J.js → spaceCommands-YRBQ52PG.js} +71 -62
  222. package/{store-JRVN62NM.js → store-Z53ICFL3.js} +3 -1
  223. package/{streamAgentChatTurn-FCBGMD4D.js → streamAgentChatTurn-NCA4BKDZ.js} +244 -185
  224. package/{switchDialogAgentAction-LAHLUECU.js → switchDialogAgentAction-G7XVAOGH.js} +20 -19
  225. package/{tableCommands-VNSXHAMG.js → tableCommands-UHEA5QNL.js} +14 -11
  226. package/{toolApiClient-OGQEBQVX.js → toolApiClient-N5PYW2R3.js} +8 -6
  227. package/{tools-6JD36D6K.js → tools-6WQVUGKV.js} +74 -70
  228. package/tuiRestart-3J7LRMPR.js +41 -0
  229. package/{tuiSummaryLlmCaller-UHZIPGAX.js → tuiSummaryLlmCaller-2J6NG53N.js} +24 -23
  230. package/{updateCommands-KZ54HCU5.js → updateCommands-5OYND6EF.js} +8 -6
  231. package/{updateDialogTitleAction-RV3EUEN3.js → updateDialogTitleAction-QCSN3RYO.js} +46 -43
  232. package/{usageCommand-KFVV6UL3.js → usageCommand-SK7JTEPC.js} +3 -3
  233. package/{usageRebuildCommand-HHFSNK46.js → usageRebuildCommand-DF3HUP6F.js} +4 -4
  234. package/webapi-QVV65DQF.js +2487 -0
  235. package/{windowsSelfUpdate-KERHIAB4.js → windowsSelfUpdate-HIYNL3VR.js} +2 -2
  236. package/workContext-Y3ADAPZU.js +14 -0
  237. package/workContextAccess-UZHDLBUR.js +11 -0
  238. package/workContextWriteNotice-YCSSMHN4.js +7 -0
  239. package/{workloadLifecycle-O2I3NZ2Q.js → workloadLifecycle-ZCSQCHG3.js} +9 -9
  240. package/agentListCommands-C65UESYM.js +0 -1004
  241. package/agentRecordCommands-6RCJS2EY.js +0 -176
  242. package/agentRunCommand-P3GRKXKS.js +0 -208
  243. package/chunk-2WZXXAQD.js +0 -57
  244. package/chunk-5ZMIIR23.js +0 -265
  245. package/chunk-62HXNQVV.js +0 -134
  246. package/chunk-BJF2MHJ3.js +0 -118
  247. package/chunk-KEPOVMF4.js +0 -91
  248. package/chunk-PXKF5CV4.js +0 -357
  249. package/chunk-WACI5I6V.js +0 -147
  250. package/chunk-YGILMZ7N.js +0 -81
  251. package/cliLocalAgentRecordReader-SPKAJYME.js +0 -90
  252. package/machineWsRunDispatch-BUUJRUUB.js +0 -191
  253. package/{accountResolver-EK2S4PWF.js → accountResolver-QETKNC7T.js} +4 -4
  254. package/{chunk-VXL2FZTP.js → chunk-HXER7YJF.js} +3 -3
  255. package/{chunk-BLVSFYQ3.js → chunk-LISC7BD4.js} +3 -3
  256. package/{chunk-SSGTV4FC.js → chunk-USGHJSGO.js} +5 -5
  257. package/{chunk-FJ23FZXF.js → chunk-VIYVRPMJ.js} +0 -0
  258. package/{offlineMarxistsAgentCommand-AGA2X5E4.js → offlineMarxistsAgentCommand-XVXUE6G5.js} +5 -5
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-62HXNQVV.js DELETED
@@ -1,134 +0,0 @@
1
- import {
2
- cloudflareModels,
3
- gmiModels,
4
- openrouterModels,
5
- platformHostedModels,
6
- zaiModels
7
- } from "./chunk-OBSEKCVK.js";
8
-
9
- // packages/ai/llm/modelAbility.ts
10
- var MODEL_ABILITY_TABLE = {
11
- // AA 变体:claude-opus-5(AA 名「Claude Opus 5 (Max)」)
12
- "claude-opus-5": { passAt1: 74, benchmarkScore: 61, writingScore: 82, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/anthropic", intelligenceIndex: 51, outputSpeedTps: 57, firstAnswerTokenS: 57.42, costPerTaskUsd: 5.86 }, aaEvals: { "aa-analyst-agent": 53.8, "aa-briefcase-v1.1": 1662, "aa-omniscience": 60.9, "automationbench-aa": 56.6, "critpt": 29.1, "enterprise-ops-gym-aa": 47.5, "gdp-pdf": 21.6, "gdpval-aa-v2.1": 1724, "harvey-lab-aa": 93.5, "humanitys-last-exam": 54.9, "mlcr-aa": 55.6, "mmmu-pro": 84.7, "scicode": 56.4, "terminal-bench-4.0": 49 } },
13
- // AA 变体:claude-opus-5-5(AA 名「Claude Opus 5.5 (Max, Default Fallback)」)
14
- "claude-opus-5-5": { aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/anthropic", intelligenceIndex: 58, costPerTaskUsd: 5.98 }, aaEvals: { "aa-briefcase-v1.1": 1807, "aa-lcr-v1.1": 84.7, "aa-omniscience": 66.2, "aa-omniscience-non-hallucination": 41.4, "automationbench-aa": 69.5, "critpt": 31.7, "gdp-pdf": 26.2, "gdpval-aa-v2.1": 1866, "harvey-lab-aa": 91.2, "humanitys-last-exam": 61.4, "mlcr-aa": 66.7, "mmmu-pro": 87.7, "scicode": 66.9, "terminal-bench-4.0": 59.6 } },
15
- // AA 变体:gpt-6-astra(AA 名「GPT-6 Astra (Max)」)
16
- "gpt-6-astra": { passAt1: 85, benchmarkScore: 90, writingScore: 92, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/openai", intelligenceIndex: 53, outputSpeedTps: 63.3, firstAnswerTokenS: 309.32, costPerTaskUsd: 3.26 }, aaEvals: { "aa-analyst-agent": 51.2, "aa-briefcase-v1.1": 1569, "aa-omniscience": 62.6, "aa-omniscience-non-hallucination": 48.7, "automationbench-aa": 68.5, "critpt": 31.7, "gdp-pdf": 31, "gdpval-aa-v2.1": 1542, "humanitys-last-exam": 54.7, "mlcr-aa": 35, "mmmu-pro": 86.9, "scicode": 56.5, "terminal-bench-4.0": 59.1 } },
17
- // AA 变体:claude-opus-4-6-adaptive(AA 名「Claude Opus 4.6 (Max)」;base slug claude-opus-4-6 是「Claude Opus 4.6 (Non-reasoning, High)」,不是本行来源)
18
- "claude-opus-4-6": { passAt1: 65, benchmarkScore: 68, writingScore: 78, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/anthropic", intelligenceIndex: 32, outputSpeedTps: 42.4, firstAnswerTokenS: 22.88 } },
19
- // AA 变体:gpt-5-6-sol(AA 名「GPT-5.6 Sol (Max)」)
20
- "gpt-5.6-sol": { passAt1: 73, benchmarkScore: 59, writingScore: 80, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/openai", intelligenceIndex: 47, outputSpeedTps: 96.6, firstAnswerTokenS: 99.99, costPerTaskUsd: 1.99 }, aaEvals: { "aa-analyst-agent": 47.5, "aa-briefcase-v1.1": 1478, "aa-lcr-v1.1": 84, "aa-omniscience": 59.4, "automationbench-aa": 60.1, "critpt": 32.3, "enterprise-ops-gym-aa": 42.9, "gdp-pdf": 27.2, "gdpval-aa-v2.1": 1611, "harvey-lab-aa": 87.2, "humanitys-last-exam": 49.5, "ifbench": 72.7, "itbench-aa": 56.2, "mlcr-aa": 26.1, "mmmu-pro": 83.4, "scicode": 57.1, "terminal-bench-4.0": 39.9 } },
21
- // AA 变体:claude-fable-5(AA 名「Claude Fable 5 (Max, Opus 4.8 Fallback)」)
22
- "claude-fable-5": { passAt1: 70, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/anthropic", intelligenceIndex: 50, outputSpeedTps: 65.4, firstAnswerTokenS: 95.81, costPerTaskUsd: 8.75 }, aaEvals: { "aa-analyst-agent": 48.8, "aa-omniscience": 65.3, "enterprise-ops-gym-aa": 51.1, "harvey-lab-aa": 93.6, "humanitys-last-exam": 55.5, "mlcr-aa": 64.4, "scicode": 61 } },
23
- // AA 变体:gpt-5-6-terra(AA 名「GPT-5.6 Terra (Max)」)
24
- "gpt-5.6-terra": { passAt1: 70, benchmarkScore: 55, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/openai", intelligenceIndex: 42, outputSpeedTps: 131.7, firstAnswerTokenS: 118.27, costPerTaskUsd: 1.4 }, aaEvals: { "apex-agents-aa": 38.9, "itbench-aa": 51 } },
25
- // AA 变体:kimi-k3(AA 名「Kimi K3 (Max)」)
26
- "kimi-k3": { passAt1: 69, benchmarkScore: 57, writingScore: 81, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/kimi", intelligenceIndex: 44, outputSpeedTps: 44.8, firstAnswerTokenS: 3.92, costPerTaskUsd: 2 }, aaEvals: { "aa-analyst-agent": 38.8, "aa-briefcase-v1.1": 1501, "aa-lcr-v1.1": 88.7, "aa-omniscience": 47.6, "aa-omniscience-non-hallucination": 46.8, "apex-agents-aa": 41.3, "automationbench-aa": 58.3, "critpt": 23.4, "enterprise-ops-gym-aa": 45.3, "gdp-pdf": 22, "gdpval-aa-v2.1": 1537, "harvey-lab-aa": 94.6, "humanitys-last-exam": 46.9, "itbench-aa": 47.7, "mlcr-aa": 38.3, "mmmu-pro": 80.5, "scicode": 59.5 } },
27
- // AA 变体:gpt-5-5(AA 名「GPT-5.5 (Xhigh)」)
28
- "gpt-5.5": { passAt1: 67, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/openai", intelligenceIndex: 38, outputSpeedTps: 104.2, firstAnswerTokenS: 43.82, costPerTaskUsd: 2.63 }, aaEvals: { "aa-analyst-agent": 50, "aa-lcr-v1.1": 84.3, "apex-agents-aa": 37.7, "itbench-aa": 45.8 } },
29
- // AA 变体:gpt-5-6-luna(AA 名「GPT-5.6 Luna (Max)」)
30
- "gpt-5.6-luna": { passAt1: 67, benchmarkScore: 51, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/openai", intelligenceIndex: 37, outputSpeedTps: 127.9, firstAnswerTokenS: 105.35, costPerTaskUsd: 0.18 }, aaEvals: { "aa-lcr-v1.1": 83.7, "aa-omniscience": 42.7, "apex-agents-aa": 35.8, "critpt": 20.6, "enterprise-ops-gym-aa": 40.8, "gdp-pdf": 24, "harvey-lab-aa": 87.9, "itbench-aa": 40.3, "mlcr-aa": 19.4, "mmmu-pro": 78.6 } },
31
- // AA 变体:gpt-6-luna(AA 名「GPT-6 Luna (Max)」)
32
- "gpt-6-luna": { aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/openai", intelligenceIndex: 38, outputSpeedTps: 135, firstAnswerTokenS: 88.39, costPerTaskUsd: 0.07 }, aaEvals: { "aa-lcr-v1.1": 83.3, "aa-omniscience": 43.8, "critpt": 19.4, "gdp-pdf": 22.8, "mmmu-pro": 79.7, "scicode": 54.6 } },
33
- // AA 变体:grok-4-6(AA 名「Grok 4.6 (High)」)
34
- "grok-4.6": { passAt1: 67, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/xai", intelligenceIndex: 44, outputSpeedTps: 78, firstAnswerTokenS: 27.45, costPerTaskUsd: 1.48 }, aaEvals: { "aa-analyst-agent": 41.2, "aa-briefcase-v1.1": 1536, "aa-omniscience": 48.2, "aa-omniscience-non-hallucination": 65.7, "automationbench-aa": 66.7, "enterprise-ops-gym-aa": 48.3, "gdp-pdf": 17, "gdpval-aa-v2.1": 1622, "humanitys-last-exam": 42.9, "scicode": 56.5, "terminal-bench-4.0": 21.2 } },
35
- // AA 变体:deepseek-v4-pro(AA 名「DeepSeek V4 Pro 0813 (Max)」)
36
- "deepseek-v4-pro": { passAt1: 63, writingScore: 79, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/models/deepseek-v4-pro", intelligenceIndex: 36, outputSpeedTps: 99.1, firstAnswerTokenS: 1.66, costPerTaskUsd: 0.67 }, aaEvals: { "enterprise-ops-gym-aa": 49.6 } },
37
- // AA 变体:qwen3-8-max(AA 名「Qwen3.8 Max (0902)」)
38
- "qwen3.8-max": { passAt1: 57, writingScore: 77, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/models/qwen3-8-max", intelligenceIndex: 45, outputSpeedTps: 37.9, costPerTaskUsd: 5.41 }, aaEvals: { "aa-briefcase-v1.1": 1621, "aa-omniscience-non-hallucination": 71.2, "gdp-pdf": 22.8, "gdpval-aa-v2.1": 1671, "humanitys-last-exam": 43.1, "mlcr-aa": 20, "mmmu-pro": 82.8, "terminal-bench-4.0": 38.9 } },
39
- // AA 变体:muse-spark-1-3(AA 名「Muse Spark 1.3 (Max)」)
40
- "muse-spark-1.3": { aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/meta", intelligenceIndex: 48, outputSpeedTps: 187.8, firstAnswerTokenS: 46.36, costPerTaskUsd: 1.6 }, aaEvals: { "aa-briefcase-v1.1": 1583, "aa-lcr-v1.1": 83, "aa-omniscience": 43.6, "aa-omniscience-non-hallucination": 67.1, "automationbench-aa": 57.9, "critpt": 24.9, "gdp-pdf": 26.6, "gdpval-aa-v2.1": 1684, "humanitys-last-exam": 48.7, "mlcr-aa": 43.3, "scicode": 58.8, "terminal-bench-4.0": 33.3 } },
41
- // AA 变体:muse-spark-1-2(AA 名「Muse Spark 1.2 (Xhigh)」)
42
- "muse-spark-1.2": { passAt1: 55, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/meta", intelligenceIndex: 40, outputSpeedTps: 303.4, firstAnswerTokenS: 15.42, costPerTaskUsd: 0.97 } },
43
- // AA 变体:grok-4-5(AA 名「Grok 4.5 (High)」)
44
- "grok-4.5": { passAt1: 54, benchmarkScore: 54, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/xai", intelligenceIndex: 39, outputSpeedTps: 66.6, firstAnswerTokenS: 17.49, costPerTaskUsd: 0.88 } },
45
- // AA 变体:claude-sonnet-5(AA 名「Claude Sonnet 5 (Max)」)
46
- "claude-sonnet-5": { passAt1: 54, benchmarkScore: 53, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/anthropic", intelligenceIndex: 38, outputSpeedTps: 86, firstAnswerTokenS: 214.13, costPerTaskUsd: 5.09 }, aaEvals: { "aa-analyst-agent": 46.2, "mlcr-aa": 55 } },
47
- "deepseek-flash": { passAt1: 53 },
48
- // AA 变体:deepseek-v4-flash(AA 名「DeepSeek V4 Flash 0731 (Max)」)
49
- "deepseek-v4-flash": { passAt1: 53, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/models/deepseek-v4-flash", intelligenceIndex: 34, outputSpeedTps: 225.6, firstAnswerTokenS: 0.89, costPerTaskUsd: 0.22 } },
50
- // AA 变体:gemini-3-7-flash-medium(AA 名「Gemini 3.7 Flash (Medium)」;base slug gemini-3-7-flash 是「Gemini 3.7 Flash (High)」,不是本行来源)
51
- "gemini-3.7-flash": { passAt1: 58, benchmarkScore: 65, writingScore: 88, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/google", intelligenceIndex: 40, outputSpeedTps: 285.3, firstAnswerTokenS: 5.75 }, aaEvals: { "enterprise-ops-gym-aa": 50.4, "scicode": 59.8 } },
52
- // TODO(benchmark): gemini-3.8-flash 官方基准快照未出,暂沿用 3.7 分数占位,确认后更新。
53
- // AA 变体:gemini-3-8-flash(AA 名「Gemini 3.8 Flash (High)」)
54
- "gemini-3.8-flash": { passAt1: 58, benchmarkScore: 65, writingScore: 88, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/google", intelligenceIndex: 41, outputSpeedTps: 241.9, firstAnswerTokenS: 19.72, costPerTaskUsd: 1.24 }, aaEvals: { "aa-lcr-v1.1": 81.3, "aa-omniscience": 54.6, "aa-omniscience-non-hallucination": 44.8, "automationbench-aa": 59.9, "critpt": 18.3, "gdp-pdf": 21, "humanitys-last-exam": 47.8, "mlcr-aa": 21.7, "mmmu-pro": 85.6, "scicode": 56.6 } },
55
- // AA 变体:muse-spark-1-1(AA 名「Muse Spark 1.1 (Xhigh)」)
56
- "muse-spark-1.1": { passAt1: 53, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/meta", intelligenceIndex: 34, costPerTaskUsd: 1.38 } },
57
- // AA 变体:gpt-5-4(AA 名「GPT-5.4 (Xhigh)」)
58
- "gpt-5.4": { passAt1: 52, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/openai", intelligenceIndex: 39, outputSpeedTps: 106.9, firstAnswerTokenS: 150.48 }, aaEvals: { "apex-agents-aa": 33.3 } },
59
- // AA 变体:gemini-3-6-flash(AA 名「Gemini 3.6 Flash (High)」)
60
- "gemini-3.6-flash": { passAt1: 49, benchmarkScore: 50, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/google", intelligenceIndex: 34, outputSpeedTps: 196.6, firstAnswerTokenS: 14.85, costPerTaskUsd: 1.6 } },
61
- // AA 变体:glm-5-3(AA 名「GLM-5.3 (Max)」)
62
- "glm-5.3": { passAt1: 52, benchmarkScore: 60, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/models/glm-5-3", intelligenceIndex: 45, outputSpeedTps: 73.3, costPerTaskUsd: 2.01 }, aaEvals: { "aa-briefcase-v1.1": 1510, "aa-omniscience-non-hallucination": 70.4, "automationbench-aa": 62.2, "critpt": 19.1, "enterprise-ops-gym-aa": 36.4, "gdpval-aa-v2.1": 1653, "humanitys-last-exam": 42.3, "mlcr-aa": 48.3, "scicode": 59, "terminal-bench-4.0": 41.9 } },
63
- // AA 变体:glm-5-2(AA 名「GLM-5.2 (Max)」)
64
- "glm-5.2": { passAt1: 44, benchmarkScore: 51, aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/models/glm-5-2", intelligenceIndex: 34, outputSpeedTps: 95.1, costPerTaskUsd: 1.47 }, aaEvals: { "apex-agents-aa": 33.7, "itbench-aa": 42.7 } },
65
- // ── StepFun(阶跃星辰)─ 仅有 AA 快照,无 pass@1 等旧字段。
66
- // 来源:https://artificialanalysis.ai/providers/stepfun 对比表。
67
- // 其中 3.5-flash-2603 已被 AA 标记 deprecated(官方推荐 3.7-flash)。
68
- // AA 变体:step-5(AA 名「Step 5 Preview」;AA 的 slug 不带 preview)
69
- "step-5-preview": { aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/stepfun", intelligenceIndex: 44, outputSpeedTps: 87.3, firstAnswerTokenS: 2.83, costPerTaskUsd: 0.72 }, aaEvals: { "aa-briefcase-v1.1": 1424, "aa-lcr-v1.1": 88.3, "aa-omniscience-non-hallucination": 57, "critpt": 20.9, "gdpval-aa-v2.1": 1587, "humanitys-last-exam": 46.5, "mmmu-pro": 76.4, "scicode": 58.9, "terminal-bench-4.0": 33.3 } },
70
- // AA 变体:step-3-7-flash(AA 名「Step 3.7 Flash」)
71
- "step-3.7-flash": { aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/stepfun", intelligenceIndex: 19, outputSpeedTps: 169.4, firstAnswerTokenS: 2.58 } },
72
- // AA 变体:step-3-5-flash(AA 名「Step 3.5 Flash 2603」;AA 把 2603 版放在不带日期的 slug 上)
73
- "step-3.5-flash-2603": { aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/stepfun", intelligenceIndex: 17, outputSpeedTps: 135.6, firstAnswerTokenS: 3.33 } },
74
- // AA 变体:step-3-5-flash-0202(AA 名「Step 3.5 Flash」;base slug step-3-5-flash 是「Step 3.5 Flash 2603」,不是本行来源)
75
- "step-3.5-flash": { aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/stepfun", intelligenceIndex: 17, outputSpeedTps: 134.8, firstAnswerTokenS: 3.41 } },
76
- // ── Xiaomi MiMo ── 本表收录 Pro 档(V2.6-Pro / V2.5-Pro);
77
- // mimo-v2.6-pro-ultraspeed AA 仍未收录(缺失即缺失)。AA 现有 MiMo-V2.6-Flash
78
- // 但本表未为它建条目——需要时按同一来源补行。
79
- // AA 变体:mimo-v2-6-pro(AA 名「MiMo-V2.6-Pro」)
80
- "mimo-v2.6-pro": { aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/xiaomi", intelligenceIndex: 46, outputSpeedTps: 46.6, firstAnswerTokenS: 5.52, costPerTaskUsd: 0.13 }, aaEvals: { "aa-briefcase-v1.1": 1516, "aa-lcr-v1.1": 86.3, "aa-omniscience-non-hallucination": 59.4, "automationbench-aa": 58.6, "critpt": 26.6, "gdp-pdf": 19.2, "gdpval-aa-v2.1": 1686, "humanitys-last-exam": 49.4, "scicode": 60.9, "terminal-bench-4.0": 34.8 } },
81
- // AA 变体:mimo-v2-5-pro(AA 名「MiMo-V2.5-Pro (Reasoning)」)
82
- "mimo-v2.5-pro": { aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/xiaomi", intelligenceIndex: 26, outputSpeedTps: 41.6, firstAnswerTokenS: 2.32, costPerTaskUsd: 0.05 } },
83
- // Mistral 家族(2026-10-07 首读;AA 当日没有 "Vibe" 档,vibe 条目因此不填)。
84
- // 三个型号的数值来源:Mistral Large 4 Preview 取自其模型页(该页与 provider 表同值:
85
- // AA 变体:mistral-large-4(AA 名「Mistral Large 4 Preview」;AA 的 slug 不带 preview(数值取自其模型页))
86
- "mistral-large-4-preview": { aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/models/mistral-large-4", intelligenceIndex: 38, outputSpeedTps: 116.1, firstAnswerTokenS: 1.46, costPerTaskUsd: 1.13 }, aaEvals: { "aa-briefcase-v1.1": 1393, "aa-lcr-v1.1": 81.3, "aa-omniscience": 25.8, "aa-omniscience-non-hallucination": 58.1, "automationbench-aa": 59.9, "critpt": 10.6, "gdp-pdf": 18.6, "gdpval-aa-v2.1": 1424, "humanitys-last-exam": 35, "mmmu-pro": 76.4, "scicode": 54.2, "terminal-bench-4.0": 26.8 } },
87
- // AA 变体:mistral-large-3(AA 名「Mistral Large 3」)
88
- "mistral-large-3": { aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/mistral", intelligenceIndex: 9, outputSpeedTps: 81.1, firstAnswerTokenS: 1.02, costPerTaskUsd: 0.03 }, aaEvals: { "aa-briefcase-v1.1": 224, "aa-lcr-v1.1": 36, "aa-omniscience": 24.9, "aa-omniscience-non-hallucination": 14, "automationbench-aa": 1.5, "critpt": 0, "gdp-pdf": 1.2, "gdpval-aa-v2.1": 423, "humanitys-last-exam": 4.2, "ifbench": 36.2, "mmmu-pro": 55.7, "scicode": 36.6, "terminal-bench-4.0": 0 } },
89
- // AA 变体:mistral-medium-3-5(AA 名「Mistral Medium 3.5」)
90
- "mistral-medium-3.5": { aaSnapshot: { measuredAt: "2026-10-07", sourceUrl: "https://artificialanalysis.ai/providers/mistral", intelligenceIndex: 14, outputSpeedTps: 168.1, firstAnswerTokenS: 2.33, costPerTaskUsd: 0.5 }, aaEvals: { "aa-analyst-agent": 12.5, "aa-briefcase-v1.1": 523, "aa-lcr-v1.1": 69.3, "aa-omniscience": 24.7, "aa-omniscience-non-hallucination": 18.4, "automationbench-aa": 6.3, "critpt": 0, "enterprise-ops-gym-aa": 33.7, "gdp-pdf": 2.8, "gdpval-aa-v2.1": 763, "harvey-lab-aa": 69.1, "humanitys-last-exam": 13.8, "ifbench": 68.8, "mlcr-aa": 1.7, "mmmu-pro": 64.9, "scicode": 40.2, "terminal-bench-4.0": 0 } }
91
- };
92
- var EFFORT_SUFFIXES = [
93
- "-extra-low",
94
- "-low",
95
- "-medium",
96
- "-high",
97
- "-thinking",
98
- "-tiered",
99
- ":cloud"
100
- ];
101
- function normalizeModelName(raw) {
102
- let name = raw.trim().toLowerCase();
103
- const slash = name.indexOf("/");
104
- if (slash !== -1) name = name.slice(slash + 1);
105
- for (const suffix of EFFORT_SUFFIXES) {
106
- if (name.endsWith(suffix) && name.length > suffix.length) {
107
- name = name.slice(0, name.length - suffix.length);
108
- break;
109
- }
110
- }
111
- return name;
112
- }
113
- function getModelAbility(modelName) {
114
- const entry = MODEL_ABILITY_TABLE[normalizeModelName(modelName)];
115
- return entry ? { ...entry } : void 0;
116
- }
117
-
118
- // packages/ai/llm/models.ts
119
- var withProvider = (provider) => (models) => models.map((model) => ({ ...model, provider }));
120
- var ALL_MODELS = [
121
- ...withProvider("nolo")(platformHostedModels),
122
- ...withProvider("openrouter")(openrouterModels),
123
- ...withProvider("cloudflare")(cloudflareModels),
124
- ...withProvider("gmi")(gmiModels),
125
- ...withProvider("zai")(zaiModels)
126
- ].map((model) => {
127
- const ability = getModelAbility(model.name);
128
- return ability ? { ...model, ability } : model;
129
- });
130
-
131
- export {
132
- getModelAbility,
133
- ALL_MODELS
134
- };
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
- };