nolo-cli 0.261.0-alpha.2 → 0.262.0-alpha.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 (229) hide show
  1. package/{_executeModel-PODMRXJJ.js → _executeModel-KWURYHY6.js} +97 -96
  2. package/{accountResolver-NGICIMEE.js → accountResolver-JYG5L7YP.js} +2 -2
  3. package/{action-NJTYNXXR.js → action-UK3HXGXF.js} +9 -9
  4. package/{addContentAction-RUPXLROG.js → addContentAction-CAKFVBDM.js} +14 -14
  5. package/{addDialogAgentAction-57EJ2UBC.js → addDialogAgentAction-KLJ2YWWM.js} +16 -16
  6. package/{agentDeleteCommand-DRFCOTYP.js → agentDeleteCommand-2U5Q7SNW.js} +135 -131
  7. package/{agentEmailCommands-FHENHUBF.js → agentEmailCommands-4AWNMWBA.js} +137 -136
  8. package/{agentGrantCommands-BMVKNYIY.js → agentGrantCommands-2VLLXGIU.js} +10 -9
  9. package/{agentListCommands-W66W5K3V.js → agentListCommands-436FHOIT.js} +68 -68
  10. package/{agentMachineCommands-C3BUBCXU.js → agentMachineCommands-EISFUXWT.js} +65 -65
  11. package/{agentProviderCommands-VIWKP7DM.js → agentProviderCommands-2W3VXDLV.js} +4 -3
  12. package/{agentPullCommand-5SNSXOY7.js → agentPullCommand-XEGOUYQT.js} +9 -8
  13. package/{agentRecordCommands-DYMHWTID.js → agentRecordCommands-HDLFE4ZJ.js} +127 -126
  14. package/{agentRun-QVFG3CI4.js → agentRun-EXDLR6OV.js} +137 -136
  15. package/{agentRunCommand-YV4V5HSL.js → agentRunCommand-5KXVUONI.js} +139 -138
  16. package/{agentRunControl-RGBHKPKJ.js → agentRunControl-U2MV74WR.js} +17 -16
  17. package/{agentRuntimeLocal-LVEMOYS2.js → agentRuntimeLocal-P4MMGIR6.js} +55 -55
  18. package/{agentSlice-OJCM7OUX.js → agentSlice-ATJWWHSU.js} +17 -17
  19. package/{appConfigCommands-ZUXQLE7L.js → appConfigCommands-W4JQHMOJ.js} +61 -61
  20. package/{appDeleteCommands-L5UKUMXY.js → appDeleteCommands-IXR47IAV.js} +61 -61
  21. package/{appDeployCommands-KX2BRQUW.js → appDeployCommands-LB6DHDF4.js} +61 -61
  22. package/{appDeployStatusCommands-7LHRSWW7.js → appDeployStatusCommands-UQ6MJL6D.js} +61 -61
  23. package/{appGetCommands-F7SDFCUK.js → appGetCommands-M5JCTDDQ.js} +61 -61
  24. package/{appListCommands-U4NJKSMZ.js → appListCommands-TE3ZHE3I.js} +61 -61
  25. package/{appMigrateCommands-JAPOLYSW.js → appMigrateCommands-FOXH6R4B.js} +61 -61
  26. package/{appSourceCommands-TLXPWXUH.js → appSourceCommands-3ACYB6I7.js} +61 -61
  27. package/{authCommand-AU3GZBZ2.js → authCommand-I5OBJP5S.js} +20 -19
  28. package/{authCommands-JKBWMUQ4.js → authCommands-I6KCGOCN.js} +13 -12
  29. package/{builtinSkillRegistry-6XUWMAV5.js → builtinSkillRegistry-MIXYSZUU.js} +3 -6
  30. package/{chromeCommands-O4IIKTBD.js → chromeCommands-MVEEIY4R.js} +2 -2
  31. package/{chromeOpsCommands-F47WYQWF.js → chromeOpsCommands-IZRCYDSW.js} +7 -6
  32. package/{chunk-LUTSMSIL.js → chunk-23X7C23G.js} +7 -7
  33. package/{chunk-GF4LYNNZ.js → chunk-24BICQPB.js} +2 -2
  34. package/{chunk-LTCZOOAM.js → chunk-2AJLG6PY.js} +4 -4
  35. package/{chunk-HMFKYZKP.js → chunk-2JMYAH5O.js} +16 -16
  36. package/{chunk-WMBJDXMY.js → chunk-2LFYMWM3.js} +13 -16
  37. package/{chunk-VOO3YQQP.js → chunk-2O72G3U2.js} +1 -1
  38. package/{chunk-2I4R6ZRV.js → chunk-2QAZCYOM.js} +38 -10
  39. package/{chunk-CNYPQYXT.js → chunk-2R6M34JP.js} +75 -75
  40. package/{chunk-ULPU4C43.js → chunk-36RT7KMI.js} +24 -24
  41. package/{chunk-ZB2E724W.js → chunk-37DGW762.js} +4 -4
  42. package/{chunk-3A5NNQCN.js → chunk-3BQDF4QB.js} +46 -12
  43. package/{chunk-RWXHGPWJ.js → chunk-3UH7SS4W.js} +1 -1
  44. package/chunk-3VXVE2LF.js +12 -0
  45. package/{chunk-HAZ6UVH4.js → chunk-47T3QP4V.js} +3 -3
  46. package/{chunk-YRPIUIEQ.js → chunk-4DBTBNTX.js} +3 -6
  47. package/chunk-4MEKE5D3.js +229 -0
  48. package/{chunk-NJCTPWJU.js → chunk-4X6FTGMU.js} +6 -6
  49. package/{chunk-2FGFY72B.js → chunk-4ZM3UL4E.js} +14 -14
  50. package/chunk-526GLZJE.js +275 -0
  51. package/{chunk-TJXO66M2.js → chunk-5MKPNTJP.js} +5 -5
  52. package/{chunk-L43DGEPZ.js → chunk-5YI447UL.js} +1 -1
  53. package/{chunk-U5PSCTMR.js → chunk-6NYQHXMV.js} +13 -13
  54. package/chunk-6R4IY46J.js +14 -0
  55. package/{chunk-A4O76A6V.js → chunk-6VQIFSWL.js} +11 -11
  56. package/{chunk-MMXHIHJZ.js → chunk-7K4J76JQ.js} +20 -20
  57. package/{chunk-NLS7F5DW.js → chunk-7T54GD3I.js} +22 -22
  58. package/{chunk-SU4NCTW4.js → chunk-B767MA64.js} +1 -1
  59. package/{chunk-RNLKWUVY.js → chunk-BAZCS5XG.js} +4 -4
  60. package/{chunk-NTBTVKKB.js → chunk-BWJLEN6X.js} +7 -7
  61. package/{chunk-UB7NV7NN.js → chunk-C36L6ZID.js} +1 -1
  62. package/{chunk-TXMFSGRY.js → chunk-D2LTQAGN.js} +1 -1
  63. package/{chunk-DDKA6V6X.js → chunk-DBJAJ4UD.js} +3 -3
  64. package/{chunk-2MIZHEND.js → chunk-DFI7MVCQ.js} +4 -4
  65. package/{chunk-LHJB4BXJ.js → chunk-E2KZNP6C.js} +1 -1
  66. package/{chunk-IN4B6Z2D.js → chunk-E5JV4DCB.js} +4 -4
  67. package/{chunk-OIOMBPCA.js → chunk-EHFDVQF5.js} +2 -2
  68. package/{chunk-XJW6SLBZ.js → chunk-EZKIRVLJ.js} +6 -6
  69. package/{chunk-ER6NTALN.js → chunk-FGXG6OLW.js} +1 -1
  70. package/{chunk-ERCSHBUD.js → chunk-G2JNJRTO.js} +95 -95
  71. package/{chunk-CL33RFD7.js → chunk-GH34JXNV.js} +1 -1
  72. package/{chunk-WY6DMHMG.js → chunk-GWB6AGME.js} +1 -1
  73. package/{chunk-KALCFXQO.js → chunk-HCXCKCNT.js} +200 -151
  74. package/{chunk-SWJRX4M5.js → chunk-HI5RS2O4.js} +328 -9
  75. package/{chunk-J22PFCQN.js → chunk-HRWRIPTB.js} +7 -7
  76. package/{chunk-VZDSNDUD.js → chunk-HT6MY27X.js} +35 -35
  77. package/{chunk-KAHYBAEN.js → chunk-HYCVEESH.js} +12 -72
  78. package/{chunk-7X4BFUJV.js → chunk-I5BYFTYK.js} +3 -3
  79. package/{chunk-AQNWWJLH.js → chunk-I6YIA2TY.js} +1 -1
  80. package/{chunk-ZQAADXSF.js → chunk-IB5AR52X.js} +1 -1
  81. package/{chunk-TCOHWKDM.js → chunk-IYRZKHA6.js} +1 -1
  82. package/{chunk-XUDXQT7R.js → chunk-J44TXB4J.js} +20 -18
  83. package/{chunk-VC3MAT33.js → chunk-J6Y6ZDS3.js} +195 -151
  84. package/{chunk-FNLT7NKG.js → chunk-K7HLFORE.js} +3 -3
  85. package/{chunk-UBOTXA3Z.js → chunk-KGBASAB5.js} +6 -6
  86. package/chunk-KJ4J2XQB.js +129 -0
  87. package/{chunk-Z7EP5HDL.js → chunk-KYHNSSL2.js} +1 -1
  88. package/chunk-KZO2MTVM.js +140 -0
  89. package/{chunk-FP46RAJQ.js → chunk-LCCDDHAO.js} +3 -3
  90. package/{chunk-72VWN4VK.js → chunk-LHTXSC2E.js} +18 -6
  91. package/{chunk-MSFKHPA6.js → chunk-LRLLWD4P.js} +1 -1
  92. package/{chunk-RIOAPUGV.js → chunk-M75RM77T.js} +9 -0
  93. package/{chunk-SARJZIGR.js → chunk-MI6HRMCK.js} +1 -1
  94. package/{chunk-A454UXB6.js → chunk-MKR6KDD3.js} +13 -9
  95. package/{chunk-MPWQI36J.js → chunk-MTNQNLSE.js} +12 -12
  96. package/{chunk-JPYOHIHX.js → chunk-NFE75Q5M.js} +18 -18
  97. package/{chunk-M7VNNPVX.js → chunk-NGGXRK2P.js} +117 -121
  98. package/{chunk-D3ONA3FP.js → chunk-NH4PUEWK.js} +2 -2
  99. package/{chunk-OSZNERNW.js → chunk-NICEA4IW.js} +11 -11
  100. package/{chunk-SRVLHMES.js → chunk-NLADA5ZM.js} +32 -32
  101. package/{chunk-IWWJSSST.js → chunk-NTUNHTJV.js} +4 -4
  102. package/{chunk-XREMPMNK.js → chunk-OKUSDVRS.js} +3 -3
  103. package/{chunk-63G7JWEA.js → chunk-OQH3TAB7.js} +6 -6
  104. package/{chunk-WEEB2JKA.js → chunk-P62DHV4F.js} +4 -4
  105. package/{chunk-3QMN3T6L.js → chunk-PEXGRTTQ.js} +4 -4
  106. package/{chunk-4HZCBA4Q.js → chunk-PHIERFHT.js} +4 -4
  107. package/{chunk-QZYQ3Y3G.js → chunk-PKDFU6MY.js} +1 -1
  108. package/{chunk-EQOWWSNQ.js → chunk-PRVXRSDG.js} +13 -13
  109. package/chunk-PSJJBBWV.js +42 -0
  110. package/{chunk-3B7OTHDW.js → chunk-Q6FKWH66.js} +14 -14
  111. package/{chunk-6BBXJGIQ.js → chunk-QUF3LDVD.js} +36 -36
  112. package/{chunk-7LS5ATRP.js → chunk-QXHFIX7W.js} +82 -2
  113. package/{chunk-W2Z5E2R7.js → chunk-QY4NZCDA.js} +10 -10
  114. package/{chunk-BUGLH2A7.js → chunk-RIRFHJTW.js} +4 -4
  115. package/{chunk-UJL23HBL.js → chunk-RQKCLVCB.js} +24 -24
  116. package/{chunk-G5IAIGGD.js → chunk-RYMLMTPZ.js} +10 -10
  117. package/{chunk-XKNDVHF5.js → chunk-S6FAHQDH.js} +4 -4
  118. package/{chunk-GH6SS2DZ.js → chunk-SVFFKLMR.js} +11 -11
  119. package/{chunk-YVOUSIIA.js → chunk-SVKWZ3EG.js} +1 -1
  120. package/{chunk-Q5IXZF3S.js → chunk-T7KODHYS.js} +3 -3
  121. package/{chunk-P4XAHM4B.js → chunk-TA5QI4MM.js} +1 -1
  122. package/{chunk-VCESLFF4.js → chunk-TEFD5E2D.js} +3 -3
  123. package/{chunk-GEC4CHS2.js → chunk-TXLXASSY.js} +5 -5
  124. package/{chunk-UEZL3RBG.js → chunk-UAO54ORL.js} +37 -36
  125. package/{chunk-EDKMRDET.js → chunk-UMADT6B2.js} +3 -3
  126. package/{chunk-3TII7WCF.js → chunk-V6K5U4YE.js} +9 -9
  127. package/{chunk-LHCIIUCX.js → chunk-VI4SWTUO.js} +7 -7
  128. package/{chunk-P4I55ASV.js → chunk-VLAPKV76.js} +12 -12
  129. package/{chunk-Z27AH6A5.js → chunk-VXUQWCEZ.js} +4 -4
  130. package/{chunk-QXWXRBOL.js → chunk-WJ5IXN23.js} +3 -3
  131. package/{chunk-T3Y2NA4H.js → chunk-WRHVVIGI.js} +4 -4
  132. package/chunk-WTIJKWCI.js +118 -0
  133. package/{chunk-CK2LMTYO.js → chunk-Y3KGWZKF.js} +5 -5
  134. package/{chunk-SJFL32RD.js → chunk-YCITCYSJ.js} +2 -2
  135. package/{chunk-HB4J5HA6.js → chunk-YR4J7RFS.js} +3 -3
  136. package/{chunk-CEIWXKHP.js → chunk-ZCLSM5AK.js} +12 -12
  137. package/{chunk-L45P4JTE.js → chunk-ZHWTBHT3.js} +17 -17
  138. package/{chunk-FF5ZRKW7.js → chunk-ZJACPM5O.js} +2 -2
  139. package/{cliAgentConfigHelpers-BJJEXHSZ.js → cliAgentConfigHelpers-WB2S7PDO.js} +16 -15
  140. package/{cliAuthorityBrokerProcess-VIJEKQSX.js → cliAuthorityBrokerProcess-BMBVXPKU.js} +7 -17
  141. package/{chunk-O77F26YB.js → cliAuthorityBrokerServer-27C5YBYP.js} +31 -504
  142. package/{cliEnvHelpers-NDMKN4X2.js → cliEnvHelpers-7V5ZWUJA.js} +4 -3
  143. package/{cliLocalAgentRecordReader-KCZS2MZU.js → cliLocalAgentRecordReader-QKKRK53P.js} +61 -61
  144. package/{cloudAutomationCommands-2WQUGQSW.js → cloudAutomationCommands-S52NKCLL.js} +61 -61
  145. package/{commandRegistry-C64JBZJ3.js → commandRegistry-I2WAEYSQ.js} +131 -131
  146. package/{contentThunks-G3HEIRXC.js → contentThunks-W4OUEDRF.js} +48 -47
  147. package/{cooldownCommands-FPAFS7XG.js → cooldownCommands-ZFDAL4MR.js} +1 -1
  148. package/{createAgentAutomationAction-DSBL3X3A.js → createAgentAutomationAction-VQBQDCAD.js} +50 -49
  149. package/{createDialogAction-OHFUHC53.js → createDialogAction-YSZU5IE4.js} +49 -48
  150. package/{createPageAction-E6JZSZLU.js → createPageAction-HLT7DUBR.js} +51 -50
  151. package/{db-KTQ3LL2Q.js → db-LTHLW7QA.js} +6 -4
  152. package/{dbSlice-U3GPLEL3.js → dbSlice-WNUHTF4C.js} +13 -13
  153. package/{deleteDbKey-DRXKWJX5.js → deleteDbKey-ZFWKDNAP.js} +49 -48
  154. package/{dialogCommands-4EX2OTIC.js → dialogCommands-4MOLJW4G.js} +71 -71
  155. package/{dialogNotifyCommand-4SCE2Z2R.js → dialogNotifyCommand-YL2GFKLO.js} +19 -18
  156. package/{dialogPortabilityCommands-ZSFFHRX4.js → dialogPortabilityCommands-YQJNB2KL.js} +4 -3
  157. package/{dialogSlice-PRZCIJCH.js → dialogSlice-EOZLTLFB.js} +46 -45
  158. package/{dialogTraceCommand-RKB76OVX.js → dialogTraceCommand-HWXGIGZX.js} +79 -79
  159. package/{dialogUsageCommand-BP7HMRYP.js → dialogUsageCommand-IO2BQKL2.js} +6 -5
  160. package/{docCreateCommands-JGPNGIZ7.js → docCreateCommands-OYLRBK2M.js} +60 -60
  161. package/{docDeleteCommands-XRJTNRDH.js → docDeleteCommands-3NF6QPJU.js} +61 -61
  162. package/{docReadCommands-6GFO4ARS.js → docReadCommands-CBAERJAP.js} +60 -60
  163. package/{docStore-QRLIWFTU.js → docStore-G5NLVWCF.js} +15 -15
  164. package/{docUpdateCommands-W2GXMUXW.js → docUpdateCommands-BAMCGX6F.js} +60 -60
  165. package/{ebookDownloaderAgentCommand-2DHPGEOQ.js → ebookDownloaderAgentCommand-NOIZ6U7Y.js} +8 -7
  166. package/{fetchMessages-RGPIYEPZ.js → fetchMessages-P7FSCSXV.js} +2 -2
  167. package/{getPricing-BK6CUBAE.js → getPricing-KNXVEIUI.js} +6 -6
  168. package/{handleSendMessageAction-DHGWURJZ.js → handleSendMessageAction-6U3CWHQZ.js} +95 -93
  169. package/{hostCredentialCreate-FPUZ7RMI.js → hostCredentialCreate-7Z7JIE57.js} +130 -129
  170. package/i18n-SAK6DDY4.js +51 -0
  171. package/index.js +163 -184
  172. package/levelAuthorityStore-L5SVDM5O.js +10 -0
  173. package/{localAutomationCommands-ZMU22RQJ.js → localAutomationCommands-P56DPCU7.js} +32 -31
  174. package/{localAutomationRuntime-MU5FGJ3V.js → localAutomationRuntime-KPMMJZAU.js} +30 -29
  175. package/{localDialogRead-W2EVXISA.js → localDialogRead-GWGWSL5K.js} +2 -2
  176. package/{localRuntimeAdapter-YBXQBV4G.js → localRuntimeAdapter-724CCDG5.js} +123 -122
  177. package/{localRuntimeAuthority-LDXMEDO5.js → localRuntimeAuthority-Q5C2KWGF.js} +11 -10
  178. package/{localRuntimeDb-6TQZDLNU.js → localRuntimeDb-MM3DINZM.js} +1 -1
  179. package/{machineCommands-57RTUYRV.js → machineCommands-KLZ73HOC.js} +132 -131
  180. package/{machineInfo-BJIU3WQ5.js → machineInfo-HNPJHQFU.js} +5 -3
  181. package/{machineWsRunDispatch-VBKV3FFE.js → machineWsRunDispatch-WFSV66WP.js} +124 -123
  182. package/{mcpLocalAuthorizeCommand-J76SOJVZ.js → mcpLocalAuthorizeCommand-IKOFKY5U.js} +32 -31
  183. package/{mcpLocalManageCommands-USETIMHB.js → mcpLocalManageCommands-KUDZQRM4.js} +32 -31
  184. package/{memberThunks-7UERUEMI.js → memberThunks-NSYL7QZA.js} +20 -20
  185. package/{memoryCommands-N7NHEE55.js → memoryCommands-SVLAVFCV.js} +4 -3
  186. package/{offlineMarxistsAgentCommand-WZBJBCPZ.js → offlineMarxistsAgentCommand-MFURGWHL.js} +5 -4
  187. package/package.json +1 -1
  188. package/{parityCommands-LYDLWSLK.js → parityCommands-5OCBPVES.js} +61 -61
  189. package/{projectArchive-KCNQDVWJ.js → projectArchive-63LQ5IOO.js} +55 -54
  190. package/{read-SPSQ6NLR.js → read-D4WYJQJQ.js} +10 -10
  191. package/{readDocTool-ENUL2GNL.js → readDocTool-3S3OQFOH.js} +2 -2
  192. package/{readlineWorkspace-MKS7TAEF.js → readlineWorkspace-ECCRLGE5.js} +223 -222
  193. package/{rememberExplicit-7KX4HXQC.js → rememberExplicit-ZPI6KK5M.js} +3 -2
  194. package/{remove-TNNDO635.js → remove-AHRMUDMH.js} +10 -10
  195. package/{removeDialogAgentAction-POPUZ3WU.js → removeDialogAgentAction-AALRBFSA.js} +19 -19
  196. package/{runAgentClientLoop-KVILXQNI.js → runAgentClientLoop-4644DF32.js} +93 -92
  197. package/{runtimeDoctorCommands-4J2DP4LZ.js → runtimeDoctorCommands-52MBG5JN.js} +25 -24
  198. package/{secretCommands-CSTQYB6T.js → secretCommands-2PSS3QNZ.js} +2 -2
  199. package/{setDialogExtraReferencesAction-35THMVBP.js → setDialogExtraReferencesAction-SLHQ3GYL.js} +15 -15
  200. package/{setPrimaryDialogAgentAction-WLXBNIG7.js → setPrimaryDialogAgentAction-XKCSGJ7M.js} +19 -19
  201. package/{settingThunks-6Y5U5M5N.js → settingThunks-PNC7ZISV.js} +22 -22
  202. package/{spaceCommands-LXNJBO2U.js → spaceCommands-Z2CTQD6G.js} +62 -62
  203. package/{spacePruneCommand-2ITUFYBM.js → spacePruneCommand-YKIEUIDQ.js} +4 -3
  204. package/{streamAgentChatTurn-EY6MFKCA.js → streamAgentChatTurn-EGRXP3Q6.js} +123 -122
  205. package/{switchDialogAgentAction-TG6BQRDA.js → switchDialogAgentAction-YJIWQGIR.js} +16 -16
  206. package/{tableCommands-35G34R4B.js → tableCommands-FCPDULSU.js} +19 -18
  207. package/{toolApiClient-MPQIFYXP.js → toolApiClient-FVXTIIEN.js} +9 -9
  208. package/{tools-CSLTRRUR.js → tools-X25IU3XJ.js} +73 -72
  209. package/{tuiRestart-ALR4Q3JM.js → tuiRestart-LU2BDLAW.js} +18 -17
  210. package/{tuiSummaryLlmCaller-3Y3JEXJK.js → tuiSummaryLlmCaller-Z2ZVBIGN.js} +23 -22
  211. package/{updateCommands-GHQVP6Z5.js → updateCommands-4QP7WJLA.js} +9 -8
  212. package/{updateDialogTitleAction-LFAWF5EW.js → updateDialogTitleAction-5WP7TUDJ.js} +51 -50
  213. package/{usageCommand-5VKW6T4C.js → usageCommand-AZX7D3LB.js} +2 -2
  214. package/{usageRebuildCommand-VUQETFMW.js → usageRebuildCommand-XV5QQCHK.js} +3 -3
  215. package/versionChangeNotice-RFABJGJE.js +35 -0
  216. package/{windowsSelfUpdate-SXSVXK4X.js → windowsSelfUpdate-5OFKSW6Y.js} +2 -2
  217. package/chunk-AMNZPQCY.js +0 -635
  218. package/chunk-IVK2KT3H.js +0 -209
  219. package/chunk-KGWE224L.js +0 -246
  220. package/{chunk-YY7IGJMN.js → chunk-ADMRXWXJ.js} +3 -3
  221. package/{chunk-CW6LRDSF.js → chunk-LLP2NDED.js} +6 -6
  222. package/{chunk-GX2MFKF3.js → chunk-SSGTV4FC.js} +3 -3
  223. package/{chunk-FOC4TORM.js → chunk-TSBJVMNW.js} +5 -5
  224. package/{chunk-O7ZY6SUK.js → chunk-UYQILGDR.js} +9 -9
  225. package/{chunk-HXER7YJF.js → chunk-VXL2FZTP.js} +3 -3
  226. package/{chunk-WSQLCWLQ.js → chunk-YECCIUYU.js} +3 -3
  227. package/{chunk-U6RD332P.js → chunk-YQJEXXDK.js} +3 -3
  228. package/{chunk-HVRG27HI.js → chunk-ZV7ZY46L.js} +7 -7
  229. package/{providerPresetApply-IRJ56XIZ.js → providerPresetApply-YCVSP2WX.js} +3 -3
@@ -0,0 +1,275 @@
1
+ import {
2
+ DIALOG_TURN_DEFAULT_TTL_MS,
3
+ DIALOG_TURN_MAX_PAYLOAD_BYTES,
4
+ isDialogTurnMessageId,
5
+ isDialogTurnRecord,
6
+ validateDialogTurnRequest
7
+ } from "./chunk-EUHMI5KG.js";
8
+ import {
9
+ isLevelNotFoundError
10
+ } from "./chunk-OW765XBU.js";
11
+ import {
12
+ createKey
13
+ } from "./chunk-DLXL4NSL.js";
14
+ import {
15
+ dialogMessageKey
16
+ } from "./chunk-OJKUU3LP.js";
17
+
18
+ // packages/database-engine/dialogTurnAuthority.ts
19
+ import { createHash, randomUUID } from "node:crypto";
20
+ var DIALOG_TURN_STATE_PREFIX = "dialog-turn-state:";
21
+ var DIALOG_TURN_IDEM_PREFIX = "dialog-turn-idem:";
22
+ var isDialogTurnAuthorityReservedKey = (key) => typeof key === "string" && (key.startsWith(DIALOG_TURN_STATE_PREFIX) || key.startsWith(DIALOG_TURN_IDEM_PREFIX));
23
+ var dialogTurnNamespaceKey = (dialogId) => `${DIALOG_TURN_STATE_PREFIX}:owner:${dialogId}`;
24
+ var dialogTurnStateKey = ({ userId, dialogId }) => `${DIALOG_TURN_STATE_PREFIX}${userId}:${dialogId}`;
25
+ var keysFor = ({ userId, dialogId }) => ({
26
+ dialogKey: createKey("dialog" /* DIALOG */, userId, dialogId),
27
+ stateKey: dialogTurnStateKey({ userId, dialogId }),
28
+ namespaceKey: dialogTurnNamespaceKey(dialogId),
29
+ idemKey: (commandId) => `${DIALOG_TURN_IDEM_PREFIX}${userId}:${dialogId}:${commandId}`
30
+ });
31
+ var queues = /* @__PURE__ */ new WeakMap();
32
+ function serialize(store, key, task) {
33
+ let tails = queues.get(store);
34
+ if (!tails) queues.set(store, tails = /* @__PURE__ */ new Map());
35
+ const current = (tails.get(key) ?? Promise.resolve()).then(task);
36
+ const settled = current.then(() => void 0, () => void 0);
37
+ tails.set(key, settled);
38
+ void settled.then(() => {
39
+ if (tails.get(key) === settled) tails.delete(key);
40
+ });
41
+ return current;
42
+ }
43
+ async function getOptional(store, key) {
44
+ try {
45
+ return await store.get(key);
46
+ } catch (error) {
47
+ if (isLevelNotFoundError(error)) return void 0;
48
+ throw error;
49
+ }
50
+ }
51
+ function summarize(turn) {
52
+ if (!turn) return null;
53
+ const { runId, holder, holderKind, startedAt, heartbeatAt, expiresAt } = turn;
54
+ return { runId, holder, holderKind, startedAt, heartbeatAt, expiresAt };
55
+ }
56
+ function revisionOf(row) {
57
+ return isDialogTurnRecord(row) && typeof row.dialogRevision === "number" ? row.dialogRevision : 0;
58
+ }
59
+ function fingerprint(value) {
60
+ const hash = createHash("sha256");
61
+ let bytes = 0;
62
+ const tooLarge = Symbol();
63
+ const invalid = Symbol();
64
+ const add = (part) => {
65
+ bytes += Buffer.byteLength(part);
66
+ if (bytes > DIALOG_TURN_MAX_PAYLOAD_BYTES) throw tooLarge;
67
+ hash.update(part);
68
+ };
69
+ const visit = (item, depth) => {
70
+ if (depth > 64) throw invalid;
71
+ if (item === null || typeof item === "boolean" || typeof item === "string" || typeof item === "number" && Number.isFinite(item)) {
72
+ if (typeof item === "string" && item.length > DIALOG_TURN_MAX_PAYLOAD_BYTES) throw tooLarge;
73
+ add(JSON.stringify(item));
74
+ } else if (Array.isArray(item)) {
75
+ add("[");
76
+ for (let i = 0; i < item.length; i++) {
77
+ if (i) add(",");
78
+ visit(item[i], depth + 1);
79
+ }
80
+ add("]");
81
+ } else if (isDialogTurnRecord(item)) {
82
+ add("{");
83
+ for (const [index, key] of Object.keys(item).sort().entries()) {
84
+ if (index) add(",");
85
+ add(JSON.stringify(key));
86
+ add(":");
87
+ visit(item[key], depth + 1);
88
+ }
89
+ add("}");
90
+ } else throw invalid;
91
+ };
92
+ try {
93
+ visit(value, 0);
94
+ return { hash: hash.digest("hex") };
95
+ } catch (error) {
96
+ if (error !== tooLarge && error !== invalid) throw error;
97
+ return { status: error === tooLarge ? "payload_too_large" : "invalid_request", field: "payload" };
98
+ }
99
+ }
100
+ var titleFields = ["title", "titleSource", "titleUpdatedAt"];
101
+ function createDialogTurnAuthority(store, options = {}) {
102
+ const now = options.now ?? Date.now;
103
+ const guarded = (task) => store.runPublicationBatch && typeof store.batchWrite === "function" ? store.runPublicationBatch((access) => task({
104
+ ...access,
105
+ put: (key, value) => access.batchWrite([{ type: "put", key, value }]),
106
+ del: (key) => access.batchWrite([{ type: "del", key }])
107
+ })) : task(store);
108
+ const run = (method, raw, task) => {
109
+ const parsed = validateDialogTurnRequest(method, raw);
110
+ if (!parsed.ok) return Promise.resolve(parsed.error);
111
+ const keys = keysFor(parsed.input.dialogRef);
112
+ return serialize(store, keys.namespaceKey, () => guarded((access) => task(parsed.input, keys, access)));
113
+ };
114
+ const active = async (access, key) => await getOptional(access, key) ?? null;
115
+ const checkNamespace = async (access, { namespaceKey, dialogKey }, ref, row) => {
116
+ const owner = await getOptional(access, namespaceKey);
117
+ if (owner !== void 0 && owner !== dialogKey) return "forbidden";
118
+ if (options.verifyNamespace && (owner === void 0 || row !== void 0) && !await options.verifyNamespace(ref, row)) return "forbidden";
119
+ return owner === void 0 ? "unclaimed" : "claimed";
120
+ };
121
+ return {
122
+ getDialogTurnState: (raw) => run("getDialogTurnState", raw, async (_, { dialogKey, stateKey }, access) => ({
123
+ ok: true,
124
+ dialogKey,
125
+ dialogRevision: revisionOf(await getOptional(access, dialogKey)),
126
+ activeTurn: summarize(await active(access, stateKey))
127
+ })),
128
+ beginDialogTurn: (raw) => run("beginDialogTurn", raw, async (input, { dialogKey, stateKey, namespaceKey }, access) => {
129
+ const current = await active(access, stateKey);
130
+ const row = await getOptional(access, dialogKey);
131
+ const dialogRevision = revisionOf(row);
132
+ const namespace = options.verifyNamespace ? await checkNamespace(access, { namespaceKey, dialogKey }, input.dialogRef, row) : void 0;
133
+ if (namespace === "forbidden") return { status: "forbidden" };
134
+ const replayed = current !== null;
135
+ if (current && (current.runId !== input.runId || current.holder !== input.holder || current.holderKind !== input.holderKind)) {
136
+ return { status: "busy", dialogRevision, activeTurn: summarize(current) };
137
+ }
138
+ const timestamp = now();
139
+ const turn = current ?? {
140
+ runId: input.runId,
141
+ runToken: randomUUID(),
142
+ holder: input.holder,
143
+ holderKind: input.holderKind,
144
+ startedAt: timestamp,
145
+ heartbeatAt: timestamp,
146
+ expiresAt: timestamp + (input.ttlMs ?? DIALOG_TURN_DEFAULT_TTL_MS)
147
+ };
148
+ if (namespace === "unclaimed") {
149
+ if (typeof access.batchWrite !== "function") return { status: "atomic_batch_unsupported" };
150
+ await access.batchWrite([{ type: "put", key: namespaceKey, value: dialogKey }, { type: "put", key: stateKey, value: turn }]);
151
+ } else if (!replayed) await access.put(stateKey, turn);
152
+ return { status: "acquired", replayed, dialogRevision, activeTurn: turn };
153
+ }),
154
+ heartbeatDialogTurn: (raw) => run("heartbeatDialogTurn", raw, async (input, { stateKey }, access) => {
155
+ const current = await active(access, stateKey);
156
+ if (!current || current.runToken !== input.runToken) return { status: "token_mismatch", activeTurn: summarize(current) };
157
+ const heartbeatAt = Math.max(now(), current.heartbeatAt);
158
+ const turn = { ...current, heartbeatAt, expiresAt: heartbeatAt + (input.ttlMs ?? DIALOG_TURN_DEFAULT_TTL_MS) };
159
+ await access.put(stateKey, turn);
160
+ return { status: "renewed", activeTurn: turn };
161
+ }),
162
+ endDialogTurn: (raw) => run("endDialogTurn", raw, async (input, { stateKey }, access) => {
163
+ const current = await active(access, stateKey);
164
+ if (!current) return { status: "already_idle" };
165
+ if (input.runToken !== void 0 ? current.runToken !== input.runToken : current.runId !== input.expectedRunId) {
166
+ return { status: "token_mismatch", activeTurn: summarize(current) };
167
+ }
168
+ await access.del(stateKey);
169
+ return { status: "ended" };
170
+ }),
171
+ commitDialogTurn: (raw) => run("commitDialogTurn", raw, async (input, keys, access) => {
172
+ const { dialogKey, stateKey, namespaceKey, idemKey } = keys;
173
+ if (typeof access.batchWrite !== "function") return { status: "atomic_batch_unsupported" };
174
+ const { mode, dialogRef, runToken, commandId, baseRevision, dialogRecord, messageRecords, keepTurnActive } = input;
175
+ const idleSync = mode === "idle_sync";
176
+ const idleStored = idleSync ? await getOptional(access, dialogKey) : void 0;
177
+ const namespace = idleSync ? await checkNamespace(access, keys, dialogRef, idleStored) : void 0;
178
+ if (namespace === "forbidden") return { status: "forbidden" };
179
+ const { userId, dialogId } = dialogRef;
180
+ if (dialogRecord.id !== void 0 && dialogRecord.id !== dialogId || dialogRecord.userId !== void 0 && dialogRecord.userId !== userId || dialogRecord.type !== void 0 && dialogRecord.type !== "dialog" /* DIALOG */) {
181
+ return { status: "invalid_request", field: "dialogRecord" };
182
+ }
183
+ const prefix = dialogMessageKey(dialogId, "");
184
+ const seen = /* @__PURE__ */ new Set();
185
+ for (const { key, value } of messageRecords) {
186
+ const messageId = key.slice(prefix.length);
187
+ if (!key.startsWith(prefix) || !isDialogTurnMessageId(messageId) || seen.has(key) || value.id !== void 0 && value.id !== messageId) return { status: "invalid_message_key", field: "messageRecords" };
188
+ seen.add(key);
189
+ }
190
+ const digest = fingerprint({
191
+ method: "commit",
192
+ baseRevision,
193
+ dialogRecord,
194
+ messageRecords,
195
+ ...idleSync ? { mode } : { runToken, keepTurnActive: keepTurnActive === true }
196
+ });
197
+ if (!("hash" in digest)) return digest;
198
+ const receiptKey = idemKey(commandId);
199
+ const prior = await getOptional(access, receiptKey);
200
+ if (prior !== void 0) return prior.hash === digest.hash ? { status: "committed", replayed: true, dialogRevision: prior.dialogRevision, commandId, committedAt: prior.committedAt } : { status: "idempotency_conflict", commandId };
201
+ const current = await active(access, stateKey);
202
+ const stored = idleSync ? idleStored : await getOptional(access, dialogKey);
203
+ const storedRevision = revisionOf(stored);
204
+ if (idleSync) {
205
+ if (current) return { ok: true, status: "busy", dialogKey, dialogRevision: storedRevision, activeTurn: summarize(current) };
206
+ } else if (!current || current.runToken !== runToken) {
207
+ return { status: "fenced", activeTurn: summarize(current), dialogRevision: storedRevision };
208
+ }
209
+ if (storedRevision !== baseRevision) return { status: "revision_conflict", expectedRevision: baseRevision, actualRevision: storedRevision };
210
+ if (!idleSync && options.verifyNamespace && (await getOptional(access, namespaceKey) !== dialogKey || stored !== void 0 && !await options.verifyNamespace(dialogRef, stored))) return { status: "forbidden" };
211
+ const dialogRevision = baseRevision + 1;
212
+ const committedAt = now();
213
+ await access.batchWrite([
214
+ ...messageRecords.map(({ key, value }) => ({ type: "put", key, value })),
215
+ { type: "put", key: dialogKey, value: {
216
+ ...dialogRecord,
217
+ // A history writer may have read the header before a narrow memory patch.
218
+ ...isDialogTurnRecord(stored) && Object.hasOwn(stored, "memoryCaptureResult") ? { memoryCaptureResult: stored.memoryCaptureResult } : {},
219
+ ...isDialogTurnRecord(stored) && Object.hasOwn(stored, "memoryEvents") ? { memoryEvents: stored.memoryEvents } : {},
220
+ id: dialogId,
221
+ userId,
222
+ type: "dialog" /* DIALOG */,
223
+ dbKey: dialogKey,
224
+ dialogRevision
225
+ } },
226
+ { type: "put", key: receiptKey, value: { ...digest, dialogRevision, committedAt } },
227
+ ...namespace === "unclaimed" ? [{ type: "put", key: namespaceKey, value: dialogKey }] : [],
228
+ ...!idleSync && keepTurnActive !== true ? [{ type: "del", key: stateKey }] : []
229
+ ]);
230
+ return { status: "committed", replayed: false, dialogRevision, commandId, committedAt };
231
+ }),
232
+ patchDialogMetadata: (raw) => run("patchDialogMetadata", raw, async (input, { dialogKey, idemKey }, access) => {
233
+ const { patch, commandId, expectedTitleUpdatedAt } = input;
234
+ const key = commandId === void 0 ? void 0 : idemKey(commandId);
235
+ if (key && typeof access.batchWrite !== "function") return { status: "atomic_batch_unsupported" };
236
+ const digest = fingerprint({ method: "metadata", patch, ...expectedTitleUpdatedAt !== void 0 ? { expectedTitleUpdatedAt } : {} });
237
+ if (!("hash" in digest)) return digest;
238
+ const prior = key ? await getOptional(access, key) : void 0;
239
+ if (prior !== void 0) return prior.hash === digest.hash ? { status: "patched", replayed: true, dialogRevision: prior.dialogRevision } : { status: "idempotency_conflict", commandId };
240
+ const row = await getOptional(access, dialogKey);
241
+ if (!isDialogTurnRecord(row) || row.deletedAt) return { status: "not_found" };
242
+ if (expectedTitleUpdatedAt !== void 0 && (row.titleUpdatedAt ?? null) !== expectedTitleUpdatedAt) return { status: "title_conflict" };
243
+ if (row.titleSource === "manual" && titleFields.some((field) => Object.hasOwn(patch, field)) && patch.titleSource !== "manual") {
244
+ return { status: "manual_title_protected" };
245
+ }
246
+ const dialogRevision = revisionOf(row);
247
+ const { memoryEvents, ...fields } = patch;
248
+ const value = { ...row, ...fields };
249
+ if (memoryEvents) {
250
+ const events = Array.isArray(row.memoryEvents) ? [...row.memoryEvents] : [];
251
+ const eventKey = (event) => isDialogTurnRecord(event) ? JSON.stringify([event.type, event.sourceKind, event.content]) : void 0;
252
+ const seen = new Set(events.map(eventKey));
253
+ for (const event of memoryEvents) {
254
+ const key2 = eventKey(event);
255
+ if (!seen.has(key2)) {
256
+ events.push(event);
257
+ seen.add(key2);
258
+ }
259
+ }
260
+ value.memoryEvents = events;
261
+ }
262
+ if (key) await access.batchWrite([
263
+ { type: "put", key: dialogKey, value },
264
+ { type: "put", key, value: { ...digest, dialogRevision, committedAt: now() } }
265
+ ]);
266
+ else await access.put(dialogKey, value);
267
+ return { status: "patched", dialogRevision, replayed: false };
268
+ })
269
+ };
270
+ }
271
+
272
+ export {
273
+ isDialogTurnAuthorityReservedKey,
274
+ createDialogTurnAuthority
275
+ };
@@ -7,13 +7,16 @@ import {
7
7
  import {
8
8
  readDbRecord,
9
9
  writeAgentRecord
10
- } from "./chunk-MMXHIHJZ.js";
10
+ } from "./chunk-7K4J76JQ.js";
11
+ import {
12
+ asTrimmedLowercaseString
13
+ } from "./chunk-QSJ3HFEF.js";
11
14
  import {
12
15
  parseUserIdFromAuthToken,
13
16
  readOption,
14
17
  resolveAuthToken,
15
18
  resolveServerUrl
16
- } from "./chunk-LTCZOOAM.js";
19
+ } from "./chunk-2AJLG6PY.js";
17
20
  import {
18
21
  hasCliFlag
19
22
  } from "./chunk-RF576RYE.js";
