geroge
3cf17ad756
Merge pull request #74 from IronRookieCoder/fix/sdd-design-invalid-tool-params
...
Fix/sdd design invalid tool params
2026-05-13 19:33:47 +08:00
DoSun
7c2d9654f4
fix: pre-commit hook 改用 bunx 替代 npx 避免 npm arborist 兼容问题
2026-05-13 17:56:18 +08:00
DoSun
8505fce51a
feat: 会话满时 LRU 驱逐空闲会话,cloud 命令透传参数
2026-05-13 17:56:18 +08:00
DoSun
40a243a94e
Merge pull request #77 from Askhz/fix/commands-dedup-and-filter
...
fix: 修复 /agents/commands 接口 duplicate command name 和返回多余 TUI 命令
2026-05-13 16:57:08 +08:00
IronRookieCoder
5ee2d6dcc3
fix: 修复任务列表数字ID乱序和内存轮询导致滚动跳动
...
两个修复:
1. 任务列表数字ID乱序(#32):新增 compareTaskIds 比较函数,纯数字ID按
数值大小排序(1, 2, 3, 10 而非 1, 10, 2, 3),非纯数字回退到
localeCompare 自然排序。listTasks 和 taskStateMessage 两处排序入口
均已修复。
2. 终端 RSS 内存轮询引发滚动跳动(#31):useRssDisplay hook 新增 isLoading
参数,仅在加载中启用定时轮询,闲时仅渲染一次内存占用值,避免 Ink 重渲染
干扰用户滚动查看结果。
附:TaskCreateTool.isConcurrencySafe 改为 false,防止并发任务创建的文件
IO 竞态。
Co-Authored-By: CoStrict-DeepSeek-V4-Pro <deepseek-ai@claude-code-best.win>
2026-05-13 16:44:13 +08:00
IronRookieCoder
233971c6ce
fix: merge sub-agent readFileState to prevent cross-agent write conflicts
...
子代理完成后将其 readFileState 合并回主代理缓存,防止主代理写文件时因
缓存过期而误报 FILE_UNEXPECTEDLY_MODIFIED_ERROR。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 16:36:46 +08:00
kingboung
558d0ac9a2
fix: rename SSH secret to MY_SSH_PRIVATE_KEY
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 16:31:09 +08:00
IronRookieCoder
62f4cb9daf
fix: 修复 CoStrict provider 提前停止与 token override 问题
2026-05-13 16:24:34 +08:00
kingboung
e63cc84693
chore: trigger CI
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 16:23:40 +08:00
Askhz
750400470e
fix: 修复 /agents/commands 接口 duplicate command name 和返回多余 TUI 命令
...
1. cost/index.ts 重导出 usage/index.ts,COMMANDS() 中移除 cost 避免 BuildManifest 重复校验
2. /command 端点只返回 prompt 类型的 skills 命令,排除 TUI 命令
Co-Authored-By: DeepSeek-V4-Pro-VIP <deepseek-ai@claude-code-best.win>
2026-05-13 16:13:42 +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
c2eb6bff90
fix: 清理 main 分支的 stub .js 文件,恢复有 .ts 源文件的命令模块
2026-05-13 10:36:04 +08:00
DoSun
3bfc695cb4
chore: 清理临时 rebase 脚本
2026-05-13 10:29:34 +08:00
DoSun
3abca0c053
merge: 合并 origin/main 到 feat/server-refactor,解决冲突并保留 server 完整实现
2026-05-13 10:27:14 +08:00
DoSun
f2d2083b94
feat: 添加 CSC_CLOUD_INVOKER 环境变量标识调用来源
2026-05-13 10:05:37 +08:00
DoSun
0755facc63
Merge pull request #75 from Askhz/fix/credentials-path-and-fields
...
fix: 移除闲置字段id/name,认证文件路径改为~/.costrict/share/auth.json
2026-05-13 09:57:09 +08:00
Askhz
902b7d4ed5
fix: 移除闲置字段id/name,认证文件路径改为~/.costrict/share/auth.json
...
Co-Authored-By: CoStrict-DeepSeek-V4-Pro <deepseek-ai@claude-code-best.win>
2026-05-13 09:54:40 +08:00
kingboung
167bd1f648
fix: pin CI bun version and regenerate lockfile
...
CI used bun latest (1.3.13) while local was 1.3.11, causing
frozen-lockfile mismatch. Pin to 1.3.11 and regenerate lockfile.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 09:18:37 +08:00
IronRookieCoder
65e55ac763
Merge remote-tracking branch 'origin' into fix/sdd-design-invalid-tool-params
2026-05-12 21:31:12 +08:00
IronRookieCoder
b58fd8f782
fix: 修复子代理参数兼容问题
2026-05-12 21:24:12 +08:00
kingboung
6ea0297ecb
chore: switch review skill download branch to main
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 20:51:25 +08:00
kingboung
e0f8c1a289
fix: show (bundled) label for /review and /security-review commands
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 20:45:33 +08:00
DoSun
ef151d84ba
feat(server): 借鉴 vibe-kanban 优化子进程管理与消息可靠性
...
- 添加内存消息缓冲区,解决 tab 切换后用户消息丢失问题
- prompt() 去除重复 waitReady(),减少不必要的等待
- 新增 kill_on_drop 工具(FinalizationRegistry),待后续启用
- 新增权限模式 hooks 自动配置(仅在显式指定 permission_mode 时生效)
- 清除 serve 模式下的调试 timing 日志
2026-05-12 20:38:35 +08:00
geroge
5c2e1918ca
Merge pull request #73 from mini2s/fix-autocompact
...
feat(compact): add CoStrict model support and prevent infinite compaction loops
2026-05-12 20:12:15 +08:00
mini2s
a796a328c9
feat(compact): add CoStrict model support and prevent infinite compaction loops
2026-05-12 20:07:24 +08:00
geroge
9fb1410b6f
Merge pull request #72 from Askhz/fix/costrict-subagent-model-inherit
...
fix: costrict provider 下子 agent 模型别名继承父模型
2026-05-12 19:35:06 +08:00
Askhz
339ef4bc63
fix: costrict provider 下子 agent 模型别名继承父模型
...
costrict 没有 haiku/sonnet/opus 模型层级,当子 agent(如 Explore)
配置为 haiku 时,parseUserSpecifiedModel 会解析到 Claude haiku
模型 ID 而非继承主会话所选模型。修复为 costrict 下所有 family
alias 强制走 inherit 逻辑,使用 getRuntimeMainLoopModel 以正确
支持 plan mode 等场景。
Co-Authored-By: CoStrict-DeepSeek-V4-Pro <deepseek-ai@claude-code-best.win>
2026-05-12 19:31:36 +08:00
DoSun
daa2dce7b9
Merge pull request #70 from y574444354/feat/server-refactor-90331
...
feat(server): support reading subagent transcripts
2026-05-12 19:14:04 +08:00
kingboung
680342bc28
chore: remove /strict:review and /strict:security-review commands
...
Only keep /review and /security-review via extract-to-disk.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 18:00:10 +08:00
DoSun
be821416e5
Merge pull request #71 from Askhz/fix/server-agent-switch
...
fix(server): 修复内置 agent 切换时系统提示未注入及 @agent 出现在用户消息中的问题
2026-05-12 17:54:11 +08:00
Askhz
e7c384bca5
fix(server): 修复内置 agent 切换时系统提示未注入及 @agent 出现在用户消息中的问题
...
- set_agent 控制消息处理中,查找对应 AgentDefinition 并将其 getSystemPrompt()
写入 options.systemPrompt,使 QueryEngine.ask() 能正确使用 agent 系统提示
- 将 "build"(前端默认模式的显示名称)处理为 undefined,切换回默认模式时
同步清空 options.systemPrompt 和 mainThreadAgentType
- /prompt 和 /prompt_async 接口不再将 agentMentions (@agent-*) 拼入 content,
该语法仅用于 REPL 命令模式,出现在 server 模式的 prompt 中会被模型误解
Co-Authored-By: Sonnet-4.6-CoStrict <noreply@anthropic.com>
2026-05-12 17:50:07 +08:00
kingboung
dbaf0374fc
fix: clean target directory before extracting review skills
...
Regenerate builtin.ts template to rm stale files from previous
version/locale before writing new ones, preventing file residue
when switching languages or upgrading skill versions.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 17:42:27 +08:00
kingboung
08ad8a55da
refactor: strict review variants load skill via Skill tool
...
Remove embedded files, use Skill tool to load review/security-review
skill instead, matching the same mechanism as /review.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 17:38:56 +08:00
kingboung
909e001100
feat: register /strict:review and /strict:security-review via registerBundledSkill
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 17:31:24 +08:00
kingboung
5b4d0c2ac1
fix: use process.cwd() for generate-review-builtin cwd on Windows
...
URL pathname returns /E:/... on Windows which spawnSync can't resolve.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 17:20:27 +08:00
kingboung
c374cab5ed
fix: remove registerBundledSkill for strict review variants
...
All review commands now exclusively use extract-to-disk + skill scanner,
no registerBundledSkill duplication.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 17:16:09 +08:00
geroge
00887762a2
Merge pull request #68 from IronRookieCoder/feat/proxy-ca-improvements
...
feat: 添加代理和 CA 证书功能改进及测试
2026-05-12 17:15:25 +08:00
geroge
fbae6383fd
Merge pull request #69 from y574444354/test-pattern-with-root
...
test: add unit tests for patternWithRoot with Windows path improvements
2026-05-12 17:14:59 +08:00
geroge
021ce31f31
Merge pull request #67 from y574444354/fix/tab-protection-measured-text
...
fix: protect tabs from wrap-ansi expansion in MeasuredText
2026-05-12 17:11:00 +08:00
unknown_
24e62eb6f3
test: add unit tests for patternWithRoot with Windows path improvements
2026-05-12 17:07:46 +08:00
kingboung
ca5114dfcf
fix: remove duplicate review skill registration
...
Remove registerBundledSkill for /review and /security-review since
extract-to-disk + skill scanner already registers them. Only register
/strict:review and /strict:security-review via bundled skill.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 17:03:38 +08:00
kingboung
09bbfb77e1
fix: allow model to invoke Skill tool for review commands
...
Set disableModelInvocation to false so the model can use the Skill tool
to load review/security-review skills as instructed by locale templates.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 17:01:12 +08:00
DoSun
d29801aad2
fix(server): resolve rebase conflicts and align tests with new architecture
2026-05-12 16:56:56 +08:00
kingboung
7565ad59a4
refactor: use inline mode for all review commands
...
Remove context:'fork' from strict variants, all four commands now
execute inline in the main session.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 16:55:48 +08:00
kingboung
7425b59826
feat: register /review and /security-review via registerBundledSkill
...
Replace indirect Skill-tool-based routing with direct bundled skill
registration using SKILL_FILES, matching /strict:review approach.
- reviewSkills.ts registers all four commands (review, security-review,
strict:review, strict:security-review) with embedded files
- Remove review command from commands.ts (now bundled skill)
- Simplify review.ts to only export ultrareview
- Update mcp.ts to get review command from bundled skills
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 16:52:43 +08:00
DoSun
edb72b447b
fix(server): return latest N messages instead of first N in messages endpoint
2026-05-12 16:50:09 +08:00
DoSun
86fac2bd75
feat(server): support deleting non-resident sessions with disk cleanup
2026-05-12 16:50:09 +08:00
IronRookieCoder
c473fef8d8
refactor: 将 undici 移至运行时依赖
...
undici 仍被代理和 mTLS 逻辑按需 require,因此需要保留为运行时依赖。
2026-05-12 16:49:28 +08:00
DoSun
1a440af30b
feat: 对齐 OpenCode 即时推送架构,session status 事件绕过队列直接推送
...
- sessionState.ts: 单 listener → Set 多订阅者,新增 registerSdkEventConsumer 绕过 SDK 事件队列
- sdkEventQueue.ts: SessionStateChangedEvent 从队列系统移除
- print.ts: runHeadlessStreaming 注册直接消费者,事件即时 output.enqueue()
- query.ts: queryLoop 每轮迭代发送 running 心跳
- server/routes/session.ts: prompt_async 立即 emit busy(不等子进程 init),历史会话先解析 body 再恢复
- server/sessionHandle.ts: prompt() 检测已 busy 时跳过重复 emit
- server/eventBus.ts: 添加 SSE publish 耗时日志
- server/server.ts: 传递 eventBus 给 sessionRoutes
- 新增 16 个 sessionState 多订阅者 + SDK consumer 测试
2026-05-12 16:49:26 +08:00
DoSun
5890d16b3a
feat(server): emit session.updated on title generation with fallback
2026-05-12 16:49:05 +08:00