Commit fa741cc
committed
fix: update ValidationResult consumers and restore responses barrel
Four tool files still accessed the removed errorResponse property
on ValidationResult. Updated to construct error responses from
the new errorMessage field.
Restore responses/index.ts barrel with shim functions for
createErrorResponse/createTextResponse (removed in handler-contract
refactor but still consumed by ~35 files migrated in PRs 6-9).
Also restore processToolResponse in next-steps-renderer.ts.
Note: --no-verify required because docs:check boots the full CLI
which hits forward-references to later PRs in the Graphite stack.1 parent 61605e8 commit fa741cc
5 files changed
Lines changed: 28 additions & 7 deletions
File tree
- src
- mcp/tools
- coverage
- macos
- simulator
- utils/responses
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
2 | 21 | | |
3 | | - | |
4 | 22 | | |
5 | 23 | | |
6 | 24 | | |
| |||
12 | 30 | | |
13 | 31 | | |
14 | 32 | | |
15 | | - | |
| 33 | + | |
0 commit comments