nolo-cli 0.228.0 → 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/{_executeModel-GIFVXKDT.js → _executeModel-AKCTHGMP.js} +62 -61
- package/{action-WZTKEF5H.js → action-C6IQAKN4.js} +6 -6
- package/{addContentAction-MLI6GOBV.js → addContentAction-53364YDW.js} +10 -10
- package/{addDialogAgentAction-ARGQM22H.js → addDialogAgentAction-U5DD5EN5.js} +9 -9
- package/{agentDeleteCommand-UF7XVELS.js → agentDeleteCommand-2E5FAGUO.js} +99 -93
- package/{agentEmailCommands-SFHRPQYC.js → agentEmailCommands-UGZZAH7E.js} +99 -93
- package/{agentListCommands-IXKBP3W5.js → agentListCommands-JCTW3J2K.js} +240 -52
- package/{agentMachineCommands-7NX6PWQ6.js → agentMachineCommands-QPG5ZXF4.js} +45 -41
- package/{agentProviderCommands-C5T7C5KZ.js → agentProviderCommands-QLTABYR7.js} +2 -2
- package/{agentPullCommand-4EQZYHU4.js → agentPullCommand-2EYJ5ENC.js} +1 -1
- package/{agentRecordCommands-IUNX6XD6.js → agentRecordCommands-4NTVR6MZ.js} +98 -92
- package/{agentRunCommand-LCR4XADM.js → agentRunCommand-VHF34PYC.js} +103 -94
- package/{agentRunControl-RN2P6AOD.js → agentRunControl-QYTXUQGY.js} +10 -7
- package/{agentRuntimeLocal-LVXPQ7QA.js → agentRuntimeLocal-U54AKHXH.js} +38 -36
- package/{agentSlice-ZGMOH6TE.js → agentSlice-4JGDEXWK.js} +10 -10
- package/{appDeleteCommands-BESCJOQM.js → appDeleteCommands-XBE5QJ6P.js} +46 -42
- package/{appDeployCommands-LPTR6IOX.js → appDeployCommands-QIYLXXGA.js} +46 -42
- package/{appDeployStatusCommands-BZ7KZ5RD.js → appDeployStatusCommands-JXS6ZQZZ.js} +46 -42
- package/{appGetCommands-EDWGJV4S.js → appGetCommands-SZS7SJPK.js} +46 -42
- package/{appListCommands-OPRWYPM6.js → appListCommands-B3GBJSNV.js} +46 -42
- package/{authCommand-3C3RN4OU.js → authCommand-V6EOMZX6.js} +15 -15
- package/{authCommands-ZMVEDCQD.js → authCommands-T5FODCEG.js} +2 -2
- package/{builtinSkillRegistry-VRCMQ77Q.js → builtinSkillRegistry-ZQC3IIO2.js} +4 -3
- package/{chromeOpsCommands-NZITLHWO.js → chromeOpsCommands-OFX7ZGKP.js} +2 -2
- package/{chunk-MZVCFV3T.js → chunk-223KZUJ6.js} +4 -4
- package/{chunk-UF6J7NXV.js → chunk-2C5VN7NH.js} +1 -1
- package/{chunk-MAA42MMV.js → chunk-2FZVXOFX.js} +4 -4
- package/{chunk-ESN4WNWU.js → chunk-2JHGUL5K.js} +2 -2
- package/chunk-3A5NNQCN.js +64 -0
- package/chunk-3F2FRLIO.js +372 -0
- package/{chunk-V4IYI3SB.js → chunk-46FETNLF.js} +2 -2
- package/{chunk-RR3MB26M.js → chunk-4GYVS4PM.js} +8 -6
- package/{chunk-ZQ6K57FJ.js → chunk-4YPH5KRA.js} +1 -1
- package/{chunk-Y4NPF2UN.js → chunk-5AYP5QBB.js} +5 -5
- package/{chunk-4OXPN3WC.js → chunk-5ISNPTQH.js} +4 -4
- package/{chunk-CO6E7YK6.js → chunk-5P3PPQVP.js} +1 -1
- package/{chunk-6TVYUQRM.js → chunk-6BMTKYAO.js} +2 -2
- package/{chunk-KLAMJNKQ.js → chunk-6PAHSSD2.js} +15 -8
- package/{chunk-CTWCZKNS.js → chunk-6SOWMEAY.js} +4 -4
- package/{chunk-ARFCL53U.js → chunk-6VEO7Z3Y.js} +5 -5
- package/{chunk-ZM5AZTQG.js → chunk-7BIJFGKS.js} +20 -8
- package/{chunk-BAH3BAUZ.js → chunk-7OVOZRZF.js} +5 -5
- package/{chunk-N74XL3NI.js → chunk-7PON4LBY.js} +42 -24
- package/{chunk-LTVEOOZL.js → chunk-7WHCIA5V.js} +16 -3
- package/{chunk-HZDK56EK.js → chunk-ADYWV732.js} +34 -12
- package/{chunk-2FK2KZSL.js → chunk-AIFQKNPP.js} +1 -1
- package/{chunk-VTHWBTRE.js → chunk-BPB3T5EU.js} +5 -8
- package/{chunk-SX6AWTNK.js → chunk-BZLGPM5B.js} +3 -3
- package/{chunk-MTM4LRVG.js → chunk-BZMDWGQQ.js} +2 -2
- package/{chunk-JP2BH4NC.js → chunk-CEKRIR22.js} +1 -1
- package/{chunk-5HUO7SEX.js → chunk-D634SL2Y.js} +1 -1
- package/{chunk-SCMYAGQE.js → chunk-DHRPLRIR.js} +294 -159
- package/{chunk-VUHKG4KS.js → chunk-DNNPARJK.js} +9 -5
- package/{chunk-X22AUZKL.js → chunk-E3LSO6EI.js} +189 -88
- package/{chunk-LHCGKAFO.js → chunk-EHFBP6IK.js} +100 -48
- package/{chunk-6ASGEP5D.js → chunk-EJQE5HB7.js} +1 -1
- package/{chunk-2BKNICGK.js → chunk-EL5NRJHI.js} +1 -1
- package/chunk-EUGTFFO6.js +42 -0
- package/{chunk-YFW4H6DL.js → chunk-EVHTYVD2.js} +821 -131
- package/{chunk-6XRPBZRS.js → chunk-EYLGAEB4.js} +0 -134
- package/{chunk-E5RYFR7E.js → chunk-FEIVARWR.js} +49 -15
- package/{chunk-3DJJ4CFG.js → chunk-FLBJ7IJI.js} +9 -9
- package/{chunk-W3HSD32M.js → chunk-FXEPZKNJ.js} +2 -2
- package/{chunk-VKCPKCSS.js → chunk-FYAMUU55.js} +625 -62
- package/{chunk-JEWMQR6J.js → chunk-FZANZZ63.js} +1 -1
- package/{chunk-WWTSEBDF.js → chunk-GIXWVN2W.js} +1 -1
- package/{chunk-YHNUDTU4.js → chunk-HDKMVYNJ.js} +4 -4
- package/chunk-HEVRQGGH.js +106 -0
- package/{chunk-PBPXXMWZ.js → chunk-HFHJPHFK.js} +1 -1
- package/{chunk-WQDTSK5U.js → chunk-HPDLPEUG.js} +11 -5
- package/{chunk-SPU3L3OR.js → chunk-HQUGB2HM.js} +3 -3
- package/chunk-IVK2KT3H.js +209 -0
- package/{chunk-73PZD7JZ.js → chunk-IYLUK67R.js} +2 -2
- package/{chunk-BFKJ2RS3.js → chunk-J55F3IEZ.js} +1 -1
- package/{chunk-ADOOL3PG.js → chunk-J7JRCOIW.js} +1 -1
- package/{chunk-AEZBAFC6.js → chunk-JAKRY74O.js} +138 -8
- package/{chunk-NEG5LYK5.js → chunk-JCQ3WCQ3.js} +3 -1
- package/{chunk-W6T4FNZP.js → chunk-JLZJL3WC.js} +219 -351
- package/{chunk-PQ63BDV3.js → chunk-JPXACKSW.js} +9 -1
- package/{chunk-IIOSZAJX.js → chunk-KDBDOXOM.js} +137 -53
- package/{chunk-CIGCTSBF.js → chunk-KDDHQMSH.js} +1 -1
- package/{chunk-OAZP4TSA.js → chunk-KG27JIG4.js} +2 -2
- package/{chunk-RHBD22LV.js → chunk-KHYSFS3W.js} +80 -4
- package/{chunk-7UVVLYKC.js → chunk-KKIQAVDR.js} +5 -5
- package/{chunk-HS7MLR74.js → chunk-KZ4A7EIV.js} +3 -5
- package/{chunk-OLGFIQN2.js → chunk-LLUBUHNT.js} +1 -1
- package/{chunk-QJTZ76CP.js → chunk-LS5KAVFQ.js} +1 -0
- package/{chunk-K26XPZRB.js → chunk-LVZVSLKO.js} +29 -9
- package/{chunk-XJSEST7D.js → chunk-MNFUKRRU.js} +3 -3
- package/{chunk-R5NRFXGD.js → chunk-O3A2CHAL.js} +5 -5
- package/{chunk-4IQN6FWY.js → chunk-OB4FBZXJ.js} +4 -4
- package/{chunk-J2VIGDJN.js → chunk-OJSJJKHF.js} +3 -3
- package/{chunk-OHUYN3YU.js → chunk-OKAXQFON.js} +1 -1
- package/{chunk-CD2DK5JA.js → chunk-OKH74FML.js} +2 -1
- package/{chunk-MYYNZG2M.js → chunk-OOV5JN25.js} +4 -4
- package/{chunk-TMRJGSK2.js → chunk-OOVOAG4Q.js} +1 -1
- package/chunk-OQFOE4SJ.js +405 -0
- package/{chunk-AS6L5KSD.js → chunk-P4R5KXU7.js} +2 -2
- package/{chunk-VIYVRPMJ.js → chunk-PHREU2KZ.js} +5 -3
- package/{chunk-EDT65EUE.js → chunk-PIVTQRX6.js} +45 -15
- package/{chunk-QMNVV3YM.js → chunk-PJL7OJRC.js} +12 -11
- package/{chunk-XCA4WHX5.js → chunk-PNLDLUMO.js} +315 -360
- package/{chunk-UPOW5HTG.js → chunk-QGFLVQ6E.js} +3 -3
- package/{chunk-JU7VN4LF.js → chunk-QONAOHVW.js} +6 -6
- package/{chunk-UOUMPHS5.js → chunk-R3FZHW4Q.js} +13 -13
- package/{chunk-K7VIXYTZ.js → chunk-R3MV2GII.js} +1 -45
- package/{chunk-FE7G6DSP.js → chunk-R72QWIFO.js} +14 -4
- package/{chunk-KZAT2M2V.js → chunk-RIWKZT7E.js} +22 -0
- package/{chunk-RMWDKLBE.js → chunk-S7H4KTMB.js} +1099 -71
- package/{chunk-IJZC2KIJ.js → chunk-SA356NGW.js} +1 -1
- package/{chunk-BVEDT6DM.js → chunk-SCAC3NM5.js} +3 -3
- package/{chunk-EQZQUQ33.js → chunk-SLUN7W6S.js} +5 -5
- package/{chunk-KK3FCYZM.js → chunk-SQL7YNED.js} +7 -4
- package/{chunk-LMGFVH65.js → chunk-SSOR2EDT.js} +10 -10
- package/chunk-TRRXYFTR.js +46 -0
- package/{chunk-XNTZD4AE.js → chunk-TUOHSUK5.js} +19367 -17503
- package/chunk-TYJCIA2O.js +835 -0
- package/{chunk-FTWAOKFU.js → chunk-U3BUWDUP.js} +415 -1962
- package/{chunk-CD64YXRB.js → chunk-U6QNVOR5.js} +1 -1
- package/chunk-UAF5VQCE.js +77 -0
- package/{chunk-CIUZXD5D.js → chunk-UFGUJ2IH.js} +5 -5
- package/{chunk-CTIEJRTP.js → chunk-UP7KBWLE.js} +81 -29
- package/{chunk-GX6DITLQ.js → chunk-UUCYUN6Y.js} +1 -1
- package/{chunk-UHW6SCVK.js → chunk-UZKBVQUX.js} +1 -1
- package/{chunk-XSRSAU3O.js → chunk-V5TI7HJH.js} +3 -3
- package/{chunk-WFGNWWJI.js → chunk-VH7UO6E5.js} +252 -114
- package/{chunk-ITBX27W6.js → chunk-VJFDG3ZG.js} +30 -122
- package/{chunk-6MTVACLN.js → chunk-WC3J5SL2.js} +277 -293
- package/{chunk-HCCQEMTK.js → chunk-WD5547ZF.js} +15 -12
- package/{chunk-X3OZ655T.js → chunk-WS36XPJD.js} +2 -2
- package/{chunk-JFRJEPFI.js → chunk-WSLL7VV4.js} +2 -2
- package/chunk-XRGBJHZX.js +136 -0
- package/{chunk-KZ5OD2MO.js → chunk-Y2KWJTOZ.js} +3 -3
- package/{dialogUsageCommand-6RW2FY6K.js → chunk-Y2TCTNUD.js} +24 -17
- package/{chunk-FFFKAOJN.js → chunk-YN23INFZ.js} +1 -1
- package/{chunk-ODBYGVO2.js → chunk-YXK3GJF5.js} +5 -5
- package/{chunk-6CXQ3YNJ.js → chunk-Z2OWAYMI.js} +53 -31
- package/{chunk-6XVPMGXK.js → chunk-ZTHAJU3O.js} +10 -4
- package/{chunk-D25ONVOH.js → chunk-ZYPXOQS2.js} +1 -1
- package/{cliAgentConfigHelpers-37ZNEY5Y.js → cliAgentConfigHelpers-BXHQ3PXP.js} +8 -8
- package/{cliAuthorityBrokerClient-SFPC3WVK.js → cliAuthorityBrokerClient-TFNXJLXL.js} +1 -1
- package/cliAuthorityBrokerProcess-5ZFBTHLB.js +22 -0
- package/{cliLocalAgentRecordReader-MCQVRWBR.js → cliLocalAgentRecordReader-47PXMHPH.js} +43 -41
- package/{commandRegistry-NTH5IAN5.js → commandRegistry-CTMPAQH2.js} +93 -156
- package/{contentThunks-SPXTX5U2.js → contentThunks-CAHIIZO5.js} +25 -25
- package/{cooldownCommands-TIFCHCUN.js → cooldownCommands-WDOI5VD7.js} +3 -3
- package/{createAgentAutomationAction-KUQKCOXB.js → createAgentAutomationAction-M25XZSPD.js} +25 -25
- package/{createDialogAction-HJN5U3XS.js → createDialogAction-4SN7FKI7.js} +26 -26
- package/{createPageAction-ZAHRDOAU.js → createPageAction-N7QPDN3M.js} +28 -28
- package/{db-CMUTP3W5.js → db-VR74ADGC.js} +7 -2
- package/{dbSlice-656PMWR2.js → dbSlice-RWPSVHBC.js} +9 -9
- package/{deleteFile-ZCQESEEQ.js → deleteFile-ECU6FU5C.js} +12 -7
- package/{dialogCommands-KZTZLWPZ.js → dialogCommands-BBHWCKDP.js} +57 -47
- package/{dialogNotifyCommand-PST75COP.js → dialogNotifyCommand-IASQGEMW.js} +9 -9
- package/{dialogSlice-BXIERQHO.js → dialogSlice-JI3J22RV.js} +23 -23
- package/dialogTraceCommand-EW2KK6A4.js +961 -0
- package/dialogUsageCommand-WJ3U6KZU.js +27 -0
- package/{docCreateCommands-26HJ5NAY.js → docCreateCommands-QSX3X5U4.js} +45 -41
- package/{docDeleteCommands-UAOHH5XK.js → docDeleteCommands-63JBG2HQ.js} +46 -42
- package/{docReadCommands-4ADG7YE6.js → docReadCommands-CQFKRQUI.js} +45 -41
- package/{docStore-FZ75HWP2.js → docStore-XLBKGGNM.js} +10 -10
- package/{docUpdateCommands-OGFJZENF.js → docUpdateCommands-534LUK25.js} +45 -41
- package/ebookDownloaderAgentCommand-DYSKF5ZY.js +677 -0
- package/{getPricing-FCHYVRJU.js → getPricing-5BLZRPTM.js} +3 -3
- package/{handleSendMessageAction-KP6GGBFY.js → handleSendMessageAction-Q2VMEVOR.js} +90 -48
- package/{hostCredentialCreate-23TX56G7.js → hostCredentialCreate-C57T7YPE.js} +99 -93
- package/index.js +23 -11
- package/{localDialogRead-CIOTQM5T.js → localDialogRead-BJJT3TF5.js} +1 -1
- package/{localRuntimeAdapter-MTUWOYPN.js → localRuntimeAdapter-OALZPFZU.js} +96 -90
- package/{localRuntimeAuthority-TYHQCTZN.js → localRuntimeAuthority-UF2DAQ3F.js} +13 -3
- package/{localRuntimeDb-BO7IVWAZ.js → localRuntimeDb-ZJFGNHML.js} +1 -1
- package/{machineCommands-4WJUJQHW.js → machineCommands-N6IVWRZT.js} +109 -92
- package/{machineWsRunDispatch-V3U4JM67.js → machineWsRunDispatch-PDWYB33B.js} +97 -91
- package/{markdownToSlate-KIYM7B3P.js → markdownToSlate-PXYAIBVL.js} +1 -1
- package/{mcpLocalAuthorizeCommand-TI656UWC.js → mcpLocalAuthorizeCommand-KYI4EGF5.js} +17 -13
- package/{memberThunks-JFYC4Z5L.js → memberThunks-43B7UYC5.js} +11 -11
- package/{models-EP7VG6N2.js → models-ZX2BYIMB.js} +2 -2
- package/package.json +2 -1
- package/{projectArchive-NU2Z5HOR.js → projectArchive-TJNW5DLM.js} +28 -28
- package/{providerPresetApply-4H7YP5D7.js → providerPresetApply-NTJUINI6.js} +35 -16
- package/{providerRegistry-F3UPOTIY.js → providerRegistry-W45SLUV6.js} +5 -5
- package/{read-BRZHXUJ6.js → read-KG6INYUT.js} +12 -7
- package/{readDocTool-N7RVFQEE.js → readDocTool-N3GA52JR.js} +1 -1
- package/{readlineWorkspace-T56MRMS5.js → readlineWorkspace-PJZJVGA5.js} +1296 -1056
- package/{removeDialogAgentAction-J7XU7OUX.js → removeDialogAgentAction-EEVSOQOJ.js} +11 -11
- package/{runAgentClientLoop-O2GRCGRZ.js → runAgentClientLoop-3VC5TCDW.js} +69 -58
- package/{runtimeDoctorCommands-RDRJXMXC.js → runtimeDoctorCommands-V3M3JTUV.js} +14 -11
- package/{secretCommands-2FEMRUFM.js → secretCommands-KVVZS7A6.js} +2 -2
- package/{setDialogExtraReferencesAction-Q4V2ZZW2.js → setDialogExtraReferencesAction-DNO5POHA.js} +10 -10
- package/{setPrimaryDialogAgentAction-742H5S6T.js → setPrimaryDialogAgentAction-QABBEO4C.js} +11 -11
- package/{settingThunks-T4FXSV6M.js → settingThunks-DVKG4X4S.js} +13 -17
- package/{skillDiscovery-MDDKPTW3.js → skillDiscovery-ZMJH36AK.js} +3 -3
- package/{spaceCommands-W5TAVFDT.js → spaceCommands-AGGZXPY3.js} +218 -77
- package/{streamAgentChatTurn-OWDJMU5E.js → streamAgentChatTurn-4GTLL2OF.js} +111 -95
- package/{switchDialogAgentAction-HLDLHRRA.js → switchDialogAgentAction-KYWJSGOO.js} +9 -9
- package/{tableCommands-44GC4N6J.js → tableCommands-EFA754RE.js} +3 -3
- package/{tools-O7SGGVA3.js → tools-5AGPOPLW.js} +48 -47
- package/{tuiRestart-EOGC2BYY.js → tuiRestart-77E7PL4R.js} +9 -8
- package/{tuiSummaryLlmCaller-TM5BU73J.js → tuiSummaryLlmCaller-HROLGN4F.js} +12 -12
- package/{updateCommands-FBYA5WVG.js → updateCommands-GJGRS6JK.js} +3 -3
- package/{updateDialogTitleAction-EXSZGTLL.js → updateDialogTitleAction-5OSEDGRK.js} +25 -25
- package/{usageCommand-L4OFWXEU.js → usageCommand-WI6SQOPB.js} +2 -2
- package/{usageRebuildCommand-7JR33UHS.js → usageRebuildCommand-WQRLLZAT.js} +3 -3
- package/{windowsSelfUpdate-M4V77OUB.js → windowsSelfUpdate-C7LGVWYX.js} +2 -2
- package/{workloadLifecycle-ZCSQCHG3.js → workloadLifecycle-P2SJVV3S.js} +2 -2
- package/chunk-FGHEF6WI.js +0 -34
- package/chunk-U5LOKQ2R.js +0 -176
- package/chunk-YDRRGVT5.js +0 -142
- package/chunk-YGDYYFRX.js +0 -86
- package/chunk-Z7KE4K3H.js +0 -758
- package/lib-62SWPXNF.js +0 -21042
- /package/{chunk-ANUP75N2.js → chunk-2E4BYAUE.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TUI_SUMMARY_MAX_OUTPUT_TOKENS,
|
|
3
3
|
createTuiSummaryLlmCaller
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OB4FBZXJ.js";
|
|
5
5
|
import "./chunk-OYUMJMC5.js";
|
|
6
6
|
import "./chunk-523DITKR.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-PIVTQRX6.js";
|
|
8
8
|
import "./chunk-HNUWUO75.js";
|
|
9
|
+
import "./chunk-BZLGPM5B.js";
|
|
9
10
|
import "./chunk-56GBUMO5.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-FXEPZKNJ.js";
|
|
11
12
|
import "./chunk-X4O7FJF5.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-MAA42MMV.js";
|
|
13
|
+
import "./chunk-DNNPARJK.js";
|
|
14
|
+
import "./chunk-2FZVXOFX.js";
|
|
15
15
|
import "./chunk-H57T64RA.js";
|
|
16
16
|
import "./chunk-UKZX3NHN.js";
|
|
17
17
|
import "./chunk-SR4FE5VD.js";
|
|
@@ -23,20 +23,20 @@ import "./chunk-I42VC5KR.js";
|
|
|
23
23
|
import "./chunk-BIDSIRTS.js";
|
|
24
24
|
import "./chunk-OLZBQWZU.js";
|
|
25
25
|
import "./chunk-LCBAMY2M.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-EJQE5HB7.js";
|
|
27
|
+
import "./chunk-6SOWMEAY.js";
|
|
28
28
|
import "./chunk-HNMXYYJR.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-LVZVSLKO.js";
|
|
30
|
+
import "./chunk-2JHGUL5K.js";
|
|
31
31
|
import "./chunk-3EUW3WEO.js";
|
|
32
32
|
import "./chunk-WWC7I6TA.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-OKH74FML.js";
|
|
34
34
|
import "./chunk-JRTNUU5Z.js";
|
|
35
35
|
import "./chunk-KUG52IAP.js";
|
|
36
36
|
import "./chunk-G3SUCT4W.js";
|
|
37
37
|
import "./chunk-4SN6J65J.js";
|
|
38
38
|
import "./chunk-CF7PE763.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-JPXACKSW.js";
|
|
40
40
|
import "./chunk-QSJ3HFEF.js";
|
|
41
41
|
import "./chunk-U67V476Y.js";
|
|
42
42
|
export {
|
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
runSelfUpdate,
|
|
21
21
|
runSelfUpdateDetailed,
|
|
22
22
|
runStandaloneBundleUpdate
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IYLUK67R.js";
|
|
24
24
|
import "./chunk-BIDSIRTS.js";
|
|
25
25
|
import "./chunk-OLZBQWZU.js";
|
|
26
26
|
import "./chunk-LCBAMY2M.js";
|
|
27
27
|
import "./chunk-R5GO3YZP.js";
|
|
28
28
|
import "./chunk-4O22PGNQ.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-OOVOAG4Q.js";
|
|
30
|
+
import "./chunk-FEIVARWR.js";
|
|
31
31
|
import "./chunk-G3SUCT4W.js";
|
|
32
32
|
import "./chunk-4SN6J65J.js";
|
|
33
33
|
import "./chunk-CF7PE763.js";
|
|
@@ -3,65 +3,65 @@ import {
|
|
|
3
3
|
} from "./chunk-Z4PCXPUE.js";
|
|
4
4
|
import {
|
|
5
5
|
updateContentTitle
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WD5547ZF.js";
|
|
7
7
|
import {
|
|
8
8
|
isAssistantToolStub,
|
|
9
9
|
selectAllMsgs
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-TZXPT53C.js";
|
|
10
|
+
} from "./chunk-EVHTYVD2.js";
|
|
12
11
|
import {
|
|
13
12
|
require_format
|
|
14
13
|
} from "./chunk-BUDVRYES.js";
|
|
14
|
+
import "./chunk-TZXPT53C.js";
|
|
15
15
|
import {
|
|
16
16
|
BUILTIN_DIALOG_LLM_FALLBACK_MODEL,
|
|
17
17
|
BUILTIN_TITLE_LLM_CONFIG
|
|
18
18
|
} from "./chunk-523DITKR.js";
|
|
19
19
|
import {
|
|
20
20
|
runLlm
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-7PON4LBY.js";
|
|
22
|
+
import "./chunk-YN23INFZ.js";
|
|
23
23
|
import "./chunk-BYXBJQAS.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-6VEO7Z3Y.js";
|
|
25
25
|
import "./chunk-5RGU3J7P.js";
|
|
26
26
|
import "./chunk-UVLYNWIE.js";
|
|
27
27
|
import "./chunk-YNIYE47Z.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-BZMDWGQQ.js";
|
|
29
|
+
import "./chunk-46FETNLF.js";
|
|
29
30
|
import {
|
|
30
31
|
normalizeSpaceId
|
|
31
32
|
} from "./chunk-UAD2WT54.js";
|
|
32
33
|
import {
|
|
33
34
|
patch,
|
|
34
35
|
selectById
|
|
35
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ADYWV732.js";
|
|
36
37
|
import "./chunk-3PVYUPXK.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-WS36XPJD.js";
|
|
38
39
|
import "./chunk-HXER7YJF.js";
|
|
39
40
|
import "./chunk-DXWGFL2Z.js";
|
|
40
41
|
import "./chunk-3L2WKC3W.js";
|
|
41
42
|
import "./chunk-QYPE3TS3.js";
|
|
42
43
|
import "./chunk-U35UUM5K.js";
|
|
43
44
|
import "./chunk-RD3QLZQV.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-6XVPMGXK.js";
|
|
49
|
-
import "./chunk-YHNUDTU4.js";
|
|
45
|
+
import "./chunk-7BIJFGKS.js";
|
|
46
|
+
import "./chunk-HPDLPEUG.js";
|
|
47
|
+
import "./chunk-ZTHAJU3O.js";
|
|
48
|
+
import "./chunk-HDKMVYNJ.js";
|
|
50
49
|
import "./chunk-YJPK35HB.js";
|
|
50
|
+
import "./chunk-UEILX4EV.js";
|
|
51
51
|
import "./chunk-QQ56R7KS.js";
|
|
52
52
|
import {
|
|
53
53
|
selectIdentityUserId
|
|
54
54
|
} from "./chunk-PXYBUFDB.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-CEKRIR22.js";
|
|
56
56
|
import {
|
|
57
57
|
buildDialogFallbackTitleFromMessages,
|
|
58
58
|
resolveDialogTitle
|
|
59
59
|
} from "./chunk-2MBTWINN.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-7WHCIA5V.js";
|
|
61
61
|
import "./chunk-5ZUL4CUO.js";
|
|
62
62
|
import {
|
|
63
63
|
serializeMessageContent
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-2FZVXOFX.js";
|
|
65
65
|
import "./chunk-H57T64RA.js";
|
|
66
66
|
import "./chunk-UKZX3NHN.js";
|
|
67
67
|
import "./chunk-SR4FE5VD.js";
|
|
@@ -71,16 +71,16 @@ import "./chunk-E6A5NHDH.js";
|
|
|
71
71
|
import "./chunk-KX6YBIHG.js";
|
|
72
72
|
import "./chunk-PSCNXBYA.js";
|
|
73
73
|
import "./chunk-DWLEOOGR.js";
|
|
74
|
-
import "./chunk-OW765XBU.js";
|
|
75
74
|
import "./chunk-7DPNBQSV.js";
|
|
75
|
+
import "./chunk-OW765XBU.js";
|
|
76
76
|
import "./chunk-G7Y4GXTY.js";
|
|
77
77
|
import "./chunk-6UBGXX2W.js";
|
|
78
78
|
import "./chunk-BV3FLP2L.js";
|
|
79
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-5P3PPQVP.js";
|
|
80
80
|
import "./chunk-SYTHYBMI.js";
|
|
81
81
|
import "./chunk-OJKUU3LP.js";
|
|
82
82
|
import "./chunk-YZMNK53S.js";
|
|
83
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-RIWKZT7E.js";
|
|
84
84
|
import {
|
|
85
85
|
extractCustomId
|
|
86
86
|
} from "./chunk-M2EJHDJP.js";
|
|
@@ -88,20 +88,20 @@ import "./chunk-I42VC5KR.js";
|
|
|
88
88
|
import "./chunk-4JH2UMJR.js";
|
|
89
89
|
import "./chunk-U6VC4MU4.js";
|
|
90
90
|
import "./chunk-LCBAMY2M.js";
|
|
91
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-EJQE5HB7.js";
|
|
92
92
|
import "./chunk-HNMXYYJR.js";
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-2JHGUL5K.js";
|
|
94
94
|
import {
|
|
95
95
|
asTrimmedString
|
|
96
96
|
} from "./chunk-3EUW3WEO.js";
|
|
97
97
|
import "./chunk-WWC7I6TA.js";
|
|
98
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-OKH74FML.js";
|
|
99
99
|
import "./chunk-JRTNUU5Z.js";
|
|
100
100
|
import "./chunk-KUG52IAP.js";
|
|
101
101
|
import "./chunk-G3SUCT4W.js";
|
|
102
102
|
import "./chunk-4SN6J65J.js";
|
|
103
103
|
import "./chunk-CF7PE763.js";
|
|
104
|
-
import "./chunk-
|
|
104
|
+
import "./chunk-JPXACKSW.js";
|
|
105
105
|
import "./chunk-QSJ3HFEF.js";
|
|
106
106
|
import {
|
|
107
107
|
__toESM
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveDateWindow,
|
|
7
7
|
runUsageCommand,
|
|
8
8
|
summarizeUsage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SCAC3NM5.js";
|
|
10
10
|
import "./chunk-Z4PCXPUE.js";
|
|
11
11
|
import "./chunk-BUDVRYES.js";
|
|
12
12
|
import "./chunk-UVLYNWIE.js";
|
|
13
13
|
import "./chunk-YNIYE47Z.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-J55F3IEZ.js";
|
|
15
15
|
import "./chunk-GLKOYSRU.js";
|
|
16
16
|
import "./chunk-SYTHYBMI.js";
|
|
17
17
|
import "./chunk-OJKUU3LP.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
parseUsageArgs,
|
|
3
3
|
require_date_fns,
|
|
4
4
|
resolveDateWindow
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SCAC3NM5.js";
|
|
6
6
|
import "./chunk-Z4PCXPUE.js";
|
|
7
7
|
import {
|
|
8
8
|
applyTokenUsageToDayStats,
|
|
@@ -12,7 +12,7 @@ import "./chunk-UVLYNWIE.js";
|
|
|
12
12
|
import "./chunk-YNIYE47Z.js";
|
|
13
13
|
import {
|
|
14
14
|
getDefaultCliLocalRuntimeDb
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-J55F3IEZ.js";
|
|
16
16
|
import "./chunk-GLKOYSRU.js";
|
|
17
17
|
import {
|
|
18
18
|
isLevelNotFoundError
|
|
@@ -456,7 +456,7 @@ function formatRebuildReport(report) {
|
|
|
456
456
|
return lines.join("\n");
|
|
457
457
|
}
|
|
458
458
|
async function resolveRebuildUserId(env) {
|
|
459
|
-
const { resolveLocalUserId } = await import("./cliAgentConfigHelpers-
|
|
459
|
+
const { resolveLocalUserId } = await import("./cliAgentConfigHelpers-BXHQ3PXP.js");
|
|
460
460
|
return resolveLocalUserId(env);
|
|
461
461
|
}
|
|
462
462
|
async function runUsageRebuildCommand(args, deps) {
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
defaultLaunchWindowsUpdateHelper,
|
|
4
4
|
getWindowsUpdateStatus,
|
|
5
5
|
scheduleWindowsSelfUpdate
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-OOVOAG4Q.js";
|
|
7
|
+
import "./chunk-FEIVARWR.js";
|
|
8
8
|
import "./chunk-U67V476Y.js";
|
|
9
9
|
export {
|
|
10
10
|
buildWindowsUpdateHelperSource,
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
buildPrimaryExecutionTicket,
|
|
10
10
|
createDockerToolChannel,
|
|
11
11
|
dockerExecutionToolNames
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BPB3T5EU.js";
|
|
13
13
|
import {
|
|
14
14
|
Database
|
|
15
15
|
} from "./chunk-IT3ZZRJE.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-2E4BYAUE.js";
|
|
17
17
|
import "./chunk-R5GO3YZP.js";
|
|
18
18
|
import "./chunk-U67V476Y.js";
|
|
19
19
|
|
package/chunk-FGHEF6WI.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
resolveModelReasoningCapability
|
|
3
|
-
} from "./chunk-CD2DK5JA.js";
|
|
4
|
-
|
|
5
|
-
// packages/ai/agent/defaultReasoningEffort.ts
|
|
6
|
-
var defaults = {
|
|
7
|
-
"gpt-6.2-sol": "medium",
|
|
8
|
-
"gpt-6.2-astra": "high",
|
|
9
|
-
"gpt-6.1-sol": "medium",
|
|
10
|
-
"gpt-6.1-terra": "medium",
|
|
11
|
-
"gpt-6-luna": "medium",
|
|
12
|
-
"gpt-6-astra": "high",
|
|
13
|
-
"claude-opus-5-5": "medium",
|
|
14
|
-
"claude-sonnet-5-5": "high",
|
|
15
|
-
"deepseek-flash": "high",
|
|
16
|
-
"deepseek-v4-flash": "high",
|
|
17
|
-
"deepseek-v4.1-flash": "high"
|
|
18
|
-
};
|
|
19
|
-
var deepseekChannels = /* @__PURE__ */ new Set(["opendesign", "ollama-cloud", "lithosai"]);
|
|
20
|
-
var providers = /* @__PURE__ */ new Set(["nolo", "openai", "openrouter", "anthropic", "deepseek", "commandcode", "opencode-go", "stepfun"]);
|
|
21
|
-
function resolveDefaultReasoningEffort(input) {
|
|
22
|
-
const provider = (input.provider ?? "").toLowerCase();
|
|
23
|
-
const model = (input.model ?? "").toLowerCase().split("/").pop() ?? "";
|
|
24
|
-
const isDeepseekFlash = ["deepseek-flash", "deepseek-v4-flash", "deepseek-v4.1-flash"].includes(model);
|
|
25
|
-
const effort = providers.has(provider) || deepseekChannels.has(provider) && isDeepseekFlash ? defaults[model] : void 0;
|
|
26
|
-
if (!effort) return input.fallback;
|
|
27
|
-
if (provider === "nolo" && model.startsWith("claude-") && input.model?.startsWith("anthropic/")) return effort;
|
|
28
|
-
if (provider === "anthropic" && model.startsWith("claude-")) return effort;
|
|
29
|
-
return resolveModelReasoningCapability(provider, input.model).efforts.includes(effort) ? effort : input.fallback;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export {
|
|
33
|
-
resolveDefaultReasoningEffort
|
|
34
|
-
};
|
package/chunk-U5LOKQ2R.js
DELETED
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
// packages/cli/tui/ciStatus.ts
|
|
2
|
-
import { execFile } from "node:child_process";
|
|
3
|
-
|
|
4
|
-
// packages/core/infraHosts.ts
|
|
5
|
-
var ALPHA_ORIGIN_IP = "62.83.99.45";
|
|
6
|
-
|
|
7
|
-
// packages/cli/tui/ciStatus.ts
|
|
8
|
-
var DEFAULT_SSH_HOST = `root@${ALPHA_ORIGIN_IP}`;
|
|
9
|
-
var DEFAULT_CI_PORT = "3900";
|
|
10
|
-
function resolveCiSshTarget(env = process.env) {
|
|
11
|
-
const override = env.NOLO_CI_SSH_HOST?.trim();
|
|
12
|
-
if (override) return override;
|
|
13
|
-
const raw = env.NOLO_CI_RAW_HOST?.trim() ?? env.NOLO_ALPHA_RAW_HOST?.trim();
|
|
14
|
-
if (raw) return `${env.NOLO_CI_SSH_USER?.trim() ?? env.NOLO_ALPHA_SSH_USER?.trim() ?? "nolotus"}@${raw}`;
|
|
15
|
-
return env.NOLO_ALPHA_SSH_CONFIG_HOST?.trim() || DEFAULT_SSH_HOST;
|
|
16
|
-
}
|
|
17
|
-
function resolveCiPort(env = process.env) {
|
|
18
|
-
const raw = env.NOLO_CI_PORT?.trim() ?? "";
|
|
19
|
-
return /^\d{1,5}$/.test(raw) && Number(raw) > 0 && Number(raw) <= 65535 ? raw : DEFAULT_CI_PORT;
|
|
20
|
-
}
|
|
21
|
-
function compactStatusBeforeTransport(command) {
|
|
22
|
-
const projection = 'import json,sys; d=json.load(sys.stdin); jobs=d.get("jobs",[d]); [j.get("source",{}).pop("push",None) for j in jobs]; print(json.dumps(d,separators=(",",":")))';
|
|
23
|
-
return `${command} | python3 -c '${projection}'`;
|
|
24
|
-
}
|
|
25
|
-
function buildCiStatusCommand(limit, env = process.env) {
|
|
26
|
-
const safeLimit = Math.max(1, Math.min(20, Math.trunc(limit) || 5));
|
|
27
|
-
return compactStatusBeforeTransport(`curl -s -m 3 "http://127.0.0.1:${resolveCiPort(env)}/status?limit=${safeLimit}"`);
|
|
28
|
-
}
|
|
29
|
-
function isCiStatusTestOrCiEnvironment(env = process.env) {
|
|
30
|
-
return env.NODE_ENV === "test" || process.env.NODE_ENV === "test" || env.BUN_ENV === "test" || process.env.BUN_ENV === "test" || Boolean(
|
|
31
|
-
env.CI || process.env.CI || env.GITHUB_ACTIONS || process.env.GITHUB_ACTIONS
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
function shouldBlockRealSsh(env, execFileImpl) {
|
|
35
|
-
if (execFileImpl !== execFile) return false;
|
|
36
|
-
if (env.NOLO_CI_STATUS_ALLOW_SSH === "1") return false;
|
|
37
|
-
return isCiStatusTestOrCiEnvironment(env);
|
|
38
|
-
}
|
|
39
|
-
function asRecord(value) {
|
|
40
|
-
return typeof value === "object" && value !== null ? value : void 0;
|
|
41
|
-
}
|
|
42
|
-
function asString(value) {
|
|
43
|
-
return typeof value === "string" && value.trim() ? value.trim() : void 0;
|
|
44
|
-
}
|
|
45
|
-
function extractFailedPhase(raw) {
|
|
46
|
-
if (!Array.isArray(raw)) return void 0;
|
|
47
|
-
for (const entry of raw) {
|
|
48
|
-
const timing = asRecord(entry);
|
|
49
|
-
if (!timing) continue;
|
|
50
|
-
const status = timing.status;
|
|
51
|
-
const phase = asString(timing.phase);
|
|
52
|
-
if (phase && typeof status === "number" && status !== 0) return phase;
|
|
53
|
-
}
|
|
54
|
-
return void 0;
|
|
55
|
-
}
|
|
56
|
-
function toCiJob(value) {
|
|
57
|
-
const record = asRecord(value);
|
|
58
|
-
if (!record) return void 0;
|
|
59
|
-
const jobId = asString(record.jobId);
|
|
60
|
-
const status = asString(record.status);
|
|
61
|
-
if (!jobId || !status) return void 0;
|
|
62
|
-
const durationMs = typeof record.durationMs === "number" ? record.durationMs : void 0;
|
|
63
|
-
return {
|
|
64
|
-
jobId,
|
|
65
|
-
kind: asString(record.kind) ?? "unknown",
|
|
66
|
-
status,
|
|
67
|
-
shortSha: asString(record.shortSha) ?? asString(record.sha) ?? "",
|
|
68
|
-
startedAt: asString(record.startedAt),
|
|
69
|
-
durationMs,
|
|
70
|
-
failedPhase: extractFailedPhase(record.phaseTimings)
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
function parseCiStatusPayload(raw) {
|
|
74
|
-
let parsed;
|
|
75
|
-
try {
|
|
76
|
-
parsed = JSON.parse(raw);
|
|
77
|
-
} catch {
|
|
78
|
-
return void 0;
|
|
79
|
-
}
|
|
80
|
-
const root = asRecord(parsed);
|
|
81
|
-
if (!root) return void 0;
|
|
82
|
-
const jobs = root.jobs;
|
|
83
|
-
if (Array.isArray(jobs)) {
|
|
84
|
-
return jobs.map(toCiJob).filter((job) => job !== void 0);
|
|
85
|
-
}
|
|
86
|
-
const single = toCiJob(parsed);
|
|
87
|
-
return single ? [single] : void 0;
|
|
88
|
-
}
|
|
89
|
-
function buildRemoteCommand(limit, env = process.env) {
|
|
90
|
-
return buildCiStatusCommand(limit, env);
|
|
91
|
-
}
|
|
92
|
-
function fetchCiStatus(limit = 5, timeoutMs = 4e3, signal, env = process.env, execFileImpl = execFile) {
|
|
93
|
-
return fetchCiPayload(buildRemoteCommand(limit, env), parseCiStatusPayload, timeoutMs, resolveCiSshTarget(env), signal, execFileImpl, env);
|
|
94
|
-
}
|
|
95
|
-
function fetchCiPayload(command, parse, timeoutMs, sshTarget, signal, execFileImpl = execFile, env = process.env) {
|
|
96
|
-
if (shouldBlockRealSsh(env, execFileImpl)) {
|
|
97
|
-
return Promise.resolve(void 0);
|
|
98
|
-
}
|
|
99
|
-
return new Promise((resolve) => {
|
|
100
|
-
let settled = false;
|
|
101
|
-
let guard;
|
|
102
|
-
const finish = (value) => {
|
|
103
|
-
if (settled) return;
|
|
104
|
-
settled = true;
|
|
105
|
-
if (guard) clearTimeout(guard);
|
|
106
|
-
signal?.removeEventListener("abort", onAbort);
|
|
107
|
-
resolve(value);
|
|
108
|
-
};
|
|
109
|
-
const onAbort = () => finish(void 0);
|
|
110
|
-
if (signal?.aborted) {
|
|
111
|
-
finish(void 0);
|
|
112
|
-
return;
|
|
113
|
-
}
|
|
114
|
-
signal?.addEventListener("abort", onAbort, { once: true });
|
|
115
|
-
guard = setTimeout(() => finish(void 0), timeoutMs + 500);
|
|
116
|
-
guard.unref?.();
|
|
117
|
-
try {
|
|
118
|
-
execFileImpl(
|
|
119
|
-
"ssh",
|
|
120
|
-
["-o", "BatchMode=yes", "-o", `ConnectTimeout=3`, sshTarget, command],
|
|
121
|
-
{ timeout: timeoutMs, signal, encoding: "utf8", maxBuffer: 1024 * 1024 },
|
|
122
|
-
(error, stdout) => {
|
|
123
|
-
if (error) {
|
|
124
|
-
finish(void 0);
|
|
125
|
-
return;
|
|
126
|
-
}
|
|
127
|
-
try {
|
|
128
|
-
finish(parse(stdout ?? ""));
|
|
129
|
-
} catch {
|
|
130
|
-
finish(void 0);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
);
|
|
134
|
-
} catch {
|
|
135
|
-
finish(void 0);
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
function summarizeLatest(jobs) {
|
|
140
|
-
const latest = jobs?.[0];
|
|
141
|
-
if (!latest) return void 0;
|
|
142
|
-
const sha = latest.shortSha ? latest.shortSha.slice(0, 7) : "???????";
|
|
143
|
-
if (latest.status === "running") return `ci:${sha} \u2026`;
|
|
144
|
-
if (latest.status === "succeeded") return `ci:${sha} \u2713`;
|
|
145
|
-
if (latest.status === "failed" || latest.status === "orphaned") {
|
|
146
|
-
return `ci:${sha} \u2717${latest.failedPhase ? ` ${latest.failedPhase}` : ""}`;
|
|
147
|
-
}
|
|
148
|
-
return `ci:${sha} ${latest.status}`;
|
|
149
|
-
}
|
|
150
|
-
function buildCancelCommand(jobId, env = process.env) {
|
|
151
|
-
const port = resolveCiPort(env);
|
|
152
|
-
const body = JSON.stringify({ jobId }).replace(/'/g, "'\\''");
|
|
153
|
-
const endpoint = `http://127.0.0.1:${port}/cancel`;
|
|
154
|
-
const tokenRef = `$(grep -m1 '^NOLO_CI_ADMIN_TOKEN=' "$HOME/.config/nolo-ci.env" 2>/dev/null | cut -d= -f2-)`;
|
|
155
|
-
return `curl -s -m 110 -H "Authorization: Bearer ${tokenRef}" -H 'Content-Type: application/json' -X POST --data '${body}' "${endpoint}"`;
|
|
156
|
-
}
|
|
157
|
-
function fetchCiCancel(jobId, timeoutMs = 12e4, execFileImpl = execFile, env = process.env) {
|
|
158
|
-
return fetchCiPayload(
|
|
159
|
-
buildCancelCommand(jobId, env),
|
|
160
|
-
(stdout) => {
|
|
161
|
-
const response = JSON.parse(stdout);
|
|
162
|
-
return response?.ok === true && response?.cancelled === true && response?.jobId === jobId ? true : false;
|
|
163
|
-
},
|
|
164
|
-
timeoutMs,
|
|
165
|
-
resolveCiSshTarget(env),
|
|
166
|
-
void 0,
|
|
167
|
-
execFileImpl,
|
|
168
|
-
env
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export {
|
|
173
|
-
fetchCiStatus,
|
|
174
|
-
summarizeLatest,
|
|
175
|
-
fetchCiCancel
|
|
176
|
-
};
|
package/chunk-YDRRGVT5.js
DELETED
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
resolveBuiltinCapability,
|
|
3
|
-
resolveBuiltinSkillEntry
|
|
4
|
-
} from "./chunk-6MTVACLN.js";
|
|
5
|
-
import {
|
|
6
|
-
asTrimmedNonEmptyStringArray
|
|
7
|
-
} from "./chunk-I42VC5KR.js";
|
|
8
|
-
|
|
9
|
-
// packages/core/agentSkillModes.ts
|
|
10
|
-
var AGENT_SKILL_MODES = [
|
|
11
|
-
"required",
|
|
12
|
-
"recommended",
|
|
13
|
-
"disabled"
|
|
14
|
-
];
|
|
15
|
-
var isAgentSkillMode = (value) => typeof value === "string" && AGENT_SKILL_MODES.includes(value);
|
|
16
|
-
var collectInvalidAgentSkillModes = (skills) => {
|
|
17
|
-
if (!skills || typeof skills !== "object" || Array.isArray(skills)) return [];
|
|
18
|
-
const out = [];
|
|
19
|
-
for (const [slug, value] of Object.entries(skills)) {
|
|
20
|
-
if (value === null) continue;
|
|
21
|
-
if (!isAgentSkillMode(value)) out.push({ slug, value });
|
|
22
|
-
}
|
|
23
|
-
return out;
|
|
24
|
-
};
|
|
25
|
-
var describeAgentSkillModeValue = (value) => {
|
|
26
|
-
let text;
|
|
27
|
-
if (typeof value === "string") {
|
|
28
|
-
text = JSON.stringify(value.length > 40 ? `${value.slice(0, 40)}\u2026` : value);
|
|
29
|
-
} else if (value === void 0) {
|
|
30
|
-
text = "undefined";
|
|
31
|
-
} else {
|
|
32
|
-
try {
|
|
33
|
-
const serialized = JSON.stringify(value);
|
|
34
|
-
text = typeof serialized === "string" ? serialized : String(value);
|
|
35
|
-
} catch {
|
|
36
|
-
text = typeof value;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return text.length > 60 ? `${text.slice(0, 60)}\u2026` : text;
|
|
40
|
-
};
|
|
41
|
-
var formatInvalidAgentSkillModeMessage = (invalid, allowed = AGENT_SKILL_MODES) => `Invalid agent skill mode for "${invalid.slug}": ${describeAgentSkillModeValue(invalid.value)}. Allowed values: ${allowed.join(", ")}.`;
|
|
42
|
-
var isAgentSkillModesFieldShapeValid = (skills) => {
|
|
43
|
-
if (skills === null || skills === void 0) return true;
|
|
44
|
-
return typeof skills === "object" && !Array.isArray(skills);
|
|
45
|
-
};
|
|
46
|
-
var formatInvalidAgentSkillModesFieldMessage = (allowed = AGENT_SKILL_MODES) => `Invalid agent skills field: expected an object mapping slug \u2192 mode (${allowed.join(" | ")}).`;
|
|
47
|
-
|
|
48
|
-
// packages/ai/tools/agentSkillConfig.ts
|
|
49
|
-
var MODES = AGENT_SKILL_MODES;
|
|
50
|
-
var DEFAULT_RECOMMENDED_SKILL_SLUGS = [
|
|
51
|
-
// `worktree-isolation` 已上移为系统层固定前置(agent-runtime/worktreeIsolationPrelude),
|
|
52
|
-
// 不再依赖「相关技能」提示行被发现,也不再是用户可关项——见 skillExploreDirectory 的
|
|
53
|
-
// PLATFORM_CORE_SKILL_SLUGS。注册表解析与 legacy 读取保留。
|
|
54
|
-
"systematic-investigation",
|
|
55
|
-
"show-me",
|
|
56
|
-
// 凭据管理:仓库已有 nolo secret(set/list/run/bind),但技能发现只扫
|
|
57
|
-
// `.agents/skills`,内置的 secrets-manager 不会出现在"可用技能"里。放进默认
|
|
58
|
-
// 提示名单让它至少以一行提示出现(不授工具、不放宽权限)。
|
|
59
|
-
"secrets-manager"
|
|
60
|
-
];
|
|
61
|
-
var asMode = (value) => typeof value === "string" && MODES.includes(value) ? value : null;
|
|
62
|
-
var resolveAgentSkillConfig = (source) => {
|
|
63
|
-
const out = {};
|
|
64
|
-
const skills = source?.skills;
|
|
65
|
-
if (skills && typeof skills === "object" && !Array.isArray(skills)) {
|
|
66
|
-
for (const [rawSlug, rawMode] of Object.entries(skills)) {
|
|
67
|
-
const slug = typeof rawSlug === "string" ? rawSlug.trim() : "";
|
|
68
|
-
const mode = asMode(rawMode);
|
|
69
|
-
if (slug && mode) out[slug] = mode;
|
|
70
|
-
}
|
|
71
|
-
return out;
|
|
72
|
-
}
|
|
73
|
-
for (const slug of asTrimmedNonEmptyStringArray(source?.enabledPacks) ?? []) {
|
|
74
|
-
out[slug] = "required";
|
|
75
|
-
}
|
|
76
|
-
return out;
|
|
77
|
-
};
|
|
78
|
-
var collectAgentSkillConfigIssues = (source) => {
|
|
79
|
-
const issues = [];
|
|
80
|
-
const skills = source?.skills;
|
|
81
|
-
if (skills === void 0 || skills === null) return issues;
|
|
82
|
-
if (typeof skills !== "object" || Array.isArray(skills)) {
|
|
83
|
-
issues.push({ slug: "", value: skills, reason: "invalid-skills-field" });
|
|
84
|
-
return issues;
|
|
85
|
-
}
|
|
86
|
-
for (const [rawSlug, rawMode] of Object.entries(skills)) {
|
|
87
|
-
const slug = rawSlug.trim();
|
|
88
|
-
if (!slug) {
|
|
89
|
-
issues.push({ slug: rawSlug, value: rawMode, reason: "invalid-slug" });
|
|
90
|
-
continue;
|
|
91
|
-
}
|
|
92
|
-
if (!isAgentSkillMode(rawMode)) {
|
|
93
|
-
issues.push({ slug, value: rawMode, reason: "invalid-mode" });
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
return issues;
|
|
97
|
-
};
|
|
98
|
-
var resolveAgentRequiredPackIds = (source) => {
|
|
99
|
-
const config = resolveAgentSkillConfig(source);
|
|
100
|
-
return Object.keys(config).filter((slug) => config[slug] === "required");
|
|
101
|
-
};
|
|
102
|
-
var resolveAgentRecommendedSkillNames = (source, lookup) => {
|
|
103
|
-
const config = resolveAgentSkillConfig(source);
|
|
104
|
-
const resolve = lookup ?? defaultSkillTitleLookup;
|
|
105
|
-
const seen = /* @__PURE__ */ new Set();
|
|
106
|
-
const out = [];
|
|
107
|
-
const push = (slug) => {
|
|
108
|
-
const title = resolve(slug)?.title || slug;
|
|
109
|
-
if (seen.has(title)) return;
|
|
110
|
-
seen.add(title);
|
|
111
|
-
out.push(title);
|
|
112
|
-
};
|
|
113
|
-
for (const slug of Object.keys(config)) {
|
|
114
|
-
if (config[slug] !== "recommended") continue;
|
|
115
|
-
push(slug);
|
|
116
|
-
}
|
|
117
|
-
for (const slug of DEFAULT_RECOMMENDED_SKILL_SLUGS) {
|
|
118
|
-
if (Object.hasOwn(config, slug)) continue;
|
|
119
|
-
push(slug);
|
|
120
|
-
}
|
|
121
|
-
return out;
|
|
122
|
-
};
|
|
123
|
-
var defaultSkillTitleLookup = (slug) => {
|
|
124
|
-
const cap = resolveBuiltinCapability(slug);
|
|
125
|
-
if (cap) return { title: cap.title };
|
|
126
|
-
const skill = resolveBuiltinSkillEntry(slug);
|
|
127
|
-
return skill ? { title: skill.title } : null;
|
|
128
|
-
};
|
|
129
|
-
var isAgentSkillDisabled = (source, slug) => resolveAgentSkillConfig(source)[slug] === "disabled";
|
|
130
|
-
|
|
131
|
-
export {
|
|
132
|
-
collectInvalidAgentSkillModes,
|
|
133
|
-
describeAgentSkillModeValue,
|
|
134
|
-
formatInvalidAgentSkillModeMessage,
|
|
135
|
-
isAgentSkillModesFieldShapeValid,
|
|
136
|
-
formatInvalidAgentSkillModesFieldMessage,
|
|
137
|
-
resolveAgentSkillConfig,
|
|
138
|
-
collectAgentSkillConfigIssues,
|
|
139
|
-
resolveAgentRequiredPackIds,
|
|
140
|
-
resolveAgentRecommendedSkillNames,
|
|
141
|
-
isAgentSkillDisabled
|
|
142
|
-
};
|