nolo-cli 0.258.0-alpha.1 → 0.260.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/{_executeModel-E2LL7FPO.js → _executeModel-EO6JFCOF.js} +97 -83
- package/accountResolver-NGICIMEE.js +1 -1
- package/{action-C6IQAKN4.js → action-WIA56QT4.js} +12 -10
- package/{addContentAction-53364YDW.js → addContentAction-OCMWZLYG.js} +14 -13
- package/{addDialogAgentAction-U5DD5EN5.js → addDialogAgentAction-ER2NZ7BC.js} +20 -24
- package/{agentDeleteCommand-ORNRRKJO.js → agentDeleteCommand-KSXSNPAU.js} +184 -146
- package/{agentEmailCommands-2ALVFOD5.js → agentEmailCommands-NXRWS7NS.js} +142 -126
- package/{agentGrantCommands-L6O2HVJI.js → agentGrantCommands-D2S7LCTU.js} +8 -5
- package/{agentListCommands-6I4NQPR4.js → agentListCommands-PFXGZZ3Y.js} +87 -68
- package/{agentMachineCommands-PNHTIJ6A.js → agentMachineCommands-2Q55CSL4.js} +68 -59
- package/{agentProviderCommands-QLTABYR7.js → agentProviderCommands-EUNS7Y2Z.js} +10 -7
- package/{agentPullCommand-2EYJ5ENC.js → agentPullCommand-S2VMPSWL.js} +9 -6
- package/agentRecordCommands-FUFI526H.js +210 -0
- package/agentRun-ZNMUPDHF.js +250 -0
- package/agentRunCommand-ISVQ2UYC.js +248 -0
- package/{agentRunControl-3TIVJ3SR.js → agentRunControl-NEK44LDM.js} +19 -12
- package/{agentRuntimeLocal-3MAEFYSB.js → agentRuntimeLocal-SST4EPLT.js} +62 -49
- package/{agentSlice-KOQXUPKT.js → agentSlice-4ZJJJN4M.js} +15 -18
- package/appConfigCommands-MPHS6FHD.js +417 -0
- package/{appDeleteCommands-FEPN62UR.js → appDeleteCommands-W26WGENW.js} +68 -58
- package/{appDeployCommands-DPFEWFYZ.js → appDeployCommands-ER7IOF5E.js} +74 -59
- package/{appDeployStatusCommands-LQ5X5KVX.js → appDeployStatusCommands-VKLL3A77.js} +68 -58
- package/{appGetCommands-W3JBBIF7.js → appGetCommands-P6GXJNUD.js} +74 -58
- package/{appListCommands-LUHZS7JU.js → appListCommands-ACA2IZZM.js} +74 -58
- package/appMigrateCommands-OGF4E2W6.js +230 -0
- package/appSourceCommands-GAHVBRUM.js +279 -0
- package/{authCommand-HKSXJT3J.js → authCommand-PXE7NZTQ.js} +26 -40
- package/{authCommands-T5FODCEG.js → authCommands-AZPYXTUB.js} +20 -17
- package/{builtinSkillRegistry-FVEEO4U2.js → builtinSkillRegistry-6XUWMAV5.js} +8 -6
- package/{chromeOpsCommands-4UIKH26F.js → chromeOpsCommands-7UKKUOBU.js} +68 -18
- package/{chunk-KO5PFS74.js → chunk-2CKFROQS.js} +2454 -1115
- package/{chunk-6N4IKMTH.js → chunk-2I4R6ZRV.js} +40 -26
- package/{chunk-FXEPZKNJ.js → chunk-2MIZHEND.js} +506 -64
- package/{chunk-TLE77UJ5.js → chunk-2OROOEOQ.js} +0 -1
- package/{chunk-6RSNVJGO.js → chunk-2ZBPWX7N.js} +4 -4
- package/chunk-35JIFLIG.js +30 -0
- package/{chunk-ZYPXOQS2.js → chunk-3EPED3UO.js} +1 -1
- package/{chunk-DNNPARJK.js → chunk-3QMN3T6L.js} +50 -37
- package/{chunk-DMPZMYH4.js → chunk-3R4AYHJR.js} +13 -1
- package/{chunk-HPDLPEUG.js → chunk-42JZNSAY.js} +267 -234
- package/{chunk-223KZUJ6.js → chunk-4HZCBA4Q.js} +18 -15
- package/{chunk-C5A54QS7.js → chunk-4INJGWE3.js} +18 -5
- package/chunk-4IVMDQBA.js +261 -0
- package/chunk-4Y6CZ2N4.js +82 -0
- package/{chunk-OKAXQFON.js → chunk-52BNL6GP.js} +4 -4
- package/{chunk-KZ4A7EIV.js → chunk-56OAS5RZ.js} +1 -1
- package/{chunk-QGFLVQ6E.js → chunk-6KUTNAPU.js} +4 -14
- package/{chunk-MNFUKRRU.js → chunk-6XAAKRJB.js} +7 -7
- package/{chunk-P27E22MA.js → chunk-6Z6DGDPI.js} +1 -1
- package/chunk-72VWN4VK.js +51 -0
- package/{chunk-2RZBFJEG.js → chunk-75FZ2Z7C.js} +16027 -17392
- package/{chunk-ADYWV732.js → chunk-76B6YUQS.js} +264 -177
- package/{chunk-AKBNCTPY.js → chunk-76K4GTY5.js} +1 -1
- package/{chunk-ZMJMHXYX.js → chunk-7HUCUD2I.js} +3 -3
- package/chunk-7LR2IFUH.js +100 -0
- package/{chunk-S73EPYNC.js → chunk-7LS5ATRP.js} +20 -6
- package/{chunk-Y2TCTNUD.js → chunk-7QO6YSA4.js} +4 -4
- package/{chunk-TF427WGH.js → chunk-7RYH7YIY.js} +19 -27
- package/{chunk-KHYSFS3W.js → chunk-A454UXB6.js} +148 -73
- package/chunk-AMNZPQCY.js +635 -0
- package/chunk-AMTF6FJD.js +356 -0
- package/{chunk-MUDMYJCM.js → chunk-AQNWWJLH.js} +2 -56
- package/{chunk-WSLL7VV4.js → chunk-B4NA5UJR.js} +9 -9
- package/{chunk-LHCGKAFO.js → chunk-BKP325XS.js} +184 -112
- package/{chunk-PENRYZ4D.js → chunk-BPB3T5EU.js} +4 -7
- package/{chunk-46FETNLF.js → chunk-BTIFQBYW.js} +7 -6
- package/{chunk-2JHGUL5K.js → chunk-BVYHE6QD.js} +2 -2
- package/{chunk-KXOPLLFP.js → chunk-CA7LGAHV.js} +69 -9
- package/{chunk-2FZVXOFX.js → chunk-CEIWXKHP.js} +112 -200
- package/{chunk-AIFQKNPP.js → chunk-CL33RFD7.js} +1 -1
- package/{chunk-JAGD4PSH.js → chunk-CRGPRAJ4.js} +46 -42
- package/{chunk-P4R5KXU7.js → chunk-CW6LRDSF.js} +5 -5
- package/{chunk-BD22OFDQ.js → chunk-CZHIOBBK.js} +8 -3
- package/chunk-D3ONA3FP.js +762 -0
- package/chunk-D3SAQ6T7.js +1697 -0
- package/{chunk-PIVTQRX6.js → chunk-DDKA6V6X.js} +111 -12
- package/{chunk-KQHEGELM.js → chunk-DEAII55O.js} +16 -6
- package/{chunk-J55F3IEZ.js → chunk-DKJQEFNG.js} +1 -1
- package/chunk-DLXL4NSL.js +1179 -0
- package/{chunk-EJQE5HB7.js → chunk-DSBRIUX5.js} +4 -2
- package/{chunk-XRGBJHZX.js → chunk-E36V7MPY.js} +9 -5
- package/{chunk-4YPH5KRA.js → chunk-EDKMRDET.js} +1 -1
- package/chunk-EJHLDJWZ.js +58 -0
- package/{chunk-E4HBZDV6.js → chunk-EMFZXJTN.js} +15 -47
- package/chunk-ER6NTALN.js +34 -0
- package/chunk-EUHMI5KG.js +101 -0
- package/{chunk-YQLAFJRQ.js → chunk-FBNVJ2TO.js} +1 -1
- package/{chunk-EXD7S7QW.js → chunk-FF5ZRKW7.js} +12 -7
- package/{chunk-7PTWFSZZ.js → chunk-FGD4NMTP.js} +4 -4
- package/{chunk-6XIE5ZGI.js → chunk-FGFJUFPS.js} +5 -6
- package/chunk-FI4DPLR7.js +902 -0
- package/chunk-FKVLQNGJ.js +25 -0
- package/{chunk-JCQ3WCQ3.js → chunk-FOC4TORM.js} +69 -3
- package/{chunk-JPXACKSW.js → chunk-G22P2J7O.js} +30 -81
- package/{chunk-7WHCIA5V.js → chunk-G5IAIGGD.js} +3 -8
- package/{chunk-IZHENZQ5.js → chunk-G5JGA5YM.js} +180 -31
- package/{chunk-7EUJ65PF.js → chunk-GMBWWBSJ.js} +782 -449
- package/{chunk-WS36XPJD.js → chunk-GYFKKTDI.js} +82 -6
- package/{chunk-APXC3SQO.js → chunk-GZ4I5EMM.js} +9 -9
- package/{chunk-324FWHUA.js → chunk-HHXF57CL.js} +12 -3
- package/chunk-HJTI7RZV.js +94 -0
- package/{chunk-JGVWHUYK.js → chunk-HPIY372N.js} +7 -7
- package/{chunk-Q2MPKE4B.js → chunk-HVRG27HI.js} +76 -26
- package/{chunk-HDKMVYNJ.js → chunk-I3NWAILT.js} +6 -4
- package/{chunk-MD7O2NN2.js → chunk-IM7HCFB4.js} +313 -275
- package/{chunk-DWES4SXY.js → chunk-INN2PBW7.js} +1 -1
- package/chunk-IV6VUVLJ.js +88 -0
- package/chunk-J42X32PV.js +472 -0
- package/{chunk-V6S5OZSP.js → chunk-JHQNWV2C.js} +4441 -2569
- package/{chunk-R7XWZDOH.js → chunk-JUMQJSQF.js} +1423 -282
- package/{chunk-BIDSIRTS.js → chunk-JUNYPVL6.js} +10 -16
- package/chunk-JVEKCQAP.js +222 -0
- package/{chunk-JW6OURKM.js → chunk-KAHYBAEN.js} +215 -473
- package/chunk-KDDXC2IH.js +148 -0
- package/chunk-KGKTN2NX.js +25 -0
- package/chunk-KGWE224L.js +246 -0
- package/chunk-L3UFGEDU.js +17157 -0
- package/{chunk-CBIGMWMI.js → chunk-LHJB4BXJ.js} +1 -1
- package/{chunk-DCTQJDDQ.js → chunk-LIH7WSX5.js} +23 -379
- package/chunk-LJOPY4TL.js +443 -0
- package/{chunk-TRRXYFTR.js → chunk-LOFRSJX2.js} +1 -0
- package/{chunk-SQL7YNED.js → chunk-LPXBBC32.js} +71 -5
- package/chunk-LXP53WGF.js +168 -0
- package/chunk-MDAYRIP7.js +1889 -0
- package/chunk-MRACVEPZ.js +7 -0
- package/chunk-NHLLXINQ.js +8 -0
- package/{chunk-VQR2ACSC.js → chunk-NTBTVKKB.js} +17 -25
- package/{chunk-LVZVSLKO.js → chunk-O7ZY6SUK.js} +5 -22
- package/{chunk-APQBEIOQ.js → chunk-P4XAHM4B.js} +1 -1
- package/chunk-PL5RKESU.js +40 -0
- package/{chunk-U2H426FE.js → chunk-PQ3QZMJK.js} +20 -4
- package/chunk-Q5FJJ6XI.js +103 -0
- package/{createAgentAutomationAction-HEZ3G5L4.js → chunk-QKM55LP2.js} +3 -160
- package/{chunk-SIHOY5YI.js → chunk-QZCLCAYC.js} +170 -164
- package/{chunk-FE7G6DSP.js → chunk-R72QWIFO.js} +14 -4
- package/{chunk-JLZJL3WC.js → chunk-RDZ5OIAT.js} +370 -39
- package/{chunk-5RGU3J7P.js → chunk-REAE2SZK.js} +0 -1
- package/chunk-RF576RYE.js +117 -0
- package/chunk-RI7SXDJW.js +1317 -0
- package/{chunk-JOJH3KWV.js → chunk-RIOAPUGV.js} +242 -25
- package/{chunk-7B55IVLF.js → chunk-RL6H2A2Z.js} +2561 -4059
- package/{chunk-BZLGPM5B.js → chunk-RNLKWUVY.js} +7 -12
- package/{chunk-BB76X6O4.js → chunk-RWXHGPWJ.js} +1 -1
- package/chunk-S7BF2OGX.js +432 -0
- package/{chunk-6VEO7Z3Y.js → chunk-SD4MBKZ7.js} +6 -6
- package/{chunk-PNBQ5JTA.js → chunk-SGEBRBF3.js} +7 -4
- package/{chunk-6SOWMEAY.js → chunk-SR57FDTX.js} +2 -258
- package/{chunk-CEKRIR22.js → chunk-SU4NCTW4.js} +1 -1
- package/{chunk-LJ6WIQZO.js → chunk-SX6PDLBZ.js} +279 -149
- package/{chunk-6VNBJ7GI.js → chunk-T4WU747C.js} +5 -5
- package/{chunk-53W5BXLN.js → chunk-TCOHWKDM.js} +54 -55
- package/{chunk-KO5GO2BC.js → chunk-TXMFSGRY.js} +1 -1
- package/{chunk-UUCYUN6Y.js → chunk-UB7NV7NN.js} +1 -1
- package/{chunk-CVDJUPBN.js → chunk-UOLGGEEC.js} +774 -119
- package/{chunk-ADUCBH4M.js → chunk-USFG4EWQ.js} +51 -42
- package/{chunk-LLUBUHNT.js → chunk-UYZOBSSO.js} +5 -9
- package/{chunk-ONTHDYFU.js → chunk-VDC3BW24.js} +24 -10
- package/chunk-VH356OQ3.js +425 -0
- package/{chunk-U6QNVOR5.js → chunk-VKM7DOYB.js} +130 -6
- package/{chunk-3GGVFHWI.js → chunk-VPAO5WQX.js} +17 -14
- package/{chunk-OYUMJMC5.js → chunk-W2RQYNPI.js} +5 -0
- package/{chunk-C63KMRJE.js → chunk-W2Z5E2R7.js} +126 -698
- package/{chunk-4ZCTKB27.js → chunk-W5GKF5ZW.js} +1 -0
- package/{chunk-NUHQO3RB.js → chunk-WIVVNJUS.js} +1 -1
- package/chunk-WLJNHFEB.js +1710 -0
- package/chunk-WMBJDXMY.js +408 -0
- package/chunk-WSQLCWLQ.js +201 -0
- package/{chunk-YN23INFZ.js → chunk-WXD6Y7DW.js} +23 -2
- package/{chunk-RQKTCHQM.js → chunk-WY6DMHMG.js} +1 -1
- package/{chunk-MLK3FEXG.js → chunk-XJW6SLBZ.js} +3 -3
- package/{chunk-7BIJFGKS.js → chunk-XQFDCRG3.js} +105 -51
- package/chunk-XT6C2QZW.js +46 -0
- package/{chunk-NRUYSNSZ.js → chunk-Y7THFNVJ.js} +9 -9
- package/{chunk-ZEZC7IIM.js → chunk-YFSM2366.js} +35 -35
- package/{chunk-RD3QLZQV.js → chunk-YM5XULB2.js} +324 -2
- package/{chunk-BD5YJJLJ.js → chunk-YNP3ITPU.js} +19 -12
- package/{chunk-U35UUM5K.js → chunk-YOUSQIIK.js} +1 -1
- package/{chunk-RIWKZT7E.js → chunk-YRPIUIEQ.js} +11 -9
- package/{chunk-Z3JZ2R5F.js → chunk-YU235GGN.js} +25 -8
- package/chunk-YWEZSBLL.js +790 -0
- package/chunk-Z3KTXWWB.js +76 -0
- package/{chunk-YLAHYLDQ.js → chunk-ZC3CMUKU.js} +2 -89
- package/chunk-ZD7OULYZ.js +368 -0
- package/{chunk-5P3PPQVP.js → chunk-ZQAADXSF.js} +1 -1
- package/{chunk-HQUGB2HM.js → chunk-ZTCMXPIS.js} +62 -50
- package/{cliAgentConfigHelpers-BXHQ3PXP.js → cliAgentConfigHelpers-KMXS7JP5.js} +20 -14
- package/{cliAuthorityBrokerClient-TFNXJLXL.js → cliAuthorityBrokerClient-3SKOA7OZ.js} +3 -1
- package/cliAuthorityBrokerProcess-DCCUT4YQ.js +34 -0
- package/{cliEnvHelpers-CNMP3RDX.js → cliEnvHelpers-YDGDHIEE.js} +5 -2
- package/{cliExecutor-K6FDZTQ2.js → cliExecutor-Z62UBJ5S.js} +12 -6
- package/cliLocalAgentRecordReader-X2YHEBWI.js +113 -0
- package/cloudAutomationCommands-C6Q3BFRB.js +310 -0
- package/{commandRegistry-QKOJ5FIC.js → commandRegistry-TYYYTW5E.js} +263 -120
- package/{contentThunks-ZDBDDZP3.js → contentThunks-E6BJ5YSX.js} +45 -43
- package/{cooldownCommands-Y4ZQQ35D.js → cooldownCommands-FPAFS7XG.js} +1 -1
- package/createAgentAutomationAction-L3NLCIIW.js +172 -0
- package/{createDialogAction-DK62W5VA.js → createDialogAction-QSWKRPWQ.js} +46 -42
- package/{createPageAction-W6NXHVKO.js → createPageAction-ZVVUT4CZ.js} +49 -45
- package/{db-VR74ADGC.js → db-KTQ3LL2Q.js} +3 -3
- package/{dbSlice-RWPSVHBC.js → dbSlice-SEVKNA7A.js} +21 -16
- package/deleteDbKey-43MTK2DI.js +86 -0
- package/{dialogCommands-Z24IDINY.js → dialogCommands-UVMTIFSA.js} +80 -66
- package/{dialogMessageRecord-OAV77LT7.js → dialogMessageRecord-2HJTEXQX.js} +1 -1
- package/{dialogNotifyCommand-IASQGEMW.js → dialogNotifyCommand-LMWF7EQI.js} +22 -14
- package/dialogPortabilityCommands-PAMLEBST.js +3036 -0
- package/{dialogSlice-62GISS77.js → dialogSlice-VHPXENDZ.js} +43 -42
- package/{dialogTraceCommand-FDINAIZ6.js → dialogTraceCommand-SO2WKAXW.js} +83 -69
- package/{dialogUsageCommand-WJ3U6KZU.js → dialogUsageCommand-EUO6JXTD.js} +6 -3
- package/{docCreateCommands-SXA4TMGJ.js → docCreateCommands-H4RLIUNX.js} +68 -59
- package/{docDeleteCommands-ELXSZK3F.js → docDeleteCommands-OVAKCBMT.js} +68 -59
- package/{docReadCommands-DFLAQPI4.js → docReadCommands-KFISIUVA.js} +67 -58
- package/{docStore-UWF2PMCB.js → docStore-X7BEA735.js} +16 -17
- package/{docUpdateCommands-KB6M5HUH.js → docUpdateCommands-VOEER36L.js} +68 -59
- package/ebookDownloaderAgentCommand-2DHPGEOQ.js +674 -0
- package/{fetchMessages-TQEUZD7H.js → fetchMessages-RGPIYEPZ.js} +2 -2
- package/{getPricing-5BLZRPTM.js → getPricing-BK6CUBAE.js} +8 -4
- package/{handleSendMessageAction-ZV6OQPQG.js → handleSendMessageAction-GQ2KKOET.js} +265 -119
- package/{hostCredentialCreate-3IA5IJFG.js → hostCredentialCreate-PJAIKZQP.js} +138 -122
- package/index.js +35 -21
- package/{keys-RWF7UCB4.js → keys-FXEGMKSG.js} +2 -2
- package/localAutomationCommands-UU66LOWB.js +198 -0
- package/localAutomationRuntime-SW4R42SZ.js +60 -0
- package/{localDialogRead-BJJT3TF5.js → localDialogRead-W2EVXISA.js} +2 -2
- package/{localRuntimeAdapter-SSG5ORLZ.js → localRuntimeAdapter-WRBLXFUZ.js} +136 -119
- package/localRuntimeAuthority-3YDFZD3L.js +44 -0
- package/{localRuntimeDb-ZJFGNHML.js → localRuntimeDb-CJWJK47G.js} +1 -1
- package/{machineCommands-4WKJ3TLO.js → machineCommands-JFYED66N.js} +251 -357
- package/{machineInfo-LWHTEBHJ.js → machineInfo-BJIU3WQ5.js} +4 -2
- package/machineWsRunDispatch-CZUV2FXE.js +227 -0
- package/{mcpLocalAuthorizeCommand-RBXJDE6J.js → mcpLocalAuthorizeCommand-HLU72QME.js} +40 -22
- package/mcpLocalManageCommands-OHHU6F5C.js +212 -0
- package/{memberThunks-43B7UYC5.js → memberThunks-FJW4GPM5.js} +102 -22
- package/{memoryCommands-BC6REPQB.js → memoryCommands-2RLHDMU2.js} +25 -34
- package/{models-ZX2BYIMB.js → models-TOXYINNM.js} +3 -2
- package/{offlineMarxistsAgentCommand-XVXUE6G5.js → offlineMarxistsAgentCommand-WZBJBCPZ.js} +16 -22
- package/package.json +3 -3
- package/parityCommands-7EWR34P3.js +613 -0
- package/{projectArchive-JN43WW4E.js → projectArchive-JIVRMXVV.js} +49 -45
- package/{providerPresetApply-NTJUINI6.js → providerPresetApply-IRJ56XIZ.js} +12 -16
- package/{providerRegistry-W45SLUV6.js → providerRegistry-26PAUYH2.js} +3 -13
- package/{read-KG6INYUT.js → read-6YR57D6V.js} +11 -10
- package/{readDocTool-N3GA52JR.js → readDocTool-NKOGL2MW.js} +5 -1
- package/{readlineWorkspace-D6EUSB2Q.js → readlineWorkspace-V26AN2FL.js} +926 -572
- package/{rememberExplicit-CPAPONSI.js → rememberExplicit-7KX4HXQC.js} +4 -4
- package/remove-BF33RCTH.js +32 -0
- package/{removeDialogAgentAction-EEVSOQOJ.js → removeDialogAgentAction-GWHBWF4W.js} +22 -26
- package/{runAgentClientLoop-FEZTSUSJ.js → runAgentClientLoop-EKD2EEEA.js} +117 -82
- package/{runtimeDoctorCommands-V3M3JTUV.js → runtimeDoctorCommands-IALUR5BZ.js} +23 -16
- package/{secretCommands-53NZFD4T.js → secretCommands-CSTQYB6T.js} +2 -2
- package/{setDialogExtraReferencesAction-DNO5POHA.js → setDialogExtraReferencesAction-RL6FGO7T.js} +16 -17
- package/{setPrimaryDialogAgentAction-QABBEO4C.js → setPrimaryDialogAgentAction-XJASBB3K.js} +23 -27
- package/{settingThunks-DVKG4X4S.js → settingThunks-ZT7ZYXXL.js} +170 -497
- package/{skillDiscovery-5GEGWJ6N.js → skillDiscovery-IUEZZG2B.js} +3 -3
- package/{spaceCommands-4ACQQNZL.js → spaceCommands-65WQHVOI.js} +194 -90
- package/spacePruneCommand-PTMRUWYJ.js +233 -0
- package/{store-Z53ICFL3.js → store-WSAVTR32.js} +3 -1
- package/{streamAgentChatTurn-I425SVYJ.js → streamAgentChatTurn-B5NICHZW.js} +225 -137
- package/{switchDialogAgentAction-KYWJSGOO.js → switchDialogAgentAction-X6DFOIAX.js} +19 -23
- package/{tableCommands-EFA754RE.js → tableCommands-6E77VD73.js} +28 -49
- package/{toolApiClient-N5PYW2R3.js → toolApiClient-GTTWEV6P.js} +15 -4
- package/{tools-WBPFTSMK.js → tools-UMCPIQX6.js} +73 -63
- package/{tuiRestart-VN5F4GYU.js → tuiRestart-O7UDLNQU.js} +20 -13
- package/tuiSummaryLlmCaller-7APIUIIV.js +52 -0
- package/{updateCommands-VQEBBIGO.js → updateCommands-DXDIAQFS.js} +12 -7
- package/{updateDialogTitleAction-VB5DTVXV.js → updateDialogTitleAction-HZLKWVKM.js} +57 -58
- package/{usageCommand-WI6SQOPB.js → usageCommand-WYLNBDHB.js} +6 -8
- package/{usageRebuildCommand-WQRLLZAT.js → usageRebuildCommand-AEUPY2PE.js} +11 -15
- package/{windowsSelfUpdate-ZEZKGX4M.js → windowsSelfUpdate-SXSVXK4X.js} +2 -2
- package/workContext-ZAW6VXT7.js +18 -0
- package/workContextQueryProjection-CACY5VFE.js +23 -0
- package/{workloadLifecycle-DYX5ZMAT.js → workloadLifecycle-P2SJVV3S.js} +1 -1
- package/agentFavoriteCommands-7LOP3HUD.js +0 -186
- package/agentRecordCommands-BEZPBYBM.js +0 -194
- package/agentRunCommand-2T72V5KY.js +0 -232
- package/chunk-2MBTWINN.js +0 -89
- package/chunk-523DITKR.js +0 -32
- package/chunk-BUDVRYES.js +0 -2213
- package/chunk-BXGU6274.js +0 -862
- package/chunk-BZMDWGQQ.js +0 -47
- package/chunk-GAHJLSDO.js +0 -107
- package/chunk-GYX6XTAI.js +0 -84
- package/chunk-HNUWUO75.js +0 -93
- package/chunk-HSBHS6KT.js +0 -33401
- package/chunk-KG27JIG4.js +0 -136
- package/chunk-OB4FBZXJ.js +0 -364
- package/chunk-OKH74FML.js +0 -3746
- package/chunk-OLZBQWZU.js +0 -6
- package/chunk-OOV5JN25.js +0 -1317
- package/chunk-OQFOE4SJ.js +0 -405
- package/chunk-PXYBUFDB.js +0 -53
- package/chunk-R3FZHW4Q.js +0 -103
- package/chunk-R3MV2GII.js +0 -106
- package/chunk-SCAC3NM5.js +0 -11751
- package/chunk-SR4FE5VD.js +0 -9
- package/chunk-SYTHYBMI.js +0 -3558
- package/chunk-UKZX3NHN.js +0 -48
- package/chunk-UVLYNWIE.js +0 -74
- package/chunk-WFEWP352.js +0 -861
- package/chunk-X4O7FJF5.js +0 -160
- package/chunk-YJPK35HB.js +0 -175
- package/chunk-YNIYE47Z.js +0 -105
- package/chunk-Z4PCXPUE.js +0 -127
- package/chunk-ZTHAJU3O.js +0 -2537
- package/cliAuthorityBrokerProcess-5ZFBTHLB.js +0 -22
- package/cliLocalAgentRecordReader-Q6677YID.js +0 -104
- package/deleteFile-ECU6FU5C.js +0 -55
- package/localRuntimeAuthority-UF2DAQ3F.js +0 -28
- package/machineWsRunDispatch-7PROH7E7.js +0 -209
- package/markdownToSlate-PXYAIBVL.js +0 -8
- package/tuiSummaryLlmCaller-HROLGN4F.js +0 -45
- package/webapi-QVV65DQF.js +0 -2487
- package/workContext-Y3ADAPZU.js +0 -14
- package/{chunk-USGHJSGO.js → chunk-GX2MFKF3.js} +3 -3
- package/{chunk-PHREU2KZ.js → chunk-WX266G2C.js} +0 -0
- package/{chunk-DXWGFL2Z.js → chunk-YY7IGJMN.js} +3 -3
|
@@ -1,117 +1,114 @@
|
|
|
1
|
-
import {
|
|
2
|
-
require_differenceInMinutes
|
|
3
|
-
} from "./chunk-Z4PCXPUE.js";
|
|
4
1
|
import {
|
|
5
2
|
updateContentTitle
|
|
6
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SX6PDLBZ.js";
|
|
7
4
|
import {
|
|
8
5
|
isAssistantToolStub,
|
|
9
6
|
selectAllMsgs
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import
|
|
12
|
-
require_format
|
|
13
|
-
} from "./chunk-BUDVRYES.js";
|
|
7
|
+
} from "./chunk-RL6H2A2Z.js";
|
|
8
|
+
import "./chunk-KDDXC2IH.js";
|
|
14
9
|
import "./chunk-TZXPT53C.js";
|
|
10
|
+
import "./chunk-6QDYSCPW.js";
|
|
15
11
|
import {
|
|
16
12
|
BUILTIN_DIALOG_LLM_FALLBACK_MODEL,
|
|
17
13
|
BUILTIN_TITLE_LLM_CONFIG
|
|
18
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ER6NTALN.js";
|
|
19
15
|
import {
|
|
20
16
|
runLlm
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-IM7HCFB4.js";
|
|
18
|
+
import "./chunk-WXD6Y7DW.js";
|
|
23
19
|
import "./chunk-BYXBJQAS.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-AMNZPQCY.js";
|
|
21
|
+
import "./chunk-SD4MBKZ7.js";
|
|
22
|
+
import "./chunk-REAE2SZK.js";
|
|
23
|
+
import "./chunk-PL5RKESU.js";
|
|
24
|
+
import "./chunk-FKVLQNGJ.js";
|
|
25
|
+
import "./chunk-BTIFQBYW.js";
|
|
30
26
|
import {
|
|
31
27
|
normalizeSpaceId
|
|
32
28
|
} from "./chunk-UAD2WT54.js";
|
|
33
29
|
import {
|
|
34
30
|
patch,
|
|
35
31
|
selectById
|
|
36
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-76B6YUQS.js";
|
|
37
33
|
import "./chunk-3PVYUPXK.js";
|
|
38
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-XQFDCRG3.js";
|
|
35
|
+
import "./chunk-GYFKKTDI.js";
|
|
36
|
+
import "./chunk-42JZNSAY.js";
|
|
37
|
+
import "./chunk-AMTF6FJD.js";
|
|
39
38
|
import "./chunk-HXER7YJF.js";
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-YY7IGJMN.js";
|
|
41
40
|
import "./chunk-3L2WKC3W.js";
|
|
42
|
-
import "./chunk-QYPE3TS3.js";
|
|
43
|
-
import "./chunk-U35UUM5K.js";
|
|
44
|
-
import "./chunk-RD3QLZQV.js";
|
|
45
|
-
import "./chunk-7BIJFGKS.js";
|
|
46
|
-
import "./chunk-HPDLPEUG.js";
|
|
47
|
-
import "./chunk-ZTHAJU3O.js";
|
|
48
|
-
import "./chunk-HDKMVYNJ.js";
|
|
49
|
-
import "./chunk-YJPK35HB.js";
|
|
50
41
|
import "./chunk-UEILX4EV.js";
|
|
51
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-QYPE3TS3.js";
|
|
43
|
+
import "./chunk-YOUSQIIK.js";
|
|
52
44
|
import {
|
|
53
45
|
selectIdentityUserId
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-YM5XULB2.js";
|
|
47
|
+
import "./chunk-I3NWAILT.js";
|
|
48
|
+
import "./chunk-MRACVEPZ.js";
|
|
49
|
+
import "./chunk-QQ56R7KS.js";
|
|
50
|
+
import "./chunk-SU4NCTW4.js";
|
|
56
51
|
import {
|
|
57
52
|
buildDialogFallbackTitleFromMessages,
|
|
58
53
|
resolveDialogTitle
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import
|
|
54
|
+
} from "./chunk-LXP53WGF.js";
|
|
55
|
+
import {
|
|
56
|
+
isInternalNoticeMessage
|
|
57
|
+
} from "./chunk-4Y6CZ2N4.js";
|
|
58
|
+
import "./chunk-G5IAIGGD.js";
|
|
61
59
|
import "./chunk-5ZUL4CUO.js";
|
|
62
60
|
import {
|
|
63
61
|
serializeMessageContent
|
|
64
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-CEIWXKHP.js";
|
|
65
63
|
import "./chunk-H57T64RA.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-SR4FE5VD.js";
|
|
64
|
+
import "./chunk-WMBJDXMY.js";
|
|
68
65
|
import "./chunk-5MMAK75Q.js";
|
|
69
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-GX2MFKF3.js";
|
|
70
67
|
import "./chunk-E6A5NHDH.js";
|
|
71
68
|
import "./chunk-KX6YBIHG.js";
|
|
72
69
|
import "./chunk-PSCNXBYA.js";
|
|
73
70
|
import "./chunk-DWLEOOGR.js";
|
|
74
71
|
import "./chunk-7DPNBQSV.js";
|
|
72
|
+
import "./chunk-HNMXYYJR.js";
|
|
75
73
|
import "./chunk-OW765XBU.js";
|
|
76
74
|
import "./chunk-G7Y4GXTY.js";
|
|
77
75
|
import "./chunk-6UBGXX2W.js";
|
|
78
76
|
import "./chunk-BV3FLP2L.js";
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-ZQAADXSF.js";
|
|
78
|
+
import "./chunk-DLXL4NSL.js";
|
|
81
79
|
import "./chunk-OJKUU3LP.js";
|
|
82
80
|
import "./chunk-YZMNK53S.js";
|
|
83
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-BVYHE6QD.js";
|
|
82
|
+
import "./chunk-YRPIUIEQ.js";
|
|
84
83
|
import {
|
|
85
84
|
extractCustomId
|
|
86
85
|
} from "./chunk-M2EJHDJP.js";
|
|
87
86
|
import "./chunk-I42VC5KR.js";
|
|
88
|
-
import "./chunk-4JH2UMJR.js";
|
|
89
|
-
import "./chunk-U6VC4MU4.js";
|
|
90
|
-
import "./chunk-LCBAMY2M.js";
|
|
91
|
-
import "./chunk-EJQE5HB7.js";
|
|
92
|
-
import "./chunk-HNMXYYJR.js";
|
|
93
|
-
import "./chunk-2JHGUL5K.js";
|
|
94
87
|
import {
|
|
95
88
|
asTrimmedString
|
|
96
89
|
} from "./chunk-3EUW3WEO.js";
|
|
90
|
+
import "./chunk-4JH2UMJR.js";
|
|
97
91
|
import "./chunk-WWC7I6TA.js";
|
|
98
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-U6VC4MU4.js";
|
|
93
|
+
import "./chunk-RI7SXDJW.js";
|
|
94
|
+
import "./chunk-7LR2IFUH.js";
|
|
99
95
|
import "./chunk-JRTNUU5Z.js";
|
|
100
96
|
import "./chunk-KUG52IAP.js";
|
|
97
|
+
import "./chunk-LCBAMY2M.js";
|
|
98
|
+
import "./chunk-IV6VUVLJ.js";
|
|
101
99
|
import "./chunk-G3SUCT4W.js";
|
|
100
|
+
import "./chunk-FI4DPLR7.js";
|
|
102
101
|
import "./chunk-4SN6J65J.js";
|
|
103
102
|
import "./chunk-CF7PE763.js";
|
|
104
|
-
import "./chunk-
|
|
103
|
+
import "./chunk-DSBRIUX5.js";
|
|
104
|
+
import "./chunk-35JIFLIG.js";
|
|
105
|
+
import "./chunk-MDAYRIP7.js";
|
|
106
|
+
import "./chunk-G22P2J7O.js";
|
|
105
107
|
import "./chunk-QSJ3HFEF.js";
|
|
106
|
-
import
|
|
107
|
-
__toESM
|
|
108
|
-
} from "./chunk-U67V476Y.js";
|
|
109
|
-
|
|
110
|
-
// packages/chat/dialog/actions/updateDialogTitleAction.ts
|
|
111
|
-
var import_format = __toESM(require_format());
|
|
108
|
+
import "./chunk-U67V476Y.js";
|
|
112
109
|
|
|
113
110
|
// packages/chat/dialog/actions/updateDialogTitlePolicy.ts
|
|
114
|
-
var
|
|
111
|
+
var differenceInMinutes = (later, earlier) => Math.trunc((later.getTime() - earlier.getTime()) / 6e4);
|
|
115
112
|
var TITLE_UPDATE_INTERVAL_MINUTES = 30;
|
|
116
113
|
var FORCE_UPDATE_FOR_TEST = false;
|
|
117
114
|
var shouldUpdateTitle = (createdAt, lastUpdatedAt, now = /* @__PURE__ */ new Date()) => {
|
|
@@ -121,7 +118,7 @@ var shouldUpdateTitle = (createdAt, lastUpdatedAt, now = /* @__PURE__ */ new Dat
|
|
|
121
118
|
if (!lastUpdate || !creation || Number.isNaN(lastUpdate.getTime()) || Number.isNaN(creation.getTime())) {
|
|
122
119
|
return true;
|
|
123
120
|
}
|
|
124
|
-
return (
|
|
121
|
+
return differenceInMinutes(now, creation) <= TITLE_UPDATE_INTERVAL_MINUTES || differenceInMinutes(now, lastUpdate) >= TITLE_UPDATE_INTERVAL_MINUTES;
|
|
125
122
|
};
|
|
126
123
|
|
|
127
124
|
// packages/chat/dialog/actions/updateDialogTitleAction.ts
|
|
@@ -141,7 +138,9 @@ var getMessageContextForTitle = (state, dialogKey, selectAllMessages = selectAll
|
|
|
141
138
|
(acc, cur) => acc.concat(cur),
|
|
142
139
|
[]
|
|
143
140
|
) : [];
|
|
144
|
-
const normalized = flattened.filter(
|
|
141
|
+
const normalized = flattened.filter(
|
|
142
|
+
(msg) => msg?.role !== "tool" && !isAssistantToolStub(msg) && !(msg?.role === "user" && isInternalNoticeMessage(msg))
|
|
143
|
+
).map((msg) => {
|
|
145
144
|
const textContent = serializeMessageContent(msg?.content, "[\u56FE\u7247]");
|
|
146
145
|
if (!textContent) return null;
|
|
147
146
|
return {
|
|
@@ -187,7 +186,7 @@ var updateDialogTitleActionWithDeps = async (args, thunkApi, deps = {}) => {
|
|
|
187
186
|
if (messageContext.length === 0) {
|
|
188
187
|
return dialogConfig;
|
|
189
188
|
}
|
|
190
|
-
const fallbackTitle = buildDialogFallbackTitleFromMessages(messageContext) || `Conversation on ${(
|
|
189
|
+
const fallbackTitle = buildDialogFallbackTitleFromMessages(messageContext) || `Conversation on ${new Intl.DateTimeFormat("en-US", { month: "short", day: "numeric" }).format(/* @__PURE__ */ new Date())}`;
|
|
191
190
|
let generatedTitle = "";
|
|
192
191
|
const currentUserId = selectCurrentUserId(state);
|
|
193
192
|
if (!shouldSkipPlatformTitleLlm({
|
|
@@ -6,20 +6,18 @@ import {
|
|
|
6
6
|
resolveDateWindow,
|
|
7
7
|
runUsageCommand,
|
|
8
8
|
summarizeUsage
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-YNIYE47Z.js";
|
|
14
|
-
import "./chunk-J55F3IEZ.js";
|
|
9
|
+
} from "./chunk-ZD7OULYZ.js";
|
|
10
|
+
import "./chunk-KDDXC2IH.js";
|
|
11
|
+
import "./chunk-PL5RKESU.js";
|
|
12
|
+
import "./chunk-DKJQEFNG.js";
|
|
15
13
|
import "./chunk-GLKOYSRU.js";
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-DLXL4NSL.js";
|
|
17
15
|
import "./chunk-OJKUU3LP.js";
|
|
18
16
|
import "./chunk-YZMNK53S.js";
|
|
19
17
|
import "./chunk-I42VC5KR.js";
|
|
20
|
-
import "./chunk-U6VC4MU4.js";
|
|
21
18
|
import "./chunk-3EUW3WEO.js";
|
|
22
19
|
import "./chunk-WWC7I6TA.js";
|
|
20
|
+
import "./chunk-U6VC4MU4.js";
|
|
23
21
|
import "./chunk-G3SUCT4W.js";
|
|
24
22
|
import "./chunk-U67V476Y.js";
|
|
25
23
|
export {
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseUsageArgs,
|
|
3
|
-
require_date_fns,
|
|
4
3
|
resolveDateWindow
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-Z4PCXPUE.js";
|
|
4
|
+
} from "./chunk-ZD7OULYZ.js";
|
|
7
5
|
import {
|
|
8
6
|
applyTokenUsageToDayStats,
|
|
9
7
|
normalizeStats
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import
|
|
12
|
-
|
|
8
|
+
} from "./chunk-KDDXC2IH.js";
|
|
9
|
+
import {
|
|
10
|
+
formatLocalDate
|
|
11
|
+
} from "./chunk-PL5RKESU.js";
|
|
13
12
|
import {
|
|
14
13
|
getDefaultCliLocalRuntimeDb
|
|
15
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DKJQEFNG.js";
|
|
16
15
|
import "./chunk-GLKOYSRU.js";
|
|
17
16
|
import {
|
|
18
17
|
isLevelNotFoundError
|
|
@@ -21,20 +20,17 @@ import {
|
|
|
21
20
|
createTokenKey,
|
|
22
21
|
createTokenStatsKey,
|
|
23
22
|
createUsageBackupKey
|
|
24
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DLXL4NSL.js";
|
|
25
24
|
import "./chunk-OJKUU3LP.js";
|
|
26
25
|
import "./chunk-YZMNK53S.js";
|
|
27
26
|
import "./chunk-I42VC5KR.js";
|
|
28
|
-
import "./chunk-U6VC4MU4.js";
|
|
29
27
|
import "./chunk-3EUW3WEO.js";
|
|
30
28
|
import "./chunk-WWC7I6TA.js";
|
|
29
|
+
import "./chunk-U6VC4MU4.js";
|
|
31
30
|
import "./chunk-G3SUCT4W.js";
|
|
32
|
-
import
|
|
33
|
-
__toESM
|
|
34
|
-
} from "./chunk-U67V476Y.js";
|
|
31
|
+
import "./chunk-U67V476Y.js";
|
|
35
32
|
|
|
36
33
|
// packages/cli/usageRebuildCommand.ts
|
|
37
|
-
var import_date_fns = __toESM(require_date_fns(), 1);
|
|
38
34
|
async function writeRebuildOps(db, ops) {
|
|
39
35
|
if (typeof db.batchWrite === "function") return db.batchWrite(ops);
|
|
40
36
|
if (typeof db.batch === "function") return db.batch(ops);
|
|
@@ -74,7 +70,7 @@ function normalizeDetailRecord(key, value) {
|
|
|
74
70
|
const userId = asNonEmptyString(v.userId) ?? userIdFromDetailKey(key);
|
|
75
71
|
if (!userId) return null;
|
|
76
72
|
const timestamp = asNumber(v.timestamp, asNumber(v.createdAt, Number.NaN)) || asNumber(timestampFromDetailKey(key), Number.NaN);
|
|
77
|
-
const dateKey = Number.isFinite(timestamp) && timestamp > 0 ? (
|
|
73
|
+
const dateKey = Number.isFinite(timestamp) && timestamp > 0 ? formatLocalDate(new Date(timestamp), "yyyy-MM-dd") : asNonEmptyString(v.dateKey);
|
|
78
74
|
if (!dateKey || !/^\d{4}-\d{2}-\d{2}$/.test(dateKey)) return null;
|
|
79
75
|
const failed = v.status === "failed";
|
|
80
76
|
const agentRaw = asNonEmptyString(v.agentId) ?? asNonEmptyString(v.cybotId);
|
|
@@ -456,7 +452,7 @@ function formatRebuildReport(report) {
|
|
|
456
452
|
return lines.join("\n");
|
|
457
453
|
}
|
|
458
454
|
async function resolveRebuildUserId(env) {
|
|
459
|
-
const { resolveLocalUserId } = await import("./cliAgentConfigHelpers-
|
|
455
|
+
const { resolveLocalUserId } = await import("./cliAgentConfigHelpers-KMXS7JP5.js");
|
|
460
456
|
return resolveLocalUserId(env);
|
|
461
457
|
}
|
|
462
458
|
async function runUsageRebuildCommand(args, deps) {
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
defaultLaunchWindowsUpdateHelper,
|
|
4
4
|
getWindowsUpdateStatus,
|
|
5
5
|
scheduleWindowsSelfUpdate
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-WY6DMHMG.js";
|
|
7
|
+
import "./chunk-RIOAPUGV.js";
|
|
8
8
|
import "./chunk-U67V476Y.js";
|
|
9
9
|
export {
|
|
10
10
|
buildWindowsUpdateHelperSource,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isClosedWorkStatus,
|
|
3
|
+
isWorkContextState,
|
|
4
|
+
readWorkContexts,
|
|
5
|
+
updateWorkContext,
|
|
6
|
+
validateWorkContextGoal
|
|
7
|
+
} from "./chunk-4INJGWE3.js";
|
|
8
|
+
import "./chunk-2ZBPWX7N.js";
|
|
9
|
+
import "./chunk-HHXF57CL.js";
|
|
10
|
+
import "./chunk-OW765XBU.js";
|
|
11
|
+
import "./chunk-U67V476Y.js";
|
|
12
|
+
export {
|
|
13
|
+
isClosedWorkStatus,
|
|
14
|
+
isWorkContextState,
|
|
15
|
+
readWorkContexts,
|
|
16
|
+
updateWorkContext,
|
|
17
|
+
validateWorkContextGoal
|
|
18
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isClosedWorkStatus
|
|
3
|
+
} from "./chunk-4INJGWE3.js";
|
|
4
|
+
import "./chunk-2ZBPWX7N.js";
|
|
5
|
+
import "./chunk-HHXF57CL.js";
|
|
6
|
+
import "./chunk-OW765XBU.js";
|
|
7
|
+
import "./chunk-U67V476Y.js";
|
|
8
|
+
|
|
9
|
+
// packages/ai/memory/vnext/workContextQueryProjection.ts
|
|
10
|
+
function projectWorkContextQuery(page) {
|
|
11
|
+
return {
|
|
12
|
+
...page,
|
|
13
|
+
items: page.items.map((item) => {
|
|
14
|
+
const { status } = item.value;
|
|
15
|
+
if (!isClosedWorkStatus(status)) return item;
|
|
16
|
+
const { nextStep, openItems, ...value } = item.value;
|
|
17
|
+
return { ...item, value: { ...value, historicalSteps: { nextStep, openItems } } };
|
|
18
|
+
})
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
projectWorkContextQuery
|
|
23
|
+
};
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
resolveCliAgentKeyInput
|
|
3
|
-
} from "./chunk-BR3GT6MR.js";
|
|
4
|
-
import "./chunk-M2EJHDJP.js";
|
|
5
|
-
import {
|
|
6
|
-
resolveAuthToken,
|
|
7
|
-
resolveServerCandidates,
|
|
8
|
-
resolveServerUrl
|
|
9
|
-
} from "./chunk-BIDSIRTS.js";
|
|
10
|
-
import "./chunk-OLZBQWZU.js";
|
|
11
|
-
import "./chunk-LCBAMY2M.js";
|
|
12
|
-
import {
|
|
13
|
-
toErrorMessage
|
|
14
|
-
} from "./chunk-HNMXYYJR.js";
|
|
15
|
-
import "./chunk-G3SUCT4W.js";
|
|
16
|
-
import "./chunk-4SN6J65J.js";
|
|
17
|
-
import "./chunk-CF7PE763.js";
|
|
18
|
-
import "./chunk-QSJ3HFEF.js";
|
|
19
|
-
import "./chunk-U67V476Y.js";
|
|
20
|
-
|
|
21
|
-
// packages/cli/agentFavoriteCommands.ts
|
|
22
|
-
function wantsHelp(args) {
|
|
23
|
-
return args.includes("--help") || args.includes("-h");
|
|
24
|
-
}
|
|
25
|
-
function wantsJson(args) {
|
|
26
|
-
return args.includes("--json");
|
|
27
|
-
}
|
|
28
|
-
var VALUE_FLAGS = /* @__PURE__ */ new Set(["--server-url", "--server"]);
|
|
29
|
-
function positionalArgs(args) {
|
|
30
|
-
const values = [];
|
|
31
|
-
for (let index = 0; index < args.length; index += 1) {
|
|
32
|
-
const arg = args[index];
|
|
33
|
-
if (!arg) continue;
|
|
34
|
-
if (arg.startsWith("--")) {
|
|
35
|
-
if (arg.includes("=")) continue;
|
|
36
|
-
if (VALUE_FLAGS.has(arg)) index += 1;
|
|
37
|
-
continue;
|
|
38
|
-
}
|
|
39
|
-
values.push(arg);
|
|
40
|
-
}
|
|
41
|
-
return values;
|
|
42
|
-
}
|
|
43
|
-
function writeAgentFavoriteHelp(output) {
|
|
44
|
-
output.write(
|
|
45
|
-
"Usage:\n nolo agent favorite <agent> [--off] [--json]\n\nFavorite an agent for the current user; --off removes the favorite.\nFavorite is a per-user relation stored on the server, so an agent shared\nwith you can be favorited without write access to the agent record.\nThe change is synced to every server in the current candidate set, matching\nthe web UI and `nolo agent list`.\n<agent> accepts an agent key (agent-<owner>-<id>), a known alias, or a web URL.\n"
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
async function callSetFavorite(args) {
|
|
49
|
-
const url = `${args.serverUrl.replace(/\/$/, "")}/rpc/setFavorite`;
|
|
50
|
-
const res = await args.fetchImpl(url, {
|
|
51
|
-
method: "POST",
|
|
52
|
-
headers: {
|
|
53
|
-
"Content-Type": "application/json",
|
|
54
|
-
Authorization: `Bearer ${args.authToken}`
|
|
55
|
-
},
|
|
56
|
-
body: JSON.stringify({
|
|
57
|
-
targetType: "agent",
|
|
58
|
-
targetKey: args.agentKey,
|
|
59
|
-
isFavorite: args.isFavorite,
|
|
60
|
-
favoritedAt: args.favoritedAt
|
|
61
|
-
})
|
|
62
|
-
});
|
|
63
|
-
let payload = null;
|
|
64
|
-
try {
|
|
65
|
-
payload = await res.json();
|
|
66
|
-
} catch {
|
|
67
|
-
payload = null;
|
|
68
|
-
}
|
|
69
|
-
if (!res.ok) {
|
|
70
|
-
const code = payload?.code ? ` [${payload.code}]` : "";
|
|
71
|
-
const message = payload?.message || `setFavorite request failed (${res.status})`;
|
|
72
|
-
throw new Error(`${message}${code}`);
|
|
73
|
-
}
|
|
74
|
-
if (!payload || typeof payload !== "object") {
|
|
75
|
-
throw new Error("setFavorite returned an invalid response");
|
|
76
|
-
}
|
|
77
|
-
return payload;
|
|
78
|
-
}
|
|
79
|
-
async function setFavoriteAcrossServers(args) {
|
|
80
|
-
const settled = await Promise.allSettled(
|
|
81
|
-
args.serverUrls.map(
|
|
82
|
-
(serverUrl) => callSetFavorite({
|
|
83
|
-
serverUrl,
|
|
84
|
-
authToken: args.authToken,
|
|
85
|
-
fetchImpl: args.fetchImpl,
|
|
86
|
-
agentKey: args.agentKey,
|
|
87
|
-
isFavorite: args.isFavorite,
|
|
88
|
-
favoritedAt: args.favoritedAt
|
|
89
|
-
})
|
|
90
|
-
)
|
|
91
|
-
);
|
|
92
|
-
return settled.map(
|
|
93
|
-
(result, index) => result.status === "fulfilled" ? {
|
|
94
|
-
serverUrl: args.serverUrls[index],
|
|
95
|
-
ok: true,
|
|
96
|
-
response: result.value
|
|
97
|
-
} : {
|
|
98
|
-
serverUrl: args.serverUrls[index],
|
|
99
|
-
ok: false,
|
|
100
|
-
error: toErrorMessage(result.reason)
|
|
101
|
-
}
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
async function runAgentFavoriteCommand(args, deps = {}) {
|
|
105
|
-
const env = deps.env ?? process.env;
|
|
106
|
-
const output = deps.output ?? process.stdout;
|
|
107
|
-
if (wantsHelp(args)) {
|
|
108
|
-
writeAgentFavoriteHelp(output);
|
|
109
|
-
return 0;
|
|
110
|
-
}
|
|
111
|
-
const authToken = resolveAuthToken(args, env);
|
|
112
|
-
if (!authToken) {
|
|
113
|
-
output.write(
|
|
114
|
-
"[nolo] agent favorite requires an auth token. Run `nolo login` or set AUTH_TOKEN.\n"
|
|
115
|
-
);
|
|
116
|
-
return 1;
|
|
117
|
-
}
|
|
118
|
-
const raw = positionalArgs(args)[0];
|
|
119
|
-
if (!raw) {
|
|
120
|
-
output.write("[nolo] agent key is required.\n");
|
|
121
|
-
writeAgentFavoriteHelp(output);
|
|
122
|
-
return 1;
|
|
123
|
-
}
|
|
124
|
-
const agentKey = resolveCliAgentKeyInput(raw);
|
|
125
|
-
const isFavorite = !args.includes("--off");
|
|
126
|
-
const primaryServerUrl = resolveServerUrl(args, env);
|
|
127
|
-
const serverUrls = resolveServerCandidates(args, env, primaryServerUrl);
|
|
128
|
-
const favoritedAt = Date.now();
|
|
129
|
-
try {
|
|
130
|
-
const attempts = await setFavoriteAcrossServers({
|
|
131
|
-
serverUrls,
|
|
132
|
-
authToken,
|
|
133
|
-
fetchImpl: deps.fetchImpl ?? fetch,
|
|
134
|
-
agentKey,
|
|
135
|
-
isFavorite,
|
|
136
|
-
favoritedAt
|
|
137
|
-
});
|
|
138
|
-
const failures = attempts.filter((attempt) => !attempt.ok);
|
|
139
|
-
if (failures.length === attempts.length) {
|
|
140
|
-
output.write(
|
|
141
|
-
`[nolo] agent favorite failed on all ${attempts.length} server(s): ${failures.map((f) => `${f.serverUrl} (${f.error})`).join(", ")}
|
|
142
|
-
`
|
|
143
|
-
);
|
|
144
|
-
return 1;
|
|
145
|
-
}
|
|
146
|
-
if (wantsJson(args)) {
|
|
147
|
-
output.write(
|
|
148
|
-
`${JSON.stringify(
|
|
149
|
-
{
|
|
150
|
-
targetType: "agent",
|
|
151
|
-
targetKey: agentKey,
|
|
152
|
-
isFavorite,
|
|
153
|
-
favoritedAt,
|
|
154
|
-
servers: attempts
|
|
155
|
-
},
|
|
156
|
-
null,
|
|
157
|
-
2
|
|
158
|
-
)}
|
|
159
|
-
`
|
|
160
|
-
);
|
|
161
|
-
return 0;
|
|
162
|
-
}
|
|
163
|
-
const primary = attempts.find((attempt) => attempt.serverUrl === primaryServerUrl) ?? attempts.find((attempt) => attempt.ok);
|
|
164
|
-
const count = primary?.response?.favoriteCount;
|
|
165
|
-
const state = isFavorite ? "Favorited" : "Unfavorited";
|
|
166
|
-
const countText = typeof count === "number" ? ` (favorites: ${count})` : "";
|
|
167
|
-
output.write(`${state} ${agentKey}${countText}
|
|
168
|
-
`);
|
|
169
|
-
if (failures.length > 0) {
|
|
170
|
-
output.write(
|
|
171
|
-
`[nolo] warning: ${failures.length} of ${attempts.length} server(s) failed: ${failures.map((f) => `${f.serverUrl} (${f.error})`).join(", ")}
|
|
172
|
-
`
|
|
173
|
-
);
|
|
174
|
-
}
|
|
175
|
-
return 0;
|
|
176
|
-
} catch (error) {
|
|
177
|
-
output.write(`[nolo] agent favorite failed: ${toErrorMessage(error)}
|
|
178
|
-
`);
|
|
179
|
-
return 1;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
export {
|
|
183
|
-
runAgentFavoriteCommand,
|
|
184
|
-
setFavoriteAcrossServers,
|
|
185
|
-
writeAgentFavoriteHelp
|
|
186
|
-
};
|