github-actions[bot]
de83394e8a
chore(release): bump version to 4.0.26
2026-05-15 03:47:01 +00:00
林凯90331
c0ff0fb716
fix(deps): move semver from devDependencies to dependencies
...
semver is required at runtime by the Node.js polyfill in cli-node.js
(globalThis.Bun.semver fallback) and by src/utils/semver.ts fallback.
Moving it to dependencies ensures it is installed during global npm install.
Signed-off-by: 林凯90331 <90331@sangfor.com>
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
2026-05-15 11:39:45 +08:00
github-actions[bot]
90f27f36d6
chore(release): bump version to 4.0.25
2026-05-15 03:18:45 +00:00
github-actions[bot]
f2585ae08b
chore(release): bump version to 4.0.24
2026-05-15 02:40:29 +00:00
github-actions[bot]
34903c97e8
chore(release): bump version to 4.0.23
2026-05-14 13:40:24 +00:00
github-actions[bot]
49808bb967
chore(release): bump version to 4.0.22
2026-05-14 12:54:58 +00:00
github-actions[bot]
876dc94ed5
chore(release): bump version to 4.0.21
2026-05-14 11:25:31 +00:00
DoSun
f100568b46
Merge pull request #85 from y574444354/fix/serve-command-real-impl
...
fix: 替换假 server 命令为真实 serve 实现
2026-05-14 19:14:53 +08:00
github-actions[bot]
04aa2dc662
chore(release): bump version to 4.0.20
2026-05-14 09:37:36 +00:00
DoSun
cbc948b044
Merge branch 'feat/server-refactor'
...
# Conflicts:
# build.ts
# src/main.tsx
# src/services/rawDump/worker.ts
2026-05-14 15:21:25 +08:00
geroge
a1dca02b55
Merge pull request #81 from y574444354/fix/raw-dump
...
feat(rawDump): add raw dump reporting module with local mode and deduplication
2026-05-14 11:34:01 +08:00
林凯90331
e24ed3b63d
feat(rawDump): add raw dump reporting module with local mode and deduplication
...
Implement the raw dump data reporting module for uploading conversation,
summary, and commit data to the CoStrict endpoint.
Key features:
- Local dump mode for debugging without network
- PID-based file locking to prevent state corruption with multiple csc instances
- 5-minute deduplication window for summary uploads
- Auto-detect sender (user/agent) and conditional user_input
- Repository fields (repo_addr, repo_branch, work_dir) in conversation
- Anonymous interface fallback when auth fails
- Filter commits to current user and limit fetch range
- Skip empty intermediate conversation turns
- Fix worker spawning for build and binary modes
- Remove git diff HEAD fallback to avoid unrelated working tree changes
Signed-off-by: 林凯90331 <90331@sangfor.com>
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
2026-05-13 23:49:20 +08:00
y574444354
60856a29bc
chore: bump version to 4.0.17
2026-05-13 20:17:39 +08:00
kingboung
ed513c6292
merge: sync main into feat/migrate-review-agents
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 16:08:01 +08:00
DoSun
3abca0c053
merge: 合并 origin/main 到 feat/server-refactor,解决冲突并保留 server 完整实现
2026-05-13 10:27:14 +08:00
mini2s
a796a328c9
feat(compact): add CoStrict model support and prevent infinite compaction loops
2026-05-12 20:07:24 +08:00
IronRookieCoder
c473fef8d8
refactor: 将 undici 移至运行时依赖
...
undici 仍被代理和 mTLS 逻辑按需 require,因此需要保留为运行时依赖。
2026-05-12 16:49:28 +08:00
kingboung
5ecc8277b8
fix: restore package.json, bun.lock and .gitignore from verified commit
...
Restore to match commit 89c9e87c:
- Add back build:builtin-review script
- Remove undici from devDependencies
- Restore prepare script to .githooks
- Revert .gitignore upstream additions
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 16:15:26 +08:00
y574444354
79548c324e
chore: bump version to 4.0.16 and clean up source maps in build output
...
- 版本号 4.0.15 → 4.0.16 (package.json + MACRO.VERSION)
- build.ts: 新增 Step 6,构建完成后清理 .map 文件(约 64MB)
解决 npm mirror 80MB 包体积限制的同步失败问题
2026-05-12 15:22:34 +08:00
kingboung
a645f34ee5
fix: resolve merge conflicts with main, keep branch review architecture
...
- Remove duplicate extractBundledSkill from generated builtin.ts template
- Keep extract-to-disk extension.ts (branch version)
- Keep SSH clone URL for generate-review-builtin
- Revert .gitignore, package.json, locales to branch versions
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 15:16:17 +08:00
y574444354
73f8641033
chore: bump version to 4.0.15 and update CHANGELOG
...
- 版本号 4.0.14 → 4.0.15
- 更新 CHANGELOG.md 添加 4.0.14 变更记录
- markdownConfigLoader: ripgrep 失败时降级到原生文件搜索
2026-05-12 15:10:39 +08:00
kingboung
8599340c68
Merge remote-tracking branch 'origin/main' into feat/migrate-review-agents
...
Conflicts resolved in favor of our branch for review-related files.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 15:08:13 +08:00
kingboung
18c87ff058
chore: remove duplicate undici dependency
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 14:55:25 +08:00
y574444354
d59d1f590a
chore: 合并社区 upstream/main 代码至 v2.4.2
...
合并 claude-code-best/claude-code 社区最新代码,包含:
- 配置文件更新:precheck/lint-staged/overrides 等
- 新 feature flags:EXPERIMENTAL_SEARCH_EXTRA_TOOLS、AUTOFIX_PR
- 工具系统架构更新:Tool Search、ACP 协议支持
- 文档更新:CLAUDE.md 同步架构变更
- 依赖更新:SDK 版本升级、lint-staged 加入
冲突处理策略:以 costrict 版本为主,选择性合并上游功能改进
2026-05-12 11:55:04 +08:00
kingboung
37f53440f3
Merge remote-tracking branch 'origin/main' into feat/migrate-review-agents
2026-05-12 11:49:50 +08:00
kingboung
c3e19d7d2a
refactor: migrate review skills from registerBundledSkill to extract-to-disk
...
Replace registerBundledSkill() with runtime extract-to-disk + standard
skill scanner discovery, aligning with upstream opencode PR #360 approach.
- Add extractBundledSkill() to generate script output
- Create extension.ts for runtime skill extraction to ~/.claude/skills/
- Remove reviewSkills.ts (registerBundledSkill registration)
- Update bundled/index.ts to call Extension.initializeBuiltinSkills()
- Add build:builtin-review script to package.json
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 11:49:38 +08:00
geroge
206cd1f4d4
Merge pull request #53 from Askhz/fix/undici-dependency-missing
...
fix: 设置https_proxy参数时启动csc卡住
2026-05-12 10:10:23 +08:00
claude-code-best
89d2c80d78
chore: 2.4.2
2026-05-11 20:37:53 +08:00
林凯90331
5515699125
build(scripts): add bun compile scripts for linux and windows binaries
...
Wrap bun build --compile to produce self-contained executables for linux-x64 (glibc/musl) and windows-x64, each in modern (AVX2) and baseline (SSE2) variants. The build:binary:* aliases run the existing build pipeline first so dist/cli.js post-processing (feature flags, import.meta.require) stays in effect.
Signed-off-by: 林凯90331 <90331@sangfor.com>
Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
2026-05-11 17:46:44 +08:00
claude-code-best
2017df72e8
chore: 2.4.1
2026-05-11 10:27:53 +08:00
claude-code-best
3d91ba033f
chore: 2.4.0
2026-05-10 20:50:58 +08:00
claude-code-best
97919755b1
chore: 2.3.0
2026-05-10 11:16:09 +08:00
Askhz
636e40a991
fix: move undici to dependencies to fix Node.js startup hang when https_proxy is set
...
When https_proxy is configured, configureGlobalAgents() calls __require("undici")
synchronously. In the npm package, undici was listed as devDependencies and thus
absent from node_modules after installation. Node.js 22 would then attempt to load
its built-in ESM undici via CJS require(), causing an ESM/CJS interop deadlock that
hung the process indefinitely with no way to interrupt it.
Moving undici to dependencies ensures it is installed as a CJS-compatible module,
allowing __require("undici") to resolve correctly under Node.js.
2026-05-10 00:35:18 +08:00
claude-code-best
b909af0963
chore: 2.2.1
2026-05-07 23:50:09 +08:00
kingboung
083e2a7cfc
chore: add gray-matter dependency for frontmatter parsing
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-07 17:04:08 +08:00
claude-code-best
a977c07900
chore: 2.2.0
2026-05-07 08:29:07 +08:00
DoSun
81d9555344
chore: 添加 hono 依赖并精简 lockfile
2026-05-06 14:31:38 +08:00
claude-code-best
cce60af985
chore: 2.1.0
2026-05-05 21:22:20 +08:00
claude-code-best
d139edceda
chore: 2.0.5
2026-05-05 20:16:44 +08:00
claude-code-best
2ac335d7f6
chore: v2.0.4
2026-05-04 23:25:20 +08:00
claude-code-best
9f311994bf
chore: 2.0.3
2026-05-03 17:33:14 +08:00
claude-code-best
e3ac5a8182
chore: v2.0.2
2026-05-02 20:37:46 +08:00
claude-code-best
20d8851e45
chore: v2.0.1
2026-05-02 15:46:55 +08:00
claude-code-best
9dbfd888aa
chore: v2.0.0
2026-05-02 09:29:17 +08:00
claude-code-best
e90f5b16ed
fix: 优化内存峰值与 CPU 性能,降低 100-300MB 内存占用
...
- claude.ts: 流式字符串拼接从 O(n²) += 改为数组累积 join,消除 4 处热点
- Messages.tsx: 合并 3 组独立遍历为单次 pass(thinking/bash 查找、3-filter 链、divider/selectedIdx)
- HighlightedCode.tsx: ColorFile 实例添加模块级 LRU 缓存(50 条),避免重复创建
- screen.ts: StylePool 衍生缓存添加 1000 条上限淘汰,防止无界增长
- CompanionSprite.tsx: TICK_MS 从 500ms 提升至 1000ms,减少 setState 频率
- connection.ts: MCP stderr 缓冲从 64MB 降至 8MB
- stringUtils.ts: MAX_STRING_LENGTH 从 32MB 降至 2MB
- sessionStorage.ts: Transcript 写入队列添加 1000 条上限
- query.ts: spread 改 concat 减少一次数组拷贝
- PromptInputFooterLeftSide.tsx: 显示进程 pid 便于调试
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-02 00:45:03 +08:00
claude-code-best
5d460e205f
chore: 添加 VSCode 推荐扩展列表并固定 Bun 运行时版本
...
- 创建 .vscode/extensions.json 推荐 Biome、TypeScript、Bun、EditorConfig 扩展
- 添加 .tool-versions 固定 bun 1.3.13
- package.json engines.bun 收紧为 >=1.3.0
- .gitignore 改用 .vscode/* + 例外以允许 extensions.json 提交
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 22:28:34 +08:00
claude-code-best
52463ce398
style: 完成所有文件的lint
2026-05-01 21:39:30 +08:00
claude-code-best
f49c9bc1cb
chore: 1.11.1
2026-04-30 20:51:17 +08:00
claude-code-best
2643bb8bac
chore: v1.11.0
2026-04-29 22:12:08 +08:00
claude-code-best
409209572b
chore: 1.10.11
2026-04-29 21:42:34 +08:00