@@ -26,9 +29,6 @@ import {
26
29
  import {
27
30
  normalizeServerOrigin
28
31
  } from "./chunk-CF7PE763.js";
29
- import {
30
- asTrimmedLowercaseString
31
- } from "./chunk-QSJ3HFEF.js";
32
32
 
33
33
  // packages/cli/docSpaceHelpers.ts
34
34
  async function ensurePageAttachedToSpace(params) {
@@ -2,7 +2,7 @@ import {
2
2
  parseUserIdFromAuthToken,
3
3
  resolveAuthToken,
4
4
  resolveServerUrl
5
- } from "./chunk-LTCZOOAM.js";
5
+ } from "./chunk-2AJLG6PY.js";
6
6
 
7
7
  // packages/cli/subscriptionQuotaRefresh.ts
8
8
  import {
@@ -7,13 +7,13 @@ import {
7
7
  readAction,
8
8
  readRequestManager,
9
9
  resolveAgentReadServers
10
- } from "./chunk-J22PFCQN.js";
10
+ } from "./chunk-HRWRIPTB.js";
11
11
  import {
12
12
  emitUserDataUpdated,
13
13
  loadFileFromIndexedDb,
14
14
  removeAction,
15
15
  saveFileToIndexedDb
16
- } from "./chunk-Q5IXZF3S.js";
16
+ } from "./chunk-T7KODHYS.js";
17
17
  import {
18
18
  beginWriteAck,
19
19
  compareRemoteRecordsByComparableTime,
@@ -31,10 +31,10 @@ import {
31
31
  shouldReplaceLocalWithRemoteRecord,
32
32
  shouldReplicateLocalRecord,
33
33
  uploadToCurrentServer
34
- } from "./chunk-MPWQI36J.js";
34
+ } from "./chunk-MTNQNLSE.js";
35
35
  import {
36
36
  noloDeleteRequest
37
- } from "./chunk-SJFL32RD.js";
37
+ } from "./chunk-YCITCYSJ.js";
38
38
  import {
39
39
  fetchFromClientDb,
40
40
  fetchFromServer,
@@ -43,10 +43,16 @@ import {
43
43
  logger,
44
44
  normalizeTimeFields,
45
45
  scopeGoogleSessionServers
46
- } from "./chunk-FNLT7NKG.js";
46
+ } from "./chunk-K7HLFORE.js";
47
47
  import {
48
48
  isTombstoneRecord
49
49
  } from "./chunk-BV3FLP2L.js";
