Selective Re-parsing: - Add parse-selected API endpoint for re-parsing specific problems - Support user-adjusted bounding boxes that persist across re-parses - Add crop-utils for extracting problem regions from worksheet images LLM Metadata Tracking: - Store JSON schema, prompt, and raw response in database - Add debug panel in PhotoViewerEditor to inspect LLM details - Add migrations for llm_metadata, llm_prompt, llm_json_schema columns UI Improvements: - Remove selection mode toggle - problems always selectable - Show checkboxes on hover only (no layout jump) - Move selection toolbar to fixed footer outside scrollable area - Add BoundingBoxOverlay component for visual problem selection - Add EditableProblemRow with hover-based checkbox visibility - Unified hover highlighting across checkbox and problem cells Also includes: - Fix approve route to handle excluded problems correctly - Add DebugContentModal for viewing prompts/responses - Update LLM client to return metadata in responses 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
3 lines
161 B
SQL
3 lines
161 B
SQL
-- Add llm_json_schema column to practice_attachments for storing the JSON Schema sent to the LLM
|
|
ALTER TABLE `practice_attachments` ADD `llm_json_schema` text;
|