You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+7-37Lines changed: 7 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
**AI Agent Documentation for sveltekit-superforms**
4
4
5
-
This document provides essential information for AI agents (like GitHub Copilot, Claude, ChatGPT, etc.) working with the sveltekit-superforms codebase. Last updated: October 17, 2025.
5
+
This document provides essential information for AI agents (like GitHub Copilot, Claude, ChatGPT, etc.) working with the sveltekit-superforms codebase. Last updated: October 18, 2025.
6
6
7
7
---
8
8
@@ -29,7 +29,7 @@ The library uses a **validation adapter pattern** to support multiple validation
29
29
30
30
**Supported Libraries:**
31
31
32
-
- Zod (v3 via `zod.ts`, v4 via `zod4.ts`) ⚠️ Zod v4 has known open issues
This is a mature, widely-used library (v2.27.4) with comprehensive documentation. The codebase is well-structured but complex, especially `superForm.ts`. When making changes:
465
+
This is a mature, widely-used library with comprehensive documentation. The codebase is well-structured but complex, especially `superForm.ts`. When making changes:
496
466
497
467
- **Always run tests** (`pnpmtest`)
498
468
- **Check for TypeScript errors** (`pnpmruncheck`)
499
-
- **Consider backward compatibility** (many users depend on this)
469
+
- **Consider backward compatibility** many users depend on this, but adapters should in general only support the latest version of its validation library.
500
470
- **Document breaking changes** clearly
501
471
- **Test across validation libraries** if modifying adapter system
0 commit comments