50
+ import {
51
+ isPublicBuiltinPlatformAgentKey
52
+ } from "./chunk-4DBTBNTX.js";
53
+ import {
54
+ isRecord
55
+ } from "./chunk-KUG52IAP.js";
50
56
  import {
51
57
  fileKey,
52
58
  getFileIdFromKey
@@ -54,12 +60,6 @@ import {
54
60
  import {
55
61
  ulid
56
62
  } from "./chunk-OJKUU3LP.js";
57
- import {
58
- isPublicBuiltinPlatformAgentKey
59
- } from "./chunk-YRPIUIEQ.js";
60
- import {
61
- isRecord
62
- } from "./chunk-KUG52IAP.js";
63
63
  import {
64
64
  API_ENDPOINTS
65
65
  } from "./chunk-JKVOKKMQ.js";
@@ -1499,7 +1499,7 @@ var dbDataAccess = {
1499
1499
  // Resolve the binding at call time: esbuild chunk evaluation can otherwise
1500
1500
  // capture an uninitialized readAction as a payload creator.
1501
1501
  async read(payload, context) {
1502
- const { readAction: readAction2 } = await import("./read-SPSQ6NLR.js");
1502
+ const { readAction: readAction2 } = await import("./read-D4WYJQJQ.js");
1503
1503
  return readAction2(payload, context);
1504
1504
  },
1505
1505
  readAndWait: readAndWaitAction,
@@ -1512,7 +1512,7 @@ var dbDataAccess = {
1512
1512
  readFileContent: readFileContentAction,
1513
1513
  // A static edge would recreate share/action → settings → dbActionThunks → dbSlice.
1514
1514
  async share(config, context) {
1515
- const { shareResourceAction } = await import("./action-NJTYNXXR.js");
1515
+ const { shareResourceAction } = await import("./action-UK3HXGXF.js");
1516
1516
  return shareResourceAction(config, context);
1517
1517
  }
1518
1518
  };
@@ -0,0 +1,14 @@
1
+ import {
2
+ bytesToHex,
3
+ sha256,
4
+ utf8ToBytes
5
+ } from "./chunk-2LFYMWM3.js";
6
+
7
+ // packages/core/sha256.ts
8
+ function sha256Hex(text) {
9
+ return bytesToHex(sha256(utf8ToBytes(text)));
10
+ }
11
+
12
+ export {
13
+ sha256Hex
14
+ };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  deleteContentFromSpace,
3
3
  deleteTable
4
- } from "./chunk-VZDSNDUD.js";
4
+ } from "./chunk-HT6MY27X.js";
5
+ import {
6
+ getAllMemberSpaces
7
+ } from "./chunk-EHFDVQF5.js";
5
8
  import {
6
9
  deleteDialog
7
- } from "./chunk-M7VNNPVX.js";
10
+ } from "./chunk-NGGXRK2P.js";
8
11
  import {
9
12
  deleteServerSyncedCredential
10
- } from "./chunk-P4I55ASV.js";
11
- import {
12
- getAllMemberSpaces
13
- } from "./chunk-OIOMBPCA.js";
13
+ } from "./chunk-VLAPKV76.js";
14
14
  import {
15
15
  read,
16
16
  remove,
17
17
  selectById
18
- } from "./chunk-U5PSCTMR.js";
18
+ } from "./chunk-6NYQHXMV.js";
19
19
  import {
20
20
  emitUserDataUpdated
21
- } from "./chunk-Q5IXZF3S.js";
21
+ } from "./chunk-T7KODHYS.js";
22
22
  import {
23
23
  DEVICE_LOCAL_OWNER_ID,
24
24
  getRuntimeServerContext,
25
25
  isDeviceLocalOwnerId,
26
26
  selectRuntimeSnapshot
27
- } from "./chunk-MPWQI36J.js";
27
+ } from "./chunk-MTNQNLSE.js";
28
28
  import {
29
29
  selectIdentityUserId
30
- } from "./chunk-SWJRX4M5.js";
30
+ } from "./chunk-HI5RS2O4.js";
31
31
  import {
32
32
  googleSessionRequestToken,
33
33
  isGoogleAuthoritySession
34
- } from "./chunk-FNLT7NKG.js";
34
+ } from "./chunk-K7HLFORE.js";
35
35
  import {
36
36
  createFileCredentialBroker
37
37
  } from "./chunk-E6A5NHDH.js";
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  resolveDefaultReasoningEffort
3
- } from "./chunk-NTBTVKKB.js";
3
+ } from "./chunk-BWJLEN6X.js";
4
4
  import {
5
5
  buildLocalAgentLookupKeys,
6
6
  shouldReadAgentKeyRemotely
7
- } from "./chunk-LHJB4BXJ.js";
7
+ } from "./chunk-E2KZNP6C.js";
8
8
  import {
9
9
  createHostCredentialBrokerChain,
10
10
  createStrictHostCredentialBroker
11
11
  } from "./chunk-BKP325XS.js";
