Commit e8407e6
feat: upgrade to ai sdk 6 (#1559)
* chore: upgrade to ai sdk 5 to resolve security vulns
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* chore: changeset
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* feat: upgrade to zod 4
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* chore: remove zod-to-json-schema from the codebase
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* fix: use "Z" not "z"
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* fix: use error.issues
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* fix: perform more zod 4 migrations
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* fix: resolve type errors in mcp.ts (used any, might manually verify
everything still works fine)
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* fix: remove defaults from optional fields in zod 4 (fixes failing tests)
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* chore: fmt
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* chore: remove unused zod-to-json-schema dep
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* fix: use prefault
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* fix: revert
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* fix: upgrade new deps
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* fix: sort deps
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* fix: revert to zod 3 for docs script
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* chore: upgrade to ai sdk 6
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
* chore: sync lockfile
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
---------
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
Co-authored-by: Max Prilutskiy <5614659+maxprilutskiy@users.noreply.github.com>1 parent e2d2cef commit e8407e6
21 files changed
Lines changed: 279 additions & 126 deletions
File tree
- .changeset
- packages
- cli
- src/cli
- cmd
- run
- localizer
- processor
- utils
- compiler
- src/lib/lcp
- api
- sdk
- spec
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
654 | | - | |
655 | | - | |
| 654 | + | |
| 655 | + | |
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments