2 Commits

Author SHA1 Message Date
wyuc
843d33e5cc chore: enforce Prettier formatting and fix lint issues
- Add .prettierignore to exclude vendor packages, lock files, markdown, and YAML
- Update .prettierrc: printWidth 100, singleQuote, trailingComma "all"
- Run Prettier across all source files for consistent formatting
- Fix unused imports (UserRequirements, setTTSProvider)
- Fix eslint-disable comment placement after Prettier reformat

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 16:09:45 +08:00
wyuc
e4e4743b3a Split lib/api/stage-api.ts (1587 lines) into namespace-based modules
Extract 8 focused modules from the monolithic stage-api:
- stage-api-types.ts: interfaces and type definitions
- stage-api-defaults.ts: utility functions and content factories
- stage-api-scene.ts: scene CRUD operations
- stage-api-element.ts: slide element operations
- stage-api-canvas.ts: highlight/spotlight/laser/zoom effects
- stage-api-navigation.ts: scene navigation
- stage-api-whiteboard.ts: whiteboard operations
- stage-api-mode.ts: mode and stage metadata

Original file becomes a barrel re-export. All existing imports unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 16:55:45 +08:00