12
+ import {
13
+ classifyAgentApiKeyRef,
14
+ formatUnsupportedAgentApiKeyRefMessage
15
+ } from "./chunk-PEXGRTTQ.js";
12
16
  import {
13
17
  collectInvalidAgentSkillModes,
14
18
  formatInvalidAgentSkillModeMessage,
15
19
  formatInvalidAgentSkillModesFieldMessage,
16
20
  isAgentSkillModesFieldShapeValid
17
- } from "./chunk-TXMFSGRY.js";
18
- import {
19
- classifyAgentApiKeyRef,
20
- formatUnsupportedAgentApiKeyRefMessage
21
- } from "./chunk-3QMN3T6L.js";
21
+ } from "./chunk-D2LTQAGN.js";
22
22
  import {
23
23
  buildAgentApiKeyCredentialRef,
24
24
  migrateAgentSecrets
25
- } from "./chunk-GX2MFKF3.js";
25
+ } from "./chunk-SSGTV4FC.js";
26
26
  import {
27
27
  assertCredentialRef,
28
28
  createFileCredentialBroker
29
29
  } from "./chunk-E6A5NHDH.js";
30
- import {
31
- toErrorMessage
32
- } from "./chunk-HNMXYYJR.js";
33
30
  import {
34
31
  buildRestorePatch
35
32
  } from "./chunk-BV3FLP2L.js";
