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
@@ -0,0 +1,166 @@
1
+ // packages/agent-runtime/mcpConnectionSpecs.ts
2
+ var MCP_TOOL_NAMES = Object.freeze(["listMcpConnections", "listMcpTools", "callMcpTool"]);
3
+ var MCP_PRESET_SPECS = Object.freeze([
4
+ Object.freeze({
5
+ id: "zoho-mail",
6
+ title: "Zoho Mail MCP",
7
+ summary: "\u63A5\u5165 Zoho \u5B98\u65B9\u4E3A\u4F60\u8D26\u53F7\u751F\u6210\u7684\u4E13\u5C5E MCP HTTPS \u670D\u52A1\u5730\u5740\uFF0C\u5728\u53D7\u63A7\u5DE5\u5177\u767D\u540D\u5355\u4E0E\u786E\u8BA4\u95E8\u4E0B\u8BFB\u53D6\u6216\u68C0\u7D22\u90AE\u4EF6\u3002",
8
+ defaultAuthKind: "none",
9
+ endpointPlaceholder: "https://mail.zoho.com/mcp/...",
10
+ note: "Zoho \u751F\u6210\u7684\u4E13\u5C5E Server URL \u5185\u542B\u8BBF\u95EE\u5BC6\u94A5\uFF0C\u4FDD\u5B58\u65F6\u5C06\u76F4\u63A5\u52A0\u5BC6\u5B58\u5165\u53D7\u63A7\u5BC6\u6587\u5E93\uFF0C\u4E0D\u4F1A\u4EE5\u660E\u6587\u56DE\u663E\u3002"
11
+ }),
12
+ Object.freeze({
13
+ id: "home-assistant",
14
+ title: "Home Assistant MCP",
15
+ summary: "\u63A5\u5165\u516C\u7F51 HTTPS \u53EF\u8FBE\u7684 Home Assistant \u5B98\u65B9 MCP Server\uFF08\u5982 /api/mcp\uFF09\uFF0C\u7ECF\u6BCF\u6B21\u8C03\u7528\u786E\u8BA4\u540E\u67E5\u770B\u6216\u63A7\u5236\u5B9E\u4F53\u3002",
16
+ defaultAuthKind: "bearer",
17
+ endpointPlaceholder: "https://ha.example.com/api/mcp",
18
+ note: "\u670D\u52A1\u7AEF\u8FDE\u63A5\u4EC5\u8BBF\u95EE\u516C\u7F51 HTTPS\uFF08\u81EA\u52A8\u62E6\u622A\u5185\u7F51/\u79C1\u7F51\u5730\u5740\uFF09\uFF0C\u9700\u63D0\u4F9B\u957F\u671F\u8BBF\u95EE\u4EE4\u724C\uFF08Bearer Token\uFF09\u3002"
19
+ })
20
+ ]);
21
+ var failure = (code) => ({ ok: false, error: { code } });
22
+ function sameMcpPlacement(a, b) {
23
+ return a.kind === b.kind && (a.kind !== "machine" || b.kind === "machine" && a.machineId === b.machineId);
24
+ }
25
+ function freezeSchema(value) {
26
+ for (const child of Object.values(value)) if (child && typeof child === "object") freezeSchema(child);
27
+ return Object.freeze(value);
28
+ }
29
+ var text = (maxLength) => ({ type: "string", minLength: 1, maxLength, pattern: "^[^\\u0000-\\u001f\\u007f]+$" });
30
+ var idSchema = { ...text(128), pattern: "^[A-Za-z0-9][A-Za-z0-9_.:-]{0,127}$" };
31
+ var refSchema = { ...text(128), pattern: "^[A-Za-z0-9][A-Za-z0-9_:-]{0,127}$" };
32
+ var revisionSchema = { type: "integer", minimum: 1, maximum: Number.MAX_SAFE_INTEGER };
33
+ var objectSchema = (properties, required = Object.keys(properties)) => ({ type: "object", properties, required, additionalProperties: false });
34
+ var placements = {
35
+ oneOf: [
36
+ { type: "object", required: ["kind"], properties: { kind: { const: "local" } }, additionalProperties: false },
37
+ { type: "object", required: ["kind"], properties: { kind: { const: "server" } }, additionalProperties: false },
38
+ { type: "object", required: ["kind", "machineId"], properties: { kind: { const: "machine" }, machineId: idSchema }, additionalProperties: false }
39
+ ]
40
+ };
41
+ var MCP_CONNECTION_WRITE_SCHEMA = {
42
+ type: "object",
43
+ required: ["schemaVersion", "label", "enabled", "placement", "transport", "auth", "allowedToolNames", "readPolicies"],
44
+ properties: {
45
+ schemaVersion: { const: 1 },
46
+ label: { type: "string", minLength: 1, maxLength: 160, pattern: "^[^:/\\\\\\r\\n]+$" },
47
+ enabled: { type: "boolean" },
48
+ presetId: { enum: ["zoho-mail", "home-assistant"] },
49
+ placement: placements,
50
+ allowedToolNames: { type: "array", maxItems: 256, items: text(160) },
51
+ readPolicies: { type: "array", maxItems: 256, items: { type: "object", required: ["toolName", "arguments"], properties: { toolName: text(160), arguments: { type: "object", maxProperties: 128, additionalProperties: { type: "array", maxItems: 256 } } }, additionalProperties: false } },
52
+ transport: { type: "object", required: ["kind", "endpointRef"], properties: { kind: { const: "streamable-http" }, endpointRef: refSchema }, additionalProperties: false },
53
+ auth: { oneOf: [{ type: "object", required: ["kind"], properties: { kind: { const: "oauth" } }, additionalProperties: false }, { type: "object", required: ["kind"], properties: { kind: { const: "none" } }, additionalProperties: false }, { type: "object", required: ["kind", "credentialRef"], properties: { kind: { const: "bearer" }, credentialRef: refSchema }, additionalProperties: false }] }
54
+ },
55
+ additionalProperties: false
56
+ };
57
+ var MCP_CONNECTION_UPDATE_SCHEMA = freezeSchema(objectSchema({
58
+ connectionId: idSchema,
59
+ expectedRevision: revisionSchema,
60
+ connection: MCP_CONNECTION_WRITE_SCHEMA
61
+ }));
62
+ var MCP_LIST_TOOLS_INPUT_SCHEMA = freezeSchema(objectSchema({
63
+ connectionId: idSchema,
64
+ expectedRevision: revisionSchema,
65
+ cursor: text(2048)
66
+ }, ["connectionId", "expectedRevision"]));
67
+ var MCP_CALL_TOOL_INPUT_SCHEMA = freezeSchema(objectSchema({
68
+ connectionId: idSchema,
69
+ expectedRevision: revisionSchema,
70
+ catalogRevision: idSchema,
71
+ toolName: text(256),
72
+ arguments: { type: "object", additionalProperties: {} }
73
+ }));
74
+ function isRecord(value) {
75
+ if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
76
+ return Object.getPrototypeOf(value) === Object.prototype || Object.getPrototypeOf(value) === null;
77
+ }
78
+ function matches(schema, value) {
79
+ if (schema.oneOf && schema.oneOf.filter((branch) => matches(branch, value)).length !== 1) return false;
80
+ if (schema.const !== void 0 && value !== schema.const) return false;
81
+ if (schema.enum && (typeof value !== "string" || !schema.enum.includes(value))) return false;
82
+ switch (schema.type) {
83
+ case "string":
84
+ return typeof value === "string" && value.length >= (schema.minLength ?? 0) && value.length <= (schema.maxLength ?? Infinity) && (!schema.pattern || new RegExp(schema.pattern, "u").test(value));
85
+ case "integer":
86
+ return typeof value === "number" && Number.isSafeInteger(value) && value >= (schema.minimum ?? -Infinity) && value <= (schema.maximum ?? Infinity);
87
+ case "boolean":
88
+ return typeof value === "boolean";
89
+ case "array":
90
+ return Array.isArray(value) && value.length <= (schema.maxItems ?? Infinity) && value.every((item) => !schema.items || matches(schema.items, item));
91
+ case "object": {
92
+ if (!isRecord(value) || Object.keys(value).length > (schema.maxProperties ?? Infinity)) return false;
93
+ if (schema.required?.some((key) => !Object.hasOwn(value, key))) return false;
94
+ return Object.entries(value).every(([key, entry]) => {
95
+ if (schema.propertyNames && !matches(schema.propertyNames, key)) return false;
96
+ const property = schema.properties && Object.hasOwn(schema.properties, key) ? schema.properties[key] : schema.additionalProperties;
97
+ return property === void 0 || property === false ? property !== false : matches(property, entry);
98
+ });
99
+ }
100
+ default:
101
+ return true;
102
+ }
103
+ }
104
+ function isBoundedJson(value, depth = 0, budget = { nodes: 0, chars: 0 }) {
105
+ if (++budget.nodes > 1e4 || depth > 32) return false;
106
+ if (typeof value === "string") return (budget.chars += value.length) <= 262144;
107
+ if (value === null || typeof value === "boolean") return true;
108
+ if (typeof value === "number") return Number.isFinite(value);
109
+ if (!Array.isArray(value) && !isRecord(value)) return false;
110
+ return Object.entries(Object.getOwnPropertyDescriptors(value)).every(([key, descriptor]) => {
111
+ if (Array.isArray(value) && key === "length") return true;
112
+ if (["__proto__", "prototype", "constructor"].includes(key) || !Object.hasOwn(descriptor, "value")) return false;
113
+ budget.chars += key.length;
114
+ return budget.chars <= 262144 && isBoundedJson(descriptor.value, depth + 1, budget);
115
+ });
116
+ }
117
+ function parse(schema, value) {
118
+ if (!isBoundedJson(value) || !matches(schema, value)) return failure("invalid_input");
119
+ return { ok: true, value: JSON.parse(JSON.stringify(value)) };
120
+ }
121
+ function parseMcpConnectionWrite(value) {
122
+ const parsed = parse(MCP_CONNECTION_WRITE_SCHEMA, value);
123
+ if (!parsed.ok) {
124
+ if (isRecord(value) && Object.getOwnPropertyDescriptor(value, "schemaVersion")?.value !== void 0 && Object.getOwnPropertyDescriptor(value, "schemaVersion")?.value !== 1) return failure("unsupported_version");
125
+ return parsed;
126
+ }
127
+ const connection = parsed.value;
128
+ if (new Set(connection.allowedToolNames).size !== connection.allowedToolNames.length || new Set(connection.readPolicies.map((p) => p.toolName)).size !== connection.readPolicies.length || connection.readPolicies.some((p) => !connection.allowedToolNames.includes(p.toolName))) return failure("invalid_input");
129
+ return parsed;
130
+ }
131
+ function parseMcpListToolsInput(value) {
132
+ return parse(MCP_LIST_TOOLS_INPUT_SCHEMA, value);
133
+ }
134
+ function parseMcpCallToolInput(value) {
135
+ return parse(MCP_CALL_TOOL_INPUT_SCHEMA, value);
136
+ }
137
+ var MCP_LIST_CONNECTIONS_INPUT_SCHEMA = freezeSchema(objectSchema({}, []));
138
+ function toMcpConnectionSummary(connection) {
139
+ return {
140
+ schemaVersion: 1,
141
+ id: connection.id,
142
+ label: connection.label,
143
+ enabled: connection.enabled,
144
+ revision: connection.revision,
145
+ ...connection.presetId ? { presetId: connection.presetId } : {},
146
+ allowedToolNames: [...connection.allowedToolNames],
147
+ readPolicies: structuredClone(connection.readPolicies),
148
+ placement: connection.placement.kind === "machine" ? { kind: "machine", machineId: connection.placement.machineId } : { kind: connection.placement.kind },
149
+ transportKind: connection.transport.kind,
150
+ authKind: connection.auth.kind,
151
+ endpointConfigured: true,
152
+ credentialConfigured: connection.auth.kind === "bearer"
153
+ };
154
+ }
155
+
156
+ export {
157
+ MCP_TOOL_NAMES,
158
+ sameMcpPlacement,
159
+ MCP_LIST_TOOLS_INPUT_SCHEMA,
160
+ MCP_CALL_TOOL_INPUT_SCHEMA,
161
+ parseMcpConnectionWrite,
162
+ parseMcpListToolsInput,
163
+ parseMcpCallToolInput,
164
+ MCP_LIST_CONNECTIONS_INPUT_SCHEMA,
165
+ toMcpConnectionSummary
166
+ };
@@ -0,0 +1,34 @@
1
+ import {
2
+ resolveModelReasoningCapability
3
+ } from "./chunk-CD2DK5JA.js";
4
+
5
+ // packages/ai/agent/defaultReasoningEffort.ts
6
+ var defaults = {
7
+ "gpt-6.2-sol": "medium",
8
+ "gpt-6.2-astra": "high",
9
+ "gpt-6.1-sol": "medium",
10
+ "gpt-6.1-terra": "medium",
11
+ "gpt-6-luna": "medium",
12
+ "gpt-6-astra": "high",
13
+ "claude-opus-5-5": "medium",
14
+ "claude-sonnet-5-5": "high",
15
+ "deepseek-flash": "high",
16
+ "deepseek-v4-flash": "high",
17
+ "deepseek-v4.1-flash": "high"
18
+ };
19
+ var deepseekChannels = /* @__PURE__ */ new Set(["opendesign", "ollama-cloud", "lithosai"]);
20
+ var providers = /* @__PURE__ */ new Set(["nolo", "openai", "openrouter", "anthropic", "deepseek", "commandcode", "opencode-go", "stepfun"]);
21
+ function resolveDefaultReasoningEffort(input) {
22
+ const provider = (input.provider ?? "").toLowerCase();
23
+ const model = (input.model ?? "").toLowerCase().split("/").pop() ?? "";
24
+ const isDeepseekFlash = ["deepseek-flash", "deepseek-v4-flash", "deepseek-v4.1-flash"].includes(model);
25
+ const effort = providers.has(provider) || deepseekChannels.has(provider) && isDeepseekFlash ? defaults[model] : void 0;
26
+ if (!effort) return input.fallback;
27
+ if (provider === "nolo" && model.startsWith("claude-") && input.model?.startsWith("anthropic/")) return effort;
28
+ if (provider === "anthropic" && model.startsWith("claude-")) return effort;
29
+ return resolveModelReasoningCapability(provider, input.model).efforts.includes(effort) ? effort : input.fallback;
30
+ }
31
+
32
+ export {
33
+ resolveDefaultReasoningEffort
34
+ };
@@ -8,11 +8,13 @@ import {
8
8
  noloUploadRequest,
9
9
  noloWriteRequest,
10
10
  syncWithServers
11
- } from "./chunk-7Z6EW7AH.js";
11
+ } from "./chunk-QOURTDZL.js";
12
12
  import {
13
13
  getAllServers,
14
- getIsDesktopApp
15
- } from "./chunk-AGP3YSEC.js";
14
+ getIsDesktopApp,
15
+ googleSessionServer,
16
+ scopeGoogleSessionServers
17
+ } from "./chunk-5PASH2MB.js";
16
18
  import {
17
19
  selectIdentityToken,
18
20
  selectIdentityUser,
@@ -22,27 +24,27 @@ import {
22
24
  isTombstoneRecord
23
25
  } from "./chunk-BV3FLP2L.js";
24
26
  import {
25
- isRecord
26
- } from "./chunk-KUG52IAP.js";
27
+ asOptionalPositiveFiniteNumber
28
+ } from "./chunk-U6VC4MU4.js";
27
29
  import {
28
30
  SERVERS,
29
31
  normalizeKnownServerOrigin
30
32
  } from "./chunk-LCBAMY2M.js";
