claude-code-best/src
James Feng 8f0a6c1806 feat: wire mode persona injection — distilled Claude Soul Document into system prompt
- prompts.ts: add getModePersonaSection() → injects current mode's
  systemPrompt as 'mode_persona' dynamic section (first in order,
  before operational instructions)
- modes/personas/claude.ts: 3KB distilled Claude persona from
  Anthropic's leaked Soul Document (70KB → operational extract):
  core traits, honesty principles, helpfulness/caution balance,
  collaboration stance, identity stability
- Custom mode via ~/.claude/modes/claude.yaml loads seamlessly:
  2848 chars, 7 modes total including the new Claude persona
2026-06-07 18:26:25 +08:00
..
__tests__ feat(remote-control): 优化 Web 展示、状态同步与桥接控制流程 (#288) 2026-06-04 23:51:54 +08:00
assistant Enable coordinator swarm features 2026-06-01 20:33:29 +08:00
bootstrap chore: merge upstream cleanup — 536 stubs + 17 dead files + 4 as any fixes 2026-06-06 21:12:01 +08:00
bridge fix(tsc): Phase 2 — eliminate all Cannot find name errors (204→175) 2026-06-07 10:49:56 +08:00
buddy fix: remove runtime helper as-any casts 2026-06-07 15:45:11 +08:00
cli fix: eliminate 11 of 12 remaining Anthropic-core as any 2026-06-07 17:54:36 +08:00
commands fix(tsc): Phase 2 — eliminate all Cannot find name errors (204→175) 2026-06-07 10:49:56 +08:00
components fix(type): eliminate 26 as any casts (partial batch, Codex interrupted) 2026-06-07 15:27:21 +08:00
constants feat: wire mode persona injection — distilled Claude Soul Document into system prompt 2026-06-07 18:26:25 +08:00
context chore: merge fcbc8822 — remove 113 unused imports and dead code 2026-06-06 21:18:36 +08:00
coordinator chore: checkpoint — restore 40+ upstream files, fix 21 syntax errors, build passes 2026-06-06 22:17:14 +08:00
daemon chore: merge fcbc8822 — remove 113 unused imports and dead code 2026-06-06 21:18:36 +08:00
entrypoints fix: eliminate all 8 NEEDS_UPSTREAM as any via type annotations and type guards 2026-06-07 17:54:36 +08:00
environment-runner fix(tsc): Phase 1 — add 25 stub files, eliminate all Cannot find module errors (270→204) 2026-06-07 10:41:02 +08:00
hooks fix: eliminate 11 of 12 remaining Anthropic-core as any 2026-06-07 17:54:36 +08:00
jobs chore: checkpoint — restore 40+ upstream files, fix 21 syntax errors, build passes 2026-06-06 22:17:14 +08:00
keybindings fix: 修复 n 快捷键导致关闭的问题 2026-06-04 14:51:33 +08:00
memdir fix(tsc): Phase 1 — add 25 stub files, eliminate all Cannot find module errors (270→204) 2026-06-07 10:41:02 +08:00
migrations chore: merge upstream cleanup — 536 stubs + 17 dead files + 4 as any fixes 2026-06-06 21:12:01 +08:00
modes feat: wire mode persona injection — distilled Claude Soul Document into system prompt 2026-06-07 18:26:25 +08:00
moreright 更新大量 tsx 原始文件; 已经迁移 login panel; 部分 (#121) 2026-04-04 23:24:27 +08:00
native-ts/file-index chore: merge upstream cleanup — 536 stubs + 17 dead files + 4 as any fixes 2026-06-06 21:12:01 +08:00
outputStyles feat: build 2026-03-31 19:22:47 +08:00
plugins feat: build 2026-03-31 19:22:47 +08:00
proactive Enable coordinator swarm features 2026-06-01 20:33:29 +08:00
query chore: remove poor mode 2026-06-07 02:34:25 +08:00
remote feat(remote-control): 优化 Web 展示、状态同步与桥接控制流程 (#288) 2026-06-04 23:51:54 +08:00
schemas chore: merge upstream cleanup — 536 stubs + 17 dead files + 4 as any fixes 2026-06-06 21:12:01 +08:00
screens fix(tsc): Phase 2 — eliminate all Cannot find name errors (204→175) 2026-06-07 10:49:56 +08:00
self-hosted-runner fix(tsc): Phase 1 — add 25 stub files, eliminate all Cannot find module errors (270→204) 2026-06-07 10:41:02 +08:00
server chore: checkpoint — restore 40+ upstream files, fix 21 syntax errors, build passes 2026-06-06 22:17:14 +08:00
services docs: add upstream-sync.md, update community-code-issues.md counts 2026-06-07 17:54:36 +08:00
skills fix(tsc): Phase 1 — add 25 stub files, eliminate all Cannot find module errors (270→204) 2026-06-07 10:41:02 +08:00
ssh feat: 实现 SSH Remote — 本地 REPL + 远端工具执行 2026-06-04 23:53:33 +08:00
state chore: merge upstream cleanup — 536 stubs + 17 dead files + 4 as any fixes 2026-06-06 21:12:01 +08:00
tasks fix: remove runtime helper as-any casts 2026-06-07 15:45:11 +08:00
tools fix(tsc): Phase 1 — add 25 stub files, eliminate all Cannot find module errors (270→204) 2026-06-07 10:41:02 +08:00
types fix: remove runtime helper as-any casts 2026-06-07 15:45:11 +08:00
upstreamproxy feat: 问就是封包 2026-03-31 23:32:58 +08:00
utils fix: eliminate all 8 NEEDS_UPSTREAM as any via type annotations and type guards 2026-06-07 17:54:36 +08:00
vim feat: build 2026-03-31 19:22:47 +08:00
voice feat: build 2026-03-31 19:22:47 +08:00
commands.ts feat: port mode system with 6 AI personality presets from CCB upstream (9947ae75) 2026-06-06 21:05:00 +08:00
context.ts refactor: 精简系统提示词 — 合并沟通风格段落、精简 memory/工具描述、截断 gitStatus 2026-06-04 10:46:51 +08:00
cost-tracker.ts feat: ACP 协议版本 remote control (#293) 2026-06-04 23:53:06 +08:00
costHook.ts feat: build 2026-03-31 19:22:47 +08:00
dialogLaunchers.tsx Phase 2a: mechanical dedup — import rewrite to canonical package 2026-06-03 13:54:22 +08:00
history.ts feat: build 2026-03-31 19:22:47 +08:00
interactiveHelpers.tsx fix(tsc): Phase 2 — eliminate all Cannot find name errors (204→175) 2026-06-07 10:49:56 +08:00
main.tsx fix(type): eliminate 26 as any casts (partial batch, Codex interrupted) 2026-06-07 15:27:21 +08:00
projectOnboardingState.ts feat: build 2026-03-31 19:22:47 +08:00
query.ts fix(tsc): Phase 3e (final) — all fixable errors cleared (44→22, only community code remains) 2026-06-07 11:28:54 +08:00
QueryEngine.ts fix: add resetAbortController/getAbortSignal to QueryEngine (from upstream CCB) 2026-06-07 14:24:34 +08:00
replLauncher.tsx fix: 添加 React Error Boundary 防止生产环境渲染崩溃 2026-06-04 13:38:32 +08:00
setup.ts feat: build 2026-03-31 19:22:47 +08:00
Task.ts feat: build 2026-03-31 19:22:47 +08:00
tasks.ts Fix Vite runtime requires for restored features 2026-06-01 21:23:28 +08:00
Tool.ts docs: 添加 ToolSearch 设计指南 + 禁用 turn-zero 工具推荐弹窗 2026-06-07 00:56:16 +08:00
tools.ts docs: 添加 ToolSearch 设计指南 + 禁用 turn-zero 工具推荐弹窗 2026-06-07 00:56:16 +08:00