36
- import {
37
- createAgentKey
38
- } from "./chunk-DLXL4NSL.js";
39
33
  import {
40
34
  resolveCliAgentKeyInput
41
35
  } from "./chunk-BR3GT6MR.js";
36
+ import {
37
+ readPipeText,
38
+ spawnProcess
39
+ } from "./chunk-4O22PGNQ.js";
40
+ import {
41
+ toErrorMessage
42
+ } from "./chunk-HNMXYYJR.js";
43
+ import {
44
+ createAgentKey
45
+ } from "./chunk-DLXL4NSL.js";
42
46
  import {
43
47
  parseUserIdFromAuthToken,
44
48
  readOption,
45
49
  resolveAuthToken,
46
50
  resolveServerCandidates,
47
51
  resolveServerUrl
48
- } from "./chunk-LTCZOOAM.js";
49
- import {
50
- readPipeText,
51
- spawnProcess
52
- } from "./chunk-4O22PGNQ.js";
52
+ } from "./chunk-2AJLG6PY.js";
53
53
 
54
54
  // packages/agent-runtime/sessionCredentialBroker.ts
55
55
  function createSessionMemoryCredentialBroker() {
@@ -735,7 +735,7 @@ async function buildCreatedAgentRecord(args) {
735
735
  const resolvedAgentInput = resolveCliAgentKeyInput(args.parsed.agentInput);
736
736
  const agentKey = resolvedAgentInput.startsWith("agent-") ? resolvedAgentInput : createAgentKey.private(userId || "local", resolvedAgentInput);
737
737
  if (args.parsed.presetId) {
738
- const { resolveProviderPresetFields } = await import("./providerPresetApply-IRJ56XIZ.js");
738
+ const { resolveProviderPresetFields } = await import("./providerPresetApply-YCVSP2WX.js");
739
739
  const fields = resolveProviderPresetFields(args.parsed.presetId);
740
740
  if (fields.kind === "manual") {
741
741
  throw new Error(
@@ -10,10 +10,10 @@ import {
10
10
  runAgentTurn,
11
11
  shouldPrintLocalRunSummary,
12
12
  unknownLocalRunAcceptance
13
- } from "./chunk-ERCSHBUD.js";
13
+ } from "./chunk-G2JNJRTO.js";
14
14
  import {
15
15
  getReadableCliDb
16
- } from "./chunk-MSFKHPA6.js";
16
+ } from "./chunk-LRLLWD4P.js";
17
17
  import {
18
18
  INSTABOX_RUN_CONFIG_ENV,
19
19
  buildLocalRunEnv,
@@ -28,7 +28,7 @@ import {
28
28
  resolveServerUrl,
29
29
  validateInstaboxWorkspaceSelection,
30
30
  writeUsage
31
- } from "./chunk-VC3MAT33.js";
31
+ } from "./chunk-J6Y6ZDS3.js";
32
32
  import {
33
33
  CliProviderQuotaError
34
34
  } from "./chunk-JUMQJSQF.js";
@@ -38,7 +38,7 @@ import {
38
38
  import {
39
39
  readDbRecord,
40
40
  resolveAgentRecordFromHybridStore
41
- } from "./chunk-MMXHIHJZ.js";
41
+ } from "./chunk-7K4J76JQ.js";
42
42
  import {
43
43
  awaitLocalWriterChild,
44
44
  createMcpApprovalChild,
@@ -56,35 +56,26 @@ import {
56
56
  settleRunTerminalAuthoritatively,
57
57
  spawnLocalBackgroundRun,
58
58
  transitionRunToTerminal
59
- } from "./chunk-7X4BFUJV.js";
59
+ } from "./chunk-I5BYFTYK.js";
60
60
  import {
61
61
  buildSkillDiscoveryContextLayer
62
62
  } from "./chunk-WIVVNJUS.js";
63
63
  import {
64
64
  readAgentsMdLayerFromDisk
65
- } from "./chunk-CNYPQYXT.js";
65
+ } from "./chunk-2R6M34JP.js";
66
66
  import {
67
67
  readCacheReadInputTokensOrNull
68
- } from "./chunk-CEIWXKHP.js";
68
+ } from "./chunk-ZCLSM5AK.js";
69
69
  import {
70
70
  normalizeRuntimeToolPolicyOverride,
71
71
  resolveEffectiveRuntimeToolPolicy
72
- } from "./chunk-GX2MFKF3.js";
72
+ } from "./chunk-SSGTV4FC.js";
73
73
  import {
74
74
  workspaceChildEnv
75
- } from "./chunk-2I4R6ZRV.js";
75
+ } from "./chunk-2QAZCYOM.js";
76
76
  import {
77
77
  isQuotaExhaustedError
78
78
  } from "./chunk-EWQ3HGNZ.js";
