kefuxin
84cccfe99a
feat: add i18n for schemaCompliance setting
2025-12-11 14:30:38 +08:00
kefuxin
b6a3ab11e0
fix: improve Gemini compatibility by adding configurable schema converter
...
This commit addresses issue #1186 by introducing a configurable schema compliance
mechanism for tool definitions sent to LLMs.
Key changes:
1. **New Configuration**: Added `model.generationConfig.schemaCompliance` setting (defaults to 'auto', optional 'openapi_30').
2. **Schema Converter**: Implemented `toOpenAPI30` converter in `packages/core` to strictly downgrade modern JSON Schema to OpenAPI 3.0.3 (required for Gemini API), handling:
- Nullable types (`["string", "null"]` -> `nullable: true`)
- Numeric exclusive limits
- Const to Enum conversion
- Removal of tuples and invalid keywords (``, `dependencies`, etc.)
3. **Tests**: Added comprehensive unit tests for the schema converter and updated pipeline tests.
Fixes #1186
2025-12-11 14:23:27 +08:00
tanzhenxin
58d3a9c253
Merge pull request #1176 from QwenLM/feat/acp-usage-metadata
...
Feat/acp usage metadata
2025-12-11 14:09:43 +08:00
TianHao Zhang
d06a6d7ef9
feat: update references from Gemini to Qwen in setup commands and gitignore handling ( #1156 )
2025-12-11 14:09:22 +08:00
pomelo
ae9753a326
Merge pull request #1189 from afarber/security-fixes
...
fix: update vulnerable dependencies (glob, jws, tar, js-yaml)
2025-12-11 09:42:30 +08:00
Alexander Farber
5f78909040
Add terminal bell setting to enable/disable audio notifications
2025-12-09 20:27:20 +01:00
Alexander Farber
5b74422be6
Do not skip the tests
2025-12-09 16:46:18 +01:00
Alexander Farber
06c398a015
Remove vertical borders from input prompt for easier copy/paste
2025-12-09 16:37:32 +01:00
Alexander Farber
aec5d6463a
Update vulnerable dependencies (glob, jws, tar, js-yaml)
2025-12-09 15:14:20 +01:00
tanzhenxin
5fddcd509c
pump versionm to 0.4.1 ( #1177 )
2025-12-09 10:25:07 +08:00
tanzhenxin
d7b9466516
#1129 , add usage update in ACP mode
2025-12-09 09:58:19 +08:00
tanzhenxin
efbf50554d
Merge branch 'main' into feat/acp-usage-metadata
2025-12-08 10:27:38 +08:00
Mingholy
3ed0a34b5e
Merge pull request #1147 from QwenLM/mingholy/feat/cli-sdk-stage-2
...
Custom tools support via SDK controlled MCP servers
2025-12-05 21:19:58 +08:00
tanzhenxin
3a7b1159ae
feat: add usage metadata in acp session/update event
2025-12-05 15:40:49 +08:00
tanzhenxin
3e2a2255ee
DeepSeek V3.2 Thinking Mode Integration ( #1134 )
2025-12-05 15:08:35 +08:00
mingholy.lmh
46478e5dd3
fix: try fix sandbox integration test failure
2025-12-05 13:14:55 +08:00
mingholy.lmh
322ce80e2c
feat: implement SDK MCP server support and enhance control request handling
...
- Added new `SdkMcpController` to manage communication between CLI MCP clients and SDK MCP servers.
- Introduced `createSdkMcpServer` function for creating SDK-embedded MCP servers.
- Updated configuration options to support both external and SDK MCP servers.
- Enhanced timeout settings for various SDK operations, including MCP requests.
- Refactored existing control request handling to accommodate new SDK MCP server functionality.
- Updated tests to cover new SDK MCP server features and ensure proper integration.
2025-12-05 13:14:54 +08:00
pomelo
a58d3f7aaf
Merge pull request #1148 from QwenLM/feat/no-quit-confirm
...
Remove `/quit-confirm` flow
2025-12-05 10:56:08 +08:00
mingholy.lmh
57b519db9a
test: skip qwen-oauth e2 case in sandbox
2025-12-04 20:39:51 +08:00
tanzhenxin
1c45ef563d
remove unused files
2025-12-04 17:41:52 +08:00
mingholy.lmh
0630908e0c
fix: lint error
2025-12-04 17:36:22 +08:00
mingholy.lmh
50e3a6ee0a
fix: enhance 429 error handling and fix failed cases
2025-12-04 17:10:23 +08:00
mingholy.lmh
8035be6f8d
fix: plan mode adjustments
2025-12-04 17:10:22 +08:00
mingholy.lmh
249b141f19
feat: add allowedTools for SDK use and re-organize test setup
2025-12-04 17:10:22 +08:00
mingholy.lmh
769a438fa4
feat: enhance logging capabilities and update query options in sdk-typescript
...
- Introduced a new logging system with adjustable log levels (debug, info, warn, error).
- Updated query options to include a logLevel parameter for controlling verbosity.
- Refactored existing code to utilize the new logging system for better error handling and debugging.
- Cleaned up unused code and improved the structure of the SDK.
2025-12-04 17:10:20 +08:00
mingholy.lmh
ac6aecb622
refactor: update test structure and clean up unused code in cli and sdk
2025-12-04 17:10:20 +08:00
mingholy.lmh
d76cdf1076
feat: sdk subagent support
2025-12-04 17:10:20 +08:00
mingholy.lmh
e1ffaec499
feat: create draft framework for cli & sdk
2025-12-04 17:10:16 +08:00
tanzhenxin
5b2f3e285c
remove /quit-confirm slash command
2025-12-04 16:21:32 +08:00
tanzhenxin
e426c15e9e
pump version to 0.4.0 ( #1132 )
2025-12-03 18:10:11 +08:00
tanzhenxin
0a75d85ac9
Session-Level Conversation History Management ( #1113 )
2025-12-03 18:04:48 +08:00
Mingholy
c9af74816a
fix: reset authType settings ( #1091 )
...
* fix: reset authType settings
* fix: failed json-output tests
* fix: sandbox exception log to stderr
2025-11-23 17:59:35 +08:00
pomelo
83fc321e15
Merge pull request #1090 from QwenLM/feat/logger-enhancement
...
Improve Usage Statistics by Moving Key Snapshot Fields into Properties
2025-11-21 15:55:26 +08:00
pomelo
48b77541c3
feat(i18n): Add Internationalization Support for UI and LLM Output ( #1058 )
2025-11-21 15:44:37 +08:00
tanzhenxin
f2439f8d53
fix: skip one unstable test case
2025-11-21 15:43:05 +08:00
tanzhenxin
fb6d0b43fa
feat: change shortcut for subagent execution display
2025-11-21 15:42:17 +08:00
tanzhenxin
640f30655d
chore: pump version to 0.3.0 ( #1085 )
2025-11-21 09:37:38 +08:00
Kdump
9e5387f159
Headless enhancement: add stream-json as input-format/output-format to support programmatically use ( #926 )
2025-11-21 09:26:05 +08:00
tanzhenxin
442a9aed58
Replace spawn with execFile for memory-safe command execution ( #1068 )
2025-11-20 15:04:00 +08:00
Mingholy
a15b84e2a1
refactor(auth): enhance useAuthCommand to include history management and improve error handling in QwenOAuth2Client ( #1077 )
2025-11-20 14:37:39 +08:00
tanzhenxin
07069f00d1
feat: remove prompt completion feature ( #1076 )
2025-11-20 14:36:51 +08:00
citlalinda
e1f793b2e0
fix: character encoding corruption when executing the /copy command on Windows. ( #1069 )
...
Co-authored-by: linda <hxn@163.com >
2025-11-20 10:23:17 +08:00
tanzhenxin
3c64f7bff5
chore: pump version to 0.2.3 ( #1073 )
2025-11-20 10:09:12 +08:00
Mingholy
d0e76c76a8
refactor(auth): save authType after successfully authenticated ( #1036 )
2025-11-19 11:21:46 +08:00
tanzhenxin
3ed93d5b5d
fix: integration tests ( #1062 )
2025-11-19 10:23:16 +08:00
Mingholy
efca0bc795
fix: basic slash command support ( #1020 )
2025-11-18 13:46:42 +08:00
tanzhenxin
6bb829f876
feat: Add Terminal Attention Notifications for User Alerts ( #1052 )
2025-11-18 13:43:43 +08:00
yyyanghj
0eeffc6875
feat: add support for Trae editor ( #1037 )
2025-11-17 10:58:33 +08:00
BlockHand
29261c75e1
feat: openApi configurable window ( #1019 )
2025-11-14 10:18:57 +08:00
tanzhenxin
b4eba6584a
chore: pump version to 0.2.2 ( #1027 )
2025-11-13 20:39:14 +08:00