nolo-cli 0.226.0-alpha.1 → 0.226.0
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-UE2NJPZD.js → _executeModel-IZ2MCXHO.js} +89 -83
- package/{action-CK64LS6S.js → action-VDEW6WLI.js} +9 -6
- package/{addContentAction-EQXMFNPR.js → addContentAction-7YVXHIPQ.js} +15 -14
- package/{addDialogAgentAction-RSDZDASD.js → addDialogAgentAction-BX7B47HF.js} +18 -17
- package/{agentDeleteCommand-SOI25WK7.js → agentDeleteCommand-N7ELXPLD.js} +145 -138
- package/{agentEmailCommands-UGWQQNKM.js → agentEmailCommands-OFS477PV.js} +144 -133
- package/{agentFavoriteCommands-2LKGKSUD.js → agentFavoriteCommands-7LOP3HUD.js} +5 -5
- package/{agentGrantCommands-QQV4N4JW.js → agentGrantCommands-L6O2HVJI.js} +5 -5
- package/agentListCommands-IQQHJSXP.js +644 -0
- package/{agentMachineCommands-M6IKO7XE.js → agentMachineCommands-NS65BEW7.js} +75 -66
- package/{agentProviderCommands-7BSJH7TO.js → agentProviderCommands-SS6M6VGY.js} +6 -6
- package/{agentPullCommand-XN6ZPBUW.js → agentPullCommand-QQQZSC6S.js} +6 -6
- package/agentRecordCommands-4VE7CNLC.js +188 -0
- package/agentRunCommand-2MUXHKNW.js +223 -0
- package/{agentRunControl-DFEEOFC7.js → agentRunControl-55GL6Q3M.js} +23 -15
- package/{agentRuntimeLocal-GSTYFEX4.js → agentRuntimeLocal-5DB2P4MU.js} +63 -49
- package/{agentSlice-7PTNWEED.js → agentSlice-5VTAFG43.js} +19 -18
- package/{appDeleteCommands-L7HL4AWF.js → appDeleteCommands-EDKUPHJM.js} +67 -58
- package/{appDeployCommands-SGSUNFZR.js → appDeployCommands-JO74GW4L.js} +67 -58
- package/{appDeployStatusCommands-AAA3XD54.js → appDeployStatusCommands-U77ZUHX7.js} +67 -58
- package/{appGetCommands-LN72GAOA.js → appGetCommands-QCMHBYPX.js} +67 -58
- package/{appListCommands-IJQQ3VND.js → appListCommands-ZQJYEXI6.js} +67 -58
- package/{authCommand-7JXW54U4.js → authCommand-W4KXRZLI.js} +33 -28
- package/{authCommands-YDNAIDEY.js → authCommands-6AUYO65N.js} +15 -10
- package/{builtinSkillRegistry-PXH7EGQB.js → builtinSkillRegistry-GHE3RD3V.js} +8 -8
- package/{chromeCommands-G5UDKVSV.js → chromeCommands-S7AW3AOD.js} +383 -6
- package/{chromeOpsCommands-YKX2QX3A.js → chromeOpsCommands-TBPM6MR4.js} +6 -6
- package/{chunk-7Z6EW7AH.js → chunk-247AAJRK.js} +13 -6
- package/{chunk-P2ZLUIW2.js → chunk-2BSLGODA.js} +350 -25
- package/{chunk-4HFTBHBF.js → chunk-2N4UBHUU.js} +8 -8
- package/chunk-2SXN7LAY.js +15 -0
- package/{chunk-GSAS72AN.js → chunk-2T5BHLID.js} +2871 -1565
- package/{chunk-XI2BWJM5.js → chunk-324FWHUA.js} +20 -3
- package/{chunk-VFBVA3U2.js → chunk-3OQFXODL.js} +131 -40
- package/{chunk-BGGHA5DV.js → chunk-3ORFJP2Z.js} +1 -1
- package/{chunk-OWH2BLNU.js → chunk-3UNAGTBW.js} +32 -95
- package/{chunk-LM2PS3YS.js → chunk-4F7SWSWO.js} +26 -13
- package/{chunk-SBVTHMEG.js → chunk-4FE3IWRE.js} +1 -1
- package/{chunk-GOAPXKQU.js → chunk-4UK6UBXF.js} +4 -4
- package/{chunk-4JVNURX4.js → chunk-4YFC3DWW.js} +68 -16
- package/chunk-4ZCTKB27.js +31 -0
- package/chunk-53W5BXLN.js +340 -0
- package/{chunk-TD6QCQ5G.js → chunk-5GRWWUB4.js} +4 -4
- package/{chunk-JWXITTQB.js → chunk-5HUO7SEX.js} +9 -107
- package/{chunk-ZH6MUQEO.js → chunk-6326DRQY.js} +1 -1
- package/{chunk-AVHRSJUH.js → chunk-6MQWGA5F.js} +31 -24
- package/{chunk-67BE44IS.js → chunk-6MX6S6TE.js} +3 -3
- package/chunk-6RSNVJGO.js +279 -0
- package/{chunk-BRW24CTE.js → chunk-6S6CZUXK.js} +42 -33
- package/{chunk-PDCV7P5W.js → chunk-6XIE5ZGI.js} +1 -1
- package/{chunk-CVS5IMJ5.js → chunk-6XLWUNZB.js} +25 -25
- package/{chunk-YGMBIXCF.js → chunk-6XRPBZRS.js} +4 -2
- package/{chunk-62HXNQVV.js → chunk-776CXKMX.js} +1 -1
- package/{chunk-6J4TTPS2.js → chunk-7AWKDRXG.js} +5 -5
- package/{chunk-3KNEE64G.js → chunk-7GTXPS3D.js} +16 -16
- package/{chunk-FS3RA7D2.js → chunk-7HUHOCIY.js} +147 -162
- package/{chunk-PWTNI4N7.js → chunk-ANUP75N2.js} +22 -0
- package/chunk-BEM6LPD2.js +734 -0
- package/{chunk-AGP3YSEC.js → chunk-BH7CEVOH.js} +46 -1
- package/chunk-BIDSIRTS.js +307 -0
- package/{chunk-VTW7VKZX.js → chunk-C4KX626C.js} +15 -15
- package/chunk-C5A54QS7.js +108 -0
- package/{chunk-4PMZVBDU.js → chunk-CHYYSFFM.js} +6 -6
- package/{chunk-VREDDN25.js → chunk-CJTB3OYB.js} +14 -9
- package/{chunk-YFLVRVYK.js → chunk-DLT2DN4M.js} +1 -1
- package/{chunk-LKA64WH4.js → chunk-DMPZMYH4.js} +37 -1
- package/{chunk-EOWLBDY6.js → chunk-DOK7GDRU.js} +1 -1
- package/{chunk-5NC6A2RZ.js → chunk-DPAIQLAL.js} +105 -102
- package/{chunk-KFHREHUQ.js → chunk-DXWGFL2Z.js} +89 -1
- package/{chunk-XN23AUVU.js → chunk-EKXPHL7M.js} +8 -5
- package/{chunk-DISQCYPE.js → chunk-ENYTIRIO.js} +6 -6
- package/{chunk-2TIQO6TC.js → chunk-ER3P6MBT.js} +206 -308
- package/{chunk-M3JEW6N6.js → chunk-F26GAEH3.js} +10 -0
- package/{chunk-JM5C4EUA.js → chunk-F4MCAOWN.js} +6 -6
- package/chunk-FDZ2GBWO.js +166 -0
- package/{chunk-PMDVQBGA.js → chunk-GAHJLSDO.js} +14 -7
- package/{chunk-N5PQJKCY.js → chunk-GES5GIAU.js} +14 -13
- package/{chunk-HYHIAM6T.js → chunk-HQVNO7FH.js} +66 -35
- package/chunk-HSWEFHFS.js +103 -0
- package/{chunk-S2NTVGA2.js → chunk-I2OYPD3Y.js} +1 -1
- package/{chunk-F7DU25CE.js → chunk-IIG3TT73.js} +460 -123
- package/{chunk-AK5O76CC.js → chunk-IZJFTY4R.js} +3 -3
- package/{chunk-2VA6TU4I.js → chunk-J25ESVUW.js} +22 -19
- package/{chunk-TUIWP2LF.js → chunk-J2XZZXIH.js} +4 -4
- package/{chunk-JVRQ6YVK.js → chunk-JBWXPACD.js} +1 -1
- package/{chunk-D726I5AZ.js → chunk-JVJ53XCH.js} +2 -2
- package/{chunk-TXGQ4O5S.js → chunk-KC2QVCI7.js} +20 -174
- package/{chunk-UKS7D2NL.js → chunk-KF2DWSAH.js} +113 -28
- package/chunk-KK3FCYZM.js +647 -0
- package/{chunk-ZZ4M2I3R.js → chunk-KLD7K5FD.js} +349 -16
- package/{chunk-JIADJPUV.js → chunk-KMW5CRRM.js} +1564 -2955
- package/{chunk-N5Z2V73W.js → chunk-LELADM5Q.js} +1 -1
- package/{chunk-4NA3YTBC.js → chunk-LMFMV5UC.js} +8 -8
- package/{chunk-KZU52OJ5.js → chunk-LZOOUQAZ.js} +6 -6
- package/{chunk-VV7TXWOC.js → chunk-M5EA44QU.js} +6 -6
- package/{chunk-UYOICCYG.js → chunk-MEDPR36J.js} +64 -89
- package/chunk-MFXJY44K.js +133 -0
- package/chunk-MVOZ22RZ.js +26 -0
- package/{chunk-3QFLXA24.js → chunk-N6EN3HK3.js} +3 -3
- package/{chunk-SOF4OWDM.js → chunk-NEG5LYK5.js} +1 -3
- package/{chunk-HJAO2NAL.js → chunk-ODGSLWLO.js} +593 -370
- package/{chunk-OB6DVWPF.js → chunk-OGZE6BZG.js} +331 -99
- package/{chunk-KYH7XW3K.js → chunk-OJRTTERA.js} +77 -2
- package/{chunk-2VUZSVAS.js → chunk-OKPC4QNX.js} +57 -20
- package/{chunk-SOG7OEXX.js → chunk-ONFFUQYM.js} +1 -1
- package/{chunk-KNIIRXHF.js → chunk-P244EH4W.js} +46 -8
- package/chunk-P27E22MA.js +203 -0
- package/{chunk-YDBMZ7FV.js → chunk-PK7VT4ZU.js} +3 -3
- package/{chunk-EUCFKKDM.js → chunk-PVFYPUIM.js} +40 -10
- package/{chunk-HOCHUZQ7.js → chunk-QJTZ76CP.js} +24 -6
- package/{chunk-5RKUPJYL.js → chunk-QLUYDJST.js} +11 -3
- package/{chunk-EVPIBQ5I.js → chunk-QUJKDFZW.js} +17 -17
- package/{chunk-C4VAR65S.js → chunk-QXUVCIPB.js} +204 -124
- package/{chunk-X4OVEYPX.js → chunk-QYNABNNQ.js} +13 -13
- package/{chunk-MK2Q7ZJD.js → chunk-R7XWZDOH.js} +58 -24
- package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
- package/{chunk-KC4SCKXO.js → chunk-RGUWOMXU.js} +1234 -1451
- package/{chunk-IZIN2UNJ.js → chunk-RH44TIHX.js} +206 -27
- package/{chunk-GNHMRBYZ.js → chunk-RIMFTQMC.js} +282 -58
- package/{chunk-VQUWV3YR.js → chunk-S25VJYXV.js} +9 -3
- package/{chunk-X7YC2OHB.js → chunk-SBRJOYND.js} +723 -355
- package/{chunk-UEKXWO7A.js → chunk-SBRSXY67.js} +18 -7
- package/chunk-SR4FE5VD.js +9 -0
- package/{chunk-4WVJLODK.js → chunk-T23G6PXQ.js} +8 -3
- package/chunk-T3WSFTBS.js +62 -0
- package/{chunk-KEN3N2TN.js → chunk-TB5KTLNB.js} +15 -12
- package/{chunk-VP3BINY7.js → chunk-TOK555CQ.js} +31 -1
- package/{chunk-OBSEKCVK.js → chunk-U4VSBDO5.js} +88 -0
- package/{chunk-PPJYZRSQ.js → chunk-U5LOKQ2R.js} +30 -14
- package/{chunk-GGKNJ42M.js → chunk-UDT4SI37.js} +18 -108
- package/{chunk-CKT6QUE2.js → chunk-UHW6SCVK.js} +1 -1
- package/{chunk-GVGOEMNV.js → chunk-UQXOORR3.js} +5 -5
- package/{chunk-GS4OTYCH.js → chunk-UR7555FE.js} +9 -9
- package/{chunk-QLFCTYRH.js → chunk-UWOCASVL.js} +20 -13
- package/{chunk-C4WTX5TU.js → chunk-V2V5Q6DU.js} +2 -2
- package/{chunk-2ZKFCIJJ.js → chunk-VCU5GV42.js} +1 -1
- package/{chunk-FTQWYWUI.js → chunk-VMWY7TUA.js} +1 -1
- package/chunk-VNALJT32.js +33394 -0
- package/{chunk-HGDKT2D6.js → chunk-VTHWBTRE.js} +177 -1
- package/chunk-WBSJAIZP.js +170 -0
- package/chunk-WDWZPASX.js +29 -0
- package/chunk-WFGNWWJI.js +326 -0
- package/{chunk-UJKTI5PG.js → chunk-WRKMXMU7.js} +2 -1
- package/chunk-WVOZ35E4.js +1438 -0
- package/{chunk-FIYSMXHY.js → chunk-WWTSEBDF.js} +1 -1
- package/{chunk-E2BESSAW.js → chunk-X4O7FJF5.js} +2 -0
- package/{chunk-GIABSSWQ.js → chunk-XDNXKFWF.js} +6 -6
- package/{chunk-GBZ4YKEO.js → chunk-XLN2GD6Z.js} +7 -7
- package/{chunk-45LZIYXB.js → chunk-XNEDFWT4.js} +2 -2
- package/{chunk-EWPDMS4N.js → chunk-Y22P6ASC.js} +32 -17
- package/{chunk-LJSNEV7M.js → chunk-Y3DOUQQQ.js} +8 -8
- package/{chunk-KOXKKHFE.js → chunk-Y5EBOURK.js} +10 -5
- package/{chunk-L5I543VB.js → chunk-YGDYYFRX.js} +20 -24
- package/{chunk-6OVNSQHN.js → chunk-YLAHYLDQ.js} +5 -0
- package/{chunk-PVZY6P3S.js → chunk-YTEY27GN.js} +2 -2
- package/chunk-YUZ2DAIH.js +34 -0
- package/chunk-Z6YTCDU4.js +24 -0
- package/{chunk-MOMR7NMG.js → chunk-ZCVBIIUE.js} +4 -4
- package/{chunk-AZQZ5XPM.js → chunk-ZCZLTJEW.js} +98 -57
- package/{chunk-KN3HEZIQ.js → chunk-ZVOL2MAJ.js} +1 -1
- package/{cliAgentConfigHelpers-KICKKNYQ.js → cliAgentConfigHelpers-6OFDHJFT.js} +13 -13
- package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-SFPC3WVK.js} +1 -1
- package/{cliEnvHelpers-VPSJ4XWC.js → cliEnvHelpers-CNMP3RDX.js} +1 -1
- package/{cliExecutor-4MAX3PZL.js → cliExecutor-K6FDZTQ2.js} +3 -1
- package/cliLocalAgentRecordReader-FHIMCBUK.js +102 -0
- package/{commandRegistry-XSMTI5PG.js → commandRegistry-OKIWAJIS.js} +113 -101
- package/{contentThunks-S4NNC7R2.js → contentThunks-VF2DCU46.js} +41 -38
- package/{cooldownCommands-X7P5M2V5.js → cooldownCommands-QL6DWGVU.js} +4 -4
- package/{createAgentAutomationAction-TH7ZEACJ.js → createAgentAutomationAction-BGET7Q6K.js} +41 -38
- package/{createDialogAction-SYZAYIIQ.js → createDialogAction-XYDQZETK.js} +42 -40
- package/{createPageAction-7Y4U6TXO.js → createPageAction-74S5RO7U.js} +46 -43
- package/{db-CS4ZJQKV.js → db-6NRZLEW2.js} +10 -7
- package/{dbSlice-ZJPDIFER.js → dbSlice-FI7VNDR5.js} +14 -13
- package/{deleteFile-Q3YDB4ML.js → deleteFile-GD62MPZW.js} +10 -7
- package/{dialogCommands-V5IYEOQP.js → dialogCommands-Y6DHZUAM.js} +71 -64
- package/dialogMessageRecord-OAV77LT7.js +7 -0
- package/{dialogNotifyCommand-77B57PL6.js → dialogNotifyCommand-MKXL4NGL.js} +15 -15
- package/{dialogSlice-O3RHDAWK.js → dialogSlice-XAUKSWZ4.js} +41 -38
- package/{dialogUsageCommand-HTVPR2CX.js → dialogUsageCommand-BZPKR3DW.js} +6 -6
- package/{docCreateCommands-36WS33BK.js → docCreateCommands-PHDFOQBM.js} +66 -57
- package/{docDeleteCommands-C4CS4XLF.js → docDeleteCommands-OSHJM67Y.js} +69 -60
- package/{docReadCommands-QZMSFMPN.js → docReadCommands-E6QYCFMS.js} +66 -57
- package/{docStore-PYNEODAH.js → docStore-ZZT2BEBU.js} +16 -15
- package/{docUpdateCommands-BYI64HVV.js → docUpdateCommands-DHIOPK2C.js} +66 -57
- package/fetchMessages-TQEUZD7H.js +2 -2
- package/{getPricing-VNGFM4PN.js → getPricing-RNRITFOP.js} +6 -6
- package/{handleSendMessageAction-Z43FP2E2.js → handleSendMessageAction-ARUU6CNF.js} +83 -78
- package/{hostCredentialCreate-Y7YIGKP4.js → hostCredentialCreate-SNQT73H4.js} +131 -119
- package/index.js +56 -18
- package/keys-RWF7UCB4.js +1 -1
- package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
- package/{localDialogRead-SVTPA5GY.js → localDialogRead-3T2KMCRC.js} +1 -1
- package/{localRuntimeAdapter-ZLJONQZS.js → localRuntimeAdapter-MHI6Y2IZ.js} +143 -130
- package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-7DKIT7UH.js} +4 -2
- package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-5WZ4RJJO.js} +1 -1
- package/{machineCommands-4ZLMRIA3.js → machineCommands-3O6Y27R4.js} +283 -348
- package/machineWsRunDispatch-5PFLR5XC.js +203 -0
- package/markdownToSlate-KIYM7B3P.js +8 -0
- package/mcpLocalAuthorizeCommand-BQCQ2KRJ.js +106 -0
- package/{memberThunks-JRYNONYV.js → memberThunks-TU6A6OBV.js} +24 -19
- package/{memoryCommands-5WC3T66U.js → memoryCommands-BC6REPQB.js} +4 -4
- package/{models-H5NNZRLH.js → models-CINY5UZR.js} +2 -2
- package/{overlay-THLKYIWY.js → overlay-JA3SPVUS.js} +7 -3
- package/package.json +1 -1
- package/{projectArchive-JBX6HNK6.js → projectArchive-X2EVXU3N.js} +47 -44
- package/{providerPresetApply-J3WMRPD2.js → providerPresetApply-HUWNV2NI.js} +7 -7
- package/{providerRegistry-KJGB5XWS.js → providerRegistry-7FWKDKZJ.js} +7 -7
- package/{read-Q7GOHGNP.js → read-QAHEQID5.js} +9 -8
- package/{readDocTool-Z5OQ6422.js → readDocTool-KG5DP6EM.js} +1 -1
- package/{readlineWorkspace-WFPIAAAT.js → readlineWorkspace-SO3APHVP.js} +8125 -6196
- package/rememberExplicit-CPAPONSI.js +15 -0
- package/{removeDialogAgentAction-U3F2MNAY.js → removeDialogAgentAction-QZCCVK2G.js} +20 -19
- package/{runAgentClientLoop-STI5TKDJ.js → runAgentClientLoop-FLHHCOVH.js} +106 -81
- package/{runtimeDoctorCommands-UXKXYBW6.js → runtimeDoctorCommands-DN3I52C6.js} +17 -17
- package/{secretCommands-LJXOOYA7.js → secretCommands-36BCE3UE.js} +4 -4
- package/{setDialogExtraReferencesAction-G3WSJ7EM.js → setDialogExtraReferencesAction-PDPTYSEW.js} +17 -16
- package/{setPrimaryDialogAgentAction-6FHAHZBB.js → setPrimaryDialogAgentAction-DOUIPR66.js} +20 -19
- package/{settingThunks-AXTBX3Q5.js → settingThunks-MHGGP6UE.js} +186 -67
- package/{skillDiscovery-B5V23AXP.js → skillDiscovery-MDDKPTW3.js} +4 -3
- package/{spaceCommands-GUKMDRWN.js → spaceCommands-JH7UYE3K.js} +70 -61
- package/{store-JRVN62NM.js → store-Z53ICFL3.js} +3 -1
- package/{streamAgentChatTurn-A2WL5OOF.js → streamAgentChatTurn-VDDA2TX6.js} +200 -195
- package/{switchDialogAgentAction-UOFIAGPL.js → switchDialogAgentAction-7USK3DAP.js} +18 -17
- package/{tableCommands-HITDSLHS.js → tableCommands-UONBFC7L.js} +15 -12
- package/{toolApiClient-OGQEBQVX.js → toolApiClient-53YMJ2G6.js} +8 -6
- package/{tools-6NU5E6BN.js → tools-MIOCXKMG.js} +72 -68
- package/tuiRestart-ET3QISZ5.js +41 -0
- package/{tuiSummaryLlmCaller-7WLUKNP2.js → tuiSummaryLlmCaller-MSINBP3M.js} +21 -20
- package/{updateCommands-RJVCRSBP.js → updateCommands-5OYND6EF.js} +8 -6
- package/{updateDialogTitleAction-VMKU2Y67.js → updateDialogTitleAction-2L4CC4YO.js} +43 -40
- package/{usageCommand-YPJ2ZI2F.js → usageCommand-JTKDAG6I.js} +3 -3
- package/{usageRebuildCommand-FERQO74C.js → usageRebuildCommand-4TFZCKXM.js} +4 -4
- package/webapi-24RZDIIQ.js +2488 -0
- package/{windowsSelfUpdate-KERHIAB4.js → windowsSelfUpdate-HIYNL3VR.js} +2 -2
- package/workContext-Y3ADAPZU.js +14 -0
- package/workContextAccess-UZHDLBUR.js +11 -0
- package/workContextWriteNotice-YCSSMHN4.js +7 -0
- package/{workloadLifecycle-O2I3NZ2Q.js → workloadLifecycle-ZCSQCHG3.js} +9 -9
- package/agentListCommands-YBNOQ5T3.js +0 -991
- package/agentRecordCommands-3HL7Z4X6.js +0 -177
- package/agentRunCommand-C64A6MPL.js +0 -208
- package/chunk-2THCNKE4.js +0 -147
- package/chunk-2WZXXAQD.js +0 -57
- package/chunk-5ZMIIR23.js +0 -265
- package/chunk-652XYZGP.js +0 -352
- package/chunk-BJF2MHJ3.js +0 -118
- package/chunk-KEPOVMF4.js +0 -91
- package/chunk-QVBXJNZ2.js +0 -81
- package/chunk-QZI44GWV.js +0 -776
- package/cliLocalAgentRecordReader-6FXGFBI3.js +0 -90
- package/machineWsRunDispatch-L7Z3ULDF.js +0 -192
- package/{accountResolver-EK2S4PWF.js → accountResolver-QETKNC7T.js} +3 -3
- package/{chunk-W6RFEDN4.js → chunk-AETZ7AD6.js} +3 -3
- package/{chunk-BLVSFYQ3.js → chunk-LISC7BD4.js} +3 -3
- package/{chunk-SNBZZPYH.js → chunk-OQHIVPG4.js} +3 -3
- package/{chunk-47ITIXO7.js → chunk-USGHJSGO.js} +3 -3
- package/{chunk-FJ23FZXF.js → chunk-VIYVRPMJ.js} +0 -0
- package/{offlineMarxistsAgentCommand-4IC3Y4C6.js → offlineMarxistsAgentCommand-XVXUE6G5.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
|
""
|
|
@@ -40,6 +41,13 @@ var KIND_PRIORITY = {
|
|
|
40
41
|
procedural: 1,
|
|
41
42
|
episodic: 2
|
|
42
43
|
};
|
|
44
|
+
var emptyMemoryInjectionObservation = () => ({
|
|
45
|
+
vnextInjectedLines: 0,
|
|
46
|
+
legacyUncoveredInjectedLines: 0,
|
|
47
|
+
unattributedInjectedLines: 0,
|
|
48
|
+
totalInjectedLines: 0,
|
|
49
|
+
empty: true
|
|
50
|
+
});
|
|
43
51
|
var FACET_DISPLAY = {
|
|
44
52
|
unfinished: { label: "\u8FD8\u6CA1\u5B9A\u4E0B", strip: "\u8FD8\u6CA1\u51B3\u5B9A" },
|
|
45
53
|
tension: { label: "\u5728\u6743\u8861", strip: "\u5728\u6743\u8861" },
|
|
@@ -100,7 +108,7 @@ var truncateLineToTokens = (lineText, budgetTokens) => {
|
|
|
100
108
|
if (cut <= 2) return null;
|
|
101
109
|
return `${lineText.slice(0, cut).trimEnd()}${TRUNCATED_SUFFIX}`;
|
|
102
110
|
};
|
|
103
|
-
var fitLinesToBudget = (allLines, remainingBudget) => {
|
|
111
|
+
var fitLinesToBudget = (allLines, remainingBudget, onKept) => {
|
|
104
112
|
let usedTokens = 0;
|
|
105
113
|
const keptByKind = {};
|
|
106
114
|
let truncatedCount = 0;
|
|
@@ -118,6 +126,7 @@ var fitLinesToBudget = (allLines, remainingBudget) => {
|
|
|
118
126
|
if (candidate.lineTokens <= remaining) {
|
|
119
127
|
usedTokens += candidate.lineTokens;
|
|
120
128
|
pushLine(candidate.kind, candidate.lineText);
|
|
129
|
+
onKept(candidate);
|
|
121
130
|
continue;
|
|
122
131
|
}
|
|
123
132
|
const truncated = truncateLineToTokens(candidate.lineText, remaining);
|
|
@@ -127,6 +136,7 @@ var fitLinesToBudget = (allLines, remainingBudget) => {
|
|
|
127
136
|
}
|
|
128
137
|
usedTokens += estimateTokens(truncated);
|
|
129
138
|
pushLine(candidate.kind, truncated);
|
|
139
|
+
onKept(candidate);
|
|
130
140
|
truncatedCount += 1;
|
|
131
141
|
}
|
|
132
142
|
return { keptByKind, truncatedCount, droppedCount };
|
|
@@ -141,7 +151,7 @@ var EMPTY_RESIDENT_FIT = {
|
|
|
141
151
|
truncatedCount: 0,
|
|
142
152
|
droppedCount: 0
|
|
143
153
|
};
|
|
144
|
-
var fitResidentLines = (lines, remainingBudget) => {
|
|
154
|
+
var fitResidentLines = (lines, remainingBudget, onKept) => {
|
|
145
155
|
let usedTokens = 0;
|
|
146
156
|
const keptLines = [];
|
|
147
157
|
let truncatedCount = 0;
|
|
@@ -155,6 +165,7 @@ var fitResidentLines = (lines, remainingBudget) => {
|
|
|
155
165
|
if (candidate.lineTokens <= remaining) {
|
|
156
166
|
usedTokens += candidate.lineTokens;
|
|
157
167
|
keptLines.push(candidate.lineText);
|
|
168
|
+
onKept(candidate);
|
|
158
169
|
continue;
|
|
159
170
|
}
|
|
160
171
|
const truncated = truncateLineToTokens(candidate.lineText, remaining);
|
|
@@ -164,6 +175,7 @@ var fitResidentLines = (lines, remainingBudget) => {
|
|
|
164
175
|
}
|
|
165
176
|
usedTokens += estimateTokens(truncated);
|
|
166
177
|
keptLines.push(truncated);
|
|
178
|
+
onKept(candidate);
|
|
167
179
|
truncatedCount += 1;
|
|
168
180
|
}
|
|
169
181
|
return { keptLines, truncatedCount, droppedCount };
|
|
@@ -186,7 +198,22 @@ var buildBudgetFooter = (fit, residentFit) => {
|
|
|
186
198
|
return [`\uFF08${notices.join("\u3001")}\uFF1B\u9700\u8981\u5B8C\u6574\u5185\u5BB9\u6216\u66F4\u591A\u76F8\u5173\u8BB0\u5FC6\u65F6\u7528 queryMemory \u68C0\u7D22\uFF09`];
|
|
187
199
|
};
|
|
188
200
|
var buildMemoryOverlay = (items, options) => {
|
|
189
|
-
|
|
201
|
+
const injection = emptyMemoryInjectionObservation();
|
|
202
|
+
const onKept = (line) => {
|
|
203
|
+
injection.totalInjectedLines++;
|
|
204
|
+
injection.empty = false;
|
|
205
|
+
if (line.source === "vnext") injection.vnextInjectedLines++;
|
|
206
|
+
else if (line.source === "legacy-uncovered") injection.legacyUncoveredInjectedLines++;
|
|
207
|
+
else injection.unattributedInjectedLines++;
|
|
208
|
+
};
|
|
209
|
+
const finish = (prompt) => {
|
|
210
|
+
try {
|
|
211
|
+
options?.injectionEmit?.(injection);
|
|
212
|
+
} catch {
|
|
213
|
+
}
|
|
214
|
+
return prompt;
|
|
215
|
+
};
|
|
216
|
+
if (items.length === 0) return finish(null);
|
|
190
217
|
const maxTokens = options?.maxTokens ?? DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET;
|
|
191
218
|
const perKindLimit = options?.perKindLimit ?? 3;
|
|
192
219
|
const residentMaxTokens = options?.residentMaxTokens ?? RESIDENT_MEMORY_OVERLAY_TOKEN_BUDGET;
|
|
@@ -195,9 +222,10 @@ var buildMemoryOverlay = (items, options) => {
|
|
|
195
222
|
const residentFit = residentItems.length === 0 ? EMPTY_RESIDENT_FIT : fitResidentLines(
|
|
196
223
|
residentItems.map((item) => {
|
|
197
224
|
const lineText = `- ${isInferredMemory(item) ? "\uFF08\u63A8\u65AD\uFF09" : ""}${normalizeDisplayContent(item)}`;
|
|
198
|
-
return { kind: item.kind, lineText, lineTokens: estimateTokens(lineText) };
|
|
225
|
+
return { kind: item.kind, lineText, lineTokens: estimateTokens(lineText), source: options?.sources?.get(item) };
|
|
199
226
|
}),
|
|
200
|
-
residentMaxTokens - estimateTokens(RESIDENT_SECTION_HEADER)
|
|
227
|
+
residentMaxTokens - estimateTokens(RESIDENT_SECTION_HEADER),
|
|
228
|
+
onKept
|
|
201
229
|
);
|
|
202
230
|
const byKind = {
|
|
203
231
|
episodic: [],
|
|
@@ -214,10 +242,10 @@ var buildMemoryOverlay = (items, options) => {
|
|
|
214
242
|
const allLines = Object.entries(byKind).filter(([, list]) => list.length > 0).flatMap(
|
|
215
243
|
([kind, list]) => pickWithinKind(list, perKindLimit).map((item) => {
|
|
216
244
|
const lineText = `- ${isInferredMemory(item) ? "\uFF08\u63A8\u65AD\uFF09" : ""}${normalizeDisplayContent(item)}`;
|
|
217
|
-
return { kind, lineText, lineTokens: estimateTokens(lineText) };
|
|
245
|
+
return { kind, lineText, lineTokens: estimateTokens(lineText), source: options?.sources?.get(item) };
|
|
218
246
|
})
|
|
219
247
|
).sort((a, b) => (KIND_PRIORITY[a.kind] ?? 99) - (KIND_PRIORITY[b.kind] ?? 99));
|
|
220
|
-
retrievalFit = fitLinesToBudget(allLines, remainingBudget);
|
|
248
|
+
retrievalFit = fitLinesToBudget(allLines, remainingBudget, onKept);
|
|
221
249
|
const kindOrder = ["semantic", "procedural", "episodic"];
|
|
222
250
|
retrievalSections = kindOrder.filter(
|
|
223
251
|
(kind) => retrievalFit.keptByKind[kind] && retrievalFit.keptByKind[kind].length > 0
|
|
@@ -230,17 +258,19 @@ var buildMemoryOverlay = (items, options) => {
|
|
|
230
258
|
...retrievalSections
|
|
231
259
|
];
|
|
232
260
|
if (sections.length === 0) {
|
|
233
|
-
return OVERLAY_HEADER_LINES.join("\n");
|
|
261
|
+
return finish(OVERLAY_HEADER_LINES.join("\n"));
|
|
234
262
|
}
|
|
235
|
-
return [
|
|
263
|
+
return finish([
|
|
236
264
|
...OVERLAY_HEADER_LINES,
|
|
237
265
|
...sections,
|
|
238
266
|
...buildBudgetFooter(retrievalFit, residentFit)
|
|
239
|
-
].join("\n");
|
|
267
|
+
].join("\n"));
|
|
240
268
|
};
|
|
241
269
|
|
|
242
270
|
export {
|
|
243
271
|
EXPLICIT_REMEMBER_PREFIX_REGEX,
|
|
272
|
+
estimateMemoryBlockTokens,
|
|
273
|
+
emptyMemoryInjectionObservation,
|
|
244
274
|
DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET,
|
|
245
275
|
RESIDENT_MEMORY_OVERLAY_TOKEN_BUDGET,
|
|
246
276
|
buildMemoryOverlay
|
|
@@ -79,14 +79,17 @@ function mergeWindow(into, win) {
|
|
|
79
79
|
existing.source = win.source;
|
|
80
80
|
}
|
|
81
81
|
function parseQuotaWindowScope(scope) {
|
|
82
|
-
const matched = /^(gemini|3p)-(.+)$/.exec(scope);
|
|
82
|
+
const matched = /^(gemini|3p|hydrogen|argon)-(.+)$/.exec(scope);
|
|
83
83
|
return matched ? { family: matched[1], period: matched[2] } : { period: scope };
|
|
84
84
|
}
|
|
85
85
|
function resolveQuotaWindowFamily(model) {
|
|
86
86
|
if (typeof model !== "string" || !model.trim()) return void 0;
|
|
87
|
+
if (/(?:^|[/-])gemini-[^/]*hydrogen(?:-|$)/i.test(model)) return "hydrogen";
|
|
88
|
+
if (/(?:^|[/-])gemini-[^/]*argon(?:-|$)/i.test(model)) return "argon";
|
|
87
89
|
return /gemini/i.test(model) ? "gemini" : "3p";
|
|
88
90
|
}
|
|
89
|
-
function isQuotaWindowRelevantToFamily(scope, family) {
|
|
91
|
+
function isQuotaWindowRelevantToFamily(scope, family, source) {
|
|
92
|
+
if (scope === "gemini-5h" && source?.endsWith(":fetchAvailableModels")) return false;
|
|
90
93
|
if (typeof scope !== "string") return true;
|
|
91
94
|
const scopeFamily = parseQuotaWindowScope(scope).family;
|
|
92
95
|
return scopeFamily === void 0 || family === void 0 || scopeFamily === family;
|
|
@@ -95,7 +98,7 @@ function selectQuotaWindowsForModel(quota, now, model) {
|
|
|
95
98
|
if (!quota || !Array.isArray(quota.windows)) return [];
|
|
96
99
|
const family = resolveQuotaWindowFamily(model);
|
|
97
100
|
return quota.windows.filter(
|
|
98
|
-
(window) => !isQuotaWindowExpired(window, now) && isQuotaWindowRelevantToFamily(window?.scope, family)
|
|
101
|
+
(window) => !isQuotaWindowExpired(window, now) && isQuotaWindowRelevantToFamily(window?.scope, family, window?.source)
|
|
99
102
|
);
|
|
100
103
|
}
|
|
101
104
|
function isQuotaWindowExpired(window, now) {
|
|
@@ -373,7 +376,7 @@ function shouldClearCooldownFromQuota(entry, quota, now, options) {
|
|
|
373
376
|
if (!quota || !(quota.observedAt > entry.markedAt)) return false;
|
|
374
377
|
const family = resolveQuotaWindowFamily(options?.model);
|
|
375
378
|
const relevantWindows = quota.windows.filter(
|
|
376
|
-
(window) => isQuotaWindowRelevantToFamily(window.scope, family)
|
|
379
|
+
(window) => isQuotaWindowRelevantToFamily(window.scope, family, window.source)
|
|
377
380
|
);
|
|
378
381
|
const subscriptionWindows = relevantWindows.filter(isSubscriptionPeriodWindow);
|
|
379
382
|
if (subscriptionWindows.length === 0) return false;
|
|
@@ -409,7 +412,7 @@ function resolveAgentAvailability(agent, now = Date.now()) {
|
|
|
409
412
|
const hasObservedAt = Boolean(quota) && typeof quota?.observedAt === "number" && Number.isFinite(quota.observedAt);
|
|
410
413
|
const family = resolveQuotaWindowFamily(agent?.model);
|
|
411
414
|
const relevantWindows = (quota?.windows ?? []).filter(
|
|
412
|
-
(window) => isQuotaWindowRelevantToFamily(window?.scope, family)
|
|
415
|
+
(window) => isQuotaWindowRelevantToFamily(window?.scope, family, window?.source)
|
|
413
416
|
);
|
|
414
417
|
const hasWindows = relevantWindows.length > 0;
|
|
415
418
|
const hasValidQuota = isAdmissible && hasWindows;
|
|
@@ -647,6 +650,7 @@ function resolveCredentialCandidateKeys(key) {
|
|
|
647
650
|
if (!key) return [];
|
|
648
651
|
const trimmed = key.trim();
|
|
649
652
|
if (!trimmed) return [];
|
|
653
|
+
if (/\|quota:(?:gemini|3p|hydrogen|argon)$/.test(trimmed)) return [trimmed];
|
|
650
654
|
const candidates = [trimmed];
|
|
651
655
|
const atIndex = trimmed.lastIndexOf("@");
|
|
652
656
|
if (atIndex > 0) {
|
|
@@ -677,7 +681,21 @@ function resolveCredentialKey(agent) {
|
|
|
677
681
|
function resolveCredentialKeyWithFallback(agent) {
|
|
678
682
|
if (isPublicOrSystemAgentRecord(agent)) return void 0;
|
|
679
683
|
const byRef = resolveCredentialKey(agent);
|
|
680
|
-
if (byRef)
|
|
684
|
+
if (byRef) {
|
|
685
|
+
const ref = byRef.split("@")[0]?.trim().toLowerCase();
|
|
686
|
+
const provider = agent?.provider;
|
|
687
|
+
let cloudCode = false;
|
|
688
|
+
try {
|
|
689
|
+
const host = new URL(String(agent?.customProviderUrl ?? "")).hostname;
|
|
690
|
+
cloudCode = /^(?:daily-|daily-sandbox-)?cloudcode-pa\.googleapis\.com$/.test(host);
|
|
691
|
+
} catch {
|
|
692
|
+
}
|
|
693
|
+
if (ref === "antigravity" || ref === "gemini" || provider === "google-antigravity" || cloudCode) {
|
|
694
|
+
const family = resolveQuotaWindowFamily(typeof agent?.model === "string" ? agent.model : void 0);
|
|
695
|
+
if (family) return `${byRef}|quota:${family}`;
|
|
696
|
+
}
|
|
697
|
+
return byRef;
|
|
698
|
+
}
|
|
681
699
|
if (!agent || typeof agent !== "object") return void 0;
|
|
682
700
|
const endpoint = agent.customProviderUrl;
|
|
683
701
|
if (typeof endpoint === "string") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
t
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OGZE6BZG.js";
|
|
4
4
|
|
|
5
5
|
// packages/cli/windowsSelfUpdate.ts
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
@@ -304,11 +304,12 @@ const switchWindowsShims = (shimDir, entrypoint) => {
|
|
|
304
304
|
throw new Error("Refusing to downgrade " + payload.currentVersion + " to " + targetVersion);
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
if (compare(targetVersion, payload.currentVersion)
|
|
307
|
+
if (compare(targetVersion, payload.currentVersion) >= 0) {
|
|
308
308
|
log("phase: install-target");
|
|
309
309
|
const versionPrefix = join(payload.managedRoot, targetVersion + "-" + payload.updateId);
|
|
310
310
|
uncommittedVersionPrefix = versionPrefix;
|
|
311
|
-
mkdirSync(
|
|
311
|
+
mkdirSync(payload.managedRoot, { recursive: true });
|
|
312
|
+
mkdirSync(versionPrefix);
|
|
312
313
|
// Install the exact version resolved from the dist-tag above — never the
|
|
313
314
|
// floating channel tag — so the staged package is the verified one.
|
|
314
315
|
const install = runNpm(["install", "-g", "--prefix", versionPrefix, "nolo-cli@" + targetVersion, "--force", "--progress"]);
|
|
@@ -320,6 +321,13 @@ const switchWindowsShims = (shimDir, entrypoint) => {
|
|
|
320
321
|
}
|
|
321
322
|
const stagedEntrypoint = join(versionPrefix, "node_modules", "nolo-cli", "index.js");
|
|
322
323
|
if (!existsSync(stagedEntrypoint)) throw new Error("Staged nolo entrypoint is missing");
|
|
324
|
+
const preflight = spawnSync(payload.nodePath, [stagedEntrypoint, "-v"], {
|
|
325
|
+
encoding: "utf8", windowsHide: true, env: process.env,
|
|
326
|
+
cwd: payload.updateDir, timeout: 30 * 1000,
|
|
327
|
+
});
|
|
328
|
+
if (preflight.error || preflight.status !== 0 || String(preflight.stdout || "").trim() !== "nolo-cli " + targetVersion) {
|
|
329
|
+
throw new Error("The staged CLI failed its pre-switch version check");
|
|
330
|
+
}
|
|
323
331
|
assertLockOwnership();
|
|
324
332
|
log("phase: switch-shims");
|
|
325
333
|
const switchedShims = switchWindowsShims(prefix, stagedEntrypoint);
|
|
@@ -1,35 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KMW5CRRM.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DPAIQLAL.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
applyToolSurfaceConstraints
|
|
13
|
-
} from "./chunk-SOF4OWDM.js";
|
|
10
|
+
} from "./chunk-RGUWOMXU.js";
|
|
14
11
|
import {
|
|
15
12
|
resolveLocalRuntimeEnvFromPolicy
|
|
16
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-USGHJSGO.js";
|
|
17
14
|
import {
|
|
18
15
|
asRecordOrEmpty
|
|
19
16
|
} from "./chunk-KX6YBIHG.js";
|
|
17
|
+
import {
|
|
18
|
+
applyToolSurfaceConstraints
|
|
19
|
+
} from "./chunk-NEG5LYK5.js";
|
|
20
20
|
import {
|
|
21
21
|
ownedAgentKey
|
|
22
22
|
} from "./chunk-M2EJHDJP.js";
|
|
23
23
|
import {
|
|
24
24
|
asTrimmedNonEmptyStringArray
|
|
25
25
|
} from "./chunk-I42VC5KR.js";
|
|
26
|
+
import {
|
|
27
|
+
asOptionalPositiveFiniteNumber
|
|
28
|
+
} from "./chunk-U6VC4MU4.js";
|
|
29
|
+
import {
|
|
30
|
+
parseUserIdFromAuthToken
|
|
31
|
+
} from "./chunk-BIDSIRTS.js";
|
|
32
|
+
import {
|
|
33
|
+
DEFAULT_NOLO_SERVER_URL
|
|
34
|
+
} from "./chunk-OLZBQWZU.js";
|
|
26
35
|
import {
|
|
27
36
|
readPipeText,
|
|
28
37
|
spawnProcess
|
|
29
38
|
} from "./chunk-4O22PGNQ.js";
|
|
30
39
|
import {
|
|
31
40
|
t
|
|
32
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-OGZE6BZG.js";
|
|
33
42
|
import {
|
|
34
43
|
toErrorMessage
|
|
35
44
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -39,15 +48,6 @@ import {
|
|
|
39
48
|
import {
|
|
40
49
|
isRecord
|
|
41
50
|
} from "./chunk-KUG52IAP.js";
|
|
42
|
-
import {
|
|
43
|
-
asOptionalPositiveFiniteNumber
|
|
44
|
-
} from "./chunk-U6VC4MU4.js";
|
|
45
|
-
import {
|
|
46
|
-
parseUserIdFromAuthToken
|
|
47
|
-
} from "./chunk-2THCNKE4.js";
|
|
48
|
-
import {
|
|
49
|
-
DEFAULT_NOLO_SERVER_URL
|
|
50
|
-
} from "./chunk-OLZBQWZU.js";
|
|
51
51
|
import {
|
|
52
52
|
asOptionalTrimmedString
|
|
53
53
|
} from "./chunk-G3SUCT4W.js";
|