nolo-cli 0.228.0-alpha.2 → 0.228.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 +3 -5
- package/{_executeModel-VYCHHZVT.js → _executeModel-AKCTHGMP.js} +89 -83
- package/{accountResolver-QETKNC7T.js → accountResolver-NGICIMEE.js} +1 -1
- package/{action-GDZDXPMB.js → action-C6IQAKN4.js} +8 -5
- package/{addContentAction-7RO4AMRI.js → addContentAction-53364YDW.js} +13 -12
- package/{addDialogAgentAction-EVYBGTXB.js → addDialogAgentAction-U5DD5EN5.js} +16 -15
- package/{agentDeleteCommand-QWQKT54A.js → agentDeleteCommand-2E5FAGUO.js} +128 -115
- package/{agentEmailCommands-EISMBIRE.js → agentEmailCommands-UGZZAH7E.js} +128 -111
- package/{agentListCommands-4WLG32IW.js → agentListCommands-JCTW3J2K.js} +398 -179
- package/{agentMachineCommands-DC6NKWTU.js → agentMachineCommands-QPG5ZXF4.js} +58 -47
- package/{agentProviderCommands-STI3DQ6A.js → agentProviderCommands-QLTABYR7.js} +2 -2
- package/{agentPullCommand-KHV4EELF.js → agentPullCommand-2EYJ5ENC.js} +1 -1
- package/agentRecordCommands-4NTVR6MZ.js +194 -0
- package/agentRunCommand-VHF34PYC.js +232 -0
- package/{agentRunControl-MBG4U6SL.js → agentRunControl-QYTXUQGY.js} +14 -9
- package/{agentRuntimeLocal-HOXKWCYO.js → agentRuntimeLocal-U54AKHXH.js} +58 -43
- package/{agentSlice-UG76KEBH.js → agentSlice-4JGDEXWK.js} +14 -13
- package/{appDeleteCommands-WWCC6WA5.js → appDeleteCommands-XBE5QJ6P.js} +58 -47
- package/{appDeployCommands-AU4IUN33.js → appDeployCommands-QIYLXXGA.js} +58 -47
- package/{appDeployStatusCommands-STUW7WXL.js → appDeployStatusCommands-JXS6ZQZZ.js} +58 -47
- package/{appGetCommands-BGTLIQ4K.js → appGetCommands-SZS7SJPK.js} +58 -47
- package/{appListCommands-CUCPRUXW.js → appListCommands-B3GBJSNV.js} +58 -47
- package/{authCommand-OZ2KTP4Z.js → authCommand-V6EOMZX6.js} +25 -19
- package/{authCommands-55OGQGCR.js → authCommands-T5FODCEG.js} +12 -6
- package/{builtinSkillRegistry-BAE2LDXF.js → builtinSkillRegistry-ZQC3IIO2.js} +8 -7
- package/{chromeCommands-G5UDKVSV.js → chromeCommands-O4IIKTBD.js} +384 -7
- package/{chromeOpsCommands-WAA45NCS.js → chromeOpsCommands-OFX7ZGKP.js} +3 -3
- package/{chunk-DBUR22G5.js → chunk-223KZUJ6.js} +19 -15
- package/{chunk-3U44JB3O.js → chunk-2C5VN7NH.js} +1 -1
- package/{chunk-PWTNI4N7.js → chunk-2E4BYAUE.js} +22 -0
- package/{chunk-L32W3PRP.js → chunk-2FZVXOFX.js} +234 -18
- package/{chunk-HBRDSQ3M.js → chunk-2JHGUL5K.js} +3 -2
- package/chunk-2SXN7LAY.js +15 -0
- package/chunk-3A5NNQCN.js +64 -0
- package/chunk-3F2FRLIO.js +372 -0
- package/{chunk-DEA37IUY.js → chunk-46FETNLF.js} +2 -2
- package/{chunk-ZEVQHCLM.js → chunk-4GYVS4PM.js} +8 -6
- package/{chunk-CBUZ6DKA.js → chunk-4YPH5KRA.js} +1 -1
- package/chunk-4ZCTKB27.js +31 -0
- package/chunk-53W5BXLN.js +340 -0
- package/{chunk-7FEP5USX.js → chunk-5AYP5QBB.js} +5 -5
- package/{chunk-XAG3FWBE.js → chunk-5ISNPTQH.js} +5 -5
- package/{chunk-EVGU5P4U.js → chunk-5P3PPQVP.js} +1 -1
- package/{chunk-XSW4EXQV.js → chunk-6BMTKYAO.js} +55 -18
- package/chunk-6PAHSSD2.js +33401 -0
- package/{chunk-ZOHO6MOF.js → chunk-6RSNVJGO.js} +2 -99
- package/{chunk-7JGMNKKG.js → chunk-6SOWMEAY.js} +30 -9
- package/{chunk-RG2DGNL6.js → chunk-6VEO7Z3Y.js} +3 -3
- package/{chunk-PDCV7P5W.js → chunk-6XIE5ZGI.js} +1 -1
- package/{chunk-DGYCDA6W.js → chunk-7BIJFGKS.js} +36 -17
- package/{chunk-WFDNADFX.js → chunk-7OVOZRZF.js} +8 -8
- package/{chunk-WCFFRBL5.js → chunk-7PON4LBY.js} +45 -27
- package/{chunk-QRGDJA4B.js → chunk-7WHCIA5V.js} +33 -7
- package/{chunk-CMMI3DAT.js → chunk-ADYWV732.js} +59 -30
- package/{chunk-QYB23WUH.js → chunk-AIFQKNPP.js} +1 -1
- package/{chunk-HGDKT2D6.js → chunk-BPB3T5EU.js} +174 -1
- package/{chunk-DUUDXSLX.js → chunk-BZLGPM5B.js} +28 -4
- package/{chunk-ATEKLSLR.js → chunk-BZMDWGQQ.js} +14 -9
- package/chunk-C5A54QS7.js +108 -0
- package/{chunk-S6K5F3KP.js → chunk-CEKRIR22.js} +1 -1
- package/{chunk-42OKN2LI.js → chunk-D634SL2Y.js} +9 -107
- package/{chunk-DLXMMTGM.js → chunk-DHRPLRIR.js} +1283 -786
- package/{chunk-LKA64WH4.js → chunk-DMPZMYH4.js} +37 -1
- package/{chunk-OBIC6EG7.js → chunk-DNNPARJK.js} +9 -5
- package/{chunk-X3E6EHJW.js → chunk-E3LSO6EI.js} +292 -207
- package/{chunk-OQHIVPG4.js → chunk-E6A5NHDH.js} +4 -1
- package/chunk-EHFBP6IK.js +791 -0
- package/chunk-EJQE5HB7.js +21 -0
- package/{chunk-VQ5N5GSV.js → chunk-EL5NRJHI.js} +4 -4
- package/chunk-EUGTFFO6.js +42 -0
- package/{chunk-7BCG67EI.js → chunk-EVHTYVD2.js} +1199 -442
- package/{chunk-6XRPBZRS.js → chunk-EYLGAEB4.js} +0 -134
- package/{chunk-262R3XNN.js → chunk-FEIVARWR.js} +377 -112
- package/{chunk-3VZLEKV2.js → chunk-FLBJ7IJI.js} +14 -14
- package/{chunk-EEOOBRA7.js → chunk-FXEPZKNJ.js} +13 -6
- package/{chunk-XTJKU3Z4.js → chunk-FYAMUU55.js} +677 -140
- package/{chunk-M3OZRQNH.js → chunk-FZANZZ63.js} +1 -1
- package/chunk-GAHJLSDO.js +107 -0
- package/{chunk-WWTSEBDF.js → chunk-GIXWVN2W.js} +1 -1
- package/{chunk-4N6G2CKP.js → chunk-HDKMVYNJ.js} +47 -1
- package/chunk-HEVRQGGH.js +106 -0
- package/{chunk-BIWI5M4E.js → chunk-HFHJPHFK.js} +1 -1
- package/{chunk-R6Z5S5GA.js → chunk-HPDLPEUG.js} +60 -17
- package/{chunk-YKY4OVOX.js → chunk-HQUGB2HM.js} +17 -170
- package/chunk-IIRJ4P4I.js +24 -0
- package/chunk-IVK2KT3H.js +209 -0
- package/{chunk-ALAES342.js → chunk-IYLUK67R.js} +9 -5
- package/{chunk-N5Z2V73W.js → chunk-J55F3IEZ.js} +1 -1
- package/{chunk-S6FDXXZV.js → chunk-J7JRCOIW.js} +2 -2
- package/{chunk-OWKNSIXL.js → chunk-JAKRY74O.js} +470 -83
- package/{chunk-VS276URX.js → chunk-JCQ3WCQ3.js} +4 -2
- package/chunk-JLZJL3WC.js +988 -0
- package/{chunk-OBSEKCVK.js → chunk-JPXACKSW.js} +219 -52
- package/{chunk-OTKSESZR.js → chunk-KDBDOXOM.js} +138 -54
- package/{chunk-VP3BINY7.js → chunk-KDDHQMSH.js} +31 -1
- package/{chunk-RBPUNSG5.js → chunk-KG27JIG4.js} +18 -108
- package/{chunk-4WVJLODK.js → chunk-KHYSFS3W.js} +88 -7
- package/{chunk-TCZ2VJZQ.js → chunk-KKIQAVDR.js} +9 -9
- package/{chunk-4JVNURX4.js → chunk-KQHEGELM.js} +68 -16
- package/chunk-KXOPLLFP.js +190 -0
- package/{chunk-HS7MLR74.js → chunk-KZ4A7EIV.js} +3 -5
- package/{chunk-HYLRQDEE.js → chunk-LLUBUHNT.js} +6 -6
- package/{chunk-QJTZ76CP.js → chunk-LS5KAVFQ.js} +1 -0
- package/{chunk-RTHFJZ6M.js → chunk-LVZVSLKO.js} +29 -9
- package/{chunk-TI2EPRHE.js → chunk-MNFUKRRU.js} +3 -3
- package/chunk-MVOZ22RZ.js +26 -0
- package/{chunk-CNMY2XM6.js → chunk-O3A2CHAL.js} +6 -6
- package/{chunk-TSPMLCWI.js → chunk-OB4FBZXJ.js} +5 -5
- package/{chunk-LYD6C7OU.js → chunk-OJSJJKHF.js} +6 -6
- package/{chunk-M4SFKP5L.js → chunk-OKAXQFON.js} +3 -3
- package/{chunk-CD3RU7XL.js → chunk-OKH74FML.js} +121 -14
- package/{chunk-U2HBB7RS.js → chunk-OOV5JN25.js} +130 -30
- package/{chunk-ZH3KXFHS.js → chunk-OOVOAG4Q.js} +1 -1
- package/chunk-OQFOE4SJ.js +405 -0
- package/{chunk-M3JEW6N6.js → chunk-OYUMJMC5.js} +15 -0
- package/chunk-P27E22MA.js +203 -0
- package/{chunk-SRCCSTIM.js → chunk-P4R5KXU7.js} +4 -4
- package/{chunk-FJ23FZXF.js → chunk-PHREU2KZ.js} +5 -3
- package/{chunk-HSSBDZLD.js → chunk-PIVTQRX6.js} +43 -13
- package/{chunk-XFXFPUO7.js → chunk-PJL7OJRC.js} +13 -39
- package/{chunk-RRDRQOEC.js → chunk-PNLDLUMO.js} +276 -303
- package/{chunk-4I2MXV5Q.js → chunk-PVFYPUIM.js} +2 -0
- package/{chunk-HHFGE2WF.js → chunk-QGFLVQ6E.js} +5 -5
- package/{chunk-EGHP7KOY.js → chunk-QONAOHVW.js} +38 -29
- package/chunk-R3FZHW4Q.js +103 -0
- package/{chunk-ZYKJBRZ3.js → chunk-R3MV2GII.js} +1 -47
- package/chunk-R72QWIFO.js +50 -0
- package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
- package/{chunk-ILHQ2AXT.js → chunk-RIWKZT7E.js} +36 -8
- package/{chunk-OOJNQK6V.js → chunk-S25VJYXV.js} +8 -2
- package/{chunk-45CAVC35.js → chunk-S7H4KTMB.js} +2568 -337
- package/{chunk-OJ45MEEI.js → chunk-SA356NGW.js} +1 -1
- package/{chunk-F6Z6ZCUV.js → chunk-SCAC3NM5.js} +3 -3
- package/{chunk-YVFH2MFB.js → chunk-SLUN7W6S.js} +7 -7
- package/chunk-SQL7YNED.js +650 -0
- package/chunk-SR4FE5VD.js +9 -0
- package/{chunk-HF7BLF3F.js → chunk-SSOR2EDT.js} +107 -104
- package/chunk-TRRXYFTR.js +46 -0
- package/{chunk-3QIYD3VM.js → chunk-TUOHSUK5.js} +20068 -18402
- package/chunk-TYJCIA2O.js +835 -0
- package/{chunk-S2NTVGA2.js → chunk-U35UUM5K.js} +2 -1
- package/{chunk-GAYNXB6T.js → chunk-U3BUWDUP.js} +1031 -2155
- package/{chunk-BP5ZJ6B4.js → chunk-U6QNVOR5.js} +1 -1
- package/{chunk-UAIHKQIA.js → chunk-U6RD332P.js} +18 -2
- package/chunk-UAF5VQCE.js +77 -0
- package/{chunk-TQEKUOTI.js → chunk-UFGUJ2IH.js} +12 -12
- package/{chunk-VMJVAJ6W.js → chunk-UP7KBWLE.js} +109 -33
- package/{chunk-2X7WFDT6.js → chunk-UUCYUN6Y.js} +1 -1
- package/{chunk-5YMA6DDZ.js → chunk-UZKBVQUX.js} +1 -1
- package/chunk-V5TI7HJH.js +133 -0
- package/{chunk-WFGNWWJI.js → chunk-VH7UO6E5.js} +252 -114
- package/{chunk-MNEZUL5S.js → chunk-VJFDG3ZG.js} +63 -94
- package/{chunk-G7IUT2V3.js → chunk-WC3J5SL2.js} +635 -350
- package/{chunk-HXB4VDGK.js → chunk-WD5547ZF.js} +33 -30
- package/chunk-WDWZPASX.js +29 -0
- package/{chunk-4ZGPHFLE.js → chunk-WS36XPJD.js} +2 -2
- package/{chunk-6QHKRARD.js → chunk-WSLL7VV4.js} +29 -5
- package/chunk-XRGBJHZX.js +136 -0
- package/{chunk-MZG5CETE.js → chunk-Y2KWJTOZ.js} +4 -4
- package/{dialogUsageCommand-W2WCSGKF.js → chunk-Y2TCTNUD.js} +27 -20
- package/chunk-YJPK35HB.js +175 -0
- package/{chunk-6OVNSQHN.js → chunk-YLAHYLDQ.js} +5 -0
- package/{chunk-547ENH5T.js → chunk-YN23INFZ.js} +4 -4
- package/{chunk-4QYJPWHH.js → chunk-YXK3GJF5.js} +232 -10
- package/{chunk-MJI3UAXN.js → chunk-Z2OWAYMI.js} +77 -51
- package/{chunk-7Z6EW7AH.js → chunk-ZTHAJU3O.js} +106 -14
- package/{chunk-YFLVRVYK.js → chunk-ZYPXOQS2.js} +1 -1
- package/{cliAgentConfigHelpers-BTRHMPW2.js → cliAgentConfigHelpers-BXHQ3PXP.js} +9 -9
- package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-TFNXJLXL.js} +1 -1
- package/cliAuthorityBrokerProcess-5ZFBTHLB.js +22 -0
- package/cliLocalAgentRecordReader-47PXMHPH.js +104 -0
- package/{commandRegistry-FVYPE2IN.js → commandRegistry-CTMPAQH2.js} +111 -162
- package/{contentThunks-GNFPG32S.js → contentThunks-CAHIIZO5.js} +38 -36
- package/{cooldownCommands-YB5H5BBK.js → cooldownCommands-WDOI5VD7.js} +3 -3
- package/{createAgentAutomationAction-PB4QIFQ4.js → createAgentAutomationAction-M25XZSPD.js} +38 -36
- package/{createDialogAction-EVTOPY7A.js → createDialogAction-4SN7FKI7.js} +39 -37
- package/{createPageAction-2UYF2IDZ.js → createPageAction-N7QPDN3M.js} +43 -41
- package/{db-M7FU2GNK.js → db-VR74ADGC.js} +7 -2
- package/{dbSlice-XRUZOGSU.js → dbSlice-RWPSVHBC.js} +12 -11
- package/{deleteFile-6URDHYRB.js → deleteFile-ECU6FU5C.js} +15 -7
- package/{dialogCommands-6SZD4TYP.js → dialogCommands-BBHWCKDP.js} +69 -53
- package/dialogMessageRecord-OAV77LT7.js +7 -0
- package/{dialogNotifyCommand-SHGPCU22.js → dialogNotifyCommand-IASQGEMW.js} +11 -11
- package/{dialogSlice-5EQ2A6LY.js → dialogSlice-JI3J22RV.js} +39 -37
- package/dialogTraceCommand-EW2KK6A4.js +961 -0
- package/dialogUsageCommand-WJ3U6KZU.js +27 -0
- package/{docCreateCommands-25E6PGN3.js → docCreateCommands-QSX3X5U4.js} +57 -46
- package/{docDeleteCommands-F7ZVGEHW.js → docDeleteCommands-63JBG2HQ.js} +59 -48
- package/{docReadCommands-JY2E5XEN.js → docReadCommands-CQFKRQUI.js} +57 -46
- package/{docStore-OKKIKLT3.js → docStore-XLBKGGNM.js} +14 -13
- package/{docUpdateCommands-OZ4CUSIQ.js → docUpdateCommands-534LUK25.js} +57 -46
- package/ebookDownloaderAgentCommand-DYSKF5ZY.js +677 -0
- package/fetchMessages-TQEUZD7H.js +1 -1
- package/{getPricing-LF5C4XSI.js → getPricing-5BLZRPTM.js} +4 -4
- package/{handleSendMessageAction-LNT7SZND.js → handleSendMessageAction-Q2VMEVOR.js} +127 -81
- package/{hostCredentialCreate-XUU2CSHI.js → hostCredentialCreate-C57T7YPE.js} +127 -109
- package/index.js +23 -11
- package/{localDialogRead-CCOCVGAP.js → localDialogRead-BJJT3TF5.js} +1 -1
- package/{localRuntimeAdapter-IBSTMSX7.js → localRuntimeAdapter-OALZPFZU.js} +134 -115
- package/localRuntimeAuthority-UF2DAQ3F.js +28 -0
- package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-ZJFGNHML.js} +1 -1
- package/{machineCommands-HSQHDHOT.js → machineCommands-N6IVWRZT.js} +262 -325
- package/machineWsRunDispatch-PDWYB33B.js +209 -0
- package/markdownToSlate-PXYAIBVL.js +8 -0
- package/mcpLocalAuthorizeCommand-KYI4EGF5.js +110 -0
- package/{memberThunks-7Y3OYSJQ.js → memberThunks-43B7UYC5.js} +21 -16
- package/{models-H5NNZRLH.js → models-ZX2BYIMB.js} +2 -2
- package/{overlay-BBQZXGYI.js → overlay-JA3SPVUS.js} +5 -3
- package/package.json +2 -1
- package/{projectArchive-FQO654Z3.js → projectArchive-TJNW5DLM.js} +46 -44
- package/{providerPresetApply-WHAMP2D5.js → providerPresetApply-NTJUINI6.js} +36 -17
- package/{providerRegistry-ZI2KORJ7.js → providerRegistry-W45SLUV6.js} +6 -6
- package/{read-TYMBGEXO.js → read-KG6INYUT.js} +13 -7
- package/{readDocTool-SKQVHBLO.js → readDocTool-N3GA52JR.js} +1 -1
- package/{readlineWorkspace-7U272DSA.js → readlineWorkspace-PJZJVGA5.js} +7486 -4492
- package/rememberExplicit-CPAPONSI.js +15 -0
- package/{removeDialogAgentAction-F5QE2O2B.js → removeDialogAgentAction-EEVSOQOJ.js} +18 -17
- package/{runAgentClientLoop-AF4JQIJ7.js → runAgentClientLoop-3VC5TCDW.js} +107 -76
- package/{runtimeDoctorCommands-RRKPBGVO.js → runtimeDoctorCommands-V3M3JTUV.js} +14 -11
- package/{secretCommands-KZWBZIYS.js → secretCommands-KVVZS7A6.js} +3 -3
- package/{setDialogExtraReferencesAction-72L27ERM.js → setDialogExtraReferencesAction-DNO5POHA.js} +15 -14
- package/{setPrimaryDialogAgentAction-GJJDUSGJ.js → setPrimaryDialogAgentAction-QABBEO4C.js} +18 -17
- package/{settingThunks-ZRGWVGZD.js → settingThunks-DVKG4X4S.js} +181 -66
- package/{skillDiscovery-BHHPCUHZ.js → skillDiscovery-ZMJH36AK.js} +4 -3
- package/{spaceCommands-5VNWMDBE.js → spaceCommands-AGGZXPY3.js} +235 -87
- package/{streamAgentChatTurn-YSPEFY4K.js → streamAgentChatTurn-4GTLL2OF.js} +242 -169
- package/{switchDialogAgentAction-IIJBPND3.js → switchDialogAgentAction-KYWJSGOO.js} +16 -15
- package/{tableCommands-FTAOCBTX.js → tableCommands-EFA754RE.js} +7 -4
- package/{toolApiClient-OGQEBQVX.js → toolApiClient-N5PYW2R3.js} +8 -6
- package/{tools-M35PTIFB.js → tools-5AGPOPLW.js} +69 -65
- package/{tuiRestart-2IL37YIB.js → tuiRestart-77E7PL4R.js} +11 -10
- package/{tuiSummaryLlmCaller-W2QN4VAC.js → tuiSummaryLlmCaller-HROLGN4F.js} +16 -15
- package/{updateCommands-CPATDG6J.js → updateCommands-GJGRS6JK.js} +3 -3
- package/{updateDialogTitleAction-IMIRJRQQ.js → updateDialogTitleAction-5OSEDGRK.js} +40 -38
- package/{usageCommand-2BF74MKF.js → usageCommand-WI6SQOPB.js} +2 -2
- package/{usageRebuildCommand-UHB55BQM.js → usageRebuildCommand-WQRLLZAT.js} +3 -3
- package/webapi-QVV65DQF.js +2487 -0
- package/{windowsSelfUpdate-ZFD6J5HF.js → windowsSelfUpdate-C7LGVWYX.js} +2 -2
- package/workContext-Y3ADAPZU.js +14 -0
- package/workContextAccess-VU5I4LKZ.js +11 -0
- package/workContextWriteNotice-YCSSMHN4.js +7 -0
- package/{workloadLifecycle-HFJIN5IZ.js → workloadLifecycle-P2SJVV3S.js} +2 -2
- package/agentRecordCommands-IZYUVHME.js +0 -177
- package/agentRunCommand-QM7ETUTX.js +0 -209
- package/chunk-2YGBI2XB.js +0 -30
- package/chunk-5ZMIIR23.js +0 -265
- package/chunk-5ZUOVCKT.js +0 -32
- package/chunk-62HXNQVV.js +0 -134
- package/chunk-FJSNBZXR.js +0 -142
- package/chunk-FPBJM2BW.js +0 -689
- package/chunk-JQZRSXS5.js +0 -90
- package/chunk-P2ZLUIW2.js +0 -795
- package/chunk-PPJYZRSQ.js +0 -160
- package/chunk-TUSTONB3.js +0 -81
- package/chunk-ZXF6D3I6.js +0 -359
- package/cliLocalAgentRecordReader-H3HYQRRR.js +0 -91
- package/lib-OT5OTXRU.js +0 -21046
- package/localRuntimeAuthority-IBJAT62G.js +0 -16
- package/machineWsRunDispatch-L6H7J66T.js +0 -192
- package/{chunk-W6RFEDN4.js → chunk-AETZ7AD6.js} +3 -3
|
@@ -30,6 +30,7 @@ var estimateTokens = (text) => {
|
|
|
30
30
|
}
|
|
31
31
|
return Math.ceil(cjk * 1.5 + ascii / 4);
|
|
32
32
|
};
|
|
33
|
+
var estimateMemoryBlockTokens = estimateTokens;
|
|
33
34
|
var OVERLAY_HEADER_LINES = [
|
|
34
35
|
"--- Memory (\u76F8\u5173\u65F6\u53C2\u8003\uFF0C\u7528\u6237\u8F93\u5165\u4F18\u5148) ---",
|
|
35
36
|
""
|
|
@@ -268,6 +269,7 @@ var buildMemoryOverlay = (items, options) => {
|
|
|
268
269
|
|
|
269
270
|
export {
|
|
270
271
|
EXPLICIT_REMEMBER_PREFIX_REGEX,
|
|
272
|
+
estimateMemoryBlockTokens,
|
|
271
273
|
emptyMemoryInjectionObservation,
|
|
272
274
|
DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET,
|
|
273
275
|
RESIDENT_MEMORY_OVERLAY_TOKEN_BUDGET,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
resolveRuntimeAuthToken
|
|
3
|
-
} from "./chunk-2X7WFDT6.js";
|
|
4
1
|
import {
|
|
5
2
|
NOLO_DEFAULT_AGENT_ID,
|
|
6
3
|
NOLO_DEFAULT_AGENT_KEY
|
|
7
4
|
} from "./chunk-BR3GT6MR.js";
|
|
8
5
|
import {
|
|
9
6
|
resolveRuntimeToolSurfaceForAgent
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JCQ3WCQ3.js";
|
|
8
|
+
import {
|
|
9
|
+
resolveRuntimeAuthToken
|
|
10
|
+
} from "./chunk-UUCYUN6Y.js";
|
|
11
11
|
import {
|
|
12
12
|
isSystemBuiltinTrustedAgentKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RIWKZT7E.js";
|
|
14
14
|
import {
|
|
15
15
|
parseUserIdFromAuthToken
|
|
16
16
|
} from "./chunk-BIDSIRTS.js";
|
|
@@ -2,58 +2,63 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SSOR2EDT.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
9
9
|
import {
|
|
10
10
|
resolvePageReadMarkdown,
|
|
11
11
|
slateToSimplifiedMarkdown
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-U6QNVOR5.js";
|
|
13
13
|
import {
|
|
14
14
|
extractCategorizedMentions
|
|
15
15
|
} from "./chunk-AGIM7IMJ.js";
|
|
16
16
|
import {
|
|
17
17
|
fetchAndCacheMessages
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EVHTYVD2.js";
|
|
19
|
+
import {
|
|
20
|
+
createSpaceKey
|
|
21
|
+
} from "./chunk-UAD2WT54.js";
|
|
22
|
+
import {
|
|
23
|
+
read
|
|
24
|
+
} from "./chunk-ADYWV732.js";
|
|
19
25
|
import {
|
|
20
26
|
createDrainExhaustedResponse,
|
|
21
27
|
isCoreDrainingBody,
|
|
22
28
|
normalizeNonNegativeMs,
|
|
23
29
|
parseRetryAfterHeaderMs
|
|
24
30
|
} from "./chunk-3L2WKC3W.js";
|
|
25
|
-
import {
|
|
26
|
-
createSpaceKey
|
|
27
|
-
} from "./chunk-UAD2WT54.js";
|
|
28
|
-
import {
|
|
29
|
-
read
|
|
30
|
-
} from "./chunk-CMMI3DAT.js";
|
|
31
31
|
import {
|
|
32
32
|
getRuntimeServerContext
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-HPDLPEUG.js";
|
|
34
34
|
import {
|
|
35
35
|
classifyGenerationError
|
|
36
36
|
} from "./chunk-TLE77UJ5.js";
|
|
37
|
+
import {
|
|
38
|
+
estimateTokenCount
|
|
39
|
+
} from "./chunk-PSCNXBYA.js";
|
|
37
40
|
import {
|
|
38
41
|
isAbortError
|
|
39
42
|
} from "./chunk-7DPNBQSV.js";
|
|
40
43
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./chunk-
|
|
44
|
+
wrapHistoricalSummaryWithReplayGuard
|
|
45
|
+
} from "./chunk-2SXN7LAY.js";
|
|
43
46
|
import {
|
|
47
|
+
dedupeSkillPromptPatches,
|
|
44
48
|
extractRuntimePageCapabilities,
|
|
49
|
+
resolveBuiltinSkillEntry,
|
|
45
50
|
resolveBuiltinSkillPage,
|
|
46
51
|
resolveSkillGraphFromRoots
|
|
47
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-WC3J5SL2.js";
|
|
48
53
|
import {
|
|
49
|
-
|
|
50
|
-
} from "./chunk-
|
|
54
|
+
resolvePageSkillMetadata
|
|
55
|
+
} from "./chunk-AETZ7AD6.js";
|
|
51
56
|
import {
|
|
52
57
|
isDialogRecordKey
|
|
53
58
|
} from "./chunk-OJKUU3LP.js";
|
|
54
59
|
import {
|
|
55
|
-
|
|
56
|
-
} from "./chunk-
|
|
60
|
+
extractCustomId
|
|
61
|
+
} from "./chunk-M2EJHDJP.js";
|
|
57
62
|
import {
|
|
58
63
|
asTrimmedString
|
|
59
64
|
} from "./chunk-3EUW3WEO.js";
|
|
@@ -213,7 +218,7 @@ var resolveReferenceAssets = async (references, dispatch) => {
|
|
|
213
218
|
const toolSet = /* @__PURE__ */ new Set();
|
|
214
219
|
const recommendedToolSet = /* @__PURE__ */ new Set();
|
|
215
220
|
const recommendedSkillHints = /* @__PURE__ */ new Set();
|
|
216
|
-
const
|
|
221
|
+
const skillPromptContributions = [];
|
|
217
222
|
const normalizedReferences = [];
|
|
218
223
|
const hardSkillKeys = /* @__PURE__ */ new Set();
|
|
219
224
|
const softSkillKeys = /* @__PURE__ */ new Set();
|
|
@@ -232,7 +237,10 @@ var resolveReferenceAssets = async (references, dispatch) => {
|
|
|
232
237
|
recommendedSkillHints.add(hint);
|
|
233
238
|
}
|
|
234
239
|
for (const patch of capabilities.promptPatches) {
|
|
235
|
-
|
|
240
|
+
const meta = resolvePageSkillMetadata(content);
|
|
241
|
+
const identity = meta?.skillConfig?.id ?? content?.dbKey;
|
|
242
|
+
const skillId = resolveBuiltinSkillEntry(identity)?.skillId ?? identity;
|
|
243
|
+
if (skillId) skillPromptContributions.push({ skillId, content: patch });
|
|
236
244
|
}
|
|
237
245
|
for (const skillKey of capabilities.hardSkillKeys) {
|
|
238
246
|
hardSkillKeys.add(skillKey);
|
|
@@ -266,15 +274,14 @@ var resolveReferenceAssets = async (references, dispatch) => {
|
|
|
266
274
|
for (const hint of resolvedSkillLinks.recommendedSkillHints) {
|
|
267
275
|
recommendedSkillHints.add(hint);
|
|
268
276
|
}
|
|
269
|
-
|
|
270
|
-
skillPromptPatches.add(patch);
|
|
271
|
-
}
|
|
277
|
+
skillPromptContributions.push(...resolvedSkillLinks.skillPromptContributions ?? []);
|
|
272
278
|
return {
|
|
273
279
|
references: normalizedReferences,
|
|
274
280
|
referencedTools: Array.from(toolSet),
|
|
275
281
|
recommendedSkillTools: Array.from(recommendedToolSet),
|
|
276
282
|
recommendedSkillHints: Array.from(recommendedSkillHints),
|
|
277
|
-
skillPromptPatches:
|
|
283
|
+
skillPromptPatches: dedupeSkillPromptPatches(skillPromptContributions).map((patch) => patch.content),
|
|
284
|
+
skillPromptContributions: dedupeSkillPromptPatches(skillPromptContributions),
|
|
278
285
|
contentByKey
|
|
279
286
|
};
|
|
280
287
|
};
|
|
@@ -292,7 +299,7 @@ var resolveToolsFromKeys = async (keys, dispatch, preloaded) => {
|
|
|
292
299
|
const toolSet = /* @__PURE__ */ new Set();
|
|
293
300
|
const recommendedToolSet = /* @__PURE__ */ new Set();
|
|
294
301
|
const recommendedSkillHints = /* @__PURE__ */ new Set();
|
|
295
|
-
const
|
|
302
|
+
const skillPromptContributions = [];
|
|
296
303
|
const hardSkillKeys = /* @__PURE__ */ new Set();
|
|
297
304
|
const softSkillKeys = /* @__PURE__ */ new Set();
|
|
298
305
|
for (const content of contentByKey.values()) {
|
|
@@ -304,7 +311,10 @@ var resolveToolsFromKeys = async (keys, dispatch, preloaded) => {
|
|
|
304
311
|
recommendedSkillHints.add(hint);
|
|
305
312
|
}
|
|
306
313
|
for (const patch of capabilities.promptPatches) {
|
|
307
|
-
|
|
314
|
+
const meta = resolvePageSkillMetadata(content);
|
|
315
|
+
const identity = meta?.skillConfig?.id ?? content?.dbKey;
|
|
316
|
+
const skillId = resolveBuiltinSkillEntry(identity)?.skillId ?? identity;
|
|
317
|
+
if (skillId) skillPromptContributions.push({ skillId, content: patch });
|
|
308
318
|
}
|
|
309
319
|
for (const skillKey of capabilities.hardSkillKeys) {
|
|
310
320
|
hardSkillKeys.add(skillKey);
|
|
@@ -334,14 +344,13 @@ var resolveToolsFromKeys = async (keys, dispatch, preloaded) => {
|
|
|
334
344
|
for (const hint of resolvedSkillLinks.recommendedSkillHints) {
|
|
335
345
|
recommendedSkillHints.add(hint);
|
|
336
346
|
}
|
|
337
|
-
|
|
338
|
-
skillPromptPatches.add(patch);
|
|
339
|
-
}
|
|
347
|
+
skillPromptContributions.push(...resolvedSkillLinks.skillPromptContributions ?? []);
|
|
340
348
|
return {
|
|
341
349
|
tools: Array.from(toolSet),
|
|
342
350
|
recommendedSkillTools: Array.from(recommendedToolSet),
|
|
343
351
|
recommendedSkillHints: Array.from(recommendedSkillHints),
|
|
344
|
-
skillPromptPatches:
|
|
352
|
+
skillPromptPatches: dedupeSkillPromptPatches(skillPromptContributions).map((patch) => patch.content),
|
|
353
|
+
skillPromptContributions: dedupeSkillPromptPatches(skillPromptContributions),
|
|
345
354
|
contentByKey
|
|
346
355
|
};
|
|
347
356
|
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
// packages/ai/skills/userPromptSkillSlugs.ts
|
|
2
|
+
var RECOMMENDED_PROMPT_SKILL_SLUGS = ["ub-mode"];
|
|
3
|
+
var ALLOWED_PROMPT_SKILL_SLUGS = new Set(
|
|
4
|
+
RECOMMENDED_PROMPT_SKILL_SLUGS
|
|
5
|
+
);
|
|
6
|
+
function normalizeEnabledPromptSkills(value) {
|
|
7
|
+
if (!Array.isArray(value)) {
|
|
8
|
+
return [];
|
|
9
|
+
}
|
|
10
|
+
const result = [];
|
|
11
|
+
const seen = /* @__PURE__ */ new Set();
|
|
12
|
+
for (const item of value) {
|
|
13
|
+
if (typeof item !== "string") {
|
|
14
|
+
continue;
|
|
15
|
+
}
|
|
16
|
+
const trimmed = item.trim();
|
|
17
|
+
if (ALLOWED_PROMPT_SKILL_SLUGS.has(trimmed) && !seen.has(trimmed)) {
|
|
18
|
+
seen.add(trimmed);
|
|
19
|
+
result.push(trimmed);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return result;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// packages/ai/skills/userSkills.ts
|
|
26
|
+
var NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS = [
|
|
27
|
+
"response-presentation",
|
|
28
|
+
"external-copywriting"
|
|
29
|
+
];
|
|
30
|
+
function isAccountOnDemandWorkflowSkill(slug) {
|
|
31
|
+
return typeof slug === "string" && NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS.some((candidate) => candidate === slug.trim());
|
|
32
|
+
}
|
|
33
|
+
var SUPPORTED_USER_SKILL_SLUGS = [
|
|
34
|
+
"ub-mode",
|
|
35
|
+
"auto-review",
|
|
36
|
+
"code-style",
|
|
37
|
+
"worktree-isolation",
|
|
38
|
+
"systematic-investigation",
|
|
39
|
+
"show-me",
|
|
40
|
+
"caveman",
|
|
41
|
+
"secrets-manager",
|
|
42
|
+
"skill-creator",
|
|
43
|
+
"code-planning",
|
|
44
|
+
"coding",
|
|
45
|
+
"coding-review",
|
|
46
|
+
"android-adb",
|
|
47
|
+
"mihome-assistant",
|
|
48
|
+
"stock-quotes",
|
|
49
|
+
"unslop-ui",
|
|
50
|
+
...NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS
|
|
51
|
+
];
|
|
52
|
+
var SUPPORTED_USER_SKILL_SLUG_SET = new Set(
|
|
53
|
+
SUPPORTED_USER_SKILL_SLUGS
|
|
54
|
+
);
|
|
55
|
+
function normalizeEnabledSkills(value) {
|
|
56
|
+
if (!Array.isArray(value)) {
|
|
57
|
+
return [];
|
|
58
|
+
}
|
|
59
|
+
const result = [];
|
|
60
|
+
const seen = /* @__PURE__ */ new Set();
|
|
61
|
+
for (const item of value) {
|
|
62
|
+
if (typeof item !== "string") {
|
|
63
|
+
continue;
|
|
64
|
+
}
|
|
65
|
+
const trimmed = item.trim();
|
|
66
|
+
if (SUPPORTED_USER_SKILL_SLUG_SET.has(trimmed) && !seen.has(trimmed)) {
|
|
67
|
+
seen.add(trimmed);
|
|
68
|
+
result.push(trimmed);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return result;
|
|
72
|
+
}
|
|
73
|
+
function resolveUserEnabledSkills(preferences) {
|
|
74
|
+
if (!preferences || typeof preferences !== "object") {
|
|
75
|
+
return [];
|
|
76
|
+
}
|
|
77
|
+
if (Object.prototype.hasOwnProperty.call(preferences, "enabledSkills")) {
|
|
78
|
+
return normalizeEnabledSkills(preferences.enabledSkills);
|
|
79
|
+
}
|
|
80
|
+
if (Object.prototype.hasOwnProperty.call(preferences, "enabledPromptSkills")) {
|
|
81
|
+
const legacy = normalizeEnabledPromptSkills(preferences.enabledPromptSkills);
|
|
82
|
+
return legacy.filter((slug) => SUPPORTED_USER_SKILL_SLUG_SET.has(slug));
|
|
83
|
+
}
|
|
84
|
+
return [];
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// packages/ai/policy/types.ts
|
|
88
|
+
var DEFAULT_USER_PREFERENCE_PROFILE = {
|
|
89
|
+
version: 1,
|
|
90
|
+
tone: {
|
|
91
|
+
preset: "default"
|
|
92
|
+
},
|
|
93
|
+
knowledgeCaptureLevel: 2,
|
|
94
|
+
spaceContextLevel: 3
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export {
|
|
98
|
+
normalizeEnabledPromptSkills,
|
|
99
|
+
isAccountOnDemandWorkflowSkill,
|
|
100
|
+
normalizeEnabledSkills,
|
|
101
|
+
resolveUserEnabledSkills,
|
|
102
|
+
DEFAULT_USER_PREFERENCE_PROFILE
|
|
103
|
+
};
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
// packages/database/levelLockError.ts
|
|
2
|
-
function isLevelLockError(error) {
|
|
3
|
-
if (error == null) return false;
|
|
4
|
-
const text = typeof error === "object" ? `${error.code ?? ""} ${error.message ?? error}` : String(error);
|
|
5
|
-
return /LEVEL_LOCKED|Resource temporarily unavailable|\/LOCK|LOCK:/.test(text);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
1
|
// packages/cli/levelLazyShim.mjs
|
|
9
2
|
import { createRequire } from "node:module";
|
|
10
3
|
var _require = createRequire(import.meta.url);
|
|
@@ -107,46 +100,7 @@ function createLevelAuthorityStore(source) {
|
|
|
107
100
|
};
|
|
108
101
|
}
|
|
109
102
|
|
|
110
|
-
// packages/database-engine/legacyServerDb.ts
|
|
111
|
-
function createLegacyServerDb(store) {
|
|
112
|
-
const batch = (ops) => {
|
|
113
|
-
if (Array.isArray(ops)) {
|
|
114
|
-
return store.batchWrite(ops);
|
|
115
|
-
}
|
|
116
|
-
return store.createBatch();
|
|
117
|
-
};
|
|
118
|
-
return {
|
|
119
|
-
get location() {
|
|
120
|
-
return store.location;
|
|
121
|
-
},
|
|
122
|
-
get status() {
|
|
123
|
-
return store.status;
|
|
124
|
-
},
|
|
125
|
-
async open() {
|
|
126
|
-
await store.open();
|
|
127
|
-
},
|
|
128
|
-
async close() {
|
|
129
|
-
await store.close();
|
|
130
|
-
},
|
|
131
|
-
async get(key) {
|
|
132
|
-
return store.get(key);
|
|
133
|
-
},
|
|
134
|
-
async put(key, value) {
|
|
135
|
-
await store.put(key, value);
|
|
136
|
-
},
|
|
137
|
-
async del(key) {
|
|
138
|
-
await store.del(key);
|
|
139
|
-
},
|
|
140
|
-
batch,
|
|
141
|
-
iterator(options = {}) {
|
|
142
|
-
return store.iterator(options);
|
|
143
|
-
}
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
|
|
147
103
|
export {
|
|
148
104
|
Level,
|
|
149
|
-
|
|
150
|
-
createLevelAuthorityStore,
|
|
151
|
-
createLegacyServerDb
|
|
105
|
+
createLevelAuthorityStore
|
|
152
106
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// packages/cli/client/browserShellApprovalClient.ts
|
|
2
|
+
var BROWSER_SHELL_BRIDGE_ENV = "NOLO_BROWSER_SHELL_BRIDGE";
|
|
3
|
+
async function requestBrowserShellAction(args) {
|
|
4
|
+
const raw = args.env[BROWSER_SHELL_BRIDGE_ENV];
|
|
5
|
+
if (!raw || !["eval_script", "click", "type", "press", "set_select_value"].includes(args.action)) {
|
|
6
|
+
return args.execute(args.action, args.payload);
|
|
7
|
+
}
|
|
8
|
+
const transports = JSON.parse(raw);
|
|
9
|
+
const transport = transports[args.browser];
|
|
10
|
+
const url = new URL(transport.endpoint);
|
|
11
|
+
if (url.protocol !== "http:" || url.hostname !== "127.0.0.1" || url.pathname !== "/approval" || url.username || url.password) throw new Error("Invalid browser host transport");
|
|
12
|
+
const send = async (body) => {
|
|
13
|
+
const signal = AbortSignal.timeout(65e3);
|
|
14
|
+
try {
|
|
15
|
+
const response = await fetch(url, { method: "POST", headers: { authorization: `Bearer ${transport.capability}`, "content-type": "application/json" }, body: JSON.stringify(body), signal, redirect: "error" });
|
|
16
|
+
if (!response.ok) throw new Error(`Browser approval host returned HTTP ${response.status}`);
|
|
17
|
+
return await response.json();
|
|
18
|
+
} catch (cause) {
|
|
19
|
+
const code = signal.aborted ? "USER_APPROVAL_TIMEOUT" : "USER_APPROVAL_UNAVAILABLE";
|
|
20
|
+
throw Object.assign(new Error("No reply from the browser approval host. Check that the host is connected and verify the tab state before requesting fresh approval.", { cause }), { code });
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
const payload = structuredClone(args.payload);
|
|
24
|
+
const prepared = await send({ op: "prepare", action: args.action, browser: args.browser, payload });
|
|
25
|
+
const result = prepared.result?.result;
|
|
26
|
+
if (!result) {
|
|
27
|
+
throw Object.assign(new Error("Browser approval host rejected the original action. Request a fresh approval if you still need this action."), {
|
|
28
|
+
code: prepared.code ?? "USER_APPROVAL_UNAVAILABLE"
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
if (result.code !== "USER_APPROVAL_PENDING") return result;
|
|
32
|
+
const decision = await send({ approvalId: result.approvalId, browser: args.browser });
|
|
33
|
+
if (decision.status !== "retry_once") {
|
|
34
|
+
const code = typeof decision.code === "string" && decision.code ? decision.code : "USER_APPROVAL_DENIED";
|
|
35
|
+
const outcome = typeof decision.outcome === "string" && decision.outcome ? decision.outcome : "denied";
|
|
36
|
+
return {
|
|
37
|
+
...result,
|
|
38
|
+
ok: false,
|
|
39
|
+
code,
|
|
40
|
+
outcome,
|
|
41
|
+
message: "Host approval was not granted; action not executed."
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
return args.execute(args.action, { ...payload, approvalId: result.approvalId, hostApproval: true });
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export {
|
|
48
|
+
BROWSER_SHELL_BRIDGE_ENV,
|
|
49
|
+
requestBrowserShellAction
|
|
50
|
+
};
|