chore: bump version to 4.0.6

- 版本号升级至 4.0.6
- CHANGELOG.md 新增 4.0.6 变更记录
- package.json 描述更新,undici 移至 dependencies
This commit is contained in:
y574444354 2026-04-16 11:29:23 +08:00
parent 003ff2d6cd
commit 531bd9f735
5 changed files with 76 additions and 5 deletions

View File

@ -176,6 +176,60 @@
}
},
"hotPaths": [
{
"path": "C:\\Users\\SXF-Admin\\.claude\\projects\\D--source-codespace-geroge-costrict-repo-csc\\memory\\project_bun_to_node_migration.md",
"accessCount": 7,
"lastAccessed": 1776310133168,
"type": "file"
},
{
"path": "package.json",
"accessCount": 5,
"lastAccessed": 1776309529820,
"type": "file"
},
{
"path": "C:\\Users\\SXF-Admin\\.claude\\projects\\D--source-codespace-geroge-costrict-repo-csc\\memory\\project_version_milestones_4x.md",
"accessCount": 5,
"lastAccessed": 1776310132640,
"type": "file"
},
{
"path": "CHANGELOG.md",
"accessCount": 4,
"lastAccessed": 1776310073300,
"type": "file"
},
{
"path": "C:\\Users\\SXF-Admin\\.claude\\projects\\D--source-codespace-geroge-costrict-repo-csc\\memory\\feedback_changelog_merged_style.md",
"accessCount": 3,
"lastAccessed": 1776309698865,
"type": "file"
},
{
"path": "C:\\Users\\SXF-Admin\\.claude\\projects\\D--source-codespace-geroge-costrict-repo-csc\\memory\\project_upstream_sync_conflict.md",
"accessCount": 2,
"lastAccessed": 1776308992853,
"type": "file"
},
{
"path": "C:\\Users\\SXF-Admin\\.claude\\projects\\D--source-codespace-geroge-costrict-repo-csc\\memory\\feedback_direct_action_preference.md",
"accessCount": 2,
"lastAccessed": 1776309022748,
"type": "file"
},
{
"path": "scripts\\defines.ts",
"accessCount": 2,
"lastAccessed": 1776309529227,
"type": "file"
},
{
"path": "C:\\Users\\SXF-Admin\\.claude\\projects\\D--source-codespace-geroge-costrict-repo-csc\\memory\\feedback_npm_auth_method.md",
"accessCount": 2,
"lastAccessed": 1776310104176,
"type": "file"
},
{
"path": "src",
"accessCount": 1,
@ -193,6 +247,18 @@
"accessCount": 1,
"lastAccessed": 1776229520323,
"type": "file"
},
{
"path": "scripts\\postinstall.cjs",
"accessCount": 1,
"lastAccessed": 1776309134829,
"type": "file"
},
{
"path": "src\\utils\\proxy.ts",
"accessCount": 1,
"lastAccessed": 1776309134873,
"type": "file"
}
],
"userDirectives": []

View File

@ -1 +0,0 @@
{"t":0,"agent":"a795097","agent_type":"unknown","event":"agent_stop","success":true}

View File

@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file.
## [4.0.6] - 2026-04-16
### 新功能
- 去除了运行时bun的依赖
## [4.0.5] - 2026-04-15
### 新功能

View File

@ -1,8 +1,8 @@
{
"name": "@costrict/csc",
"version": "4.0.5-3",
"version": "4.0.6",
"description": "CSC — 多模型终端 AI 编程助手,支持 Anthropic/OpenAI/Gemini/Grok 等多种 API 端点",
"description": "CSC — CoStrict多模型终端 AI 编程助手,支持 Anthropic/OpenAI/Gemini/Grok 等多种 API 端点",
"type": "module",
"author": "claude-code-best <claude-code-best@proton.me>",
"repository": {
@ -64,6 +64,7 @@
},
"dependencies": {
"@claude-code-best/mcp-chrome-bridge": "^2.0.7",
"undici": "^7.24.6",
"ws": "^8.20.0",
"yaml": "^2.8.3"
},
@ -187,7 +188,6 @@
"turndown": "^7.2.2",
"type-fest": "^5.5.0",
"typescript": "^6.0.2",
"undici": "^7.24.6",
"url-handler-napi": "workspace:*",
"usehooks-ts": "^3.1.1",
"vscode-jsonrpc": "^8.2.1",

View File

@ -7,7 +7,7 @@
*/
export function getMacroDefines(): Record<string, string> {
return {
"MACRO.VERSION": JSON.stringify("4.0.5.1"),
"MACRO.VERSION": JSON.stringify("4.0.6"),
"MACRO.BUILD_TIME": JSON.stringify(new Date().toISOString()),
"MACRO.FEEDBACK_CHANNEL": JSON.stringify(""),
"MACRO.ISSUES_EXPLAINER": JSON.stringify(""),