claude-code-best
cd222b8e65
Fixture/flick ( #1280 )
...
* fix: 终端内容溢出 viewport 时的重影 bug
主屏幕模式下 frame 持续溢出 viewport 时,cursor-restore LF 把内容滚入 scrollback
导致相对光标追踪漂移,可见区 diff 落到错误行产生重影(重复 banner / 错位)。
扩展 log-update overflow 分支为无条件 fullReset(含 \x1b[3J 清 scrollback),
并将主屏 self-healing 清屏从 ERASE_SCREEN (CSI 2 J) 换成 ERASE_DOWN (CSI J),
避免 xterm.js / VSCode 集成终端的 scrollback 边界副作用。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 删除 3 个孤立诊断脚本
- scripts/verify-autofix-pr.ts: 一次性 autofix-pr 验证脚本,全仓零引用
- scripts/smoke-test-commands.ts: 开发期冒烟测试脚本,无任何 import
- scripts/probe-subscription-endpoints.ts: 手动 endpoint 探针,无引用
均不在 package.json scripts、build.ts、vite.config.ts、CI workflows 中。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 self-hosted-runner stub 及其 cli.tsx fast-path
- 删除 src/self-hosted-runner/main.ts(自动生成的 Promise.resolve() stub)
- 同步移除 src/entrypoints/cli.tsx 中 feature('SELF_HOSTED_RUNNER') 守卫的 fast-path 分支
- 该 flag 不在 build.ts DEFAULT_BUILD_FEATURES 也不在 dev 默认列表,所有默认配置下整段为构建期死代码
删除 stub 单独会留下未解析的动态 import,必须协同拆除。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 删除 agentSdkTypes 中三个 not-implemented stub
移除 watchScheduledTasks、buildMissedTaskNotification、connectRemoteControl 三个 stub 函数(函数体仅 throw new Error('not implemented')),以及仅被这些 stub 引用的孤儿类型(ScheduledTasksHandle、ConnectRemoteControlOptions、RemoteControlHandle、InboundPrompt 等)。
全仓零外部引用。buildMissedTaskNotification 在 src/utils/cronScheduler.ts 有真实可用实现,未受影响。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 Cursor.ts 中未引用的 kill ring 访问器
- 删除 getKillRingItem、getKillRingSize、clearKillRing、canYankPop(全仓零引用的独立 export)
- 移除 VIM_WORD_CHAR_REGEX 的 export 关键字(仍由 isVimWordChar 内部使用,保留常量本体)
kill ring 特性本身仍活跃(getLastKill/pushToKillRing/yankPop 在 useSearchInput/useTextInput 使用),仅这几个孤儿 helper 未接入。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 insights.ts 中未引用的导出
- 删除 deduplicateSessionBranches(全仓零调用,含 JSDoc)
- 删除 buildExportData(全仓零调用,原 S3 上传路径实际用 HTML 而非 JSON)
- InsightsExport 仅移除 export 关键字(保留类型本体,仍作为内部返回类型)
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 autonomyCommandSpec.ts 中未引用的导出
- 删除 AUTONOMY_CLI(CLI 子命令描述对象,零引用;handler 仅用 AUTONOMY_USAGE)
- 删除 AUTONOMY_COMMAND_DESCRIPTION(值已在 main.tsx:5181 内联)
- ParsedAutonomyCommand 仅移除 export 关键字(保留类型作为 parseAutonomyArgs 返回类型)
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 binaryCheck/claudeAiLimits/codeIndexing 中未引用的导出
- binaryCheck.ts: 删除 clearBinaryCache(零调用,binaryCache 仍由 isBinaryInstalled 使用)
- claudeAiLimits.ts: 删除 RATE_LIMIT_DISPLAY_NAMES 常量 + getRateLimitDisplayName(互为唯一消费者)
- codeIndexing.ts: 删除 detectCodeIndexingFromMcpTool(同胞 detectCodeIndexingFromCommand/McpServerName 仍活跃)
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除多处仅内部使用的 export 关键字
下列符号均仅在本文件内被引用,export 关键字冗余;保留符号本体不动:
- internalLogging.ts: getContainerId(line 88 内部调用)
- api/errors.ts: isMediaSizeError(line 151 内部调用)
- api/withRetry.ts: parseMaxTokensContextOverflowError(line 389/724 内部调用)
- statsCache.ts: STATS_CACHE_VERSION(7 处内部使用)
- startupProfiler.ts: logStartupPerf(line 128 内部调用)
- bashCommandHelpers.ts: CommandIdentityCheckers(3 处内部参数类型)
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 清理注释代码块与 legacy shim
注释代码(已死的、引用不存在符号的注释块):
- Onboarding.tsx: 注释化的 preflight if-block(引用不存在的 preflightStep)
- ultraplan.tsx: 两处引用不存在符号的注释(ULTRAPLAN_INSTRUCTIONS、getUltraplanModel)
- types/hooks.ts: 禁用的 type-fest IsEqual 类型断言块
- types/global.d.ts: 已被真实模块取代的 Ultraplan ambient declares
- types/textInputTypes.ts: 注释化的 onMessage interface 成员
legacy shim:
- cli/bg.ts: 删除 handleBgFlag 别名 export(同胞 handleBgStart 已被所有调用点使用)
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 ccshareResume stub 及 main.tsx 的 ccshare fast-path
- 删除 src/utils/ccshareResume.ts(parseCcshareId 恒返回 null、loadCcshare 恒抛错的 stub)
- 同步移除 src/main.tsx 中 USER_TYPE === 'ant' 守卫下的 if (ccshareId) {...} else {...} 双分支
- 提升 else 块(文件路径 resume 处理)为直接进入 if (options.resume) 块内
ccshare 是 Anthropic 内部特性(go/ccshare URL),stub 未实现导致 ccshareId 恒为 null,整个 ccshare 分支永不进入;保留的文件路径 resume 路径不变。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 environment-runner stub 及其 cli.tsx fast-path
与 self-hosted-runner 相同模式的 sibling(工作流 1 verifier 建议同步处理):
- 删除 src/environment-runner/main.ts(自动生成的 Promise.resolve() stub)
- 同步移除 src/entrypoints/cli.tsx 中 feature('BYOC_ENVIRONMENT_RUNNER') 守卫的 fast-path 分支
- 清理两个空目录(src/self-hosted-runner/、src/environment-runner/)
BYOC_ENVIRONMENT_RUNNER flag 不在 build.ts DEFAULT_BUILD_FEATURES 也不在 dev 默认列表,所有默认配置下整段为构建期死代码。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 删除孤立诊断脚本 probe-local-wiring.ts
#!/usr/bin/env bun shebang 的手动诊断脚本,全仓零引用,不在 package.json/build.ts/vite.config.ts/CI workflows 中。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 ultrareview preflight stub 及其测试
- 删除 src/services/api/ultrareviewPreflight.ts(自动生成的 stub)
- 删除 src/commands/review/UltrareviewPreflightDialog.tsx(依赖前者的 UI stub)
- 删除 src/services/api/__tests__/ultrareviewPreflight.test.ts(测试已删代码)
- 同步移除 ultrareviewCommand.test.tsx 中对 UltrareviewPreflightDialog 的 mock
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 cachedMCConfig stub 及 prompts.ts 的 CACHED_MICROCOMPACT 死代码
- 删除 src/services/compact/cachedMCConfig.ts(自动生成的 stub)
- 同步移除 src/constants/prompts.ts 中依赖该 stub 的代码:
- getCachedMCConfigForFRC 变量(feature('CACHED_MICROCOMPACT') 守卫的 require)
- getFunctionResultClearingSection 函数(约 18 行)
- systemPrompt 数组中的 frc section 调用与注册
CACHED_MICROCOMPACT 不在 build.ts DEFAULT_BUILD_FEATURES 也不在 dev 默认列表,所有默认配置下整段为构建期死代码。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 goalAudit stub 及其测试引用
- 删除 src/services/goal/goalAudit.ts(导出 COMPLETION_AUDIT_RULES/BLOCKED_AUDIT_RULES/isGoalTerminal 等未引用的 stub)
- 同步移除 tests/integration/goal-lifecycle.test.ts 中对 goalAudit 的 import 和一个测试用例(budget_limited is terminal)
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 删除 agentSdkTypes 第二批 not-implemented stub
移除运行时函数体仅为 throw new Error 或 placeholder 的 stub:
- createSdkMcpToolDefinition、createSdkMcpServer
- query 函数重载与实现
- unstable_v2_* 系列函数
- session 操作 stub(getSessionMessages/listSessions/getSessionInfo/renameSession/tagSession/forkSession)
- AbortError 类
保留所有 export type 重导出和类型别名(仍是公共类型面)。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 Tool.ts 中 backwards-compat 重导出 shim
删除 "// Re-export progress types for backwards compatibility" 注释块及其重导出语句。所有消费方已直接从 src/types/tools.js 导入,无需重导出转发。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 bootstrap/state.ts 中 4 个未引用的 export
- clearRegisteredHooks(STATE.registeredHooks 仍由其他函数管理)
- getInvokedSkills(getInvokedSkillsForAgent 是活跃入口)
- getSessionSource(setSessionSource 仍活跃,sessionSource state 字段保留)
- markScrollActivity(scrollDraining/getIsScrollDraining/waitForScrollDrain 仍活跃)
仅删除孤儿访问器,不动模块级 state 副作用。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 src/ 下多处未引用的导出
涉及 18 个文件,每处均为独立的 unreferenced export 删除或 export 关键字冗余移除:
- bridge/bridgeStatusUtil.ts、components/TrustDialog/utils.ts、context/stats.tsx
- keybindings/loadUserBindings.ts、memdir/paths.ts、remote/sdkMessageAdapter.ts
- services/acp/utils.ts(删除 nodeToWebReadable,全仓零引用)
- services/api/metricsOptOut.ts、services/lsp/LSPDiagnosticRegistry.ts、services/lsp/manager.ts
- services/mcp/utils.ts、services/skillLearning/projectContext.ts
- services/teamMemorySync/secretScanner.ts、services/teamMemorySync/watcher.ts
- skills/loadSkillsDir.ts、utils/attachments.ts、utils/filePersistence/filePersistence.ts
- utils/messageQueueManager.ts
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* chore: 移除 packages/ 下多处未引用的导出
涉及 11 个 workspace 包文件,每处均为独立的 unreferenced export 删除或 export 关键字冗余移除:
- @ant/ink/core/termio/csi.ts(eraseLine)
- acp-link/manager/types.ts、acp-link/ws-message.ts
- builtin-tools/AgentTool/agentMemory.ts、BashTool/bashSecurity.ts、BashTool/sedEditParser.ts
- builtin-tools/ConfigTool/supportedSettings.ts、FileEditTool/utils.ts
- remote-control-server/store.ts、transport/event-bus.ts、types/messages.ts
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* Revert "fix: 终端内容溢出 viewport 时的重影 bug"
This reverts commit 3d18e1da58 .
* revert: 移除主屏幕周期性 self-healing 重绘
回退 f69c7051 中引入的 ink.tsx self-healing 机制(lastMainScreenHealTime 字段
+ 每 5 秒触发全量重绘 + needsEraseBeforePaint 主屏幕分支)。该机制在 workflow
面板持续刷新场景下表现为可见的"重复刷新",且修复效果不稳定。
alt-screen 的 needsEraseBeforePaint 路径和 prevFrameContaminated 字段保留,
它们仍服务于 handleResize / layout shift / selection 高亮。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* fix: /workflows 面板默认只显示运行中 run,根治 tab 行乱码
之前几次渲染层修复都失败,因为没动 tab 列表的数据源:打开 /workflows 会
自动 hydrate 最多 20 个历史 done/killed run,全部塞进一行 TabsBar,超出
终端宽度后 Ink 把字符画到屏外造成重影乱码。
- selectors.ts 加 filterActiveRuns(只留 status === 'running')和
capTabsForDisplay(超额 fold 成 +N)两个 pure function
- WorkflowsPanel 接线 activeRuns:focus clamp、focused、nextTab/prevTab、
TabsBar 全部基于过滤后的 activeRuns
- TabsBar 复用 truncateLabel 限制每个 tab 名 18 字符 + 最多 6 个 tab,
多余显示 +N,从结构上钉死单行总宽度
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* fix: /workflows 面板 phase 状态在脚本省略 phase() 时显示错乱
ultracode canonical pipeline 脚本常在 agent() 直接传 opts.phase 而不调 phase()
hook,导致 phase_started 从未发出;同时 phase_done 只在下次 phase() 触发,上一
个 phase 在 run.phases 里一直停在 running。mergePhases 之前把 actual 当权威,
于是出现 "Map 8/8 全 done 还显示 running、Find 1/4 running 反而显示 pending"。
改为派生层修复:mergePhases 新增 derivePhaseStatus——actual.status==='done'
权威;否则有 agents 就按 agents 状态推(全 done→done,否则 running);否则看
actual 是否 running。再补一层遍历,让只在 agents 上出现的 phase 也进 sidebar。
不改 store 状态语义,已有 state.json 无需迁移。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
* docs: 更新 readme
* fix: ACP 模式未读取 settings.local.json
entry.ts 在 ACP 握手期调用的 applySafeConfigEnvironmentVariables 触发了
loadSettingsFromDisk,此时 getOriginalCwd() 还是进程启动 cwd(非项目目录),
导致 localSettings/projectSettings 按错误路径解析为空并被 session cache 锁住,
后续 createSession 里 setOriginalCwd 也无法纠正。在 setOriginalCwd 与 chdir
之后清缓存并重新应用,让 settings.local.json 和项目级 env 对
readSettingsPermissionMode 及下游可见。
Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win >
---------
Co-authored-by: glm-5.2 <zai-org@claude-code-best.win >
2026-06-22 09:59:36 +08:00
claude-code-best
33c52578a6
docs: 修改 README
2026-05-31 22:11:29 +08:00
LittleApple
4b97e6638e
Fix formatting in README.md links section
2026-04-28 11:53:30 +08:00
claude-code-best
c80e593212
feature: langfuse thinking 及 文本edit的问题修复( #371 ); 省略 diff 以减少内存峰值 ( #376 )
...
* feat: langfuse tracing 增加 thinking 参数记录
在 recordLLMObservation 中添加 thinking 配置(type/budgetTokens),
所有 provider(claude/gemini/openai)及 tokenEstimation、sideQuery
调用处同步传递 thinking 信息,便于 Langfuse 面板观察 thinking 使用情况。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
* fix: langfuse tracing 兼容 budget_tokens snake_case 格式
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
* fix: 统一传递完整 thinking 配置而非仅 thinkingType
Langfuse 追踪直接传递整个 thinking 对象(含 type 和 budget_tokens),
Analytics 日志同步补充 thinkingBudgetTokens 字段,logAPIQuery 改为
接收 ThinkingConfig 类型参数。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
* feat: 省略旧消息的代码 diff 展示,仅保留最新消息的完整 diff
* fix: Edit 工具增加 Tab/空格规范化匹配,修复中文和缩进文件编辑失败
Read 工具输出将 Tab 渲染为空格,用户复制后 Edit 工具无法匹配。
在 findActualString 中增加 Tab→空格规范化回退匹配,并精确映射回原始文件位置。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
* docs: README 添加安装/更新失败的解决方案提示
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-27 17:06:33 +08:00
claude-code-best
e8ef955ff9
docs: 添加 /login 说明
2026-04-25 14:47:43 +08:00
claude-code-best
2e7fc428cd
feat: 集成豆包 ASR 语音识别后端,支持 /voice doubao 切换 ( #357 )
...
* feat: 集成豆包 ASR 语音识别后端,支持 /voice doubao 切换
- 新增 src/services/doubaoSTT.ts 适配模块,将 doubaoime-asr 的
AsyncGenerator 协议适配为现有 VoiceStreamConnection 接口
- /voice doubao 启用豆包后端,/voice 使用默认 Anthropic 后端
- 后端选择持久化到 settings.json 的 voiceProvider 字段
- 豆包后端跳过 Anthropic OAuth 认证、语言限制和 Focus Mode
- 豆包后端松手即出结果,跳过 processing 状态
- 凭证文件存放在 ~/.claude/tts/doubao/credentials.json
- doubaoime-asr 作为 optionalDependencies 安装
- 移除 /voice 命令的 claude-ai 可用性限制,所有用户可用
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
* docs: 更新 Voice Mode 文档,添加豆包 ASR 后端说明和致谢
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-25 13:57:30 +08:00
YuanyuanMa03
017c251f78
docs: clarify bun setup without duplicate steps
2026-04-24 18:03:21 +08:00
YYMa
5125a159d2
docs: correct Bun post-install instructions
2026-04-24 17:36:57 +08:00
claude-code-best
5582bb47ef
docs: 五一 lint 提示
2026-04-24 14:35:39 +08:00
YuanyuanMa03
02ab1a0307
docs: 添加 Bun 安装详细说明
...
- 添加 Linux/macOS/Windows 各平台的安装命令
- 添加安装后的操作步骤(重启终端、验证安装、更新版本)
- 同步更新中英文 README
2026-04-24 12:07:18 +08:00
claude-code-best
5fc7c8e13d
chore: 添加 highlight.js 包
2026-04-21 12:42:10 +08:00
claude-code-best
96ec96c720
feat: 添加 ccb update 命令,支持 npm/bun 自动更新
...
从 package.json 读取当前版本,查询 npm registry 最新版本,
自动检测安装方式(bun 或 npm)执行全局更新。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-20 22:35:57 +08:00
claude-code-best
a67e2d0e97
docs: 更新 npm 安装
2026-04-19 22:00:48 +08:00
claude-code-best
494eab7204
feat: 接入内建 weixin channel(同 #301 重构版本) ( #303 )
...
* feat: 接入 weixin 服务层与命令入口
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* feat: 注册内建 weixin channel 插件
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* fix: 修正 channel permission relay 路由与能力判定
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* fix: 修复 builtin channel 的 ChannelsNotice 误报
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* docs: 补充内建 weixin channel 使用说明
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* docs: 更新微信 channel 接入计划状态
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* fix: 延迟加载 weixin 登录二维码依赖
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* fix: 改用 qrcode 生成 weixin 登录二维码
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* fix: 修正 vite 构建的 Windows 路径解析
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* chore: 删除临时规划文档 wx_channel.md 并还原 package.json 排序
wx_channel.md 内容已整合到 docs/features/channels.md,不再需要。
package.json 中 @ant/model-provider 位置从原始位置被无意移动,还原。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* refactor: 将 weixin 模块从 src/ 迁移至 packages/weixin 工作区包
将 src/services/weixin/ 中的纯业务逻辑迁入 @claude-code-best/weixin
workspace 包,降低 src/ 耦合度。仅保留 server.ts 作为薄适配层。
- 迁移 7 个无修改的纯模块 (types/api/accounts/login/pairing/media/send)
- monitor.ts 内联 PERMISSION_REPLY_RE 正则,解除对 src/ 的依赖
- permissions.ts 本地定义 ChannelPermissionRequestParams 接口
- cli.ts 拆分:serve 子命令通过回调注入,login/access 保留在包内
- server.ts 重写为从 @claude-code-best/weixin 导入
- 新增 cli-serve.ts 作为 serve 入口薄壳
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* fix: 修正 weixin barrel export 中 interface 的导出方式
ChannelPermissionRequestParams 是纯类型,必须用 export type 导出,
否则 Bun 运行时会报 "export not found" 错误。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* refactor: 将 server.ts 迁入 packages/weixin,彻底移除 src/services/weixin/
通过依赖注入(WeixinServerDeps)解耦 src/ 依赖(analytics、config、
MCP channel schema),server.ts 完全移入包内。cli.tsx 入口处一次性
注入所有依赖。
src/services/weixin/ 目录已完全删除。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* fix: 修复 markdownToPlainText 中代码块正则的 ReDoS 风险
用非正则的线性扫描替代 \`\`\`[\s\S]*?\n([\s\S]*?)\`\`\` 匹配,
避免在含有大量重复 \`\`\` 序列的输入上触发多项式回溯。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
---------
Co-authored-by: 1111 <11111@asd.c>
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-19 21:33:27 +08:00
claude-code-best
b83c3008d0
docs: 更新 discord 地址
2026-04-19 21:21:04 +08:00
claude-code-best
481e2a58a9
feat: 恢复 --channels 能力 ( #297 )
...
* feat: 恢复 --channels 能力
* docs: 添加 channels 注释
2026-04-19 10:24:34 +08:00
claude-code-best
c659912517
docs: 更新说明
2026-04-17 10:22:56 +08:00
claude-code-best
3cb1e50b25
feat: 添加对 ACP 协议的支持 ( #284 )
...
* feat: 适配 zed acp 协议
* docs: 完善 acp 文档
2026-04-16 20:31:50 +08:00
claude-code-best
2273a0bcfe
docs: 修复链接
2026-04-14 21:19:36 +08:00
claude-code-best
dad3ad2b8d
docs: 添加浏览器说明支持
2026-04-13 21:22:41 +08:00
claude-code-best
1071270ce3
chore: 更新版本到 1.3.2
2026-04-12 22:47:03 +08:00
claude-code-best
e9861415c0
fix: 修复穷鬼模式的写入问题
2026-04-12 09:15:12 +08:00
claude-code-best
423f114db6
docs: 更新 langfuse 文档
2026-04-11 23:53:21 +08:00
claude-code-best
09fc515edb
feat: 远程群控 ( #243 )
...
* feat: restore pipe IPC, LAN pipes, monitor tool, and PR-package features
Core IPC system (UDS_INBOX):
- PipeServer/PipeClient with UDS + TCP dual transport, NDJSON protocol
- PipeRegistry: machineId-based role assignment, file locking
- Master/slave attach, prompt relay, permission forwarding
- Heartbeat lifecycle with parallel isPipeAlive probes
- Commands: /pipes, /attach, /detach, /send, /claim-main, /pipe-status
LAN Pipes (LAN_PIPES):
- UDP multicast beacon (224.0.71.67:7101) for zero-config LAN discovery
- PipeServer TCP listener, PipeClient TCP connect mode
- Heartbeat auto-attaches LAN peers via TCP
- Cross-machine attach allowed regardless of role
- /pipes shows [LAN] peers with role + hostname/IP
- SendMessageTool supports tcp: scheme with user consent
Architecture — extracted hooks from REPL.tsx (~830 lines → ~20 lines):
- usePipeIpc: lifecycle (bootstrap, handlers, heartbeat, cleanup)
- usePipeRelay: slave→master message relay via module singleton
- usePipePermissionForward: permission request/cancel forwarding
- usePipeRouter: selected pipe input routing with role+IP labels
- Shared ndjsonFramer.ts replaces 3 duplicate NDJSON parsers
Key fixes applied during development:
- Multicast binds to correct LAN interface (not WSL/Docker)
- Beacon ref stored as module singleton (not Zustand state mutation)
- Heartbeat preserves LAN peers in discoveredPipes and selectedPipes
- Disconnect handler calls removeSlaveClient (fixes listener leak)
- cleanupStaleEntries probes without lock, writes briefly under lock
- getMachineId uses async execFile (not blocking execSync)
- globalThis.__pipeSendToMaster replaced with setPipeRelay singleton
- M key only toggles route mode when selector panel is expanded
- User prompt displayed in message list on pipe broadcast
- Broadcast notifications show [role] + hostname/IP for LAN peers
Other restored features:
- Monitor tool: /monitor command, MonitorTool, MonitorMcpTask lifecycle
- Daemon supervisor and remoteControlServer command
- Tools: SnipTool, SleepTool, ListPeersTool, SendUserFileTool,
WebBrowserTool, WorkflowTool, and 10+ stub→implementation rewrites
- Feature flags: UDS_INBOX, LAN_PIPES, MONITOR_TOOL, FORK_SUBAGENT,
KAIROS, COORDINATOR_MODE, WORKFLOW_SCRIPTS, HISTORY_SNIP
Tests: 2190 pass / 0 fail (15 new: lanBeacon 7, peerAddress 8)
* fix: resolve merge conflicts and fix all tsc/test errors after main merge
- Export ToolResultBlockParam from Tool.ts (14 tool files fixed)
- Migrate ink imports from ../../ink.js to @anthropic/ink (7 files)
- Fix toolUseID → toolUseId typo in monitor.ts and MonitorTool.tsx
- Add fallback values for string|undefined type errors (8 locations)
- Fix AppState type in assistant.ts, add NewInstallWizard stubs
- Fix ParsedRepository.repo → .name in subscribe-pr.ts
- Fix AgentId/string type mismatch in BackgroundTasksDialog.tsx
- Fix PipeRelayFn return type in pipePermissionRelay.ts
- Use PipeMessage type in usePipeRelay.ts
- Fix lanBeacon.test.ts mock type assertions
- Create missing MouseActionEvent class for ink package
- Use ansi: color format instead of bare "green"/"red"
- Resolve theme.permission access via getTheme()
Result: 0 tsc errors, 2496 tests pass, 0 fail
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* fix: 恢复 /poor 的说明
---------
Co-authored-by: unraid <local@unraid.local >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-11 23:22:55 +08:00
claude-code-best
e70319e8f5
docs: 更新远程控制及 rg 下载
2026-04-10 12:11:04 +08:00
claude-code-best
dfce6d02f9
docs: 更新私有部署文档
2026-04-09 22:03:54 +08:00
claude-code-best
2c660daf2c
docs: 加点 emoji 好看点
2026-04-06 15:07:21 +08:00
claude-code-best
3fff2a0743
feat: 新增 teach-me skill 帮助大家学习
2026-04-06 14:34:44 +08:00
HitMargin
fec8ec6abd
fix: correct contributors link in README
2026-04-06 13:02:09 +08:00
HitMargin
5bf3c93895
feat: add contributors auto-update workflow
...
- Add GitHub Actions workflow to auto-generate contributors.svg
- Update README to use local contributors.svg file
- Use dynamic repository detection for forked repos
🤖 Generated with Claude Code
2026-04-06 12:55:19 +08:00
claude-code-best
258cc720f4
docs: 新增留影文档
2026-04-06 11:04:13 +08:00
claude-code-best
f49c7d7e8c
Revert "docs: 更新 README,新增 Run.ps1/TODO.md,删除 V6.md"
...
This reverts commit 32804623e0 .
2026-04-04 23:31:21 +08:00
claude-code-best
5b1a52b8e0
更新大量 tsx 原始文件; 已经迁移 login panel; 部分 ( #121 )
...
* style(B1-1): 格式化 ink/buddy/cli/context/screens/tasks/services/keybindings/state (43 files)
纯格式化:移除分号、React Compiler import、import 多行展开。
修复了 Box.tsx 和 ScrollBox.tsx 中无效的 global.d.ts import。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* style(B1-2): 格式化 commands (79 files)
纯格式化:移除分号、React Compiler import、import 多行展开。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* style(B1-3): 格式化 components/messages,permissions,mcp,sandbox,shell (104 files)
纯格式化:移除分号、React Compiler import、import 多行展开。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* style(B1-4): 格式化 components/PromptInput,FeedbackSurvey,tasks,agents,skills,design-system,wizard (73 files)
纯格式化:移除分号、React Compiler import、import 多行展开。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* style(B1-5): 格式化 components其余 + hooks + tools (232 files)
纯格式化:移除分号、React Compiler import、import 多行展开。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* style(B1-6): 格式化 main/entrypoints/utils/moreright (21 files)
纯格式化:移除分号、React Compiler import、import 多行展开。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* docs: 更新 README,新增 Run.ps1/TODO.md,删除 V6.md
- README.md: 大幅重写,更详细版本历史和配置示例
- Run.ps1: 新增 Windows 启动脚本
- TODO.md: 新增包完成清单
- V6.md: 删除(架构重构规划已不适用)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* fix: 修复以前的问题
* fix: 修复 login 面板的问题
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-04 23:24:27 +08:00
claude-code-best
02694918b5
docs: 更新文档及构建脚本
2026-04-04 21:09:21 +08:00
claude-code-best
d720580e75
docs: 添加对 rg 下载的提示
2026-04-04 16:44:45 +08:00
claude-code-best
e8f417e59f
Merge remote-tracking branch 'origin/feature/computer-use/mac-support'
2026-04-04 16:42:51 +08:00
claude-code-best
ab7556e355
feat: auto dream 开启
2026-04-04 16:28:09 +08:00
claude-code-best
ea06f50749
docs: 添加 computer use 的说明
2026-04-04 15:53:48 +08:00
claude-code-best
765569b3cf
feat: 更新 Computer Use 用户指南,添加 macOS 和 Windows 支持文档链接
2026-04-04 12:24:11 +08:00
claude-code-best
a67b4a40b0
docs: 更新最新说明
2026-04-04 00:16:13 +08:00
claude-code-best
52d8b83b24
docs: 更新 Readme
2026-04-04 00:03:58 +08:00
claude-code-best
00b044e8b2
支持 OpenAI Chat 兼容协议 ( #99 )
...
* feat: 完成 openai 接口兼容
* feat: 完成 openai 协议兼容
* fix: 修复测试用例
2026-04-03 23:33:17 +08:00
claude-code-best
29db9d99de
docs: 添加文本好使一些
2026-04-03 20:57:33 +08:00
claude-code-best
9e6fe9b410
feat: 添加 discord 群
2026-04-03 20:55:58 +08:00
claude-code-best
4c5a12228c
docs: 调整文档
2026-04-03 19:56:35 +08:00
claude-code-best
7935bfb4b8
fix: 修复debug启动方式
2026-04-03 14:40:45 +08:00
claude-code-best
a7604f6591
feat: /login 命令新增自定义 anthropic 终端登陆
2026-04-03 14:22:47 +08:00
claude-code-best
cb046b4df0
docs: 添加文档
2026-04-03 11:52:14 +08:00
claude-code-best
8e4aea45a8
docs: 维护两个新的文档
2026-04-03 11:01:17 +08:00
claude-code-best
e74c009e02
feat: 添加 GrowthBook 自定义服务器适配器
...
通过 CLAUDE_GB_ADAPTER_URL/KEY 环境变量连接自定义 GrowthBook 实例,
无配置时所有 feature 读取返回代码默认值。支持 GrowthBook Cloud(非 remoteEval),
含完整文档和 feature key 列表。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-03 10:37:15 +08:00