nolo-cli 0.259.0-alpha.1 → 0.261.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-MTM4BJK3.js → _executeModel-PODMRXJJ.js} +97 -83
- package/accountResolver-NGICIMEE.js +1 -1
- package/{action-C6IQAKN4.js → action-NJTYNXXR.js} +12 -10
- package/{addContentAction-53364YDW.js → addContentAction-RUPXLROG.js} +14 -13
- package/{addDialogAgentAction-U5DD5EN5.js → addDialogAgentAction-57EJ2UBC.js} +20 -24
- package/{agentDeleteCommand-53NN3VSK.js → agentDeleteCommand-DRFCOTYP.js} +185 -147
- package/{agentEmailCommands-KOGGIT6I.js → agentEmailCommands-FHENHUBF.js} +143 -127
- package/{agentGrantCommands-L6O2HVJI.js → agentGrantCommands-BMVKNYIY.js} +9 -6
- package/{agentListCommands-62UYUQDI.js → agentListCommands-W66W5K3V.js} +88 -69
- package/{agentMachineCommands-W6TNJXEA.js → agentMachineCommands-C3BUBCXU.js} +69 -60
- package/{agentProviderCommands-QLTABYR7.js → agentProviderCommands-VIWKP7DM.js} +11 -8
- package/{agentPullCommand-2EYJ5ENC.js → agentPullCommand-5SNSXOY7.js} +10 -7
- package/agentRecordCommands-DYMHWTID.js +210 -0
- package/agentRun-QVFG3CI4.js +250 -0
- package/agentRunCommand-YV4V5HSL.js +248 -0
- package/{agentRunControl-LXMADX3N.js → agentRunControl-RGBHKPKJ.js} +19 -12
- package/{agentRuntimeLocal-YGNJMQW3.js → agentRuntimeLocal-LVEMOYS2.js} +62 -49
- package/{agentSlice-3HHYUQLM.js → agentSlice-OJCM7OUX.js} +15 -18
- package/appConfigCommands-ZUXQLE7L.js +417 -0
- package/{appDeleteCommands-5COJ6CSG.js → appDeleteCommands-L5UKUMXY.js} +68 -58
- package/{appDeployCommands-3JPAT3XO.js → appDeployCommands-KX2BRQUW.js} +74 -59
- package/{appDeployStatusCommands-RHZKF3G4.js → appDeployStatusCommands-7LHRSWW7.js} +68 -58
- package/{appGetCommands-73DXOAQW.js → appGetCommands-F7SDFCUK.js} +74 -58
- package/{appListCommands-HD5LOQ3G.js → appListCommands-U4NJKSMZ.js} +74 -58
- package/appMigrateCommands-JAPOLYSW.js +230 -0
- package/appSourceCommands-TLXPWXUH.js +279 -0
- package/authCommand-AU3GZBZ2.js +65 -0
- package/{authCommands-T5FODCEG.js → authCommands-JKBWMUQ4.js} +20 -17
- package/{builtinSkillRegistry-EDHD2UHU.js → builtinSkillRegistry-6XUWMAV5.js} +8 -6
- package/{chromeOpsCommands-3SSTDFRF.js → chromeOpsCommands-F47WYQWF.js} +68 -18
- package/{chunk-5YS6QHGT.js → chunk-2FGFY72B.js} +9 -9
- package/{chunk-MJBLXJMP.js → chunk-2I4R6ZRV.js} +12 -9
- 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-7OVOZRZF.js → chunk-3B7OTHDW.js} +23 -379
- package/{chunk-DNNPARJK.js → chunk-3QMN3T6L.js} +50 -37
- package/{chunk-DMPZMYH4.js → chunk-3R4AYHJR.js} +13 -1
- package/{chunk-XNNBXUEM.js → chunk-3TII7WCF.js} +5 -5
- 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-KZ4A7EIV.js → chunk-56OAS5RZ.js} +1 -1
- package/{chunk-KQHEGELM.js → chunk-63G7JWEA.js} +16 -6
- package/{chunk-4EACJPZI.js → chunk-6BBXJGIQ.js} +51 -42
- package/chunk-72VWN4VK.js +51 -0
- package/chunk-7LR2IFUH.js +100 -0
- package/{chunk-S73EPYNC.js → chunk-7LS5ATRP.js} +20 -6
- package/{chunk-XPETQ4MR.js → chunk-7X4BFUJV.js} +24 -10
- package/{chunk-KHYSFS3W.js → chunk-A454UXB6.js} +148 -73
- package/chunk-A4O76A6V.js +432 -0
- package/chunk-AMNZPQCY.js +635 -0
- package/{chunk-4MXYCQBS.js → chunk-AQNWWJLH.js} +2 -56
- package/{chunk-LHCGKAFO.js → chunk-BKP325XS.js} +184 -112
- package/{chunk-PENRYZ4D.js → chunk-BPB3T5EU.js} +4 -7
- package/{chunk-U6QNVOR5.js → chunk-BUGLH2A7.js} +130 -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-Y2TCTNUD.js → chunk-CK2LMTYO.js} +4 -4
- package/{chunk-AIFQKNPP.js → chunk-CL33RFD7.js} +1 -1
- package/{chunk-57V4PADY.js → chunk-CNYPQYXT.js} +781 -449
- package/{chunk-P4R5KXU7.js → chunk-CW6LRDSF.js} +5 -5
- package/chunk-D3ONA3FP.js +762 -0
- package/{chunk-PIVTQRX6.js → chunk-DDKA6V6X.js} +111 -12
- 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-DBJODIZ6.js → chunk-EQOWWSNQ.js} +19 -27
- package/chunk-ER6NTALN.js +34 -0
- package/{chunk-L4XST72F.js → chunk-ERCSHBUD.js} +16027 -17392
- package/chunk-EUHMI5KG.js +101 -0
- package/{chunk-YQLAFJRQ.js → chunk-FBNVJ2TO.js} +1 -1
- package/{chunk-Q2EERN52.js → chunk-FF5ZRKW7.js} +12 -7
- package/{chunk-6XIE5ZGI.js → chunk-FGFJUFPS.js} +5 -6
- package/chunk-FI4DPLR7.js +902 -0
- package/{chunk-HDKMVYNJ.js → chunk-FNLT7NKG.js} +7 -11
- package/{chunk-JCQ3WCQ3.js → chunk-FOC4TORM.js} +69 -3
- package/chunk-FP46RAJQ.js +58 -0
- package/{chunk-JPXACKSW.js → chunk-G22P2J7O.js} +30 -81
- package/{chunk-7WHCIA5V.js → chunk-G5IAIGGD.js} +3 -8
- package/{chunk-FZENZCIA.js → chunk-GEC4CHS2.js} +19 -12
- package/chunk-GF4LYNNZ.js +25 -0
- package/{chunk-IYLUK67R.js → chunk-GH6SS2DZ.js} +25 -8
- package/chunk-HAZ6UVH4.js +368 -0
- package/{chunk-OKAXQFON.js → chunk-HB4J5HA6.js} +4 -4
- package/{chunk-324FWHUA.js → chunk-HHXF57CL.js} +12 -3
- package/chunk-HJTI7RZV.js +94 -0
- package/{chunk-HQUGB2HM.js → chunk-HMFKYZKP.js} +62 -50
- package/{chunk-Q2MPKE4B.js → chunk-HVRG27HI.js} +76 -26
- package/{chunk-46FETNLF.js → chunk-IN4B6Z2D.js} +7 -6
- package/chunk-IV6VUVLJ.js +88 -0
- package/{chunk-LLUBUHNT.js → chunk-IWWJSSST.js} +5 -9
- package/{chunk-7BIJFGKS.js → chunk-J22PFCQN.js} +106 -52
- package/chunk-J42X32PV.js +472 -0
- package/{chunk-LCBAMY2M.js → chunk-JKVOKKMQ.js} +0 -7
- package/{chunk-KT7S7ANZ.js → chunk-JPYOHIHX.js} +9 -9
- package/{chunk-R7XWZDOH.js → chunk-JUMQJSQF.js} +1423 -282
- package/{chunk-KVMLM5VD.js → chunk-KAHYBAEN.js} +211 -472
- package/{chunk-KLMBM6P6.js → chunk-KALCFXQO.js} +2454 -1115
- package/chunk-KDDXC2IH.js +148 -0
- package/chunk-KGKTN2NX.js +25 -0
- package/chunk-KGWE224L.js +246 -0
- package/{chunk-OYUMJMC5.js → chunk-KSV6T4AH.js} +6 -1
- package/{chunk-P27E22MA.js → chunk-L43DGEPZ.js} +1 -1
- package/{chunk-5BIDJVNX.js → chunk-L45P4JTE.js} +180 -31
- package/chunk-LHCIIUCX.js +222 -0
- package/{chunk-CBIGMWMI.js → chunk-LHJB4BXJ.js} +1 -1
- package/{chunk-TRRXYFTR.js → chunk-LOFRSJX2.js} +1 -0
- package/{chunk-SQL7YNED.js → chunk-LPXBBC32.js} +71 -5
- package/{chunk-BIDSIRTS.js → chunk-LTCZOOAM.js} +11 -17
- package/chunk-LUTSMSIL.js +425 -0
- package/chunk-LXP53WGF.js +168 -0
- package/{chunk-2CT2J3O6.js → chunk-M7VNNPVX.js} +2493 -4055
- package/chunk-MDAYRIP7.js +1889 -0
- package/{chunk-6B2OBX5B.js → chunk-MMXHIHJZ.js} +15 -47
- package/{chunk-HPDLPEUG.js → chunk-MPWQI36J.js} +267 -234
- package/chunk-MRACVEPZ.js +7 -0
- package/{chunk-ZYPXOQS2.js → chunk-MSFKHPA6.js} +1 -1
- package/chunk-NHLLXINQ.js +8 -0
- package/{chunk-QXTEEEIN.js → chunk-NJCTPWJU.js} +8 -8
- package/chunk-NLS7F5DW.js +1697 -0
- package/{chunk-FP37ELBT.js → chunk-NTBTVKKB.js} +17 -25
- package/{chunk-JLZJL3WC.js → chunk-O77F26YB.js} +370 -39
- package/{chunk-LVZVSLKO.js → chunk-O7ZY6SUK.js} +5 -22
- package/{chunk-YN23INFZ.js → chunk-OIOMBPCA.js} +23 -2
- package/{chunk-CJOOF4L5.js → chunk-OSZNERNW.js} +17 -14
- package/{chunk-JZO7KUF3.js → chunk-P4I55ASV.js} +313 -275
- package/{chunk-2C5VN7NH.js → chunk-P4XAHM4B.js} +1 -1
- package/chunk-PL5RKESU.js +40 -0
- package/chunk-Q5FJJ6XI.js +103 -0
- package/{chunk-WS36XPJD.js → chunk-Q5IXZF3S.js} +82 -6
- package/{createAgentAutomationAction-GRZ6XY7Q.js → chunk-QKM55LP2.js} +3 -160
- package/{chunk-WSLL7VV4.js → chunk-QXWXRBOL.js} +9 -9
- package/{chunk-MXA54TQM.js → chunk-QZYQ3Y3G.js} +1 -1
- package/{chunk-FE7G6DSP.js → chunk-R72QWIFO.js} +14 -4
- package/{chunk-5RGU3J7P.js → chunk-REAE2SZK.js} +0 -1
- package/chunk-RF576RYE.js +117 -0
- package/chunk-RI7SXDJW.js +1317 -0
- package/{chunk-FEIVARWR.js → chunk-RIOAPUGV.js} +238 -25
- package/{chunk-BZLGPM5B.js → chunk-RNLKWUVY.js} +7 -12
- package/{chunk-J7JRCOIW.js → chunk-RWXHGPWJ.js} +1 -1
- package/{chunk-J55F3IEZ.js → chunk-SARJZIGR.js} +1 -1
- package/chunk-SJFL32RD.js +356 -0
- package/{chunk-6SOWMEAY.js → chunk-SR57FDTX.js} +2 -258
- package/{chunk-MPGR4ZNR.js → chunk-SRVLHMES.js} +46 -42
- package/{chunk-CEKRIR22.js → chunk-SU4NCTW4.js} +1 -1
- package/{chunk-RD3QLZQV.js → chunk-SWJRX4M5.js} +324 -2
- package/{chunk-R3TUHCSJ.js → chunk-T3Y2NA4H.js} +8 -3
- package/{chunk-53W5BXLN.js → chunk-TCOHWKDM.js} +54 -55
- package/{chunk-KWNVPY6M.js → chunk-TJXO66M2.js} +8 -5
- package/{chunk-QIGQFON2.js → chunk-TXMFSGRY.js} +1 -1
- package/{chunk-ADYWV732.js → chunk-U5PSCTMR.js} +264 -177
- package/{chunk-UUCYUN6Y.js → chunk-UB7NV7NN.js} +1 -1
- package/{chunk-QGFLVQ6E.js → chunk-UBOTXA3Z.js} +4 -14
- package/{chunk-6YX2RAQN.js → chunk-UEZL3RBG.js} +89 -164
- package/{chunk-NCFKHYDM.js → chunk-UJL23HBL.js} +774 -119
- package/chunk-ULPU4C43.js +1710 -0
- package/{chunk-UA3QTA2S.js → chunk-VC3MAT33.js} +4442 -2570
- package/{chunk-VNHZJEQN.js → chunk-VCESLFF4.js} +3 -3
- package/chunk-VOO3YQQP.js +17157 -0
- package/{chunk-Y2GWUBNS.js → chunk-VZDSNDUD.js} +279 -149
- package/{chunk-6BMTKYAO.js → chunk-W2Z5E2R7.js} +126 -698
- package/{chunk-4ZCTKB27.js → chunk-W5GKF5ZW.js} +1 -0
- package/chunk-WEEB2JKA.js +443 -0
- package/{chunk-NUHQO3RB.js → chunk-WIVVNJUS.js} +1 -1
- package/chunk-WMBJDXMY.js +408 -0
- package/chunk-WSQLCWLQ.js +201 -0
- package/{chunk-OOVOAG4Q.js → chunk-WY6DMHMG.js} +1 -1
- package/{chunk-6K32PBRY.js → chunk-XJW6SLBZ.js} +3 -3
- package/{chunk-MNFUKRRU.js → chunk-XKNDVHF5.js} +7 -7
- package/{chunk-MHKPUGPD.js → chunk-XREMPMNK.js} +20 -4
- package/chunk-XT6C2QZW.js +46 -0
- package/chunk-XUDXQT7R.js +790 -0
- package/{chunk-ZEZC7IIM.js → chunk-YFSM2366.js} +35 -35
- package/{chunk-RIWKZT7E.js → chunk-YRPIUIEQ.js} +11 -9
- package/{chunk-U35UUM5K.js → chunk-YVOUSIIA.js} +1 -1
- package/{chunk-6VEO7Z3Y.js → chunk-Z27AH6A5.js} +6 -6
- package/chunk-Z3KTXWWB.js +76 -0
- package/{chunk-UWWOWTW2.js → chunk-Z7EP5HDL.js} +1 -1
- package/{chunk-YFEK7ACQ.js → chunk-ZB2E724W.js} +4 -4
- package/{chunk-YLAHYLDQ.js → chunk-ZC3CMUKU.js} +2 -89
- package/{chunk-5P3PPQVP.js → chunk-ZQAADXSF.js} +1 -1
- package/{cliAgentConfigHelpers-BXHQ3PXP.js → cliAgentConfigHelpers-BJJEXHSZ.js} +20 -14
- package/{cliAuthorityBrokerClient-TFNXJLXL.js → cliAuthorityBrokerClient-3SKOA7OZ.js} +3 -1
- package/cliAuthorityBrokerProcess-VIJEKQSX.js +34 -0
- package/{cliEnvHelpers-CNMP3RDX.js → cliEnvHelpers-NDMKN4X2.js} +6 -3
- package/{cliExecutor-K6FDZTQ2.js → cliExecutor-Z62UBJ5S.js} +12 -6
- package/cliLocalAgentRecordReader-KCZS2MZU.js +113 -0
- package/cloudAutomationCommands-2WQUGQSW.js +310 -0
- package/{commandRegistry-IFYQLPGM.js → commandRegistry-C64JBZJ3.js} +288 -121
- package/{contentThunks-QCFCD2X3.js → contentThunks-G3HEIRXC.js} +45 -43
- package/{cooldownCommands-WDOI5VD7.js → cooldownCommands-FPAFS7XG.js} +1 -1
- package/createAgentAutomationAction-DSBL3X3A.js +172 -0
- package/createDialogAction-OHFUHC53.js +86 -0
- package/{createPageAction-QCVBMP4C.js → createPageAction-E6JZSZLU.js} +49 -45
- package/{db-VR74ADGC.js → db-KTQ3LL2Q.js} +3 -3
- package/{dbSlice-RWPSVHBC.js → dbSlice-U3GPLEL3.js} +21 -16
- package/deleteDbKey-DRXKWJX5.js +86 -0
- package/{dialogCommands-4IEQUALS.js → dialogCommands-4EX2OTIC.js} +80 -66
- package/{dialogMessageRecord-OAV77LT7.js → dialogMessageRecord-2HJTEXQX.js} +1 -1
- package/dialogNotifyCommand-4SCE2Z2R.js +44 -0
- package/dialogPortabilityCommands-ZSFFHRX4.js +3036 -0
- package/{dialogSlice-XFYID6KE.js → dialogSlice-PRZCIJCH.js} +43 -42
- package/{dialogTraceCommand-Y67NRFCV.js → dialogTraceCommand-RKB76OVX.js} +84 -70
- package/{dialogUsageCommand-WJ3U6KZU.js → dialogUsageCommand-BP7HMRYP.js} +7 -4
- package/{docCreateCommands-QLRIWRQE.js → docCreateCommands-JGPNGIZ7.js} +68 -59
- package/{docDeleteCommands-XPRYA532.js → docDeleteCommands-XRJTNRDH.js} +68 -59
- package/{docReadCommands-EXQI7ETH.js → docReadCommands-6GFO4ARS.js} +67 -58
- package/{docStore-MWFUKZL2.js → docStore-QRLIWFTU.js} +16 -17
- package/{docUpdateCommands-EFBFQV77.js → docUpdateCommands-W2GXMUXW.js} +68 -59
- package/{ebookDownloaderAgentCommand-DYSKF5ZY.js → ebookDownloaderAgentCommand-2DHPGEOQ.js} +14 -17
- package/{fetchMessages-TQEUZD7H.js → fetchMessages-RGPIYEPZ.js} +2 -2
- package/{getPricing-5BLZRPTM.js → getPricing-BK6CUBAE.js} +8 -4
- package/{handleSendMessageAction-GG3TR62X.js → handleSendMessageAction-DHGWURJZ.js} +265 -119
- package/{hostCredentialCreate-26S6DDJ5.js → hostCredentialCreate-FPUZ7RMI.js} +138 -122
- package/index.js +36 -22
- package/{keys-RWF7UCB4.js → keys-FXEGMKSG.js} +2 -2
- package/localAutomationCommands-ZMU22RQJ.js +198 -0
- package/localAutomationRuntime-MU5FGJ3V.js +60 -0
- package/{localDialogRead-BJJT3TF5.js → localDialogRead-W2EVXISA.js} +2 -2
- package/{localRuntimeAdapter-VREWZWPC.js → localRuntimeAdapter-YBXQBV4G.js} +136 -119
- package/localRuntimeAuthority-LDXMEDO5.js +44 -0
- package/{localRuntimeDb-ZJFGNHML.js → localRuntimeDb-6TQZDLNU.js} +1 -1
- package/{machineCommands-CL5XK5UC.js → machineCommands-57RTUYRV.js} +251 -357
- package/{machineInfo-LWHTEBHJ.js → machineInfo-BJIU3WQ5.js} +4 -2
- package/machineWsRunDispatch-VBKV3FFE.js +227 -0
- package/{mcpLocalAuthorizeCommand-RBXJDE6J.js → mcpLocalAuthorizeCommand-J76SOJVZ.js} +40 -22
- package/mcpLocalManageCommands-USETIMHB.js +212 -0
- package/{memberThunks-43B7UYC5.js → memberThunks-7UERUEMI.js} +102 -22
- package/{memoryCommands-BC6REPQB.js → memoryCommands-N7NHEE55.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-LYDLWSLK.js +613 -0
- package/{projectArchive-OC63TWTD.js → projectArchive-KCNQDVWJ.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-SPSQ6NLR.js} +11 -10
- package/{readDocTool-N3GA52JR.js → readDocTool-ENUL2GNL.js} +5 -1
- package/{readlineWorkspace-2NO6D6IZ.js → readlineWorkspace-MKS7TAEF.js} +927 -573
- package/{rememberExplicit-CPAPONSI.js → rememberExplicit-7KX4HXQC.js} +4 -4
- package/remove-TNNDO635.js +32 -0
- package/{removeDialogAgentAction-EEVSOQOJ.js → removeDialogAgentAction-POPUZ3WU.js} +22 -26
- package/{runAgentClientLoop-U7V32UTD.js → runAgentClientLoop-KVILXQNI.js} +117 -82
- package/{runtimeDoctorCommands-V3M3JTUV.js → runtimeDoctorCommands-4J2DP4LZ.js} +23 -16
- package/{secretCommands-KVVZS7A6.js → secretCommands-CSTQYB6T.js} +2 -2
- package/{setDialogExtraReferencesAction-DNO5POHA.js → setDialogExtraReferencesAction-35THMVBP.js} +16 -17
- package/{setPrimaryDialogAgentAction-QABBEO4C.js → setPrimaryDialogAgentAction-WLXBNIG7.js} +23 -27
- package/{settingThunks-DVKG4X4S.js → settingThunks-6Y5U5M5N.js} +170 -497
- package/{skillDiscovery-5GEGWJ6N.js → skillDiscovery-IUEZZG2B.js} +3 -3
- package/{spaceCommands-7QKXKBDQ.js → spaceCommands-LXNJBO2U.js} +293 -58
- package/spacePruneCommand-2ITUFYBM.js +233 -0
- package/{store-Z53ICFL3.js → store-WSAVTR32.js} +3 -1
- package/{streamAgentChatTurn-UAGFOXNJ.js → streamAgentChatTurn-EY6MFKCA.js} +225 -137
- package/{switchDialogAgentAction-KYWJSGOO.js → switchDialogAgentAction-TG6BQRDA.js} +19 -23
- package/{tableCommands-EFA754RE.js → tableCommands-35G34R4B.js} +28 -49
- package/{toolApiClient-N5PYW2R3.js → toolApiClient-MPQIFYXP.js} +15 -4
- package/{tools-2Q2LBDUC.js → tools-CSLTRRUR.js} +73 -63
- package/{tuiRestart-4QDWLHYZ.js → tuiRestart-ALR4Q3JM.js} +20 -13
- package/tuiSummaryLlmCaller-3Y3JEXJK.js +52 -0
- package/{updateCommands-GJGRS6JK.js → updateCommands-GHQVP6Z5.js} +13 -8
- package/{updateDialogTitleAction-GGNTTI5L.js → updateDialogTitleAction-LFAWF5EW.js} +57 -58
- package/{usageCommand-WI6SQOPB.js → usageCommand-5VKW6T4C.js} +6 -8
- package/{usageRebuildCommand-WQRLLZAT.js → usageRebuildCommand-VUQETFMW.js} +11 -15
- package/{windowsSelfUpdate-C7LGVWYX.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-TPE7NSZ6.js +0 -194
- package/agentRunCommand-DMVGBPLI.js +0 -232
- package/authCommand-V6EOMZX6.js +0 -79
- package/chunk-2MBTWINN.js +0 -89
- package/chunk-523DITKR.js +0 -32
- package/chunk-BUDVRYES.js +0 -2213
- 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-VQX5JJNI.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-ZR5IVL4N.js +0 -862
- package/chunk-ZTHAJU3O.js +0 -2537
- package/cliAuthorityBrokerProcess-5ZFBTHLB.js +0 -22
- package/cliLocalAgentRecordReader-34UKRBLY.js +0 -104
- package/createDialogAction-ZAJERW62.js +0 -82
- package/deleteFile-ECU6FU5C.js +0 -55
- package/dialogNotifyCommand-IASQGEMW.js +0 -36
- package/localRuntimeAuthority-UF2DAQ3F.js +0 -28
- package/machineWsRunDispatch-TBVOYOAH.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
package/chunk-BZMDWGQQ.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createSelector
|
|
3
|
-
} from "./chunk-ZTHAJU3O.js";
|
|
4
|
-
import {
|
|
5
|
-
getAllServers,
|
|
6
|
-
getIsDesktopApp,
|
|
7
|
-
googleSessionServer,
|
|
8
|
-
scopeGoogleSessionServers
|
|
9
|
-
} from "./chunk-HDKMVYNJ.js";
|
|
10
|
-
import {
|
|
11
|
-
selectIdentityToken
|
|
12
|
-
} from "./chunk-PXYBUFDB.js";
|
|
13
|
-
import {
|
|
14
|
-
SERVERS
|
|
15
|
-
} from "./chunk-LCBAMY2M.js";
|
|
16
|
-
import {
|
|
17
|
-
isLocalServerUrl
|
|
18
|
-
} from "./chunk-4SN6J65J.js";
|
|
19
|
-
|
|
20
|
-
// packages/app/settings/serverSelectors.ts
|
|
21
|
-
var resolveDesktopSafeServer = (value) => {
|
|
22
|
-
if (!getIsDesktopApp()) return value || SERVERS.MAIN;
|
|
23
|
-
return isLocalServerUrl(value) ? SERVERS.MAIN : value || SERVERS.MAIN;
|
|
24
|
-
};
|
|
25
|
-
var selectSettings = (state) => state.settings;
|
|
26
|
-
var selectCurrentServer = createSelector(
|
|
27
|
-
[selectSettings, selectIdentityToken],
|
|
28
|
-
(settings, token) => googleSessionServer(token, settings.currentServer) ?? resolveDesktopSafeServer(settings.currentServer)
|
|
29
|
-
);
|
|
30
|
-
var selectSyncServers = createSelector(
|
|
31
|
-
[selectSettings, selectIdentityToken],
|
|
32
|
-
(settings, token) => googleSessionServer(token, settings.currentServer) !== void 0 ? [] : (settings.syncServers || []).filter(
|
|
33
|
-
(server) => !getIsDesktopApp() || !isLocalServerUrl(server)
|
|
34
|
-
)
|
|
35
|
-
);
|
|
36
|
-
var selectRemoteServer = selectCurrentServer;
|
|
37
|
-
var selectRemoteSyncServers = selectSyncServers;
|
|
38
|
-
var selectRemoteServers = createSelector(
|
|
39
|
-
[selectRemoteServer, selectRemoteSyncServers, selectIdentityToken],
|
|
40
|
-
(currentServer, syncServers, token) => scopeGoogleSessionServers(token, currentServer, getAllServers(currentServer, syncServers))
|
|
41
|
-
);
|
|
42
|
-
|
|
43
|
-
export {
|
|
44
|
-
selectCurrentServer,
|
|
45
|
-
selectSyncServers,
|
|
46
|
-
selectRemoteServers
|
|
47
|
-
};
|
package/chunk-GAHJLSDO.js
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
recallMemoryVNextLocal
|
|
3
|
-
} from "./chunk-4D4QD7FT.js";
|
|
4
|
-
import {
|
|
5
|
-
DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET,
|
|
6
|
-
buildMemoryOverlay
|
|
7
|
-
} from "./chunk-PVFYPUIM.js";
|
|
8
|
-
import {
|
|
9
|
-
isWorkContextState
|
|
10
|
-
} from "./chunk-C5A54QS7.js";
|
|
11
|
-
import {
|
|
12
|
-
loadMemoryVNextCatalog
|
|
13
|
-
} from "./chunk-324FWHUA.js";
|
|
14
|
-
import {
|
|
15
|
-
createMemoryKey
|
|
16
|
-
} from "./chunk-SYTHYBMI.js";
|
|
17
|
-
|
|
18
|
-
// packages/ai/memory/storeShared.ts
|
|
19
|
-
var retrievalCountOf = (item) => item.activationCount ?? 0;
|
|
20
|
-
var touchMemoryItemsInDb = async (db, items, now = (/* @__PURE__ */ new Date()).toISOString()) => {
|
|
21
|
-
if (items.length === 0) return;
|
|
22
|
-
const batch = db.batch();
|
|
23
|
-
for (const item of items) {
|
|
24
|
-
batch.put(createMemoryKey(item.ownerType, item.ownerId, item.id), {
|
|
25
|
-
...item,
|
|
26
|
-
// retrieval bookkeeping on legacy storage names — see doc comment above
|
|
27
|
-
lastActivatedAt: now,
|
|
28
|
-
activationCount: retrievalCountOf(item) + 1
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
await batch.write();
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
// packages/ai/memory/remember.ts
|
|
35
|
-
var RESIDENT_MAX_CONTENT_CHARS = 240;
|
|
36
|
-
|
|
37
|
-
// packages/ai/memory/vnext/pureVNextRuntime.ts
|
|
38
|
-
function deriveStateResident(state, ownerType) {
|
|
39
|
-
if (ownerType !== "user") return false;
|
|
40
|
-
if (state.text.trim().length > RESIDENT_MAX_CONTENT_CHARS) return false;
|
|
41
|
-
return state.facet === "preference" || state.facet === "style";
|
|
42
|
-
}
|
|
43
|
-
var buildSynthesizedStateItem = (state, entity, ownerType, ownerId) => ({
|
|
44
|
-
id: `vnext-state-${state.id}`,
|
|
45
|
-
ownerType,
|
|
46
|
-
ownerId,
|
|
47
|
-
visibility: "private",
|
|
48
|
-
subjectType: "user",
|
|
49
|
-
subjectId: ownerId,
|
|
50
|
-
kind: "semantic",
|
|
51
|
-
content: state.text.trim(),
|
|
52
|
-
createdAt: state.createdAt,
|
|
53
|
-
lastActivatedAt: state.createdAt,
|
|
54
|
-
activationCount: 1,
|
|
55
|
-
importance: 0.9,
|
|
56
|
-
confidence: 0.9,
|
|
57
|
-
resident: deriveStateResident(state, ownerType)
|
|
58
|
-
});
|
|
59
|
-
async function resolvePureVNextRuntime(input) {
|
|
60
|
-
const { db, owners, userInput } = input;
|
|
61
|
-
if (owners.length === 0 || !userInput.trim()) {
|
|
62
|
-
return { selectedItems: [], promptBlock: buildMemoryOverlay([], { injectionEmit: input.injectionEmit }), recalledStateCount: 0 };
|
|
63
|
-
}
|
|
64
|
-
const ownerIds = owners.map((o) => `${o.ownerType}:${encodeURIComponent(o.ownerId)}`);
|
|
65
|
-
const catalogs = await Promise.all(
|
|
66
|
-
ownerIds.map((ownerId) => loadMemoryVNextCatalog(db, ownerId))
|
|
67
|
-
);
|
|
68
|
-
const selectedItems = [];
|
|
69
|
-
const seenStateKeys = /* @__PURE__ */ new Set();
|
|
70
|
-
for (let i = 0; i < owners.length; i++) {
|
|
71
|
-
const owner = owners[i];
|
|
72
|
-
const catalog = catalogs[i];
|
|
73
|
-
const currentStates = catalog.states.filter(
|
|
74
|
-
(s) => !s.retiredAt && s.text.trim() && !isWorkContextState(s)
|
|
75
|
-
);
|
|
76
|
-
const hits = recallMemoryVNextLocal({
|
|
77
|
-
query: userInput,
|
|
78
|
-
entities: catalog.entities,
|
|
79
|
-
states: currentStates
|
|
80
|
-
});
|
|
81
|
-
const entityById = new Map(catalog.entities.map((e) => [e.id, e]));
|
|
82
|
-
for (const hit of hits) {
|
|
83
|
-
const stateKey = `${hit.state.ownerId}\0${hit.state.id}`;
|
|
84
|
-
if (seenStateKeys.has(stateKey)) continue;
|
|
85
|
-
seenStateKeys.add(stateKey);
|
|
86
|
-
selectedItems.push(
|
|
87
|
-
buildSynthesizedStateItem(hit.state, entityById.get(hit.state.entityId), owner.ownerType, owner.ownerId)
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
const promptBlock = buildMemoryOverlay(selectedItems, {
|
|
92
|
-
sources: new Map(selectedItems.map((item) => [item, "vnext"])),
|
|
93
|
-
injectionEmit: input.injectionEmit,
|
|
94
|
-
maxTokens: input.maxTokens ?? DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET
|
|
95
|
-
});
|
|
96
|
-
return {
|
|
97
|
-
selectedItems,
|
|
98
|
-
promptBlock,
|
|
99
|
-
recalledStateCount: selectedItems.length
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export {
|
|
104
|
-
touchMemoryItemsInDb,
|
|
105
|
-
deriveStateResident,
|
|
106
|
-
resolvePureVNextRuntime
|
|
107
|
-
};
|
package/chunk-GYX6XTAI.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
// packages/agent-runtime/memoryUseGuidance.ts
|
|
2
|
-
var MEMORY_USE_GUIDANCE = `--- \u8BB0\u5FC6\u4F7F\u7528\u65B9\u5F0F ---
|
|
3
|
-
- \u8BB0\u5FC6\u662F\u4E2A\u6027\u5316\u589E\u5F3A\u5C42\uFF1B\u5F53\u524D\u8F93\u5165/\u5BF9\u8BDD/\u7CFB\u7EDF\u89C4\u5219/Agent prompt/skill/\u7528\u6237\u5168\u5C40\u504F\u597D\u90FD\u4F18\u5148\u4E8E\u5B83\u3002\u5F53\u524D\u8F93\u5165\u7ED9\u51FA\u65B0\u8BED\u8A00\u3001\u6280\u672F\u6808\u3001\u6570\u503C\u3001\u7EA6\u675F\u6216\u660E\u786E\u8986\u76D6\u65E7\u504F\u597D\u65F6\uFF0C\u91C7\u7528\u5F53\u524D\u8F93\u5165\uFF0C\u4E0D\u8981\u628A\u65E7\u8BB0\u5FC6\u5F53\u66F4\u9AD8\u771F\u503C\u3002
|
|
4
|
-
- \u8BB0\u5FC6\u542B\u7528\u6237\u8EAB\u4EFD/\u79F0\u547C/\u5173\u7CFB/\u957F\u671F\u504F\u597D/\u9879\u76EE\u80CC\u666F\u65F6\uFF0C\u76F8\u5173\u5904\u81EA\u7136\u4F53\u73B0\uFF08\u5F00\u573A\u79F0\u547C\u3001\u4E0A\u4E0B\u6587\u786E\u8BA4\u3001\u56DE\u7B54\u7ED3\u6784\u3001\u53D6\u820D\u6807\u51C6\uFF09\uFF0C\u4E0D\u8981\u6BCF\u53E5\u673A\u68B0\u79F0\u547C\u7528\u6237\u3002
|
|
5
|
-
- \u201C\u4E0A\u6B21/\u7EE7\u7EED/\u8FD9\u4E2A\u9879\u76EE\u201D\u7B49\u6307\u4EE3\u4F18\u5148\u6309\u5F53\u524D dialog/space/project/agent/sourceDialog \u7B49 KV \u8DEF\u5F84\u548C\u65F6\u95F4\u7EBF\u5B9A\u4F4D\uFF0C\u4E0D\u8981\u53EA\u6309\u8BED\u4E49\u76F8\u4F3C\u5EA6\u635E\u4E00\u6761\u3002
|
|
6
|
-
- \u63A8\u65AD\u578B\u8BB0\u5FC6\uFF08inferred\uFF09\u53EA\u7528\u4E8E\u628A\u63E1\u8BED\u6C14\u3001\u72B6\u6001\u548C\u672A\u5B8C\u6210\u4E8B\u9879\uFF0C\u4E0D\u8981\u8BF4\u6210\u201C\u4F60\u660E\u786E\u544A\u8BC9\u8FC7\u6211\u201D\u6216\u5F53\u6210\u7528\u6237\u5DF2\u6388\u6743\u4FDD\u5B58\u7684\u4E8B\u5B9E\uFF1B\u51B2\u7A81\u6216\u573A\u666F\u4E0D\u660E\u65F6\u8BF4\u660E\u4F9D\u636E\u6216\u7B80\u77ED\u786E\u8BA4\uFF0C\u4E0D\u8981\u786C\u5957\u3002
|
|
7
|
-
- \u957F\u671F\u8868\u8FBE\u504F\u597D\u4ECE\u4E92\u52A8\u4E2D\u9010\u6B65\u9002\u5E94\uFF1A\u7528\u6237\u660E\u786E\u7684\u8DE8\u4F1A\u8BDD\u504F\u597D\u8BB0\u4E3A stated\uFF1B\u6709\u53CD\u590D\u8BC1\u636E\u7684\u89C2\u5BDF\u53EF\u8BB0\u4E3A inferred\uFF0C\u4E00\u6B21\u63AA\u8F9E\u6216\u4EC5\u9650\u672C\u6B21\u7684\u8981\u6C42\u4E0D\u8981\u56FA\u5316\u3002\u7528\u6237\u7EA0\u6B63\u65F6\u66F4\u65B0\u7406\u89E3\uFF1B\u5F53\u6B21\u8981\u6C42\u4F18\u5148\u3002\u7B80\u6D01\u6216\u8BED\u6C14\u504F\u597D\u4E0D\u5F97\u7701\u7565\u5FC5\u8981\u4E8B\u5B9E\u3001\u98CE\u9669\u6216\u6743\u9650\u8FB9\u754C\u3002
|
|
8
|
-
- \u7F6E\u4FE1\u5EA6\uFF08verified/stated/inferred\uFF09\u3001\u53EC\u56DE\u4E0A\u4E0B\u6587\u8981\u6C42\u4E0E\u5220\u9664\u6743\u9650\u8FB9\u754C\u4EE5\u8BB0\u5FC6\u5DE5\u5177\uFF08rememberMemory / queryMemory / deleteMemory\uFF09schema \u4E3A\u51C6\u3002
|
|
9
|
-
- \u5DE5\u4F5C\u63A5\u7EED\uFF08\u76EE\u6807\u3001\u7EA6\u675F\u3001\u672A\u95ED\u5408\u7F3A\u53E3\u3001\u4E0B\u4E00\u6B65\u3001\u6765\u6E90\u5F15\u7528\uFF09\u4E0D\u662F\u957F\u671F\u504F\u597D\uFF0C\u4E5F\u4E0D\u662F\u6267\u884C\u72B6\u6001\u771F\u6E90\uFF1A\u5B83\u662F\u5F85\u6838\u5B9E\u7684\u63A5\u7EED\u7D22\u5F15\u3002\u522B\u628A\u4EFB\u52A1\u8FDB\u5EA6\u5199\u6210\u7528\u6237\u559C\u597D\uFF0C\u4E5F\u522B\u628A\u957F\u671F\u504F\u597D\u585E\u8FDB\u5DE5\u4F5C\u63A5\u7EED\u3002
|
|
10
|
-
- \u72B6\u6001\u5B57\u6BB5\uFF08active/paused/completed/cancelled\uFF09\u53EA\u662F**\u4F60\u5199\u5165\u65F6\u7684\u5224\u65AD**\uFF0C\u4E0D\u662F\u7CFB\u7EDF\u6388\u6743\u3001\u4E0D\u662F\u9A8C\u6536\u7ED3\u8BBA\uFF0C\u4E5F\u4E0D\u6784\u6210\u884C\u52A8\u8BB8\u53EF\u3002\u5199\u72B6\u6001\u65F6\u5982\u5B9E\u53CD\u6620\u5F53\u65F6\u8BC1\u636E\uFF08\u8C01\u8BF4\u7684\u3001\u4F9D\u636E\u4EC0\u4E48\uFF09\uFF0C\u4F9D\u636E\u53D8\u5316\u65F6\u53CA\u65F6\u66F4\u65B0\u3002
|
|
11
|
-
- completed \u53EF\u80FD\u8BEF\u6807\uFF1A\u53D1\u73B0\u5DE5\u4F5C\u4ECD\u5728\u8FDB\u884C\u65F6\uFF0C\u6309\u6765\u6E90\u6838\u5B9E\u540E\u66F4\u65B0\u56DE active\uFF08\u6216\u5199\u6E05\u4ECD\u7F3A\u4EC0\u4E48\uFF09\u3002paused/cancelled \u53EA\u662F\u5F53\u65F6\u7684\u8BB0\u5F55\uFF1A**\u4E0D\u4F1A**\u81EA\u52A8\u6388\u6743\u6062\u590D\uFF0C\u4E5F**\u4E0D\u80FD**\u7528\u6765\u62D2\u7EDD\u7528\u6237\u73B0\u5728\u8981\u6C42\u7EE7\u7EED\uFF1B\u7528\u6237\u5F53\u524D\u6307\u4EE4\u59CB\u7EC8\u4F18\u5148\u4E8E\u4EFB\u4F55\u5DF2\u8BB0\u5F55\u72B6\u6001\u3002
|
|
12
|
-
- \u53EA\u5728\u589E\u91CF\u4E8B\u4EF6\u65F6\u66F4\u65B0\uFF1A\u7528\u6237\u660E\u786E\u4EA4\u529E\u3001\u8981\u6C42\u53D8\u66F4\u3001\u5173\u952E\u7ED3\u679C\u5230\u8FBE\u3001\u72B6\u6001\u5224\u65AD\u53D8\u5316\u3002\u6CA1\u53D8\u5316\u4E0D\u5199\uFF1B\u540C\u4E00\u9879\u91CD\u8BD5\u6CBF\u7528\u540C\u4E00\u6761\u76EE\u3001\u4E0D\u9020\u526F\u672C\uFF1B\u4E0D\u6BCF\u8F6E\u8FFD\u52A0\u5B8C\u6574\u6458\u8981\uFF0C\u4E5F\u4E0D\u4E3A\u5199\u6458\u8981\u65B0\u589E\u6A21\u578B\u8C03\u7528\u3002
|
|
13
|
-
- \u7528\u5230\u63A5\u7EED\u65F6\uFF1A\u8BB0\u5FC6\u91CC\u7684\u6765\u6E90\u3001\u65F6\u70B9\u4E0E\u5F53\u524D\u8F93\u5165\u51B2\u7A81\u65F6\u4EE5\u5F53\u524D\u8F93\u5165\u4E3A\u51C6\uFF0C\u884C\u52A8\u524D\u6309\u6765\u6E90\u5F15\u7528\u6838\u5B9E\u73B0\u72B6\u771F\u6E90\uFF0C\u4E0D\u628A\u65E7\u6458\u8981\u5F53\u73B0\u72B6\uFF1B"\u505A\u5B8C\u4E86"\u8FD9\u7C7B\u7ED3\u8BBA\u8981\u6709\u53EF\u6838\u5B9E\u7684\u5B8C\u6210\u8303\u56F4\uFF0C\u5199\u4E0D\u6210\u8BC1\u636E\u7684\u5C31\u5982\u5B9E\u8BF4\u8FD8\u7F3A\u4EC0\u4E48\u3002
|
|
14
|
-
- \u53EA\u6709\u5728\u8BB0\u5FC6\u5DE5\u5177\u786E\u5B9E\u63D0\u4F9B\u5DE5\u4F5C\u63A5\u7EED\u5206\u652F\u65F6\u624D\u7528\uFF0C\u53C2\u6570\u4EE5\u5DE5\u5177 schema \u4E3A\u51C6\uFF1B\u4E0D\u8981\u865A\u6784\u5C1A\u672A\u4E0A\u7EBF\u7684\u53C2\u6570\u6216\u63A5\u53E3\u3002\u8BFB\u5199\u5931\u8D25\u5982\u5B9E\u62A5\u544A\uFF0C\u4E0D\u8C0E\u62A5\u5DF2\u4FDD\u5B58\uFF0C\u4E5F\u4E0D\u56E0\u6B64\u4E2D\u65AD\u5BF9\u8BDD\uFF1B\u8BB0\u5FC6\u672C\u5730\u4F18\u5148\uFF0C\u4E0D\u627F\u8BFA\u79BB\u7EBF\u5199\u5165\u7684\u8DE8\u7AEF\u540C\u6B65\u3002
|
|
15
|
-
- \u7528\u6237\u660E\u786E\u8868\u8FBE**\u8DE8\u4F1A\u8BDD**\u7684\u6253\u6270\u5F3A\u5EA6\u504F\u597D\u65F6\uFF08\u5982\u300C\u4EE5\u540E\u90FD\u53EA\u62A5\u7ED3\u679C\u300D\u300C\u6BCF\u6B21\u90FD\u7ED9\u6211\u770B\u8BE6\u7EC6\u8FC7\u7A0B\u300D\uFF0C\u800C\u975E\u4E00\u6B21\u4EFB\u52A1\u91CC\u7684\u300C\u8FD9\u6B21\u522B\u70E6\u6211\u300D\uFF09\uFF0C\u7528 rememberMemory \u8BB0\u4E3A\u7528\u6237\u504F\u597D\uFF1B\u4E4B\u540E\u6309\u5B83\u8C03\u6574 ignore / FYI / important \u7684\u8BE6\u7565\u3002\u8BB0\u5FC6\u504F\u597D\u7EDD\u4E0D\u80FD\u53D6\u6D88 decision / blocked / failed \u4E09\u7C7B\u5FC5\u987B\u62A5\u7684\u5185\u5BB9\u3002`;
|
|
16
|
-
|
|
17
|
-
// packages/agent-runtime/userResponseLanguage.ts
|
|
18
|
-
var LANGUAGE_NAMES = {
|
|
19
|
-
en: "English",
|
|
20
|
-
"en-US": "English",
|
|
21
|
-
"en-GB": "English",
|
|
22
|
-
zh: "Simplified Chinese",
|
|
23
|
-
"zh-CN": "Simplified Chinese",
|
|
24
|
-
"zh-TW": "Traditional Chinese",
|
|
25
|
-
"zh-HK": "Traditional Chinese",
|
|
26
|
-
ja: "Japanese",
|
|
27
|
-
"ja-JP": "Japanese",
|
|
28
|
-
ko: "Korean",
|
|
29
|
-
"ko-KR": "Korean",
|
|
30
|
-
fr: "French",
|
|
31
|
-
de: "German",
|
|
32
|
-
es: "Spanish",
|
|
33
|
-
pt: "Portuguese",
|
|
34
|
-
ru: "Russian"
|
|
35
|
-
};
|
|
36
|
-
var LANGUAGE_DISPLAY_NAMES = new Intl.DisplayNames(["en"], {
|
|
37
|
-
type: "language"
|
|
38
|
-
});
|
|
39
|
-
var asLocale = (value) => typeof value === "string" ? value.trim().split(".", 1)[0]?.replace(/_/g, "-") ?? "" : "";
|
|
40
|
-
var normalizeLocale = (value) => {
|
|
41
|
-
if (!value) return "en-US";
|
|
42
|
-
let locale;
|
|
43
|
-
try {
|
|
44
|
-
locale = new Intl.Locale(value);
|
|
45
|
-
} catch {
|
|
46
|
-
return "en-US";
|
|
47
|
-
}
|
|
48
|
-
const language = locale.language.toLowerCase();
|
|
49
|
-
const region = locale.region?.toUpperCase();
|
|
50
|
-
const script = locale.script;
|
|
51
|
-
if (language === "zh") {
|
|
52
|
-
if (script === "Hant" || region === "TW" || region === "HK" || region === "MO") {
|
|
53
|
-
return "zh-TW";
|
|
54
|
-
}
|
|
55
|
-
return "zh-CN";
|
|
56
|
-
}
|
|
57
|
-
if (language === "en") return region === "GB" ? "en-GB" : "en-US";
|
|
58
|
-
if (region) return `${language}-${region}`;
|
|
59
|
-
return language;
|
|
60
|
-
};
|
|
61
|
-
var resolveUserResponseLanguage = (input = {}) => {
|
|
62
|
-
const raw = asLocale(input.language) || "en-US";
|
|
63
|
-
const locale = normalizeLocale(raw);
|
|
64
|
-
return {
|
|
65
|
-
locale,
|
|
66
|
-
languageName: LANGUAGE_NAMES[locale] ?? LANGUAGE_NAMES[locale.split("-")[0]] ?? LANGUAGE_DISPLAY_NAMES.of(locale) ?? locale
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
var buildUserResponseLanguageContext = (input = {}) => {
|
|
70
|
-
const { locale, languageName } = resolveUserResponseLanguage(input);
|
|
71
|
-
return [
|
|
72
|
-
"--- \u5E73\u53F0\u56DE\u590D\u8BED\u8A00\u7B56\u7565 ---",
|
|
73
|
-
`\u7528\u6237\u5BA2\u6237\u7AEF\u8BED\u8A00\uFF1A${languageName}\uFF08${locale}\uFF09`,
|
|
74
|
-
"\u9ED8\u8BA4\u4F7F\u7528\u7528\u6237\u5BA2\u6237\u7AEF\u8BED\u8A00\u56DE\u590D\u3002",
|
|
75
|
-
"\u7528\u6237\u5728\u5F53\u524D\u5BF9\u8BDD\u4E2D\u660E\u786E\u8981\u6C42\u4F7F\u7528\u5176\u4ED6\u8BED\u8A00\u65F6\uFF0C\u9075\u5FAA\u7528\u6237\u7684\u660E\u786E\u8981\u6C42\u3002",
|
|
76
|
-
"\u5355\u4E2A\u901A\u7528\u8BCD\u6216\u77ED\u8BED\uFF08\u4F8B\u5982 hi\u3001ok\u3001thanks\uFF09\u4E0D\u6539\u53D8\u5DF2\u7ECF\u5EFA\u7ACB\u7684\u4EA4\u6D41\u8BED\u8A00\u3002",
|
|
77
|
-
"Agent \u7684\u89D2\u8272\u3001skill\u3001model \u4E0D\u5F97\u81EA\u884C\u8986\u76D6\u8FD9\u6761\u5E73\u53F0\u56DE\u590D\u8BED\u8A00\u7B56\u7565\u3002"
|
|
78
|
-
].join("\n");
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
export {
|
|
82
|
-
MEMORY_USE_GUIDANCE,
|
|
83
|
-
buildUserResponseLanguageContext
|
|
84
|
-
};
|
package/chunk-HNUWUO75.js
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
// packages/agent-runtime/sseFrames.ts
|
|
2
|
-
async function* readSseFrames(response) {
|
|
3
|
-
const reader = response.body?.getReader();
|
|
4
|
-
if (!reader) {
|
|
5
|
-
throw new Error("SSE response did not include a readable body.");
|
|
6
|
-
}
|
|
7
|
-
const decoder = new TextDecoder();
|
|
8
|
-
let buffer = "";
|
|
9
|
-
try {
|
|
10
|
-
while (true) {
|
|
11
|
-
const { done, value } = await reader.read();
|
|
12
|
-
if (done) break;
|
|
13
|
-
buffer += decoder.decode(value, { stream: true });
|
|
14
|
-
let boundary = findSseFrameBoundary(buffer);
|
|
15
|
-
while (boundary) {
|
|
16
|
-
yield buffer.slice(0, boundary.index);
|
|
17
|
-
buffer = buffer.slice(boundary.index + boundary.separatorLength);
|
|
18
|
-
boundary = findSseFrameBoundary(buffer);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
const remaining = decoder.decode();
|
|
22
|
-
if (remaining) {
|
|
23
|
-
buffer += remaining;
|
|
24
|
-
let boundary = findSseFrameBoundary(buffer);
|
|
25
|
-
while (boundary) {
|
|
26
|
-
yield buffer.slice(0, boundary.index);
|
|
27
|
-
buffer = buffer.slice(boundary.index + boundary.separatorLength);
|
|
28
|
-
boundary = findSseFrameBoundary(buffer);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
if (buffer.trim()) yield buffer;
|
|
32
|
-
} finally {
|
|
33
|
-
try {
|
|
34
|
-
await reader.cancel();
|
|
35
|
-
} catch {
|
|
36
|
-
}
|
|
37
|
-
try {
|
|
38
|
-
reader.releaseLock();
|
|
39
|
-
} catch {
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
function findSseFrameBoundary(buffer) {
|
|
44
|
-
const lfLf = buffer.indexOf("\n\n");
|
|
45
|
-
const crLfCrLf = buffer.indexOf("\r\n\r\n");
|
|
46
|
-
if (lfLf === -1 && crLfCrLf === -1) return null;
|
|
47
|
-
const useLf = lfLf !== -1 && (crLfCrLf === -1 || lfLf < crLfCrLf);
|
|
48
|
-
return useLf ? { index: lfLf, separatorLength: 2 } : { index: crLfCrLf, separatorLength: 4 };
|
|
49
|
-
}
|
|
50
|
-
async function* streamSseDataValues(response, parse) {
|
|
51
|
-
const reader = response.body?.getReader();
|
|
52
|
-
if (!reader) return;
|
|
53
|
-
const decoder = new TextDecoder();
|
|
54
|
-
let buffer = "";
|
|
55
|
-
while (true) {
|
|
56
|
-
const { done, value } = await reader.read();
|
|
57
|
-
if (done) break;
|
|
58
|
-
buffer += decoder.decode(value, { stream: true });
|
|
59
|
-
const lines = buffer.split("\n");
|
|
60
|
-
buffer = lines.pop() ?? "";
|
|
61
|
-
for (const line of lines) {
|
|
62
|
-
const parsed = parse(line);
|
|
63
|
-
if (parsed) yield parsed;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
const remaining = decoder.decode();
|
|
67
|
-
if (remaining) {
|
|
68
|
-
buffer += remaining;
|
|
69
|
-
const lines = buffer.split("\n");
|
|
70
|
-
buffer = lines.pop() ?? "";
|
|
71
|
-
for (const line of lines) {
|
|
72
|
-
const parsed = parse(line);
|
|
73
|
-
if (parsed) yield parsed;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
if (buffer.trim()) {
|
|
77
|
-
const parsed = parse(buffer);
|
|
78
|
-
if (parsed) yield parsed;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
async function readSseDataValues(response, parse) {
|
|
82
|
-
const values = [];
|
|
83
|
-
for await (const value of streamSseDataValues(response, parse)) {
|
|
84
|
-
values.push(value);
|
|
85
|
-
}
|
|
86
|
-
return values;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export {
|
|
90
|
-
readSseFrames,
|
|
91
|
-
streamSseDataValues,
|
|
92
|
-
readSseDataValues
|
|
93
|
-
};
|