@qwen-code/qwen-code 0.17.0-nightly.20260603.68408c30c → 0.17.0-preview.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/{agent-YF7YLGF5.js → agent-Z7O3I6MY.js} +2 -2
- package/chunks/{chunk-J7R7YLYL.js → chunk-4Q4IDQE5.js} +1 -1
- package/chunks/{chunk-DIIYUIXD.js → chunk-7JHNICSJ.js} +21 -21
- package/chunks/{chunk-2STRWNRM.js → chunk-BF5WTWOH.js} +3 -3
- package/chunks/{chunk-DYL25TAW.js → chunk-MJCO2CPA.js} +5 -5
- package/chunks/{chunk-PW6SXI4O.js → chunk-OXXOAIGT.js} +3 -3
- package/chunks/{chunk-T2J7LKQY.js → chunk-ZWH2TVVN.js} +1 -1
- package/chunks/{contextCommand-Y7SF7F3U.js → contextCommand-FU55EUOH.js} +4 -4
- package/chunks/{edit-5RUYRMZM.js → edit-UQFK25NR.js} +2 -2
- package/chunks/{enter-worktree-MT5VQGQX.js → enter-worktree-VZT6JX45.js} +2 -2
- package/chunks/{exit-worktree-FUJHCIO5.js → exit-worktree-JETQQ26R.js} +2 -2
- package/chunks/{exitPlanMode-SPVVCDCC.js → exitPlanMode-SFNBASAU.js} +2 -2
- package/chunks/{geminiContentGenerator-FL3KPNL3.js → geminiContentGenerator-XWUW7B7J.js} +1 -1
- package/chunks/{glob-VTZJIN54.js → glob-34CPYA2M.js} +2 -2
- package/chunks/{grep-C2PP46BE.js → grep-4RXPZUYZ.js} +2 -2
- package/chunks/{monitor-MC7FLPE4.js → monitor-QCNAUO75.js} +2 -2
- package/chunks/{notebook-edit-HFXCOK3W.js → notebook-edit-I2MBTWI6.js} +2 -2
- package/chunks/{openaiContentGenerator-W2VD5HEW.js → openaiContentGenerator-VNQUJIG5.js} +2 -2
- package/chunks/{qwenContentGenerator-X3D7DYSK.js → qwenContentGenerator-LICFK2K7.js} +3 -3
- package/chunks/{read-file-PDQIA33F.js → read-file-N2YTOQ2U.js} +1 -1
- package/chunks/{ripGrep-PLUB36HF.js → ripGrep-NBWBOVPW.js} +2 -2
- package/chunks/{scheduler-4EE5GCV7.js → scheduler-XHHMN7TA.js} +2 -2
- package/chunks/{serve-3D2Q2MEJ.js → serve-HESJL2FH.js} +4 -4
- package/chunks/{shell-VYGL63T4.js → shell-V7PVS7O7.js} +2 -2
- package/chunks/{skill-RL3GGBL2.js → skill-6LP5ANRL.js} +1 -1
- package/chunks/{src-75ZJBPJW.js → src-4TLZBCTV.js} +2 -2
- package/chunks/{tool-search-TVTHLL7X.js → tool-search-6CRPUSUB.js} +1 -1
- package/chunks/{write-file-KLMERPBH.js → write-file-CCMVL5Q7.js} +2 -2
- package/cli.js +10 -10
- package/package.json +2 -2
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
hasRebuiltToolRegistry,
|
|
8
8
|
rebuildToolRegistryOnOverride,
|
|
9
9
|
resolveSubagentApprovalMode
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7JHNICSJ.js";
|
|
11
11
|
import "./chunk-24YKA2DA.js";
|
|
12
12
|
import "./chunk-O4PICXES.js";
|
|
13
13
|
import "./chunk-TW522KN6.js";
|
|
@@ -19,7 +19,7 @@ import "./chunk-EY6BDW7Y.js";
|
|
|
19
19
|
import "./chunk-HAQCNXSG.js";
|
|
20
20
|
import "./chunk-77WXWU44.js";
|
|
21
21
|
import "./chunk-GVWPJCXU.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-OXXOAIGT.js";
|
|
23
23
|
import "./chunk-J5VCSWPA.js";
|
|
24
24
|
import "./chunk-UWCTAVOD.js";
|
|
25
25
|
import "./chunk-W57YDFU5.js";
|
|
@@ -165,7 +165,7 @@ import {
|
|
|
165
165
|
truncateSpanError,
|
|
166
166
|
truncateToolOutput,
|
|
167
167
|
uiTelemetryService
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-OXXOAIGT.js";
|
|
169
169
|
import {
|
|
170
170
|
safeJsonStringify
|
|
171
171
|
} from "./chunk-W57YDFU5.js";
|
|
@@ -105746,19 +105746,19 @@ var Config = class {
|
|
|
105746
105746
|
}, "registerStructuredOutputIfRequested");
|
|
105747
105747
|
if (this.getBareMode()) {
|
|
105748
105748
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
105749
|
-
const { ReadFileTool } = await import("./read-file-
|
|
105749
|
+
const { ReadFileTool } = await import("./read-file-N2YTOQ2U.js");
|
|
105750
105750
|
return new ReadFileTool(this);
|
|
105751
105751
|
});
|
|
105752
105752
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
105753
|
-
const { EditTool } = await import("./edit-
|
|
105753
|
+
const { EditTool } = await import("./edit-UQFK25NR.js");
|
|
105754
105754
|
return new EditTool(this);
|
|
105755
105755
|
});
|
|
105756
105756
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
105757
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
105757
|
+
const { NotebookEditTool } = await import("./notebook-edit-I2MBTWI6.js");
|
|
105758
105758
|
return new NotebookEditTool(this);
|
|
105759
105759
|
});
|
|
105760
105760
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
105761
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
105761
|
+
const { ShellTool: ShellTool2 } = await import("./shell-V7PVS7O7.js");
|
|
105762
105762
|
return new ShellTool2(this);
|
|
105763
105763
|
});
|
|
105764
105764
|
await registerStructuredOutputIfRequested();
|
|
@@ -105768,11 +105768,11 @@ var Config = class {
|
|
|
105768
105768
|
return registry;
|
|
105769
105769
|
}
|
|
105770
105770
|
await registerLazy(ToolNames.TOOL_SEARCH, async () => {
|
|
105771
|
-
const { ToolSearchTool } = await import("./tool-search-
|
|
105771
|
+
const { ToolSearchTool } = await import("./tool-search-6CRPUSUB.js");
|
|
105772
105772
|
return new ToolSearchTool(this);
|
|
105773
105773
|
});
|
|
105774
105774
|
await registerLazy(ToolNames.AGENT, async () => {
|
|
105775
|
-
const { AgentTool: AgentTool2 } = await import("./agent-
|
|
105775
|
+
const { AgentTool: AgentTool2 } = await import("./agent-Z7O3I6MY.js");
|
|
105776
105776
|
return new AgentTool2(this);
|
|
105777
105777
|
});
|
|
105778
105778
|
await registerLazy(ToolNames.TASK_STOP, async () => {
|
|
@@ -105784,7 +105784,7 @@ var Config = class {
|
|
|
105784
105784
|
return new SendMessageTool(this);
|
|
105785
105785
|
});
|
|
105786
105786
|
await registerLazy(ToolNames.SKILL, async () => {
|
|
105787
|
-
const { SkillTool } = await import("./skill-
|
|
105787
|
+
const { SkillTool } = await import("./skill-6LP5ANRL.js");
|
|
105788
105788
|
return new SkillTool(this);
|
|
105789
105789
|
});
|
|
105790
105790
|
await registerLazy(ToolNames.LS, async () => {
|
|
@@ -105792,7 +105792,7 @@ var Config = class {
|
|
|
105792
105792
|
return new LSTool(this);
|
|
105793
105793
|
});
|
|
105794
105794
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
105795
|
-
const { ReadFileTool } = await import("./read-file-
|
|
105795
|
+
const { ReadFileTool } = await import("./read-file-N2YTOQ2U.js");
|
|
105796
105796
|
return new ReadFileTool(this);
|
|
105797
105797
|
});
|
|
105798
105798
|
if (this.getUseRipgrep()) {
|
|
@@ -105805,7 +105805,7 @@ var Config = class {
|
|
|
105805
105805
|
}
|
|
105806
105806
|
if (useRipgrep) {
|
|
105807
105807
|
await registerLazy(ToolNames.GREP, async () => {
|
|
105808
|
-
const { RipGrepTool: RipGrepTool2 } = await import("./ripGrep-
|
|
105808
|
+
const { RipGrepTool: RipGrepTool2 } = await import("./ripGrep-NBWBOVPW.js");
|
|
105809
105809
|
return new RipGrepTool2(this);
|
|
105810
105810
|
});
|
|
105811
105811
|
} else {
|
|
@@ -105818,34 +105818,34 @@ var Config = class {
|
|
|
105818
105818
|
)
|
|
105819
105819
|
);
|
|
105820
105820
|
await registerLazy(ToolNames.GREP, async () => {
|
|
105821
|
-
const { GrepTool } = await import("./grep-
|
|
105821
|
+
const { GrepTool } = await import("./grep-4RXPZUYZ.js");
|
|
105822
105822
|
return new GrepTool(this);
|
|
105823
105823
|
});
|
|
105824
105824
|
}
|
|
105825
105825
|
} else {
|
|
105826
105826
|
await registerLazy(ToolNames.GREP, async () => {
|
|
105827
|
-
const { GrepTool } = await import("./grep-
|
|
105827
|
+
const { GrepTool } = await import("./grep-4RXPZUYZ.js");
|
|
105828
105828
|
return new GrepTool(this);
|
|
105829
105829
|
});
|
|
105830
105830
|
}
|
|
105831
105831
|
await registerLazy(ToolNames.GLOB, async () => {
|
|
105832
|
-
const { GlobTool } = await import("./glob-
|
|
105832
|
+
const { GlobTool } = await import("./glob-34CPYA2M.js");
|
|
105833
105833
|
return new GlobTool(this);
|
|
105834
105834
|
});
|
|
105835
105835
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
105836
|
-
const { EditTool } = await import("./edit-
|
|
105836
|
+
const { EditTool } = await import("./edit-UQFK25NR.js");
|
|
105837
105837
|
return new EditTool(this);
|
|
105838
105838
|
});
|
|
105839
105839
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
105840
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
105840
|
+
const { NotebookEditTool } = await import("./notebook-edit-I2MBTWI6.js");
|
|
105841
105841
|
return new NotebookEditTool(this);
|
|
105842
105842
|
});
|
|
105843
105843
|
await registerLazy(ToolNames.WRITE_FILE, async () => {
|
|
105844
|
-
const { WriteFileTool } = await import("./write-file-
|
|
105844
|
+
const { WriteFileTool } = await import("./write-file-CCMVL5Q7.js");
|
|
105845
105845
|
return new WriteFileTool(this);
|
|
105846
105846
|
});
|
|
105847
105847
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
105848
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
105848
|
+
const { ShellTool: ShellTool2 } = await import("./shell-V7PVS7O7.js");
|
|
105849
105849
|
return new ShellTool2(this);
|
|
105850
105850
|
});
|
|
105851
105851
|
await registerLazy(ToolNames.TODO_WRITE, async () => {
|
|
@@ -105858,16 +105858,16 @@ var Config = class {
|
|
|
105858
105858
|
});
|
|
105859
105859
|
if (!this.sdkMode) {
|
|
105860
105860
|
await registerLazy(ToolNames.EXIT_PLAN_MODE, async () => {
|
|
105861
|
-
const { ExitPlanModeTool } = await import("./exitPlanMode-
|
|
105861
|
+
const { ExitPlanModeTool } = await import("./exitPlanMode-SFNBASAU.js");
|
|
105862
105862
|
return new ExitPlanModeTool(this);
|
|
105863
105863
|
});
|
|
105864
105864
|
}
|
|
105865
105865
|
await registerLazy(ToolNames.ENTER_WORKTREE, async () => {
|
|
105866
|
-
const { EnterWorktreeTool } = await import("./enter-worktree-
|
|
105866
|
+
const { EnterWorktreeTool } = await import("./enter-worktree-VZT6JX45.js");
|
|
105867
105867
|
return new EnterWorktreeTool(this);
|
|
105868
105868
|
});
|
|
105869
105869
|
await registerLazy(ToolNames.EXIT_WORKTREE, async () => {
|
|
105870
|
-
const { ExitWorktreeTool } = await import("./exit-worktree-
|
|
105870
|
+
const { ExitWorktreeTool } = await import("./exit-worktree-JETQQ26R.js");
|
|
105871
105871
|
return new ExitWorktreeTool(this);
|
|
105872
105872
|
});
|
|
105873
105873
|
await registerLazy(ToolNames.WEB_FETCH, async () => {
|
|
@@ -105900,7 +105900,7 @@ var Config = class {
|
|
|
105900
105900
|
await registerComputerUseTools(registerLazy);
|
|
105901
105901
|
}
|
|
105902
105902
|
await registerLazy(ToolNames.MONITOR, async () => {
|
|
105903
|
-
const { MonitorTool } = await import("./monitor-
|
|
105903
|
+
const { MonitorTool } = await import("./monitor-QCNAUO75.js");
|
|
105904
105904
|
return new MonitorTool(this);
|
|
105905
105905
|
});
|
|
105906
105906
|
if (this.pendingMcpBudgetCallback) {
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
t
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZWH2TVVN.js";
|
|
6
6
|
import {
|
|
7
7
|
computeThresholds,
|
|
8
8
|
getCoreSystemPrompt
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7JHNICSJ.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSkillLlmContent
|
|
12
12
|
} from "./chunk-EY6BDW7Y.js";
|
|
13
13
|
import {
|
|
14
14
|
DiscoveredMCPTool,
|
|
15
15
|
uiTelemetryService
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OXXOAIGT.js";
|
|
17
17
|
import {
|
|
18
18
|
ToolNames
|
|
19
19
|
} from "./chunk-6RQTH7UQ.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getLanguageSettingsOptions,
|
|
7
7
|
t,
|
|
8
8
|
writeStderrLine
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZWH2TVVN.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_STOP_HOOK_BLOCK_CAP,
|
|
12
12
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
SkillError,
|
|
16
16
|
ideContextStore,
|
|
17
17
|
require_main
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7JHNICSJ.js";
|
|
19
19
|
import {
|
|
20
20
|
isWithinRoot
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OXXOAIGT.js";
|
|
22
22
|
import {
|
|
23
23
|
atomicWriteFileSync
|
|
24
24
|
} from "./chunk-HX3JRTWL.js";
|
|
@@ -18973,7 +18973,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
18973
18973
|
// packages/cli/src/utils/version.ts
|
|
18974
18974
|
async function getCliVersion() {
|
|
18975
18975
|
const pkgJson = await getPackageJson();
|
|
18976
|
-
return "0.17.0-
|
|
18976
|
+
return "0.17.0-preview.0";
|
|
18977
18977
|
}
|
|
18978
18978
|
__name(getCliVersion, "getCliVersion");
|
|
18979
18979
|
|
|
@@ -19068,7 +19068,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds, options) => {
|
|
|
19068
19068
|
|
|
19069
19069
|
// packages/cli/src/generated/git-commit.ts
|
|
19070
19070
|
init_esbuild_shims();
|
|
19071
|
-
var GIT_COMMIT_INFO = "
|
|
19071
|
+
var GIT_COMMIT_INFO = "79c0e793d";
|
|
19072
19072
|
|
|
19073
19073
|
// packages/cli/src/utils/systemInfo.ts
|
|
19074
19074
|
var debugLogger4 = createDebugLogger("STATUS");
|
|
@@ -71495,11 +71495,11 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
71495
71495
|
}
|
|
71496
71496
|
let baseGenerator;
|
|
71497
71497
|
if (authType === "openai" /* USE_OPENAI */) {
|
|
71498
|
-
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-
|
|
71498
|
+
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-VNQUJIG5.js");
|
|
71499
71499
|
baseGenerator = createOpenAIContentGenerator(generatorConfig, config);
|
|
71500
71500
|
} else if (authType === "qwen-oauth" /* QWEN_OAUTH */) {
|
|
71501
71501
|
const { getQwenOAuthClient: getQwenOauthClient } = await import("./qwenOAuth2-LKXG7XVO.js");
|
|
71502
|
-
const { QwenContentGenerator } = await import("./qwenContentGenerator-
|
|
71502
|
+
const { QwenContentGenerator } = await import("./qwenContentGenerator-LICFK2K7.js");
|
|
71503
71503
|
try {
|
|
71504
71504
|
const qwenClient = await getQwenOauthClient(
|
|
71505
71505
|
config,
|
|
@@ -71519,7 +71519,7 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
71519
71519
|
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-UCGOKLGC.js");
|
|
71520
71520
|
baseGenerator = createAnthropicContentGenerator(generatorConfig, config);
|
|
71521
71521
|
} else if (authType === "gemini" /* USE_GEMINI */ || authType === "vertex-ai" /* USE_VERTEX_AI */) {
|
|
71522
|
-
const { createGeminiContentGenerator } = await import("./geminiContentGenerator-
|
|
71522
|
+
const { createGeminiContentGenerator } = await import("./geminiContentGenerator-XWUW7B7J.js");
|
|
71523
71523
|
baseGenerator = createGeminiContentGenerator(generatorConfig, config);
|
|
71524
71524
|
} else {
|
|
71525
71525
|
throw new Error(
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
collectContextData,
|
|
5
5
|
contextCommand,
|
|
6
6
|
formatContextUsageText
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-BF5WTWOH.js";
|
|
8
|
+
import "./chunk-ZWH2TVVN.js";
|
|
9
|
+
import "./chunk-7JHNICSJ.js";
|
|
10
10
|
import "./chunk-24YKA2DA.js";
|
|
11
11
|
import "./chunk-O4PICXES.js";
|
|
12
12
|
import "./chunk-TW522KN6.js";
|
|
@@ -18,7 +18,7 @@ import "./chunk-EY6BDW7Y.js";
|
|
|
18
18
|
import "./chunk-HAQCNXSG.js";
|
|
19
19
|
import "./chunk-77WXWU44.js";
|
|
20
20
|
import "./chunk-GVWPJCXU.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-OXXOAIGT.js";
|
|
22
22
|
import "./chunk-J5VCSWPA.js";
|
|
23
23
|
import "./chunk-UWCTAVOD.js";
|
|
24
24
|
import "./chunk-W57YDFU5.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
getDiffStat,
|
|
14
14
|
needsUtf8Bom,
|
|
15
15
|
safeLiteralReplace
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7JHNICSJ.js";
|
|
17
17
|
import "./chunk-24YKA2DA.js";
|
|
18
18
|
import "./chunk-O4PICXES.js";
|
|
19
19
|
import "./chunk-TW522KN6.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
getLanguageFromFilePath,
|
|
33
33
|
getSpecificMimeType,
|
|
34
34
|
logFileOperation
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-OXXOAIGT.js";
|
|
36
36
|
import "./chunk-J5VCSWPA.js";
|
|
37
37
|
import "./chunk-UWCTAVOD.js";
|
|
38
38
|
import "./chunk-W57YDFU5.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
GitWorktreeService,
|
|
5
5
|
writeWorktreeSession,
|
|
6
6
|
writeWorktreeSessionMarker
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7JHNICSJ.js";
|
|
8
8
|
import "./chunk-24YKA2DA.js";
|
|
9
9
|
import "./chunk-O4PICXES.js";
|
|
10
10
|
import "./chunk-TW522KN6.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-EY6BDW7Y.js";
|
|
|
16
16
|
import "./chunk-HAQCNXSG.js";
|
|
17
17
|
import "./chunk-77WXWU44.js";
|
|
18
18
|
import "./chunk-GVWPJCXU.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-OXXOAIGT.js";
|
|
20
20
|
import "./chunk-J5VCSWPA.js";
|
|
21
21
|
import "./chunk-UWCTAVOD.js";
|
|
22
22
|
import "./chunk-W57YDFU5.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
readWorktreeSession,
|
|
7
7
|
readWorktreeSessionMarker,
|
|
8
8
|
worktreeBranchForSlug
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7JHNICSJ.js";
|
|
10
10
|
import "./chunk-24YKA2DA.js";
|
|
11
11
|
import "./chunk-O4PICXES.js";
|
|
12
12
|
import "./chunk-TW522KN6.js";
|
|
@@ -18,7 +18,7 @@ import "./chunk-EY6BDW7Y.js";
|
|
|
18
18
|
import "./chunk-HAQCNXSG.js";
|
|
19
19
|
import "./chunk-77WXWU44.js";
|
|
20
20
|
import "./chunk-GVWPJCXU.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-OXXOAIGT.js";
|
|
22
22
|
import "./chunk-J5VCSWPA.js";
|
|
23
23
|
import "./chunk-UWCTAVOD.js";
|
|
24
24
|
import "./chunk-W57YDFU5.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-7JHNICSJ.js";
|
|
4
4
|
import "./chunk-24YKA2DA.js";
|
|
5
5
|
import "./chunk-O4PICXES.js";
|
|
6
6
|
import "./chunk-TW522KN6.js";
|
|
@@ -12,7 +12,7 @@ import "./chunk-EY6BDW7Y.js";
|
|
|
12
12
|
import "./chunk-HAQCNXSG.js";
|
|
13
13
|
import "./chunk-77WXWU44.js";
|
|
14
14
|
import "./chunk-GVWPJCXU.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-OXXOAIGT.js";
|
|
16
16
|
import "./chunk-J5VCSWPA.js";
|
|
17
17
|
import "./chunk-UWCTAVOD.js";
|
|
18
18
|
import "./chunk-W57YDFU5.js";
|
|
@@ -212,7 +212,7 @@ var GeminiContentGenerator = class {
|
|
|
212
212
|
|
|
213
213
|
// packages/core/src/core/geminiContentGenerator/index.ts
|
|
214
214
|
function createGeminiContentGenerator(config, gcConfig) {
|
|
215
|
-
const version = "0.17.0-
|
|
215
|
+
const version = "0.17.0-preview.0";
|
|
216
216
|
const userAgent = config.userAgent || `QwenCode/${version} (${process.platform}; ${process.arch})`;
|
|
217
217
|
const baseHeaders = {
|
|
218
218
|
"User-Agent": userAgent
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
escape,
|
|
5
5
|
glob
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7JHNICSJ.js";
|
|
7
7
|
import "./chunk-24YKA2DA.js";
|
|
8
8
|
import "./chunk-O4PICXES.js";
|
|
9
9
|
import "./chunk-TW522KN6.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
DEFAULT_FILE_FILTERING_OPTIONS
|
|
18
18
|
} from "./chunk-77WXWU44.js";
|
|
19
19
|
import "./chunk-GVWPJCXU.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-OXXOAIGT.js";
|
|
21
21
|
import "./chunk-J5VCSWPA.js";
|
|
22
22
|
import "./chunk-UWCTAVOD.js";
|
|
23
23
|
import "./chunk-W57YDFU5.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
globStream,
|
|
5
5
|
isCommandAvailable,
|
|
6
6
|
isGitRepository
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7JHNICSJ.js";
|
|
8
8
|
import "./chunk-24YKA2DA.js";
|
|
9
9
|
import "./chunk-O4PICXES.js";
|
|
10
10
|
import "./chunk-TW522KN6.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-EY6BDW7Y.js";
|
|
|
16
16
|
import "./chunk-HAQCNXSG.js";
|
|
17
17
|
import "./chunk-77WXWU44.js";
|
|
18
18
|
import "./chunk-GVWPJCXU.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-OXXOAIGT.js";
|
|
20
20
|
import "./chunk-J5VCSWPA.js";
|
|
21
21
|
import "./chunk-UWCTAVOD.js";
|
|
22
22
|
import "./chunk-W57YDFU5.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
normalizeMonitorCommand,
|
|
15
15
|
splitCommands,
|
|
16
16
|
stripAnsi
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7JHNICSJ.js";
|
|
18
18
|
import "./chunk-24YKA2DA.js";
|
|
19
19
|
import "./chunk-O4PICXES.js";
|
|
20
20
|
import "./chunk-TW522KN6.js";
|
|
@@ -26,7 +26,7 @@ import "./chunk-EY6BDW7Y.js";
|
|
|
26
26
|
import "./chunk-HAQCNXSG.js";
|
|
27
27
|
import "./chunk-77WXWU44.js";
|
|
28
28
|
import "./chunk-GVWPJCXU.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-OXXOAIGT.js";
|
|
30
30
|
import "./chunk-J5VCSWPA.js";
|
|
31
31
|
import "./chunk-UWCTAVOD.js";
|
|
32
32
|
import "./chunk-W57YDFU5.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
createPatch,
|
|
10
10
|
detectLineEnding,
|
|
11
11
|
getDiffStat
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7JHNICSJ.js";
|
|
13
13
|
import "./chunk-24YKA2DA.js";
|
|
14
14
|
import "./chunk-O4PICXES.js";
|
|
15
15
|
import "./chunk-TW522KN6.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
parseNotebook,
|
|
39
39
|
serializeNotebook,
|
|
40
40
|
toNotebookSource
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-OXXOAIGT.js";
|
|
42
42
|
import "./chunk-J5VCSWPA.js";
|
|
43
43
|
import "./chunk-UWCTAVOD.js";
|
|
44
44
|
import "./chunk-W57YDFU5.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
OpenRouterOpenAICompatibleProvider,
|
|
13
13
|
createOpenAIContentGenerator,
|
|
14
14
|
determineProvider
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4Q4IDQE5.js";
|
|
16
16
|
import "./chunk-V7LMZR76.js";
|
|
17
17
|
import {
|
|
18
18
|
OpenAIContentConverter
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OXXOAIGT.js";
|
|
20
20
|
import "./chunk-J5VCSWPA.js";
|
|
21
21
|
import "./chunk-UWCTAVOD.js";
|
|
22
22
|
import "./chunk-W57YDFU5.js";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import {
|
|
4
4
|
DashScopeOpenAICompatibleProvider,
|
|
5
5
|
OpenAIContentGenerator
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4Q4IDQE5.js";
|
|
7
7
|
import "./chunk-V7LMZR76.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-7JHNICSJ.js";
|
|
9
9
|
import "./chunk-24YKA2DA.js";
|
|
10
10
|
import "./chunk-O4PICXES.js";
|
|
11
11
|
import "./chunk-TW522KN6.js";
|
|
@@ -17,7 +17,7 @@ import "./chunk-EY6BDW7Y.js";
|
|
|
17
17
|
import "./chunk-HAQCNXSG.js";
|
|
18
18
|
import "./chunk-77WXWU44.js";
|
|
19
19
|
import "./chunk-GVWPJCXU.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-OXXOAIGT.js";
|
|
21
21
|
import "./chunk-J5VCSWPA.js";
|
|
22
22
|
import "./chunk-UWCTAVOD.js";
|
|
23
23
|
import "./chunk-W57YDFU5.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
RipGrepTool,
|
|
5
5
|
_resetRipGrepCachesForTest
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7JHNICSJ.js";
|
|
7
7
|
import "./chunk-24YKA2DA.js";
|
|
8
8
|
import "./chunk-O4PICXES.js";
|
|
9
9
|
import "./chunk-TW522KN6.js";
|
|
@@ -15,7 +15,7 @@ import "./chunk-EY6BDW7Y.js";
|
|
|
15
15
|
import "./chunk-HAQCNXSG.js";
|
|
16
16
|
import "./chunk-77WXWU44.js";
|
|
17
17
|
import "./chunk-GVWPJCXU.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-OXXOAIGT.js";
|
|
19
19
|
import "./chunk-J5VCSWPA.js";
|
|
20
20
|
import "./chunk-UWCTAVOD.js";
|
|
21
21
|
import "./chunk-W57YDFU5.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-MRO43B25.js";
|
|
6
6
|
import {
|
|
7
7
|
FILE_HISTORY_DIR
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7JHNICSJ.js";
|
|
9
9
|
import "./chunk-24YKA2DA.js";
|
|
10
10
|
import "./chunk-O4PICXES.js";
|
|
11
11
|
import "./chunk-TW522KN6.js";
|
|
@@ -17,7 +17,7 @@ import "./chunk-EY6BDW7Y.js";
|
|
|
17
17
|
import "./chunk-HAQCNXSG.js";
|
|
18
18
|
import "./chunk-77WXWU44.js";
|
|
19
19
|
import "./chunk-GVWPJCXU.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-OXXOAIGT.js";
|
|
21
21
|
import "./chunk-J5VCSWPA.js";
|
|
22
22
|
import "./chunk-UWCTAVOD.js";
|
|
23
23
|
import "./chunk-W57YDFU5.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
getNpmVersion,
|
|
30
30
|
loadSettings,
|
|
31
31
|
mapDomainErrorToErrorKind
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MJCO2CPA.js";
|
|
33
33
|
import {
|
|
34
34
|
ClientSideConnection,
|
|
35
35
|
PROTOCOL_VERSION,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
writeStderrLine,
|
|
40
40
|
writeStdoutLine
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ZWH2TVVN.js";
|
|
42
42
|
import {
|
|
43
43
|
APPROVAL_MODES,
|
|
44
44
|
BuiltinAgentRegistry,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
loadIgnoreRules,
|
|
57
57
|
require_once,
|
|
58
58
|
writeWorkspaceContextFile
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-7JHNICSJ.js";
|
|
60
60
|
import "./chunk-24YKA2DA.js";
|
|
61
61
|
import "./chunk-O4PICXES.js";
|
|
62
62
|
import "./chunk-TW522KN6.js";
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
isBinaryFile,
|
|
76
76
|
isWithinRoot,
|
|
77
77
|
require_safer
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-OXXOAIGT.js";
|
|
79
79
|
import "./chunk-J5VCSWPA.js";
|
|
80
80
|
import "./chunk-UWCTAVOD.js";
|
|
81
81
|
import "./chunk-W57YDFU5.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
buildLongRunningForegroundHint,
|
|
8
8
|
detectBlockedSleepPattern,
|
|
9
9
|
parseNumstat
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7JHNICSJ.js";
|
|
11
11
|
import "./chunk-24YKA2DA.js";
|
|
12
12
|
import "./chunk-O4PICXES.js";
|
|
13
13
|
import "./chunk-TW522KN6.js";
|
|
@@ -19,7 +19,7 @@ import "./chunk-EY6BDW7Y.js";
|
|
|
19
19
|
import "./chunk-HAQCNXSG.js";
|
|
20
20
|
import "./chunk-77WXWU44.js";
|
|
21
21
|
import "./chunk-GVWPJCXU.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-OXXOAIGT.js";
|
|
23
23
|
import "./chunk-J5VCSWPA.js";
|
|
24
24
|
import "./chunk-UWCTAVOD.js";
|
|
25
25
|
import "./chunk-W57YDFU5.js";
|
|
@@ -607,7 +607,7 @@ import {
|
|
|
607
607
|
writeWorktreeSession,
|
|
608
608
|
writeWorktreeSessionMarker,
|
|
609
609
|
zaiProvider
|
|
610
|
-
} from "./chunk-
|
|
610
|
+
} from "./chunk-7JHNICSJ.js";
|
|
611
611
|
import "./chunk-24YKA2DA.js";
|
|
612
612
|
import "./chunk-O4PICXES.js";
|
|
613
613
|
import "./chunk-TW522KN6.js";
|
|
@@ -849,7 +849,7 @@ import {
|
|
|
849
849
|
uiTelemetryService,
|
|
850
850
|
validateModelConfig,
|
|
851
851
|
windowsCodePageToEncoding
|
|
852
|
-
} from "./chunk-
|
|
852
|
+
} from "./chunk-OXXOAIGT.js";
|
|
853
853
|
import "./chunk-J5VCSWPA.js";
|
|
854
854
|
import "./chunk-UWCTAVOD.js";
|
|
855
855
|
import "./chunk-W57YDFU5.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
detectLineEnding,
|
|
13
13
|
getDiffStat,
|
|
14
14
|
needsUtf8Bom
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7JHNICSJ.js";
|
|
16
16
|
import "./chunk-24YKA2DA.js";
|
|
17
17
|
import "./chunk-O4PICXES.js";
|
|
18
18
|
import "./chunk-TW522KN6.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
getLanguageFromFilePath,
|
|
31
31
|
getSpecificMimeType,
|
|
32
32
|
logFileOperation
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OXXOAIGT.js";
|
|
34
34
|
import "./chunk-J5VCSWPA.js";
|
|
35
35
|
import "./chunk-UWCTAVOD.js";
|
|
36
36
|
import "./chunk-W57YDFU5.js";
|
package/cli.js
CHANGED
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
settingExistsInScope,
|
|
89
89
|
updateOutputLanguageFile,
|
|
90
90
|
validateCustomTheme
|
|
91
|
-
} from "./chunks/chunk-
|
|
91
|
+
} from "./chunks/chunk-MJCO2CPA.js";
|
|
92
92
|
import {
|
|
93
93
|
AgentSideConnection,
|
|
94
94
|
PROTOCOL_VERSION,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
contextCommand,
|
|
100
100
|
isTerminalGoalStatusKind,
|
|
101
101
|
require_react
|
|
102
|
-
} from "./chunks/chunk-
|
|
102
|
+
} from "./chunks/chunk-BF5WTWOH.js";
|
|
103
103
|
import {
|
|
104
104
|
SUPPORTED_LANGUAGES,
|
|
105
105
|
clearScreen,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
ta,
|
|
113
113
|
writeStderrLine,
|
|
114
114
|
writeStdoutLine
|
|
115
|
-
} from "./chunks/chunk-
|
|
115
|
+
} from "./chunks/chunk-ZWH2TVVN.js";
|
|
116
116
|
import {
|
|
117
117
|
ALIBABA_PROVIDERS,
|
|
118
118
|
ALL_PROVIDERS,
|
|
@@ -305,7 +305,7 @@ import {
|
|
|
305
305
|
writeRuntimeStatus,
|
|
306
306
|
writeWorktreeSession,
|
|
307
307
|
writeWorktreeSessionMarker
|
|
308
|
-
} from "./chunks/chunk-
|
|
308
|
+
} from "./chunks/chunk-7JHNICSJ.js";
|
|
309
309
|
import {
|
|
310
310
|
external_exports
|
|
311
311
|
} from "./chunks/chunk-24YKA2DA.js";
|
|
@@ -385,7 +385,7 @@ import {
|
|
|
385
385
|
setGeminiMdFilename,
|
|
386
386
|
shutdownTelemetry,
|
|
387
387
|
uiTelemetryService
|
|
388
|
-
} from "./chunks/chunk-
|
|
388
|
+
} from "./chunks/chunk-OXXOAIGT.js";
|
|
389
389
|
import "./chunks/chunk-J5VCSWPA.js";
|
|
390
390
|
import "./chunks/chunk-UWCTAVOD.js";
|
|
391
391
|
import "./chunks/chunk-W57YDFU5.js";
|
|
@@ -77086,7 +77086,7 @@ var serveCommand = {
|
|
|
77086
77086
|
}
|
|
77087
77087
|
} catch {
|
|
77088
77088
|
}
|
|
77089
|
-
const { runQwenServe } = await import("./chunks/serve-
|
|
77089
|
+
const { runQwenServe } = await import("./chunks/serve-HESJL2FH.js");
|
|
77090
77090
|
try {
|
|
77091
77091
|
await runQwenServe({
|
|
77092
77092
|
port: argv.port,
|
|
@@ -87386,7 +87386,7 @@ async function extractMetadata(conversation, config) {
|
|
|
87386
87386
|
const gitBranch = firstRecord?.gitBranch;
|
|
87387
87387
|
let gitRepo;
|
|
87388
87388
|
if (cwd5) {
|
|
87389
|
-
const { getGitRepoName } = await import("./chunks/src-
|
|
87389
|
+
const { getGitRepoName } = await import("./chunks/src-4TLZBCTV.js");
|
|
87390
87390
|
gitRepo = getGitRepoName(cwd5);
|
|
87391
87391
|
}
|
|
87392
87392
|
let model;
|
|
@@ -98363,7 +98363,7 @@ var SystemController = class extends BaseController {
|
|
|
98363
98363
|
throw new Error("Request aborted");
|
|
98364
98364
|
}
|
|
98365
98365
|
try {
|
|
98366
|
-
const mod = await import("./chunks/contextCommand-
|
|
98366
|
+
const mod = await import("./chunks/contextCommand-FU55EUOH.js");
|
|
98367
98367
|
if (signal.aborted) {
|
|
98368
98368
|
throw new Error("Request aborted");
|
|
98369
98369
|
}
|
|
@@ -156381,7 +156381,7 @@ var QwenAgent = class {
|
|
|
156381
156381
|
async initialize(args) {
|
|
156382
156382
|
this.clientCapabilities = args.clientCapabilities;
|
|
156383
156383
|
const authMethods = buildAuthMethods();
|
|
156384
|
-
const version = "0.17.0-
|
|
156384
|
+
const version = "0.17.0-preview.0";
|
|
156385
156385
|
return {
|
|
156386
156386
|
protocolVersion: PROTOCOL_VERSION,
|
|
156387
156387
|
agentInfo: {
|
|
@@ -158247,7 +158247,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
158247
158247
|
process.exit(0);
|
|
158248
158248
|
}
|
|
158249
158249
|
if (config.isInteractive()) {
|
|
158250
|
-
void import("./chunks/scheduler-
|
|
158250
|
+
void import("./chunks/scheduler-XHHMN7TA.js").then((m) => m.startBackgroundHousekeeping(config, settings)).catch((err) => {
|
|
158251
158251
|
debugLogger77.warn("failed to start background housekeeping:", err);
|
|
158252
158252
|
});
|
|
158253
158253
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qwen-code/qwen-code",
|
|
3
|
-
"version": "0.17.0-
|
|
3
|
+
"version": "0.17.0-preview.0",
|
|
4
4
|
"description": "Qwen Code - AI-powered coding assistant",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"bundled"
|
|
23
23
|
],
|
|
24
24
|
"config": {
|
|
25
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.17.0-
|
|
25
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.17.0-preview.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {},
|
|
28
28
|
"optionalDependencies": {
|