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 |
|
claude-code-best
|
78144b4dba
|
feat: 关闭 Datadog 日志发送
|
2026-04-03 09:49:59 +08:00 |
|
claude-code-best
|
e32c159f35
|
feat: 关闭自动更新
|
2026-04-03 09:39:32 +08:00 |
|
claude-code-best
|
119518599e
|
feat: 更新 sentry 错误上报
|
2026-04-03 09:39:25 +08:00 |
|
claude-code-best
|
1f0a2e44c8
|
feat: 完成 debug 配置
|
2026-04-03 01:11:14 +08:00 |
|
claude-code-best
|
e48da3956c
|
feat: 修正 web search 工具
|
2026-04-03 00:47:37 +08:00 |
|
claude-code-best
|
d04e00fc2c
|
feat: 调整预先检查的代码
|
2026-04-02 23:00:48 +08:00 |
|
claude-code-best
|
c252294dd7
|
feat: 移除反蒸馏代码
|
2026-04-02 22:56:23 +08:00 |
|
claude-code-best
|
5ee49fd106
|
docs: 添加一大堆 feature 的描述
|
2026-04-02 22:52:32 +08:00 |
|
claude-code-best
|
22ca3a1181
|
Merge remote-tracking branch 'origin/main'
|
2026-04-02 21:57:12 +08:00 |
|
claude-code-best
|
919cf55591
|
feat: 添加开发者默认开启的 feature
|
2026-04-02 21:48:50 +08:00 |
|
mingyangxu46-prog
|
b6f37082cf
|
Learn/20260401 (#39)
* docs: 添加 Claude Code 源码学习笔记(第一、二阶段)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-02 21:47:49 +08:00 |
|
claude-code-best
|
4337b82e6c
|
Merge branch 'pr/programming-pupil/33'
|
2026-04-02 21:41:55 +08:00 |
|
claude-code-best
|
7dfbcd0e79
|
feat: 更新 buddy 的一些功能
|
2026-04-02 21:41:19 +08:00 |
|
claude-code-best
|
0d0304d6a5
|
Merge branch 'pr/smallflyingpig/36'
|
2026-04-02 21:38:12 +08:00 |
|
claude-code-best
|
47d88478c9
|
docs: 修正 feature 的正确用法
|
2026-04-02 21:37:30 +08:00 |
|
claude-code-best
|
70f32e25f3
|
Merge branch 'main' into pr/smallflyingpig/36
# Conflicts:
# src/entrypoints/cli.tsx
|
2026-04-02 21:25:53 +08:00 |
|
claude-code-best
|
87fdd455cc
|
chore: 删除调试代码
|
2026-04-02 21:23:36 +08:00 |
|
claude-code-best
|
991ccc673c
|
chore: 删除 src 下面的 src
|
2026-04-02 21:22:31 +08:00 |
|
claude-code-best
|
be82b71c3e
|
feat: 补全 auto mode 分类器 prompt 模板,支持 FEATURE_* 环境变量注入
- 重建 yolo-classifier-prompts/ 三个缺失的 prompt 文件
- dev.ts/build.ts 扫描 FEATURE_* 环境变量注入 Bun --feature
- AUTO_MODE_ENABLED_DEFAULT 由 feature flag 决定,开 feature 即开 auto mode
- 补充 docs/safety/auto-mode.mdx prompt 模板章节
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-02 21:18:39 +08:00 |
|
claude-code-best
|
88b45e0e6c
|
chore: 删除垃圾脚本
|
2026-04-02 21:00:41 +08:00 |
|
claude-code-best
|
68ccf28be8
|
feat: 尝试修复 auto mode
|
2026-04-02 20:57:52 +08:00 |
|
claude-code-best
|
4ab4506de2
|
fix: 修复 USER_TYPE=ant 时 TUI 无法启动的问题
反编译版本中 global.d.ts 声明的全局函数运行时未定义,
通过显式 import、stub 组件和全局 polyfill 修复。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-02 20:31:04 +08:00 |
|
claude-code-best
|
ce29527a67
|
test: 添加一大堆测试文件
|
2026-04-02 20:28:08 +08:00 |
|
claude-code-best
|
6f5623b26c
|
docs: 完成新版测试文档
|
2026-04-02 17:37:06 +08:00 |
|
claude-code-best
|
ac1f02958c
|
fix: 批量修正 external 字面量
|
2026-04-02 17:01:39 +08:00 |
|
claude-code-best
|
799dacc407
|
test: 新增一波测试文件
|
2026-04-02 16:21:24 +08:00 |
|
claude-code-best
|
8697c91668
|
feat: 完成测试 16-17
|
2026-04-02 16:03:20 +08:00 |
|
claude-code-best
|
1086f68381
|
docs: 增加测试及 auto mode 文档
|
2026-04-02 15:06:51 +08:00 |
|
claude-code-best
|
006ad97fbb
|
test: 新增测试代码文件
|
2026-04-02 14:44:56 +08:00 |
|
claude-code-best
|
9c3803d16b
|
docs: 指定测试计划
|
2026-04-02 14:14:35 +08:00 |
|
Jiguo Li
|
e815002f96
|
Merge branch 'main' into main
|
2026-04-02 13:35:28 +08:00 |
|
claude-code-best
|
5fda87246d
|
docs: 更新一下文档
|
2026-04-02 11:33:15 +08:00 |
|
claude-code-best
|
3c5eb0edbd
|
Merge branch 'test/test-most-core-func'
|
2026-04-02 11:32:17 +08:00 |
|
编程界的小学生
|
2e4d6e2122
|
Update hooks.ts
|
2026-04-02 11:12:36 +08:00 |
|
Jiguo Li
|
4d1bc87eb4
|
Merge branch 'claude-code-best:main' into main
|
2026-04-02 10:12:49 +08:00 |
|
claude-code-best
|
4f323efb61
|
test: Phase 5 — 添加 12 个测试文件 (+209 tests, 1177 total)
新增覆盖: effort, tokenBudget, displayTags, taggedId,
controlMessageCompat, MCP normalization/envExpansion,
gitConfigParser, formatBriefTimestamp, hyperlink, windowsPaths, notebook
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-02 10:11:43 +08:00 |
|
claude-code-best
|
28e40ddc67
|
refactor: 用 Bun 原生 define 替换 cli.tsx 中的 globalThis 注入
- 删除 cli.tsx 顶部的 globalThis.MACRO / BUILD_* / feature polyfill
- 新增 scripts/defines.ts 作为 MACRO define 映射的单一来源
- 新增 scripts/dev.ts,通过 bun run -d 在转译时注入 MACRO 常量
- build.ts 引用 getMacroDefines() 实现构建时内联
- 清理 global.d.ts (移除 BUILD_*, MACRO 函数声明)
- 55 个 MACRO 消费文件零改动
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-02 09:51:48 +08:00 |
|
claude-code-best
|
21ac9e441f
|
test: Phase 2-4 — 添加 12 个测试文件 (+321 tests, 968 total)
Phase 2 (轻 Mock): envUtils, sleep/sequential, memoize, groupToolUses, dangerousPatterns, outputLimits
Phase 3 (补全): zodToJsonSchema, PermissionMode, envValidation
Phase 4 (工具模块): mcpStringUtils, destructiveCommandWarning, commandSemantics
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-02 09:29:01 +08:00 |
|
claude-code-best
|
2d9c2adce3
|
docs: 排查 test 文件夹
|
2026-04-02 09:14:49 +08:00 |
|
claude-code-best
|
acfaac5f14
|
test: Phase 1 — 添加 8 个纯函数测试文件 (+134 tests)
- errors.test.ts: 28 tests (isAbortError, toError, errorMessage, getErrnoCode, isFsInaccessible, classifyAxiosError 等)
- shellRuleMatching.test.ts: 22 tests (permissionRuleExtractPrefix, hasWildcards, matchWildcardPattern, parsePermissionRule 等)
- argumentSubstitution.test.ts: 18 tests (parseArguments, parseArgumentNames, generateProgressiveArgumentHint, substituteArguments)
- CircularBuffer.test.ts: 12 tests (add, addAll, getRecent, toArray, clear, length)
- sanitization.test.ts: 14 tests (partiallySanitizeUnicode, recursivelySanitizeUnicode)
- slashCommandParsing.test.ts: 8 tests (parseSlashCommand)
- contentArray.test.ts: 6 tests (insertBlockAfterToolResults)
- objectGroupBy.test.ts: 5 tests (objectGroupBy)
总计:781 tests / 40 files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-02 08:50:29 +08:00 |
|
claude-code-best
|
2ca56977bf
|
Merge pull request #30 from claude-code-best/test/test-most-core-func
Test/test most core func
|
2026-04-02 08:50:23 +08:00 |
|
claude-code-best
|
91c5bea27a
|
docs: 添加后续测试覆盖计划 (Phase 1-4)
4 个阶段共计 ~213 tests / 20 files,目标从 647 提升至 ~860 tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-02 08:46:09 +08:00 |
|
claude-code-best
|
717cc55195
|
docs: 更改 readme
|
2026-04-02 08:43:01 +08:00 |
|
claude-code-best
|
0d89079694
|
docs: 更新测试覆盖状态至 647 tests / 32 files
- 新增 json/truncate/path/tokens/FileEditTool/permissions 测试记录
- 更新已知限制(Bun.JSONL bug, spawnMultiAgent 重依赖)
- 添加 Mock 策略总结章节
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-02 08:08:35 +08:00 |
|
claude-code-best
|
a28a44f9f7
|
test: 添加 FileEditTool/permissions/filterToolsByDenyRules 测试
- FileEditTool/utils.test.ts: 24 tests (normalizeQuotes, stripTrailingWhitespace, findActualString, preserveQuoteStyle, applyEditToFile)
- permissions/permissions.test.ts: 13 tests (getDenyRuleForTool, getAskRuleForTool, getDenyRuleForAgent, filterDeniedAgents)
- tools.test.ts: 扩展 5 tests (filterToolsByDenyRules 过滤逻辑)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-02 07:36:50 +08:00 |
|
claude-code-best
|
43af260322
|
test: 添加 json/truncate/path/tokens 模块测试
- json.test.ts: 27 tests (safeParseJSON, safeParseJSONC, parseJSONL, addItemToJSONCArray)
- truncate.test.ts: 24 tests (truncateToWidth, truncateStartToWidth, truncatePathMiddle, truncate, wrapText)
- path.test.ts: 15 tests (containsPathTraversal, normalizePathForConfigKey)
- tokens.test.ts: 22 tests (getTokenCountFromUsage, getTokenUsage, tokenCountFromLastAPIResponse, etc.)
使用 mock.module() 切断 log.ts/tokenEstimation.ts/slowOperations.ts 重依赖链
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 23:56:37 +08:00 |
|
claude-code-best
|
fd2ad71a4e
|
docs: 更新测试规范,记录当前 517 个测试的覆盖状态
在 testing-spec.md 新增第 11 节,按 P0/P1/P2 分类记录 25 个
测试文件的覆盖范围、测试数量及已知的重依赖限制。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 22:50:47 +08:00 |
|
claude-code-best
|
c57950e15e
|
test: 添加消息处理单元测试 (测试计划 06)
为消息创建、查询、文本提取、规范化等函数添加 56 个测试用例,
覆盖 createAssistantMessage、createUserMessage、isSyntheticMessage、
extractTag、isNotEmptyMessage、normalizeMessages 等核心功能。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 22:43:31 +08:00 |
|
claude-code-best
|
183421361e
|
test: 添加配置与设置系统单元测试 (测试计划 09)
为 SettingsSchema、PermissionsSchema、AllowedMcpServerEntrySchema
验证,MCP 类型守卫,设置常量函数,以及 validation 工具函数添加
62 个测试用例。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-04-01 22:39:21 +08:00 |
|