DSH Director: Orchestrating Film and Video Production Workflows with DeepSeek Harness

Introduction

The core philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” In agent development, a common division of labor is to entrust generic capabilities like “conversation + approval + delivery” to DSH, while vertical capabilities like “script → storyboard → keyframes → voiceover → final render” are delegated to external services. The DSH Director (dsh-director) plugin embodies this division of labor: as a DSH plugin, it connects to ZipX, enabling project binding, step advancement, approval, and delivery within the conversation interface, making the creative workflow visible and controllable within DSH.

Plugin Positioning

DSH Director (dsh-director) is a standard DSH bundle (dsh.bundle) maintained by Digiforge6688. It is not a second shell for a web page, but rather integrates ZipX’s video production capabilities into DSH, displaying project Chips, step status bars, native tool cards, and a right-side workbench within the session, allowing creators to orchestrate the full pipeline from idea to final render directly in the conversation.

Core Features

1. Session-Level Project Binding

  • A Project Chip appears in the session title bar, displaying the current project and current step; click to switch projects or create a new one.
  • New sessions offer a “Start with DSH Director” entry on the first screen, or access the project library from the sidebar.
  • Project binding is scoped to the current session; after a restart, the first call recovers from ZipX’s external_sessions; switching sessions does not inherit the binding, and there is no global fallback.

2. Step Pipeline and Native Cards

  • Every zipx_* invocation has a native tool card displaying status, pre-check, approval, progress, artifacts, delivery, and cost information.
  • The “Advance / Redo / Accept” buttons on cards only insert a user message into the input box, routing through the tool pipeline—they never write directly to the backend or bypass approval.
  • The model only sees a concise conclusion (output.render, 3–5 lines); the full structured data is stored in presentationMeta, supporting replay and offline restoration.

3. Approval and Budget Control

  • Paid actions (such as zipx_start / confirm_step / regenerate_step / regenerate_item / resume_step / start_episode / dispatch and paid-triggering zipx_chat) return ask in tools/pre-execute, requiring user approval.
  • If no approval channel is available, execution is denied; you can explicitly bypass by setting the environment variable ZIPX_ALLOW_UNCONFIRMED=1 (headless only).
  • Per-step and per-day budget caps can be configured in Settings; paid actions exceeding the cap are rejected before approval.

4. Background Long-Running Tasks

  • Long-running tasks enter the background via zipx_watch_step, returning a job id immediately without blocking the conversation.
  • Use zipx_abort to abort the current step and release the execution lock; already-issued paid calls may still complete, but subsequent steps will not proceed.
  • Upon completion, progress is displayed in the title bar and a notification is shown.

5. Right-Side Workbench and Delivery

  • The right sidebar contains four tabs: Workbench, Artifacts, Delivery, and Legacy Studio.
  • The Workbench supports viewing project status, shot lists, and details; the Artifacts tab displays thumbnails and a delivery checklist.

6. Deliverables

The plugin supports multiple creative types, with the following input/output mappings:

Creative Type Input Output
Premium Film A single creative idea, story outline, or reference direction A cinematic short/brand film: script, storyboard, keyframes, shots, audio, master, and delivery checklist
Multi-Episode Short Drama Novel source / script / episode & duration requirements A vertical short drama advanced per episode: chapters, episodes, characters, scene contracts, per-episode renders, with continuation to the next episode
Creative Video A one-liner, concept, or mood board A 15–90 second creative short: hook, storyboard, keyframes, voiceover, editing, and subtitles
Product Video Product selling points, brand/product, product images, CTA A product/brand video: marketing brief, selling-point structure, product consistency, shots and final render, with an exportable publishing package
Novel / Script Adaptation Source text Breakdown by chapter/scene, going directly into storyboard and generation without rewriting the story

Installation and Setup

