nolo-cli 0.224.0-alpha.1 → 0.224.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 (236) hide show
  1. package/{_executeModel-WW57SJN4.js → _executeModel-5NA4USGG.js} +77 -70
  2. package/{action-CK64LS6S.js → action-X75O3XPH.js} +11 -8
  3. package/{addContentAction-EQXMFNPR.js → addContentAction-GVC77QSN.js} +14 -13
  4. package/{addDialogAgentAction-RSDZDASD.js → addDialogAgentAction-KKDVAMW3.js} +15 -14
  5. package/{agentDeleteCommand-X2VWEKUA.js → agentDeleteCommand-2RFGKFAB.js} +127 -118
  6. package/{agentEmailCommands-6IE773VW.js → agentEmailCommands-GQCQKKOR.js} +126 -113
  7. package/{agentFavoriteCommands-2LKGKSUD.js → agentFavoriteCommands-7LOP3HUD.js} +5 -5
  8. package/{agentGrantCommands-QQV4N4JW.js → agentGrantCommands-L6O2HVJI.js} +5 -5
  9. package/{agentListCommands-5UNM7CGG.js → agentListCommands-HSGLDPDQ.js} +110 -495
  10. package/{agentMachineCommands-EVWFKK6Q.js → agentMachineCommands-BISF6PVV.js} +63 -57
  11. package/{agentProviderCommands-ZCH37KAL.js → agentProviderCommands-O3Q25PKU.js} +6 -6
  12. package/{agentPullCommand-XN6ZPBUW.js → agentPullCommand-G6U2LHMW.js} +6 -6
  13. package/agentRecordCommands-AOXPGYAJ.js +189 -0
  14. package/{agentRunCommand-KGOT2AFB.js → agentRunCommand-AFAIP7U7.js} +129 -113
  15. package/{agentRunControl-QDFW5P2T.js → agentRunControl-VBL7UFSG.js} +20 -14
  16. package/{agentRuntimeLocal-SD7U2EGY.js → agentRuntimeLocal-T7BX2WGL.js} +47 -41
  17. package/{agentSlice-ACZGTZVW.js → agentSlice-XJNKE3PG.js} +18 -17
  18. package/{appDeleteCommands-NE3NQQJL.js → appDeleteCommands-LURUSPY7.js} +56 -50
  19. package/{appDeployCommands-2BAHY522.js → appDeployCommands-SMEW4AK2.js} +56 -50
  20. package/{appDeployStatusCommands-JTW6LZNC.js → appDeployStatusCommands-VYPJTBJK.js} +56 -50
  21. package/{appGetCommands-WKFEJO6A.js → appGetCommands-N4NI5GGJ.js} +56 -50
  22. package/{appListCommands-HNAZZLFX.js → appListCommands-5C6ONN3Z.js} +56 -50
  23. package/{authCommand-4FDPL7WG.js → authCommand-4CVBDADE.js} +29 -24
  24. package/{authCommands-GAJ3NIXO.js → authCommands-EHU2BHOX.js} +12 -7
  25. package/{builtinSkillRegistry-PXH7EGQB.js → builtinSkillRegistry-AYWYQVA4.js} +4 -4
  26. package/{chromeOpsCommands-YKX2QX3A.js → chromeOpsCommands-CSDG2HYN.js} +6 -6
  27. package/{chunk-OOF7XDZF.js → chunk-2574ANSV.js} +6 -6
  28. package/chunk-2SXN7LAY.js +15 -0
  29. package/{chunk-OGHP3CTL.js → chunk-2X7WFDT6.js} +1 -1
  30. package/{chunk-XI2BWJM5.js → chunk-324FWHUA.js} +20 -3
  31. package/{chunk-D726I5AZ.js → chunk-3EMIEC27.js} +2 -2
  32. package/{chunk-S7SB7L2I.js → chunk-3FBAVU2Y.js} +24 -22
  33. package/{chunk-YL3EFYL3.js → chunk-4D4QD7FT.js} +3 -1
  34. package/{chunk-5RKUPJYL.js → chunk-4FIO2S7Z.js} +11 -3
  35. package/{chunk-MKQ2UTTX.js → chunk-4IQVE43Z.js} +63 -32
  36. package/{chunk-6NKA6RKF.js → chunk-4Q6HQORG.js} +8 -8
  37. package/{chunk-P2ZLUIW2.js → chunk-4X5AVCM7.js} +94 -4
  38. package/chunk-4ZCTKB27.js +31 -0
  39. package/{chunk-JWXITTQB.js → chunk-5HUO7SEX.js} +9 -107
  40. package/{chunk-4A2JIXR2.js → chunk-5QZSEQSK.js} +1 -1
  41. package/chunk-5ZUOVCKT.js +32 -0
  42. package/{chunk-TRWT3EE3.js → chunk-62HXNQVV.js} +1 -1
  43. package/{chunk-JC5XLWZK.js → chunk-6CKUO32A.js} +27 -15
  44. package/chunk-6D25V6CB.js +133 -0
  45. package/chunk-6WOLPIPY.js +379 -0
  46. package/{chunk-KOXKKHFE.js → chunk-6WZVM33D.js} +9 -4
  47. package/{chunk-YGMBIXCF.js → chunk-6XRPBZRS.js} +4 -2
  48. package/{chunk-KO63FPG3.js → chunk-7AJRJGSQ.js} +1049 -2860
  49. package/chunk-7NIBQ4HY.js +138 -0
  50. package/{chunk-7Z6EW7AH.js → chunk-7TTMMOKH.js} +13 -6
  51. package/{chunk-7WPAI5JJ.js → chunk-A3LUWRQK.js} +15 -15
  52. package/{chunk-C4WTX5TU.js → chunk-A5EVA6HU.js} +2 -2
  53. package/{chunk-O2CYENYJ.js → chunk-A74QP4FI.js} +2614 -1374
  54. package/{chunk-N3J4VDGV.js → chunk-AEQMKYZN.js} +15 -15
  55. package/{chunk-DVQH4BTR.js → chunk-AH5R7BYW.js} +26 -176
  56. package/{chunk-H7R3365N.js → chunk-ANJRDS6U.js} +8 -5
  57. package/{chunk-YFLVRVYK.js → chunk-AVJDELEA.js} +1 -1
  58. package/{chunk-GIABSSWQ.js → chunk-B5SV4H3J.js} +4 -4
  59. package/{chunk-FVZW66K4.js → chunk-B7DE5XJW.js} +387 -347
  60. package/chunk-BEM6LPD2.js +734 -0
  61. package/{chunk-SRL56PI2.js → chunk-BGGAY6OK.js} +46 -8
  62. package/{chunk-T3O6BLYU.js → chunk-BGGV6B5O.js} +555 -328
  63. package/{chunk-BGGHA5DV.js → chunk-BIABIPGW.js} +1 -1
  64. package/chunk-BIDSIRTS.js +307 -0
  65. package/{chunk-6D7NVU66.js → chunk-BXSMFPTG.js} +17 -14
  66. package/{chunk-Q6HOUF4O.js → chunk-CBUZ6DKA.js} +3 -3
  67. package/{chunk-LE6LGAJE.js → chunk-CD3RU7XL.js} +17 -2
  68. package/{chunk-GVGOEMNV.js → chunk-CKZPMJNU.js} +3 -3
  69. package/{chunk-3ESU44FG.js → chunk-CVJRVBJL.js} +3 -3
  70. package/chunk-D374I563.js +62 -0
  71. package/{chunk-XWGDCWXY.js → chunk-DNZ4JJ7C.js} +9 -9
  72. package/chunk-DVYAFH2Q.js +103 -0
  73. package/{chunk-N7HVLYOY.js → chunk-DXW5WDHZ.js} +4 -4
  74. package/{chunk-KFHREHUQ.js → chunk-DXWGFL2Z.js} +89 -1
  75. package/{chunk-65XXHYZ5.js → chunk-E5KJOZWY.js} +4 -4
  76. package/{chunk-GNHMRBYZ.js → chunk-EBKHA63G.js} +106 -14
  77. package/{chunk-PFJNLBRU.js → chunk-EEOOBRA7.js} +6 -6
  78. package/{chunk-M3JEW6N6.js → chunk-F26GAEH3.js} +10 -0
  79. package/{chunk-QLFCTYRH.js → chunk-F3XI6WQP.js} +17 -10
  80. package/{chunk-AFHOCBSP.js → chunk-F6YWDVIB.js} +1 -1
  81. package/{chunk-VHPAA6MT.js → chunk-FFYE5ATM.js} +6 -6
  82. package/{chunk-F3TQURKK.js → chunk-FZKA3XFA.js} +21 -21
  83. package/{chunk-C4VAR65S.js → chunk-G22P367E.js} +153 -117
  84. package/{chunk-4NMHE7CX.js → chunk-GDUC4VS2.js} +12 -12
  85. package/{chunk-2VUZSVAS.js → chunk-GXXY2NL3.js} +22 -20
  86. package/{chunk-IWH5SOU4.js → chunk-H7ZYKHAZ.js} +38 -18
  87. package/{chunk-G2EJ7NL4.js → chunk-HBRDSQ3M.js} +2 -2
  88. package/{chunk-EGXPAWLG.js → chunk-HCNOO374.js} +1 -1
  89. package/{chunk-DJSTBAOU.js → chunk-HOM6LTEW.js} +4 -4
  90. package/{chunk-S2NTVGA2.js → chunk-I2OYPD3Y.js} +1 -1
  91. package/{chunk-QWYFFHCJ.js → chunk-IJTXNLQE.js} +13 -13
  92. package/{chunk-UYOICCYG.js → chunk-IUMS6F53.js} +59 -88
  93. package/{chunk-MOMR7NMG.js → chunk-IUTUWIKE.js} +2 -2
  94. package/{chunk-JVRQ6YVK.js → chunk-JBWXPACD.js} +1 -1
  95. package/{chunk-SASHAZ67.js → chunk-KZPEGO6D.js} +13 -2
  96. package/{chunk-HCJFGH6Y.js → chunk-L32W3PRP.js} +46 -16
  97. package/{chunk-GGKNJ42M.js → chunk-LYDEFPQP.js} +18 -108
  98. package/{chunk-K5FNYHZC.js → chunk-MECDGHLK.js} +420 -120
  99. package/{chunk-EOWLBDY6.js → chunk-MM73SP4K.js} +1 -1
  100. package/{chunk-J6T25AJ6.js → chunk-MYOSN6BT.js} +82 -18
  101. package/{chunk-Q7WP5RPC.js → chunk-MYPKBJJO.js} +5 -5
  102. package/{chunk-6RQFZCKH.js → chunk-N2JROHD3.js} +4 -4
  103. package/{chunk-VREDDN25.js → chunk-O6IPRAVV.js} +14 -9
  104. package/{chunk-VALBGPM6.js → chunk-OBSEKCVK.js} +17 -20
  105. package/{chunk-AMEOV5VZ.js → chunk-OOJNQK6V.js} +33 -33
  106. package/{chunk-PPJYZRSQ.js → chunk-OX6GNNVT.js} +6 -1
  107. package/{chunk-5R63B62U.js → chunk-P3IZUMIC.js} +8 -8
  108. package/{chunk-FRSBYNWI.js → chunk-PGKA77TZ.js} +52 -217
  109. package/{chunk-7UH3DGV6.js → chunk-PRMEU7BT.js} +232 -10
  110. package/{chunk-2ZKFCIJJ.js → chunk-PROOOQZ3.js} +1 -1
  111. package/{chunk-EUCFKKDM.js → chunk-PVFYPUIM.js} +40 -10
  112. package/{chunk-HOCHUZQ7.js → chunk-QJTZ76CP.js} +24 -6
  113. package/{chunk-MK2Q7ZJD.js → chunk-R7XWZDOH.js} +58 -24
  114. package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
  115. package/chunk-RETQOQ4D.js +33394 -0
  116. package/{chunk-AVHRSJUH.js → chunk-RM4UMFY4.js} +32 -25
  117. package/{chunk-2OLYKYNY.js → chunk-RTHFJZ6M.js} +8 -8
  118. package/{chunk-OB6DVWPF.js → chunk-S2MHR4PU.js} +164 -4
  119. package/{chunk-IWQAOW2X.js → chunk-SRCCSTIM.js} +8 -8
  120. package/{chunk-PVZY6P3S.js → chunk-T6VROBY7.js} +2 -2
  121. package/{chunk-2KTUDBG7.js → chunk-TEMLHVGX.js} +1 -1
  122. package/{chunk-TVFRV3UQ.js → chunk-TRHJ4NJB.js} +673 -1279
  123. package/{chunk-QVBXJNZ2.js → chunk-TUSTONB3.js} +1 -1
  124. package/{chunk-UMRI2IRY.js → chunk-TWTJV35S.js} +6 -6
  125. package/{chunk-5OZC7R7Y.js → chunk-U3G7RRXJ.js} +13 -12
  126. package/{chunk-CXDPIPZ4.js → chunk-UFC4J7OY.js} +3 -3
  127. package/{chunk-CKT6QUE2.js → chunk-UHW6SCVK.js} +1 -1
  128. package/{chunk-AGP3YSEC.js → chunk-ULLHVDTZ.js} +48 -3
  129. package/{chunk-SYQR7FQS.js → chunk-VM72HKW2.js} +97 -29
  130. package/{chunk-KEN3N2TN.js → chunk-VMJVAJ6W.js} +13 -10
  131. package/{chunk-3N4ASIP6.js → chunk-VREG6ANQ.js} +103 -100
  132. package/{chunk-SOF4OWDM.js → chunk-VS276URX.js} +0 -2
  133. package/chunk-VSRISJXZ.js +107 -0
  134. package/chunk-WDWZPASX.js +29 -0
  135. package/chunk-WFGNWWJI.js +326 -0
  136. package/{chunk-UJKTI5PG.js → chunk-WRKMXMU7.js} +2 -1
  137. package/{chunk-FIYSMXHY.js → chunk-WWTSEBDF.js} +1 -1
  138. package/{chunk-E2BESSAW.js → chunk-X4O7FJF5.js} +2 -0
  139. package/chunk-X7IA2B7R.js +166 -0
  140. package/{chunk-5ZMIIR23.js → chunk-XBAEM4RI.js} +7 -0
  141. package/{chunk-4JVNURX4.js → chunk-XS5A3EKX.js} +1 -23
  142. package/{chunk-N5Z2V73W.js → chunk-Y2MF4DCJ.js} +1 -1
  143. package/{chunk-KAVGK4ES.js → chunk-Y5OWZQMJ.js} +39 -30
  144. package/{chunk-AK5O76CC.js → chunk-YGCOJNFZ.js} +3 -3
  145. package/{chunk-L5I543VB.js → chunk-YGDYYFRX.js} +20 -24
  146. package/{chunk-XFJ4ZPFC.js → chunk-Z2WZAE4P.js} +128 -149
  147. package/chunk-Z6YTCDU4.js +24 -0
  148. package/chunk-ZEKUFJLW.js +1438 -0
  149. package/{chunk-KN3HEZIQ.js → chunk-ZVOL2MAJ.js} +1 -1
  150. package/{cliAgentConfigHelpers-PO3MVDME.js → cliAgentConfigHelpers-U5OAVAKQ.js} +12 -12
  151. package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-S42VMGB6.js} +1 -1
  152. package/{cliEnvHelpers-VPSJ4XWC.js → cliEnvHelpers-CNMP3RDX.js} +1 -1
  153. package/{cliExecutor-4MAX3PZL.js → cliExecutor-K6FDZTQ2.js} +3 -1
  154. package/{cliLocalAgentRecordReader-Z7CH4K4R.js → cliLocalAgentRecordReader-HVZAQCUD.js} +49 -44
  155. package/{commandRegistry-SDSYBKMC.js → commandRegistry-TME7INFU.js} +98 -94
  156. package/{contentThunks-G3TRPEAU.js → contentThunks-U6OC4R2N.js} +37 -35
  157. package/{cooldownCommands-X7P5M2V5.js → cooldownCommands-U7XSRVJP.js} +4 -4
  158. package/{createAgentAutomationAction-KHA4MXUJ.js → createAgentAutomationAction-IP4LFN3W.js} +37 -35
  159. package/{createDialogAction-KWSBNAPJ.js → createDialogAction-IAGQJ3LH.js} +38 -36
  160. package/{createPageAction-HXKJ7OFG.js → createPageAction-AZ3UIFKA.js} +38 -36
  161. package/{db-CS4ZJQKV.js → db-M7FU2GNK.js} +9 -6
  162. package/{dbSlice-ZJPDIFER.js → dbSlice-DKKMJJYY.js} +13 -12
  163. package/{deleteFile-Q3YDB4ML.js → deleteFile-TQSONMVU.js} +11 -8
  164. package/{dialogCommands-6KQEBHSG.js → dialogCommands-PCDRMBWG.js} +60 -55
  165. package/dialogMessageRecord-OAV77LT7.js +7 -0
  166. package/{dialogNotifyCommand-WIZFFEY3.js → dialogNotifyCommand-O35MWMOS.js} +13 -13
  167. package/{dialogSlice-HXPKFGRL.js → dialogSlice-QAKYN4DE.js} +35 -33
  168. package/{dialogUsageCommand-HTVPR2CX.js → dialogUsageCommand-2SSLTXKO.js} +3 -3
  169. package/{docCreateCommands-XZOLWBRC.js → docCreateCommands-CFQFZOAD.js} +54 -48
  170. package/{docDeleteCommands-ZSO4LGWE.js → docDeleteCommands-5CPNTIIS.js} +56 -50
  171. package/{docReadCommands-TTMXCDER.js → docReadCommands-XQILYSAJ.js} +54 -48
  172. package/{docStore-A2B3GH33.js → docStore-GIVRT7TQ.js} +15 -14
  173. package/{docUpdateCommands-PRG6WOXL.js → docUpdateCommands-VETKSUDD.js} +54 -48
  174. package/fetchMessages-TQEUZD7H.js +1 -1
  175. package/{getPricing-YH3VMSVU.js → getPricing-LF5C4XSI.js} +5 -5
  176. package/{handleSendMessageAction-NWYG3Q72.js → handleSendMessageAction-HKIW4ZNO.js} +70 -66
  177. package/{hostCredentialCreate-WS6D3EHT.js → hostCredentialCreate-6VDJFNDO.js} +118 -104
  178. package/index.js +56 -18
  179. package/keys-RWF7UCB4.js +1 -1
  180. package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
  181. package/{localDialogRead-SVTPA5GY.js → localDialogRead-AV2VKKPG.js} +1 -1
  182. package/{localRecall-2J6QPOK2.js → localRecall-BDYKXB46.js} +3 -1
  183. package/{localRuntimeAdapter-TFYOA6YE.js → localRuntimeAdapter-BQ4F5PZV.js} +120 -107
  184. package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-WCNA4A3G.js} +4 -2
  185. package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-CRNIBOOM.js} +1 -1
  186. package/{machineCommands-WFWV25IR.js → machineCommands-K6XIGOAD.js} +142 -114
  187. package/{machineWsRunDispatch-ZGXC3F2R.js → machineWsRunDispatch-4OO7Z6UM.js} +114 -101
  188. package/mcpLocalAuthorizeCommand-ZP6ESAGE.js +106 -0
  189. package/{memberThunks-JRYNONYV.js → memberThunks-PBJPZ2JU.js} +22 -17
  190. package/{memoryCommands-5WC3T66U.js → memoryCommands-BC6REPQB.js} +4 -4
  191. package/{models-CXINDUJA.js → models-H5NNZRLH.js} +2 -2
  192. package/{overlay-THLKYIWY.js → overlay-JA3SPVUS.js} +7 -3
  193. package/package.json +1 -1
  194. package/{projectArchive-ULJDLUA6.js → projectArchive-G7AOQPRW.js} +43 -41
  195. package/{providerPresetApply-SHT2SUVB.js → providerPresetApply-OPBCAONX.js} +6 -6
  196. package/{providerRegistry-TA7EGCVZ.js → providerRegistry-J2HCVTHE.js} +6 -6
  197. package/{read-Q7GOHGNP.js → read-JEGPITEW.js} +10 -9
  198. package/{readDocTool-Z5OQ6422.js → readDocTool-TE3XIU4Y.js} +1 -1
  199. package/{readlineWorkspace-LTCV2BFW.js → readlineWorkspace-SOW5QUGZ.js} +4412 -4277
  200. package/{removeDialogAgentAction-U3F2MNAY.js → removeDialogAgentAction-CX3OAH4Y.js} +17 -16
  201. package/{runAgentClientLoop-BVIEQUB3.js → runAgentClientLoop-HQJPDFGQ.js} +95 -69
  202. package/{runtimeDoctorCommands-I47JN4HS.js → runtimeDoctorCommands-GUH2YGMH.js} +17 -17
  203. package/{secretCommands-LJXOOYA7.js → secretCommands-NJXFVHZU.js} +4 -4
  204. package/{setDialogExtraReferencesAction-G3WSJ7EM.js → setDialogExtraReferencesAction-CGM67EEQ.js} +16 -15
  205. package/{setPrimaryDialogAgentAction-6FHAHZBB.js → setPrimaryDialogAgentAction-3ABWPPXR.js} +17 -16
  206. package/{settingThunks-AXTBX3Q5.js → settingThunks-AY76OHYX.js} +181 -62
  207. package/{skillDiscovery-B5V23AXP.js → skillDiscovery-MDDKPTW3.js} +4 -3
  208. package/{spaceCommands-IB6FKWIC.js → spaceCommands-G63QGYQO.js} +59 -53
  209. package/{store-JRVN62NM.js → store-Z53ICFL3.js} +3 -1
  210. package/{streamAgentChatTurn-DNYFHBJM.js → streamAgentChatTurn-E3XH2KFD.js} +160 -154
  211. package/{switchDialogAgentAction-UOFIAGPL.js → switchDialogAgentAction-G6EZRKCQ.js} +15 -14
  212. package/{tableCommands-HITDSLHS.js → tableCommands-JI75ZHDI.js} +14 -11
  213. package/{toolApiClient-OGQEBQVX.js → toolApiClient-62UUPDUA.js} +3 -5
  214. package/{tools-JVOJ5HC4.js → tools-7RSX22FT.js} +64 -58
  215. package/tuiRestart-KAAA7TND.js +41 -0
  216. package/{tuiSummaryLlmCaller-7LWYTHLM.js → tuiSummaryLlmCaller-BVNHMWLR.js} +19 -19
  217. package/{updateCommands-RJVCRSBP.js → updateCommands-ASK5XYPH.js} +8 -6
  218. package/{updateDialogTitleAction-Q57BOSXG.js → updateDialogTitleAction-SEWV252V.js} +37 -35
  219. package/{usageCommand-RVKHEPLU.js → usageCommand-JVT5J3DC.js} +3 -3
  220. package/{usageRebuildCommand-GRAFOZF2.js → usageRebuildCommand-IZYYUTEW.js} +4 -4
  221. package/webapi-24RZDIIQ.js +2488 -0
  222. package/{windowsSelfUpdate-KERHIAB4.js → windowsSelfUpdate-BSDIS2J5.js} +2 -2
  223. package/workContext-MM3P5GP5.js +13 -0
  224. package/workContextAccess-UZHDLBUR.js +11 -0
  225. package/workContextWriteNotice-YCSSMHN4.js +7 -0
  226. package/agentRecordCommands-DX2WE6BH.js +0 -176
  227. package/chunk-2THCNKE4.js +0 -147
  228. package/chunk-2WZXXAQD.js +0 -57
  229. package/chunk-652XYZGP.js +0 -352
  230. package/chunk-KEPOVMF4.js +0 -91
  231. package/chunk-OXKUPBAQ.js +0 -776
  232. package/{chunk-BLVSFYQ3.js → chunk-LISC7BD4.js} +3 -3
  233. package/{chunk-SNBZZPYH.js → chunk-OQHIVPG4.js} +3 -3
  234. package/{chunk-47ITIXO7.js → chunk-USGHJSGO.js} +3 -3
  235. package/{offlineMarxistsAgentCommand-4IC3Y4C6.js → offlineMarxistsAgentCommand-XVXUE6G5.js} +3 -3
  236. package/{workloadLifecycle-O2I3NZ2Q.js → workloadLifecycle-YIZ7KLUP.js} +3 -3
