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,15 +1,9 @@
1
- import {
2
- chooseMemoryOwners,
3
- loadMemoryCandidatesFromDb
4
- } from "./chunk-BJF2MHJ3.js";
5
1
  import {
6
2
  addContentToSpace
7
- } from "./chunk-JHRQXQ4A.js";
3
+ } from "./chunk-6XLWUNZB.js";
8
4
  import {
9
- prepareAndPersistMessage,
10
- uiAskChoiceFunc,
11
- uiAskChoiceFunctionSchema
12
- } from "./chunk-W772FYAQ.js";
5
+ prepareAndPersistMessage
6
+ } from "./chunk-ODGSLWLO.js";
13
7
  import {
14
8
  require_format
15
9
  } from "./chunk-BUDVRYES.js";
@@ -22,29 +16,34 @@ import {
22
16
  removeCachedEntity,
23
17
  upsertSSREntity,
24
18
  write
25
- } from "./chunk-AVHRSJUH.js";
19
+ } from "./chunk-6MQWGA5F.js";
26
20
  import {
27
21
  isDevelopment
28
- } from "./chunk-AGP3YSEC.js";
22
+ } from "./chunk-BH7CEVOH.js";
29
23
  import {
30
24
  selectIdentityUserId
31
25
  } from "./chunk-PXYBUFDB.js";
32
26
  import {
33
- extractCustomId
34
- } from "./chunk-M2EJHDJP.js";
27
+ createMemoryKey,
28
+ memoryOwnerRange,
29
+ memorySubjectKindRange
30
+ } from "./chunk-SYTHYBMI.js";
35
31
  import {
36
32
  createDialogKey,
37
33
  dialogMessageRange
38
34
  } from "./chunk-OJKUU3LP.js";
35
+ import {
36
+ extractCustomId
37
+ } from "./chunk-M2EJHDJP.js";
38
+ import {
39
+ asOptionalPositiveFiniteNumber
40
+ } from "./chunk-U6VC4MU4.js";
39
41
  import {
40
42
  asTrimmedString
41
43
  } from "./chunk-3EUW3WEO.js";
42
44
  import {
43
45
  isRecord
44
46
  } from "./chunk-KUG52IAP.js";
45
- import {
46
- asOptionalPositiveFiniteNumber
47
- } from "./chunk-U6VC4MU4.js";
48
47
  import {
49
48
  asOptionalTrimmedString
50
49
  } from "./chunk-G3SUCT4W.js";