31
- import {
32
- isLocalServerUrl
33
- } from "./chunk-4SN6J65J.js";
34
- import {
35
- normalizeServerOrigin
36
- } from "./chunk-CF7PE763.js";
37
33
  import {
38
34
  asTrimmedString
39
35
  } from "./chunk-3EUW3WEO.js";
40
36
  import {
41
- asOptionalPositiveFiniteNumber
42
- } from "./chunk-U6VC4MU4.js";
37
+ isRecord
38
+ } from "./chunk-KUG52IAP.js";
43
39
  import {
44
40
  asOptionalTrimmedString
45
41
  } from "./chunk-G3SUCT4W.js";
42
+ import {
43
+ isLocalServerUrl
44
+ } from "./chunk-4SN6J65J.js";
45
+ import {
46
+ normalizeServerOrigin
47
+ } from "./chunk-CF7PE763.js";
46
48
 
47
49
  // packages/app/stateViews/runtime.ts
48
50
  var selectCurrentToken = (state) => {
@@ -88,8 +90,8 @@ var selectRuntimeSnapshot = createSelector(
88
90
  (currentToken, currentUserId, currentServer, syncServers, localRuntimeOrigin) => ({
89
91
  currentToken,
90
92
  currentUserId,
91
- currentServer,
92
- syncServers,
93
+ currentServer: googleSessionServer(currentToken, currentServer) ?? currentServer,
94
+ syncServers: googleSessionServer(currentToken, currentServer) === void 0 ? syncServers : [],
93
95
  localRuntimeOrigin
94
96
  })
95
97
  );
@@ -99,7 +101,7 @@ var selectRuntimeCurrentServer = createSelector(
99
101
  );
100
102
  var selectRuntimeRemoteServers = createSelector(
101
103
  [selectRuntimeSnapshot],
102
- (runtime) => getAllServers(runtime.currentServer, runtime.syncServers)
104
+ (runtime) => scopeGoogleSessionServers(runtime.currentToken, runtime.currentServer, getAllServers(runtime.currentServer, runtime.syncServers))
103
105
  );
104
106
 
105
107
  // packages/database/runtimeServerContext.ts
@@ -116,11 +118,11 @@ var getRuntimeServerContext = (state, preferredServerOrigin) => {
116
118
  currentServer,
117
119
  syncServers,
118
120
  userAuthorityRegistry: resolveRuntimeUserAuthorityRegistry(state),
119
- remoteServers: getAllServers(
121
+ remoteServers: scopeGoogleSessionServers(currentToken, currentServer, getAllServers(
120
122
  currentServer,
121
123
  syncServers,
122
124
  preferredServerOrigin
123
- )
125
+ ))
124
126
  };
125
127
  };
