@qwen-code/qwen-code 0.18.0-preview.2 → 0.18.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/bundled/qc-helper/docs/_meta.ts +1 -0
- package/bundled/qc-helper/docs/configuration/settings.md +3 -5
- package/bundled/qc-helper/docs/features/approval-mode.md +10 -14
- package/bundled/qc-helper/docs/features/commands.md +33 -11
- package/bundled/qc-helper/docs/features/followup-suggestions.md +2 -2
- package/bundled/qc-helper/docs/features/sub-agents.md +32 -11
- package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +221 -0
- package/bundled/qc-helper/docs/qwen-serve.md +234 -24
- package/chunks/{agent-QB7TZ4HW.js → agent-LOTJK6AH.js} +23 -23
- package/chunks/{agent-headless-APVHH7QM.js → agent-headless-TU3EPMYU.js} +23 -23
- package/chunks/{anthropicContentGenerator-M45EVVRM.js → anthropicContentGenerator-2HBRNQ3B.js} +7 -7
- package/chunks/{askUserQuestion-WM2KHM3K.js → askUserQuestion-OGCMIBQM.js} +45 -3
- package/chunks/{chunk-MVIVIPCU.js → chunk-2Y5SYSD3.js} +361 -583
- package/chunks/chunk-3DHXZ6EV.js +241 -0
- package/chunks/{chunk-JVQOQ3OU.js → chunk-3HTIVKZE.js} +1 -1
- package/chunks/{chunk-BNESGOSJ.js → chunk-55ZMG67I.js} +1 -1
- package/chunks/{chunk-ZK4AMNIU.js → chunk-6YIUGZTC.js} +1041 -210
- package/chunks/{chunk-C6WMLUNB.js → chunk-72LDN5PP.js} +1 -1
- package/chunks/{chunk-AVW55ZCO.js → chunk-7BCMOPIM.js} +11 -9
- package/chunks/{chunk-JUGRPQAB.js → chunk-A7B4ISQP.js} +1 -1
- package/chunks/{chunk-UAMOBVVW.js → chunk-B7HXHOHU.js} +1 -1
- package/chunks/{chunk-CNSMKPK6.js → chunk-BIVG75CP.js} +1 -1
- package/chunks/{chunk-LR62TEET.js → chunk-EYENRK4D.js} +1 -1
- package/chunks/{chunk-SZOEIL6S.js → chunk-H6BD2ELD.js} +1 -0
- package/chunks/{chunk-PAEBHDIO.js → chunk-HLPLOD42.js} +1 -1
- package/chunks/{chunk-JXAZUMDW.js → chunk-HR7SV7AY.js} +1 -2
- package/chunks/{chunk-P4J26VDS.js → chunk-IDX6COTE.js} +2 -2
- package/chunks/{chunk-QCG6KPNM.js → chunk-IWAYOW5Q.js} +14760 -10735
- package/chunks/{chunk-HGJPQK33.js → chunk-J5MDQKJL.js} +518 -519
- package/chunks/{chunk-USE2VQ5P.js → chunk-JTQAQBTV.js} +21 -0
- package/chunks/{chunk-HXJE7VOG.js → chunk-LBP46COL.js} +1001 -139
- package/chunks/{chunk-NW5QBUYO.js → chunk-LEJ42GNY.js} +14 -14
- package/chunks/{chunk-Y7R6H6FT.js → chunk-M6VTDSVR.js} +1 -1
- package/chunks/{chunk-CNHFPN7T.js → chunk-MFBBBTNY.js} +1 -1
- package/chunks/{chunk-ICOI4E4S.js → chunk-OHEGWO4L.js} +101 -23
- package/chunks/{chunk-7YKXFA3D.js → chunk-PL3MVCWD.js} +5 -5
- package/chunks/chunk-QQDPRDVW.js +25 -0
- package/chunks/{chunk-HV3ZZ7G4.js → chunk-R7ODSGTK.js} +2 -2
- package/chunks/{chunk-GX7VH5JQ.js → chunk-SEGYWKIH.js} +1 -1
- package/chunks/{chunk-KC6ZMJ5X.js → chunk-SNGELLWX.js} +1 -1
- package/chunks/chunk-XBY7E2FX.js +605 -0
- package/chunks/{chunk-2ZTWI7KH.js → chunk-XV4HCEVI.js} +22 -1
- package/chunks/{chunk-WFVXF3OM.js → chunk-Z2Z3GUXZ.js} +1 -0
- package/chunks/{chunk-CWV3SJZS.js → chunk-ZTZ4DDQE.js} +2 -2
- package/chunks/{computer-use-B7VIUI7F.js → computer-use-3RH2DOM6.js} +23 -23
- package/chunks/contextCommand-K347QT6O.js +52 -0
- package/chunks/{cron-create-FI5LJVUS.js → cron-create-YJL3KFWI.js} +3 -3
- package/chunks/{cron-delete-ZGUXWBTG.js → cron-delete-WKWSJZQA.js} +3 -3
- package/chunks/{cron-list-QNNZGMN3.js → cron-list-B52XEXAZ.js} +3 -3
- package/chunks/{devtools-IXE4UP72.js → devtools-FM6GJPYG.js} +1 -1
- package/chunks/{dist-R2SXPG74.js → dist-4LXD6L6X.js} +2 -2
- package/chunks/{dist-TE5QKMGR.js → dist-H6ONXVLG.js} +1 -1
- package/chunks/{dist-ZMQ4TXD5.js → dist-KAZ3SEBX.js} +2 -2
- package/chunks/{dist-BXDUQ2QY.js → dist-PK7DFCAW.js} +1 -1
- package/chunks/{edit-6UBTS2J5.js → edit-KU4PJGEX.js} +24 -24
- package/chunks/{en-HSQQNQUB.js → en-DHGYHIHX.js} +4 -0
- package/chunks/{enter-worktree-NN7LIXCM.js → enter-worktree-PPYIDCWI.js} +23 -23
- package/chunks/enterPlanMode-5CZDMCB4.js +158 -0
- package/chunks/{exit-worktree-GGSS5KIE.js → exit-worktree-UY3CGHKC.js} +23 -23
- package/chunks/exitPlanMode-3DN4QNSG.js +703 -0
- package/chunks/{geminiContentGenerator-I4H2NLJG.js → geminiContentGenerator-7A6I2RWB.js} +7 -7
- package/chunks/{getMachineId-bsd-F7GNPTER.js → getMachineId-bsd-4CASPIU4.js} +1 -1
- package/chunks/{getMachineId-darwin-T73DJL27.js → getMachineId-darwin-HPQPEMZR.js} +1 -1
- package/chunks/{getMachineId-linux-MKQTFPQM.js → getMachineId-linux-AUARKYHL.js} +1 -1
- package/chunks/{getMachineId-unsupported-MUR5KOQE.js → getMachineId-unsupported-S32ZDA2T.js} +1 -1
- package/chunks/{getMachineId-win-CDYFC6ZM.js → getMachineId-win-4EFLHYIJ.js} +1 -1
- package/chunks/{glob-OLCX57MD.js → glob-OFNQSS52.js} +23 -23
- package/chunks/{grep-7HXIMDOW.js → grep-6J2MSUM5.js} +26 -23
- package/chunks/{keychain-token-storage-LB46DAEK.js → keychain-token-storage-6IU6ORQN.js} +3 -3
- package/chunks/{ls-6PEZUK6O.js → ls-V3O6A5PT.js} +4 -4
- package/chunks/{lsp-JZSJOVT7.js → lsp-G2OCIFUA.js} +3 -3
- package/chunks/{monitor-SQO7MVAV.js → monitor-FKLHV423.js} +23 -23
- package/chunks/{notebook-edit-72L3EBAL.js → notebook-edit-KTBYFKWG.js} +24 -24
- package/chunks/{openaiContentGenerator-FTR7CDWF.js → openaiContentGenerator-L5KSWQY7.js} +15 -15
- package/chunks/{qwenContentGenerator-U5UFQ566.js → qwenContentGenerator-PYOXLMBW.js} +25 -25
- package/chunks/{qwenOAuth2-EFSECGHF.js → qwenOAuth2-2KCKWDCF.js} +6 -5
- package/chunks/{read-file-UA64EEQC.js → read-file-JQVRK4NU.js} +11 -11
- package/chunks/{ripGrep-WSYCWZVK.js → ripGrep-2L4LPNAJ.js} +23 -23
- package/chunks/{scheduler-VBASHOCA.js → scheduler-FGNXY4JQ.js} +23 -23
- package/chunks/{send-message-OYJZ5TPG.js → send-message-SZFWNOCL.js} +3 -3
- package/chunks/{serve-A7E2OJDR.js → serve-N2IBLA3G.js} +13581 -4977
- package/chunks/{shell-3NFOT6F5.js → shell-PTEG6UX4.js} +23 -23
- package/chunks/{skill-RA5YUREY.js → skill-X4NTK4NH.js} +64 -113
- package/chunks/{src-NFCMARMT.js → src-GLLQ3R5W.js} +154 -38
- package/chunks/{syntheticOutput-DETQ2YM6.js → syntheticOutput-IKAY5F6X.js} +4 -4
- package/chunks/{task-create-Y3ZKTJIG.js → task-create-MQICOJFV.js} +7 -7
- package/chunks/{task-list-ONXJ3I3A.js → task-list-RIHJCH32.js} +6 -6
- package/chunks/{task-stop-UHDC4N5B.js → task-stop-FWZRFANS.js} +3 -3
- package/chunks/{task-update-TCNOU3P5.js → task-update-2LHPXOYM.js} +20 -9
- package/chunks/{team-create-6SR4OVRG.js → team-create-2E4PF4KN.js} +26 -25
- package/chunks/{team-delete-EJ4U4DDP.js → team-delete-DAUDQS4J.js} +8 -6
- package/chunks/{todoWrite-TEYDRS5L.js → todoWrite-HTUACZES.js} +5 -5
- package/chunks/{tool-search-OD435A3X.js → tool-search-KTVULRES.js} +11 -11
- package/chunks/{web-fetch-6W67H5PO.js → web-fetch-CZ7LLKPE.js} +5 -5
- package/chunks/{workflow-62DHH4EO.js → workflow-L2ZUUDT2.js} +268 -16
- package/chunks/{write-file-475L5OPP.js → write-file-ZEB2JDYH.js} +24 -24
- package/chunks/{zh-VCLWO26Y.js → zh-7H5OQC4I.js} +5 -1
- package/chunks/{zh-TW-G3HFHVVT.js → zh-TW-P4IDHD3M.js} +5 -1
- package/cli.js +5955 -3128
- package/examples/starter/QWEN.md +30 -0
- package/examples/starter/README.md +59 -0
- package/examples/starter/agents/diary.md +86 -0
- package/examples/starter/commands/writing/polish.md +13 -0
- package/examples/starter/example.ts +64 -0
- package/examples/starter/package.json +18 -0
- package/examples/starter/qwen-extension.json +12 -0
- package/examples/starter/skills/synonyms/SKILL.md +48 -0
- package/examples/starter/tsconfig.json +13 -0
- package/fzfWorker.js +1083 -0
- package/locales/en.js +6 -0
- package/locales/zh-TW.js +5 -0
- package/locales/zh.js +5 -0
- package/package.json +3 -2
- package/chunks/chunk-AJIR24J2.js +0 -59
- package/chunks/chunk-XBFVXFB2.js +0 -216
- package/chunks/contextCommand-63RZ3O5R.js +0 -52
- package/chunks/exitPlanMode-H323NHB2.js +0 -235
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
t
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PL3MVCWD.js";
|
|
6
6
|
import {
|
|
7
7
|
computeThresholds,
|
|
8
8
|
getCoreSystemPrompt
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IWAYOW5Q.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSkillLlmContent
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OHEGWO4L.js";
|
|
13
13
|
import {
|
|
14
14
|
DiscoveredMCPTool,
|
|
15
15
|
uiTelemetryService
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6YIUGZTC.js";
|
|
17
17
|
import {
|
|
18
18
|
ToolNames
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XV4HCEVI.js";
|
|
20
20
|
import {
|
|
21
21
|
DEFAULT_TOKEN_LIMIT
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-M6VTDSVR.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esbuild_shims
|
|
25
25
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -752,7 +752,7 @@ function fmtTokens(tokens) {
|
|
|
752
752
|
}
|
|
753
753
|
__name(fmtTokens, "fmtTokens");
|
|
754
754
|
function fmtCategoryRow(label, tokens, contextWindowSize, indent = " ") {
|
|
755
|
-
const percentage = (tokens / contextWindowSize * 100).toFixed(1);
|
|
755
|
+
const percentage = contextWindowSize > 0 ? (tokens / contextWindowSize * 100).toFixed(1) : "0.0";
|
|
756
756
|
const right = `${fmtTokens(tokens)} tokens (${percentage}%)`;
|
|
757
757
|
const leftPart = `${indent}${label}`;
|
|
758
758
|
const totalWidth = 56;
|
|
@@ -899,7 +899,8 @@ var contextCommand = {
|
|
|
899
899
|
kind: "built-in" /* BUILT_IN */,
|
|
900
900
|
supportedModes: ["interactive", "non_interactive", "acp"],
|
|
901
901
|
action: /* @__PURE__ */ __name(async (context, args) => {
|
|
902
|
-
const
|
|
902
|
+
const normalizedArgs = args?.trim().toLowerCase();
|
|
903
|
+
const showDetails = normalizedArgs === "detail" || normalizedArgs === "-d";
|
|
903
904
|
const executionMode = context.executionMode ?? "interactive";
|
|
904
905
|
const { config } = context.services;
|
|
905
906
|
if (!config) {
|
|
@@ -923,13 +924,12 @@ var contextCommand = {
|
|
|
923
924
|
if (executionMode === "interactive") {
|
|
924
925
|
context.ui.addItem(contextUsageItem, Date.now());
|
|
925
926
|
return;
|
|
926
|
-
} else {
|
|
927
|
-
return {
|
|
928
|
-
type: "message",
|
|
929
|
-
messageType: "info",
|
|
930
|
-
content: formatContextUsageText(contextUsageItem)
|
|
931
|
-
};
|
|
932
927
|
}
|
|
928
|
+
return {
|
|
929
|
+
type: "message",
|
|
930
|
+
messageType: "info",
|
|
931
|
+
content: formatContextUsageText(contextUsageItem)
|
|
932
|
+
};
|
|
933
933
|
}, "action"),
|
|
934
934
|
subCommands: [
|
|
935
935
|
{
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
createDebugLogger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HR7SV7AY.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esbuild_shims
|
|
8
8
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -10,6 +10,9 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-J2S4EL5Y.js";
|
|
12
12
|
|
|
13
|
+
// packages/core/src/tools/skill-utils.ts
|
|
14
|
+
init_esbuild_shims();
|
|
15
|
+
|
|
13
16
|
// packages/core/src/utils/xml.ts
|
|
14
17
|
init_esbuild_shims();
|
|
15
18
|
function escapeXml(text) {
|
|
@@ -85,6 +88,99 @@ function escapeSystemReminderTags(text) {
|
|
|
85
88
|
}
|
|
86
89
|
__name(escapeSystemReminderTags, "escapeSystemReminderTags");
|
|
87
90
|
|
|
91
|
+
// packages/core/src/tools/skill-utils.ts
|
|
92
|
+
function buildSkillLlmContent(baseDir, body) {
|
|
93
|
+
return `Base directory for this skill: ${baseDir}
|
|
94
|
+
Important: ALWAYS resolve absolute paths from this base directory when working with skills.
|
|
95
|
+
|
|
96
|
+
${body}
|
|
97
|
+
`;
|
|
98
|
+
}
|
|
99
|
+
__name(buildSkillLlmContent, "buildSkillLlmContent");
|
|
100
|
+
async function collectAvailableSkillEntries(skillManager, config) {
|
|
101
|
+
const allSkills = await skillManager.listSkills();
|
|
102
|
+
const disabledNames = config.getDisabledSkillNames();
|
|
103
|
+
const isDisabled = /* @__PURE__ */ __name((name) => disabledNames.has(name.toLowerCase()), "isDisabled");
|
|
104
|
+
const availableSkills = allSkills.filter(
|
|
105
|
+
(s) => !s.disableModelInvocation && skillManager.isSkillActive(s) && !isDisabled(s.name)
|
|
106
|
+
);
|
|
107
|
+
const pendingConditionalSkillNames = new Set(
|
|
108
|
+
allSkills.filter(
|
|
109
|
+
(s) => !s.disableModelInvocation && s.paths && s.paths.length > 0 && !skillManager.isSkillActive(s) && !isDisabled(s.name)
|
|
110
|
+
).map((s) => s.name)
|
|
111
|
+
);
|
|
112
|
+
const provider = config.getModelInvocableCommandsProvider();
|
|
113
|
+
const allCommands = provider ? provider() : [];
|
|
114
|
+
const fileBasedSkillNames = new Set(
|
|
115
|
+
allSkills.filter((s) => !s.disableModelInvocation && !isDisabled(s.name)).map((s) => s.name)
|
|
116
|
+
);
|
|
117
|
+
const modelInvocableCommands = allCommands.filter(
|
|
118
|
+
(cmd) => !fileBasedSkillNames.has(cmd.name)
|
|
119
|
+
);
|
|
120
|
+
const entries = [
|
|
121
|
+
...availableSkills.map((s) => ({
|
|
122
|
+
name: s.name,
|
|
123
|
+
description: s.description,
|
|
124
|
+
whenToUse: s.whenToUse,
|
|
125
|
+
level: s.level
|
|
126
|
+
})),
|
|
127
|
+
...modelInvocableCommands.map((c) => ({
|
|
128
|
+
name: c.name,
|
|
129
|
+
description: c.description
|
|
130
|
+
}))
|
|
131
|
+
];
|
|
132
|
+
return {
|
|
133
|
+
availableSkills,
|
|
134
|
+
pendingConditionalSkillNames,
|
|
135
|
+
modelInvocableCommands,
|
|
136
|
+
entries
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
__name(collectAvailableSkillEntries, "collectAvailableSkillEntries");
|
|
140
|
+
function compareSkillEntries(a, b) {
|
|
141
|
+
const aGroup = a.level !== void 0 ? 0 : 1;
|
|
142
|
+
const bGroup = b.level !== void 0 ? 0 : 1;
|
|
143
|
+
if (aGroup !== bGroup) return aGroup - bGroup;
|
|
144
|
+
return a.name.localeCompare(b.name);
|
|
145
|
+
}
|
|
146
|
+
__name(compareSkillEntries, "compareSkillEntries");
|
|
147
|
+
function renderAvailableSkillsBlock(entries) {
|
|
148
|
+
return [...entries].sort(compareSkillEntries).map((entry) => {
|
|
149
|
+
if (entry.level !== void 0) {
|
|
150
|
+
const descText = `${escapeXml(entry.description)}${entry.whenToUse ? ` \u2014 ${escapeXml(entry.whenToUse)}` : ""} (${entry.level})`;
|
|
151
|
+
return `<skill>
|
|
152
|
+
<name>
|
|
153
|
+
${escapeXml(entry.name)}
|
|
154
|
+
</name>
|
|
155
|
+
<description>
|
|
156
|
+
${descText}
|
|
157
|
+
</description>
|
|
158
|
+
<location>
|
|
159
|
+
${entry.level}
|
|
160
|
+
</location>
|
|
161
|
+
</skill>`;
|
|
162
|
+
}
|
|
163
|
+
return `<skill>
|
|
164
|
+
<name>
|
|
165
|
+
${escapeXml(entry.name)}
|
|
166
|
+
</name>
|
|
167
|
+
<description>
|
|
168
|
+
${escapeXml(entry.description)}
|
|
169
|
+
</description>
|
|
170
|
+
</skill>`;
|
|
171
|
+
}).join("\n");
|
|
172
|
+
}
|
|
173
|
+
__name(renderAvailableSkillsBlock, "renderAvailableSkillsBlock");
|
|
174
|
+
function applySkillAllowedTools(permissionManager, allowedTools) {
|
|
175
|
+
if (!permissionManager || !allowedTools?.length) {
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
for (const rule of allowedTools) {
|
|
179
|
+
permissionManager.addSessionAllowRule(rule);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
__name(applySkillAllowedTools, "applySkillAllowedTools");
|
|
183
|
+
|
|
88
184
|
// packages/core/src/hooks/registerSkillHooks.ts
|
|
89
185
|
init_esbuild_shims();
|
|
90
186
|
var debugLogger = createDebugLogger("SKILL_HOOKS");
|
|
@@ -147,32 +243,14 @@ function prepareHookConfig(hook, skillRoot) {
|
|
|
147
243
|
}
|
|
148
244
|
__name(prepareHookConfig, "prepareHookConfig");
|
|
149
245
|
|
|
150
|
-
// packages/core/src/tools/skill-utils.ts
|
|
151
|
-
init_esbuild_shims();
|
|
152
|
-
function buildSkillLlmContent(baseDir, body) {
|
|
153
|
-
return `Base directory for this skill: ${baseDir}
|
|
154
|
-
Important: ALWAYS resolve absolute paths from this base directory when working with skills.
|
|
155
|
-
|
|
156
|
-
${body}
|
|
157
|
-
`;
|
|
158
|
-
}
|
|
159
|
-
__name(buildSkillLlmContent, "buildSkillLlmContent");
|
|
160
|
-
function applySkillAllowedTools(permissionManager, allowedTools) {
|
|
161
|
-
if (!permissionManager || !allowedTools?.length) {
|
|
162
|
-
return;
|
|
163
|
-
}
|
|
164
|
-
for (const rule of allowedTools) {
|
|
165
|
-
permissionManager.addSessionAllowRule(rule);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
__name(applySkillAllowedTools, "applySkillAllowedTools");
|
|
169
|
-
|
|
170
246
|
export {
|
|
171
247
|
escapeXml,
|
|
172
248
|
escapeSystemReminderTags,
|
|
173
|
-
registerSkillHooks,
|
|
174
249
|
buildSkillLlmContent,
|
|
175
|
-
|
|
250
|
+
collectAvailableSkillEntries,
|
|
251
|
+
renderAvailableSkillsBlock,
|
|
252
|
+
applySkillAllowedTools,
|
|
253
|
+
registerSkillHooks
|
|
176
254
|
};
|
|
177
255
|
/**
|
|
178
256
|
* @license
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
resolveBundleDir
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IWAYOW5Q.js";
|
|
6
6
|
import {
|
|
7
7
|
Storage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HR7SV7AY.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esbuild_shims
|
|
11
11
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -171,13 +171,13 @@ init_esbuild_shims();
|
|
|
171
171
|
var globImport_locales_js = __glob({
|
|
172
172
|
"./locales/ca.js": () => import("./ca-BARBRL6N.js"),
|
|
173
173
|
"./locales/de.js": () => import("./de-YGKK2BC4.js"),
|
|
174
|
-
"./locales/en.js": () => import("./en-
|
|
174
|
+
"./locales/en.js": () => import("./en-DHGYHIHX.js"),
|
|
175
175
|
"./locales/fr.js": () => import("./fr-JXBKPJKQ.js"),
|
|
176
176
|
"./locales/ja.js": () => import("./ja-TGPZSP2B.js"),
|
|
177
177
|
"./locales/pt.js": () => import("./pt-TIBG6BIO.js"),
|
|
178
178
|
"./locales/ru.js": () => import("./ru-JBCHCK4L.js"),
|
|
179
|
-
"./locales/zh-TW.js": () => import("./zh-TW-
|
|
180
|
-
"./locales/zh.js": () => import("./zh-
|
|
179
|
+
"./locales/zh-TW.js": () => import("./zh-TW-P4IDHD3M.js"),
|
|
180
|
+
"./locales/zh.js": () => import("./zh-7H5OQC4I.js")
|
|
181
181
|
});
|
|
182
182
|
|
|
183
183
|
// packages/cli/src/i18n/index.ts
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
init_esbuild_shims
|
|
5
|
+
} from "./chunk-A4BMJM77.js";
|
|
6
|
+
|
|
7
|
+
// packages/core/src/plan-gate/types.ts
|
|
8
|
+
init_esbuild_shims();
|
|
9
|
+
var CAPPED_REVIEW_LIMIT = 5;
|
|
10
|
+
var MAX_AGENT_RETRIES = 3;
|
|
11
|
+
var CAP_ESCALATION_LABELS = {
|
|
12
|
+
CONTINUE: "Continue editing plan",
|
|
13
|
+
APPROVE: "Approve execution"
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
CAPPED_REVIEW_LIMIT,
|
|
18
|
+
MAX_AGENT_RETRIES,
|
|
19
|
+
CAP_ESCALATION_LABELS
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @license
|
|
23
|
+
* Copyright 2025 Qwen
|
|
24
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
25
|
+
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
createTask
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XBY7E2FX.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveActiveTeamName
|
|
8
8
|
} from "./chunk-LD2XBG6Z.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
BaseToolInvocation,
|
|
12
12
|
ToolDisplayNames,
|
|
13
13
|
ToolNames
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XV4HCEVI.js";
|
|
15
15
|
import {
|
|
16
16
|
init_esbuild_shims
|
|
17
17
|
} from "./chunk-A4BMJM77.js";
|