@@ -56,6 +55,226 @@ import {
56
55
  var import_format = __toESM(require_format());
57
56
  var import_formatISO = __toESM(require_formatISO());
58
57
 
58
+ // packages/ai/tools/uiAskChoiceTool.ts
59
+ var uiAskChoiceFunctionSchema = {
60
+ name: "ask_user",
61
+ description: "\u8BA9\u7528\u6237\u5728\u4E00\u7EC4\u9009\u9879\u4E4B\u95F4\u505A\u9009\u62E9\uFF08\u5355\u9009\u6216\u591A\u9009\uFF09\u7684\u901A\u7528\u201C\u51FA\u9009\u9879\u201D\u5DE5\u5177\uFF08\u9700\u6C42\u6A21\u7CCA\u3001\u5206\u652F\u51B3\u7B56\u3001\u95EE\u5377\u7B49\uFF09\u3002\u672C\u5DE5\u5177\u7528\u4E8E\u7EAF\u63D0\u95EE\u3001\u7B49\u5F85\u7528\u6237\u56DE\u7B54\u7684\u573A\u666F\uFF08blocking:false \u65F6\u4E0D\u6682\u505C\u7B49\u5F85\uFF09\uFF1B\u82E5\u9700\u8981\u540C\u65F6\u5C55\u793A\u7ED3\u6784\u5316\u5BF9\u6BD4/\u6307\u6807\u5E76\u8BA9\u7528\u6237\u5728\u540C\u4E00\u5757\u91CC\u9009\u62E9\uFF0C\u8D70 show_interaction\u3002\u8C03\u7528\u524D\u987B\u5148\u5728\u666E\u901A\u56DE\u590D\u6587\u672C\u91CC\u89E3\u91CA\u80CC\u666F\u4E0E\u6743\u8861\uFF08\u5148\u89E3\u91CA\uFF0C\u518D\u8C03\u7528\uFF09\u3002\u591A\u95EE\u9898\u4F20 questions\uFF0C\u5355\u95EE\u9898\u4F20 question+choices\u3002\u754C\u9762\u9ED8\u8BA4\u63D0\u4F9B\u201C\u5176\u4ED6\u201D\u81EA\u7531\u8F93\u5165\u884C\uFF08\u53EF\u7528 allowOther:false \u5173\u95ED\uFF09\uFF0C\u7528\u6237\u8F93\u5165\u7684\u6587\u5B57\u4F1A\u968F\u7B54\u6848\u56DE\u4F20\uFF1B\u4E0D\u8981\u81EA\u5EFA\u201C\u5176\u4ED6/\u81EA\u5DF1\u5199\u201D\u4E4B\u7C7B\u7684\u9009\u9879\u2014\u2014\u70B9\u51FB\u666E\u901A\u9009\u9879\u53EA\u56DE\u4F20\u8BE5\u9009\u9879\u6587\u6848\uFF0C\u7528\u6237\u65E0\u5904\u586B\u5199\u3002",
62
+ parameters: {
63
+ type: "object",
64
+ properties: {
65
+ question: {
66
+ type: "string",
67
+ description: "\u5C55\u793A\u7ED9\u7528\u6237\u7684\u95EE\u9898\u6587\u6848\uFF08\u5355\u95EE\u9898\u6A21\u5F0F\uFF09\u3002\u4E0E questions \u4E8C\u9009\u4E00\u3002"
68
+ },
69
+ choices: {
70
+ type: "array",
71
+ description: "\u5907\u9009\u9879\u5217\u8868\uFF0C\u6E32\u67D3\u4E3A\u6309\u94AE\u4F9B\u7528\u6237\u70B9\u51FB\u3002",
72
+ items: {
73
+ type: "object",
74
+ properties: {
75
+ id: {
76
+ type: "string",
77
+ description: "\u9009\u9879\u6807\u8BC6\u3002"
78
+ },
79
+ label: {
80
+ type: "string",
81
+ description: "\u6309\u94AE\u6587\u5B57\uFF0C\u5982\u201C\u751F\u6210\u672C\u5468\u5468\u62A5\u201D\u3002"
82
+ },
83
+ detail: {
84
+ type: "string",
85
+ description: "\u7B80\u77ED\u8865\u5145\uFF08\u5EFA\u8BAE\u4E00\u53E5\u8BDD\uFF09\uFF0C\u957F\u89E3\u91CA\u5199\u8FDB\u8C03\u7528\u524D\u7684\u56DE\u590D\u6587\u672C\u3002"
86
+ },
87
+ userMessage: {
88
+ type: "string",
89
+ description: "\u70B9\u51FB\u540E\u4F5C\u4E3A\u4E0B\u4E00\u6761 user \u6D88\u606F\u53D1\u9001\u7684\u6587\u6848\uFF08\u7559\u7A7A\u9ED8\u8BA4\u7528 label\uFF09\u3002"
90
+ }
91
+ },
92
+ required: ["id", "label"]
93
+ }
94
+ },
95
+ questions: {
96
+ type: "array",
97
+ description: "\u591A\u95EE\u9898\u6A21\u5F0F\uFF08\u591A tab \u6E32\u67D3\uFF0C\u4E0E question+choices \u4E8C\u9009\u4E00\uFF09\u3002",
98
+ items: {
99
+ type: "object",
100
+ properties: {
101
+ id: {
102
+ type: "string",
103
+ description: "\u95EE\u9898\u6807\u8BC6\u3002"
104
+ },
105
+ header: {
106
+ type: "string",
107
+ description: "\u591A\u95EE\u9898 tab \u680F\u663E\u793A\u7684\u77ED\u6807\u7B7E\uFF08\u226412 \u5B57\u7B26\uFF0C\u5982\u201C\u683C\u5F0F/\u8BED\u8A00/\u8303\u56F4\u201D\uFF09\uFF0C\u7F3A\u7701\u7528 Qn\u3002"
108
+ },
109
+ question: {
110
+ type: "string",
111
+ description: "\u95EE\u9898\u6587\u6848\u3002"
112
+ },
113
+ choices: {
114
+ type: "array",
115
+ description: "\u8BE5\u95EE\u9898\u7684\u5907\u9009\u9879\u3002",
116
+ items: {
117
+ type: "object",
118
+ properties: {
119
+ id: { type: "string" },
120
+ label: { type: "string" },
121
+ detail: {
122
+ type: "string",
123
+ description: "\u7B80\u77ED\u8865\u5145\uFF08\u5EFA\u8BAE\u4E00\u53E5\u8BDD\uFF09\uFF0C\u957F\u89E3\u91CA\u5199\u8FDB\u8C03\u7528\u524D\u7684\u56DE\u590D\u6587\u672C\u3002"
124
+ },
125
+ userMessage: { type: "string" }
126
+ },
127
+ required: ["id", "label"]
128
+ }
129
+ },
130
+ multiSelect: {
131
+ type: "boolean",
132
+ description: "\u5141\u8BB8\u591A\u9009\uFF0C\u9ED8\u8BA4 false\u3002"
133
+ },
134
+ allowOther: {
135
+ type: "boolean",
136
+ description: "\u663E\u793A\u201C\u5176\u4ED6\u201D\u81EA\u7531\u8F93\u5165\u884C\uFF0C\u9ED8\u8BA4 true\u3002"
137
+ },
138
+ required: {
139
+ type: "boolean",
140
+ description: "\u662F\u5426\u5FC5\u987B\u56DE\u7B54\u624D\u80FD\u63D0\u4EA4\uFF0C\u9ED8\u8BA4 true\u3002"
141
+ }
142
+ },
143
+ required: ["id", "question", "choices"]
144
+ }
145
+ },
146
+ blocking: {
147
+ type: "boolean",
148
+ description: "\u662F\u5426\u7B49\u5F85\u7528\u6237\u9009\u62E9\u540E\u518D\u7EE7\u7EED\u6D41\u7A0B\uFF0C\u9ED8\u8BA4 true\u3002"
149
+ }
150
+ },
151
+ required: []
152
+ }
153
+ };
154
+ function validateChoiceList(choices, scopeLabel) {
155
+ const seenChoiceIds = /* @__PURE__ */ new Set();
156
+ for (let index = 0; index < choices.length; index += 1) {
157
+ const entry = choices[index];
158
+ if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
159
+ return `${scopeLabel}.choices[${index}] \u5FC5\u987B\u662F\u5BF9\u8C61\u3002`;
160
+ }
161
+ const choice = entry;
162
+ if (typeof choice.label !== "string" || !choice.label.trim()) {
163
+ return `${scopeLabel}.choices[${index}].label \u5FC5\u987B\u662F\u975E\u7A7A\u5B57\u7B26\u4E32\u3002`;
164
+ }
165
+ if (choice.id !== void 0 && typeof choice.id !== "string") {
166
+ return `${scopeLabel}.choices[${index}].id \u5FC5\u987B\u662F\u5B57\u7B26\u4E32\u3002`;
167
+ }
168
+ const choiceId = typeof choice.id === "string" ? choice.id.trim() : "";
169
+ if (choiceId && seenChoiceIds.has(choiceId)) {
170
+ return `${scopeLabel} \u5185\u7684\u9009\u9879 id "${choiceId}" \u91CD\u590D\u3002`;
171
+ }
172
+ if (choiceId) seenChoiceIds.add(choiceId);
173
+ }
174
+ return null;
175
+ }
176
+ function validateAskChoiceInput(raw) {
177
+ if (!raw || typeof raw !== "object" || Array.isArray(raw)) {
178
+ return "ask_user \u9700\u8981\u4E00\u4E2A\u5BF9\u8C61\u53C2\u6570\u3002";
179
+ }
180
+ const args = raw;
181
+ if (args.blocking !== void 0 && typeof args.blocking !== "boolean") {
182
+ return "ask_user \u7684 blocking \u5FC5\u987B\u662F\u5E03\u5C14\u503C\u3002";
183
+ }
184
+ const rawQuestions = args.questions;
185
+ if (rawQuestions !== void 0 && !Array.isArray(rawQuestions)) {
186
+ return "ask_user \u7684 questions \u5FC5\u987B\u662F\u6570\u7EC4\u3002";
187
+ }
188
+ const questions = rawQuestions;
189
+ if (questions && questions.length > 0) {
190
+ const seenQuestionIds = /* @__PURE__ */ new Set();
191
+ for (let index = 0; index < questions.length; index += 1) {
192
+ const entry = questions[index];
193
+ if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
194
+ return `questions[${index}] \u5FC5\u987B\u662F\u5BF9\u8C61\u3002`;
195
+ }
196
+ const question = entry;
197
+ if (question.id !== void 0 && typeof question.id !== "string") {
198
+ return `questions[${index}].id \u5FC5\u987B\u662F\u5B57\u7B26\u4E32\u3002`;
199
+ }
200
+ const questionId = typeof question.id === "string" ? question.id.trim() : "";
201
+ if (questionId && seenQuestionIds.has(questionId)) {
202
+ return `\u95EE\u9898 id "${questionId}" \u91CD\u590D\u3002`;
203
+ }
204
+ if (questionId) seenQuestionIds.add(questionId);
205
+ if (typeof question.question !== "string" || !question.question.trim()) {
206
+ return `questions[${index}].question \u5FC5\u987B\u662F\u975E\u7A7A\u5B57\u7B26\u4E32\u3002`;
207
+ }
208
+ for (const flag of ["multiSelect", "allowOther", "required"]) {
209
+ if (question[flag] !== void 0 && typeof question[flag] !== "boolean") {
210
+ return `questions[${index}].${flag} \u5FC5\u987B\u662F\u5E03\u5C14\u503C\u3002`;
211
+ }
212
+ }
213
+ const choices = question.choices;
214
+ if (!Array.isArray(choices)) {
215
+ return `questions[${index}].choices \u5FC5\u987B\u662F\u6570\u7EC4\u3002`;
216
+ }
217
+ const choiceError = validateChoiceList(choices, `questions[${index}]`);
218
+ if (choiceError) return choiceError;
219
+ if (choices.length === 0 && question.allowOther === false) {
220
+ return `questions[${index}] \u6CA1\u6709\u4EFB\u4F55\u9009\u9879\u4E14 allowOther \u4E3A false\uFF0C\u7528\u6237\u65E0\u6CD5\u4F5C\u7B54\u3002`;
221
+ }
222
+ }
223
+ return null;
224
+ }
225
+ if (typeof args.question !== "string" || !args.question.trim()) {
226
+ return "ask_user \u9700\u8981 question\uFF08\u975E\u7A7A\u5B57\u7B26\u4E32\uFF09\u4E0E choices\u3002";
227
+ }
228
+ if (!Array.isArray(args.choices) || args.choices.length === 0) {
229
+ return "ask_user \u9700\u8981 question\uFF08\u975E\u7A7A\u5B57\u7B26\u4E32\uFF09\u4E0E choices\u3002";
230
+ }
231
+ return validateChoiceList(args.choices, "ask_user");
232
+ }
233
+ async function uiAskChoiceFunc(args, _thunkApi) {
234
+ const invalid = validateAskChoiceInput(args);
235
+ if (invalid) throw new Error(invalid);
236
+ const blocking = args?.blocking !== false;
237
+ if (Array.isArray(args?.questions) && args.questions.length > 0) {
238
+ const firstQ = args.questions[0];
239
+ return {
240
+ rawData: {
241
+ type: "ask_user",
242
+ question: firstQ?.question ?? "",
243
+ choices: firstQ?.choices ?? [],
244
+ blocking,
245
+ questions: args.questions
246
+ },
247
+ displayData: args.questions.map((q) => q.question).join(" / ")
248
+ };
249
+ }
250
+ const question = String(args?.question ?? "").trim();
251
+ const choices = Array.isArray(args?.choices) ? args.choices : [];
252
+ if (!question || choices.length === 0) {
253
+ throw new Error("ask_user \u9700\u8981 question+choices \u6216 questions\u3002");
254
+ }
255
+ return {
256
+ rawData: {
257
+ type: "ask_user",
258
+ question,
259
+ choices,
260
+ blocking
261
+ },
262
+ displayData: question
263
+ };
264
+ }
265
+ function parseUiAskChoiceContent(rawContent) {
266
+ const parsed = typeof rawContent === "string" ? (() => {
267
+ try {
268
+ return JSON.parse(rawContent);
269
+ } catch {
270
+ return null;
271
+ }
272
+ })() : rawContent;
273
+ if (!parsed || typeof parsed !== "object") return null;
274
+ if (parsed.type !== "ask_user") return null;
275
+ return parsed;
276
+ }
277
+
59
278
  // packages/ai/memory/policy.ts
