@oh-story/dsh 0.1.13 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/README.md +7 -7
  2. package/lib/client.js +932 -631
  3. package/lib/client.js.map +4 -4
  4. package/lib/index.js +1 -0
  5. package/lib/index.js.map +2 -2
  6. package/lib/oh-story/manifest.json +72 -72
  7. package/lib/oh-story/skills/story/SKILL.md +1 -1
  8. package/lib/oh-story/skills/story/VERSION +1 -1
  9. package/lib/oh-story/skills/story/references/author-memory-maintenance.md +2 -2
  10. package/lib/oh-story/skills/story/references/author-memory.md +4 -4
  11. package/lib/oh-story/skills/story/scripts/author_memory_commit.py +61 -58
  12. package/lib/oh-story/skills/story-deslop/SKILL.md +1 -1
  13. package/lib/oh-story/skills/story-deslop/references/agent-calls.md +1 -1
  14. package/lib/oh-story/skills/story-deslop/references/author-memory-maintenance.md +2 -2
  15. package/lib/oh-story/skills/story-deslop/references/author-memory.md +4 -4
  16. package/lib/oh-story/skills/story-deslop/scripts/author_memory_commit.py +61 -58
  17. package/lib/oh-story/skills/story-long-scan/SKILL.md +2 -7
  18. package/lib/oh-story/skills/story-long-scan/references/platform-qidian.md +11 -1
  19. package/lib/oh-story/skills/story-long-scan/references/platform-qimao.md +12 -2
  20. package/lib/oh-story/skills/story-long-write/SKILL.md +1 -1
  21. package/lib/oh-story/skills/story-long-write/references/agent-calls.md +2 -2
  22. package/lib/oh-story/skills/story-long-write/references/author-memory-maintenance.md +2 -2
  23. package/lib/oh-story/skills/story-long-write/references/author-memory.md +4 -4
  24. package/lib/oh-story/skills/story-long-write/references/workflow-chapter.md +1 -0
  25. package/lib/oh-story/skills/story-long-write/references/workflow-daily.md +2 -1
  26. package/lib/oh-story/skills/story-long-write/references/writer-prompt-fallback.md +1 -1
  27. package/lib/oh-story/skills/story-long-write/scripts/author_memory_commit.py +61 -58
  28. package/lib/oh-story/skills/story-long-write/scripts/build_writer_prompt.py +87 -20
  29. package/lib/oh-story/skills/story-review/SKILL.md +1 -1
  30. package/lib/oh-story/skills/story-review/references/author-memory-maintenance.md +2 -2
  31. package/lib/oh-story/skills/story-review/references/author-memory.md +4 -4
  32. package/lib/oh-story/skills/story-review/scripts/author_memory_commit.py +61 -58
  33. package/lib/oh-story/skills/story-short-write/SKILL.md +1 -1
  34. package/lib/oh-story/skills/story-short-write/references/agent-calls.md +2 -2
  35. package/lib/oh-story/skills/story-short-write/references/author-memory-maintenance.md +2 -2
  36. package/lib/oh-story/skills/story-short-write/references/author-memory.md +4 -4
  37. package/lib/oh-story/skills/story-short-write/scripts/author_memory_commit.py +61 -58
  38. package/lib/types/client/canvas-viewport.d.ts +31 -0
  39. package/lib/types/client/canvas-viewport.d.ts.map +1 -0
  40. package/lib/types/client/drama-production-view.d.ts +3 -2
  41. package/lib/types/client/drama-production-view.d.ts.map +1 -1
  42. package/lib/types/client/index.d.ts.map +1 -1
  43. package/lib/types/client/production-canvas.d.ts +24 -0
  44. package/lib/types/client/production-canvas.d.ts.map +1 -0
  45. package/lib/types/skill-provider.d.ts.map +1 -1
  46. package/lib/video-recap/CHANGELOG.md +16 -1
  47. package/lib/video-recap/README.en.md +2 -2
  48. package/lib/video-recap/README.md +2 -2
  49. package/lib/video-recap/manifest.json +25 -25
  50. package/lib/video-recap/skills/video-recap/SKILL.md +4 -2
  51. package/lib/video-recap/skills/video-recap/references/config-playbook.md +2 -2
  52. package/lib/video-recap/skills/video-recap/scripts/recap_cli.py +6 -0
  53. package/lib/video-recap/skills/video-recap/scripts/recap_runner.py +10 -1
  54. package/lib/video-recap/skills/video-script/SKILL.md +45 -18
  55. package/lib/video-recap/skills/video-script/scripts/review_runner.py +11 -2
  56. package/lib/video-recap/skills/video-voiceover/SKILL.md +34 -8
  57. package/lib/video-recap/skills/video-voiceover/scripts/dub.py +21 -0
  58. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -206,6 +206,7 @@ var DSH_VIDEO_BRIDGE = [
206
206
  "Keep the complete upstream six-Skill production pipeline plus the on-demand video-reference Skill; video-reference extracts reusable production references only when requested and never enters the default production path. Put each project under video-recaps/<project>/, copy or import source media under sources/, and use work/ as the upstream work_dir so the Studio can discover authoritative manifests and outputs. A project binding passed with --project belongs at video-recaps/<project>/recap_project.json.",
207
207
  "full-mode validation is lint-only: never truncate, drop, merge or reorder approved narration to satisfy a budget; report over_budget and request a revised script. final_qc.json uses schema 2 findings (code/message/blocking/evidence/next_action); do not read removed golden_eval.json, mimo_qc.json or preflight_qc.json. Do not pass removed --mimo-qc, --preserve-approved-text or --clip-padding flags, MIMO_QC* variables, CLIP_PADDING or SOURCE_VIDEO. Except dub, delivery uses tagged H.264 8-bit 4:2:0 with true peak <= -1 dBTP; delivered_true_peak_over_target blocks delivery. If libass is unavailable, deliver external .srt rather than dropping subtitles or aborting preflight.",
208
208
  "The Video Studio is a preview and artifact surface, not a nonlinear editor. Do not invent a second project-state format, timeline truth, or render queue; recap_run_manifest.json, recap_phase.json, timeline.json, assembly_manifest.json, and the upstream artifacts remain authoritative.",
209
+ "--edit-mode dub sends the source audio to MiMo ASR and clones the original speaker's voice, so it requires --confirm-voice-rights. Ask the user first and pass it only after they confirm they may use the video's audio and the speaker consents to voice cloning; never add it on your own, including to resume commands printed for an older work_dir.",
209
210
  "MIMO_API_KEY, FISH_API_KEY, and voice credentials stay in the host environment. Never write secrets into project files, tool arguments shown to the browser, or chat output.",
210
211
  "Use only DSH-visible tools and approvals. Run Python and ffmpeg through the current DSH execution world, preserve cancellation, and do not install or upgrade system dependencies without explicit user approval.",
211
212
  "When a new edited or final video is ready, tell the user that Video Studio can load it; never interrupt playback by replacing the currently loaded video silently.",