Prerequisites

  • DSH 0.2.x (engines.dsh is >=0.2.0 <0.3.0).
  • An accessible ZipX backend (default http://localhost:8000) and a ZipX account (International / China).
  • The plugin is a DSH frontend for ZipX and does not bundle a model or backend; installation will succeed without a ZipX backend, and connection/diagnostics are visible, but project creation/advancement will be unavailable.
  1. Open Plugins → Discover → Add Index Source;
  2. Enter: https://cdn.jsdelivr.net/gh/Digiforge6688/dsh-director@main/market/index.json
    (fallback: https://raw.githubusercontent.com/Digiforge6688/dsh-director/main/market/index.json);
  3. Search for DSH Director / dsh director / short drama / product video / storyboard, then click Install on the card.

Install from npm

dsh plugin --profile web add dsh-director@1.0.2

Install from GitHub tag

dsh plugin --profile web add github:Digiforge6688/dsh-director#v1.0.2

Connect to ZipX

  1. Open Settings → ZipX; if you don’t have an account, register at International or China first;
  2. Click “Connect to ZipX,” log in with email/password, or use the pairing code from the “Create with DSH” button in the ZipX web Studio;
  3. Success is indicated by seeing your account, credits, and token source. The token is no longer echoed and will not enter the browser.

If ZipX is not running locally, you can modify the baseUrl in Settings (e.g., https://zipx.example.com) before logging in.

Self-Hosted ZipX Configuration

Enable the DSH channel in docker-compose.yml:

# docker-compose.yml → backend.environment
- DIALOGUE_CHANNELS=dsh
- DIALOGUE_DSH_PROJECT_ALLOWLIST=<project_id>,<project_id>

You must rebuild the container after changes:

docker compose up -d --no-deps backend
docker exec zipx-backend printenv DIALOGUE_CHANNELS

Select a Project

  • On a new session’s first screen, click “Start with DSH Director”, or go to DSH Director in the sidebar;
  • Select a project → it is automatically bound to the current session;
  • The Chip in the title bar shows the project and current step; click it to switch/create a project.

Typical Usage

Advancing a step in the conversation:

  1. Input: Advance step 6 “Storyboard Design”
  2. Status card shows: Step 6 · Storyboard Design · Gate not passed · Output 18/24
  3. Pre-check card shows: Executable · Estimated 10 credits · Downstream: keyframes/shots/audio/compositing
  4. Approval card shows: Allow once / Deny
  5. After confirming approval, the background task starts (zipx-step-…), progress shown in the title bar
  6. On completion, a notification pops up; the artifact card shows 24 shots, thumbnails, and a “View Workbench” button
  7. In the right sidebar “Workbench,” click a shot to view details or redo that shot

Commands and References

  • /zipx: Open the DSH Director project library
  • /zipx-status: Open the right-side workbench
  • /zipx-doctor: Open diagnostics (backend, token, credentials, tool count)
  • @project: Type @ to select a ZipX project, inserting a reference and binding the session; the model sees <zipx_project id="…"/>
  • /skill zipx-creator: Creative discipline (check status first, pre-check first, paid actions must be confirmed, only report receipts)

Diagnostics and Rollback

  • Settings page “Diagnostics” or /zipx-doctor: checks backend reachability, HTTP status/latency, token source, credential availability, plugin version, and tool count.
  • If the backend is unreachable, first verify baseUrl and DIALOGUE_CHANNELS; /zipx-api only serves local/same-origin pages.
  • Legacy full-page Studio: append ?zipx_shell=legacy to the main panel URL (or set window.__ZIPX_DSH_SHELL__='legacy' in the host) to restore “Project Library + Embedded Studio”; the right sidebar also retains a Studio (legacy) tab.
  • Logout: “Logout” on the Settings page clears in-memory data, old files, and DSH Credentials records.

Known Limitations

  • Video signed URLs are proxied via the Host’s /zipx-media endpoint with Range support; it only forwards file paths from the ZipX backend and is not an open proxy.
  • Project binding is per session; there is no global fallback. When selecting a project in the main panel with no active session, the selection is deferred and bound on the next session Chip mount.
  • Cancellation: zipx_abort requests the ZipX backend to abort the current step and release the execution lock; already-issued paid calls may still complete, subsequent steps will not proceed, and DSH-side background tasks stop tracking.
  • ?zipx_shell=legacy is a rollback channel, not the primary path; daily creation is centered on conversation + cards + right sidebar.

Use Cases and Notes

  • Suited for video production workflows in DSH requiring “conversation + approval + delivery,” especially for premium film, multi-episode short drama, creative video, and product video scenarios.
  • The plugin runs with the current DSH process permissions; verify the source code and license (MIT) before installation.
  • Does not provide a model or backend; depends on the ZipX backend. Without a ZipX instance, only connection and diagnostics are available—project creation or advancement is not possible.

Summary

DSH Director leverages DSH’s slot and card system to integrate ZipX’s video production capabilities into the conversation flow, enabling creators to complete project binding, step advancement, approval, and delivery within the familiar DSH interface. By utilizing DSH’s native approval, background tasks, and credential management, it ensures long-running tasks don’t block the conversation, paid actions are controllable, and deliverables are centrally managed—making it a typical practice of the “conversation orchestration + external service” model.

  • Directory page: https://www.skillhub.cn/plugins/Digiforge6688/dsh-director
  • GitHub: https://github.com/Digiforge6688/dsh-director
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye