Compare commits

..

5 Commits

Author SHA1 Message Date
mingholy.lmh
36f6967a5a fix: try to fix parallel tool calls with irregular chunk content 2025-09-09 12:07:39 +08:00
mingholy.lmh
0b99dba211 fix: unit test cases 2025-09-09 12:07:39 +08:00
mingholy.lmh
a38018e6cd refactor: re-organize refactored files 2025-09-09 12:07:39 +08:00
mingholy.lmh
97751c56bc refactor: optimize stream handling 2025-09-09 12:07:38 +08:00
mingholy.lmh
fe270b55be refactor: openaiContentGenerator 2025-09-09 12:07:38 +08:00
7 changed files with 25 additions and 25 deletions

12
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@qwen-code/qwen-code",
"version": "0.0.11-nightly.3",
"version": "0.0.10",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@qwen-code/qwen-code",
"version": "0.0.11-nightly.3",
"version": "0.0.10",
"workspaces": [
"packages/*"
],
@@ -12512,7 +12512,7 @@
},
"packages/cli": {
"name": "@qwen-code/qwen-code",
"version": "0.0.11-nightly.3",
"version": "0.0.10",
"dependencies": {
"@google/genai": "1.9.0",
"@iarna/toml": "^2.2.5",
@@ -12696,7 +12696,7 @@
},
"packages/core": {
"name": "@qwen-code/qwen-code-core",
"version": "0.0.11-nightly.3",
"version": "0.0.10",
"dependencies": {
"@google/genai": "1.13.0",
"@modelcontextprotocol/sdk": "^1.11.0",
@@ -12861,7 +12861,7 @@
},
"packages/test-utils": {
"name": "@qwen-code/qwen-code-test-utils",
"version": "0.0.11-nightly.3",
"version": "0.0.10",
"license": "Apache-2.0",
"devDependencies": {
"typescript": "^5.3.3"
@@ -12872,7 +12872,7 @@
},
"packages/vscode-ide-companion": {
"name": "qwen-code-vscode-ide-companion",
"version": "0.0.11-nightly.3",
"version": "0.0.10",
"license": "LICENSE",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.15.1",

View File

@@ -1,6 +1,6 @@
{
"name": "@qwen-code/qwen-code",
"version": "0.0.11-nightly.3",
"version": "0.0.10",
"engines": {
"node": ">=20.0.0"
},
@@ -13,7 +13,7 @@
"url": "git+https://github.com/QwenLM/qwen-code.git"
},
"config": {
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.11-nightly.3"
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.10"
},
"scripts": {
"start": "node scripts/start.js",

View File

@@ -1,6 +1,6 @@
{
"name": "@qwen-code/qwen-code",
"version": "0.0.11-nightly.3",
"version": "0.0.10",
"description": "Qwen Code",
"repository": {
"type": "git",
@@ -25,7 +25,7 @@
"dist"
],
"config": {
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.11-nightly.3"
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.10"
},
"dependencies": {
"@google/genai": "1.9.0",

View File

@@ -1664,9 +1664,9 @@ describe('loadCliConfig tool exclusions', () => {
process.argv = ['node', 'script.js'];
const argv = await parseArguments();
const config = await loadCliConfig({}, [], 'test-session', argv);
expect(config.getExcludeTools()).not.toContain(ShellTool.Name);
expect(config.getExcludeTools()).not.toContain(EditTool.Name);
expect(config.getExcludeTools()).not.toContain(WriteFileTool.Name);
expect(config.getExcludeTools()).not.toContain('run_shell_command');
expect(config.getExcludeTools()).not.toContain('edit');
expect(config.getExcludeTools()).not.toContain('write_file');
});
it('should not exclude interactive tools in interactive mode with YOLO', async () => {
@@ -1674,9 +1674,9 @@ describe('loadCliConfig tool exclusions', () => {
process.argv = ['node', 'script.js', '--yolo'];
const argv = await parseArguments();
const config = await loadCliConfig({}, [], 'test-session', argv);
expect(config.getExcludeTools()).not.toContain(ShellTool.Name);
expect(config.getExcludeTools()).not.toContain(EditTool.Name);
expect(config.getExcludeTools()).not.toContain(WriteFileTool.Name);
expect(config.getExcludeTools()).not.toContain('run_shell_command');
expect(config.getExcludeTools()).not.toContain('edit');
expect(config.getExcludeTools()).not.toContain('write_file');
});
it('should exclude interactive tools in non-interactive mode without YOLO', async () => {
@@ -1684,9 +1684,9 @@ describe('loadCliConfig tool exclusions', () => {
process.argv = ['node', 'script.js', '-p', 'test'];
const argv = await parseArguments();
const config = await loadCliConfig({}, [], 'test-session', argv);
expect(config.getExcludeTools()).toContain(ShellTool.Name);
expect(config.getExcludeTools()).toContain(EditTool.Name);
expect(config.getExcludeTools()).toContain(WriteFileTool.Name);
expect(config.getExcludeTools()).toContain('run_shell_command');
expect(config.getExcludeTools()).toContain('edit');
expect(config.getExcludeTools()).toContain('write_file');
});
it('should not exclude interactive tools in non-interactive mode with YOLO', async () => {
@@ -1694,9 +1694,9 @@ describe('loadCliConfig tool exclusions', () => {
process.argv = ['node', 'script.js', '-p', 'test', '--yolo'];
const argv = await parseArguments();
const config = await loadCliConfig({}, [], 'test-session', argv);
expect(config.getExcludeTools()).not.toContain(ShellTool.Name);
expect(config.getExcludeTools()).not.toContain(EditTool.Name);
expect(config.getExcludeTools()).not.toContain(WriteFileTool.Name);
expect(config.getExcludeTools()).not.toContain('run_shell_command');
expect(config.getExcludeTools()).not.toContain('edit');
expect(config.getExcludeTools()).not.toContain('write_file');
});
});

View File

@@ -1,6 +1,6 @@
{
"name": "@qwen-code/qwen-code-core",
"version": "0.0.11-nightly.3",
"version": "0.0.10",
"description": "Qwen Code Core",
"repository": {
"type": "git",

View File

@@ -1,6 +1,6 @@
{
"name": "@qwen-code/qwen-code-test-utils",
"version": "0.0.11-nightly.3",
"version": "0.0.10",
"private": true,
"main": "src/index.ts",
"license": "Apache-2.0",

View File

@@ -2,7 +2,7 @@
"name": "qwen-code-vscode-ide-companion",
"displayName": "Qwen Code Companion",
"description": "Enable Qwen Code with direct access to your VS Code workspace.",
"version": "0.0.11-nightly.3",
"version": "0.0.10",
"publisher": "qwenlm",
"icon": "assets/icon.png",
"repository": {