Commit 4d8bfe1
committed
fix: resolve Zod JSON Schema generation failures
- Revert configBundles/abTests/httpGateways from .optional() back to
.default([]) — Zod v4 cannot represent undefined in JSON Schema
- Replace z.undefined() with z.never() in AB test variant XOR union
- Strip empty evo arrays in writeProjectSpec so they don't appear in
agentcore.json for users who haven't opted into preview features1 parent 839b32b commit 4d8bfe1
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments