@qwen-code/qwen-code 0.16.1-nightly.20260527.641a1a739 → 0.16.1-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-Q5RX7EFT.js → agent-KYFWAFRH.js} +2 -2
- package/chunks/{chunk-LFAJS6O7.js → chunk-DDU3LH4J.js} +3 -3
- package/chunks/{chunk-TMX4IO7Y.js → chunk-F6MJMTLW.js} +5 -5
- package/chunks/{chunk-YZH3NWTY.js → chunk-JQF2373J.js} +1 -1
- package/chunks/{chunk-BY3KL342.js → chunk-M5TA67JI.js} +3 -3
- package/chunks/{chunk-Q6HSDPQK.js → chunk-QQAHXZS2.js} +21 -21
- package/chunks/{chunk-VMBPWSAW.js → chunk-XS2N5WHQ.js} +1 -1
- package/chunks/{contextCommand-O4BR7LSU.js → contextCommand-E3Z6QOHV.js} +4 -4
- package/chunks/{edit-IIZHJJ5C.js → edit-2CY35GKJ.js} +2 -2
- package/chunks/{enter-worktree-EJDJTYJ6.js → enter-worktree-HJGN4DH2.js} +2 -2
- package/chunks/{exit-worktree-BYD6N5KI.js → exit-worktree-VAPX5N2E.js} +2 -2
- package/chunks/{exitPlanMode-BYXBJRPJ.js → exitPlanMode-3JP3BRRO.js} +2 -2
- package/chunks/{geminiContentGenerator-E4DBHMSM.js → geminiContentGenerator-MD7IEVCK.js} +1 -1
- package/chunks/{glob-BHLCJY3H.js → glob-C5ZNGH7V.js} +2 -2
- package/chunks/{grep-7UHSZY2V.js → grep-GKU7Y77F.js} +2 -2
- package/chunks/{monitor-VBR5FEIJ.js → monitor-HJTGGH2N.js} +2 -2
- package/chunks/{notebook-edit-WWOG3R6M.js → notebook-edit-RWOEUTYU.js} +2 -2
- package/chunks/{openaiContentGenerator-PPOBCAKD.js → openaiContentGenerator-FDC4XT77.js} +2 -2
- package/chunks/{qwenContentGenerator-Q46J4GZU.js → qwenContentGenerator-J3C7NUMH.js} +3 -3
- package/chunks/{read-file-D7ZK34RI.js → read-file-5QUJ3ZIL.js} +1 -1
- package/chunks/{ripGrep-T7HLAPIH.js → ripGrep-PA7M7MJS.js} +2 -2
- package/chunks/{serve-NNXMJJWS.js → serve-FLSKL5TV.js} +4 -4
- package/chunks/{shell-OA5KRJUS.js → shell-DA54BZO2.js} +2 -2
- package/chunks/{skill-RH3DY34A.js → skill-47FZXDEM.js} +1 -1
- package/chunks/{src-65YOHXGO.js → src-6Y7NVY2L.js} +2 -2
- package/chunks/{tool-search-FZX5NX6D.js → tool-search-PONJXBSP.js} +1 -1
- package/chunks/{write-file-Z5TVWVBN.js → write-file-2YX4NB3B.js} +2 -2
- package/cli.js +9 -9
- 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-QQAHXZS2.js";
|
|
11
11
|
import "./chunk-K5PGHDBN.js";
|
|
12
12
|
import "./chunk-O4PICXES.js";
|
|
13
13
|
import "./chunk-TW522KN6.js";
|
|
@@ -18,7 +18,7 @@ import "./chunk-33FTD7OV.js";
|
|
|
18
18
|
import "./chunk-77WXWU44.js";
|
|
19
19
|
import "./chunk-Q7IZ5RFJ.js";
|
|
20
20
|
import "./chunk-SS4HGKS4.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-DDU3LH4J.js";
|
|
22
22
|
import "./chunk-UWCTAVOD.js";
|
|
23
23
|
import "./chunk-OFEVLU4C.js";
|
|
24
24
|
import "./chunk-G5JCK3FG.js";
|
|
@@ -72808,11 +72808,11 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
72808
72808
|
}
|
|
72809
72809
|
let baseGenerator;
|
|
72810
72810
|
if (authType === "openai" /* USE_OPENAI */) {
|
|
72811
|
-
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-
|
|
72811
|
+
const { createOpenAIContentGenerator } = await import("./openaiContentGenerator-FDC4XT77.js");
|
|
72812
72812
|
baseGenerator = createOpenAIContentGenerator(generatorConfig, config);
|
|
72813
72813
|
} else if (authType === "qwen-oauth" /* QWEN_OAUTH */) {
|
|
72814
72814
|
const { getQwenOAuthClient: getQwenOauthClient } = await import("./qwenOAuth2-7JZIHZ7O.js");
|
|
72815
|
-
const { QwenContentGenerator } = await import("./qwenContentGenerator-
|
|
72815
|
+
const { QwenContentGenerator } = await import("./qwenContentGenerator-J3C7NUMH.js");
|
|
72816
72816
|
try {
|
|
72817
72817
|
const qwenClient = await getQwenOauthClient(
|
|
72818
72818
|
config,
|
|
@@ -72832,7 +72832,7 @@ async function createContentGenerator(generatorConfig, config, isInitialAuth) {
|
|
|
72832
72832
|
const { createAnthropicContentGenerator } = await import("./anthropicContentGenerator-DUZ2FYDT.js");
|
|
72833
72833
|
baseGenerator = createAnthropicContentGenerator(generatorConfig, config);
|
|
72834
72834
|
} else if (authType === "gemini" /* USE_GEMINI */ || authType === "vertex-ai" /* USE_VERTEX_AI */) {
|
|
72835
|
-
const { createGeminiContentGenerator } = await import("./geminiContentGenerator-
|
|
72835
|
+
const { createGeminiContentGenerator } = await import("./geminiContentGenerator-MD7IEVCK.js");
|
|
72836
72836
|
baseGenerator = createGeminiContentGenerator(generatorConfig, config);
|
|
72837
72837
|
} else {
|
|
72838
72838
|
throw new Error(
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getLanguageSettingsOptions,
|
|
7
7
|
t,
|
|
8
8
|
writeStderrLine
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JQF2373J.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-QQAHXZS2.js";
|
|
19
19
|
import {
|
|
20
20
|
isWithinRoot
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DDU3LH4J.js";
|
|
22
22
|
import {
|
|
23
23
|
FatalConfigError,
|
|
24
24
|
QWEN_DIR,
|
|
@@ -18832,7 +18832,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
18832
18832
|
// packages/cli/src/utils/version.ts
|
|
18833
18833
|
async function getCliVersion() {
|
|
18834
18834
|
const pkgJson = await getPackageJson();
|
|
18835
|
-
return "0.16.1-
|
|
18835
|
+
return "0.16.1-preview.0";
|
|
18836
18836
|
}
|
|
18837
18837
|
__name(getCliVersion, "getCliVersion");
|
|
18838
18838
|
|
|
@@ -18927,7 +18927,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds, options) => {
|
|
|
18927
18927
|
|
|
18928
18928
|
// packages/cli/src/generated/git-commit.ts
|
|
18929
18929
|
init_esbuild_shims();
|
|
18930
|
-
var GIT_COMMIT_INFO = "
|
|
18930
|
+
var GIT_COMMIT_INFO = "46b7b8dfb";
|
|
18931
18931
|
|
|
18932
18932
|
// packages/cli/src/utils/systemInfo.ts
|
|
18933
18933
|
var debugLogger4 = createDebugLogger("STATUS");
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
t
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JQF2373J.js";
|
|
6
6
|
import {
|
|
7
7
|
computeThresholds,
|
|
8
8
|
getCoreSystemPrompt
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QQAHXZS2.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSkillLlmContent
|
|
12
12
|
} from "./chunk-QDV553GJ.js";
|
|
13
13
|
import {
|
|
14
14
|
DiscoveredMCPTool,
|
|
15
15
|
uiTelemetryService
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DDU3LH4J.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_TOKEN_LIMIT
|
|
19
19
|
} from "./chunk-ERQCJRX4.js";
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
truncateSpanError,
|
|
161
161
|
truncateToolOutput,
|
|
162
162
|
uiTelemetryService
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-DDU3LH4J.js";
|
|
164
164
|
import {
|
|
165
165
|
DEFAULT_QWEN_EMBEDDING_MODEL,
|
|
166
166
|
DEFAULT_QWEN_MODEL
|
|
@@ -107771,19 +107771,19 @@ var Config = class {
|
|
|
107771
107771
|
}, "registerStructuredOutputIfRequested");
|
|
107772
107772
|
if (this.getBareMode()) {
|
|
107773
107773
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
107774
|
-
const { ReadFileTool } = await import("./read-file-
|
|
107774
|
+
const { ReadFileTool } = await import("./read-file-5QUJ3ZIL.js");
|
|
107775
107775
|
return new ReadFileTool(this);
|
|
107776
107776
|
});
|
|
107777
107777
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
107778
|
-
const { EditTool } = await import("./edit-
|
|
107778
|
+
const { EditTool } = await import("./edit-2CY35GKJ.js");
|
|
107779
107779
|
return new EditTool(this);
|
|
107780
107780
|
});
|
|
107781
107781
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
107782
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
107782
|
+
const { NotebookEditTool } = await import("./notebook-edit-RWOEUTYU.js");
|
|
107783
107783
|
return new NotebookEditTool(this);
|
|
107784
107784
|
});
|
|
107785
107785
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
107786
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
107786
|
+
const { ShellTool: ShellTool2 } = await import("./shell-DA54BZO2.js");
|
|
107787
107787
|
return new ShellTool2(this);
|
|
107788
107788
|
});
|
|
107789
107789
|
await registerStructuredOutputIfRequested();
|
|
@@ -107793,11 +107793,11 @@ var Config = class {
|
|
|
107793
107793
|
return registry;
|
|
107794
107794
|
}
|
|
107795
107795
|
await registerLazy(ToolNames.TOOL_SEARCH, async () => {
|
|
107796
|
-
const { ToolSearchTool } = await import("./tool-search-
|
|
107796
|
+
const { ToolSearchTool } = await import("./tool-search-PONJXBSP.js");
|
|
107797
107797
|
return new ToolSearchTool(this);
|
|
107798
107798
|
});
|
|
107799
107799
|
await registerLazy(ToolNames.AGENT, async () => {
|
|
107800
|
-
const { AgentTool: AgentTool2 } = await import("./agent-
|
|
107800
|
+
const { AgentTool: AgentTool2 } = await import("./agent-KYFWAFRH.js");
|
|
107801
107801
|
return new AgentTool2(this);
|
|
107802
107802
|
});
|
|
107803
107803
|
await registerLazy(ToolNames.TASK_STOP, async () => {
|
|
@@ -107809,7 +107809,7 @@ var Config = class {
|
|
|
107809
107809
|
return new SendMessageTool(this);
|
|
107810
107810
|
});
|
|
107811
107811
|
await registerLazy(ToolNames.SKILL, async () => {
|
|
107812
|
-
const { SkillTool } = await import("./skill-
|
|
107812
|
+
const { SkillTool } = await import("./skill-47FZXDEM.js");
|
|
107813
107813
|
return new SkillTool(this);
|
|
107814
107814
|
});
|
|
107815
107815
|
await registerLazy(ToolNames.LS, async () => {
|
|
@@ -107817,7 +107817,7 @@ var Config = class {
|
|
|
107817
107817
|
return new LSTool(this);
|
|
107818
107818
|
});
|
|
107819
107819
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
107820
|
-
const { ReadFileTool } = await import("./read-file-
|
|
107820
|
+
const { ReadFileTool } = await import("./read-file-5QUJ3ZIL.js");
|
|
107821
107821
|
return new ReadFileTool(this);
|
|
107822
107822
|
});
|
|
107823
107823
|
if (this.getUseRipgrep()) {
|
|
@@ -107830,7 +107830,7 @@ var Config = class {
|
|
|
107830
107830
|
}
|
|
107831
107831
|
if (useRipgrep) {
|
|
107832
107832
|
await registerLazy(ToolNames.GREP, async () => {
|
|
107833
|
-
const { RipGrepTool: RipGrepTool2 } = await import("./ripGrep-
|
|
107833
|
+
const { RipGrepTool: RipGrepTool2 } = await import("./ripGrep-PA7M7MJS.js");
|
|
107834
107834
|
return new RipGrepTool2(this);
|
|
107835
107835
|
});
|
|
107836
107836
|
} else {
|
|
@@ -107843,34 +107843,34 @@ var Config = class {
|
|
|
107843
107843
|
)
|
|
107844
107844
|
);
|
|
107845
107845
|
await registerLazy(ToolNames.GREP, async () => {
|
|
107846
|
-
const { GrepTool } = await import("./grep-
|
|
107846
|
+
const { GrepTool } = await import("./grep-GKU7Y77F.js");
|
|
107847
107847
|
return new GrepTool(this);
|
|
107848
107848
|
});
|
|
107849
107849
|
}
|
|
107850
107850
|
} else {
|
|
107851
107851
|
await registerLazy(ToolNames.GREP, async () => {
|
|
107852
|
-
const { GrepTool } = await import("./grep-
|
|
107852
|
+
const { GrepTool } = await import("./grep-GKU7Y77F.js");
|
|
107853
107853
|
return new GrepTool(this);
|
|
107854
107854
|
});
|
|
107855
107855
|
}
|
|
107856
107856
|
await registerLazy(ToolNames.GLOB, async () => {
|
|
107857
|
-
const { GlobTool } = await import("./glob-
|
|
107857
|
+
const { GlobTool } = await import("./glob-C5ZNGH7V.js");
|
|
107858
107858
|
return new GlobTool(this);
|
|
107859
107859
|
});
|
|
107860
107860
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
107861
|
-
const { EditTool } = await import("./edit-
|
|
107861
|
+
const { EditTool } = await import("./edit-2CY35GKJ.js");
|
|
107862
107862
|
return new EditTool(this);
|
|
107863
107863
|
});
|
|
107864
107864
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
107865
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
107865
|
+
const { NotebookEditTool } = await import("./notebook-edit-RWOEUTYU.js");
|
|
107866
107866
|
return new NotebookEditTool(this);
|
|
107867
107867
|
});
|
|
107868
107868
|
await registerLazy(ToolNames.WRITE_FILE, async () => {
|
|
107869
|
-
const { WriteFileTool } = await import("./write-file-
|
|
107869
|
+
const { WriteFileTool } = await import("./write-file-2YX4NB3B.js");
|
|
107870
107870
|
return new WriteFileTool(this);
|
|
107871
107871
|
});
|
|
107872
107872
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
107873
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
107873
|
+
const { ShellTool: ShellTool2 } = await import("./shell-DA54BZO2.js");
|
|
107874
107874
|
return new ShellTool2(this);
|
|
107875
107875
|
});
|
|
107876
107876
|
await registerLazy(ToolNames.TODO_WRITE, async () => {
|
|
@@ -107883,16 +107883,16 @@ var Config = class {
|
|
|
107883
107883
|
});
|
|
107884
107884
|
if (!this.sdkMode) {
|
|
107885
107885
|
await registerLazy(ToolNames.EXIT_PLAN_MODE, async () => {
|
|
107886
|
-
const { ExitPlanModeTool } = await import("./exitPlanMode-
|
|
107886
|
+
const { ExitPlanModeTool } = await import("./exitPlanMode-3JP3BRRO.js");
|
|
107887
107887
|
return new ExitPlanModeTool(this);
|
|
107888
107888
|
});
|
|
107889
107889
|
}
|
|
107890
107890
|
await registerLazy(ToolNames.ENTER_WORKTREE, async () => {
|
|
107891
|
-
const { EnterWorktreeTool } = await import("./enter-worktree-
|
|
107891
|
+
const { EnterWorktreeTool } = await import("./enter-worktree-HJGN4DH2.js");
|
|
107892
107892
|
return new EnterWorktreeTool(this);
|
|
107893
107893
|
});
|
|
107894
107894
|
await registerLazy(ToolNames.EXIT_WORKTREE, async () => {
|
|
107895
|
-
const { ExitWorktreeTool } = await import("./exit-worktree-
|
|
107895
|
+
const { ExitWorktreeTool } = await import("./exit-worktree-VAPX5N2E.js");
|
|
107896
107896
|
return new ExitWorktreeTool(this);
|
|
107897
107897
|
});
|
|
107898
107898
|
await registerLazy(ToolNames.WEB_FETCH, async () => {
|
|
@@ -107921,7 +107921,7 @@ var Config = class {
|
|
|
107921
107921
|
});
|
|
107922
107922
|
}
|
|
107923
107923
|
await registerLazy(ToolNames.MONITOR, async () => {
|
|
107924
|
-
const { MonitorTool } = await import("./monitor-
|
|
107924
|
+
const { MonitorTool } = await import("./monitor-HJTGGH2N.js");
|
|
107925
107925
|
return new MonitorTool(this);
|
|
107926
107926
|
});
|
|
107927
107927
|
if (this.pendingMcpBudgetCallback) {
|
|
@@ -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-M5TA67JI.js";
|
|
8
|
+
import "./chunk-JQF2373J.js";
|
|
9
|
+
import "./chunk-QQAHXZS2.js";
|
|
10
10
|
import "./chunk-K5PGHDBN.js";
|
|
11
11
|
import "./chunk-O4PICXES.js";
|
|
12
12
|
import "./chunk-TW522KN6.js";
|
|
@@ -17,7 +17,7 @@ import "./chunk-33FTD7OV.js";
|
|
|
17
17
|
import "./chunk-77WXWU44.js";
|
|
18
18
|
import "./chunk-Q7IZ5RFJ.js";
|
|
19
19
|
import "./chunk-SS4HGKS4.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-DDU3LH4J.js";
|
|
21
21
|
import "./chunk-UWCTAVOD.js";
|
|
22
22
|
import "./chunk-OFEVLU4C.js";
|
|
23
23
|
import "./chunk-G5JCK3FG.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
getDiffStat,
|
|
14
14
|
needsUtf8Bom,
|
|
15
15
|
safeLiteralReplace
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QQAHXZS2.js";
|
|
17
17
|
import "./chunk-K5PGHDBN.js";
|
|
18
18
|
import "./chunk-O4PICXES.js";
|
|
19
19
|
import "./chunk-TW522KN6.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
getLanguageFromFilePath,
|
|
32
32
|
getSpecificMimeType,
|
|
33
33
|
logFileOperation
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DDU3LH4J.js";
|
|
35
35
|
import "./chunk-UWCTAVOD.js";
|
|
36
36
|
import "./chunk-OFEVLU4C.js";
|
|
37
37
|
import {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
GitWorktreeService,
|
|
5
5
|
writeWorktreeSession,
|
|
6
6
|
writeWorktreeSessionMarker
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QQAHXZS2.js";
|
|
8
8
|
import "./chunk-K5PGHDBN.js";
|
|
9
9
|
import "./chunk-O4PICXES.js";
|
|
10
10
|
import "./chunk-TW522KN6.js";
|
|
@@ -15,7 +15,7 @@ import "./chunk-33FTD7OV.js";
|
|
|
15
15
|
import "./chunk-77WXWU44.js";
|
|
16
16
|
import "./chunk-Q7IZ5RFJ.js";
|
|
17
17
|
import "./chunk-SS4HGKS4.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-DDU3LH4J.js";
|
|
19
19
|
import "./chunk-UWCTAVOD.js";
|
|
20
20
|
import "./chunk-OFEVLU4C.js";
|
|
21
21
|
import "./chunk-G5JCK3FG.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
readWorktreeSession,
|
|
7
7
|
readWorktreeSessionMarker,
|
|
8
8
|
worktreeBranchForSlug
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QQAHXZS2.js";
|
|
10
10
|
import "./chunk-K5PGHDBN.js";
|
|
11
11
|
import "./chunk-O4PICXES.js";
|
|
12
12
|
import "./chunk-TW522KN6.js";
|
|
@@ -17,7 +17,7 @@ import "./chunk-33FTD7OV.js";
|
|
|
17
17
|
import "./chunk-77WXWU44.js";
|
|
18
18
|
import "./chunk-Q7IZ5RFJ.js";
|
|
19
19
|
import "./chunk-SS4HGKS4.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-DDU3LH4J.js";
|
|
21
21
|
import "./chunk-UWCTAVOD.js";
|
|
22
22
|
import "./chunk-OFEVLU4C.js";
|
|
23
23
|
import "./chunk-G5JCK3FG.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-QQAHXZS2.js";
|
|
4
4
|
import "./chunk-K5PGHDBN.js";
|
|
5
5
|
import "./chunk-O4PICXES.js";
|
|
6
6
|
import "./chunk-TW522KN6.js";
|
|
@@ -11,7 +11,7 @@ import "./chunk-33FTD7OV.js";
|
|
|
11
11
|
import "./chunk-77WXWU44.js";
|
|
12
12
|
import "./chunk-Q7IZ5RFJ.js";
|
|
13
13
|
import "./chunk-SS4HGKS4.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-DDU3LH4J.js";
|
|
15
15
|
import "./chunk-UWCTAVOD.js";
|
|
16
16
|
import "./chunk-OFEVLU4C.js";
|
|
17
17
|
import "./chunk-G5JCK3FG.js";
|
|
@@ -210,7 +210,7 @@ var GeminiContentGenerator = class {
|
|
|
210
210
|
|
|
211
211
|
// packages/core/src/core/geminiContentGenerator/index.ts
|
|
212
212
|
function createGeminiContentGenerator(config, gcConfig) {
|
|
213
|
-
const version = "0.16.1-
|
|
213
|
+
const version = "0.16.1-preview.0";
|
|
214
214
|
const userAgent = config.userAgent || `QwenCode/${version} (${process.platform}; ${process.arch})`;
|
|
215
215
|
const baseHeaders = {
|
|
216
216
|
"User-Agent": userAgent
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
escape,
|
|
5
5
|
glob
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QQAHXZS2.js";
|
|
7
7
|
import "./chunk-K5PGHDBN.js";
|
|
8
8
|
import "./chunk-O4PICXES.js";
|
|
9
9
|
import "./chunk-TW522KN6.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-77WXWU44.js";
|
|
17
17
|
import "./chunk-Q7IZ5RFJ.js";
|
|
18
18
|
import "./chunk-SS4HGKS4.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-DDU3LH4J.js";
|
|
20
20
|
import "./chunk-UWCTAVOD.js";
|
|
21
21
|
import "./chunk-OFEVLU4C.js";
|
|
22
22
|
import {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
globStream,
|
|
5
5
|
isCommandAvailable,
|
|
6
6
|
isGitRepository
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QQAHXZS2.js";
|
|
8
8
|
import "./chunk-K5PGHDBN.js";
|
|
9
9
|
import "./chunk-O4PICXES.js";
|
|
10
10
|
import "./chunk-TW522KN6.js";
|
|
@@ -15,7 +15,7 @@ import "./chunk-33FTD7OV.js";
|
|
|
15
15
|
import "./chunk-77WXWU44.js";
|
|
16
16
|
import "./chunk-Q7IZ5RFJ.js";
|
|
17
17
|
import "./chunk-SS4HGKS4.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-DDU3LH4J.js";
|
|
19
19
|
import "./chunk-UWCTAVOD.js";
|
|
20
20
|
import "./chunk-OFEVLU4C.js";
|
|
21
21
|
import {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
normalizeMonitorCommand,
|
|
14
14
|
splitCommands,
|
|
15
15
|
stripAnsi
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QQAHXZS2.js";
|
|
17
17
|
import "./chunk-K5PGHDBN.js";
|
|
18
18
|
import "./chunk-O4PICXES.js";
|
|
19
19
|
import "./chunk-TW522KN6.js";
|
|
@@ -24,7 +24,7 @@ import "./chunk-33FTD7OV.js";
|
|
|
24
24
|
import "./chunk-77WXWU44.js";
|
|
25
25
|
import "./chunk-Q7IZ5RFJ.js";
|
|
26
26
|
import "./chunk-SS4HGKS4.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-DDU3LH4J.js";
|
|
28
28
|
import "./chunk-UWCTAVOD.js";
|
|
29
29
|
import "./chunk-OFEVLU4C.js";
|
|
30
30
|
import "./chunk-G5JCK3FG.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
createPatch,
|
|
10
10
|
detectLineEnding,
|
|
11
11
|
getDiffStat
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QQAHXZS2.js";
|
|
13
13
|
import "./chunk-K5PGHDBN.js";
|
|
14
14
|
import "./chunk-O4PICXES.js";
|
|
15
15
|
import "./chunk-TW522KN6.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
parseNotebook,
|
|
38
38
|
serializeNotebook,
|
|
39
39
|
toNotebookSource
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-DDU3LH4J.js";
|
|
41
41
|
import "./chunk-UWCTAVOD.js";
|
|
42
42
|
import "./chunk-OFEVLU4C.js";
|
|
43
43
|
import "./chunk-G5JCK3FG.js";
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
OpenRouterOpenAICompatibleProvider,
|
|
13
13
|
createOpenAIContentGenerator,
|
|
14
14
|
determineProvider
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XS2N5WHQ.js";
|
|
16
16
|
import "./chunk-6W4AH2GT.js";
|
|
17
17
|
import "./chunk-SS4HGKS4.js";
|
|
18
18
|
import {
|
|
19
19
|
OpenAIContentConverter
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DDU3LH4J.js";
|
|
21
21
|
import "./chunk-UWCTAVOD.js";
|
|
22
22
|
import "./chunk-OFEVLU4C.js";
|
|
23
23
|
import "./chunk-G5JCK3FG.js";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import {
|
|
4
4
|
DashScopeOpenAICompatibleProvider,
|
|
5
5
|
OpenAIContentGenerator
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XS2N5WHQ.js";
|
|
7
7
|
import "./chunk-6W4AH2GT.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-QQAHXZS2.js";
|
|
9
9
|
import "./chunk-K5PGHDBN.js";
|
|
10
10
|
import "./chunk-O4PICXES.js";
|
|
11
11
|
import "./chunk-TW522KN6.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-33FTD7OV.js";
|
|
|
16
16
|
import "./chunk-77WXWU44.js";
|
|
17
17
|
import "./chunk-Q7IZ5RFJ.js";
|
|
18
18
|
import "./chunk-SS4HGKS4.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-DDU3LH4J.js";
|
|
20
20
|
import "./chunk-UWCTAVOD.js";
|
|
21
21
|
import "./chunk-OFEVLU4C.js";
|
|
22
22
|
import "./chunk-G5JCK3FG.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
RipGrepTool,
|
|
5
5
|
_resetRipGrepCachesForTest
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QQAHXZS2.js";
|
|
7
7
|
import "./chunk-K5PGHDBN.js";
|
|
8
8
|
import "./chunk-O4PICXES.js";
|
|
9
9
|
import "./chunk-TW522KN6.js";
|
|
@@ -14,7 +14,7 @@ import "./chunk-33FTD7OV.js";
|
|
|
14
14
|
import "./chunk-77WXWU44.js";
|
|
15
15
|
import "./chunk-Q7IZ5RFJ.js";
|
|
16
16
|
import "./chunk-SS4HGKS4.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-DDU3LH4J.js";
|
|
18
18
|
import "./chunk-UWCTAVOD.js";
|
|
19
19
|
import "./chunk-OFEVLU4C.js";
|
|
20
20
|
import "./chunk-G5JCK3FG.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
getNpmVersion,
|
|
30
30
|
loadSettings,
|
|
31
31
|
mapDomainErrorToErrorKind
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-F6MJMTLW.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-JQF2373J.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-QQAHXZS2.js";
|
|
60
60
|
import "./chunk-K5PGHDBN.js";
|
|
61
61
|
import "./chunk-O4PICXES.js";
|
|
62
62
|
import "./chunk-TW522KN6.js";
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
isBinaryFile,
|
|
78
78
|
isWithinRoot,
|
|
79
79
|
require_safer
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-DDU3LH4J.js";
|
|
81
81
|
import "./chunk-UWCTAVOD.js";
|
|
82
82
|
import "./chunk-OFEVLU4C.js";
|
|
83
83
|
import "./chunk-G5JCK3FG.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
buildLongRunningForegroundHint,
|
|
8
8
|
detectBlockedSleepPattern,
|
|
9
9
|
parseNumstat
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QQAHXZS2.js";
|
|
11
11
|
import "./chunk-K5PGHDBN.js";
|
|
12
12
|
import "./chunk-O4PICXES.js";
|
|
13
13
|
import "./chunk-TW522KN6.js";
|
|
@@ -18,7 +18,7 @@ import "./chunk-33FTD7OV.js";
|
|
|
18
18
|
import "./chunk-77WXWU44.js";
|
|
19
19
|
import "./chunk-Q7IZ5RFJ.js";
|
|
20
20
|
import "./chunk-SS4HGKS4.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-DDU3LH4J.js";
|
|
22
22
|
import "./chunk-UWCTAVOD.js";
|
|
23
23
|
import "./chunk-OFEVLU4C.js";
|
|
24
24
|
import "./chunk-G5JCK3FG.js";
|
|
@@ -597,7 +597,7 @@ import {
|
|
|
597
597
|
writeWorktreeSession,
|
|
598
598
|
writeWorktreeSessionMarker,
|
|
599
599
|
zaiProvider
|
|
600
|
-
} from "./chunk-
|
|
600
|
+
} from "./chunk-QQAHXZS2.js";
|
|
601
601
|
import "./chunk-K5PGHDBN.js";
|
|
602
602
|
import "./chunk-O4PICXES.js";
|
|
603
603
|
import "./chunk-TW522KN6.js";
|
|
@@ -847,7 +847,7 @@ import {
|
|
|
847
847
|
uiTelemetryService,
|
|
848
848
|
validateModelConfig,
|
|
849
849
|
windowsCodePageToEncoding
|
|
850
|
-
} from "./chunk-
|
|
850
|
+
} from "./chunk-DDU3LH4J.js";
|
|
851
851
|
import "./chunk-UWCTAVOD.js";
|
|
852
852
|
import {
|
|
853
853
|
DEFAULT_QWEN_EMBEDDING_MODEL,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
detectLineEnding,
|
|
13
13
|
getDiffStat,
|
|
14
14
|
needsUtf8Bom
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QQAHXZS2.js";
|
|
16
16
|
import "./chunk-K5PGHDBN.js";
|
|
17
17
|
import "./chunk-O4PICXES.js";
|
|
18
18
|
import "./chunk-TW522KN6.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
getLanguageFromFilePath,
|
|
30
30
|
getSpecificMimeType,
|
|
31
31
|
logFileOperation
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-DDU3LH4J.js";
|
|
33
33
|
import "./chunk-UWCTAVOD.js";
|
|
34
34
|
import "./chunk-OFEVLU4C.js";
|
|
35
35
|
import {
|
package/cli.js
CHANGED
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
settingExistsInScope,
|
|
83
83
|
updateOutputLanguageFile,
|
|
84
84
|
validateCustomTheme
|
|
85
|
-
} from "./chunks/chunk-
|
|
85
|
+
} from "./chunks/chunk-F6MJMTLW.js";
|
|
86
86
|
import {
|
|
87
87
|
AgentSideConnection,
|
|
88
88
|
PROTOCOL_VERSION,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
contextCommand,
|
|
94
94
|
isTerminalGoalStatusKind,
|
|
95
95
|
require_react
|
|
96
|
-
} from "./chunks/chunk-
|
|
96
|
+
} from "./chunks/chunk-M5TA67JI.js";
|
|
97
97
|
import {
|
|
98
98
|
SUPPORTED_LANGUAGES,
|
|
99
99
|
clearScreen,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
ta,
|
|
107
107
|
writeStderrLine,
|
|
108
108
|
writeStdoutLine
|
|
109
|
-
} from "./chunks/chunk-
|
|
109
|
+
} from "./chunks/chunk-JQF2373J.js";
|
|
110
110
|
import {
|
|
111
111
|
ALIBABA_PROVIDERS,
|
|
112
112
|
ALL_PROVIDERS,
|
|
@@ -291,7 +291,7 @@ import {
|
|
|
291
291
|
unregisterGoalHook,
|
|
292
292
|
updateSetting,
|
|
293
293
|
writeRuntimeStatus
|
|
294
|
-
} from "./chunks/chunk-
|
|
294
|
+
} from "./chunks/chunk-QQAHXZS2.js";
|
|
295
295
|
import {
|
|
296
296
|
_enum,
|
|
297
297
|
_null,
|
|
@@ -375,7 +375,7 @@ import {
|
|
|
375
375
|
setGeminiMdFilename,
|
|
376
376
|
shutdownTelemetry,
|
|
377
377
|
uiTelemetryService
|
|
378
|
-
} from "./chunks/chunk-
|
|
378
|
+
} from "./chunks/chunk-DDU3LH4J.js";
|
|
379
379
|
import "./chunks/chunk-UWCTAVOD.js";
|
|
380
380
|
import {
|
|
381
381
|
DEFAULT_QWEN_EMBEDDING_MODEL,
|
|
@@ -76556,7 +76556,7 @@ var serveCommand = {
|
|
|
76556
76556
|
}
|
|
76557
76557
|
} catch {
|
|
76558
76558
|
}
|
|
76559
|
-
const { runQwenServe } = await import("./chunks/serve-
|
|
76559
|
+
const { runQwenServe } = await import("./chunks/serve-FLSKL5TV.js");
|
|
76560
76560
|
try {
|
|
76561
76561
|
await runQwenServe({
|
|
76562
76562
|
port: argv.port,
|
|
@@ -86850,7 +86850,7 @@ async function extractMetadata(conversation, config) {
|
|
|
86850
86850
|
const gitBranch = firstRecord?.gitBranch;
|
|
86851
86851
|
let gitRepo;
|
|
86852
86852
|
if (cwd5) {
|
|
86853
|
-
const { getGitRepoName } = await import("./chunks/src-
|
|
86853
|
+
const { getGitRepoName } = await import("./chunks/src-6Y7NVY2L.js");
|
|
86854
86854
|
gitRepo = getGitRepoName(cwd5);
|
|
86855
86855
|
}
|
|
86856
86856
|
let model;
|
|
@@ -97145,7 +97145,7 @@ var SystemController = class extends BaseController {
|
|
|
97145
97145
|
throw new Error("Request aborted");
|
|
97146
97146
|
}
|
|
97147
97147
|
try {
|
|
97148
|
-
const mod = await import("./chunks/contextCommand-
|
|
97148
|
+
const mod = await import("./chunks/contextCommand-E3Z6QOHV.js");
|
|
97149
97149
|
if (signal.aborted) {
|
|
97150
97150
|
throw new Error("Request aborted");
|
|
97151
97151
|
}
|
|
@@ -153344,7 +153344,7 @@ var QwenAgent = class {
|
|
|
153344
153344
|
async initialize(args) {
|
|
153345
153345
|
this.clientCapabilities = args.clientCapabilities;
|
|
153346
153346
|
const authMethods = buildAuthMethods();
|
|
153347
|
-
const version = "0.16.1-
|
|
153347
|
+
const version = "0.16.1-preview.0";
|
|
153348
153348
|
return {
|
|
153349
153349
|
protocolVersion: PROTOCOL_VERSION,
|
|
153350
153350
|
agentInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qwen-code/qwen-code",
|
|
3
|
-
"version": "0.16.1-
|
|
3
|
+
"version": "0.16.1-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.16.1-
|
|
25
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.16.1-preview.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {},
|
|
28
28
|
"optionalDependencies": {
|