@qwen-code/qwen-code 0.13.0-preview.6 → 0.13.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/cli.js +7 -5
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -171203,7 +171203,7 @@ __export(geminiContentGenerator_exports, {
|
|
|
171203
171203
|
createGeminiContentGenerator: () => createGeminiContentGenerator
|
|
171204
171204
|
});
|
|
171205
171205
|
function createGeminiContentGenerator(config2, gcConfig) {
|
|
171206
|
-
const version2 = "0.13.0
|
|
171206
|
+
const version2 = "0.13.0";
|
|
171207
171207
|
const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
171208
171208
|
const baseHeaders = {
|
|
171209
171209
|
"User-Agent": userAgent2
|
|
@@ -240468,7 +240468,9 @@ I have fetched the content from ${this.params.url}. Please use the following con
|
|
|
240468
240468
|
${textContent2}
|
|
240469
240469
|
---`;
|
|
240470
240470
|
this.debugLogger.debug(`[WebFetchTool] Processing content with prompt: "${this.params.prompt}"`);
|
|
240471
|
-
const result = await geminiClient.generateContent([{ role: "user", parts: [{ text: fallbackPrompt }] }], {
|
|
240471
|
+
const result = await geminiClient.generateContent([{ role: "user", parts: [{ text: fallbackPrompt }] }], {
|
|
240472
|
+
systemInstruction: "Extract and summarize the requested information from the provided web content. Be concise and accurate. Respond only with the requested information."
|
|
240473
|
+
}, signal, this.config.getModel() || DEFAULT_QWEN_MODEL);
|
|
240472
240474
|
const resultText = getResponseText(result) || "";
|
|
240473
240475
|
this.debugLogger.debug(`[WebFetchTool] Successfully processed content from ${this.params.url}`);
|
|
240474
240476
|
return {
|
|
@@ -405883,7 +405885,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
405883
405885
|
// packages/cli/src/utils/version.ts
|
|
405884
405886
|
async function getCliVersion() {
|
|
405885
405887
|
const pkgJson = await getPackageJson();
|
|
405886
|
-
return "0.13.0
|
|
405888
|
+
return "0.13.0";
|
|
405887
405889
|
}
|
|
405888
405890
|
__name(getCliVersion, "getCliVersion");
|
|
405889
405891
|
|
|
@@ -413513,7 +413515,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
413513
413515
|
|
|
413514
413516
|
// packages/cli/src/generated/git-commit.ts
|
|
413515
413517
|
init_esbuild_shims();
|
|
413516
|
-
var GIT_COMMIT_INFO = "
|
|
413518
|
+
var GIT_COMMIT_INFO = "aebe889b3";
|
|
413517
413519
|
|
|
413518
413520
|
// packages/cli/src/utils/systemInfo.ts
|
|
413519
413521
|
async function getNpmVersion() {
|
|
@@ -476889,7 +476891,7 @@ var QwenAgent = class {
|
|
|
476889
476891
|
async initialize(args2) {
|
|
476890
476892
|
this.clientCapabilities = args2.clientCapabilities;
|
|
476891
476893
|
const authMethods = buildAuthMethods();
|
|
476892
|
-
const version2 = "0.13.0
|
|
476894
|
+
const version2 = "0.13.0";
|
|
476893
476895
|
return {
|
|
476894
476896
|
protocolVersion: PROTOCOL_VERSION,
|
|
476895
476897
|
agentInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qwen-code/qwen-code",
|
|
3
|
-
"version": "0.13.0
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Qwen Code - AI-powered coding assistant",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"bundled"
|
|
22
22
|
],
|
|
23
23
|
"config": {
|
|
24
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.13.0
|
|
24
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.13.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {},
|
|
27
27
|
"optionalDependencies": {
|