60
279
  function isPublicAgentKey(agentKey) {
61
280
  return typeof agentKey === "string" && /^agent-pub-/i.test(agentKey.trim());
@@ -261,6 +480,113 @@ var mergeGreetingWithRelationshipRecap = (input) => {
261
480
  \u5982\u679C\u4F60\u8FD8\u60F3\u63A5\u7740\u90A3\u4E2A\u70B9\u7EE7\u7EED\uFF0C\u6211\u4EEC\u53EF\u4EE5\u4ECE\u90A3\u91CC\u5F80\u4E0B\u8D70\uFF1B\u5982\u679C\u60F3\u6362\u4E2A\u65B9\u5411\u4E5F\u53EF\u4EE5\u3002`;
262
481
  };
263
482
 
483
+ // packages/ai/memory/queryShared.ts
484
+ var chooseMemoryOwners = (input) => {
485
+ const owners = [];
486
+ if (input.userId) {
487
+ owners.push({ ownerType: "user", ownerId: input.userId });
488
+ }
489
+ if (input.spaceId) {
490
+ owners.push({ ownerType: "space", ownerId: input.spaceId });
491
+ }
492
+ return owners;
493
+ };
494
+ var loadOwnerItemsFromDb = async (db, owner, limit) => {
495
+ const range = memoryOwnerRange(owner.ownerType, owner.ownerId);
496
+ const refs = [];
497
+ for await (const [, value] of db.iterator({
498
+ gte: range.start,
499
+ lte: range.end,
500
+ reverse: true
501
+ })) {
502
+ refs.push(value ?? {});
503
+ if (refs.length >= limit) break;
504
+ }
505
+ const items = await Promise.all(
506
+ refs.map(
507
+ (ref) => typeof ref?.memoryId === "string" ? db.get(createMemoryKey(owner.ownerType, owner.ownerId, ref.memoryId)).catch(() => null) : Promise.resolve(null)
508
+ )
509
+ );
510
+ return items.filter((item) => !!item);
511
+ };
512
+ var loadSubjectKindItemsFromDb = async (db, subject, kind, limit) => {
513
+ const range = memorySubjectKindRange(subject.subjectType, subject.subjectId, kind);
514
+ const refs = [];
515
+ for await (const [, value] of db.iterator({
516
+ gte: range.start,
517
+ lte: range.end,
518
+ reverse: true
519
+ })) {
520
+ refs.push(value ?? {});
521
+ if (refs.length >= limit) break;
522
+ }
523
+ const items = await Promise.all(
524
+ refs.map(
525
+ (ref) => typeof ref?.memoryKey === "string" ? db.get(ref.memoryKey).catch(() => null) : Promise.resolve(null)
526
+ )
527
+ );
528
+ return items.filter((item) => !!item);
529
+ };
530
+ var loadMemoryCandidatesFromDb = async (db, input) => {
531
+ const kinds = input.kinds ?? ["episodic", "semantic", "procedural"];
532
+ const ownerLimit = input.ownerLimit ?? 12;
533
+ const ownerFallback = input.ownerFallback ?? "onSubjectMiss";
534
+ const reserve = Math.max(0, input.corroboratedProceduralReserve ?? 0);
535
+ const ownerKeySet = new Set(
536
+ input.owners.filter((owner) => owner.ownerId).map((owner) => `${owner.ownerType}:${owner.ownerId}`)
537
+ );
538
+ const subjects = input.subjects.filter(
539
+ (subject) => !!subject.subjectId
540
+ );
541
+ const subjectResults = subjects.length > 0 ? await Promise.all(
542
+ subjects.flatMap(
543
+ (subject) => kinds.map(
544
+ (kind) => loadSubjectKindItemsFromDb(db, subject, kind, ownerLimit)
545
+ )
546
+ )
547
+ ) : [];
548
+ const subjectHitCount = subjectResults.reduce((sum, items) => sum + items.length, 0);
549
+ const shouldLoadOwnerFallback = ownerFallback !== "never" && (subjects.length === 0 || subjectHitCount === 0 || ownerFallback === "always");
550
+ const results = shouldLoadOwnerFallback ? await Promise.all(
551
+ [
552
+ ...subjectResults,
553
+ ...input.owners.map((owner) => loadOwnerItemsFromDb(db, owner, ownerLimit))
554
+ ]
555
+ ) : subjectResults;
556
+ if (reserve > 0 && kinds.includes("procedural")) {
557
+ const probeLimit = ownerLimit * 2;
558
+ const reserveResults = await Promise.all(
559
+ subjects.map(
560
+ (subject) => loadSubjectKindItemsFromDb(db, subject, "procedural", probeLimit)
561
+ )
562
+ );
563
+ const corroborated = reserveResults.flat().filter((item) => item && item.recurrenceEvidence).sort((a, b) => b.createdAt.localeCompare(a.createdAt)).slice(0, reserve);
564
+ for (const item of corroborated) {
565
+ results.push([item]);
566
+ }
567
+ }
568
+ const kindSet = new Set(kinds);
569
+ const seen = /* @__PURE__ */ new Set();
570
+ const merged = [];
571
+ for (const items of results) {
572
+ for (const item of items) {
573
+ if (seen.has(item.id)) continue;
574
+ if (!kindSet.has(item.kind)) continue;
575
+ if (ownerKeySet.size > 0 && !ownerKeySet.has(`${item.ownerType}:${item.ownerId}`)) {
576
+ continue;
577
+ }
578
+ if (!shouldLoadOwnerFallback && subjects.length > 0 && !subjects.some(
579
+ (subject) => subject.subjectType === item.subjectType && subject.subjectId === item.subjectId
580
+ )) {
581
+ continue;
582
+ }
583
+ seen.add(item.id);
584
+ merged.push(item);
585
+ }
586
+ }
587
+ return merged;
588
+ };
589
+
264
590
  // packages/ai/memory/understandingGreeting.ts
265
591
  var UNDERSTANDING_TAG = "understanding-memory";
266
592
  var facetPriority = {
@@ -744,8 +1070,15 @@ var createDialogAction = async (args, thunkApi) => {
744
1070
  };
745
1071
 
746
1072
  export {
1073
+ uiAskChoiceFunctionSchema,
1074
+ validateAskChoiceInput,
1075
+ uiAskChoiceFunc,
1076
+ parseUiAskChoiceContent,
747
1077
  resolveAgentMemoryPolicy,
748
1078
  buildMemorySubjectsForAgent,
1079
+ chooseMemoryOwners,
1080
+ loadOwnerItemsFromDb,
1081
+ loadMemoryCandidatesFromDb,
749
1082
  isLocalOwnerDialogAgents,
750
1083
  createDialogAction
751
1084
  };