Commit Graph

4 Commits

Author SHA1 Message Date
b56d5177e5 fix(canvas): persist video uploads and fix media cache/polling
- VideoNode upload now goes through backend (/jobs/upload via uploadCanvasVideo)
  for a stable reloadable URL instead of a session-only blob: that leaked and
  broke on reload; cleanNodeForStorage also strips blob: URLs
- useCachedMediaUrl: record real blob.size (chunked videos reported 0, making the
  LRU byte cap a no-op); guard the catch path with the race token
- useApi: send credentials when reading reference images; drop the node-level
  video poll that duplicated the Canvas-level syncPendingVideoNodes loop
- request.js: 60s timeout (was ~8.3h) + withCredentials
- remove dead getVideoTaskStatus/pollVideoTask that ignored taskId

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 02:04:59 +08:00
854947a239 feat: cache canvas media locally 2026-05-28 15:43:54 +08:00
3c146d64a0 auto-save 2026-05-27 14:53 (+1, ~6) 2026-05-27 14:53:13 +08:00
2d19560dd3 feat: add internal skg infinite canvas 2026-05-25 16:52:53 +08:00