$## Context\n\nPR #21 (dependabot) attempted to upgrade zustand from 4.5.7 to 5.0.12, but the major version bump has breaking type changes.\n\n## Breaking Changes\n\nZustand v5 changed how stores are created/types work. Test mocks no longer overlap with the new types:\n\n- ConnectionState — now requires loading, error, loadProfiles, saveProfile and more\n- ResultState — now requires activeResultIndex, explainResult, explainAnalyze, showExplain and more\n\nAffected test file:\n\n- useQueryExecution.test.ts — Lines 23, 31 — mock objects missing required store properties\n\nLikely code changes needed:\n\n- Store creation API may have changed\n- Test mocks need updated interfaces\n- May need to review create API changes between v4 and v5\n\n## Acceptance Criteria\n\n- [ ] Zustand store types reviewed for v5 changes\n- [ ] All test mocks updated to match new store interfaces\n- [ ] npm run type-check passes\n- [ ] All tests pass\n- [ ] zustand updated to 5.0.12
$## Context\n\nPR #21 (dependabot) attempted to upgrade zustand from 4.5.7 to 5.0.12, but the major version bump has breaking type changes.\n\n## Breaking Changes\n\nZustand v5 changed how stores are created/types work. Test mocks no longer overlap with the new types:\n\n- ConnectionState — now requires
loading,error,loadProfiles,saveProfileand more\n- ResultState — now requiresactiveResultIndex,explainResult,explainAnalyze,showExplainand more\n\nAffected test file:\n\n- useQueryExecution.test.ts — Lines 23, 31 — mock objects missing required store properties\n\nLikely code changes needed:\n\n- Store creation API may have changed\n- Test mocks need updated interfaces\n- May need to reviewcreateAPI changes between v4 and v5\n\n## Acceptance Criteria\n\n- [ ] Zustand store types reviewed for v5 changes\n- [ ] All test mocks updated to match new store interfaces\n- [ ]npm run type-checkpasses\n- [ ] All tests pass\n- [ ] zustand updated to 5.0.12