@@ -0,0 +1,138 @@
1
+ // packages/agent-runtime/mcpConnectionSpecs.ts
2
+ var MCP_TOOL_NAMES = Object.freeze(["listMcpConnections", "listMcpTools", "callMcpTool"]);
3
+ var failure = (code) => ({ ok: false, error: { code } });
4
+ function sameMcpPlacement(a, b) {
5
+ return a.kind === b.kind && (a.kind !== "machine" || b.kind === "machine" && a.machineId === b.machineId);
6
+ }
7
+ function freezeSchema(value) {
8
+ for (const child of Object.values(value)) if (child && typeof child === "object") freezeSchema(child);
9
+ return Object.freeze(value);
10
+ }
11
+ var text = (maxLength) => ({ type: "string", minLength: 1, maxLength, pattern: "^[^\\u0000-\\u001f\\u007f]+$" });
12
+ var idSchema = { ...text(128), pattern: "^[A-Za-z0-9][A-Za-z0-9_.:-]{0,127}$" };
13
+ var refSchema = { ...text(128), pattern: "^[A-Za-z0-9][A-Za-z0-9_:-]{0,127}$" };
14
+ var revisionSchema = { type: "integer", minimum: 1, maximum: Number.MAX_SAFE_INTEGER };
15
+ var objectSchema = (properties, required = Object.keys(properties)) => ({ type: "object", properties, required, additionalProperties: false });
16
+ var placements = { type: "object", required: ["kind"], properties: { kind: { const: "local" } }, additionalProperties: false };
17
+ var MCP_CONNECTION_WRITE_SCHEMA = {
18
+ type: "object",
19
+ required: ["schemaVersion", "label", "enabled", "placement", "transport", "auth", "allowedToolNames", "readPolicies"],
20
+ properties: {
21
+ schemaVersion: { const: 1 },
22
+ label: { type: "string", minLength: 1, maxLength: 160, pattern: "^[^:/\\\\\\r\\n]+$" },
23
+ enabled: { type: "boolean" },
24
+ presetId: { enum: ["zoho-mail"] },
25
+ placement: placements,
26
+ allowedToolNames: { type: "array", maxItems: 256, items: text(160) },
27
+ 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 } },
28
+ transport: { type: "object", required: ["kind", "endpointRef"], properties: { kind: { const: "streamable-http" }, endpointRef: refSchema }, additionalProperties: false },
29
+ 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 }] }
30
+ },
31
+ additionalProperties: false
32
+ };
33
+ var MCP_CONNECTION_UPDATE_SCHEMA = freezeSchema(objectSchema({
34
+ connectionId: idSchema,
35
+ expectedRevision: revisionSchema,
36
+ connection: MCP_CONNECTION_WRITE_SCHEMA
37
+ }));
38
+ var MCP_LIST_TOOLS_INPUT_SCHEMA = freezeSchema(objectSchema({
39
+ connectionId: idSchema,
40
+ expectedRevision: revisionSchema,
41
+ cursor: text(2048)
42
+ }, ["connectionId", "expectedRevision"]));
43
+ var MCP_CALL_TOOL_INPUT_SCHEMA = freezeSchema(objectSchema({
44
+ connectionId: idSchema,
45
+ expectedRevision: revisionSchema,
46
+ catalogRevision: idSchema,
47
+ toolName: text(256),
48
+ arguments: { type: "object", additionalProperties: {} }
49
+ }));
50
+ function isRecord(value) {
51
+ if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
52
+ return Object.getPrototypeOf(value) === Object.prototype || Object.getPrototypeOf(value) === null;
53
+ }
54
+ function matches(schema, value) {
55
+ if (schema.oneOf && schema.oneOf.filter((branch) => matches(branch, value)).length !== 1) return false;
56
+ if (schema.const !== void 0 && value !== schema.const) return false;
57
+ if (schema.enum && (typeof value !== "string" || !schema.enum.includes(value))) return false;
58
+ switch (schema.type) {
59
+ case "string":
60
+ return typeof value === "string" && value.length >= (schema.minLength ?? 0) && value.length <= (schema.maxLength ?? Infinity) && (!schema.pattern || new RegExp(schema.pattern, "u").test(value));
61
+ case "integer":
62
+ return typeof value === "number" && Number.isSafeInteger(value) && value >= (schema.minimum ?? -Infinity) && value <= (schema.maximum ?? Infinity);
63
+ case "boolean":
64
+ return typeof value === "boolean";
65
+ case "array":
66
+ return Array.isArray(value) && value.length <= (schema.maxItems ?? Infinity) && value.every((item) => !schema.items || matches(schema.items, item));
67
+ case "object": {
68
+ if (!isRecord(value) || Object.keys(value).length > (schema.maxProperties ?? Infinity)) return false;
69
+ if (schema.required?.some((key) => !Object.hasOwn(value, key))) return false;
70
+ return Object.entries(value).every(([key, entry]) => {
71
+ if (schema.propertyNames && !matches(schema.propertyNames, key)) return false;
72
+ const property = schema.properties && Object.hasOwn(schema.properties, key) ? schema.properties[key] : schema.additionalProperties;
73
+ return property === void 0 || property === false ? property !== false : matches(property, entry);
74
+ });
75
+ }
76
+ default:
77
+ return true;
78
+ }
79
+ }
80
+ function isBoundedJson(value, depth = 0, budget = { nodes: 0, chars: 0 }) {
81
+ if (++budget.nodes > 1e4 || depth > 32) return false;
82
+ if (typeof value === "string") return (budget.chars += value.length) <= 262144;
83
+ if (value === null || typeof value === "boolean") return true;
84
+ if (typeof value === "number") return Number.isFinite(value);
85
+ if (!Array.isArray(value) && !isRecord(value)) return false;
86
+ return Object.entries(Object.getOwnPropertyDescriptors(value)).every(([key, descriptor]) => {
87
+ if (Array.isArray(value) && key === "length") return true;
88
+ if (["__proto__", "prototype", "constructor"].includes(key) || !Object.hasOwn(descriptor, "value")) return false;
89
+ budget.chars += key.length;
90
+ return budget.chars <= 262144 && isBoundedJson(descriptor.value, depth + 1, budget);
91
+ });
92
+ }
93
+ function parse(schema, value) {
94
+ if (!isBoundedJson(value) || !matches(schema, value)) return failure("invalid_input");
95
+ return { ok: true, value: JSON.parse(JSON.stringify(value)) };
96
+ }
97
+ function parseMcpConnectionWrite(value) {
98
+ const parsed = parse(MCP_CONNECTION_WRITE_SCHEMA, value);
99
+ if (!parsed.ok) {
100
+ if (isRecord(value) && Object.getOwnPropertyDescriptor(value, "schemaVersion")?.value !== void 0 && Object.getOwnPropertyDescriptor(value, "schemaVersion")?.value !== 1) return failure("unsupported_version");
101
+ return parsed;
102
+ }
103
+ const connection = parsed.value;
104
+ 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");
105
+ return parsed;
106
+ }
107
+ function parseMcpListToolsInput(value) {
108
+ return parse(MCP_LIST_TOOLS_INPUT_SCHEMA, value);
109
+ }
110
+ function parseMcpCallToolInput(value) {
111
+ return parse(MCP_CALL_TOOL_INPUT_SCHEMA, value);
112
+ }
113
+ function toMcpConnectionSummary(connection) {
114
+ return {
115
+ schemaVersion: 1,
116
+ id: connection.id,
117
+ label: connection.label,
118
+ enabled: connection.enabled,
119
+ revision: connection.revision,
120
+ ...connection.presetId ? { presetId: connection.presetId } : {},
121
+ placement: connection.placement.kind === "machine" ? { kind: "machine", machineId: connection.placement.machineId } : { kind: connection.placement.kind },
122
+ transportKind: connection.transport.kind,
123
+ authKind: connection.auth.kind,
124
+ endpointConfigured: true,
125
+ credentialConfigured: connection.auth.kind === "bearer"
126
+ };
127
+ }
128
+
129
+ export {
130
+ MCP_TOOL_NAMES,
131
+ sameMcpPlacement,
132
+ MCP_LIST_TOOLS_INPUT_SCHEMA,
133
+ MCP_CALL_TOOL_INPUT_SCHEMA,
134
+ parseMcpConnectionWrite,
135
+ parseMcpListToolsInput,
136
+ parseMcpCallToolInput,
137
+ toMcpConnectionSummary
138
+ };
@@ -1,3 +1,7 @@
1
+ import {
2
+ googleSessionRequestToken,
3
+ isGoogleAuthoritySession
4
+ } from "./chunk-ULLHVDTZ.js";
1
5
  import {
2
6
  selectIdentityToken
3
7
  } from "./chunk-PXYBUFDB.js";
