Commit 3a78886
fix: Git ツール名を commitChanges から commit にリネーム (書籍 ch07.5 との整合)
書籍本文 ch07.5 節「cli.ts へのツール組み込み」では Git コミット用ツールが
commit という名前で定義・import されている。リポジトリ側を本文に合わせて
コミット用ツールの export 名と LLM ツール名 (Tool#name) を commit に揃える。
変更箇所:
- src/tools/git.ts: export 名と name フィールド
- bin/cli.ts: import と tools オブジェクト登録
- chapters/07-verification.ts: モックの name とログ
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 532b454 commit 3a78886
3 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
| 76 | + | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments