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
|
@@ -7,22 +7,19 @@ import {
|
|
|
7
7
|
buildForegroundTurnAdmissionFetchInit,
|
|
8
8
|
buildStaticContexts,
|
|
9
9
|
canProxyToExplicitServerBase,
|
|
10
|
-
clearGateTurn,
|
|
11
10
|
compressOldToolResults,
|
|
12
11
|
consumeAgentRunStream,
|
|
13
12
|
mergeAgentToolsWithRuntime,
|
|
14
13
|
mergeContexts,
|
|
15
14
|
projectDesktopToolUiContent,
|
|
16
|
-
pushGate,
|
|
17
15
|
resolveImageGenerationStreamingState,
|
|
18
16
|
resolveTurnToolContext,
|
|
19
|
-
targetForRunKind,
|
|
20
17
|
validateAccessAndBalance,
|
|
21
18
|
withRequestContextBlocks
|
|
22
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QZCLCAYC.js";
|
|
23
20
|
import {
|
|
24
21
|
resolveUserSkillRuntime
|
|
25
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7HUCUD2I.js";
|
|
26
23
|
import {
|
|
27
24
|
buildEmptyCompletionRepairBody,
|
|
28
25
|
buildFinalCompletionsRequestBody,
|
|
@@ -34,13 +31,13 @@ import {
|
|
|
34
31
|
sendOpenAICompletionsRequest,
|
|
35
32
|
serializeAgentRunMessages,
|
|
36
33
|
updateTotalUsage
|
|
37
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-USFG4EWQ.js";
|
|
38
35
|
import "./chunk-JEXVIMYZ.js";
|
|
39
36
|
import {
|
|
40
37
|
inlineImageUrlsForCustomProvider,
|
|
41
38
|
prepareTools,
|
|
42
39
|
shouldInlineImageUrlsForAgent
|
|
43
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-HPIY372N.js";
|
|
44
41
|
import {
|
|
45
42
|
DirectApiKeyResolutionError,
|
|
46
43
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -52,33 +49,43 @@ import {
|
|
|
52
49
|
sanitizeOutboundResponsesInput,
|
|
53
50
|
selectResponsesConversationState,
|
|
54
51
|
updateResponsesConversationState
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-CRGPRAJ4.js";
|
|
53
|
+
import "./chunk-56OAS5RZ.js";
|
|
57
54
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
isWebMcpTurnAllowed,
|
|
56
|
+
resolveWebTurnMcpInjection,
|
|
57
|
+
stripMcpWebTools
|
|
58
|
+
} from "./chunk-2CKFROQS.js";
|
|
59
|
+
import "./chunk-FF5ZRKW7.js";
|
|
60
|
+
import "./chunk-NHLLXINQ.js";
|
|
61
61
|
import "./chunk-MVOZ22RZ.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-WDWZPASX.js";
|
|
63
63
|
import {
|
|
64
64
|
performServerProxyFetchWithRetry
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-GZ4I5EMM.js";
|
|
66
66
|
import {
|
|
67
|
+
clearGateTurn,
|
|
67
68
|
createSSEParser,
|
|
69
|
+
pushGate,
|
|
70
|
+
targetForRunKind,
|
|
68
71
|
waitForAbortableDelay
|
|
69
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-WLJNHFEB.js";
|
|
70
73
|
import "./chunk-NF64D32W.js";
|
|
71
|
-
import
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
74
|
+
import {
|
|
75
|
+
getUserPreferencesStore
|
|
76
|
+
} from "./chunk-LJOPY4TL.js";
|
|
77
|
+
import "./chunk-S7BF2OGX.js";
|
|
78
|
+
import "./chunk-VKM7DOYB.js";
|
|
79
|
+
import "./chunk-YNP3ITPU.js";
|
|
80
|
+
import "./chunk-B4NA5UJR.js";
|
|
81
|
+
import "./chunk-WX266G2C.js";
|
|
78
82
|
import "./chunk-AGIM7IMJ.js";
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-VF4K2QE6.js";
|
|
84
|
+
import "./chunk-UYZOBSSO.js";
|
|
85
|
+
import "./chunk-63W5N6P3.js";
|
|
86
|
+
import "./chunk-6XAAKRJB.js";
|
|
87
|
+
import "./chunk-7RYH7YIY.js";
|
|
88
|
+
import "./chunk-SX6PDLBZ.js";
|
|
82
89
|
import {
|
|
83
90
|
addToolMessage,
|
|
84
91
|
addUserMessage,
|
|
@@ -90,6 +97,7 @@ import {
|
|
|
90
97
|
messageStreaming,
|
|
91
98
|
prepareAndPersistUserMessage,
|
|
92
99
|
removeTransientMessage,
|
|
100
|
+
resolveDialogAgentMode,
|
|
93
101
|
runPendingUserBatchRequest,
|
|
94
102
|
selectAdmittedMessages,
|
|
95
103
|
selectAllMsgs,
|
|
@@ -100,47 +108,54 @@ import {
|
|
|
100
108
|
updateDialogSummaryAction,
|
|
101
109
|
updateTokens,
|
|
102
110
|
updateToolMessage
|
|
103
|
-
} from "./chunk-
|
|
104
|
-
import "./chunk-
|
|
111
|
+
} from "./chunk-RL6H2A2Z.js";
|
|
112
|
+
import "./chunk-KDDXC2IH.js";
|
|
105
113
|
import "./chunk-TZXPT53C.js";
|
|
106
|
-
import "./chunk-
|
|
107
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-6QDYSCPW.js";
|
|
115
|
+
import "./chunk-ER6NTALN.js";
|
|
116
|
+
import "./chunk-IM7HCFB4.js";
|
|
108
117
|
import {
|
|
109
118
|
getCurrentSpaceId
|
|
110
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-WXD6Y7DW.js";
|
|
111
120
|
import "./chunk-BYXBJQAS.js";
|
|
121
|
+
import "./chunk-AMNZPQCY.js";
|
|
112
122
|
import {
|
|
113
123
|
createCliChatTurnStream,
|
|
114
124
|
getCliChatSession,
|
|
115
125
|
startCliChatSession
|
|
116
|
-
} from "./chunk-
|
|
117
|
-
import "./chunk-
|
|
118
|
-
import "./chunk-
|
|
119
|
-
import "./chunk-
|
|
120
|
-
import
|
|
121
|
-
selectCurrentServer
|
|
122
|
-
} from "./chunk-BZMDWGQQ.js";
|
|
123
|
-
import "./chunk-46FETNLF.js";
|
|
126
|
+
} from "./chunk-SD4MBKZ7.js";
|
|
127
|
+
import "./chunk-REAE2SZK.js";
|
|
128
|
+
import "./chunk-PL5RKESU.js";
|
|
129
|
+
import "./chunk-FKVLQNGJ.js";
|
|
130
|
+
import "./chunk-BTIFQBYW.js";
|
|
124
131
|
import "./chunk-UAD2WT54.js";
|
|
125
132
|
import {
|
|
126
133
|
patch,
|
|
127
134
|
read,
|
|
128
135
|
selectById,
|
|
129
136
|
write
|
|
130
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-76B6YUQS.js";
|
|
131
138
|
import "./chunk-3PVYUPXK.js";
|
|
132
|
-
import "./chunk-
|
|
139
|
+
import "./chunk-XQFDCRG3.js";
|
|
140
|
+
import "./chunk-GYFKKTDI.js";
|
|
141
|
+
import {
|
|
142
|
+
selectRuntimeCurrentServer
|
|
143
|
+
} from "./chunk-42JZNSAY.js";
|
|
144
|
+
import "./chunk-AMTF6FJD.js";
|
|
133
145
|
import "./chunk-HXER7YJF.js";
|
|
134
146
|
import {
|
|
135
147
|
isGptProModel,
|
|
136
148
|
isPlatformPaidAgentCall,
|
|
137
149
|
shouldBlockForGptPro
|
|
138
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-NTBTVKKB.js";
|
|
139
151
|
import "./chunk-AMWMV56B.js";
|
|
140
|
-
import "./chunk-
|
|
152
|
+
import "./chunk-YY7IGJMN.js";
|
|
141
153
|
import "./chunk-3L2WKC3W.js";
|
|
154
|
+
import "./chunk-UEILX4EV.js";
|
|
142
155
|
import "./chunk-S25VJYXV.js";
|
|
143
|
-
import
|
|
156
|
+
import {
|
|
157
|
+
resolveToolBaseUrl
|
|
158
|
+
} from "./chunk-DEAII55O.js";
|
|
144
159
|
import "./chunk-QYPE3TS3.js";
|
|
145
160
|
import {
|
|
146
161
|
addActiveController,
|
|
@@ -155,32 +170,28 @@ import {
|
|
|
155
170
|
setDialogTurnPhase,
|
|
156
171
|
subscribe,
|
|
157
172
|
tokenUsageLiveUpdate
|
|
158
|
-
} from "./chunk-
|
|
159
|
-
import "./chunk-RD3QLZQV.js";
|
|
160
|
-
import "./chunk-7BIJFGKS.js";
|
|
161
|
-
import {
|
|
162
|
-
selectRuntimeCurrentServer
|
|
163
|
-
} from "./chunk-HPDLPEUG.js";
|
|
164
|
-
import "./chunk-ZTHAJU3O.js";
|
|
165
|
-
import {
|
|
166
|
-
getIsDesktopApp
|
|
167
|
-
} from "./chunk-HDKMVYNJ.js";
|
|
168
|
-
import "./chunk-YJPK35HB.js";
|
|
169
|
-
import "./chunk-UEILX4EV.js";
|
|
170
|
-
import "./chunk-QQ56R7KS.js";
|
|
173
|
+
} from "./chunk-YOUSQIIK.js";
|
|
171
174
|
import {
|
|
175
|
+
getRuntimeServerSnapshot,
|
|
176
|
+
resolveDesktopSafeServer,
|
|
172
177
|
selectIdentityToken,
|
|
173
178
|
selectIdentityUser,
|
|
174
179
|
selectIdentityUserId
|
|
175
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-YM5XULB2.js";
|
|
181
|
+
import {
|
|
182
|
+
getIsDesktopApp,
|
|
183
|
+
googleSessionServer
|
|
184
|
+
} from "./chunk-I3NWAILT.js";
|
|
185
|
+
import "./chunk-MRACVEPZ.js";
|
|
186
|
+
import "./chunk-QQ56R7KS.js";
|
|
176
187
|
import "./chunk-GBWGPTA7.js";
|
|
177
188
|
import {
|
|
178
189
|
applyPublicAgentCatalogOverride
|
|
179
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-4HZCBA4Q.js";
|
|
180
191
|
import {
|
|
181
192
|
applyBuiltinAgentRuntimeOverride,
|
|
182
193
|
resolveBuiltinPlatformAgentRecord
|
|
183
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-SU4NCTW4.js";
|
|
184
195
|
import {
|
|
185
196
|
assertDesktopAgentRuntimeTurnBodyHasNoRawSecrets,
|
|
186
197
|
buildDesktopAgentRuntimeAgentConfigSnapshot,
|
|
@@ -188,44 +199,44 @@ import {
|
|
|
188
199
|
evaluateRequestBudget,
|
|
189
200
|
extractImageUrlsFromMessages,
|
|
190
201
|
stripImagePartsForTextOnlyAgent
|
|
191
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-XJW6SLBZ.js";
|
|
192
203
|
import "./chunk-BYXBJQAS.js";
|
|
193
|
-
import "./chunk-
|
|
204
|
+
import "./chunk-RNLKWUVY.js";
|
|
194
205
|
import {
|
|
195
206
|
projectUserPartForModel
|
|
196
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-CL33RFD7.js";
|
|
197
208
|
import "./chunk-56GBUMO5.js";
|
|
198
|
-
import "./chunk-
|
|
199
|
-
import "./chunk-
|
|
209
|
+
import "./chunk-D3ONA3FP.js";
|
|
210
|
+
import "./chunk-HVRG27HI.js";
|
|
200
211
|
import "./chunk-LS5KAVFQ.js";
|
|
201
212
|
import {
|
|
202
213
|
extractImagePartsFromResponseOutput,
|
|
203
214
|
extractTextFromResponseOutput,
|
|
204
215
|
toResponsesTools
|
|
205
|
-
} from "./chunk-
|
|
206
|
-
import "./chunk-
|
|
216
|
+
} from "./chunk-2MIZHEND.js";
|
|
217
|
+
import "./chunk-4IVMDQBA.js";
|
|
207
218
|
import {
|
|
208
219
|
isContextOverflowText,
|
|
209
220
|
parseApiError
|
|
210
|
-
} from "./chunk-
|
|
211
|
-
import "./chunk-
|
|
212
|
-
import "./chunk-
|
|
221
|
+
} from "./chunk-2OROOEOQ.js";
|
|
222
|
+
import "./chunk-TXMFSGRY.js";
|
|
223
|
+
import "./chunk-CA7LGAHV.js";
|
|
213
224
|
import {
|
|
214
225
|
resolveAgentCallPlan,
|
|
215
226
|
resolveClientWire
|
|
216
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-3QMN3T6L.js";
|
|
228
|
+
import "./chunk-4Y6CZ2N4.js";
|
|
217
229
|
import {
|
|
218
230
|
resolveAgentContextWindow
|
|
219
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-G5IAIGGD.js";
|
|
220
232
|
import "./chunk-5ZUL4CUO.js";
|
|
221
233
|
import {
|
|
222
234
|
getModelInfo
|
|
223
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-CEIWXKHP.js";
|
|
224
236
|
import "./chunk-H57T64RA.js";
|
|
225
|
-
import "./chunk-
|
|
226
|
-
import "./chunk-SR4FE5VD.js";
|
|
237
|
+
import "./chunk-WMBJDXMY.js";
|
|
227
238
|
import "./chunk-5MMAK75Q.js";
|
|
228
|
-
import "./chunk-
|
|
239
|
+
import "./chunk-GX2MFKF3.js";
|
|
229
240
|
import "./chunk-E6A5NHDH.js";
|
|
230
241
|
import {
|
|
231
242
|
asRecordOrEmpty
|
|
@@ -239,70 +250,81 @@ import "./chunk-DWLEOOGR.js";
|
|
|
239
250
|
import {
|
|
240
251
|
isAbortError
|
|
241
252
|
} from "./chunk-7DPNBQSV.js";
|
|
242
|
-
import "./chunk-
|
|
243
|
-
import "./chunk-GYX6XTAI.js";
|
|
253
|
+
import "./chunk-Z3KTXWWB.js";
|
|
244
254
|
import "./chunk-2SXN7LAY.js";
|
|
255
|
+
import {
|
|
256
|
+
toErrorMessage
|
|
257
|
+
} from "./chunk-HNMXYYJR.js";
|
|
258
|
+
import "./chunk-OW765XBU.js";
|
|
245
259
|
import "./chunk-G7Y4GXTY.js";
|
|
246
260
|
import "./chunk-6UBGXX2W.js";
|
|
247
261
|
import "./chunk-BV3FLP2L.js";
|
|
248
|
-
import "./chunk-
|
|
262
|
+
import "./chunk-KAHYBAEN.js";
|
|
263
|
+
import "./chunk-J42X32PV.js";
|
|
249
264
|
import "./chunk-EUGTFFO6.js";
|
|
250
265
|
import "./chunk-AETZ7AD6.js";
|
|
251
|
-
import "./chunk-
|
|
266
|
+
import "./chunk-ZQAADXSF.js";
|
|
252
267
|
import "./chunk-KHCLMKZZ.js";
|
|
253
|
-
import "./chunk-
|
|
268
|
+
import "./chunk-DLXL4NSL.js";
|
|
254
269
|
import {
|
|
255
270
|
createDialogMessageKeyAndId,
|
|
256
|
-
dialogMessageKey
|
|
271
|
+
dialogMessageKey,
|
|
272
|
+
ulid
|
|
257
273
|
} from "./chunk-OJKUU3LP.js";
|
|
258
274
|
import {
|
|
259
275
|
splitDialogKeyIdentity
|
|
260
276
|
} from "./chunk-YZMNK53S.js";
|
|
261
277
|
import {
|
|
262
278
|
resolveRuntimeToolSurfaceForAgent
|
|
263
|
-
} from "./chunk-
|
|
264
|
-
import "./chunk-
|
|
279
|
+
} from "./chunk-FOC4TORM.js";
|
|
280
|
+
import "./chunk-O7ZY6SUK.js";
|
|
281
|
+
import "./chunk-KGKTN2NX.js";
|
|
265
282
|
import {
|
|
283
|
+
isOpenAiResponsesModel
|
|
284
|
+
} from "./chunk-BVYHE6QD.js";
|
|
285
|
+
import "./chunk-HJTI7RZV.js";
|
|
286
|
+
import "./chunk-ZC3CMUKU.js";
|
|
287
|
+
import {
|
|
288
|
+
PUBLIC_GPT_IMAGE_2_GENERATOR_AGENT_KEY,
|
|
266
289
|
isSystemBuiltinTrustedAgentKey
|
|
267
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-YRPIUIEQ.js";
|
|
268
291
|
import {
|
|
269
292
|
extractCustomId
|
|
270
293
|
} from "./chunk-M2EJHDJP.js";
|
|
271
294
|
import "./chunk-I42VC5KR.js";
|
|
272
|
-
import
|
|
295
|
+
import {
|
|
296
|
+
asTrimmedString
|
|
297
|
+
} from "./chunk-3EUW3WEO.js";
|
|
298
|
+
import "./chunk-CW6LRDSF.js";
|
|
273
299
|
import {
|
|
274
300
|
getPublicImageAgentDefaultProfile,
|
|
275
301
|
getPublicImageAgentMode
|
|
276
302
|
} from "./chunk-VIDPVFP3.js";
|
|
277
303
|
import "./chunk-4JH2UMJR.js";
|
|
278
|
-
import "./chunk-U6VC4MU4.js";
|
|
279
|
-
import "./chunk-LCBAMY2M.js";
|
|
280
|
-
import "./chunk-EJQE5HB7.js";
|
|
281
|
-
import "./chunk-6SOWMEAY.js";
|
|
282
|
-
import {
|
|
283
|
-
toErrorMessage
|
|
284
|
-
} from "./chunk-HNMXYYJR.js";
|
|
285
|
-
import "./chunk-LVZVSLKO.js";
|
|
286
|
-
import {
|
|
287
|
-
isOpenAiResponsesModel
|
|
288
|
-
} from "./chunk-2JHGUL5K.js";
|
|
289
|
-
import {
|
|
290
|
-
asTrimmedString
|
|
291
|
-
} from "./chunk-3EUW3WEO.js";
|
|
292
304
|
import "./chunk-WWC7I6TA.js";
|
|
305
|
+
import "./chunk-U6VC4MU4.js";
|
|
293
306
|
import {
|
|
294
307
|
getApiEndpoint
|
|
295
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-RI7SXDJW.js";
|
|
309
|
+
import "./chunk-7LR2IFUH.js";
|
|
296
310
|
import "./chunk-JRTNUU5Z.js";
|
|
297
311
|
import {
|
|
298
312
|
isRecord
|
|
299
313
|
} from "./chunk-KUG52IAP.js";
|
|
314
|
+
import "./chunk-72VWN4VK.js";
|
|
315
|
+
import "./chunk-LCBAMY2M.js";
|
|
316
|
+
import "./chunk-IV6VUVLJ.js";
|
|
300
317
|
import {
|
|
301
318
|
asOptionalTrimmedString
|
|
302
319
|
} from "./chunk-G3SUCT4W.js";
|
|
320
|
+
import "./chunk-FI4DPLR7.js";
|
|
303
321
|
import "./chunk-4SN6J65J.js";
|
|
304
322
|
import "./chunk-CF7PE763.js";
|
|
305
|
-
import "./chunk-
|
|
323
|
+
import "./chunk-DSBRIUX5.js";
|
|
324
|
+
import "./chunk-35JIFLIG.js";
|
|
325
|
+
import "./chunk-SR57FDTX.js";
|
|
326
|
+
import "./chunk-MDAYRIP7.js";
|
|
327
|
+
import "./chunk-G22P2J7O.js";
|
|
306
328
|
import "./chunk-QSJ3HFEF.js";
|
|
307
329
|
import "./chunk-U67V476Y.js";
|
|
308
330
|
|
|
@@ -310,6 +332,8 @@ import "./chunk-U67V476Y.js";
|
|
|
310
332
|
function isVoiceModel(model, provider) {
|
|
311
333
|
const providerLower = String(provider || "").toLowerCase();
|
|
312
334
|
const modelLower = String(model || "").toLowerCase();
|
|
335
|
+
if (providerLower === "openai" && ["gpt-live-1", "gpt-live-1.1"].includes(modelLower)) return true;
|
|
336
|
+
if (providerLower === "xai" && modelLower === "grok-voice-latest") return true;
|
|
313
337
|
if (providerLower === "google" && modelLower.includes("live")) return true;
|
|
314
338
|
if (modelLower.includes("live-preview")) return true;
|
|
315
339
|
if (modelLower.includes("live-001")) return true;
|
|
@@ -526,7 +550,13 @@ function buildResponsesRequestBodyWithTools(bodyData, agentConfig) {
|
|
|
526
550
|
}
|
|
527
551
|
] : []
|
|
528
552
|
];
|
|
529
|
-
const sourceBodyData = bodyData
|
|
553
|
+
const sourceBodyData = agentConfig.dbKey === PUBLIC_GPT_IMAGE_2_GENERATOR_AGENT_KEY && Array.isArray(bodyData.input) ? { ...bodyData, input: bodyData.input.map((item) => {
|
|
554
|
+
if (item?.role !== "user" || !Array.isArray(item.content) || !item.content.some((part) => part?.type === "input_image")) return item;
|
|
555
|
+
return { ...item, content: [
|
|
556
|
+
...item.content.filter((part) => part?.type !== "input_image"),
|
|
557
|
+
{ type: "input_text", text: "This message includes image attachments. For the current generation request, call openAIGptImageGenerate with the prompt; the runtime supplies current-turn reference images automatically." }
|
|
558
|
+
] };
|
|
559
|
+
}) } : bodyData;
|
|
530
560
|
const sanitizedInput = Array.isArray(sourceBodyData?.input) ? sanitizeOutboundResponsesInput(sourceBodyData.input) : sourceBodyData?.input;
|
|
531
561
|
const baseBodyData = sanitizedInput !== sourceBodyData?.input ? { ...sourceBodyData, input: sanitizedInput } : sourceBodyData;
|
|
532
562
|
return {
|
|
@@ -544,7 +574,8 @@ var sendOpenAIResponseRequest = async ({
|
|
|
544
574
|
messageMetadata,
|
|
545
575
|
quickChatPerfStartedAt,
|
|
546
576
|
fallbackBodyData,
|
|
547
|
-
userMessageId
|
|
577
|
+
userMessageId,
|
|
578
|
+
currentReferenceImageUrls
|
|
548
579
|
}) => {
|
|
549
580
|
const { dispatch, getState, signal: thunkSignal } = thunkApi;
|
|
550
581
|
const dialogId = splitDialogKeyIdentity(dialogKey)?.dialogId ?? extractCustomId(dialogKey);
|
|
@@ -778,7 +809,10 @@ var sendOpenAIResponseRequest = async ({
|
|
|
778
809
|
messageId,
|
|
779
810
|
dialogId,
|
|
780
811
|
dialogKey,
|
|
781
|
-
userMessageId
|
|
812
|
+
userMessageId,
|
|
813
|
+
currentReferenceImageUrls,
|
|
814
|
+
serverBase: thunkApi.serverBase,
|
|
815
|
+
runtimeServers: thunkApi.runtimeServers
|
|
782
816
|
})
|
|
783
817
|
).unwrap();
|
|
784
818
|
state.content = Array.isArray(result.finalContentBuffer) ? result.finalContentBuffer.filter((part) => part?.type === "text").map((part) => part.text ?? "").join("") : state.content;
|
|
@@ -814,13 +848,14 @@ var sendOpenAIResponseRequest = async ({
|
|
|
814
848
|
api,
|
|
815
849
|
dialogKey
|
|
816
850
|
});
|
|
851
|
+
const currentServer = thunkApi.serverBase ?? selectRuntimeCurrentServer(getState());
|
|
817
852
|
attemptLoop:
|
|
818
853
|
for (let attempt = 0; attempt <= MAX_INITIAL_STREAM_RETRIES; attempt += 1) {
|
|
819
854
|
const response = await performFetchRequest({
|
|
820
855
|
agentConfig,
|
|
821
856
|
api,
|
|
822
857
|
bodyData: requestBody,
|
|
823
|
-
currentServer
|
|
858
|
+
currentServer,
|
|
824
859
|
signal,
|
|
825
860
|
token: token ?? "",
|
|
826
861
|
dialogId,
|
|
@@ -1698,7 +1733,7 @@ var readAgentConfigForTurn = async (dispatch, agentKey, quickChatPerfStartedAt)
|
|
|
1698
1733
|
if (timeoutId) clearTimeout(timeoutId);
|
|
1699
1734
|
}
|
|
1700
1735
|
};
|
|
1701
|
-
var buildDynamicContextsForTurn = async (state, dispatch, agentConfig, userInput, runtimeOptions, mergedContentCache, dialogKey, quickChatPerfStartedAt) => {
|
|
1736
|
+
var buildDynamicContextsForTurn = async (state, dispatch, agentConfig, userInput, runtimeOptions, mergedContentCache, dialogKey, quickChatPerfStartedAt, serverBase) => {
|
|
1702
1737
|
if (!quickChatPerfStartedAt) {
|
|
1703
1738
|
return buildDynamicContexts(
|
|
1704
1739
|
state,
|
|
@@ -1707,7 +1742,8 @@ var buildDynamicContextsForTurn = async (state, dispatch, agentConfig, userInput
|
|
|
1707
1742
|
userInput,
|
|
1708
1743
|
runtimeOptions,
|
|
1709
1744
|
mergedContentCache,
|
|
1710
|
-
dialogKey
|
|
1745
|
+
dialogKey,
|
|
1746
|
+
serverBase
|
|
1711
1747
|
);
|
|
1712
1748
|
}
|
|
1713
1749
|
let timeoutId;
|
|
@@ -1734,7 +1770,8 @@ var buildDynamicContextsForTurn = async (state, dispatch, agentConfig, userInput
|
|
|
1734
1770
|
userInput,
|
|
1735
1771
|
runtimeOptions,
|
|
1736
1772
|
mergedContentCache,
|
|
1737
|
-
dialogKey
|
|
1773
|
+
dialogKey,
|
|
1774
|
+
serverBase
|
|
1738
1775
|
);
|
|
1739
1776
|
return await Promise.race([
|
|
1740
1777
|
contextPromise,
|
|
@@ -2051,13 +2088,19 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
|
|
|
2051
2088
|
userInput,
|
|
2052
2089
|
dialogKey: explicitDialogKey,
|
|
2053
2090
|
parentMessageId,
|
|
2054
|
-
runtimeOptions,
|
|
2091
|
+
runtimeOptions: requestedRuntimeOptions,
|
|
2055
2092
|
quickChatPerfStartedAt,
|
|
2056
2093
|
ephemeralReferences,
|
|
2057
2094
|
contextBlocks
|
|
2058
2095
|
} = args;
|
|
2059
2096
|
const { getState, dispatch, rejectWithValue } = thunkApi;
|
|
2060
2097
|
const state = getState();
|
|
2098
|
+
const accountPolicy = getUserPreferencesStore(getState).getSnapshot();
|
|
2099
|
+
const runtimeServers = getRuntimeServerSnapshot(state);
|
|
2100
|
+
const currentServer = googleSessionServer(selectIdentityToken(state), runtimeServers.currentServer) ?? resolveDesktopSafeServer(runtimeServers.currentServer);
|
|
2101
|
+
const serverBase = currentServer;
|
|
2102
|
+
const runtimeOptions = requestedRuntimeOptions && Object.freeze({ ...requestedRuntimeOptions });
|
|
2103
|
+
const turnThunkApi = { ...thunkApi, accountPolicy, serverBase, runtimeServers };
|
|
2061
2104
|
const loopController = new AbortController();
|
|
2062
2105
|
const isTurnAborted = (error) => isAbortError(error) || loopController.signal.aborted || thunkApi.signal.aborted;
|
|
2063
2106
|
const onAbort = () => loopController.abort();
|
|
@@ -2245,7 +2288,6 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
|
|
|
2245
2288
|
agentConfig.dbKey
|
|
2246
2289
|
);
|
|
2247
2290
|
const cleanedMessages = filterAndCleanMessages(visibleMessages);
|
|
2248
|
-
const currentServer2 = selectCurrentServer(currentState);
|
|
2249
2291
|
remoteTransientMessageId = messageId;
|
|
2250
2292
|
let accumulated2 = "";
|
|
2251
2293
|
let totalTurnUsage2 = void 0;
|
|
@@ -2287,7 +2329,7 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
|
|
|
2287
2329
|
remoteTransientMessageFinalized = true;
|
|
2288
2330
|
return rejectWithValue(message);
|
|
2289
2331
|
};
|
|
2290
|
-
const machineResponse = await fetch(`${
|
|
2332
|
+
const machineResponse = await fetch(`${currentServer.replace(/\/+$/, "")}/api/agent/run`, {
|
|
2291
2333
|
method: "POST",
|
|
2292
2334
|
headers: {
|
|
2293
2335
|
"Content-Type": "application/json",
|
|
@@ -2360,15 +2402,15 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
|
|
|
2360
2402
|
receiveActionGate(
|
|
2361
2403
|
payload.gate,
|
|
2362
2404
|
targetForRunKind("server-run", {
|
|
2363
|
-
server:
|
|
2405
|
+
server: currentServer,
|
|
2364
2406
|
token
|
|
2365
2407
|
}),
|
|
2366
2408
|
dialogId2
|
|
2367
2409
|
);
|
|
2368
2410
|
}
|
|
2369
2411
|
remoteToolHandlers.handleToolPayload(payload);
|
|
2370
|
-
if (payload.type === "text" && typeof payload.content === "string") {
|
|
2371
|
-
accumulated2
|
|
2412
|
+
if ((payload.type === "text" || payload.type === "text_replace") && typeof payload.content === "string") {
|
|
2413
|
+
accumulated2 = payload.type === "text_replace" ? payload.content : accumulated2 + payload.content;
|
|
2372
2414
|
dispatch(messageStreaming({
|
|
2373
2415
|
id: messageId,
|
|
2374
2416
|
dialogId: dialogId2,
|
|
@@ -2674,15 +2716,13 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
|
|
|
2674
2716
|
dialogKey,
|
|
2675
2717
|
dialogId
|
|
2676
2718
|
});
|
|
2677
|
-
turnPhaseTurnId = `turn-phase:${dialogId}:${
|
|
2719
|
+
turnPhaseTurnId = `turn-phase:${dialogId}:${ulid()}`;
|
|
2678
2720
|
claimDialogTurnPhase({ dialogKey, turnId: turnPhaseTurnId });
|
|
2679
2721
|
if (shouldUseDesktopLocalRuntime(agentConfig, explicitTarget)) {
|
|
2680
2722
|
const desktopMessageMetadata = buildMessageMetadata(agentConfig);
|
|
2681
2723
|
const w2 = typeof globalThis !== "undefined" && globalThis.window ? globalThis.window : null;
|
|
2682
2724
|
loopKey = `loop:${dialogId}`;
|
|
2683
2725
|
dispatch(addActiveController({ messageId: loopKey, controller: loopController, dialogKey }));
|
|
2684
|
-
turnPhaseTurnId = `turn-phase:${dialogId}:${Date.now().toString(36)}:${Math.random().toString(36).slice(2, 8)}`;
|
|
2685
|
-
claimDialogTurnPhase({ dialogKey, turnId: turnPhaseTurnId });
|
|
2686
2726
|
const ownsDesktopTurn = () => !loopController.signal.aborted && !thunkApi.signal.aborted && getDialogRuntimeState(dialogKey).turnPhaseTurnId === turnPhaseTurnId;
|
|
2687
2727
|
const admitDesktopBatch = async () => {
|
|
2688
2728
|
const admission = new AbortController();
|
|
@@ -2864,6 +2904,8 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
|
|
|
2864
2904
|
},
|
|
2865
2905
|
...toolEvent.argumentsPreview ? {
|
|
2866
2906
|
toolPayload: {
|
|
2907
|
+
toolName: toolEvent.toolName,
|
|
2908
|
+
status: "running",
|
|
2867
2909
|
input: {
|
|
2868
2910
|
command: toolEvent.argumentsPreview,
|
|
2869
2911
|
cmd: toolEvent.argumentsPreview
|
|
@@ -3172,7 +3214,6 @@ ${info.actionHint}` : streamError;
|
|
|
3172
3214
|
}
|
|
3173
3215
|
const userInputText = extractAgentRunUserText(userInput);
|
|
3174
3216
|
const explicitServerBase = asOptionalTrimmedString(args.serverBase) ?? null;
|
|
3175
|
-
const currentServer = selectCurrentServer(state);
|
|
3176
3217
|
const normalizedRequestedServerBase = explicitServerBase && normalizeServerOrigin(explicitServerBase);
|
|
3177
3218
|
const normalizedCurrentServer = normalizeServerOrigin(
|
|
3178
3219
|
currentServer
|
|
@@ -3348,8 +3389,8 @@ ${info.actionHint}` : streamError;
|
|
|
3348
3389
|
);
|
|
3349
3390
|
}
|
|
3350
3391
|
remoteToolHandlers.handleToolPayload(payload);
|
|
3351
|
-
if (payload.type === "text" && typeof payload.content === "string") {
|
|
3352
|
-
accumulated
|
|
3392
|
+
if ((payload.type === "text" || payload.type === "text_replace") && typeof payload.content === "string") {
|
|
3393
|
+
accumulated = payload.type === "text_replace" ? payload.content : accumulated + payload.content;
|
|
3353
3394
|
dispatch(messageStreaming({
|
|
3354
3395
|
id: messageId,
|
|
3355
3396
|
dialogId,
|
|
@@ -3412,7 +3453,7 @@ ${info.actionHint}` : streamError;
|
|
|
3412
3453
|
};
|
|
3413
3454
|
}
|
|
3414
3455
|
}
|
|
3415
|
-
const activeDialogConfig = selectDialogConfigByKey(getState(), explicitDialogKey) ?? selectCurrentDialogConfig(getState()) ?? currentDialog;
|
|
3456
|
+
const activeDialogConfig = selectDialogConfigByKey(getState(), dialogKey) ?? selectDialogConfigByKey(getState(), explicitDialogKey) ?? selectCurrentDialogConfig(getState()) ?? currentDialog;
|
|
3416
3457
|
const turnToolContext = await resolveTurnToolContext({
|
|
3417
3458
|
agentConfig,
|
|
3418
3459
|
dialogConfig: activeDialogConfig,
|
|
@@ -3443,7 +3484,7 @@ ${info.actionHint}` : streamError;
|
|
|
3443
3484
|
};
|
|
3444
3485
|
const initialRawMsgs = selectAdmittedMessages(selectAllMsgs(state, dialogId));
|
|
3445
3486
|
const initialHistoryIds = new Set(initialRawMsgs.map((m) => m.id));
|
|
3446
|
-
const accountSkillRuntime = agentConfigWithReferences.runtimePromptAlreadyInMessages ? null : await resolveUserSkillRuntime(agentConfigWithReferences,
|
|
3487
|
+
const accountSkillRuntime = agentConfigWithReferences.runtimePromptAlreadyInMessages ? null : await resolveUserSkillRuntime(agentConfigWithReferences, accountPolicy);
|
|
3447
3488
|
const agentConfigWithTools = resolveWebAgentRuntimeToolSurface(
|
|
3448
3489
|
mergeAgentToolsWithRuntime(
|
|
3449
3490
|
agentConfigWithReferences,
|
|
@@ -3451,14 +3492,53 @@ ${info.actionHint}` : streamError;
|
|
|
3451
3492
|
mentionedTools,
|
|
3452
3493
|
runtimeOptions,
|
|
3453
3494
|
state,
|
|
3454
|
-
accountSkillRuntime
|
|
3495
|
+
accountSkillRuntime,
|
|
3496
|
+
accountPolicy.systemBuiltinSkills
|
|
3455
3497
|
),
|
|
3456
3498
|
state
|
|
3457
3499
|
);
|
|
3458
|
-
|
|
3500
|
+
let effectiveContextBlocks = contextBlocks;
|
|
3501
|
+
let agentConfigForCall = applyImageConfigRuntimeOverride(
|
|
3459
3502
|
agentConfigWithTools,
|
|
3460
3503
|
runtimeOptions
|
|
3461
3504
|
);
|
|
3505
|
+
const currentUserId = selectIdentityUserId(state);
|
|
3506
|
+
const dialogAgentMode = activeDialogConfig ? resolveDialogAgentMode(activeDialogConfig) : void 0;
|
|
3507
|
+
if (!isWebMcpTurnAllowed({
|
|
3508
|
+
currentUserId,
|
|
3509
|
+
agentConfig: agentConfigForCall,
|
|
3510
|
+
agentKey,
|
|
3511
|
+
dialogAgentMode
|
|
3512
|
+
})) {
|
|
3513
|
+
if (Array.isArray(agentConfigForCall.tools)) {
|
|
3514
|
+
agentConfigForCall = {
|
|
3515
|
+
...agentConfigForCall,
|
|
3516
|
+
tools: stripMcpWebTools(agentConfigForCall.tools)
|
|
3517
|
+
};
|
|
3518
|
+
}
|
|
3519
|
+
} else {
|
|
3520
|
+
const mcpInjection = await resolveWebTurnMcpInjection({
|
|
3521
|
+
userId: currentUserId,
|
|
3522
|
+
token: selectIdentityToken(state),
|
|
3523
|
+
baseUrl: resolveToolBaseUrl(currentServer),
|
|
3524
|
+
agentKey,
|
|
3525
|
+
agentConfig: agentConfigForCall,
|
|
3526
|
+
dialogAgentMode,
|
|
3527
|
+
signal: loopController.signal
|
|
3528
|
+
});
|
|
3529
|
+
if (mcpInjection.tools) {
|
|
3530
|
+
agentConfigForCall = {
|
|
3531
|
+
...agentConfigForCall,
|
|
3532
|
+
tools: mcpInjection.tools
|
|
3533
|
+
};
|
|
3534
|
+
}
|
|
3535
|
+
if (mcpInjection.directoryPrompt) {
|
|
3536
|
+
effectiveContextBlocks = [
|
|
3537
|
+
...effectiveContextBlocks ?? [],
|
|
3538
|
+
mcpInjection.directoryPrompt
|
|
3539
|
+
];
|
|
3540
|
+
}
|
|
3541
|
+
}
|
|
3462
3542
|
const effectiveAgentConfig = agentConfigForCall;
|
|
3463
3543
|
const initialImageGenerationState = resolveImageGenerationStreamingState(
|
|
3464
3544
|
effectiveAgentConfig
|
|
@@ -3471,7 +3551,7 @@ ${info.actionHint}` : streamError;
|
|
|
3471
3551
|
resolveAgentCallPlan(agentConfigForCall, {})
|
|
3472
3552
|
) === "responses";
|
|
3473
3553
|
if (isRespModel) {
|
|
3474
|
-
const maxExecutionTime2 =
|
|
3554
|
+
const maxExecutionTime2 = accountPolicy.maxExecutionTime;
|
|
3475
3555
|
const MAX_TIME_MS2 = maxExecutionTime2 > 0 ? maxExecutionTime2 : 24e4;
|
|
3476
3556
|
const startTime2 = Date.now();
|
|
3477
3557
|
const staticContexts2 = await buildStaticContextsWithToolsPrewarm(
|
|
@@ -3573,7 +3653,7 @@ ${info.actionHint}` : streamError;
|
|
|
3573
3653
|
agentConfigForCall
|
|
3574
3654
|
);
|
|
3575
3655
|
logQuickChatPerfStage2(quickChatPerfStartedAt, "stream-agent-dynamic-context-decision", {
|
|
3576
|
-
hasRuntimeOptions: !!
|
|
3656
|
+
hasRuntimeOptions: !!requestedRuntimeOptions,
|
|
3577
3657
|
isSimpleTextInput: isSimpleTextInput(userInput),
|
|
3578
3658
|
referenceKeyCount: currentDialog?.referenceKeys?.length ?? 0,
|
|
3579
3659
|
willSkipDynamicContext,
|
|
@@ -3594,14 +3674,15 @@ ${info.actionHint}` : streamError;
|
|
|
3594
3674
|
runtimeOptions,
|
|
3595
3675
|
mergedContentCache,
|
|
3596
3676
|
dialogKey,
|
|
3597
|
-
quickChatPerfStartedAt
|
|
3677
|
+
quickChatPerfStartedAt,
|
|
3678
|
+
serverBase
|
|
3598
3679
|
);
|
|
3599
3680
|
logQuickChatPerfStage2(quickChatPerfStartedAt, "stream-agent-dynamic-context-ready", {
|
|
3600
3681
|
responseApi: true
|
|
3601
3682
|
});
|
|
3602
3683
|
const contexts = withRequestContextBlocks(
|
|
3603
3684
|
mergeContexts(staticContexts2, dynamicContexts),
|
|
3604
|
-
|
|
3685
|
+
effectiveContextBlocks
|
|
3605
3686
|
);
|
|
3606
3687
|
const rawMessages = selectAdmittedMessages(selectAllMsgs(loopState, dialogId));
|
|
3607
3688
|
let visibleMessages = buildAgentViewMessages(
|
|
@@ -3648,7 +3729,7 @@ ${info.actionHint}` : streamError;
|
|
|
3648
3729
|
availableHistoryTokens,
|
|
3649
3730
|
contextWindow: ctxWindow,
|
|
3650
3731
|
preserveLatestUserByProjection: true
|
|
3651
|
-
}, { ...
|
|
3732
|
+
}, { ...turnThunkApi, signal: loopController.signal }),
|
|
3652
3733
|
build: async () => {
|
|
3653
3734
|
const summaryConfig = selectById(getState(), dialogKey);
|
|
3654
3735
|
const refreshedContexts = { ...contexts, dialogSummary: summaryConfig?.summary || null };
|
|
@@ -3693,12 +3774,18 @@ ${info.actionHint}` : streamError;
|
|
|
3693
3774
|
return sendOpenAIResponseRequest({
|
|
3694
3775
|
bodyData,
|
|
3695
3776
|
agentConfig: agentConfigForCall,
|
|
3696
|
-
thunkApi,
|
|
3777
|
+
thunkApi: turnThunkApi,
|
|
3697
3778
|
dialogKey,
|
|
3698
3779
|
parentMessageId: currentParentMessageId2,
|
|
3699
3780
|
messageMetadata: streamingMessageMetadata,
|
|
3700
3781
|
quickChatPerfStartedAt,
|
|
3701
3782
|
fallbackBodyData,
|
|
3783
|
+
...agentConfigForCall.dbKey === PUBLIC_GPT_IMAGE_2_GENERATOR_AGENT_KEY ? {
|
|
3784
|
+
currentReferenceImageUrls: extractImageUrlsFromMessages([{
|
|
3785
|
+
role: "user",
|
|
3786
|
+
content: activeTurnUserMessageId2 ? rawMessages.find((message) => message.role === "user" && message.id === activeTurnUserMessageId2)?.content : appendTempUserInput2 ? agentRunUserInput : void 0
|
|
3787
|
+
}])
|
|
3788
|
+
} : {},
|
|
3702
3789
|
userMessageId: workMemoryUserMessageId(dialogId, activeTurnUserMessageId2)
|
|
3703
3790
|
});
|
|
3704
3791
|
}
|
|
@@ -3793,7 +3880,7 @@ ${info.actionHint}` : streamError;
|
|
|
3793
3880
|
usage: totalTurnUsage ?? void 0
|
|
3794
3881
|
};
|
|
3795
3882
|
}
|
|
3796
|
-
const maxExecutionTime =
|
|
3883
|
+
const maxExecutionTime = accountPolicy.maxExecutionTime;
|
|
3797
3884
|
const MAX_TIME_MS = maxExecutionTime > 0 ? maxExecutionTime : 24e4;
|
|
3798
3885
|
const startTime = Date.now();
|
|
3799
3886
|
const staticContexts = await buildStaticContextsWithToolsPrewarm(
|
|
@@ -3884,7 +3971,7 @@ ${info.actionHint}` : streamError;
|
|
|
3884
3971
|
agentConfigForCall
|
|
3885
3972
|
);
|
|
3886
3973
|
logQuickChatPerfStage2(quickChatPerfStartedAt, "stream-agent-dynamic-context-decision", {
|
|
3887
|
-
hasRuntimeOptions: !!
|
|
3974
|
+
hasRuntimeOptions: !!requestedRuntimeOptions,
|
|
3888
3975
|
isSimpleTextInput: isSimpleTextInput(userInput),
|
|
3889
3976
|
referenceKeyCount: currentDialog?.referenceKeys?.length ?? 0,
|
|
3890
3977
|
willSkipDynamicContext,
|
|
@@ -3905,14 +3992,15 @@ ${info.actionHint}` : streamError;
|
|
|
3905
3992
|
runtimeOptions,
|
|
3906
3993
|
mergedContentCache,
|
|
3907
3994
|
dialogKey,
|
|
3908
|
-
quickChatPerfStartedAt
|
|
3995
|
+
quickChatPerfStartedAt,
|
|
3996
|
+
serverBase
|
|
3909
3997
|
);
|
|
3910
3998
|
logQuickChatPerfStage2(quickChatPerfStartedAt, "stream-agent-dynamic-context-ready", {
|
|
3911
3999
|
responseApi: false
|
|
3912
4000
|
});
|
|
3913
4001
|
const contexts = withRequestContextBlocks(
|
|
3914
4002
|
mergeContexts(staticContexts, dynamicContexts),
|
|
3915
|
-
|
|
4003
|
+
effectiveContextBlocks
|
|
3916
4004
|
);
|
|
3917
4005
|
const rawMessages = selectAdmittedMessages(selectAllMsgs(loopState, dialogId));
|
|
3918
4006
|
let visibleMessages = buildAgentViewMessages(
|
|
@@ -3959,7 +4047,7 @@ ${info.actionHint}` : streamError;
|
|
|
3959
4047
|
availableHistoryTokens,
|
|
3960
4048
|
contextWindow: ctxWindow,
|
|
3961
4049
|
preserveLatestUserByProjection: true
|
|
3962
|
-
}, { ...
|
|
4050
|
+
}, { ...turnThunkApi, signal: loopController.signal }),
|
|
3963
4051
|
build: async () => {
|
|
3964
4052
|
const summaryConfig = selectById(getState(), dialogKey);
|
|
3965
4053
|
const refreshedContexts = { ...contexts, dialogSummary: summaryConfig?.summary || null };
|
|
@@ -3985,7 +4073,7 @@ ${info.actionHint}` : streamError;
|
|
|
3985
4073
|
),
|
|
3986
4074
|
{
|
|
3987
4075
|
shouldInline: shouldInlineImageUrlsForAgent(agentConfigForCall),
|
|
3988
|
-
serverUrl:
|
|
4076
|
+
serverUrl: currentServer,
|
|
3989
4077
|
signal: loopController.signal
|
|
3990
4078
|
}
|
|
3991
4079
|
);
|
|
@@ -4023,7 +4111,7 @@ ${info.actionHint}` : streamError;
|
|
|
4023
4111
|
return sendOpenAICompletionsRequest({
|
|
4024
4112
|
bodyData,
|
|
4025
4113
|
agentConfig: agentConfigForCall,
|
|
4026
|
-
thunkApi,
|
|
4114
|
+
thunkApi: turnThunkApi,
|
|
4027
4115
|
dialogKey,
|
|
4028
4116
|
parentMessageId: currentParentMessageId,
|
|
4029
4117
|
messageMetadata: streamingMessageMetadata,
|