@@ -2191,17 +2195,17 @@ var logRequestFailure = (level, message) => {
2191
2195
  console.error(message);
2192
2196
  };
2193
2197
  var noloRequest = async (server, config, state, signal) => {
2194
- const headers = config.headers || {
2195
- "Content-Type": "application/json"
2196
- };
2198
+ const headers = { ...config.headers || { "Content-Type": "application/json" } };
2197
2199
  const token = selectIdentityToken(state) ?? null;
2198
- if (token) {
2199
- headers["Authorization"] = `Bearer ${token}`;
2200
+ const requestToken = googleSessionRequestToken(token ?? void 0, server);
2201
+ if (requestToken) {
2202
+ headers["Authorization"] = `Bearer ${requestToken}`;
2200
2203
  }
2201
2204
  return fetch(server + config.url, {
2202
2205
  method: config.method || "GET",
2203
2206
  headers,
2204
2207
  body: config.body,
2208
+ ...isGoogleAuthoritySession(token) ? { credentials: "omit", redirect: "error" } : {},
2205
2209
  signal,
2206
2210
  // 传递 AbortSignal
2207
2211
  ...config.keepalive ? { keepalive: true } : {}
@@ -2302,7 +2306,9 @@ var xhrUploadRequest = (url, formData, state, onProgress, signal) => new Promise
2302
2306
  });
2303
2307
  var noloUploadRequest = async (server, uploadConfig, state, signal, onProgress) => {
2304
2308
  const { file, metadata, customKey, userId } = uploadConfig;
2309
+ const googleSession = isGoogleAuthoritySession(selectIdentityToken(state));
2305
2310
  try {
2311
+ googleSessionRequestToken(selectIdentityToken(state) ?? void 0, server);
2306
2312
  const isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative";
2307
2313
  const isRNFile = (f) => f && typeof f.uri === "string" && typeof f.name === "string" && typeof f.type === "string";
2308
2314
  if (isReactNative && isRNFile(file)) {
@@ -2328,7 +2334,7 @@ var noloUploadRequest = async (server, uploadConfig, state, signal, onProgress)
2328
2334
  if (userId) {
2329
2335
  formData.append("userId", userId);
2330
2336
  }
2331
- if (onProgress && typeof XMLHttpRequest !== "undefined") {
2337
+ if (onProgress && !googleSession && typeof XMLHttpRequest !== "undefined") {
2332
2338
  const result = await xhrUploadRequest(
2333
2339
  server + `${API_ENDPOINTS.DATABASE}/upload`,
2334
2340
  formData,
@@ -2361,6 +2367,7 @@ var noloUploadRequest = async (server, uploadConfig, state, signal, onProgress)
2361
2367
  `Upload request failed for ${customKey} on ${server}: HTTP ${response.status}`
2362
2368
  );
2363
2369
  }
2370
+ if (response.ok && googleSession && onProgress) onProgress(file.size, file.size);
2364
2371
  return response.ok;
2365
2372
  } catch (error) {
2366
2373
  if (!isAbortError(error)) {
@@ -1,15 +1,20 @@
1
1
  import {
2
2
  refreshSubscriptionQuotas
3
- } from "./chunk-QVBXJNZ2.js";
3
+ } from "./chunk-TUSTONB3.js";
4
4
  import {
5
5
  getReadableCliDb
6
- } from "./chunk-YFLVRVYK.js";
6
+ } from "./chunk-AVJDELEA.js";
7
7
  import {
8
8
  clearCliLocalRuntimePreparedAgentCache
9
- } from "./chunk-KO63FPG3.js";
9
+ } from "./chunk-7AJRJGSQ.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-6D7NVU66.js";
24
- import {
25
- BIGMODEL_PROVIDER_TARGET,
26
- buildCredentialUseGrant,
27
- verifyCredentialUseGrant
28
- } from "./chunk-XFYFMTOM.js";
28
+ } from "./chunk-BXSMFPTG.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-2THCNKE4.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-ZCH37KAL.js");
259
+ const { verifyCustomProvider } = await import("./agentProviderCommands-O3Q25PKU.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,10 +1,10 @@
1
1
  import {
2
2
  getRuntimeServerContext,
3
3
  scheduleDeleteReplication
4
- } from "./chunk-2VUZSVAS.js";
4
+ } from "./chunk-GXXY2NL3.js";
5
5
  import {
6
6
  fetchFromClientDb
7
- } from "./chunk-AGP3YSEC.js";
7
+ } from "./chunk-ULLHVDTZ.js";
8
8
  import {
9
9
  selectIdentityToken
10
10
  } from "./chunk-PXYBUFDB.js";