nolo-cli 0.258.0-alpha.1 → 0.260.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.
- package/README.md +1 -1
- package/{_executeModel-E2LL7FPO.js → _executeModel-EO6JFCOF.js} +97 -83
- package/accountResolver-NGICIMEE.js +1 -1
- package/{action-C6IQAKN4.js → action-WIA56QT4.js} +12 -10
- package/{addContentAction-53364YDW.js → addContentAction-OCMWZLYG.js} +14 -13
- package/{addDialogAgentAction-U5DD5EN5.js → addDialogAgentAction-ER2NZ7BC.js} +20 -24
- package/{agentDeleteCommand-ORNRRKJO.js → agentDeleteCommand-KSXSNPAU.js} +184 -146
- package/{agentEmailCommands-2ALVFOD5.js → agentEmailCommands-NXRWS7NS.js} +142 -126
- package/{agentGrantCommands-L6O2HVJI.js → agentGrantCommands-D2S7LCTU.js} +8 -5
- package/{agentListCommands-6I4NQPR4.js → agentListCommands-PFXGZZ3Y.js} +87 -68
- package/{agentMachineCommands-PNHTIJ6A.js → agentMachineCommands-2Q55CSL4.js} +68 -59
- package/{agentProviderCommands-QLTABYR7.js → agentProviderCommands-EUNS7Y2Z.js} +10 -7
- package/{agentPullCommand-2EYJ5ENC.js → agentPullCommand-S2VMPSWL.js} +9 -6
- package/agentRecordCommands-FUFI526H.js +210 -0
- package/agentRun-ZNMUPDHF.js +250 -0
- package/agentRunCommand-ISVQ2UYC.js +248 -0
- package/{agentRunControl-3TIVJ3SR.js → agentRunControl-NEK44LDM.js} +19 -12
- package/{agentRuntimeLocal-3MAEFYSB.js → agentRuntimeLocal-SST4EPLT.js} +62 -49
- package/{agentSlice-KOQXUPKT.js → agentSlice-4ZJJJN4M.js} +15 -18
- package/appConfigCommands-MPHS6FHD.js +417 -0
- package/{appDeleteCommands-FEPN62UR.js → appDeleteCommands-W26WGENW.js} +68 -58
- package/{appDeployCommands-DPFEWFYZ.js → appDeployCommands-ER7IOF5E.js} +74 -59
- package/{appDeployStatusCommands-LQ5X5KVX.js → appDeployStatusCommands-VKLL3A77.js} +68 -58
- package/{appGetCommands-W3JBBIF7.js → appGetCommands-P6GXJNUD.js} +74 -58
- package/{appListCommands-LUHZS7JU.js → appListCommands-ACA2IZZM.js} +74 -58
- package/appMigrateCommands-OGF4E2W6.js +230 -0
- package/appSourceCommands-GAHVBRUM.js +279 -0
- package/{authCommand-HKSXJT3J.js → authCommand-PXE7NZTQ.js} +26 -40
- package/{authCommands-T5FODCEG.js → authCommands-AZPYXTUB.js} +20 -17
- package/{builtinSkillRegistry-FVEEO4U2.js → builtinSkillRegistry-6XUWMAV5.js} +8 -6
- package/{chromeOpsCommands-4UIKH26F.js → chromeOpsCommands-7UKKUOBU.js} +68 -18
- package/{chunk-KO5PFS74.js → chunk-2CKFROQS.js} +2454 -1115
- package/{chunk-6N4IKMTH.js → chunk-2I4R6ZRV.js} +40 -26
- package/{chunk-FXEPZKNJ.js → chunk-2MIZHEND.js} +506 -64
- package/{chunk-TLE77UJ5.js → chunk-2OROOEOQ.js} +0 -1
- package/{chunk-6RSNVJGO.js → chunk-2ZBPWX7N.js} +4 -4
- package/chunk-35JIFLIG.js +30 -0
- package/{chunk-ZYPXOQS2.js → chunk-3EPED3UO.js} +1 -1
- package/{chunk-DNNPARJK.js → chunk-3QMN3T6L.js} +50 -37
- package/{chunk-DMPZMYH4.js → chunk-3R4AYHJR.js} +13 -1
- package/{chunk-HPDLPEUG.js → chunk-42JZNSAY.js} +267 -234
- package/{chunk-223KZUJ6.js → chunk-4HZCBA4Q.js} +18 -15
- package/{chunk-C5A54QS7.js → chunk-4INJGWE3.js} +18 -5
- package/chunk-4IVMDQBA.js +261 -0
- package/chunk-4Y6CZ2N4.js +82 -0
- package/{chunk-OKAXQFON.js → chunk-52BNL6GP.js} +4 -4
- package/{chunk-KZ4A7EIV.js → chunk-56OAS5RZ.js} +1 -1
- package/{chunk-QGFLVQ6E.js → chunk-6KUTNAPU.js} +4 -14
- package/{chunk-MNFUKRRU.js → chunk-6XAAKRJB.js} +7 -7
- package/{chunk-P27E22MA.js → chunk-6Z6DGDPI.js} +1 -1
- package/chunk-72VWN4VK.js +51 -0
- package/{chunk-2RZBFJEG.js → chunk-75FZ2Z7C.js} +16027 -17392
- package/{chunk-ADYWV732.js → chunk-76B6YUQS.js} +264 -177
- package/{chunk-AKBNCTPY.js → chunk-76K4GTY5.js} +1 -1
- package/{chunk-ZMJMHXYX.js → chunk-7HUCUD2I.js} +3 -3
- package/chunk-7LR2IFUH.js +100 -0
- package/{chunk-S73EPYNC.js → chunk-7LS5ATRP.js} +20 -6
- package/{chunk-Y2TCTNUD.js → chunk-7QO6YSA4.js} +4 -4
- package/{chunk-TF427WGH.js → chunk-7RYH7YIY.js} +19 -27
- package/{chunk-KHYSFS3W.js → chunk-A454UXB6.js} +148 -73
- package/chunk-AMNZPQCY.js +635 -0
- package/chunk-AMTF6FJD.js +356 -0
- package/{chunk-MUDMYJCM.js → chunk-AQNWWJLH.js} +2 -56
- package/{chunk-WSLL7VV4.js → chunk-B4NA5UJR.js} +9 -9
- package/{chunk-LHCGKAFO.js → chunk-BKP325XS.js} +184 -112
- package/{chunk-PENRYZ4D.js → chunk-BPB3T5EU.js} +4 -7
- package/{chunk-46FETNLF.js → chunk-BTIFQBYW.js} +7 -6
- package/{chunk-2JHGUL5K.js → chunk-BVYHE6QD.js} +2 -2
- package/{chunk-KXOPLLFP.js → chunk-CA7LGAHV.js} +69 -9
- package/{chunk-2FZVXOFX.js → chunk-CEIWXKHP.js} +112 -200
- package/{chunk-AIFQKNPP.js → chunk-CL33RFD7.js} +1 -1
- package/{chunk-JAGD4PSH.js → chunk-CRGPRAJ4.js} +46 -42
- package/{chunk-P4R5KXU7.js → chunk-CW6LRDSF.js} +5 -5
- package/{chunk-BD22OFDQ.js → chunk-CZHIOBBK.js} +8 -3
- package/chunk-D3ONA3FP.js +762 -0
- package/chunk-D3SAQ6T7.js +1697 -0
- package/{chunk-PIVTQRX6.js → chunk-DDKA6V6X.js} +111 -12
- package/{chunk-KQHEGELM.js → chunk-DEAII55O.js} +16 -6
- package/{chunk-J55F3IEZ.js → chunk-DKJQEFNG.js} +1 -1
- package/chunk-DLXL4NSL.js +1179 -0
- package/{chunk-EJQE5HB7.js → chunk-DSBRIUX5.js} +4 -2
- package/{chunk-XRGBJHZX.js → chunk-E36V7MPY.js} +9 -5
- package/{chunk-4YPH5KRA.js → chunk-EDKMRDET.js} +1 -1
- package/chunk-EJHLDJWZ.js +58 -0
- package/{chunk-E4HBZDV6.js → chunk-EMFZXJTN.js} +15 -47
- package/chunk-ER6NTALN.js +34 -0
- package/chunk-EUHMI5KG.js +101 -0
- package/{chunk-YQLAFJRQ.js → chunk-FBNVJ2TO.js} +1 -1
- package/{chunk-EXD7S7QW.js → chunk-FF5ZRKW7.js} +12 -7
- package/{chunk-7PTWFSZZ.js → chunk-FGD4NMTP.js} +4 -4
- package/{chunk-6XIE5ZGI.js → chunk-FGFJUFPS.js} +5 -6
- package/chunk-FI4DPLR7.js +902 -0
- package/chunk-FKVLQNGJ.js +25 -0
- package/{chunk-JCQ3WCQ3.js → chunk-FOC4TORM.js} +69 -3
- package/{chunk-JPXACKSW.js → chunk-G22P2J7O.js} +30 -81
- package/{chunk-7WHCIA5V.js → chunk-G5IAIGGD.js} +3 -8
- package/{chunk-IZHENZQ5.js → chunk-G5JGA5YM.js} +180 -31
- package/{chunk-7EUJ65PF.js → chunk-GMBWWBSJ.js} +782 -449
- package/{chunk-WS36XPJD.js → chunk-GYFKKTDI.js} +82 -6
- package/{chunk-APXC3SQO.js → chunk-GZ4I5EMM.js} +9 -9
- package/{chunk-324FWHUA.js → chunk-HHXF57CL.js} +12 -3
- package/chunk-HJTI7RZV.js +94 -0
- package/{chunk-JGVWHUYK.js → chunk-HPIY372N.js} +7 -7
- package/{chunk-Q2MPKE4B.js → chunk-HVRG27HI.js} +76 -26
- package/{chunk-HDKMVYNJ.js → chunk-I3NWAILT.js} +6 -4
- package/{chunk-MD7O2NN2.js → chunk-IM7HCFB4.js} +313 -275
- package/{chunk-DWES4SXY.js → chunk-INN2PBW7.js} +1 -1
- package/chunk-IV6VUVLJ.js +88 -0
- package/chunk-J42X32PV.js +472 -0
- package/{chunk-V6S5OZSP.js → chunk-JHQNWV2C.js} +4441 -2569
- package/{chunk-R7XWZDOH.js → chunk-JUMQJSQF.js} +1423 -282
- package/{chunk-BIDSIRTS.js → chunk-JUNYPVL6.js} +10 -16
- package/chunk-JVEKCQAP.js +222 -0
- package/{chunk-JW6OURKM.js → chunk-KAHYBAEN.js} +215 -473
- package/chunk-KDDXC2IH.js +148 -0
- package/chunk-KGKTN2NX.js +25 -0
- package/chunk-KGWE224L.js +246 -0
- package/chunk-L3UFGEDU.js +17157 -0
- package/{chunk-CBIGMWMI.js → chunk-LHJB4BXJ.js} +1 -1
- package/{chunk-DCTQJDDQ.js → chunk-LIH7WSX5.js} +23 -379
- package/chunk-LJOPY4TL.js +443 -0
- package/{chunk-TRRXYFTR.js → chunk-LOFRSJX2.js} +1 -0
- package/{chunk-SQL7YNED.js → chunk-LPXBBC32.js} +71 -5
- package/chunk-LXP53WGF.js +168 -0
- package/chunk-MDAYRIP7.js +1889 -0
- package/chunk-MRACVEPZ.js +7 -0
- package/chunk-NHLLXINQ.js +8 -0
- package/{chunk-VQR2ACSC.js → chunk-NTBTVKKB.js} +17 -25
- package/{chunk-LVZVSLKO.js → chunk-O7ZY6SUK.js} +5 -22
- package/{chunk-APQBEIOQ.js → chunk-P4XAHM4B.js} +1 -1
- package/chunk-PL5RKESU.js +40 -0
- package/{chunk-U2H426FE.js → chunk-PQ3QZMJK.js} +20 -4
- package/chunk-Q5FJJ6XI.js +103 -0
- package/{createAgentAutomationAction-HEZ3G5L4.js → chunk-QKM55LP2.js} +3 -160
- package/{chunk-SIHOY5YI.js → chunk-QZCLCAYC.js} +170 -164
- package/{chunk-FE7G6DSP.js → chunk-R72QWIFO.js} +14 -4
- package/{chunk-JLZJL3WC.js → chunk-RDZ5OIAT.js} +370 -39
- package/{chunk-5RGU3J7P.js → chunk-REAE2SZK.js} +0 -1
- package/chunk-RF576RYE.js +117 -0
- package/chunk-RI7SXDJW.js +1317 -0
- package/{chunk-JOJH3KWV.js → chunk-RIOAPUGV.js} +242 -25
- package/{chunk-7B55IVLF.js → chunk-RL6H2A2Z.js} +2561 -4059
- package/{chunk-BZLGPM5B.js → chunk-RNLKWUVY.js} +7 -12
- package/{chunk-BB76X6O4.js → chunk-RWXHGPWJ.js} +1 -1
- package/chunk-S7BF2OGX.js +432 -0
- package/{chunk-6VEO7Z3Y.js → chunk-SD4MBKZ7.js} +6 -6
- package/{chunk-PNBQ5JTA.js → chunk-SGEBRBF3.js} +7 -4
- package/{chunk-6SOWMEAY.js → chunk-SR57FDTX.js} +2 -258
- package/{chunk-CEKRIR22.js → chunk-SU4NCTW4.js} +1 -1
- package/{chunk-LJ6WIQZO.js → chunk-SX6PDLBZ.js} +279 -149
- package/{chunk-6VNBJ7GI.js → chunk-T4WU747C.js} +5 -5
- package/{chunk-53W5BXLN.js → chunk-TCOHWKDM.js} +54 -55
- package/{chunk-KO5GO2BC.js → chunk-TXMFSGRY.js} +1 -1
- package/{chunk-UUCYUN6Y.js → chunk-UB7NV7NN.js} +1 -1
- package/{chunk-CVDJUPBN.js → chunk-UOLGGEEC.js} +774 -119
- package/{chunk-ADUCBH4M.js → chunk-USFG4EWQ.js} +51 -42
- package/{chunk-LLUBUHNT.js → chunk-UYZOBSSO.js} +5 -9
- package/{chunk-ONTHDYFU.js → chunk-VDC3BW24.js} +24 -10
- package/chunk-VH356OQ3.js +425 -0
- package/{chunk-U6QNVOR5.js → chunk-VKM7DOYB.js} +130 -6
- package/{chunk-3GGVFHWI.js → chunk-VPAO5WQX.js} +17 -14
- package/{chunk-OYUMJMC5.js → chunk-W2RQYNPI.js} +5 -0
- package/{chunk-C63KMRJE.js → chunk-W2Z5E2R7.js} +126 -698
- package/{chunk-4ZCTKB27.js → chunk-W5GKF5ZW.js} +1 -0
- package/{chunk-NUHQO3RB.js → chunk-WIVVNJUS.js} +1 -1
- package/chunk-WLJNHFEB.js +1710 -0
- package/chunk-WMBJDXMY.js +408 -0
- package/chunk-WSQLCWLQ.js +201 -0
- package/{chunk-YN23INFZ.js → chunk-WXD6Y7DW.js} +23 -2
- package/{chunk-RQKTCHQM.js → chunk-WY6DMHMG.js} +1 -1
- package/{chunk-MLK3FEXG.js → chunk-XJW6SLBZ.js} +3 -3
- package/{chunk-7BIJFGKS.js → chunk-XQFDCRG3.js} +105 -51
- package/chunk-XT6C2QZW.js +46 -0
- package/{chunk-NRUYSNSZ.js → chunk-Y7THFNVJ.js} +9 -9
- package/{chunk-ZEZC7IIM.js → chunk-YFSM2366.js} +35 -35
- package/{chunk-RD3QLZQV.js → chunk-YM5XULB2.js} +324 -2
- package/{chunk-BD5YJJLJ.js → chunk-YNP3ITPU.js} +19 -12
- package/{chunk-U35UUM5K.js → chunk-YOUSQIIK.js} +1 -1
- package/{chunk-RIWKZT7E.js → chunk-YRPIUIEQ.js} +11 -9
- package/{chunk-Z3JZ2R5F.js → chunk-YU235GGN.js} +25 -8
- package/chunk-YWEZSBLL.js +790 -0
- package/chunk-Z3KTXWWB.js +76 -0
- package/{chunk-YLAHYLDQ.js → chunk-ZC3CMUKU.js} +2 -89
- package/chunk-ZD7OULYZ.js +368 -0
- package/{chunk-5P3PPQVP.js → chunk-ZQAADXSF.js} +1 -1
- package/{chunk-HQUGB2HM.js → chunk-ZTCMXPIS.js} +62 -50
- package/{cliAgentConfigHelpers-BXHQ3PXP.js → cliAgentConfigHelpers-KMXS7JP5.js} +20 -14
- package/{cliAuthorityBrokerClient-TFNXJLXL.js → cliAuthorityBrokerClient-3SKOA7OZ.js} +3 -1
- package/cliAuthorityBrokerProcess-DCCUT4YQ.js +34 -0
- package/{cliEnvHelpers-CNMP3RDX.js → cliEnvHelpers-YDGDHIEE.js} +5 -2
- package/{cliExecutor-K6FDZTQ2.js → cliExecutor-Z62UBJ5S.js} +12 -6
- package/cliLocalAgentRecordReader-X2YHEBWI.js +113 -0
- package/cloudAutomationCommands-C6Q3BFRB.js +310 -0
- package/{commandRegistry-QKOJ5FIC.js → commandRegistry-TYYYTW5E.js} +263 -120
- package/{contentThunks-ZDBDDZP3.js → contentThunks-E6BJ5YSX.js} +45 -43
- package/{cooldownCommands-Y4ZQQ35D.js → cooldownCommands-FPAFS7XG.js} +1 -1
- package/createAgentAutomationAction-L3NLCIIW.js +172 -0
- package/{createDialogAction-DK62W5VA.js → createDialogAction-QSWKRPWQ.js} +46 -42
- package/{createPageAction-W6NXHVKO.js → createPageAction-ZVVUT4CZ.js} +49 -45
- package/{db-VR74ADGC.js → db-KTQ3LL2Q.js} +3 -3
- package/{dbSlice-RWPSVHBC.js → dbSlice-SEVKNA7A.js} +21 -16
- package/deleteDbKey-43MTK2DI.js +86 -0
- package/{dialogCommands-Z24IDINY.js → dialogCommands-UVMTIFSA.js} +80 -66
- package/{dialogMessageRecord-OAV77LT7.js → dialogMessageRecord-2HJTEXQX.js} +1 -1
- package/{dialogNotifyCommand-IASQGEMW.js → dialogNotifyCommand-LMWF7EQI.js} +22 -14
- package/dialogPortabilityCommands-PAMLEBST.js +3036 -0
- package/{dialogSlice-62GISS77.js → dialogSlice-VHPXENDZ.js} +43 -42
- package/{dialogTraceCommand-FDINAIZ6.js → dialogTraceCommand-SO2WKAXW.js} +83 -69
- package/{dialogUsageCommand-WJ3U6KZU.js → dialogUsageCommand-EUO6JXTD.js} +6 -3
- package/{docCreateCommands-SXA4TMGJ.js → docCreateCommands-H4RLIUNX.js} +68 -59
- package/{docDeleteCommands-ELXSZK3F.js → docDeleteCommands-OVAKCBMT.js} +68 -59
- package/{docReadCommands-DFLAQPI4.js → docReadCommands-KFISIUVA.js} +67 -58
- package/{docStore-UWF2PMCB.js → docStore-X7BEA735.js} +16 -17
- package/{docUpdateCommands-KB6M5HUH.js → docUpdateCommands-VOEER36L.js} +68 -59
- package/ebookDownloaderAgentCommand-2DHPGEOQ.js +674 -0
- package/{fetchMessages-TQEUZD7H.js → fetchMessages-RGPIYEPZ.js} +2 -2
- package/{getPricing-5BLZRPTM.js → getPricing-BK6CUBAE.js} +8 -4
- package/{handleSendMessageAction-ZV6OQPQG.js → handleSendMessageAction-GQ2KKOET.js} +265 -119
- package/{hostCredentialCreate-3IA5IJFG.js → hostCredentialCreate-PJAIKZQP.js} +138 -122
- package/index.js +35 -21
- package/{keys-RWF7UCB4.js → keys-FXEGMKSG.js} +2 -2
- package/localAutomationCommands-UU66LOWB.js +198 -0
- package/localAutomationRuntime-SW4R42SZ.js +60 -0
- package/{localDialogRead-BJJT3TF5.js → localDialogRead-W2EVXISA.js} +2 -2
- package/{localRuntimeAdapter-SSG5ORLZ.js → localRuntimeAdapter-WRBLXFUZ.js} +136 -119
- package/localRuntimeAuthority-3YDFZD3L.js +44 -0
- package/{localRuntimeDb-ZJFGNHML.js → localRuntimeDb-CJWJK47G.js} +1 -1
- package/{machineCommands-4WKJ3TLO.js → machineCommands-JFYED66N.js} +251 -357
- package/{machineInfo-LWHTEBHJ.js → machineInfo-BJIU3WQ5.js} +4 -2
- package/machineWsRunDispatch-CZUV2FXE.js +227 -0
- package/{mcpLocalAuthorizeCommand-RBXJDE6J.js → mcpLocalAuthorizeCommand-HLU72QME.js} +40 -22
- package/mcpLocalManageCommands-OHHU6F5C.js +212 -0
- package/{memberThunks-43B7UYC5.js → memberThunks-FJW4GPM5.js} +102 -22
- package/{memoryCommands-BC6REPQB.js → memoryCommands-2RLHDMU2.js} +25 -34
- package/{models-ZX2BYIMB.js → models-TOXYINNM.js} +3 -2
- package/{offlineMarxistsAgentCommand-XVXUE6G5.js → offlineMarxistsAgentCommand-WZBJBCPZ.js} +16 -22
- package/package.json +3 -3
- package/parityCommands-7EWR34P3.js +613 -0
- package/{projectArchive-JN43WW4E.js → projectArchive-JIVRMXVV.js} +49 -45
- package/{providerPresetApply-NTJUINI6.js → providerPresetApply-IRJ56XIZ.js} +12 -16
- package/{providerRegistry-W45SLUV6.js → providerRegistry-26PAUYH2.js} +3 -13
- package/{read-KG6INYUT.js → read-6YR57D6V.js} +11 -10
- package/{readDocTool-N3GA52JR.js → readDocTool-NKOGL2MW.js} +5 -1
- package/{readlineWorkspace-D6EUSB2Q.js → readlineWorkspace-V26AN2FL.js} +926 -572
- package/{rememberExplicit-CPAPONSI.js → rememberExplicit-7KX4HXQC.js} +4 -4
- package/remove-BF33RCTH.js +32 -0
- package/{removeDialogAgentAction-EEVSOQOJ.js → removeDialogAgentAction-GWHBWF4W.js} +22 -26
- package/{runAgentClientLoop-FEZTSUSJ.js → runAgentClientLoop-EKD2EEEA.js} +117 -82
- package/{runtimeDoctorCommands-V3M3JTUV.js → runtimeDoctorCommands-IALUR5BZ.js} +23 -16
- package/{secretCommands-53NZFD4T.js → secretCommands-CSTQYB6T.js} +2 -2
- package/{setDialogExtraReferencesAction-DNO5POHA.js → setDialogExtraReferencesAction-RL6FGO7T.js} +16 -17
- package/{setPrimaryDialogAgentAction-QABBEO4C.js → setPrimaryDialogAgentAction-XJASBB3K.js} +23 -27
- package/{settingThunks-DVKG4X4S.js → settingThunks-ZT7ZYXXL.js} +170 -497
- package/{skillDiscovery-5GEGWJ6N.js → skillDiscovery-IUEZZG2B.js} +3 -3
- package/{spaceCommands-4ACQQNZL.js → spaceCommands-65WQHVOI.js} +194 -90
- package/spacePruneCommand-PTMRUWYJ.js +233 -0
- package/{store-Z53ICFL3.js → store-WSAVTR32.js} +3 -1
- package/{streamAgentChatTurn-I425SVYJ.js → streamAgentChatTurn-B5NICHZW.js} +225 -137
- package/{switchDialogAgentAction-KYWJSGOO.js → switchDialogAgentAction-X6DFOIAX.js} +19 -23
- package/{tableCommands-EFA754RE.js → tableCommands-6E77VD73.js} +28 -49
- package/{toolApiClient-N5PYW2R3.js → toolApiClient-GTTWEV6P.js} +15 -4
- package/{tools-WBPFTSMK.js → tools-UMCPIQX6.js} +73 -63
- package/{tuiRestart-VN5F4GYU.js → tuiRestart-O7UDLNQU.js} +20 -13
- package/tuiSummaryLlmCaller-7APIUIIV.js +52 -0
- package/{updateCommands-VQEBBIGO.js → updateCommands-DXDIAQFS.js} +12 -7
- package/{updateDialogTitleAction-VB5DTVXV.js → updateDialogTitleAction-HZLKWVKM.js} +57 -58
- package/{usageCommand-WI6SQOPB.js → usageCommand-WYLNBDHB.js} +6 -8
- package/{usageRebuildCommand-WQRLLZAT.js → usageRebuildCommand-AEUPY2PE.js} +11 -15
- package/{windowsSelfUpdate-ZEZKGX4M.js → windowsSelfUpdate-SXSVXK4X.js} +2 -2
- package/workContext-ZAW6VXT7.js +18 -0
- package/workContextQueryProjection-CACY5VFE.js +23 -0
- package/{workloadLifecycle-DYX5ZMAT.js → workloadLifecycle-P2SJVV3S.js} +1 -1
- package/agentFavoriteCommands-7LOP3HUD.js +0 -186
- package/agentRecordCommands-BEZPBYBM.js +0 -194
- package/agentRunCommand-2T72V5KY.js +0 -232
- package/chunk-2MBTWINN.js +0 -89
- package/chunk-523DITKR.js +0 -32
- package/chunk-BUDVRYES.js +0 -2213
- package/chunk-BXGU6274.js +0 -862
- package/chunk-BZMDWGQQ.js +0 -47
- package/chunk-GAHJLSDO.js +0 -107
- package/chunk-GYX6XTAI.js +0 -84
- package/chunk-HNUWUO75.js +0 -93
- package/chunk-HSBHS6KT.js +0 -33401
- package/chunk-KG27JIG4.js +0 -136
- package/chunk-OB4FBZXJ.js +0 -364
- package/chunk-OKH74FML.js +0 -3746
- package/chunk-OLZBQWZU.js +0 -6
- package/chunk-OOV5JN25.js +0 -1317
- package/chunk-OQFOE4SJ.js +0 -405
- package/chunk-PXYBUFDB.js +0 -53
- package/chunk-R3FZHW4Q.js +0 -103
- package/chunk-R3MV2GII.js +0 -106
- package/chunk-SCAC3NM5.js +0 -11751
- package/chunk-SR4FE5VD.js +0 -9
- package/chunk-SYTHYBMI.js +0 -3558
- package/chunk-UKZX3NHN.js +0 -48
- package/chunk-UVLYNWIE.js +0 -74
- package/chunk-WFEWP352.js +0 -861
- package/chunk-X4O7FJF5.js +0 -160
- package/chunk-YJPK35HB.js +0 -175
- package/chunk-YNIYE47Z.js +0 -105
- package/chunk-Z4PCXPUE.js +0 -127
- package/chunk-ZTHAJU3O.js +0 -2537
- package/cliAuthorityBrokerProcess-5ZFBTHLB.js +0 -22
- package/cliLocalAgentRecordReader-Q6677YID.js +0 -104
- package/deleteFile-ECU6FU5C.js +0 -55
- package/localRuntimeAuthority-UF2DAQ3F.js +0 -28
- package/machineWsRunDispatch-7PROH7E7.js +0 -209
- package/markdownToSlate-PXYAIBVL.js +0 -8
- package/tuiSummaryLlmCaller-HROLGN4F.js +0 -45
- package/webapi-QVV65DQF.js +0 -2487
- package/workContext-Y3ADAPZU.js +0 -14
- package/{chunk-USGHJSGO.js → chunk-GX2MFKF3.js} +3 -3
- package/{chunk-PHREU2KZ.js → chunk-WX266G2C.js} +0 -0
- package/{chunk-DXWGFL2Z.js → chunk-YY7IGJMN.js} +3 -3
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRuntimeServerContext,
|
|
3
3
|
scheduleDeleteReplication
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
fetchFromClientDb
|
|
7
|
-
} from "./chunk-HDKMVYNJ.js";
|
|
4
|
+
} from "./chunk-42JZNSAY.js";
|
|
8
5
|
import {
|
|
6
|
+
atom,
|
|
9
7
|
selectIdentityToken
|
|
10
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YM5XULB2.js";
|
|
9
|
+
import {
|
|
10
|
+
fetchFromClientDb
|
|
11
|
+
} from "./chunk-I3NWAILT.js";
|
|
11
12
|
import {
|
|
12
13
|
buildTombstoneRecord
|
|
13
14
|
} from "./chunk-BV3FLP2L.js";
|
|
@@ -179,6 +180,80 @@ var deleteFileFromIndexedDb = async (fileId) => {
|
|
|
179
180
|
}
|
|
180
181
|
};
|
|
181
182
|
|
|
183
|
+
// packages/database/userDataEvents.ts
|
|
184
|
+
var USER_DATA_UPDATED_EVENT = "nolo-user-data-updated";
|
|
185
|
+
var BROADCAST_CHANNEL_NAME = "nolo-user-data-updated:v1";
|
|
186
|
+
var userDataUpdatedVersion = atom(0);
|
|
187
|
+
var sessionTombstones = atom(/* @__PURE__ */ new Set());
|
|
188
|
+
var lastEmittedDetail;
|
|
189
|
+
function markSessionTombstone(dbKey) {
|
|
190
|
+
const key = dbKey.trim();
|
|
191
|
+
if (!key) return;
|
|
192
|
+
const current = sessionTombstones.get();
|
|
193
|
+
if (current.has(key)) return;
|
|
194
|
+
const next = new Set(current);
|
|
195
|
+
next.add(key);
|
|
196
|
+
sessionTombstones.set(next);
|
|
197
|
+
}
|
|
198
|
+
function unmarkSessionTombstone(dbKey) {
|
|
199
|
+
const key = dbKey.trim();
|
|
200
|
+
if (!key) return;
|
|
201
|
+
const current = sessionTombstones.get();
|
|
202
|
+
if (!current.has(key)) return;
|
|
203
|
+
const next = new Set(current);
|
|
204
|
+
next.delete(key);
|
|
205
|
+
sessionTombstones.set(next);
|
|
206
|
+
}
|
|
207
|
+
var canDispatchDomEvent = () => typeof window !== "undefined" && typeof window.dispatchEvent === "function";
|
|
208
|
+
var broadcastChannel = null;
|
|
209
|
+
var getBroadcastChannel = () => {
|
|
210
|
+
if (broadcastChannel) return broadcastChannel;
|
|
211
|
+
if (typeof BroadcastChannel !== "function") return null;
|
|
212
|
+
try {
|
|
213
|
+
const channel = new BroadcastChannel(BROADCAST_CHANNEL_NAME);
|
|
214
|
+
channel.onmessage = (event) => {
|
|
215
|
+
const data = event?.data;
|
|
216
|
+
if (data && typeof data === "object") {
|
|
217
|
+
emitUserDataUpdatedInternal(data, true);
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
broadcastChannel = channel;
|
|
221
|
+
return channel;
|
|
222
|
+
} catch {
|
|
223
|
+
return null;
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
function emitUserDataUpdatedInternal(detail, fromBroadcast) {
|
|
227
|
+
if (detail?.deletedDbKey) {
|
|
228
|
+
markSessionTombstone(detail.deletedDbKey);
|
|
229
|
+
}
|
|
230
|
+
if (detail?.restoredDbKey) {
|
|
231
|
+
unmarkSessionTombstone(detail.restoredDbKey);
|
|
232
|
+
}
|
|
233
|
+
lastEmittedDetail = detail;
|
|
234
|
+
userDataUpdatedVersion.set(userDataUpdatedVersion.get() + 1);
|
|
235
|
+
if (!fromBroadcast) {
|
|
236
|
+
const channel = getBroadcastChannel();
|
|
237
|
+
if (channel) {
|
|
238
|
+
try {
|
|
239
|
+
channel.postMessage(detail ?? {});
|
|
240
|
+
} catch {
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
if (!canDispatchDomEvent()) return;
|
|
245
|
+
try {
|
|
246
|
+
const event = detail && typeof CustomEvent === "function" ? new CustomEvent(USER_DATA_UPDATED_EVENT, { detail }) : typeof Event === "function" ? new Event(USER_DATA_UPDATED_EVENT) : null;
|
|
247
|
+
if (!event) return;
|
|
248
|
+
event.__noloUserDataLocalEmit = true;
|
|
249
|
+
window.dispatchEvent(event);
|
|
250
|
+
} catch {
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
function emitUserDataUpdated(detail) {
|
|
254
|
+
emitUserDataUpdatedInternal(detail, false);
|
|
255
|
+
}
|
|
256
|
+
|
|
182
257
|
// packages/database/actions/remove.ts
|
|
183
258
|
var removeAction = async (payload, thunkApi) => {
|
|
184
259
|
const { db: clientDb } = thunkApi.extra;
|
|
@@ -230,12 +305,13 @@ var removeAction = async (payload, thunkApi) => {
|
|
|
230
305
|
console.warn("[removeAction] Background server delete error:", err);
|
|
231
306
|
}
|
|
232
307
|
});
|
|
308
|
+
emitUserDataUpdated({ deletedDbKey: dbKey });
|
|
233
309
|
return { dbKey };
|
|
234
310
|
};
|
|
235
311
|
|
|
236
312
|
export {
|
|
313
|
+
emitUserDataUpdated,
|
|
237
314
|
saveFileToIndexedDb,
|
|
238
315
|
loadFileFromIndexedDb,
|
|
239
|
-
deleteFileFromIndexedDb,
|
|
240
316
|
removeAction
|
|
241
317
|
};
|
|
@@ -2,38 +2,38 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WLJNHFEB.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
9
9
|
import {
|
|
10
10
|
resolvePageReadMarkdown,
|
|
11
11
|
slateToSimplifiedMarkdown
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VKM7DOYB.js";
|
|
13
13
|
import {
|
|
14
14
|
extractCategorizedMentions
|
|
15
15
|
} from "./chunk-AGIM7IMJ.js";
|
|
16
16
|
import {
|
|
17
17
|
fetchAndCacheMessages
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RL6H2A2Z.js";
|
|
19
19
|
import {
|
|
20
20
|
createSpaceKey
|
|
21
21
|
} from "./chunk-UAD2WT54.js";
|
|
22
22
|
import {
|
|
23
23
|
read
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-76B6YUQS.js";
|
|
25
|
+
import {
|
|
26
|
+
getRuntimeServerContext
|
|
27
|
+
} from "./chunk-42JZNSAY.js";
|
|
25
28
|
import {
|
|
26
29
|
createDrainExhaustedResponse,
|
|
27
30
|
isCoreDrainingBody,
|
|
28
31
|
normalizeNonNegativeMs,
|
|
29
32
|
parseRetryAfterHeaderMs
|
|
30
33
|
} from "./chunk-3L2WKC3W.js";
|
|
31
|
-
import {
|
|
32
|
-
getRuntimeServerContext
|
|
33
|
-
} from "./chunk-HPDLPEUG.js";
|
|
34
34
|
import {
|
|
35
35
|
classifyGenerationError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-2OROOEOQ.js";
|
|
37
37
|
import {
|
|
38
38
|
estimateTokenCount
|
|
39
39
|
} from "./chunk-PSCNXBYA.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
resolveBuiltinSkillEntry,
|
|
50
50
|
resolveBuiltinSkillPage,
|
|
51
51
|
resolveSkillGraphFromRoots
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-KAHYBAEN.js";
|
|
53
53
|
import {
|
|
54
54
|
resolvePageSkillMetadata
|
|
55
55
|
} from "./chunk-AETZ7AD6.js";
|
|
@@ -16,12 +16,15 @@ var relationFromIndexKey = (ownerId, from, relationId) => `mem2-rf-${enc(ownerId
|
|
|
16
16
|
var relationToIndexKey = (ownerId, to, relationId) => `mem2-rt-${enc(ownerId)}-${enc(to)}-${enc(relationId)}`;
|
|
17
17
|
var relationFromIndexPrefix = (ownerId, from) => `mem2-rf-${enc(ownerId)}-${enc(from)}-`;
|
|
18
18
|
var relationToIndexPrefix = (ownerId, to) => `mem2-rt-${enc(ownerId)}-${enc(to)}-`;
|
|
19
|
-
var readIndexed = async (db, prefix) => {
|
|
19
|
+
var readIndexed = async (db, prefix, strict = false) => {
|
|
20
20
|
const refs = [];
|
|
21
21
|
for await (const [, value] of db.iterator({ ...rangeOf(prefix), reverse: false })) {
|
|
22
22
|
if (typeof value?.key === "string") refs.push(value.key);
|
|
23
23
|
}
|
|
24
|
-
const rows = await Promise.all(refs.map((key) => db.get(key).catch(() =>
|
|
24
|
+
const rows = await Promise.all(refs.map((key) => db.get(key).catch((error) => {
|
|
25
|
+
if (strict) throw error;
|
|
26
|
+
return null;
|
|
27
|
+
})));
|
|
25
28
|
return rows.filter((row) => !!row);
|
|
26
29
|
};
|
|
27
30
|
var putMemoryEntityVNext = async (db, entity) => {
|
|
@@ -69,7 +72,12 @@ var getMemoryStateVNext = async (db, ownerId, stateId) => db.get(stateKey(ownerI
|
|
|
69
72
|
if (isLevelNotFoundError(error)) return null;
|
|
70
73
|
throw error;
|
|
71
74
|
});
|
|
72
|
-
var listMemoryStatesForEntityVNext = (db, ownerId, entityId) => readIndexed(db, stateEntityIndexPrefix(ownerId, entityId));
|
|
75
|
+
var listMemoryStatesForEntityVNext = (db, ownerId, entityId, options) => readIndexed(db, stateEntityIndexPrefix(ownerId, entityId), options?.strict);
|
|
76
|
+
async function* iterateMemoryStatesForOwnerVNext(db, ownerId) {
|
|
77
|
+
for await (const [, state] of db.iterator(rangeOf(`mem2-s-${enc(ownerId)}-`))) {
|
|
78
|
+
if (state?.ownerId === ownerId) yield state;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
73
81
|
var retireMemoryStateVNext = async (db, ownerId, stateId, retiredAt) => {
|
|
74
82
|
const existing = await getMemoryStateVNext(db, ownerId, stateId);
|
|
75
83
|
if (!existing) {
|
|
@@ -154,6 +162,7 @@ export {
|
|
|
154
162
|
putMemoryStateVNext,
|
|
155
163
|
getMemoryStateVNext,
|
|
156
164
|
listMemoryStatesForEntityVNext,
|
|
165
|
+
iterateMemoryStatesForOwnerVNext,
|
|
157
166
|
retireMemoryStateVNext,
|
|
158
167
|
putMemoryEvidenceVNext,
|
|
159
168
|
getMemoryEvidenceVNext,
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CHROME_CONNECTOR_LEGACY_TOOL_ALIASES
|
|
3
|
+
} from "./chunk-ZC3CMUKU.js";
|
|
4
|
+
|
|
5
|
+
// packages/agent-runtime/toolNameAliases.ts
|
|
6
|
+
var LEGACY_TOOL_NAME_ALIASES = {
|
|
7
|
+
// Nolo Browser Connector: legacy chrome_* → canonical browser_*
|
|
8
|
+
...CHROME_CONNECTOR_LEGACY_TOOL_ALIASES,
|
|
9
|
+
createPage: "createDoc",
|
|
10
|
+
updatePage: "updateDoc",
|
|
11
|
+
update_page: "updateDoc",
|
|
12
|
+
create_page: "createDoc",
|
|
13
|
+
fetchwebpage: "fetchWebpage",
|
|
14
|
+
fetch_webpage: "fetchWebpage",
|
|
15
|
+
"fetch-page": "fetchWebpage",
|
|
16
|
+
exasearch: "exa_search",
|
|
17
|
+
"exa-search": "exa_search",
|
|
18
|
+
exa_search: "exa_search",
|
|
19
|
+
firecrawlscrape: "firecrawl_scrape",
|
|
20
|
+
"firecrawl-scrape": "firecrawl_scrape",
|
|
21
|
+
firecrawl_scrape: "firecrawl_scrape",
|
|
22
|
+
firecrawlsearch: "firecrawl_search",
|
|
23
|
+
"firecrawl-search": "firecrawl_search",
|
|
24
|
+
firecrawl_search: "firecrawl_search",
|
|
25
|
+
readDoc: "readDoc",
|
|
26
|
+
readpage: "readDoc",
|
|
27
|
+
read_page: "readDoc",
|
|
28
|
+
read_doc: "readDoc",
|
|
29
|
+
createdoc: "createDoc",
|
|
30
|
+
updateDocTool: "updateDoc",
|
|
31
|
+
terminalCommand: "execShell",
|
|
32
|
+
terminal_command: "execShell",
|
|
33
|
+
runCommand: "execShell",
|
|
34
|
+
run_command: "execShell",
|
|
35
|
+
runInBash: "execShell",
|
|
36
|
+
run_in_bash: "execShell",
|
|
37
|
+
executeCommand: "execShell",
|
|
38
|
+
execute_command: "execShell",
|
|
39
|
+
// Codex CLI 风格工具名 → nolo 原生工具名
|
|
40
|
+
bash: "execShell",
|
|
41
|
+
shell: "execShell",
|
|
42
|
+
read: "readFile",
|
|
43
|
+
edit: "editFile",
|
|
44
|
+
write: "writeFile",
|
|
45
|
+
glob: "globFiles",
|
|
46
|
+
grep: "searchFiles",
|
|
47
|
+
rg: "searchFiles",
|
|
48
|
+
grepFiles: "searchFiles",
|
|
49
|
+
grep_files: "searchFiles",
|
|
50
|
+
search_files: "searchFiles",
|
|
51
|
+
// 联网搜索别名
|
|
52
|
+
web_search: "exa_search",
|
|
53
|
+
websearch: "exa_search",
|
|
54
|
+
search_web: "exa_search",
|
|
55
|
+
searchweb: "exa_search",
|
|
56
|
+
webfetch: "fetchWebpage",
|
|
57
|
+
web_fetch: "fetchWebpage",
|
|
58
|
+
fetchweb: "fetchWebpage",
|
|
59
|
+
fetch_web: "fetchWebpage",
|
|
60
|
+
// 模型偶尔会把 loadSkill 幻觉成 readSkill(参数风格 name= 一致),
|
|
61
|
+
// 规范化到 loadSkill,避免 localToolPolicy 把这种调用直接拦死。
|
|
62
|
+
readSkill: "loadSkill"
|
|
63
|
+
};
|
|
64
|
+
var normalizeToolName = (name) => name.replace(/[-_]/g, "").toLowerCase();
|
|
65
|
+
var canonicalizeToolName = (rawName) => {
|
|
66
|
+
const trimmedName = rawName.trim();
|
|
67
|
+
if (!trimmedName) return rawName;
|
|
68
|
+
if (LEGACY_TOOL_NAME_ALIASES[trimmedName]) {
|
|
69
|
+
return LEGACY_TOOL_NAME_ALIASES[trimmedName];
|
|
70
|
+
}
|
|
71
|
+
const normalizedRawName = normalizeToolName(trimmedName);
|
|
72
|
+
const matchedAlias = Object.entries(LEGACY_TOOL_NAME_ALIASES).find(
|
|
73
|
+
([alias]) => normalizeToolName(alias) === normalizedRawName
|
|
74
|
+
);
|
|
75
|
+
return matchedAlias?.[1] ?? trimmedName;
|
|
76
|
+
};
|
|
77
|
+
var canonicalizeToolNames = (toolNames) => Array.from(
|
|
78
|
+
new Set(
|
|
79
|
+
toolNames.filter((toolName) => typeof toolName === "string").map(canonicalizeToolName)
|
|
80
|
+
)
|
|
81
|
+
);
|
|
82
|
+
var prioritizeToolNames = (toolNames, preferredToolNames) => {
|
|
83
|
+
const canonicalTools = canonicalizeToolNames(toolNames);
|
|
84
|
+
const preferred = new Set(canonicalizeToolNames(preferredToolNames));
|
|
85
|
+
const prioritized = canonicalTools.filter((toolName) => preferred.has(toolName));
|
|
86
|
+
const remaining = canonicalTools.filter((toolName) => !preferred.has(toolName));
|
|
87
|
+
return [...prioritized, ...remaining];
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export {
|
|
91
|
+
canonicalizeToolName,
|
|
92
|
+
canonicalizeToolNames,
|
|
93
|
+
prioritizeToolNames
|
|
94
|
+
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2CKFROQS.js";
|
|
4
4
|
import {
|
|
5
5
|
INLINE_IMAGE_MAX_BYTES,
|
|
6
6
|
INLINE_IMAGE_TOTAL_MAX_BYTES,
|
|
7
7
|
runtime_default
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RL6H2A2Z.js";
|
|
9
9
|
import {
|
|
10
10
|
canonicalizeToolNames
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HJTI7RZV.js";
|
|
12
|
+
import {
|
|
13
|
+
isRecord
|
|
14
|
+
} from "./chunk-KUG52IAP.js";
|
|
12
15
|
import {
|
|
13
16
|
API_ENDPOINTS,
|
|
14
17
|
NOLO_CLUSTER_SERVERS
|
|
15
18
|
} from "./chunk-LCBAMY2M.js";
|
|
16
|
-
import {
|
|
17
|
-
isRecord
|
|
18
|
-
} from "./chunk-KUG52IAP.js";
|
|
19
19
|
import {
|
|
20
20
|
isNoloHostedProvider
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-G22P2J7O.js";
|
|
22
22
|
import {
|
|
23
23
|
asTrimmedLowercaseString
|
|
24
24
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MCP_CALL_TOOL_INPUT_SCHEMA,
|
|
3
3
|
MCP_LIST_TOOLS_INPUT_SCHEMA
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CA7LGAHV.js";
|
|
5
5
|
import {
|
|
6
6
|
asRecordOrEmpty
|
|
7
7
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -31,6 +31,31 @@ import {
|
|
|
31
31
|
asOptionalTrimmedString
|
|
32
32
|
} from "./chunk-G3SUCT4W.js";
|
|
33
33
|
|
|
34
|
+
// packages/core/listAgentsKeys.ts
|
|
35
|
+
var MAX_LIST_AGENTS_KEYS = 20;
|
|
36
|
+
var LIST_AGENTS_KEYS_SCHEMA = {
|
|
37
|
+
type: "array",
|
|
38
|
+
items: { type: "string" },
|
|
39
|
+
maxItems: MAX_LIST_AGENTS_KEYS,
|
|
40
|
+
description: "Exact agentKeys for rechecking known candidates only (deduplicated; a nonempty list must contain a non-blank key). Not a first full-pool scan: poolComplete is false."
|
|
41
|
+
};
|
|
42
|
+
function normalizeListAgentsKeys(value) {
|
|
43
|
+
if (value === void 0) return [];
|
|
44
|
+
if (!Array.isArray(value)) throw new Error("agentKeys must be an array of strings.");
|
|
45
|
+
if (value.length > MAX_LIST_AGENTS_KEYS) throw new Error(`agentKeys supports at most ${MAX_LIST_AGENTS_KEYS} entries.`);
|
|
46
|
+
const keys = /* @__PURE__ */ new Set();
|
|
47
|
+
for (const key of value) {
|
|
48
|
+
if (typeof key !== "string") throw new Error("agentKeys must be an array of strings.");
|
|
49
|
+
if (key.trim()) keys.add(key);
|
|
50
|
+
}
|
|
51
|
+
if (value.length && !keys.size) throw new Error("agentKeys must include at least one non-blank key when provided as a nonempty array.");
|
|
52
|
+
return [...keys];
|
|
53
|
+
}
|
|
54
|
+
function createListAgentsKeyMatcher(keys) {
|
|
55
|
+
const exact = new Set(keys);
|
|
56
|
+
return (agent) => !exact.size || agent.agentKey !== void 0 && exact.has(agent.agentKey);
|
|
57
|
+
}
|
|
58
|
+
|
|
34
59
|
// packages/agent-runtime/dialogReadProjection.ts
|
|
35
60
|
var DEFAULT_READ_DIALOG_MAX_RESPONSE_CHARS = 32e3;
|
|
36
61
|
var MIN_RESPONSE_BUDGET_CHARS = 1024;
|
|
@@ -645,12 +670,17 @@ ${MODEL_TIER_GUIDANCE}
|
|
|
645
670
|
\u56FE\u50CF\u6A21\u578B\u53EA\u7528\u4E8E\u56FE\u50CF\u4EFB\u52A1\uFF0C\u4E0D\u7528\u4E8E\u4EE3\u7801 / \u6587\u672C\u4EFB\u52A1\u3002
|
|
646
671
|
\u6A21\u578B\u6863\u4F4D\u53EA\u53D6\u5171\u4EAB\u4EBA\u5DE5\u6620\u5C04\uFF1B\u672A\u77E5\u6A21\u578B\u4FDD\u6301 unknown \u4E14\u4ECD\u53EF\u7528\uFF0C\u4E0D\u7531 LLM \u81EA\u5C01\u6863\u4F4D\uFF0C\u4E0D\u9ED8\u8BA4\u9876\u6863\u3001\u4E0D\u5411\u7528\u6237\u7D22\u8981\u5B9A\u6863\u3002
|
|
647
672
|
\u9886\u57DF\u5177\u4F53\u504F\u597D\u4EC5\u9002\u7528\u4E8E\u5BF9\u5E94 dimension\uFF1Adesign_frontend\uFF08\u8BBE\u8BA1 / \u524D\u7AEF\uFF09\u9886\u57DF\u5185\u9ED8\u8BA4\u6A21\u578B\u5BB6\u65CF\u504F\u597D\u4E3A Claude \u2192 Gemini \u2192 GPT\uFF1B\u6309\u4EFB\u52A1 difficulty \u4E0E\u5171\u4EAB\u4EBA\u5DE5\u6A21\u578B\u6863\u4F4D\u6620\u5C04\uFF0C\u5728\u504F\u597D\u5BB6\u65CF\u4E2D\u9009\u80DC\u4EFB\u7684\u5408\u9002\u6863\u4F4D\uFF0C\u5BB6\u65CF\u987A\u5E8F\u4E0D\u4EE3\u8868\u667A\u80FD\u6863\u4F4D\u6392\u540D\u3002general\uFF08\u901A\u7528\uFF09\u4E0D\u9002\u7528\u6B64\u5BB6\u65CF\u987A\u5E8F\uFF1Bwriting\uFF08\u5199\u4F5C\uFF09\u4ECD\u4E3A Gemini \u4F18\u5148\u4E8E\u5176\u4ED6\u6A21\u578B\u3002\u672A\u77E5\u6863\u4F4D\u4FDD\u6301 unknown\uFF0C\u4E0D\u63A8\u5B9A\u5BB6\u65CF\u5185\u80FD\u529B\u6392\u540D\u3002\u5176\u4F59\u6A21\u578B\u5728\u5BF9\u5E94\u7EF4\u5EA6\u672A\u77E5\uFF0C\u4E0D\u63A8\u5B9A\u5B8C\u6574\u6392\u540D\u3002
|
|
648
|
-
\u540C\u6863\u53EF\u7528\u4E14\u65E0\u9700\u5E73\u53F0\u6263\u8D39\u65F6\uFF1A\u72EC\u7ACB\u5BA1\u67E5/\u5B89\u5168\u5951\u7EA6\u6311\u523A\u504F\u4E25\u82DB GPT\uFF1B\u524D\u7AEF\u8BBE\u8BA1/\u7CBE\u7EC6\u91CD\u6784\u504F Claude\uFF1B\u5168\u5C40\u7EDF\u7B79/\u957F\u4E0A\u4E0B\u6587\u4E32\u8054\u504F Gemini\u3002
|
|
649
|
-
\u9886\u57DF\u504F\u597D\u53EF\u4F5C\u4E3A\u8DE8\u6863\u9009\u62E9\u7406\u7531\uFF0C\u4E0D\u8868\u793A\u4E0D\u80FD\u6362\u6863\uFF1B\u504F\u597D\u4E0D\u8986\u76D6\u771F\u5B9E\u80FD\u529B\u9650\u5236\u3001\u8D39\u7528\u6388\u6743\u3001\u4F5C\u8005\u56DE\u907F\u4E0E\u5F53\u6B21\u53EF\u7528\u6027\uFF0C\u4E0D\u5F97\u56E0\u4E3A\u300C\u8BBE\u8BA1\u4EFB\u52A1\u504F\u597D Opus\u300D\u5C31\u81EA\u52A8\u6D88\u8017\u5E73\u53F0\u79EF\u5206\u3002
|
|
673
|
+
\u540C\u6863\u53EF\u7528\u4E14\u65E0\u9700\u5E73\u53F0\u6263\u8D39\u65F6\uFF1A\u6DF1\u5EA6\u8BA1\u7B97\u673A\u7CFB\u7EDF/\u5B58\u50A8/\u5E76\u53D1/\u534F\u8BAE\u67B6\u6784\u8BF7\u6559\u4E0E\u65B9\u6848\u8FA8\u6790\u3001\u72EC\u7ACB\u5BA1\u67E5/\u5B89\u5168\u5951\u7EA6\u6311\u523A\u504F\u4E25\u82DB GPT\uFF1B\u524D\u7AEF\u8BBE\u8BA1/\u7CBE\u7EC6\u91CD\u6784\u504F Claude\uFF1B\u5168\u5C40\u7EDF\u7B79/\u957F\u4E0A\u4E0B\u6587\u4E32\u8054\u504F Gemini\u3002
|
|
674
|
+
\u9886\u57DF\u504F\u597D\u53EF\u4F5C\u4E3A\u8DE8\u6863\u9009\u62E9\u7406\u7531\uFF0C\u4E0D\u8868\u793A\u4E0D\u80FD\u6362\u6863\uFF1B\u504F\u597D\u4E0D\u8986\u76D6\u771F\u5B9E\u80FD\u529B\u9650\u5236\u3001\u8D39\u7528\u6388\u6743\u3001\u4F5C\u8005\u56DE\u907F\u4E0E\u5F53\u6B21\u53EF\u7528\u6027\uFF08\u9047\u963B\u8BF7\u6559\u4ECD\u4F18\u5148\u7EED\u539F\u89C4\u5212\u8005\uFF09\uFF0C\u4E0D\u5F97\u56E0\u4E3A\u300C\u8BBE\u8BA1\u4EFB\u52A1\u504F\u597D Opus\u300D\u5C31\u81EA\u52A8\u6D88\u8017\u5E73\u53F0\u79EF\u5206\u3002
|
|
650
675
|
\u5DE5\u5177\u4EC5\u5347 \u22652 \u6863\u987B\u5148\u6709 selectionReason\uFF0C\u5176\u4F59\u4E0D\u7B26\u53EA\u63D0\u9192\u3001\u7167\u5E38\u542F\u52A8\uFF0C\u4E0D\u5F3A\u5236\u9009\u4EBA\u3001\u4E0D\u81EA\u52A8\u53D6\u6D88\u91CD\u6D3E\uFF1B\u6D3E\u53D1 Agent \u81EA\u884C\u7ED3\u5408\u9886\u57DF\u4F18\u52BF\u3001\u771F\u5B9E\u989D\u5EA6/\u7F51\u7EDC\u4E0E\u5019\u9009\u53EF\u7528\u6027\u3001\u7528\u6237\u6307\u5B9A\u4F5C\u5224\u65AD\u3002\u901F\u5EA6\u89C4\u5219\u7EDF\u4E00\u89C1\u5E38\u9A7B\u300C\u6D3E\u53D1\u9009\u4EBA \xB7 \u53EF\u7528\u6027\u4E0E\u901F\u5EA6\u300D\uFF0C\u4E0D\u5F97\u636E\u901F\u5EA6\u63A8\u5BFC\u6A21\u578B\u6863\u4F4D\u3002
|
|
651
676
|
- \u53EF\u7528\u6027\u8BC1\u636E\uFF1A\u533A\u5206\u5F53\u6B21\u771F\u5B9E\u5931\u8D25\u3001\u9002\u7528\u4E14\u4ECD\u6709\u6548\u7684 quota\u3001\u8FC7\u671F\u53C2\u8003\u548C\u672A\u77E5\u3002\u89C4\u5212\u5217\u8868\u4E0E\u63A8\u8350\u4E0D\u6309\u51B7\u5374\u786C\u8FC7\u6EE4\uFF1B\u901A\u7528\u6267\u884C\u53EF\u7528\u4E0A\u9762\u7684\u6709\u6548 quota \u89C4\u5219\uFF1Breview \u81EA\u8EAB\u515C\u5E95\u4ECD\u987B\u5176\u4ED6\u5408\u89C4\u5019\u9009\u7684\u5F53\u6B21\u9519\u8BEF\u8BC1\u636E\uFF0C\u4E0D\u7528 quota \u6807\u6CE8\u66FF\u4EE3\u3002
|
|
652
677
|
- 429 \u9650\u6D41\u4E0E\u77E5\u60C5\u6743\u5951\u7EA6\uFF1A\u4EFB\u4F55\u7528\u6237\u79C1\u6709\u51ED\u636E\u4E0E\u81EA\u5EFA Agent\uFF08billingSource \u4E3A user_subscription / owner_subscription / user_api / local\uFF0C\u6216 isOwned=true\uFF09\u5728 listAgents \u7684 agents[].availabilityStatus \u4E3A rate_limited \u6216 quota_exhausted \u65F6\uFF0C\u7981\u6B62\u9759\u9ED8\u8DF3\u8FC7\uFF1B\u6539\u6D3E\u5E73\u53F0 Agent\uFF08\u6D88\u8017\u5E73\u53F0\u79EF\u5206\uFF09\u524D\u5FC5\u987B\u5728\u56DE\u590D\u4E2D\u544A\u77E5\u7528\u6237\uFF1A\u54EA\u4E2A\u8BA2\u9605/\u81EA\u5EFA agent \u9650\u6D41\u3001\u9884\u8BA1\u4F55\u65F6\u6062\u590D\uFF08nextAvailableAt\uFF09\u3001\u672C\u6B21\u5C06\u6263\u5E73\u53F0\u79EF\u5206\uFF1BavailabilityStatus \u4E0E nextAvailableAt \u4EC5\u662F\u53C2\u8003\u4FE1\u606F\uFF0C\u4E0D\u62E6\u6D3E\u53D1\uFF0C\u4E0D\u5F97\u4EC5\u51ED\u51B7\u5374\u6807\u6CE8\u6392\u9664\u5019\u9009\uFF1B\u7528\u6237\u4ECD\u53EF\u7167\u5E38\u6D3E\u53D1\u5E76\u83B7\u5F97\u4E0A\u6E38\u771F\u5B9E\u7ED3\u679C\u3002`;
|
|
653
678
|
|
|
679
|
+
// packages/core/listAgentsFragment.ts
|
|
680
|
+
function isEmptyListAgentsFragmentRequest(args) {
|
|
681
|
+
return (args.fragmentOffset === void 0 || args.fragmentOffset === 0) && (args.fragmentAgentKey === void 0 || args.fragmentAgentKey === "") && (args.fragmentDigest === void 0 || args.fragmentDigest === "");
|
|
682
|
+
}
|
|
683
|
+
|
|
654
684
|
// packages/agent-runtime/noloWorkspaceTools.ts
|
|
655
685
|
var NOLO_WORKSPACE_TOOL_NAMES = [
|
|
656
686
|
"listMcpConnections",
|
|
@@ -668,6 +698,7 @@ var NOLO_WORKSPACE_TOOL_NAMES = [
|
|
|
668
698
|
"readSkillDoc",
|
|
669
699
|
"loadSkill",
|
|
670
700
|
"listTables",
|
|
701
|
+
"agentResource",
|
|
671
702
|
"queryTableRows",
|
|
672
703
|
"cliWhoami",
|
|
673
704
|
"cliDoctor",
|
|
@@ -701,7 +732,7 @@ function stringToolParam(description) {
|
|
|
701
732
|
return { type: "string", description };
|
|
702
733
|
}
|
|
703
734
|
var READ_DIALOG_TOOL_DESCRIPTION = `Read a persisted dialog (meta + messages) by full dbKey (dialog-<userId>-<id>) or dialog URL; use listDialogs when unclear. A bare id only resolves for the currently logged-in user \u2014 pass user/server. For runs, do not poll a running dialog's full transcript: prefer controlAgentRun, else mode="status" for a compact snapshot; read the transcript only after done/failed/cancelled. Responses are budgeted: reasoning_content, tool_calls, tool results and metadata are head-truncated (truncated, messagesTotal/messagesReturned, omittedChars). For review or verification take diffs from the worktree instead of the full transcript.`;
|
|
704
|
-
var LIST_AGENTS_TOOL_DESCRIPTION = "
|
|
735
|
+
var LIST_AGENTS_TOOL_DESCRIPTION = "Default scope='all': dedupe own/favorites + marketplace. scope='public': shared/marketplace only; check billingSource for credits. Copy runnable agentKey verbatim into startAgentRun, never infer from display name. planningRecommendation incl. requiresPaidApproval advises, never authorizes. availabilityStatus/availabilityReason/nextAvailableAt advisory, not gates (unavailableCount). Same-batch unknown-credential fan-out is guarded; sharing a credential alone is not a dependency. allowUnknownCredential only if credentials are confirmed independent. Use agentKeys only to recheck known candidates; never instead of the initial full-pool scan.";
|
|
705
736
|
function buildNoloWorkspaceOpenAiTools(args) {
|
|
706
737
|
const toolNames = new Set(args.toolNames ?? []);
|
|
707
738
|
const tools = [];
|
|
@@ -763,18 +794,19 @@ function buildNoloWorkspaceOpenAiTools(args) {
|
|
|
763
794
|
}
|
|
764
795
|
}, ["query"]);
|
|
765
796
|
add("listAgents", LIST_AGENTS_TOOL_DESCRIPTION, {
|
|
766
|
-
query: stringToolParam("
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
797
|
+
query: stringToolParam("Case-insensitive substring: name/model/provider/handle/agentKey."),
|
|
798
|
+
agentKeys: LIST_AGENTS_KEYS_SCHEMA,
|
|
799
|
+
scope: { type: "string", enum: ["all", "public"], description: "all (default) or public only." },
|
|
800
|
+
publicOnly: { type: "boolean", description: "Deprecated alias for scope='public'." },
|
|
801
|
+
showUnavailable: { type: "boolean", description: "Deprecated no-op; cooldown agents remain listed." },
|
|
802
|
+
verbose: { type: "boolean", description: "Full safe-summary details when supported." },
|
|
803
|
+
compact: { type: "boolean", description: "Compact selection/admission fields; omit verbose text." },
|
|
804
|
+
limit: { type: "number", description: "Page size." },
|
|
805
|
+
offset: { type: "number", description: "Candidate offset." },
|
|
806
|
+
fragmentOffset: { type: "integer", description: "Oversized: 0 then nextFragmentOffset; same offset, filters, fragmentAgentKey and returned fragmentDigest." },
|
|
807
|
+
fragmentAgentKey: stringToolParam("Exact oversized response agentKey."),
|
|
808
|
+
fragmentDigest: stringToolParam("First-fragment SHA-256; required later to detect changes."),
|
|
809
|
+
space: stringToolParam("Space ID or URL.")
|
|
778
810
|
});
|
|
779
811
|
add("readAgent", "Read one agent's full config by exact agentKey returned by listAgents (agent-<userId>-<id> or agent-pub-<id>); do not use the display name.", {
|
|
780
812
|
agent: stringToolParam("Exact agentKey from listAgents (preferred; copy verbatim; plain id or URL are compatibility fallbacks).")
|
|
@@ -791,17 +823,17 @@ function buildNoloWorkspaceOpenAiTools(args) {
|
|
|
791
823
|
add("readSkillDoc", "Read one skill doc in the Nolo workspace.", {
|
|
792
824
|
doc: stringToolParam("Skill doc/page key.")
|
|
793
825
|
}, ["doc"]);
|
|
794
|
-
add("loadSkill", "
|
|
795
|
-
name: stringToolParam("Legacy
|
|
826
|
+
add("loadSkill", "Return full skill instructions inline. Use legacy name alone (lists skills if missing), or one exact source without name: space+dbKey, builtin+slug, project+projectBinding+relativePath. Do not mix selectors. Server: space/builtin; CLI/desktop: builtin/project.", {
|
|
827
|
+
name: stringToolParam("Legacy discovery name only."),
|
|
796
828
|
source: {
|
|
797
829
|
type: "string",
|
|
798
830
|
enum: ["space", "builtin", "project"],
|
|
799
|
-
description: "Exact
|
|
831
|
+
description: "Exact source; omit name."
|
|
800
832
|
},
|
|
801
|
-
dbKey: stringToolParam("
|
|
802
|
-
slug: stringToolParam("
|
|
803
|
-
projectBinding: stringToolParam("
|
|
804
|
-
relativePath: stringToolParam("Project-relative
|
|
833
|
+
dbKey: stringToolParam("Space skill document dbKey."),
|
|
834
|
+
slug: stringToolParam("Builtin skill slug."),
|
|
835
|
+
projectBinding: stringToolParam("Project: authorized absolute root matching executor cwd."),
|
|
836
|
+
relativePath: stringToolParam("Project-relative SKILL.md under .agents/skills/.")
|
|
805
837
|
});
|
|
806
838
|
add("listTables", "List tables in the current user scope or an optional space scope.", {
|
|
807
839
|
limit: { type: "integer", description: "Maximum tables to return." },
|
|
@@ -809,6 +841,19 @@ function buildNoloWorkspaceOpenAiTools(args) {
|
|
|
809
841
|
titleQuery: stringToolParam("Optional case-insensitive title substring."),
|
|
810
842
|
purpose: stringToolParam("Optional purpose value such as agent_eval_workbench.")
|
|
811
843
|
});
|
|
844
|
+
add("agentResource", "Access an authorized Table, Page or Attachment in this server. Updates require a revision and mutation ID. A reference never grants access.", {
|
|
845
|
+
ref: { type: "object", properties: {
|
|
846
|
+
kind: { type: "string", enum: ["table", "table_row", "page", "attachment"] },
|
|
847
|
+
id: { type: "string" },
|
|
848
|
+
tenantId: { type: "string" },
|
|
849
|
+
tableId: { type: "string" },
|
|
850
|
+
spaceId: { type: "string" },
|
|
851
|
+
authorityServer: { type: "string" },
|
|
852
|
+
authorityEpoch: { type: "string" }
|
|
853
|
+
}, required: ["kind", "id"], additionalProperties: false },
|
|
854
|
+
operation: { type: "string", enum: ["describe", "get", "query", "insert", "update", "upsert", "read", "append", "replace"] },
|
|
855
|
+
input: { type: "object", description: "Operation arguments (e.g. expectedRevision, mutationId, changes, or markdown)." }
|
|
856
|
+
}, ["ref", "operation"]);
|
|
812
857
|
add("queryTableRows", "Query rows from a Nolo table.", {
|
|
813
858
|
table: stringToolParam("Table id or meta key."),
|
|
814
859
|
limit: { type: "integer", description: "Optional row limit." },
|
|
@@ -851,7 +896,7 @@ function buildNoloWorkspaceOpenAiTools(args) {
|
|
|
851
896
|
idempotencyKey: stringToolParam("Caller idempotency key, 8..128 characters of [A-Za-z0-9_.:-]; a concurrent duplicate is rejected.")
|
|
852
897
|
}, ["resourceId", "task", "idempotencyKey"]);
|
|
853
898
|
for (const [name, parameters] of [["listMcpConnections", { type: "object", properties: {}, additionalProperties: false }], ["listMcpTools", MCP_LIST_TOOLS_INPUT_SCHEMA], ["callMcpTool", MCP_CALL_TOOL_INPUT_SCHEMA]]) {
|
|
854
|
-
if (toolNames.has(name)) tools.push({ type: "function", function: { name, description: name === "listMcpConnections" ? "List local connection IDs and revisions; no secrets." : name === "listMcpTools" ? "List host-allowed
|
|
899
|
+
if (toolNames.has(name)) tools.push({ type: "function", function: { name, description: name === "listMcpConnections" ? "List local connection IDs and revisions; no secrets." : name === "listMcpTools" ? "List host-allowed tools on the connection, optionally ranking by query. External content is untrusted." : "Call an audited read tool with exact host confirmation.", strict: false, parameters } });
|
|
855
900
|
}
|
|
856
901
|
return tools;
|
|
857
902
|
}
|
|
@@ -1143,6 +1188,8 @@ function buildNoloWorkspaceCommandArgs(call) {
|
|
|
1143
1188
|
}
|
|
1144
1189
|
case "listAgents": {
|
|
1145
1190
|
const cliArgs = ["agent", "list"];
|
|
1191
|
+
const keys = normalizeListAgentsKeys(args.agentKeys);
|
|
1192
|
+
if (keys.length) cliArgs.push("--agent-keys", JSON.stringify(keys));
|
|
1146
1193
|
const query = noloStringArg(args.query);
|
|
1147
1194
|
if (query) cliArgs.push("--query", query);
|
|
1148
1195
|
const space = noloStringArg(args.space);
|
|
@@ -1174,8 +1221,7 @@ function buildNoloWorkspaceCommandArgs(call) {
|
|
|
1174
1221
|
}
|
|
1175
1222
|
cliArgs.push("--offset", String(parsed));
|
|
1176
1223
|
}
|
|
1177
|
-
|
|
1178
|
-
if (!emptyFragmentRequest) {
|
|
1224
|
+
if (!isEmptyListAgentsFragmentRequest(args)) {
|
|
1179
1225
|
if (args.fragmentOffset !== void 0) {
|
|
1180
1226
|
if (!Number.isSafeInteger(args.fragmentOffset) || args.fragmentOffset < 0) throw new Error("Invalid fragmentOffset");
|
|
1181
1227
|
cliArgs.push("--fragment-offset", String(args.fragmentOffset));
|
|
@@ -1258,9 +1304,13 @@ var AGENT_THREAD_ACTIVE_STATUSES = ["pending", "running"];
|
|
|
1258
1304
|
var AGENT_THREAD_TERMINAL_STATUSES = ["done", "failed", "cancelled", "orphaned"];
|
|
1259
1305
|
|
|
1260
1306
|
export {
|
|
1307
|
+
LIST_AGENTS_KEYS_SCHEMA,
|
|
1308
|
+
normalizeListAgentsKeys,
|
|
1309
|
+
createListAgentsKeyMatcher,
|
|
1261
1310
|
resolveAgentSelectionPriority,
|
|
1262
1311
|
compareAgentSelection,
|
|
1263
1312
|
AGENT_SELECTION_PRIORITY_INSTRUCTIONS,
|
|
1313
|
+
isEmptyListAgentsFragmentRequest,
|
|
1264
1314
|
DEFAULT_READ_DIALOG_MAX_RESPONSE_CHARS,
|
|
1265
1315
|
projectDialogReadForAgent,
|
|
1266
1316
|
createStreamingDialogReadProjector,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
gBase64,
|
|
3
2
|
isExternalSessionKind
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MRACVEPZ.js";
|
|
5
4
|
import {
|
|
6
5
|
createClientLogger
|
|
7
6
|
} from "./chunk-QQ56R7KS.js";
|
|
@@ -13,7 +12,7 @@ import {
|
|
|
13
12
|
} from "./chunk-OW765XBU.js";
|
|
14
13
|
import {
|
|
15
14
|
isPublicBuiltinPlatformAgentKey
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YRPIUIEQ.js";
|
|
17
16
|
import {
|
|
18
17
|
API_ENDPOINTS,
|
|
19
18
|
NOLO_CLUSTER_SERVERS,
|
|
@@ -21,6 +20,9 @@ import {
|
|
|
21
20
|
isNoloClusterServerOrigin,
|
|
22
21
|
normalizeKnownServerOrigin
|
|
23
22
|
} from "./chunk-LCBAMY2M.js";
|
|
23
|
+
import {
|
|
24
|
+
Base64
|
|
25
|
+
} from "./chunk-IV6VUVLJ.js";
|
|
24
26
|
import {
|
|
25
27
|
normalizeServerOrigin
|
|
26
28
|
} from "./chunk-CF7PE763.js";
|
|
@@ -29,7 +31,7 @@ import {
|
|
|
29
31
|
function isGoogleAuthoritySession(token) {
|
|
30
32
|
if (typeof token !== "string") return false;
|
|
31
33
|
try {
|
|
32
|
-
return isExternalSessionKind(JSON.parse(
|
|
34
|
+
return isExternalSessionKind(JSON.parse(Base64.decode(token.split(".")[0])).authKind);
|
|
33
35
|
} catch {
|
|
34
36
|
return false;
|
|
35
37
|
}
|