nolo-cli 0.226.0-alpha.2 → 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-IKZGZZXW.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-IZY3VF5F.js → agentDeleteCommand-N7ELXPLD.js} +145 -138
- package/{agentEmailCommands-YWL567CL.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-AXJ4A772.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-5F5U5X2U.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-GBUDWITV.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-E5EIYI34.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-NEKH3XDV.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-L4NFXFFF.js → chunk-6S6CZUXK.js} +42 -33
- package/{chunk-PDCV7P5W.js → chunk-6XIE5ZGI.js} +1 -1
- package/{chunk-JHRQXQ4A.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-RRVQ446B.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-4AMQZTE7.js → chunk-C4KX626C.js} +15 -15
- package/chunk-C5A54QS7.js +108 -0
- package/{chunk-BYH3HMUP.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-T3T57NVP.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-QTMIHVLE.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-2COEG5ZV.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-HHL7WG65.js → chunk-KLD7K5FD.js} +349 -16
- package/{chunk-WSJMT3FA.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-W772FYAQ.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-EFX3Q5SM.js → chunk-QUJKDFZW.js} +17 -17
- package/{chunk-C4VAR65S.js → chunk-QXUVCIPB.js} +204 -124
- package/{chunk-BLSNUIZD.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-EJU6WCDH.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-6O5YP6FX.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-6EQXVODF.js → commandRegistry-OKIWAJIS.js} +113 -101
- package/{contentThunks-ANUP57QV.js → contentThunks-VF2DCU46.js} +41 -38
- package/{cooldownCommands-X7P5M2V5.js → cooldownCommands-QL6DWGVU.js} +4 -4
- package/{createAgentAutomationAction-XMUWUDKQ.js → createAgentAutomationAction-BGET7Q6K.js} +41 -38
- package/{createDialogAction-43QJIQDH.js → createDialogAction-XYDQZETK.js} +42 -40
- package/{createPageAction-SJO7UC3J.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-FQ6WOKWJ.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-BZ2O7WLF.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-I5J7QR7K.js → handleSendMessageAction-ARUU6CNF.js} +83 -78
- package/{hostCredentialCreate-AVPMK7EQ.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-S56R76HN.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-77NFB2AE.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-GNOSYH6F.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-2PONGBUP.js → readlineWorkspace-SO3APHVP.js} +8125 -6196
- package/rememberExplicit-CPAPONSI.js +15 -0
- package/{removeDialogAgentAction-U3F2MNAY.js → removeDialogAgentAction-QZCCVK2G.js} +20 -19
- package/{runAgentClientLoop-WEXFFHVS.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-D2WFS5MF.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-YKE6PQHT.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-D5NCA4FC.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-WUUC2CX7.js +0 -177
- package/agentRunCommand-W6MDKVLJ.js +0 -208
- package/chunk-2THCNKE4.js +0 -147
- package/chunk-2WZXXAQD.js +0 -57
- package/chunk-5ZMIIR23.js +0 -265
- package/chunk-BJF2MHJ3.js +0 -118
- package/chunk-KEPOVMF4.js +0 -91
- package/chunk-OLMJR6UM.js +0 -357
- package/chunk-QVBXJNZ2.js +0 -81
- package/chunk-QZI44GWV.js +0 -776
- package/cliLocalAgentRecordReader-6FXGFBI3.js +0 -90
- package/machineWsRunDispatch-5XWFUJ53.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
|
@@ -1,32 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTimingMs
|
|
3
3
|
} from "./chunk-H57T64RA.js";
|
|
4
|
+
import {
|
|
5
|
+
sha256Hex
|
|
6
|
+
} from "./chunk-SR4FE5VD.js";
|
|
7
|
+
import {
|
|
8
|
+
estimateTokenCount
|
|
9
|
+
} from "./chunk-PSCNXBYA.js";
|
|
4
10
|
import {
|
|
5
11
|
isAbortError
|
|
6
12
|
} from "./chunk-7DPNBQSV.js";
|
|
7
|
-
import {
|
|
8
|
-
ALL_MODELS
|
|
9
|
-
} from "./chunk-62HXNQVV.js";
|
|
10
13
|
import {
|
|
11
14
|
asTrimmedNonEmptyStringArray
|
|
12
15
|
} from "./chunk-I42VC5KR.js";
|
|
13
16
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import {
|
|
17
|
-
MODEL_LOOKUP_MAP
|
|
18
|
-
} from "./chunk-KYH7XW3K.js";
|
|
19
|
-
import {
|
|
20
|
-
PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
|
|
21
|
-
isPlatformManagedProvider,
|
|
22
|
-
resolvePlatformEffectiveModel
|
|
23
|
-
} from "./chunk-OBSEKCVK.js";
|
|
17
|
+
ALL_MODELS
|
|
18
|
+
} from "./chunk-776CXKMX.js";
|
|
24
19
|
import {
|
|
25
20
|
asOptionalFiniteNumber
|
|
26
21
|
} from "./chunk-WWC7I6TA.js";
|
|
22
|
+
import {
|
|
23
|
+
MODEL_LOOKUP_MAP
|
|
24
|
+
} from "./chunk-OJRTTERA.js";
|
|
27
25
|
import {
|
|
28
26
|
asOptionalTrimmedString
|
|
29
27
|
} from "./chunk-G3SUCT4W.js";
|
|
28
|
+
import {
|
|
29
|
+
PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
|
|
30
|
+
isPlatformManagedProvider,
|
|
31
|
+
resolvePlatformEffectiveModel
|
|
32
|
+
} from "./chunk-U4VSBDO5.js";
|
|
30
33
|
|
|
31
34
|
// packages/core/chat/messageContentSerialize.ts
|
|
32
35
|
var serializeMessageContent = (content, imagePlaceholder = "[\u56FE\u7247]") => {
|
|
@@ -321,12 +324,6 @@ async function runSummaryWithContract(args) {
|
|
|
321
324
|
return execute("current");
|
|
322
325
|
}
|
|
323
326
|
|
|
324
|
-
// packages/core/sha256.ts
|
|
325
|
-
import SHA256 from "crypto-js/sha256.js";
|
|
326
|
-
function sha256Hex(text) {
|
|
327
|
-
return SHA256(text).toString();
|
|
328
|
-
}
|
|
329
|
-
|
|
330
327
|
// packages/ai/context/toolOutputCap.ts
|
|
331
328
|
var TOOL_OUTPUT_CAP_WINDOW_RATIO = 0.12;
|
|
332
329
|
var TOOL_OUTPUT_CAP_MIN_TOKENS = 4e3;
|
|
@@ -1145,6 +1142,185 @@ function computeSummarySourceMetadata(messagesWithIds, summarizedBeforeId) {
|
|
|
1145
1142
|
schemaVersion: COMPACTION_SUMMARY_SCHEMA_VERSION
|
|
1146
1143
|
};
|
|
1147
1144
|
}
|
|
1145
|
+
function buildSummarySourceDiagnostics(messages, anchor) {
|
|
1146
|
+
const end = anchor ? messages.findIndex((message) => message.id === anchor) : -1;
|
|
1147
|
+
if (end < 0) return [];
|
|
1148
|
+
const width = Math.max(1, Math.ceil((end + 1) / 64));
|
|
1149
|
+
const sorted = (value) => {
|
|
1150
|
+
if (Array.isArray(value)) return value.map(sorted);
|
|
1151
|
+
if (value && typeof value === "object") return Object.fromEntries(
|
|
1152
|
+
Object.entries(value).sort(([a], [b]) => a < b ? -1 : a > b ? 1 : 0).map(([key, child]) => [key, sorted(child)])
|
|
1153
|
+
);
|
|
1154
|
+
return value;
|
|
1155
|
+
};
|
|
1156
|
+
const rows = [];
|
|
1157
|
+
for (let start = 0; start <= end; start += width) {
|
|
1158
|
+
const group = messages.slice(start, Math.min(end + 1, start + width));
|
|
1159
|
+
const content = group.map((message) => ({
|
|
1160
|
+
role: message.role,
|
|
1161
|
+
content: message.content ?? "",
|
|
1162
|
+
...Array.isArray(message.tool_calls) ? { tool_calls: message.tool_calls } : {}
|
|
1163
|
+
}));
|
|
1164
|
+
rows.push({
|
|
1165
|
+
start,
|
|
1166
|
+
count: group.length,
|
|
1167
|
+
idHash: sha256Hex(JSON.stringify(group.map((message) => message.id ?? null))).slice(0, 16),
|
|
1168
|
+
messageHash: sha256Hex(JSON.stringify(content)).slice(0, 16),
|
|
1169
|
+
canonicalHash: sha256Hex(JSON.stringify(sorted(content))).slice(0, 16)
|
|
1170
|
+
});
|
|
1171
|
+
}
|
|
1172
|
+
return rows;
|
|
1173
|
+
}
|
|
1174
|
+
var MAX_SUMMARY_SOURCE_SEGMENTS = 16;
|
|
1175
|
+
function buildSummarySourceSegments(messages, anchor) {
|
|
1176
|
+
if (!anchor) return [];
|
|
1177
|
+
let end = messages.findIndex((message) => message.id === anchor);
|
|
1178
|
+
if (end === -1) {
|
|
1179
|
+
const legacy = /^local-(0|[1-9]\d*)$/.exec(anchor);
|
|
1180
|
+
if (legacy) {
|
|
1181
|
+
const index = Number(legacy[1]);
|
|
1182
|
+
if (Number.isSafeInteger(index) && index < messages.length) {
|
|
1183
|
+
end = index;
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
if (end < 0) return [];
|
|
1188
|
+
const totalCount = end + 1;
|
|
1189
|
+
const width = Math.max(1, Math.ceil(totalCount / MAX_SUMMARY_SOURCE_SEGMENTS));
|
|
1190
|
+
const segments = [];
|
|
1191
|
+
for (let start = 0; start < totalCount; start += width) {
|
|
1192
|
+
const segEnd = Math.min(end, start + width - 1);
|
|
1193
|
+
const group = messages.slice(start, segEnd + 1);
|
|
1194
|
+
const roleCounts = /* @__PURE__ */ new Map();
|
|
1195
|
+
for (const message of group) {
|
|
1196
|
+
const role = typeof message.role === "string" && message.role ? message.role : "unknown";
|
|
1197
|
+
roleCounts.set(role, (roleCounts.get(role) ?? 0) + 1);
|
|
1198
|
+
}
|
|
1199
|
+
const roles = Array.from(roleCounts.entries()).map(([role, count]) => `${role}:${count}`).join(",");
|
|
1200
|
+
const canonical = group.map((message, offset) => ({
|
|
1201
|
+
id: `local-${start + offset}`,
|
|
1202
|
+
role: message.role,
|
|
1203
|
+
content: message.content ?? "",
|
|
1204
|
+
...Array.isArray(message.tool_calls) ? { tool_calls: message.tool_calls } : {}
|
|
1205
|
+
}));
|
|
1206
|
+
const hash = sha256Hex(JSON.stringify(canonical)).slice(0, 16);
|
|
1207
|
+
segments.push({
|
|
1208
|
+
start,
|
|
1209
|
+
end: segEnd,
|
|
1210
|
+
count: group.length,
|
|
1211
|
+
roles,
|
|
1212
|
+
hash
|
|
1213
|
+
});
|
|
1214
|
+
}
|
|
1215
|
+
return segments;
|
|
1216
|
+
}
|
|
1217
|
+
function diffSummarySourceSegments(savedSegments, currentSegments) {
|
|
1218
|
+
const saved = Array.isArray(savedSegments) ? savedSegments : [];
|
|
1219
|
+
const current = Array.isArray(currentSegments) ? currentSegments : [];
|
|
1220
|
+
const savedTotalCount = saved.reduce(
|
|
1221
|
+
(sum, seg) => sum + (typeof seg?.count === "number" && Number.isFinite(seg.count) ? seg.count : 0),
|
|
1222
|
+
0
|
|
1223
|
+
);
|
|
1224
|
+
const currentTotalCount = current.reduce(
|
|
1225
|
+
(sum, seg) => sum + (typeof seg?.count === "number" && Number.isFinite(seg.count) ? seg.count : 0),
|
|
1226
|
+
0
|
|
1227
|
+
);
|
|
1228
|
+
if (saved.length === 0) {
|
|
1229
|
+
return {
|
|
1230
|
+
matched: false,
|
|
1231
|
+
reason: "legacy_no_segments",
|
|
1232
|
+
firstMismatchIndex: null,
|
|
1233
|
+
savedSegmentCount: 0,
|
|
1234
|
+
currentSegmentCount: current.length,
|
|
1235
|
+
savedTotalCount: 0,
|
|
1236
|
+
currentTotalCount,
|
|
1237
|
+
savedSegment: null,
|
|
1238
|
+
currentSegment: null
|
|
1239
|
+
};
|
|
1240
|
+
}
|
|
1241
|
+
if (current.length === 0) {
|
|
1242
|
+
return {
|
|
1243
|
+
matched: false,
|
|
1244
|
+
reason: "anchor_missing",
|
|
1245
|
+
firstMismatchIndex: null,
|
|
1246
|
+
savedSegmentCount: saved.length,
|
|
1247
|
+
currentSegmentCount: 0,
|
|
1248
|
+
savedTotalCount,
|
|
1249
|
+
currentTotalCount: 0,
|
|
1250
|
+
savedSegment: saved[0] ?? null,
|
|
1251
|
+
currentSegment: null
|
|
1252
|
+
};
|
|
1253
|
+
}
|
|
1254
|
+
const minLen = Math.min(saved.length, current.length);
|
|
1255
|
+
let firstDiff = null;
|
|
1256
|
+
for (let i = 0; i < minLen; i++) {
|
|
1257
|
+
const s = saved[i];
|
|
1258
|
+
const c = current[i];
|
|
1259
|
+
if (!s || !c || s.start !== c.start || s.end !== c.end || s.count !== c.count || s.roles !== c.roles || s.hash !== c.hash) {
|
|
1260
|
+
firstDiff = i;
|
|
1261
|
+
break;
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
if (savedTotalCount !== currentTotalCount || saved.length !== current.length) {
|
|
1265
|
+
const idx = firstDiff ?? minLen;
|
|
1266
|
+
return {
|
|
1267
|
+
matched: false,
|
|
1268
|
+
reason: "count_changed",
|
|
1269
|
+
firstMismatchIndex: idx,
|
|
1270
|
+
savedSegmentCount: saved.length,
|
|
1271
|
+
currentSegmentCount: current.length,
|
|
1272
|
+
savedTotalCount,
|
|
1273
|
+
currentTotalCount,
|
|
1274
|
+
savedSegment: saved[idx] ?? null,
|
|
1275
|
+
currentSegment: current[idx] ?? null
|
|
1276
|
+
};
|
|
1277
|
+
}
|
|
1278
|
+
if (firstDiff !== null) {
|
|
1279
|
+
const s = saved[firstDiff] ?? null;
|
|
1280
|
+
const c = current[firstDiff] ?? null;
|
|
1281
|
+
const boundsChanged = !s || !c || s.start !== c.start || s.end !== c.end || s.count !== c.count;
|
|
1282
|
+
return {
|
|
1283
|
+
matched: false,
|
|
1284
|
+
reason: boundsChanged ? "count_changed" : "segment_hash_changed",
|
|
1285
|
+
firstMismatchIndex: firstDiff,
|
|
1286
|
+
savedSegmentCount: saved.length,
|
|
1287
|
+
currentSegmentCount: current.length,
|
|
1288
|
+
savedTotalCount,
|
|
1289
|
+
currentTotalCount,
|
|
1290
|
+
savedSegment: s,
|
|
1291
|
+
currentSegment: c
|
|
1292
|
+
};
|
|
1293
|
+
}
|
|
1294
|
+
return {
|
|
1295
|
+
matched: true,
|
|
1296
|
+
reason: "matched",
|
|
1297
|
+
firstMismatchIndex: null,
|
|
1298
|
+
savedSegmentCount: saved.length,
|
|
1299
|
+
currentSegmentCount: current.length,
|
|
1300
|
+
savedTotalCount,
|
|
1301
|
+
currentTotalCount,
|
|
1302
|
+
savedSegment: null,
|
|
1303
|
+
currentSegment: null
|
|
1304
|
+
};
|
|
1305
|
+
}
|
|
1306
|
+
function sanitizeSummarySourceSegments(raw) {
|
|
1307
|
+
if (!Array.isArray(raw) || raw.length === 0) return void 0;
|
|
1308
|
+
const sanitized = [];
|
|
1309
|
+
for (const item of raw.slice(0, MAX_SUMMARY_SOURCE_SEGMENTS)) {
|
|
1310
|
+
if (!item || typeof item !== "object") continue;
|
|
1311
|
+
const candidate = item;
|
|
1312
|
+
const start = candidate.start;
|
|
1313
|
+
const end = candidate.end;
|
|
1314
|
+
const count = candidate.count;
|
|
1315
|
+
const roles = candidate.roles;
|
|
1316
|
+
const hash = candidate.hash;
|
|
1317
|
+
if (typeof start !== "number" || !Number.isSafeInteger(start) || start < 0 || typeof end !== "number" || !Number.isSafeInteger(end) || end < start || typeof count !== "number" || !Number.isSafeInteger(count) || count < 1 || typeof roles !== "string" || roles.length === 0 || roles.length > 128 || /[\r\n\0]/.test(roles) || typeof hash !== "string" || !/^[0-9a-f]{16}$/.test(hash)) {
|
|
1318
|
+
continue;
|
|
1319
|
+
}
|
|
1320
|
+
sanitized.push({ start, end, count, roles, hash });
|
|
1321
|
+
}
|
|
1322
|
+
return sanitized.length > 0 ? sanitized : void 0;
|
|
1323
|
+
}
|
|
1148
1324
|
|
|
1149
1325
|
// packages/ai/llm/getModelContextWindow.ts
|
|
1150
1326
|
var DEFAULT_CONTEXT_WINDOW = 256e3;
|
|
@@ -1152,7 +1328,7 @@ var QWEN_3_6_CONTEXT_WINDOW = 262144;
|
|
|
1152
1328
|
var GLM_5_2_CONTEXT_WINDOW = 1e6;
|
|
1153
1329
|
var GPT_6_1_SOL_CONTEXT_WINDOW = 5e5;
|
|
1154
1330
|
var GPT_6_1_SOL_PATTERN = /(^|\/)gpt-6\.1[- ]sol(?![a-z])/;
|
|
1155
|
-
var GPT_6_1_PINNED_PATTERN = /(^|\/)gpt-6\.1[- ](sol|terra)(?![a-z0-9])/;
|
|
1331
|
+
var GPT_6_1_PINNED_PATTERN = /(^|\/)gpt-(?:6\.1[- ](sol|terra)|6\.2[- ](sol|astra))(?![a-z0-9])/;
|
|
1156
1332
|
var GPT_272K_PINNED_PATTERN = /(^|\/)(gpt-6[- ](astra|luna|sol)|gpt-5\.6[- ](sol|terra|luna))(?![a-z0-9])/;
|
|
1157
1333
|
var GPT_272K_CONTEXT_WINDOW = 272e3;
|
|
1158
1334
|
function channelPinnedContextWindow(normalizedName) {
|
|
@@ -1351,6 +1527,11 @@ var getModelInfo = (modelName) => {
|
|
|
1351
1527
|
};
|
|
1352
1528
|
|
|
1353
1529
|
export {
|
|
1530
|
+
DEFAULT_CONTEXT_WINDOW,
|
|
1531
|
+
findCodexOAuthPinnedContextWindow,
|
|
1532
|
+
findModelContextWindow,
|
|
1533
|
+
getModelContextWindow,
|
|
1534
|
+
getModelInfo,
|
|
1354
1535
|
readCacheReadInputTokens,
|
|
1355
1536
|
readCacheReadInputTokensOrNull,
|
|
1356
1537
|
readCacheCreationInputTokens,
|
|
@@ -1361,22 +1542,20 @@ export {
|
|
|
1361
1542
|
getMessageTokenCount,
|
|
1362
1543
|
resolveEffectiveCompactionBudgets,
|
|
1363
1544
|
planCompression,
|
|
1364
|
-
DEFAULT_CONTEXT_WINDOW,
|
|
1365
|
-
findCodexOAuthPinnedContextWindow,
|
|
1366
|
-
findModelContextWindow,
|
|
1367
|
-
getModelContextWindow,
|
|
1368
|
-
getModelInfo,
|
|
1369
1545
|
createSummaryBudget,
|
|
1370
1546
|
classifySummaryError,
|
|
1371
1547
|
isTruncatedCompletion,
|
|
1372
1548
|
summaryCompletionTokens,
|
|
1373
1549
|
selectSummaryRoute,
|
|
1374
1550
|
runSummaryWithContract,
|
|
1375
|
-
sha256Hex,
|
|
1376
1551
|
COMPACTION_SUMMARY_SCHEMA_VERSION,
|
|
1377
1552
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
1378
1553
|
buildBoundedCompactionRequest,
|
|
1379
1554
|
buildCompactionMetricsFromPlan,
|
|
1380
1555
|
formatCompactionMetricsLog,
|
|
1381
|
-
computeSummarySourceMetadata
|
|
1556
|
+
computeSummarySourceMetadata,
|
|
1557
|
+
buildSummarySourceDiagnostics,
|
|
1558
|
+
buildSummarySourceSegments,
|
|
1559
|
+
diffSummarySourceSegments,
|
|
1560
|
+
sanitizeSummarySourceSegments
|
|
1382
1561
|
};
|