Skip to content

Commit bafc72f

Browse files
cuipengfeiclaude
andcommitted
docs: update CLAUDE.md for PR #20 features and 01/2026 focus
- Add CLI flags section (-F for force-agent, -a for account type) - Document src/lib/config.ts in Core Services - Update Current Focus to 01/2026 with new features - Add PR #20 to Decision Log Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 0fda9ab commit bafc72f

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ bun test tests/file.ts # Run specific test
2222
bun run lint:all --fix # Lint and fix
2323
bun run typecheck # Type check
2424

25+
# CLI Flags (start command)
26+
bun run dev -- -F # Force X-Initiator: agent
27+
bun run dev -- -a business # Use business account type
28+
2529
# Issue Tracking (beads)
2630
bd ready # Find available work
2731
bd create --title="..." --type=task # Create issue
@@ -41,6 +45,7 @@ bd sync # Sync before commit
4145
- `src/services/copilot/create-chat-completions.ts` - Central Copilot API caller (token refresh, headers)
4246
- `src/lib/state.ts` - **Single source of truth** for runtime state (tokens, models, config)
4347
- `src/lib/api-config.ts` - GitHub API headers (Copilot v0.35.0, VSCode v1.107.0)
48+
- `src/lib/config.ts` - App configuration (extraPrompts, useFunctionApplyPatch, modelReasoningEfforts)
4449

4550
### Key Patterns
4651

@@ -65,11 +70,12 @@ bd sync # Sync before commit
6570
- **Codex**: Second opinion for architecture decisions and code review
6671
- **OpenSpec**: For complex features - `/openspec:proposal`, see `openspec/AGENTS.md`
6772

68-
## Current Focus (12/2025)
73+
## Current Focus (01/2026)
6974

75+
- `interleaved_thinking_protocol` - 强制 Claude 在工具调用后输出思考块
76+
- `useFunctionApplyPatch` - 将 custom 类型的 apply_patch 转为 function 类型
7077
- `thinking_budget` + reasoning support (`reasoning_text`, `reasoning_opaque`)
7178
- Premium quota tracking (`getCopilotUsage`)
72-
- OpenSpec for spec-driven development
7379

7480
## Testing
7581

@@ -92,6 +98,7 @@ bd sync # Sync before commit
9298

9399
| Date | Change | Rollback |
94100
|:-----|:-------|:---------|
101+
| 2026-01-10 | PR #20: interleaved_thinking + useFunctionApplyPatch | Revert translation files |
95102
| 2025-12-13 | OpenSpec integration | Remove openspec/ |
96103
| 2025-12-11 | Copilot v0.35.0 | Revert api-config.ts |
97104
| 2025-12-03 | thinking_budget support | Revert translation files |

0 commit comments

Comments
 (0)