79
- import {
80
- buildMemoryOverlayLayer,
81
- buildMemoryUseGuidanceLayer,
82
- partitionScopedBlocks,
83
- renderTurnContextBlocksWithScope
84
- } from "./chunk-FBNVJ2TO.js";
85
- import {
86
- toErrorMessage
87
- } from "./chunk-HNMXYYJR.js";
88
79
  import {
89
80
  parseExternalSkillMarkdown,
90
81
  parseSkillDocProtocol
@@ -94,25 +85,34 @@ import {
94
85
  } from "./chunk-BR3GT6MR.js";
95
86
  import {
96
87
  isSubtaskRun
97
- } from "./chunk-FOC4TORM.js";
88
+ } from "./chunk-TSBJVMNW.js";
98
89
  import {
99
90
  BUILTIN_NOLO_AGENT_KEY
100
- } from "./chunk-YRPIUIEQ.js";
91
+ } from "./chunk-4DBTBNTX.js";
92
+ import {
93
+ buildMemoryOverlayLayer,
94
+ buildMemoryUseGuidanceLayer,
95
+ partitionScopedBlocks,
96
+ renderTurnContextBlocksWithScope
97
+ } from "./chunk-FBNVJ2TO.js";
101
98
  import {
102
99
  exitCliFromWatchdog
103
100
  } from "./chunk-E36V7MPY.js";
