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
|
@@ -1,83 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getLocalProviderSecret
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-56OAS5RZ.js";
|
|
4
4
|
import {
|
|
5
5
|
performServerProxyFetchWithRetry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JPYOHIHX.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchServerSyncedCredential
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
selectCurrentServer
|
|
12
|
-
} from "./chunk-BZMDWGQQ.js";
|
|
9
|
+
} from "./chunk-P4I55ASV.js";
|
|
13
10
|
import {
|
|
11
|
+
getRuntimeServerSnapshot,
|
|
12
|
+
getSessionSnapshotForState,
|
|
13
|
+
resolveDesktopSafeServer,
|
|
14
14
|
resolveUserAuthorityServer
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SWJRX4M5.js";
|
|
16
16
|
import {
|
|
17
17
|
googleSessionRequestToken,
|
|
18
18
|
googleSessionServer,
|
|
19
19
|
isGoogleAuthoritySession
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import {
|
|
22
|
-
getSessionSnapshotForState
|
|
23
|
-
} from "./chunk-PXYBUFDB.js";
|
|
20
|
+
} from "./chunk-FNLT7NKG.js";
|
|
24
21
|
import {
|
|
25
22
|
buildIdentityBlock,
|
|
26
23
|
buildPlatformStaticContextLayers,
|
|
27
24
|
buildResponseGuidelines,
|
|
28
25
|
buildRuntimeGuidanceBlocks,
|
|
29
26
|
compileContextLayers,
|
|
30
|
-
detectDispatchIntentFromMessages,
|
|
31
27
|
resolveToolGuidedSections
|
|
32
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-D3ONA3FP.js";
|
|
33
29
|
import {
|
|
34
30
|
convertMessagesToResponsesInput,
|
|
35
31
|
getUsageRequestOptions,
|
|
36
32
|
normalizeChatCompletionsBodyForProvider,
|
|
37
33
|
preserveAgentStateFields,
|
|
38
34
|
resolveReasoningReplayOptions,
|
|
39
|
-
shouldStripReasoningContentForOutbound
|
|
35
|
+
shouldStripReasoningContentForOutbound
|
|
36
|
+
} from "./chunk-2MIZHEND.js";
|
|
37
|
+
import {
|
|
40
38
|
stablePromptCacheKey
|
|
41
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4IVMDQBA.js";
|
|
42
40
|
import {
|
|
43
41
|
resolveAgentCallPlan,
|
|
44
42
|
resolveClientWire
|
|
45
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-3QMN3T6L.js";
|
|
44
|
+
import {
|
|
45
|
+
detectDispatchIntentFromMessages
|
|
46
|
+
} from "./chunk-4Y6CZ2N4.js";
|
|
46
47
|
import {
|
|
47
48
|
isGpt62DeveloperPrefixModel,
|
|
48
49
|
usesCodexDeveloperPrefix
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-G5IAIGGD.js";
|
|
50
51
|
import {
|
|
51
52
|
createFileCredentialBroker
|
|
52
53
|
} from "./chunk-E6A5NHDH.js";
|
|
53
54
|
import {
|
|
54
55
|
MEMORY_USE_GUIDANCE,
|
|
55
56
|
buildUserResponseLanguageContext
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-Z3KTXWWB.js";
|
|
57
58
|
import {
|
|
58
59
|
wrapHistoricalSummaryWithReplayGuard
|
|
59
60
|
} from "./chunk-2SXN7LAY.js";
|
|
60
|
-
import {
|
|
61
|
-
buildSkillGuidancePromptBlock
|
|
62
|
-
} from "./chunk-KVMLM5VD.js";
|
|
63
|
-
import {
|
|
64
|
-
canonicalizeToolNames
|
|
65
|
-
} from "./chunk-YLAHYLDQ.js";
|
|
66
|
-
import {
|
|
67
|
-
API_ENDPOINTS,
|
|
68
|
-
normalizeKnownServerOrigin
|
|
69
|
-
} from "./chunk-LCBAMY2M.js";
|
|
70
61
|
import {
|
|
71
62
|
toErrorMessage
|
|
72
63
|
} from "./chunk-HNMXYYJR.js";
|
|
73
64
|
import {
|
|
74
|
-
|
|
65
|
+
buildSkillGuidancePromptBlock
|
|
66
|
+
} from "./chunk-KAHYBAEN.js";
|
|
67
|
+
import {
|
|
68
|
+
buildProviderAuthHeaders
|
|
69
|
+
} from "./chunk-O7ZY6SUK.js";
|
|
70
|
+
import {
|
|
75
71
|
isAgentCredentialShared,
|
|
76
72
|
resolveOutboundProxyApiKey
|
|
77
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-KGKTN2NX.js";
|
|
78
74
|
import {
|
|
79
75
|
OPENAI_RESPONSES_ENDPOINT
|
|
80
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-BVYHE6QD.js";
|
|
77
|
+
import {
|
|
78
|
+
canonicalizeToolNames
|
|
79
|
+
} from "./chunk-HJTI7RZV.js";
|
|
81
80
|
import {
|
|
82
81
|
asTrimmedString
|
|
83
82
|
} from "./chunk-3EUW3WEO.js";
|
|
@@ -85,10 +84,14 @@ import {
|
|
|
85
84
|
clampReasoningEffort,
|
|
86
85
|
getModelConfig,
|
|
87
86
|
isModelSupportReasoningEffort
|
|
88
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-RI7SXDJW.js";
|
|
89
88
|
import {
|
|
90
89
|
isRecord
|
|
91
90
|
} from "./chunk-KUG52IAP.js";
|
|
91
|
+
import {
|
|
92
|
+
API_ENDPOINTS,
|
|
93
|
+
normalizeKnownServerOrigin
|
|
94
|
+
} from "./chunk-JKVOKKMQ.js";
|
|
92
95
|
import {
|
|
93
96
|
asOptionalTrimmedString
|
|
94
97
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -102,7 +105,7 @@ import {
|
|
|
102
105
|
resolveFireworksKimiModel,
|
|
103
106
|
resolvePlatformHostedRouting,
|
|
104
107
|
usesMimoThinkingWire
|
|
105
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-G22P2J7O.js";
|
|
106
109
|
import {
|
|
107
110
|
asTrimmedLowercaseString
|
|
108
111
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -1644,16 +1647,16 @@ function resolveSafeReportOrigin(value) {
|
|
|
1644
1647
|
if (url.protocol === "http:" && !isLoopbackHostname(url.hostname)) return null;
|
|
1645
1648
|
return url.origin;
|
|
1646
1649
|
}
|
|
1647
|
-
var collectConfiguredOrigins = (
|
|
1650
|
+
var collectConfiguredOrigins = (runtime) => {
|
|
1648
1651
|
const origins = /* @__PURE__ */ new Set();
|
|
1649
1652
|
const push = (value) => {
|
|
1650
1653
|
const normalized = normalizeKnownServerOrigin(value);
|
|
1651
1654
|
if (normalized) origins.add(normalized);
|
|
1652
1655
|
};
|
|
1653
|
-
push(
|
|
1654
|
-
const syncServers =
|
|
1656
|
+
push(runtime.currentServer);
|
|
1657
|
+
const syncServers = runtime.syncServers;
|
|
1655
1658
|
if (Array.isArray(syncServers)) syncServers.forEach(push);
|
|
1656
|
-
const registry =
|
|
1659
|
+
const registry = runtime.userAuthorityRegistry;
|
|
1657
1660
|
if (registry && typeof registry === "object") {
|
|
1658
1661
|
for (const entry of Object.values(registry)) {
|
|
1659
1662
|
if (typeof entry === "string") {
|
|
@@ -1670,13 +1673,13 @@ var collectConfiguredOrigins = (state) => {
|
|
|
1670
1673
|
}
|
|
1671
1674
|
return origins;
|
|
1672
1675
|
};
|
|
1673
|
-
function resolveToolErrorReportTarget(state) {
|
|
1676
|
+
function resolveToolErrorReportTarget(state, runtime = getRuntimeServerSnapshot(state)) {
|
|
1674
1677
|
if (!state || typeof state !== "object") return null;
|
|
1675
1678
|
const snapshot = getSessionSnapshotForState(state);
|
|
1676
1679
|
const activeAccountId = typeof snapshot?.activeAccountId === "string" ? snapshot.activeAccountId.trim() : "";
|
|
1677
1680
|
const rawToken = typeof snapshot?.activeToken === "string" ? snapshot.activeToken.trim() : "";
|
|
1678
1681
|
if (!activeAccountId || !rawToken) return null;
|
|
1679
|
-
const configuredOrigins = collectConfiguredOrigins(
|
|
1682
|
+
const configuredOrigins = collectConfiguredOrigins(runtime);
|
|
1680
1683
|
if (isGoogleAuthoritySession(rawToken)) {
|
|
1681
1684
|
const sameOrigin = resolveSafeReportOrigin(googleSessionServer(rawToken));
|
|
1682
1685
|
if (!sameOrigin) return null;
|
|
@@ -1684,10 +1687,10 @@ function resolveToolErrorReportTarget(state) {
|
|
|
1684
1687
|
}
|
|
1685
1688
|
const authorityServer = resolveUserAuthorityServer({
|
|
1686
1689
|
ownerUserId: activeAccountId,
|
|
1687
|
-
registry:
|
|
1690
|
+
registry: runtime.userAuthorityRegistry ?? null
|
|
1688
1691
|
});
|
|
1689
1692
|
const authorityOrigin = resolveSafeReportOrigin(authorityServer);
|
|
1690
|
-
const currentOrigin = resolveSafeReportOrigin(
|
|
1693
|
+
const currentOrigin = resolveSafeReportOrigin(resolveDesktopSafeServer(runtime.currentServer));
|
|
1691
1694
|
const authorityKnown = typeof authorityServer === "string" && authorityServer.trim().length > 0;
|
|
1692
1695
|
const candidate = authorityKnown ? authorityOrigin : currentOrigin;
|
|
1693
1696
|
if (!candidate) return null;
|
|
@@ -1759,7 +1762,7 @@ function reportToolExecutionErrorInBackground(args) {
|
|
|
1759
1762
|
if (!isBrowserRuntime()) return;
|
|
1760
1763
|
const payload = buildToolErrorReportPayload(args);
|
|
1761
1764
|
if (!payload) return;
|
|
1762
|
-
const target = resolveToolErrorReportTarget(args.thunkApi?.getState?.());
|
|
1765
|
+
const target = resolveToolErrorReportTarget(args.thunkApi?.getState?.(), args.thunkApi?.runtimeServers);
|
|
1763
1766
|
if (!target) return;
|
|
1764
1767
|
void reportToolError({ ...target, payload }).catch(() => {
|
|
1765
1768
|
});
|
|
@@ -1816,6 +1819,7 @@ export {
|
|
|
1816
1819
|
updateResponsesConversationState,
|
|
1817
1820
|
isResponsesConversationStateRejection,
|
|
1818
1821
|
generateRequestBody,
|
|
1822
|
+
sanitizeToolErrorText,
|
|
1819
1823
|
reportToolExecutionErrorInBackground,
|
|
1820
1824
|
CONFIRMATION_INPUT_KEYS,
|
|
1821
1825
|
stripModelToolArgs,
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
getIsDesktopApp,
|
|
3
|
+
googleSessionServer
|
|
4
|
+
} from "./chunk-FNLT7NKG.js";
|
|
5
|
+
import {
|
|
6
|
+
isRecord
|
|
7
|
+
} from "./chunk-KUG52IAP.js";
|
|
8
|
+
import {
|
|
9
|
+
SERVERS
|
|
10
|
+
} from "./chunk-JKVOKKMQ.js";
|
|
11
|
+
import {
|
|
12
|
+
asOptionalTrimmedString
|
|
13
|
+
} from "./chunk-G3SUCT4W.js";
|
|
14
|
+
import {
|
|
15
|
+
isLocalServerUrl
|
|
16
|
+
} from "./chunk-4SN6J65J.js";
|
|
17
|
+
import {
|
|
18
|
+
normalizeServerOrigin
|
|
19
|
+
} from "./chunk-CF7PE763.js";
|
|
20
|
+
import {
|
|
21
|
+
__commonJS,
|
|
22
|
+
__toESM
|
|
3
23
|
} from "./chunk-U67V476Y.js";
|
|
4
24
|
|
|
5
25
|
// node_modules/react/cjs/react.production.js
|
|
@@ -1463,6 +1483,308 @@ var require_react = __commonJS({
|
|
|
1463
1483
|
}
|
|
1464
1484
|
});
|
|
1465
1485
|
|
|
1486
|
+
// node_modules/nanostores/clean-stores/index.js
|
|
1487
|
+
var clean = Symbol("clean");
|
|
1488
|
+
|
|
1489
|
+
// node_modules/nanostores/atom/index.js
|
|
1490
|
+
var listenerQueue = [];
|
|
1491
|
+
var lqIndex = 0;
|
|
1492
|
+
var batchSeen = null;
|
|
1493
|
+
var QUEUE_ITEMS_PER_LISTENER = 4;
|
|
1494
|
+
var nanostoresGlobal = globalThis.nanostoresGlobal ||= { epoch: 0 };
|
|
1495
|
+
var drainQueue = () => {
|
|
1496
|
+
let thrown;
|
|
1497
|
+
let i;
|
|
1498
|
+
while (lqIndex < listenerQueue.length) {
|
|
1499
|
+
i = lqIndex;
|
|
1500
|
+
lqIndex += QUEUE_ITEMS_PER_LISTENER;
|
|
1501
|
+
let pendingStores = batchSeen?.get(listenerQueue[i]);
|
|
1502
|
+
if (pendingStores) {
|
|
1503
|
+
if (!pendingStores.has(listenerQueue[i + 1])) continue;
|
|
1504
|
+
pendingStores.clear();
|
|
1505
|
+
}
|
|
1506
|
+
try {
|
|
1507
|
+
listenerQueue[i](
|
|
1508
|
+
listenerQueue[i + 1].value,
|
|
1509
|
+
listenerQueue[i + 2],
|
|
1510
|
+
listenerQueue[i + 3]
|
|
1511
|
+
);
|
|
1512
|
+
} catch (e) {
|
|
1513
|
+
thrown = e;
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
listenerQueue.length = lqIndex = 0;
|
|
1517
|
+
if (thrown) throw thrown;
|
|
1518
|
+
};
|
|
1519
|
+
var atom = /* @__NO_SIDE_EFFECTS__ */ (initialValue) => {
|
|
1520
|
+
let listeners = [];
|
|
1521
|
+
let $atom = {
|
|
1522
|
+
eq: Object.is,
|
|
1523
|
+
get() {
|
|
1524
|
+
if (!$atom.lc) {
|
|
1525
|
+
$atom.listen(() => {
|
|
1526
|
+
})();
|
|
1527
|
+
}
|
|
1528
|
+
return $atom.value;
|
|
1529
|
+
},
|
|
1530
|
+
init: initialValue,
|
|
1531
|
+
lc: 0,
|
|
1532
|
+
listen(listener) {
|
|
1533
|
+
$atom.lc = listeners.push(listener);
|
|
1534
|
+
return () => {
|
|
1535
|
+
batchSeen?.get(listener)?.delete($atom);
|
|
1536
|
+
for (let i = lqIndex; i < listenerQueue.length; ) {
|
|
1537
|
+
if (listenerQueue[i] === listener && listenerQueue[i + 1] === $atom) {
|
|
1538
|
+
listenerQueue.splice(i, QUEUE_ITEMS_PER_LISTENER);
|
|
1539
|
+
} else {
|
|
1540
|
+
i += QUEUE_ITEMS_PER_LISTENER;
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
let index = listeners.indexOf(listener);
|
|
1544
|
+
if (~index) {
|
|
1545
|
+
listeners.splice(index, 1);
|
|
1546
|
+
if (!--$atom.lc) $atom.off();
|
|
1547
|
+
}
|
|
1548
|
+
};
|
|
1549
|
+
},
|
|
1550
|
+
notify(oldValue, changedKey) {
|
|
1551
|
+
nanostoresGlobal.epoch++;
|
|
1552
|
+
let runListenerQueue = !listenerQueue.length && !batchSeen;
|
|
1553
|
+
for (let listener of listeners) {
|
|
1554
|
+
if (batchSeen) {
|
|
1555
|
+
let pendingStores = batchSeen.get(listener);
|
|
1556
|
+
if (!pendingStores) {
|
|
1557
|
+
batchSeen.set(listener, pendingStores = /* @__PURE__ */ new Set());
|
|
1558
|
+
}
|
|
1559
|
+
if (pendingStores.has($atom)) continue;
|
|
1560
|
+
pendingStores.add($atom);
|
|
1561
|
+
}
|
|
1562
|
+
listenerQueue.push(
|
|
1563
|
+
listener,
|
|
1564
|
+
$atom,
|
|
1565
|
+
oldValue,
|
|
1566
|
+
batchSeen ? void 0 : changedKey
|
|
1567
|
+
);
|
|
1568
|
+
}
|
|
1569
|
+
if (runListenerQueue) {
|
|
1570
|
+
drainQueue();
|
|
1571
|
+
}
|
|
1572
|
+
},
|
|
1573
|
+
/* It will be called on last listener unsubscribing.
|
|
1574
|
+
We will redefine it in onMount and onStop. */
|
|
1575
|
+
off() {
|
|
1576
|
+
},
|
|
1577
|
+
set(newValue) {
|
|
1578
|
+
let oldValue = $atom.value;
|
|
1579
|
+
if (!$atom.eq(oldValue, newValue)) {
|
|
1580
|
+
$atom.value = newValue;
|
|
1581
|
+
$atom.notify(oldValue);
|
|
1582
|
+
}
|
|
1583
|
+
},
|
|
1584
|
+
subscribe(listener) {
|
|
1585
|
+
let unbind = $atom.listen(listener);
|
|
1586
|
+
listener($atom.value);
|
|
1587
|
+
return unbind;
|
|
1588
|
+
},
|
|
1589
|
+
value: initialValue
|
|
1590
|
+
};
|
|
1591
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1592
|
+
$atom[clean] = () => {
|
|
1593
|
+
listeners = [];
|
|
1594
|
+
$atom.lc = 0;
|
|
1595
|
+
$atom.off();
|
|
1596
|
+
};
|
|
1597
|
+
}
|
|
1598
|
+
return $atom;
|
|
1599
|
+
};
|
|
1600
|
+
|
|
1601
|
+
// packages/database/authority/userAuthorityRegistry.ts
|
|
1602
|
+
var normalizeAuthorityServerOrigin = (value) => {
|
|
1603
|
+
const normalized = normalizeServerOrigin(value);
|
|
1604
|
+
return /^https?:\/\//i.test(normalized) ? normalized : null;
|
|
1605
|
+
};
|
|
1606
|
+
var normalizeUserId = (value) => asOptionalTrimmedString(value) ?? null;
|
|
1607
|
+
var readEntryAuthorityServer = (entry) => {
|
|
1608
|
+
if (typeof entry === "string") {
|
|
1609
|
+
return normalizeAuthorityServerOrigin(entry);
|
|
1610
|
+
}
|
|
1611
|
+
if (!isRecord(entry)) {
|
|
1612
|
+
return null;
|
|
1613
|
+
}
|
|
1614
|
+
return normalizeAuthorityServerOrigin(entry.authorityServer) ?? normalizeAuthorityServerOrigin(entry.homeServer) ?? normalizeAuthorityServerOrigin(entry.primaryServer);
|
|
1615
|
+
};
|
|
1616
|
+
var resolveUserAuthorityServer = ({
|
|
1617
|
+
ownerUserId,
|
|
1618
|
+
registry
|
|
1619
|
+
}) => {
|
|
1620
|
+
const normalizedOwner = normalizeUserId(ownerUserId);
|
|
1621
|
+
if (!normalizedOwner || !registry || typeof registry !== "object") {
|
|
1622
|
+
return null;
|
|
1623
|
+
}
|
|
1624
|
+
return readEntryAuthorityServer(registry[normalizedOwner]);
|
|
1625
|
+
};
|
|
1626
|
+
|
|
1627
|
+
// packages/app/settings/runtimeServerStore.ts
|
|
1628
|
+
var DEFAULT_RUNTIME_SERVERS = Object.freeze({
|
|
1629
|
+
currentServer: SERVERS.MAIN,
|
|
1630
|
+
syncServers: Object.freeze([]),
|
|
1631
|
+
isAutoSync: false
|
|
1632
|
+
});
|
|
1633
|
+
function resolveHostToCurrentServer(raw) {
|
|
1634
|
+
if (typeof raw !== "string" || !raw.trim()) return;
|
|
1635
|
+
const trimmed = raw.trim();
|
|
1636
|
+
if (/^https?:\/\//i.test(trimmed)) {
|
|
1637
|
+
try {
|
|
1638
|
+
return new URL(trimmed).origin;
|
|
1639
|
+
} catch {
|
|
1640
|
+
return;
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
const host = trimmed.replace(/^\/+|\/+$/g, "");
|
|
1644
|
+
const [hostname] = host.split(":");
|
|
1645
|
+
if (!hostname) return;
|
|
1646
|
+
const local = ["nolotus.local", "localhost"].includes(hostname) || /^(\d{1,3}\.){3}\d{1,3}$/.test(hostname);
|
|
1647
|
+
return `${local ? "http" : "https"}://${host}`;
|
|
1648
|
+
}
|
|
1649
|
+
function resolveDesktopSafeServer(server) {
|
|
1650
|
+
return !server || getIsDesktopApp() && isLocalServerUrl(server) ? SERVERS.MAIN : server;
|
|
1651
|
+
}
|
|
1652
|
+
function createRuntimeServerStore(initial = DEFAULT_RUNTIME_SERVERS) {
|
|
1653
|
+
const $snapshot = atom(DEFAULT_RUNTIME_SERVERS);
|
|
1654
|
+
let source;
|
|
1655
|
+
const publish = (next) => {
|
|
1656
|
+
if (next === source) return;
|
|
1657
|
+
const current = $snapshot.get();
|
|
1658
|
+
const syncServers = next.syncServers === source?.syncServers ? current.syncServers : Object.freeze([...next.syncServers]);
|
|
1659
|
+
const userAuthorityRegistry = next.userAuthorityRegistry === source?.userAuthorityRegistry ? current.userAuthorityRegistry : next.userAuthorityRegistry && Object.freeze({ ...next.userAuthorityRegistry });
|
|
1660
|
+
source = next;
|
|
1661
|
+
if (next.currentServer === current.currentServer && next.isAutoSync === current.isAutoSync && syncServers === current.syncServers && userAuthorityRegistry === current.userAuthorityRegistry) return;
|
|
1662
|
+
$snapshot.set(Object.freeze({ currentServer: next.currentServer, syncServers, isAutoSync: next.isAutoSync, userAuthorityRegistry }));
|
|
1663
|
+
};
|
|
1664
|
+
publish({ ...DEFAULT_RUNTIME_SERVERS, ...initial });
|
|
1665
|
+
let serverSnapshot = $snapshot.get();
|
|
1666
|
+
const update = (patch) => publish({ ...$snapshot.get(), ...patch });
|
|
1667
|
+
return {
|
|
1668
|
+
/** Framework-agnostic Nano Stores atom — directly readable/subscribable from CLI, Web, and RN. */
|
|
1669
|
+
$snapshot,
|
|
1670
|
+
update,
|
|
1671
|
+
getSnapshot: () => $snapshot.get(),
|
|
1672
|
+
getServerSnapshot: () => serverSnapshot,
|
|
1673
|
+
sealServerSnapshot: () => {
|
|
1674
|
+
serverSnapshot = $snapshot.get();
|
|
1675
|
+
},
|
|
1676
|
+
subscribe: (listener) => $snapshot.listen(() => listener()),
|
|
1677
|
+
getAuthorityHomeServer: (userId) => resolveUserAuthorityServer({ ownerUserId: userId, registry: $snapshot.get().userAuthorityRegistry }),
|
|
1678
|
+
setAuthorityHomeServer: (userId, server) => {
|
|
1679
|
+
const registry = { ...$snapshot.get().userAuthorityRegistry };
|
|
1680
|
+
if (server) Object.defineProperty(registry, userId, { value: server, enumerable: true, configurable: true });
|
|
1681
|
+
else delete registry[userId];
|
|
1682
|
+
update({ userAuthorityRegistry: registry });
|
|
1683
|
+
},
|
|
1684
|
+
clearAuthorityHomes: () => {
|
|
1685
|
+
if ($snapshot.get().userAuthorityRegistry) update({ userAuthorityRegistry: void 0 });
|
|
1686
|
+
},
|
|
1687
|
+
addHostToCurrentServer: (host) => {
|
|
1688
|
+
const currentServer = resolveHostToCurrentServer(host);
|
|
1689
|
+
if (currentServer && currentServer !== $snapshot.get().currentServer) update({ currentServer });
|
|
1690
|
+
}
|
|
1691
|
+
};
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
// packages/app/settings/storeRuntimeServer.ts
|
|
1695
|
+
var import_react3 = __toESM(require_react());
|
|
1696
|
+
|
|
1697
|
+
// packages/app/reduxContext.ts
|
|
1698
|
+
var import_react = __toESM(require_react());
|
|
1699
|
+
|
|
1700
|
+
// packages/identity/session/accountSessionReact.tsx
|
|
1701
|
+
var import_react2 = __toESM(require_react(), 1);
|
|
1702
|
+
var AccountSessionCoreContext = (0, import_react2.createContext)(void 0);
|
|
1703
|
+
AccountSessionCoreContext.displayName = "AccountSessionCoreContext";
|
|
1704
|
+
var NO_CORE_SNAPSHOT = Object.freeze({
|
|
1705
|
+
accounts: [],
|
|
1706
|
+
activeAccountId: null,
|
|
1707
|
+
activeToken: null,
|
|
1708
|
+
initialized: false,
|
|
1709
|
+
transition: "idle"
|
|
1710
|
+
});
|
|
1711
|
+
|
|
1712
|
+
// packages/app/settings/storeRuntimeServer.ts
|
|
1713
|
+
var controllers = /* @__PURE__ */ new WeakMap();
|
|
1714
|
+
var getRuntimeServerStore = (key) => controllers.get(key);
|
|
1715
|
+
function getRuntimeServerSnapshot(key) {
|
|
1716
|
+
return key && controllers.get(key)?.getSnapshot() || DEFAULT_RUNTIME_SERVERS;
|
|
1717
|
+
}
|
|
1718
|
+
var defaultOwner = createRuntimeServerStore();
|
|
1719
|
+
var RuntimeServerContext = (0, import_react3.createContext)(null);
|
|
1720
|
+
function resolveCurrentServer({ currentServer }, token) {
|
|
1721
|
+
return googleSessionServer(token, currentServer) ?? resolveDesktopSafeServer(currentServer);
|
|
1722
|
+
}
|
|
1723
|
+
function resolveSyncServers({ currentServer, syncServers }, token) {
|
|
1724
|
+
return googleSessionServer(token, currentServer) !== void 0 ? [] : syncServers.filter((server) => !getIsDesktopApp() || !isLocalServerUrl(server));
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
// packages/identity/sessionSource.ts
|
|
1728
|
+
var IDENTITY_SESSION_READER = Symbol.for(
|
|
1729
|
+
"nolo.identity.sessionReader"
|
|
1730
|
+
);
|
|
1731
|
+
var moduleFallbackReader = null;
|
|
1732
|
+
function getBoundSessionSnapshot() {
|
|
1733
|
+
return moduleFallbackReader?.() ?? null;
|
|
1734
|
+
}
|
|
1735
|
+
function getSessionSnapshotForState(state) {
|
|
1736
|
+
const reader = state?.[IDENTITY_SESSION_READER];
|
|
1737
|
+
if (typeof reader === "function") {
|
|
1738
|
+
return reader();
|
|
1739
|
+
}
|
|
1740
|
+
return getBoundSessionSnapshot();
|
|
1741
|
+
}
|
|
1742
|
+
function getSessionGenerationForState(state) {
|
|
1743
|
+
return getSessionSnapshotForState(state)?.sessionGeneration;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
// packages/identity/selectors.local.ts
|
|
1747
|
+
var LOCAL_USER_ID = (typeof process !== "undefined" ? process.env?.NOLO_LOCAL_USER_ID : void 0) || (typeof process !== "undefined" ? process.env?.NOLO_USER_ID : void 0) || "local";
|
|
1748
|
+
var LOCAL_USER = {
|
|
1749
|
+
userId: LOCAL_USER_ID,
|
|
1750
|
+
username: "Local User"
|
|
1751
|
+
};
|
|
1752
|
+
var selectIdentityUserId = (state) => {
|
|
1753
|
+
const snapshot = getSessionSnapshotForState(state);
|
|
1754
|
+
if (snapshot) return snapshot.activeAccountId ?? void 0;
|
|
1755
|
+
return LOCAL_USER_ID;
|
|
1756
|
+
};
|
|
1757
|
+
var selectIdentityToken = (state) => {
|
|
1758
|
+
return getSessionSnapshotForState(state)?.activeToken ?? void 0;
|
|
1759
|
+
};
|
|
1760
|
+
var selectIdentityIsLoggedIn = (state) => true;
|
|
1761
|
+
var selectIdentityUser = (state) => {
|
|
1762
|
+
const snapshot = getSessionSnapshotForState(state);
|
|
1763
|
+
if (snapshot) {
|
|
1764
|
+
const active = snapshot.accounts.find(
|
|
1765
|
+
(account) => account.userId === snapshot.activeAccountId
|
|
1766
|
+
);
|
|
1767
|
+
return active ?? null;
|
|
1768
|
+
}
|
|
1769
|
+
return LOCAL_USER;
|
|
1770
|
+
};
|
|
1771
|
+
var selectIdentityUserBalance = (state) => void 0;
|
|
1772
|
+
|
|
1466
1773
|
export {
|
|
1467
|
-
require_react
|
|
1774
|
+
require_react,
|
|
1775
|
+
atom,
|
|
1776
|
+
normalizeAuthorityServerOrigin,
|
|
1777
|
+
resolveUserAuthorityServer,
|
|
1778
|
+
resolveDesktopSafeServer,
|
|
1779
|
+
getRuntimeServerStore,
|
|
1780
|
+
getRuntimeServerSnapshot,
|
|
1781
|
+
resolveCurrentServer,
|
|
1782
|
+
resolveSyncServers,
|
|
1783
|
+
getSessionSnapshotForState,
|
|
1784
|
+
getSessionGenerationForState,
|
|
1785
|
+
selectIdentityUserId,
|
|
1786
|
+
selectIdentityToken,
|
|
1787
|
+
selectIdentityIsLoggedIn,
|
|
1788
|
+
selectIdentityUser,
|
|
1789
|
+
selectIdentityUserBalance
|
|
1468
1790
|
};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZB2E724W.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MMXHIHJZ.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveCredentialGroup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NTBTVKKB.js";
|
|
11
|
+
import {
|
|
12
|
+
normalizeListAgentsKeys
|
|
13
|
+
} from "./chunk-HVRG27HI.js";
|
|
11
14
|
import {
|
|
12
15
|
isTombstoneRecord
|
|
13
16
|
} from "./chunk-BV3FLP2L.js";
|
|
@@ -98,7 +101,9 @@ function readArgValue(args, flag) {
|
|
|
98
101
|
return value;
|
|
99
102
|
}
|
|
100
103
|
function parseAgentListArgs(args) {
|
|
104
|
+
const encodedKeys = readArgValue(args, "--agent-keys");
|
|
101
105
|
return {
|
|
106
|
+
agentKeys: normalizeListAgentsKeys(encodedKeys === void 0 ? void 0 : JSON.parse(encodedKeys)),
|
|
102
107
|
wantJson: args.includes("--json"),
|
|
103
108
|
wantSafe: args.includes("--safe"),
|
|
104
109
|
publicOnly: args.includes("--public-only"),
|