126
128
  var resolveRuntimeUserAuthorityRegistry = (state) => {
@@ -173,6 +175,18 @@ var resolveCandidateOwnerFromKeyRemainder = (remainder, candidateOwnerUserIds) =
173
175
  }
174
176
  return null;
175
177
  };
178
+ var isMalformedAgentAutomationKey = (dbKey) => {
179
+ const normalized = cleanSegment(dbKey);
180
+ if (!normalized) return false;
181
+ if (normalized !== "agent-automation" && !normalized.startsWith("agent-automation-")) {
182
+ return false;
183
+ }
184
+ const parts = normalized.split("-");
185
+ if (parts[2] === "owner" && parts[3] === "idx") {
186
+ return parts.length < 5 || !cleanSegment(parts[4]) || !cleanSegment(parts[parts.length - 1]);
187
+ }
188
+ return parts.length < 4 || !cleanSegment(parts[2]) || !cleanSegment(parts[parts.length - 1]);
189
+ };
176
190
  var parseOwnerUserIdFromDbKey = (dbKey, options = {}) => {
177
191
  const normalized = cleanSegment(dbKey);
178
192
  if (!normalized) return null;
@@ -187,6 +201,29 @@ var parseOwnerUserIdFromDbKey = (dbKey, options = {}) => {
187
201
  }
188
202
  return null;
189
203
  }
