claude-code-best
|
c4344c4df0
|
test: 添加 Context 构建单元测试 (测试计划 03)
覆盖 stripHtmlComments、isMemoryFilePath、getLargeMemoryFiles、
buildEffectiveSystemPrompt 等函数,共 25 个测试用例全部通过。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 22:14:23 +08:00 |
|
claude-code-best
|
cad6409bfe
|
test: 添加 Utils 纯函数单元测试 (测试计划 02)
覆盖 xml, hash, stringUtils, semver, uuid, format, frontmatterParser,
file, glob, diff 共 10 个模块的纯函数测试。
json.ts 因模块加载链路过重暂跳过。
共 190 个测试用例(含已有 array/set)全部通过。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 22:03:02 +08:00 |
|
claude-code-best
|
67baea3c7f
|
test: 添加 Tool 系统单元测试 (测试计划 01)
覆盖 buildTool、toolMatchesName、findToolByName、getEmptyToolPermissionContext、
filterToolProgressMessages、parseToolPreset、parseGitCommitId、detectGitOperation
共 46 个测试用例全部通过。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 21:32:45 +08:00 |
|
claude-code-best
|
a426a50c0e
|
docs: 完善测试文档编写
|
2026-04-01 21:19:41 +08:00 |
|
claude-code-best
|
3b0a5e484d
|
docs: 更新说明文档
|
2026-04-01 20:20:56 +08:00 |
|
Jiguo Li
|
8e9933ee59
|
Merge branch 'claude-code-best:main' into main
|
2026-04-01 19:30:34 +08:00 |
|
lijiguo
|
f71530a10c
|
修复buddy rehatch的问题
|
2026-04-01 18:18:23 +08:00 |
|
lijiguo
|
c57ad656ad
|
支持buddy命令
|
2026-04-01 17:55:35 +08:00 |
|
claude-code-best
|
c57e6ee384
|
docs: 文档优化完成
|
2026-04-01 17:18:48 +08:00 |
|
claude-code-best
|
221fb6eb05
|
fix: 修复 @ typeahead 文件搜索无结果的问题
execa 新版将 signal 选项重命名为 cancelSignal,导致 execFileNoThrowWithCwd
调用 git ls-files 时抛出 TypeError,文件索引始终为空。同时改进了
FileIndex 的模糊匹配算法,从多个词边界起始位置评分取最优,提升搜索排名质量。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 17:11:09 +08:00 |
|
claude-code-best
|
8b63e54e94
|
docs: 文档更新
|
2026-04-01 16:43:45 +08:00 |
|
claude-code-best
|
7d5271e63e
|
docs: 更新文档
|
2026-04-01 16:11:37 +08:00 |
|
claude-code-best
|
503a40f46b
|
docs: 调整一下表达
v3
|
2026-04-01 15:41:51 +08:00 |
|
claude-code-best
|
a889ed8402
|
fix: 移除 Settings 中未定义的 Gates 引用,修复 config 命令报错
Gates 是 Anthropic 内部组件,反编译版本中不存在,运行时引用导致 ReferenceError。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 15:40:00 +08:00 |
|
claude-code-best
|
64f79dc3be
|
feat: 改善 seo
|
2026-04-01 15:21:46 +08:00 |
|
claude-code-best
|
c5b55c1bf9
|
docs: 完成大量文档
|
2026-04-01 14:44:21 +08:00 |
|
claude-code-best
|
2934f30084
|
fix: 彻底移除 /loop 及 cron 工具的 feature('AGENT_TRIGGERS') gate
上次提交仅移除了 isKairosCronEnabled 中的 gate,但 /loop 整条链路
仍被 feature('AGENT_TRIGGERS') 拦截导致无法使用:
- skills/bundled/index.ts: registerLoopSkill() 未被调用
- tools.ts: CronCreate/Delete/List 工具未加载
- constants/tools.ts: cron 工具名未加入 teammate 工具列表
- screens/REPL.tsx: useScheduledTasks hook 被跳过
- cli/print.ts: pipe 模式 cron 调度器未初始化
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 11:57:16 +08:00 |
|
claude-code-best
|
33fe4940e1
|
fix: 启用 /loop 命令,移除 feature('AGENT_TRIGGERS') gate
isKairosCronEnabled() 依赖 feature('AGENT_TRIGGERS'),在反编译版本中
feature() 始终返回 false,导致 /loop skill 被禁用。简化为仅检查
CLAUDE_CODE_DISABLE_CRON 环境变量。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 11:53:32 +08:00 |
|
claude-code-best
|
2fa91489c8
|
docs: 新增「揭秘:隐藏功能与内部机制」文档栏目
添加 5 篇文档揭示 Claude Code 的三层功能门禁系统:
- 构建时 88+ feature flags 分类全解
- GrowthBook 运行时 A/B 测试体系与 tengu_* 命名文化
- KAIROS/PROACTIVE/BRIDGE 等 8 大未公开功能深度分析
- Ant 身份门控下的专属工具、命令与 Beta API
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 11:30:27 +08:00 |
|
claude-code-best
|
4233ee7de6
|
docs: 更新文档, 加上配图
|
2026-04-01 11:14:20 +08:00 |
|
claude-code-best
|
03cff1b749
|
docs: 修正格式
|
2026-04-01 11:07:48 +08:00 |
|
claude-code-best
|
ecf885d67f
|
docs: 添加赞助说明
|
2026-04-01 11:02:30 +08:00 |
|
claude-code-best
|
9a57642d3a
|
feat: 完成最新的可构建版本
|
2026-04-01 10:42:53 +08:00 |
|
claude-code-best
|
604110272f
|
docs: 尝试修复 docs 的位置
|
2026-04-01 10:09:00 +08:00 |
|
claude-code-best
|
b32dd4549d
|
fix: 修复构建问题
v2
|
2026-04-01 09:58:26 +08:00 |
|
claude-code-best
|
0135ad99ad
|
chore: 更新 lock 文件
|
2026-04-01 09:54:12 +08:00 |
|
claude-code-best
|
9018c7afdb
|
Merge branch 'feature/prod'
|
2026-04-01 09:53:21 +08:00 |
|
claude-code-best
|
65d7f1994c
|
chore: 调整配置
|
2026-04-01 09:52:43 +08:00 |
|
claude-code-best
|
ce2f19cc48
|
Merge pull request #5 from claude-code-best/feature/prod
docs: mintlify 文档撰写
|
2026-04-01 09:29:58 +08:00 |
|
claude-code-best
|
f6fe94463e
|
docs: mintlify 文档撰写
|
2026-04-01 09:16:41 +08:00 |
|
claude-code-best
|
c57f5a29e8
|
Merge pull request #4 from claude-code-best/feature/prod
Feature/prod
|
2026-04-01 09:05:04 +08:00 |
|
claude-code-best
|
8f6800f508
|
Create SECURITY.md
|
2026-04-01 08:54:08 +08:00 |
|
claude-code-best
|
722d59b6d5
|
feat: 实现 @ant/computer-use-swift — macOS JXA/screencapture
用 JXA + screencapture 替代原始 Swift 原生模块:
- display.getSize/listAll: CGGetActiveDisplayList/NSScreen 获取显示器信息
- apps.listRunning: System Events 获取前台应用列表
- apps.listInstalled: 扫描 /Applications 目录
- apps.open/unhide: AppleScript 应用控制
- apps.appUnderPoint: NSWorkspace frontmostApplication
- screenshot.captureExcluding/captureRegion: screencapture 命令
- resolvePrepareCapture: 截图 + base64 编码
实测:display 返回 {width:1710, height:1112},running apps 正确识别。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 08:48:04 +08:00 |
|
claude-code-best
|
b51b2d7675
|
feat: 升级 @ant/computer-use-mcp — 类型安全 stub + sentinel apps
- types.ts: 替换所有 any 为真实类型 (CoordinateMode, CuSubGates,
Logger, GrantFlags, CuPermissionRequest/Response, ComputerUseHostAdapter)
- index.ts: 所有导出类型化 (DisplayGeometry, FrontmostApp, InstalledApp,
RunningApp, ScreenshotResult, CuCallToolResult 等);
targetImageSize() 实现真实缩放逻辑;
bindSessionContext() 返回类型正确的空调度器
- sentinelApps.ts: 添加 10 个 macOS 敏感应用 (Terminal, iTerm2,
Finder, System Preferences 等) 及其分类
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 08:36:12 +08:00 |
|
claude-code-best
|
975b4876cc
|
feat: 实现 @ant/computer-use-input — macOS 键鼠模拟
使用 AppleScript + JXA (JavaScript for Automation) 实现完整 API:
- moveMouse: CGEvent 鼠标移动
- key/keys: System Events 键盘输入(支持修饰键组合)
- mouseLocation: CGEvent 查询当前鼠标位置
- mouseButton: CGEvent 鼠标点击/按下/释放
- mouseScroll: CGEvent 滚轮事件
- typeText: System Events 文本输入
- getFrontmostAppInfo: 获取前台应用 bundleId + 名称
兼容 require() 调用方式(所有方法作为命名导出)。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 08:27:08 +08:00 |
|
claude-code-best
|
30e863c9b8
|
fix: 调优 Biome lint 规则,关闭 formatter 避免大规模代码变更
- 关闭 formatter 和 organizeImports(保持原始代码风格,减少 git diff)
- lint/format script 改为 biome lint(只做规则检查)
- 新增关闭规则:noConsole, noArrayIndexKey, noConfusingLabels,
useIterableCallbackReturn, noVoidTypeReturn, noConstantCondition,
noUnusedFunctionParameters, noUselessEmptyExport, useArrowFunction,
useLiteralKeys, useImportType, useNodejsImportProtocol
- 零源码改动,仅调整配置文件
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 07:34:29 +08:00 |
|
claude-code-best
|
c6491372d0
|
fix: 同步 lock 文件
|
2026-04-01 07:26:28 +08:00 |
|
claude-code-best
|
04c8ef2ecc
|
docs: 调整样式
|
2026-03-31 23:21:54 +00:00 |
|
claude-code-best
|
b759df5b0e
|
docs: 继续更新
|
2026-03-31 23:20:33 +00:00 |
|
claude-code-best
|
173d18bea8
|
feat: 添加代码健康度检查脚本
scripts/health-check.ts 汇总项目各维度指标:
代码规模、lint 问题、测试结果、冗余代码、构建状态和产物大小。
新增 health script 一键运行。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 07:17:09 +08:00 |
|
claude-code-best
|
c587a64320
|
feat: 添加 knip 冗余代码检查工具
配置 knip.json 检测未使用的文件、exports、依赖等。
新增 check:unused script,运行 knip-bun 扫描死代码。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 04:57:34 +08:00 |
|
claude-code-best
|
17ec716dbf
|
feat: 添加 GitHub Actions CI 流水线
push/PR 时自动运行 lint → test → build 三步检查。
使用 oven-sh/setup-bun 配置 Bun 环境。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 03:47:47 +08:00 |
|
claude-code-best
|
e443a8fa51
|
feat: 搭建单元测试基础设施 — Bun test runner + 示例测试
添加 bunfig.toml 配置、test script,以及三组示例测试:
- src/utils/array.ts (intersperse, count, uniq)
- src/utils/set.ts (difference, intersects, every, union)
- packages/color-diff-napi (ansi256FromRgb, colorToEscape, detectLanguage 等)
41 tests, 0 failures.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 02:08:38 +08:00 |
|
claude-code-best
|
9dd1eeff2f
|
feat: 添加 todo
|
2026-04-01 01:49:58 +08:00 |
|
claude-code-best
|
dc2fdc7cc7
|
Merge remote-tracking branch 'origin/main' into feature/prod
|
2026-04-01 01:46:26 +08:00 |
|
claude-code-best
|
1d15e30f3c
|
docs: 改进说明
|
2026-03-31 17:45:44 +00:00 |
|
claude-code-best
|
4319afc08f
|
feat: 配置 git pre-commit hook — 提交前自动运行 Biome 检查
使用 .githooks/ 目录 + core.hooksPath 方案,零依赖。
prepare script 确保 bun install 后自动激活。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 01:44:55 +08:00 |
|
claude-code-best
|
074ea844dc
|
feat: 配置 Biome 代码格式化与校验工具
添加 biome.json 配置(formatter + linter + organizeImports),
.editorconfig 统一编辑器配置,package.json 新增 lint/format scripts。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 01:40:27 +08:00 |
|
claude-code-best
|
4692c3e2ef
|
docs: 修复命令错误
|
2026-03-31 17:40:16 +00:00 |
|
claude-code-best
|
b1c6249f03
|
docs: 添加说明
|
2026-03-31 17:33:33 +00:00 |
|