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
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-HNUWUO75.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveToolImagePolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BZLGPM5B.js";
|
|
7
7
|
import {
|
|
8
8
|
accumulateToolCallDelta,
|
|
9
9
|
createThinkParserState,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
stablePromptCacheKey,
|
|
32
32
|
toOpenAiCompatibleMessages,
|
|
33
33
|
toResponsesTools
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FXEPZKNJ.js";
|
|
35
35
|
import {
|
|
36
36
|
isMeaningfulChatCompletionOutput,
|
|
37
37
|
isMeaningfulResponsesOutput
|
|
@@ -46,19 +46,28 @@ import {
|
|
|
46
46
|
buildProviderExecutionPlan,
|
|
47
47
|
canUsePlatformChatProvider,
|
|
48
48
|
hasDirectOpenAiCompatibleProvider,
|
|
49
|
+
isAgentCredentialShared,
|
|
49
50
|
resolveAgentRuntimeLocation,
|
|
50
51
|
resolveClientVersion,
|
|
52
|
+
resolveOutboundProxyApiKey,
|
|
51
53
|
resolvePlatformAuthToken,
|
|
52
54
|
resolvePlatformServerUrl,
|
|
53
55
|
resolveProviderTransportDecision
|
|
54
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-LVZVSLKO.js";
|
|
57
|
+
import {
|
|
58
|
+
clampReasoningEffort
|
|
59
|
+
} from "./chunk-OKH74FML.js";
|
|
55
60
|
import {
|
|
56
61
|
isRecord
|
|
57
62
|
} from "./chunk-KUG52IAP.js";
|
|
58
63
|
import {
|
|
59
64
|
NOLO_CLIENT_VERSION_HEADER,
|
|
60
|
-
|
|
61
|
-
|
|
65
|
+
PLATFORM_HOSTED_KIMI_PROVIDER,
|
|
66
|
+
hostedKimiLegacyThinkingOverride,
|
|
67
|
+
isPlatformKimiProviderModel,
|
|
68
|
+
resolvePlatformEffectiveModel,
|
|
69
|
+
usesMimoThinkingWire
|
|
70
|
+
} from "./chunk-JPXACKSW.js";
|
|
62
71
|
|
|
63
72
|
// packages/ai/token/sseUsageExtract.ts
|
|
64
73
|
var TOKEN_FIELDS = [
|
|
@@ -443,11 +452,9 @@ function isAbortOrTimeoutError(error) {
|
|
|
443
452
|
}
|
|
444
453
|
var CHAT_PROXY_PATH = "/api/v1/chat";
|
|
445
454
|
function shouldDisableThinking(providerConfig) {
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
// (上游 thinking 默认 enabled)。
|
|
450
|
-
isPlatformMimoProviderModel(providerConfig.provider, providerConfig.model);
|
|
455
|
+
if (!usesMimoThinkingWire(providerConfig.provider, providerConfig.model, providerConfig.endpoint)) return false;
|
|
456
|
+
const effort = providerConfig.requestOptions.reasoning_effort;
|
|
457
|
+
return effort === "none" || effort === "off" || !effort && providerConfig.enableThinking !== true;
|
|
451
458
|
}
|
|
452
459
|
function isResponsesEndpoint(endpoint) {
|
|
453
460
|
return /\/responses$/i.test(endpoint.trim());
|
|
@@ -490,7 +497,9 @@ async function resolvePlatformChatProviderConfig(args) {
|
|
|
490
497
|
provider: plan.provider,
|
|
491
498
|
endpoint: plan.endpoint,
|
|
492
499
|
requestOptions: plan.requestOptions,
|
|
500
|
+
enableThinking: args.agentConfig.enableThinking,
|
|
493
501
|
...plan.apiKey ? { apiKey: plan.apiKey } : {},
|
|
502
|
+
...isAgentCredentialShared(args.agentConfig) ? { credentialSynced: true } : {},
|
|
494
503
|
...plan.apiKeyHeader ? { apiKeyHeader: plan.apiKeyHeader } : {},
|
|
495
504
|
...args.agentConfig.apiSource ? { apiSource: args.agentConfig.apiSource } : {},
|
|
496
505
|
...plan.usageProvider ? { usageProvider: plan.usageProvider } : {},
|
|
@@ -506,7 +515,9 @@ async function resolvePlatformChatProviderConfig(args) {
|
|
|
506
515
|
provider: plan.provider,
|
|
507
516
|
endpoint: plan.endpoint,
|
|
508
517
|
requestOptions: plan.requestOptions,
|
|
518
|
+
enableThinking: args.agentConfig.enableThinking,
|
|
509
519
|
...plan.apiKey ? { apiKey: plan.apiKey } : {},
|
|
520
|
+
...plan.credentialSynced === true ? { credentialSynced: true } : {},
|
|
510
521
|
...plan.apiKeyHeader ? { apiKeyHeader: plan.apiKeyHeader } : {},
|
|
511
522
|
...plan.apiSource ? { apiSource: plan.apiSource } : {},
|
|
512
523
|
...plan.usageProvider ? { usageProvider: plan.usageProvider } : {},
|
|
@@ -521,7 +532,18 @@ function buildPlatformChatCompletionRequest(args) {
|
|
|
521
532
|
);
|
|
522
533
|
}
|
|
523
534
|
const usesResponsesApi = isResponsesEndpoint(args.providerConfig.endpoint);
|
|
524
|
-
const requestOptions = usesResponsesApi ? toResponsesRequestOptions(args.providerConfig.requestOptions) : args.providerConfig.requestOptions;
|
|
535
|
+
const requestOptions = usesResponsesApi ? toResponsesRequestOptions(args.providerConfig.requestOptions) : { ...args.providerConfig.requestOptions };
|
|
536
|
+
const { provider, model, usageProvider } = args.providerConfig;
|
|
537
|
+
const effort = requestOptions.reasoning_effort;
|
|
538
|
+
if (!usesResponsesApi && typeof effort === "string" && effort && provider === PLATFORM_HOSTED_KIMI_PROVIDER && usageProvider === "baseten" && isPlatformKimiProviderModel(provider, resolvePlatformEffectiveModel(model))) {
|
|
539
|
+
const clamped = clampReasoningEffort(effort, provider, model);
|
|
540
|
+
if (clamped) requestOptions.reasoning_effort = clamped;
|
|
541
|
+
else delete requestOptions.reasoning_effort;
|
|
542
|
+
}
|
|
543
|
+
const disableThinking = !usesResponsesApi && shouldDisableThinking(args.providerConfig);
|
|
544
|
+
if (disableThinking && ["none", "off"].includes(String(requestOptions.reasoning_effort))) {
|
|
545
|
+
delete requestOptions.reasoning_effort;
|
|
546
|
+
}
|
|
525
547
|
const shouldStripReasoning = !usesResponsesApi && shouldStripReasoningContentForOutbound(
|
|
526
548
|
args.providerConfig.provider,
|
|
527
549
|
args.providerConfig.model
|
|
@@ -532,6 +554,7 @@ function buildPlatformChatCompletionRequest(args) {
|
|
|
532
554
|
shouldStripReasoning
|
|
533
555
|
);
|
|
534
556
|
const sanitizedMessages = sanitizeForOutbound(args.messages, args.tools);
|
|
557
|
+
const proxyApiKey = resolveOutboundProxyApiKey(args.providerConfig);
|
|
535
558
|
const body = {
|
|
536
559
|
model: args.providerConfig.model,
|
|
537
560
|
...usesResponsesApi ? {
|
|
@@ -578,7 +601,13 @@ function buildPlatformChatCompletionRequest(args) {
|
|
|
578
601
|
tools: usesResponsesApi ? toResponsesTools(args.tools) : args.tools,
|
|
579
602
|
...usesResponsesApi ? {} : { tool_choice: "auto" }
|
|
580
603
|
} : {},
|
|
581
|
-
...
|
|
604
|
+
...disableThinking ? { thinking: { type: "disabled" } } : {},
|
|
605
|
+
...!usesResponsesApi ? hostedKimiLegacyThinkingOverride(
|
|
606
|
+
args.providerConfig.provider,
|
|
607
|
+
args.providerConfig.model,
|
|
608
|
+
args.providerConfig.enableThinking,
|
|
609
|
+
args.providerConfig.requestOptions.reasoning_effort
|
|
610
|
+
) : void 0,
|
|
582
611
|
// 缓存路由亲和提示:托管上游是多副本共享池,前缀缓存是节点本地的,
|
|
583
612
|
// 请求落到另一副本就整条 miss(实测占该线全部 miss token 的 52%,
|
|
584
613
|
// 依据见 promptCacheKey.ts)。键只取跨轮稳定的部分(model + system 稳定
|
|
@@ -601,7 +630,8 @@ function buildPlatformChatCompletionRequest(args) {
|
|
|
601
630
|
agentKey: args.providerConfig.agentKey,
|
|
602
631
|
...args.dialogId?.trim() ? { dialogId: args.dialogId.trim() } : {},
|
|
603
632
|
...args.providerConfig.apiSource ? { apiSource: args.providerConfig.apiSource } : {},
|
|
604
|
-
|
|
633
|
+
// Overwrite any same-named request option; undefined is omitted on the wire.
|
|
634
|
+
KEY: proxyApiKey,
|
|
605
635
|
...args.providerConfig.apiKeyHeader ? { apiKeyHeader: args.providerConfig.apiKeyHeader } : {}
|
|
606
636
|
};
|
|
607
637
|
const outboundBody = usesResponsesApi ? body : applyFunctionToolReasoningCompatibility(body, args.providerConfig.model);
|
|
@@ -2,15 +2,18 @@ import {
|
|
|
2
2
|
buildSpaceLookup,
|
|
3
3
|
getSpaceContentKeys
|
|
4
4
|
} from "./chunk-ID4G2MAR.js";
|
|
5
|
+
import {
|
|
6
|
+
parsePositiveFiniteNumberOrFallback
|
|
7
|
+
} from "./chunk-Y5GCAMGP.js";
|
|
5
8
|
import {
|
|
6
9
|
deleteDbRecordOnServers,
|
|
7
10
|
listUserRecordsFromServers,
|
|
8
11
|
readDbRecordFromServers,
|
|
9
12
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FZANZZ63.js";
|
|
11
14
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
15
|
+
loadLocalRunChildDialogIds
|
|
16
|
+
} from "./chunk-KDDHQMSH.js";
|
|
14
17
|
import {
|
|
15
18
|
buildDialogAttachmentPlan,
|
|
16
19
|
extractFileContentIds,
|
|
@@ -25,23 +28,20 @@ import {
|
|
|
25
28
|
} from "./chunk-QQ56R7KS.js";
|
|
26
29
|
import {
|
|
27
30
|
getDefaultCliLocalRuntimeDb
|
|
28
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OQFOE4SJ.js";
|
|
29
32
|
import {
|
|
30
33
|
isLevelLockError
|
|
31
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TRRXYFTR.js";
|
|
32
35
|
import {
|
|
33
36
|
resolveLocalDialogDbCandidates,
|
|
34
37
|
resolveNoloHome,
|
|
35
38
|
resolveServerDbPath
|
|
36
39
|
} from "./chunk-GLKOYSRU.js";
|
|
37
|
-
import {
|
|
38
|
-
resolveRunsDir
|
|
39
|
-
} from "./chunk-OWKNSIXL.js";
|
|
40
40
|
import {
|
|
41
41
|
boundSummaryText,
|
|
42
42
|
buildDialogReadEnvelope,
|
|
43
43
|
projectDialogReadForAgent
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VJFDG3ZG.js";
|
|
45
45
|
import {
|
|
46
46
|
asRecordOrEmpty
|
|
47
47
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
} from "./chunk-BIDSIRTS.js";
|
|
69
69
|
import {
|
|
70
70
|
t
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-FEIVARWR.js";
|
|
72
72
|
import {
|
|
73
73
|
toErrorMessage
|
|
74
74
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -207,32 +207,6 @@ function parsePositiveIntegerOrFallback(value, fallback) {
|
|
|
207
207
|
return Number.isInteger(parsed) && parsed > 0 ? parsed : fallback;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
// packages/cli/tui/localRunChildDialogIds.ts
|
|
211
|
-
import { readdirSync, readFileSync } from "node:fs";
|
|
212
|
-
import { join } from "node:path";
|
|
213
|
-
function loadLocalRunChildDialogIds(args = {}) {
|
|
214
|
-
const ids = /* @__PURE__ */ new Set();
|
|
215
|
-
const runsDir = resolveRunsDir(args.env, args.homedir);
|
|
216
|
-
let entries;
|
|
217
|
-
try {
|
|
218
|
-
entries = readdirSync(runsDir);
|
|
219
|
-
} catch {
|
|
220
|
-
return ids;
|
|
221
|
-
}
|
|
222
|
-
for (const name of entries) {
|
|
223
|
-
if (!name.endsWith(".json")) continue;
|
|
224
|
-
try {
|
|
225
|
-
const record = JSON.parse(readFileSync(join(runsDir, name), "utf8"));
|
|
226
|
-
const dialogId = record?.dialogId;
|
|
227
|
-
if (typeof dialogId === "string" && dialogId.trim()) {
|
|
228
|
-
ids.add(dialogId.trim());
|
|
229
|
-
}
|
|
230
|
-
} catch {
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
return ids;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
210
|
// packages/cli/dialogCommands.ts
|
|
237
211
|
var logger = createClientLogger("cli:dialog");
|
|
238
212
|
var DEFAULT_DIALOG_LIST_LIMIT = 50;
|
|
@@ -851,7 +825,7 @@ function isExplicitDialogIdMismatch(meta, dialogId) {
|
|
|
851
825
|
return meta && typeof meta === "object" && "id" in meta && meta.id != null && String(meta.id) !== dialogId;
|
|
852
826
|
}
|
|
853
827
|
async function readDialogFromLocalDb(dialogKey, dialogId, limit, readLocalDialog) {
|
|
854
|
-
const reader = readLocalDialog ?? (await import("./localDialogRead-
|
|
828
|
+
const reader = readLocalDialog ?? (await import("./localDialogRead-BJJT3TF5.js")).readDialogFromLocalDb;
|
|
855
829
|
const result = await reader({ dialogKey, dialogId, limit });
|
|
856
830
|
return {
|
|
857
831
|
...result,
|
|
@@ -866,7 +840,7 @@ async function readLocalDialogAtDbPathDefault(args) {
|
|
|
866
840
|
);
|
|
867
841
|
}
|
|
868
842
|
const db = await getDefaultCliLocalRuntimeDb();
|
|
869
|
-
const { readDialogFromLocalDb: reader } = await import("./localDialogRead-
|
|
843
|
+
const { readDialogFromLocalDb: reader } = await import("./localDialogRead-BJJT3TF5.js");
|
|
870
844
|
return reader({ ...args, db });
|
|
871
845
|
}
|
|
872
846
|
async function readDialogFromLocalDbWithFallback(args) {
|
|
@@ -2053,7 +2027,6 @@ ${d.title}
|
|
|
2053
2027
|
}
|
|
2054
2028
|
|
|
2055
2029
|
export {
|
|
2056
|
-
loadLocalRunChildDialogIds,
|
|
2057
2030
|
normalizeDialogRecord,
|
|
2058
2031
|
sortDialogs,
|
|
2059
2032
|
isScheduledDialog,
|
|
@@ -2061,6 +2034,7 @@ export {
|
|
|
2061
2034
|
isChildDialogByField,
|
|
2062
2035
|
isChildDialog,
|
|
2063
2036
|
isHiddenFromDialogList,
|
|
2037
|
+
resolveDialogReadTarget,
|
|
2064
2038
|
isLevelDbOpenUnavailableError,
|
|
2065
2039
|
readDialogSnapshot,
|
|
2066
2040
|
isCleanDialogNotFoundFailure,
|