204
+ if (prefix === "agent" && parts[1] === "automation") {
205
+ if (isMalformedAgentAutomationKey(normalized)) return null;
206
+ if (parts[2] === "owner" && parts[3] === "idx") {
207
+ const ownerAndRest3 = parts.slice(4).join("-");
208
+ const candidateOwner3 = resolveCandidateOwnerFromKeyRemainder(
209
+ ownerAndRest3,
210
+ options.candidateOwnerUserIds
211
+ );
212
+ if (candidateOwner3) return candidateOwner3;
213
+ const ownerUserId3 = cleanSegment(parts[4]);
214
+ if (!ownerUserId3 || PUBLIC_OWNER_SENTINELS.has(ownerUserId3)) return null;
215
+ return ownerUserId3;
216
+ }
217
+ const ownerAndRest2 = parts.slice(2).join("-");
218
+ const candidateOwner2 = resolveCandidateOwnerFromKeyRemainder(
219
+ ownerAndRest2,
220
+ options.candidateOwnerUserIds
221
+ );
222
+ if (candidateOwner2) return candidateOwner2;
223
+ const ownerUserId2 = cleanSegment(parts[2]);
224
+ if (!ownerUserId2 || PUBLIC_OWNER_SENTINELS.has(ownerUserId2)) return null;
225
+ return ownerUserId2;
226
+ }
190
227
  if (prefix === "dialog") {
191
228
  const messageSeparator = normalized.lastIndexOf("-msg-");
192
229
  if (messageSeparator !== -1) {
@@ -585,11 +622,11 @@ var resolveAuthorityReplicationServers = ({
585
622
  if (isDeviceLocalOwnerId(authority.ownerUserId) || isDeviceLocalOwnerId(record?.userId) || isDeviceLocalDbKey(dbKey)) {
586
623
  return [];
587
624
  }
588
- return planAuthorityReadServers({
625
+ return scopeGoogleSessionServers(selectIdentityToken(state), currentServer, planAuthorityReadServers({
589
626
  allServers,
590
627
  authorityServer: preferredServerOrigin ?? authority.authorityServer,
591
628
  serverOrigin: authority.serverOrigin
592
- });
629
+ }));
593
630
  };
594
631
  var scheduleWriteReplication = (servers, request, state) => {
595
632
  if (servers.length === 0) return null;
@@ -680,17 +717,17 @@ var resolveUploadReplicationServers = ({
680
717
  userAuthorityRegistry: state?.settings?.userAuthorityRegistry ?? selectIdentityUser(state)?.authorityRegistry
681
718
  });
682
719
  if (authority.ownerUserId || authority.authorityServer) {
683
- return planAuthorityReadServers({
720
+ return scopeGoogleSessionServers(selectIdentityToken(state), currentServer, planAuthorityReadServers({
684
721
  allServers,
685
722
  authorityServer: authority.authorityServer,
686
723
  serverOrigin: authority.serverOrigin
687
- });
724
+ }));
688
725
  }
689
- return resolveTenantReplicationServers({
726
+ return scopeGoogleSessionServers(selectIdentityToken(state), currentServer, resolveTenantReplicationServers({
690
727
  currentServer,
691
728
  syncServers,
692
729
  tenantId
693
- });
730
+ }));
694
731
  };
695
732
  var scheduleExistingRecordReplication = ({
696
733
  currentServer,
@@ -1,15 +1,20 @@
1
1
  import {
2
2
  refreshSubscriptionQuotas
3
- } from "./chunk-YGILMZ7N.js";
3
+ } from "./chunk-P27E22MA.js";
4
4
  import {
5
5
  getReadableCliDb
6
- } from "./chunk-YFLVRVYK.js";
6
+ } from "./chunk-DLT2DN4M.js";
7
7
  import {
8
8
  clearCliLocalRuntimePreparedAgentCache
9
- } from "./chunk-FKEZOMIF.js";
9
+ } from "./chunk-7DXFOL5B.js";
10
10
  import {
11
11
  readCredentialAvailability
12
- } from "./chunk-FIYSMXHY.js";
12
+ } from "./chunk-WWTSEBDF.js";
13
+ import {
14
+ BIGMODEL_PROVIDER_TARGET,
15
+ buildCredentialUseGrant,
16
+ verifyCredentialUseGrant
17
+ } from "./chunk-XFYFMTOM.js";
13
18
  import {
14
19
  buildCreatedAgentRecord,
15
20
  buildUpdatedAgentRecord,
@@ -20,22 +25,17 @@ import {
20
25
  resolveAgentRecordFromHybridStore,
21
26
  sanitizeAgentRecordForCliOutput,
22
27
  writeAgentRecord
23
- } from "./chunk-5LQDHFBN.js";
24
- import {
25
- BIGMODEL_PROVIDER_TARGET,
26
- buildCredentialUseGrant,
27
- verifyCredentialUseGrant
28
- } from "./chunk-XFYFMTOM.js";
28
+ } from "./chunk-IDFGIROZ.js";
29
29
  import {
30
30
  resolveCliAgentKeyInput
31
31
  } from "./chunk-BR3GT6MR.js";
32
- import {
33
- toErrorMessage
34
- } from "./chunk-HNMXYYJR.js";
35
32
  import {
36
33
  parseUserIdFromAuthToken,
37
34
  resolveAuthToken
38
- } from "./chunk-WACI5I6V.js";
35
+ } from "./chunk-BIDSIRTS.js";
36
+ import {
37
+ toErrorMessage
38
+ } from "./chunk-HNMXYYJR.js";
39
39
 
