@qwen-code/qwen-code 0.20.2-headless-image-routing.0 → 0.20.2-jobbench-no-todo-write.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/chunks/{MaxSizedBox-CPK6I4JU.js → MaxSizedBox-HNWBEL5H.js} +10 -11
- package/chunks/{StandaloneSessionPicker-PUIA43XY.js → StandaloneSessionPicker-WBRBHD2M.js} +24 -25
- package/chunks/{acpAgent-ROZXDEW6.js → acpAgent-BBQZ33CA.js} +53 -54
- package/chunks/{agent-WAVPSQSS.js → agent-KTMY6SF3.js} +8 -9
- package/chunks/{agent-headless-74QWTN6L.js → agent-headless-HJ56ZZOW.js} +8 -9
- package/chunks/{bridge-A3IPRSLU.js → bridge-AMC5AD7W.js} +12 -13
- package/chunks/{build-GHIZ4MSZ.js → build-SSCNEHZZ.js} +1 -1
- package/chunks/{channel-worker-group-QZV2SP5U.js → channel-worker-group-LFBT7K64.js} +3 -3
- package/chunks/{channel-worker-manager-3GMAU45H.js → channel-worker-manager-3RUPERG2.js} +3 -3
- package/chunks/{channel-worker-supervisor-QCXSXCRY.js → channel-worker-supervisor-A3KVATD3.js} +2 -2
- package/chunks/{chunk-YBXY5Y3K.js → chunk-26CBI4DC.js} +25 -25
- package/chunks/{chunk-6YYPJBKS.js → chunk-32L4D2O2.js} +1 -1
- package/chunks/{chunk-5KDE7KYN.js → chunk-3BJDQVE6.js} +1 -1
- package/chunks/{chunk-MGHZQY43.js → chunk-3EHJ44GG.js} +1 -1
- package/chunks/{chunk-JIULOPXR.js → chunk-3F2JUWCH.js} +1 -1
- package/chunks/{chunk-NRRVUQS4.js → chunk-3G3UUMRS.js} +1 -1
- package/chunks/{chunk-2DGZGT4I.js → chunk-42W5BDEY.js} +3 -3
- package/chunks/{chunk-2QEYXQY4.js → chunk-45PO6ZIS.js} +3 -3
- package/chunks/{chunk-PJSM24XR.js → chunk-4MWNZNJ4.js} +4 -4
- package/chunks/{chunk-H4EI3IE7.js → chunk-4SCOLXTD.js} +4 -4
- package/chunks/{chunk-MYNMIELG.js → chunk-5WDRI7US.js} +2 -2
- package/chunks/{chunk-ZMBWA2ZY.js → chunk-5XORMWA2.js} +4 -4
- package/chunks/{chunk-GGMU7ESO.js → chunk-63DJBU32.js} +19 -53
- package/chunks/{chunk-SP5WRGVG.js → chunk-64EG42HV.js} +1 -1
- package/chunks/{chunk-VH7AN6R6.js → chunk-64XKYOXK.js} +1 -1
- package/chunks/{chunk-QIDWNN65.js → chunk-6FZYKBKV.js} +1 -1
- package/chunks/{chunk-STJNEKSB.js → chunk-6NRFYMKG.js} +6 -6
- package/chunks/{chunk-7LPBIM25.js → chunk-6S5HSCOI.js} +3 -3
- package/chunks/{chunk-MQGVHOSR.js → chunk-6VPLV3L3.js} +2 -2
- package/chunks/{chunk-FPUSU3FS.js → chunk-77OZOGPT.js} +1 -1
- package/chunks/{chunk-FKH6IJVL.js → chunk-7MWABCXU.js} +2 -2
- package/chunks/{chunk-2OYJGGJP.js → chunk-7PIL2BYF.js} +4 -4
- package/chunks/{chunk-WDXE6PYV.js → chunk-7SSWNGEJ.js} +2 -2
- package/chunks/{chunk-QJ5OOQAU.js → chunk-7TLUW4ZE.js} +3 -3
- package/chunks/{chunk-QBUDF33N.js → chunk-7VUQQBR7.js} +64 -1
- package/chunks/{chunk-WSJV2PV5.js → chunk-7ZD5EKXE.js} +1 -1
- package/chunks/{chunk-MR32FTT5.js → chunk-ACQJPDDS.js} +7 -7
- package/chunks/{chunk-M3FNCPFA.js → chunk-ACZIBDYD.js} +24 -24
- package/chunks/{chunk-DYV7CIWU.js → chunk-AHX6AKPD.js} +1 -1
- package/chunks/{chunk-XWGVNYYI.js → chunk-B2HSPMD4.js} +9 -9
- package/chunks/{chunk-PLVICOQK.js → chunk-B3I77W5J.js} +3 -3
- package/chunks/{chunk-GAQPY2C5.js → chunk-CGIDQG6J.js} +1 -1
- package/chunks/{chunk-VVPHBIAZ.js → chunk-CI3GWKGJ.js} +1 -1
- package/chunks/{chunk-VCJ5EJRK.js → chunk-CJQ3FZ2G.js} +2 -2
- package/chunks/{chunk-S6PGTUT3.js → chunk-CXIOPXRR.js} +3 -3
- package/chunks/{chunk-DNBEZRSH.js → chunk-GN45XAAU.js} +1 -1
- package/chunks/{chunk-RGQSYME5.js → chunk-GSX6P2JW.js} +1 -1
- package/chunks/{chunk-SVUKZKGO.js → chunk-H4A4A2SY.js} +4 -4
- package/chunks/{chunk-KBRGKSOR.js → chunk-HABKX6LY.js} +1 -1
- package/chunks/{chunk-7LGIFLJS.js → chunk-IWALV67J.js} +382 -930
- package/chunks/{chunk-X3WYTVQZ.js → chunk-JK26TQON.js} +2 -2
- package/chunks/{chunk-SOYT56ML.js → chunk-K7EUPLIP.js} +8 -8
- package/chunks/{chunk-D3VPXCQO.js → chunk-KBB5O3JO.js} +4 -4
- package/chunks/{chunk-ACW3VNUE.js → chunk-KQQ757OQ.js} +1 -1
- package/chunks/{chunk-VF4PO5FU.js → chunk-L6U47G5P.js} +5 -5
- package/chunks/{chunk-MBJGCTLS.js → chunk-LVA5OHQO.js} +1 -1
- package/chunks/{chunk-FFFM6NJV.js → chunk-NEEB7UEN.js} +2 -1
- package/chunks/{chunk-7UCSMQMH.js → chunk-O32RMIMO.js} +1 -1
- package/chunks/{chunk-7T6EFZMS.js → chunk-P2BQZ7H7.js} +1 -1
- package/chunks/{chunk-YTWAWLS6.js → chunk-PLQODS7F.js} +3 -3
- package/chunks/{chunk-CMX2PQVL.js → chunk-RHYFF54J.js} +9 -9
- package/chunks/{chunk-WP6LZ4MJ.js → chunk-SRPZG4ER.js} +1 -1
- package/chunks/{chunk-6IC65F7C.js → chunk-SVIMKSEI.js} +4 -4
- package/chunks/{chunk-HIMIYFCP.js → chunk-SXPSOMQ4.js} +2 -2
- package/chunks/{chunk-N6NZ332R.js → chunk-TDDFEPBX.js} +1 -1
- package/chunks/{chunk-Q6457W3A.js → chunk-UHGNAWHK.js} +2 -2
- package/chunks/{chunk-IZUKQEXY.js → chunk-UMCULC5M.js} +1 -1
- package/chunks/{chunk-CZOS5SHZ.js → chunk-UTGFTJ2H.js} +1 -1
- package/chunks/{chunk-Y6SYQRQQ.js → chunk-V7WNRZL7.js} +1 -1
- package/chunks/{chunk-MKCM6UYK.js → chunk-WSYKDFYR.js} +3 -3
- package/chunks/{chunk-IK2WIHHP.js → chunk-XAGLQITN.js} +1 -1
- package/chunks/{chunk-KIXDPYKU.js → chunk-ZKBNRL6O.js} +27 -27
- package/chunks/{chunk-KL6CQ75X.js → chunk-ZPWJZHJ2.js} +3 -3
- package/chunks/{chunk-3YIV2VCL.js → chunk-ZUTM4LHM.js} +1 -1
- package/chunks/{computer-use-3TVSA54L.js → computer-use-RZ3UUWYW.js} +8 -9
- package/chunks/{config-utils-FYTBZLCJ.js → config-utils-SQUBZEQM.js} +1 -1
- package/chunks/{contextCommand-RG2MM5PD.js → contextCommand-PW4GINQU.js} +10 -11
- package/chunks/{create-sub-session-KIVO6TT5.js → create-sub-session-EQG73FT6.js} +8 -9
- package/chunks/{daemon-status-provider-BJJTMIDV.js → daemon-status-provider-3IWTBWQ3.js} +16 -17
- package/chunks/{earlyInputCapture-NYQKIV4B.js → earlyInputCapture-TYNI3B6E.js} +8 -9
- package/chunks/{edit-IOTOMN4X.js → edit-XRSKQPHQ.js} +8 -9
- package/chunks/{enter-worktree-35GDGWMB.js → enter-worktree-WAHCWE6I.js} +8 -9
- package/chunks/{enterPlanMode-X4NEBGDH.js → enterPlanMode-QIOYLDCF.js} +8 -9
- package/chunks/{environment-KFFOVPWY.js → environment-T3FXCDJI.js} +10 -11
- package/chunks/{errors-IZ7R5OI4.js → errors-QAWTJTAW.js} +10 -11
- package/chunks/{exit-worktree-535TK24V.js → exit-worktree-RHVTLX6T.js} +8 -9
- package/chunks/{exitPlanMode-HZ5HJCOD.js → exitPlanMode-UATOE2GQ.js} +8 -9
- package/chunks/{fast-path-BSDRID75.js → fast-path-J3RHOYSZ.js} +3 -3
- package/chunks/{fast-path-settings-DAOVFADC.js → fast-path-settings-XB3CPUJT.js} +2 -2
- package/chunks/{gemini-UWO57GGI.js → gemini-P72OGOH6.js} +45 -46
- package/chunks/{geminiContentGenerator-TQ5ZCTB4.js → geminiContentGenerator-F6EG5FXF.js} +1 -1
- package/chunks/{glob-CPQ43UDE.js → glob-WHASQZRX.js} +8 -9
- package/chunks/{grep-OBXWZT5D.js → grep-LS7AADJ3.js} +8 -9
- package/chunks/{handleAutoUpdate-DG6VI5J6.js → handleAutoUpdate-V5A3JHOG.js} +12 -13
- package/chunks/{i18n-2YRBDZWT.js → i18n-IMVASWIF.js} +9 -10
- package/chunks/{initializer-IP2DDAGE.js → initializer-JJLF5JCJ.js} +14 -15
- package/chunks/{installationInfo-7GTMJJ2V.js → installationInfo-LAWMHQAG.js} +9 -10
- package/chunks/{list-L2PQSGVO.js → list-L2ECB6UM.js} +17 -18
- package/chunks/{loadedSettingsAdapter-MMXSQWO4.js → loadedSettingsAdapter-RLMZ4Z3E.js} +14 -15
- package/chunks/{managed-npm-update-75EPQN3U.js → managed-npm-update-L6UY7OM7.js} +9 -10
- package/chunks/{mcp-BKLURHSY.js → mcp-E4O7Z6FO.js} +14 -15
- package/chunks/{monitor-L7V4QSQ5.js → monitor-DXYFB5QD.js} +8 -9
- package/chunks/{nonInteractiveCli-5YG5J4C4.js → nonInteractiveCli-GU2UKULE.js} +42 -45
- package/chunks/{notebook-edit-7TYQDSDD.js → notebook-edit-KGD7YJEA.js} +8 -9
- package/chunks/{openaiContentGenerator-337EHHTE.js → openaiContentGenerator-C74A2XAU.js} +2 -2
- package/chunks/{pidfile-G7PQ2P5H.js → pidfile-IWQWZNZV.js} +8 -9
- package/chunks/{processUtils-CX44WAP2.js → processUtils-GUT5B4R6.js} +2 -2
- package/chunks/{qwenContentGenerator-SYWFK5OL.js → qwenContentGenerator-PT46FQPA.js} +9 -10
- package/chunks/{qwenOAuth2-BXYGPV5P.js → qwenOAuth2-S7DZHUUU.js} +4 -4
- package/chunks/{read-file-37YQVCEY.js → read-file-ZOCXW4AD.js} +1 -1
- package/chunks/{resumeHistoryUtils-W2C7GY6G.js → resumeHistoryUtils-TJWRDE2L.js} +12 -13
- package/chunks/{ripGrep-WL2NQQFB.js → ripGrep-OFKAW2VE.js} +8 -9
- package/chunks/{run-qwen-serve-SLAWXYTD.js → run-qwen-serve-QO4PT5NV.js} +43 -43
- package/chunks/{runtime-FL6GKWRC.js → runtime-EOTXBUM6.js} +16 -17
- package/chunks/{scheduler-AWSFTIJK.js → scheduler-MAIQ2PHR.js} +8 -9
- package/chunks/{serve-RL6OJAXK.js → serve-UB4CF67Q.js} +14 -15
- package/chunks/{server-ANUZOEU6.js → server-CBCC3XQC.js} +62 -63
- package/chunks/{session-QVFFZWY5.js → session-RQUEFQDL.js} +43 -44
- package/chunks/{settings-LCTEYRIB.js → settings-QHXCJDSR.js} +16 -17
- package/chunks/{shell-6I6RUFMO.js → shell-RPK7EAOC.js} +8 -9
- package/chunks/{skill-6H7VKWST.js → skill-WHSGTGKP.js} +2 -3
- package/chunks/{spawnChannel-3PKMXS5E.js → spawnChannel-IUP3ZNMT.js} +10 -11
- package/chunks/{src-RMIJ7356.js → src-F3HKX47D.js} +27 -28
- package/chunks/{standalone-update-HRFWNPD2.js → standalone-update-BKLONSVI.js} +10 -11
- package/chunks/{startInteractiveUI-A46LW75Y.js → startInteractiveUI-TNJ37X5W.js} +73 -74
- package/chunks/{team-create-EWJRLBNH.js → team-create-LUHJ7ZCC.js} +10 -11
- package/chunks/{team-plan-approval-VDU66ODQ.js → team-plan-approval-X3DYRL6L.js} +8 -9
- package/chunks/{theme-manager-7VBYGZY3.js → theme-manager-ALL7F4CJ.js} +8 -9
- package/chunks/{tool-search-54D47DON.js → tool-search-BAWOETUY.js} +1 -1
- package/chunks/{total-session-admission-S5A4LEAN.js → total-session-admission-PLONPNXI.js} +12 -13
- package/chunks/{trustedFolders-4MBS5K4P.js → trustedFolders-4UEOIKOF.js} +9 -10
- package/chunks/{update-relaunch-GX4HUHRX.js → update-relaunch-WDWABT5P.js} +5 -5
- package/chunks/{updateCheck-IYFPWHAG.js → updateCheck-PVROE4GR.js} +11 -12
- package/chunks/{useAutoAcceptIndicator-R4QRIXCB.js → useAutoAcceptIndicator-6BNLNN5S.js} +16 -17
- package/chunks/{validateNonInterActiveAuth-S4RK7CKV.js → validateNonInterActiveAuth-OKUE3JLF.js} +39 -40
- package/chunks/{version-OJJ2JHIP.js → version-GMUULLWB.js} +1 -1
- package/chunks/{web-fetch-BOUIZGFB.js → web-fetch-JBWTMPFN.js} +3 -3
- package/chunks/{web-search-4LAWHNNQ.js → web-search-27COJHJT.js} +3 -3
- package/chunks/{workflow-DLWGUSKG.js → workflow-5L37J7YF.js} +9 -10
- package/chunks/{workspace-providers-status-HC53BB36.js → workspace-providers-status-2U3IF4TX.js} +17 -18
- package/chunks/{workspace-registration-store-3BDRYY5Y.js → workspace-registration-store-TYPYXIP6.js} +1 -1
- package/chunks/{workspace-registry-K4KIR3YU.js → workspace-registry-DLQDDDIF.js} +12 -13
- package/chunks/{workspace-service-JONFMZJJ.js → workspace-service-7K3LF4QX.js} +19 -20
- package/chunks/{workspace-skills-status-TZ4GFSTK.js → workspace-skills-status-4DOZ3DBS.js} +15 -16
- package/chunks/{write-file-YLJZTILT.js → write-file-PTPXDKZ3.js} +8 -9
- package/cli.js +12 -12
- package/package.json +3 -3
- package/chunks/chunk-NABLFI57.js +0 -82
- package/chunks/todoWrite-KRAUN54W.js +0 -358
- package/chunks/{chunk-H24SOJIQ.js → chunk-D7WXIW7H.js} +3 -3
- package/chunks/{chunk-GHRSKGHF.js → chunk-GPMVHZP4.js} +0 -0
- package/chunks/{chunk-5G3ZVADU.js → chunk-NXE6SQIV.js} +3 -3
- package/chunks/{chunk-PEJWA3QQ.js → chunk-QZJY47IE.js} +5 -5
|
@@ -25,14 +25,14 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
use_stdin_default,
|
|
27
27
|
use_stdout_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NEEB7UEN.js";
|
|
29
29
|
import {
|
|
30
30
|
require_react
|
|
31
31
|
} from "./chunk-5QWWOFGG.js";
|
|
32
32
|
import {
|
|
33
33
|
KittySequenceOverflowEvent,
|
|
34
34
|
logKittySequenceOverflow
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-H4A4A2SY.js";
|
|
36
36
|
import {
|
|
37
37
|
createDebugLogger
|
|
38
38
|
} from "./chunk-OQB4EXO4.js";
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-RS7MT2QG.js";
|
|
6
6
|
import {
|
|
7
7
|
t
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V7WNRZL7.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchGitDiff,
|
|
11
11
|
findProviderByCredentials,
|
|
12
12
|
resolveMetadataKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IWALV67J.js";
|
|
14
14
|
import {
|
|
15
15
|
init_esbuild_shims
|
|
16
16
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
loadSettings
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RHYFF54J.js";
|
|
6
6
|
import {
|
|
7
7
|
getCurrentLanguage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V7WNRZL7.js";
|
|
9
9
|
import {
|
|
10
10
|
isWorkspaceTrusted
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CGIDQG6J.js";
|
|
12
12
|
import {
|
|
13
13
|
require_strip_json_comments
|
|
14
14
|
} from "./chunk-ALGGS7UH.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
hashMcpServerConfig,
|
|
27
27
|
isGatedMcpScope,
|
|
28
28
|
normalizeClaudeMcpServer
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-IWALV67J.js";
|
|
30
30
|
import {
|
|
31
31
|
atomicWriteFile
|
|
32
32
|
} from "./chunk-6X4GWOPW.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
JsonFormatter,
|
|
8
8
|
parseAndFormatApiError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IWALV67J.js";
|
|
10
10
|
import {
|
|
11
11
|
FatalBudgetExceededError,
|
|
12
12
|
FatalCancellationError,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-OQB4EXO4.js";
|
|
16
16
|
import {
|
|
17
17
|
runExitCleanup
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GSX6P2JW.js";
|
|
19
19
|
import {
|
|
20
20
|
init_esbuild_shims
|
|
21
21
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
functionResponsePartsToString
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-26CBI4DC.js";
|
|
6
6
|
import {
|
|
7
7
|
parseAndFormatApiError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IWALV67J.js";
|
|
9
9
|
import {
|
|
10
10
|
formatVisionBridgeNoticeDisplay,
|
|
11
11
|
isVisionBridgeNoticeDisplay
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-H4A4A2SY.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|
|
15
15
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -456,6 +456,68 @@ function detectTodoChanges(oldTodos, newTodos) {
|
|
|
456
456
|
}
|
|
457
457
|
__name(detectTodoChanges, "detectTodoChanges");
|
|
458
458
|
|
|
459
|
+
// packages/core/src/hooks/registerSkillHooks.ts
|
|
460
|
+
init_esbuild_shims();
|
|
461
|
+
var debugLogger2 = createDebugLogger("SKILL_HOOKS");
|
|
462
|
+
function registerSkillHooks(sessionHooksManager, sessionId, skill) {
|
|
463
|
+
if (!skill.hooks) {
|
|
464
|
+
debugLogger2.debug(`Skill '${skill.name}' has no hooks to register`);
|
|
465
|
+
return 0;
|
|
466
|
+
}
|
|
467
|
+
const hooksSettings = skill.hooks;
|
|
468
|
+
let registeredCount = 0;
|
|
469
|
+
for (const eventName of Object.keys(hooksSettings)) {
|
|
470
|
+
const matchers = hooksSettings[eventName];
|
|
471
|
+
if (!matchers) continue;
|
|
472
|
+
for (const matcher of matchers) {
|
|
473
|
+
const matcherPattern = matcher.matcher || "";
|
|
474
|
+
for (const hook of matcher.hooks) {
|
|
475
|
+
if (hook.type === "function" /* Function */) {
|
|
476
|
+
debugLogger2.debug(
|
|
477
|
+
"Skipping function hook from skill (not supported in frontmatter)"
|
|
478
|
+
);
|
|
479
|
+
continue;
|
|
480
|
+
}
|
|
481
|
+
const hookConfig = prepareHookConfig(
|
|
482
|
+
hook,
|
|
483
|
+
skill.skillRoot
|
|
484
|
+
);
|
|
485
|
+
sessionHooksManager.addSessionHook(
|
|
486
|
+
sessionId,
|
|
487
|
+
eventName,
|
|
488
|
+
matcherPattern,
|
|
489
|
+
hookConfig,
|
|
490
|
+
{ skillRoot: skill.skillRoot }
|
|
491
|
+
);
|
|
492
|
+
registeredCount++;
|
|
493
|
+
debugLogger2.debug(
|
|
494
|
+
`Registered hook for ${eventName} with matcher '${matcherPattern}' from skill '${skill.name}'`
|
|
495
|
+
);
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
if (registeredCount > 0) {
|
|
500
|
+
debugLogger2.info(
|
|
501
|
+
`Registered ${registeredCount} hooks from skill '${skill.name}'`
|
|
502
|
+
);
|
|
503
|
+
}
|
|
504
|
+
return registeredCount;
|
|
505
|
+
}
|
|
506
|
+
__name(registerSkillHooks, "registerSkillHooks");
|
|
507
|
+
function prepareHookConfig(hook, skillRoot) {
|
|
508
|
+
if (hook.type === "command" && skillRoot) {
|
|
509
|
+
return {
|
|
510
|
+
...hook,
|
|
511
|
+
env: {
|
|
512
|
+
...hook.env,
|
|
513
|
+
QWEN_SKILL_ROOT: skillRoot
|
|
514
|
+
}
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
return hook;
|
|
518
|
+
}
|
|
519
|
+
__name(prepareHookConfig, "prepareHookConfig");
|
|
520
|
+
|
|
459
521
|
export {
|
|
460
522
|
HooksConfigSource,
|
|
461
523
|
HookEventName,
|
|
@@ -482,7 +544,8 @@ export {
|
|
|
482
544
|
PreCompactTrigger,
|
|
483
545
|
PostCompactTrigger,
|
|
484
546
|
AgentType,
|
|
485
|
-
detectTodoChanges
|
|
547
|
+
detectTodoChanges,
|
|
548
|
+
registerSkillHooks
|
|
486
549
|
};
|
|
487
550
|
/**
|
|
488
551
|
* @license
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
buildPermissionSettings
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3BJDQVE6.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveVoiceStreamConfig,
|
|
8
8
|
resolveVoiceTranscriptionConfig,
|
|
9
9
|
transcribeVoiceAudio
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LVA5OHQO.js";
|
|
11
11
|
import {
|
|
12
12
|
getVoiceSettingsScope,
|
|
13
13
|
isSelectableVoiceModel,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
readVoiceMode,
|
|
17
17
|
readVoiceModel,
|
|
18
18
|
resolveVoiceTransport
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7ZD5EKXE.js";
|
|
20
20
|
import {
|
|
21
21
|
WorkspacePermissionRulesSessionRequiredError,
|
|
22
22
|
WorkspaceSettingsPartialPersistError,
|
|
@@ -46,14 +46,14 @@ import {
|
|
|
46
46
|
createIdleWorkspaceProvidersStatus,
|
|
47
47
|
createIdleWorkspaceSkillsStatus,
|
|
48
48
|
mapDomainErrorToErrorKind
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-TDDFEPBX.js";
|
|
50
50
|
import {
|
|
51
51
|
getPersistScopeForModelSelection,
|
|
52
52
|
loadSettings
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-RHYFF54J.js";
|
|
54
54
|
import {
|
|
55
55
|
getWorkspaceTrustStatus
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-CGIDQG6J.js";
|
|
57
57
|
import {
|
|
58
58
|
writeStderrLine,
|
|
59
59
|
writeStderrLineSafe
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
ModelsConfig,
|
|
63
63
|
SkillManager,
|
|
64
64
|
require_yauzl
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-IWALV67J.js";
|
|
66
66
|
import {
|
|
67
67
|
Storage,
|
|
68
68
|
createDebugLogger
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
listCommand
|
|
5
|
-
} from "./chunk-PJSM24XR.js";
|
|
6
3
|
import {
|
|
7
4
|
ObservedChannelContactStore
|
|
8
5
|
} from "./chunk-4K7VDKAD.js";
|
|
@@ -20,15 +17,18 @@ import {
|
|
|
20
17
|
} from "./chunk-RXFQM6FQ.js";
|
|
21
18
|
import {
|
|
22
19
|
serveCommand
|
|
23
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CXIOPXRR.js";
|
|
21
|
+
import {
|
|
22
|
+
listCommand
|
|
23
|
+
} from "./chunk-4MWNZNJ4.js";
|
|
24
24
|
import {
|
|
25
25
|
getErrorMessage as getErrorMessage2
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7SSWNGEJ.js";
|
|
27
27
|
import {
|
|
28
28
|
collectProviderModelsForProtocol,
|
|
29
29
|
getAuthTypeFromEnv,
|
|
30
30
|
resolveCliGenerationConfig
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-42W5BDEY.js";
|
|
32
32
|
import {
|
|
33
33
|
resolvePath
|
|
34
34
|
} from "./chunk-QLJUC7TG.js";
|
|
@@ -46,23 +46,20 @@ import {
|
|
|
46
46
|
registerToolCallDispatch,
|
|
47
47
|
selectFirstModel,
|
|
48
48
|
sessionsPath
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-5XORMWA2.js";
|
|
50
50
|
import {
|
|
51
51
|
getExtensionManager,
|
|
52
52
|
requestChoicePluginNonInteractive,
|
|
53
53
|
requestConsentNonInteractive,
|
|
54
54
|
requestConsentOrFail,
|
|
55
55
|
resolveExtensionCommandScope
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-4SCOLXTD.js";
|
|
57
57
|
import {
|
|
58
58
|
parseChannelConfig
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-GPMVHZP4.js";
|
|
60
60
|
import {
|
|
61
61
|
findCliEntryPath
|
|
62
62
|
} from "./chunk-V6WHFGST.js";
|
|
63
|
-
import {
|
|
64
|
-
canonicalizeWorkspace
|
|
65
|
-
} from "./chunk-2RFKHEXL.js";
|
|
66
63
|
import {
|
|
67
64
|
CHANNEL_DAEMON_WORKER_SENTINEL,
|
|
68
65
|
CHANNEL_WORKER_HEARTBEAT_INTERVAL_MS,
|
|
@@ -113,33 +110,36 @@ import {
|
|
|
113
110
|
assembleMcpServers,
|
|
114
111
|
getPendingGatedMcpServers,
|
|
115
112
|
mcpCommand
|
|
116
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-7PIL2BYF.js";
|
|
117
114
|
import {
|
|
118
115
|
loadSettings
|
|
119
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-RHYFF54J.js";
|
|
120
117
|
import {
|
|
121
118
|
detectSystemLanguage,
|
|
122
119
|
getCurrentLanguage,
|
|
123
120
|
initializeI18n,
|
|
124
121
|
resolveLanguageSetting,
|
|
125
122
|
t
|
|
126
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-V7WNRZL7.js";
|
|
127
124
|
import {
|
|
128
125
|
loadEnvironment
|
|
129
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-UTGFTJ2H.js";
|
|
127
|
+
import {
|
|
128
|
+
canonicalizeWorkspace
|
|
129
|
+
} from "./chunk-2RFKHEXL.js";
|
|
130
130
|
import {
|
|
131
131
|
hideBin,
|
|
132
132
|
yargs_default
|
|
133
133
|
} from "./chunk-XFSFZCM5.js";
|
|
134
134
|
import {
|
|
135
135
|
getCliVersion
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-3F2JUWCH.js";
|
|
137
137
|
import {
|
|
138
138
|
getPackageJson
|
|
139
139
|
} from "./chunk-VJNBRRZG.js";
|
|
140
140
|
import {
|
|
141
141
|
isWorkspaceTrusted
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-CGIDQG6J.js";
|
|
143
143
|
import {
|
|
144
144
|
require_strip_json_comments
|
|
145
145
|
} from "./chunk-ALGGS7UH.js";
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
unquoteCStylePath,
|
|
181
181
|
updateChannelMemoryEntry,
|
|
182
182
|
updateSetting
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-IWALV67J.js";
|
|
184
184
|
import {
|
|
185
185
|
nextFireTime,
|
|
186
186
|
parseCron
|
|
@@ -190,7 +190,7 @@ import {
|
|
|
190
190
|
getAllGeminiMdFilenames,
|
|
191
191
|
resolveTelemetrySettings,
|
|
192
192
|
setGeminiMdFilename
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-H4A4A2SY.js";
|
|
194
194
|
import {
|
|
195
195
|
isTlsVerificationDisabled
|
|
196
196
|
} from "./chunk-CBOQ3HY7.js";
|
|
@@ -10777,10 +10777,10 @@ var updateCommand3 = {
|
|
|
10777
10777
|
stdioHelpers,
|
|
10778
10778
|
{ updateEventEmitter }
|
|
10779
10779
|
] = await Promise.all([
|
|
10780
|
-
import("./settings-
|
|
10781
|
-
import("./updateCheck-
|
|
10782
|
-
import("./installationInfo-
|
|
10783
|
-
import("./standalone-update-
|
|
10780
|
+
import("./settings-QHXCJDSR.js"),
|
|
10781
|
+
import("./updateCheck-PVROE4GR.js"),
|
|
10782
|
+
import("./installationInfo-LAWMHQAG.js"),
|
|
10783
|
+
import("./standalone-update-BKLONSVI.js"),
|
|
10784
10784
|
import("./stdioHelpers-HGIYTWAY.js"),
|
|
10785
10785
|
import("./updateEventEmitter-5MKC7BLQ.js")
|
|
10786
10786
|
]);
|
|
@@ -563,7 +563,7 @@ var WorkspaceRegistrationStore = class {
|
|
|
563
563
|
return removed;
|
|
564
564
|
}
|
|
565
565
|
async update(mutate) {
|
|
566
|
-
const { atomicWriteFile } = await import("./src-
|
|
566
|
+
const { atomicWriteFile } = await import("./src-F3HKX47D.js");
|
|
567
567
|
return withInProcessLock(this.filePath, async () => {
|
|
568
568
|
const lock = await acquireFileLock(this.filePath);
|
|
569
569
|
let committed = false;
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
appEvents
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ACZIBDYD.js";
|
|
6
6
|
import {
|
|
7
7
|
CUSTOM_SANDBOX_IMAGE_ENV_VAR,
|
|
8
8
|
HOST_UPDATE_RELAUNCH_ENV_VAR,
|
|
9
9
|
SKIP_UPDATE_CHECK_ENV_VAR,
|
|
10
10
|
requestUpdateOnExit
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-O32RMIMO.js";
|
|
12
12
|
import {
|
|
13
13
|
loadUndici
|
|
14
14
|
} from "./chunk-3Z43GZUQ.js";
|
|
15
15
|
import {
|
|
16
16
|
IdeClient,
|
|
17
17
|
getAllProviderBaseUrls
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IWALV67J.js";
|
|
19
19
|
import {
|
|
20
20
|
detectRuntime,
|
|
21
21
|
getOrCreateSharedDispatcher,
|
|
@@ -231,11 +231,11 @@ function startPostRenderPrefetches(config, settings, options = {}) {
|
|
|
231
231
|
{ updateEventEmitter },
|
|
232
232
|
{ t }
|
|
233
233
|
] = await Promise.all([
|
|
234
|
-
import("./updateCheck-
|
|
235
|
-
import("./handleAutoUpdate-
|
|
236
|
-
import("./installationInfo-
|
|
234
|
+
import("./updateCheck-PVROE4GR.js"),
|
|
235
|
+
import("./handleAutoUpdate-V5A3JHOG.js"),
|
|
236
|
+
import("./installationInfo-LAWMHQAG.js"),
|
|
237
237
|
import("./updateEventEmitter-5MKC7BLQ.js"),
|
|
238
|
-
import("./i18n-
|
|
238
|
+
import("./i18n-IMVASWIF.js")
|
|
239
239
|
]);
|
|
240
240
|
const updateCheckSkippedMessage = /* @__PURE__ */ __name((error) => t("Update check skipped ({{reason}}) \u2014 run /update to retry.", {
|
|
241
241
|
reason: describeUpdateCheckFailure(error)
|
|
@@ -308,7 +308,7 @@ ${t(
|
|
|
308
308
|
state: "connecting"
|
|
309
309
|
});
|
|
310
310
|
try {
|
|
311
|
-
const { connectIdeForStartup } = await import("./initializer-
|
|
311
|
+
const { connectIdeForStartup } = await import("./initializer-JJLF5JCJ.js");
|
|
312
312
|
await withTimeout(
|
|
313
313
|
connectIdeForStartup(config),
|
|
314
314
|
"ide_connect",
|
|
@@ -332,7 +332,7 @@ ${t(
|
|
|
332
332
|
}
|
|
333
333
|
if (config.isInteractive()) {
|
|
334
334
|
runDeferredTask("background_housekeeping", async () => {
|
|
335
|
-
const { startBackgroundHousekeeping } = await import("./scheduler-
|
|
335
|
+
const { startBackgroundHousekeeping } = await import("./scheduler-MAIQ2PHR.js");
|
|
336
336
|
startBackgroundHousekeeping(config, settings);
|
|
337
337
|
});
|
|
338
338
|
}
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
} from "./chunk-2W3OOD4W.js";
|
|
6
6
|
import {
|
|
7
7
|
STATUS_SCHEMA_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TDDFEPBX.js";
|
|
9
9
|
import {
|
|
10
10
|
loadSettings
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RHYFF54J.js";
|
|
12
12
|
import {
|
|
13
13
|
writeStderrLine
|
|
14
14
|
} from "./chunk-OWAK7LMW.js";
|
|
15
15
|
import {
|
|
16
16
|
SkillManager,
|
|
17
17
|
isSafeModeEnv
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IWALV67J.js";
|
|
19
19
|
import {
|
|
20
20
|
init_esbuild_shims
|
|
21
21
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
} from "./chunk-E5Z2AVNV.js";
|
|
6
6
|
import {
|
|
7
7
|
getCliVersion
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3F2JUWCH.js";
|
|
9
9
|
import {
|
|
10
10
|
IdeClient
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IWALV67J.js";
|
|
12
12
|
import {
|
|
13
13
|
createDebugLogger
|
|
14
14
|
} from "./chunk-OQB4EXO4.js";
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
} from "./chunk-TJTKSVIV.js";
|
|
15
15
|
import {
|
|
16
16
|
loadSettings
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RHYFF54J.js";
|
|
18
18
|
import {
|
|
19
19
|
writeStderrLine
|
|
20
20
|
} from "./chunk-OWAK7LMW.js";
|
|
21
21
|
import {
|
|
22
22
|
MCP_BUDGET_WARN_FRACTION
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IWALV67J.js";
|
|
24
24
|
import {
|
|
25
25
|
parsePositiveIntegerEnv
|
|
26
26
|
} from "./chunk-6PVPNMXU.js";
|
|
@@ -302,7 +302,7 @@ var serveCommand = {
|
|
|
302
302
|
process.exit(1);
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
const { runQwenServe } = await import("./run-qwen-serve-
|
|
305
|
+
const { runQwenServe } = await import("./run-qwen-serve-QO4PT5NV.js");
|
|
306
306
|
try {
|
|
307
307
|
const handle = await runQwenServe({
|
|
308
308
|
port: argv.port,
|
|
@@ -64,7 +64,7 @@ async function runExitCleanup(options = {}) {
|
|
|
64
64
|
}
|
|
65
65
|
__name(runExitCleanup, "runExitCleanup");
|
|
66
66
|
async function cleanupCheckpoints() {
|
|
67
|
-
const { Storage } = await import("./src-
|
|
67
|
+
const { Storage } = await import("./src-F3HKX47D.js");
|
|
68
68
|
const storage = new Storage(process.cwd());
|
|
69
69
|
const tempDir = storage.getProjectTempDir();
|
|
70
70
|
const checkpointsDir = join(tempDir, "checkpoints");
|
|
@@ -16719,11 +16719,11 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
16719
16719
|
let baseGenerator;
|
|
16720
16720
|
try {
|
|
16721
16721
|
if (authType === "openai" /* USE_OPENAI */) {
|
|
16722
|
-
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-
|
|
16722
|
+
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-C74A2XAU.js");
|
|
16723
16723
|
baseGenerator = createOpenAIContentGenerator(generatorConfig, config);
|
|
16724
16724
|
} else if (authType === "qwen-oauth" /* QWEN_OAUTH */) {
|
|
16725
|
-
const { getQwenOAuthClient: getQwenOauthClient } = await import("./qwenOAuth2-
|
|
16726
|
-
const { QwenContentGenerator } = await import("./qwenContentGenerator-
|
|
16725
|
+
const { getQwenOAuthClient: getQwenOauthClient } = await import("./qwenOAuth2-S7DZHUUU.js");
|
|
16726
|
+
const { QwenContentGenerator } = await import("./qwenContentGenerator-PT46FQPA.js");
|
|
16727
16727
|
try {
|
|
16728
16728
|
const qwenClient = await getQwenOauthClient(
|
|
16729
16729
|
config,
|
|
@@ -16744,7 +16744,7 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
16744
16744
|
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-HGWAHO24.js");
|
|
16745
16745
|
baseGenerator = createAnthropicContentGenerator(generatorConfig, config);
|
|
16746
16746
|
} else if (authType === "gemini" /* USE_GEMINI */ || authType === "vertex-ai" /* USE_VERTEX_AI */) {
|
|
16747
|
-
const { createGeminiContentGenerator } = await import("./geminiContentGenerator-
|
|
16747
|
+
const { createGeminiContentGenerator } = await import("./geminiContentGenerator-F6EG5FXF.js");
|
|
16748
16748
|
baseGenerator = createGeminiContentGenerator(generatorConfig, config);
|
|
16749
16749
|
} else {
|
|
16750
16750
|
throw new Error(
|