101
+ import {
102
+ toErrorMessage
103
+ } from "./chunk-HNMXYYJR.js";
104
104
  import {
105
105
  RuntimeProtocolMismatchError,
106
106
  RuntimeVersionMismatchError,
107
107
  resolveAuthToken,
108
108
  validateAgentRunProtocol
109
- } from "./chunk-LTCZOOAM.js";
109
+ } from "./chunk-2AJLG6PY.js";
110
110
  import {
111
111
  asOptionalTrimmedString
112
112
  } from "./chunk-G3SUCT4W.js";
113
113
  import {
114
114
  t
115
- } from "./chunk-RIOAPUGV.js";
115
+ } from "./chunk-M75RM77T.js";
116
116
 
117
117
  // packages/cli/agentRunCommand.ts
118
118
  import { createHash } from "node:crypto";
@@ -4,7 +4,7 @@ import {
4
4
  builtinRuntimeFallbackEntries,
5
5
  isBuiltinPlatformAgentKey,
6
6
  parseBuiltinPlatformAgentId
7
- } from "./chunk-YRPIUIEQ.js";
7
+ } from "./chunk-4DBTBNTX.js";
8
8
  import {
9
9
  publicAgentKey
10
10
  } from "./chunk-M2EJHDJP.js";
@@ -1,13 +1,10 @@
1
1
  import {
2
2
  resolveAgentCallPlan
3
- } from "./chunk-3QMN3T6L.js";
3
+ } from "./chunk-PEXGRTTQ.js";
4
4
  import {
5
5
  findModelConfig,
6
6
  getProviderByModelName
7
7
  } from "./chunk-RI7SXDJW.js";
8
- import {
9
- asOptionalTrimmedString
10
- } from "./chunk-G3SUCT4W.js";
11
8
  import {
12
9
  CUSTOM_API_KEY_TEMPLATES,
13
10
  SUBSCRIPTION_OAUTH_PROVIDERS
@@ -15,6 +12,9 @@ import {
15
12
  import {
16
13
  asTrimmedLowercaseString
17
14
  } from "./chunk-QSJ3HFEF.js";
15
+ import {
16
+ asOptionalTrimmedString
17
+ } from "./chunk-G3SUCT4W.js";
18
18
 
19
19
  // packages/ai/llm/agentCapabilities.ts
20
20
  var ANTIGRAVITY_EFFORT_SUFFIXES = [