40
40
  // packages/cli/agentRecordCommands.ts
41
41
  async function runAgentReadCommand(args, deps = {}) {
@@ -256,7 +256,7 @@ async function runAgentCreateCommand(args, deps = {}) {
256
256
  let verifyResult;
257
257
  if (parsed.verify) {
258
258
  try {
259
- const { verifyCustomProvider } = await import("./agentProviderCommands-7QBFRFRK.js");
259
+ const { verifyCustomProvider } = await import("./agentProviderCommands-C5T7C5KZ.js");
260
260
  const rec = built.nextRecord;
261
261
  const verifyCredentialRef = typeof rec.credentialRef === "string" && rec.credentialRef.trim() ? rec.credentialRef.trim() : "";
262
262
  if (verifyCredentialRef) {
@@ -1,13 +1,16 @@
1
- import {
2
- loadMemoryVNextCatalog
3
- } from "./chunk-XI2BWJM5.js";
4
1
  import {
5
2
  recallMemoryVNextLocal
6
3
  } from "./chunk-4D4QD7FT.js";
7
4
  import {
8
5
  DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET,
9
6
  buildMemoryOverlay
10
- } from "./chunk-EUCFKKDM.js";
7
+ } from "./chunk-PVFYPUIM.js";
8
+ import {
9
+ isWorkContextState
10
+ } from "./chunk-C5A54QS7.js";
11
+ import {
12
+ loadMemoryVNextCatalog
13
+ } from "./chunk-324FWHUA.js";
11
14
  import {
12
15
  createMemoryKey
13
16
  } from "./chunk-SYTHYBMI.js";
@@ -56,7 +59,7 @@ var buildSynthesizedStateItem = (state, entity, ownerType, ownerId) => ({
56
59
  async function resolvePureVNextRuntime(input) {
57
60
  const { db, owners, userInput } = input;
58
61
  if (owners.length === 0 || !userInput.trim()) {
59
- return { selectedItems: [], promptBlock: null, recalledStateCount: 0 };
62
+ return { selectedItems: [], promptBlock: buildMemoryOverlay([], { injectionEmit: input.injectionEmit }), recalledStateCount: 0 };
60
63
  }
61
64
  const ownerIds = owners.map((o) => `${o.ownerType}:${encodeURIComponent(o.ownerId)}`);
62
65
  const catalogs = await Promise.all(
@@ -67,7 +70,9 @@ async function resolvePureVNextRuntime(input) {
67
70
  for (let i = 0; i < owners.length; i++) {
68
71
  const owner = owners[i];
69
72
  const catalog = catalogs[i];
70
- const currentStates = catalog.states.filter((s) => !s.retiredAt && s.text.trim());
73
+ const currentStates = catalog.states.filter(
74
+ (s) => !s.retiredAt && s.text.trim() && !isWorkContextState(s)
75
+ );
71
76
  const hits = recallMemoryVNextLocal({
72
77
  query: userInput,
73
78
  entities: catalog.entities,
@@ -83,7 +88,9 @@ async function resolvePureVNextRuntime(input) {
83
88
  );
84
89
  }
85
90
  }
86
- const promptBlock = selectedItems.length === 0 ? null : buildMemoryOverlay(selectedItems, {
91
+ const promptBlock = buildMemoryOverlay(selectedItems, {
92
+ sources: new Map(selectedItems.map((item) => [item, "vnext"])),
93
+ injectionEmit: input.injectionEmit,
87
94
  maxTokens: input.maxTokens ?? DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET
88
95
  });
89
96
  return {