dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
A local-first coding-agent runtime for durable sessions and controlled autonomous work.
A local-first coding-agent runtime for durable execution, verifiable workflows, and multi-workspace coordination.
Spark keeps agent work alive beyond one terminal process. A local daemon owns persistent sessions, invocations, background execution, retries, and recovery. The Hub coordinates registered workspaces and delegations without taking over their repositories or execution state. The local Web workbench, Hub Web UI, channels, and ACP are interfaces over those owners rather than competing runtimes.
Use Spark when a coding task needs to continue, ask for a decision, produce traceable artifacts, survive frontend restarts, or move between terminal and browser supervision.
Spark requires Node.js >=24 and npm. The verified curl bootstrap is the
recommended direct native entry; it installs the exact managed npm payload and
keeps atomic upgrades and rollback:
curl -fsSL https://github.com/zendev-lab/spark/releases/latest/download/install.sh | sh
spark doctor
spark
Global npm installation remains supported when the package manager should own the command:
npm install --global @zendev-lab/spark
Run a foreground task without starting the browser workbench:
spark run "Summarize this repository and identify its validation command."
Install an executable app independently when a host needs only that process:
npm install --global @zendev-lab/spark-hub
spark-hub
The complete @zendev-lab/spark package installs matching daemon, Hub, and web
companions, so its dispatcher can also use:
spark hub
Spark starts or contacts the local daemon as needed. Use spark-daemon status --json when you need to inspect execution state directly.
See the getting-started guide for provider configuration, package-manager-owned installations, background runs, sessions, and remote operation.
/plan, /execute, and /fleet
directives cover ordinary work; Goal, Loop, Repro, and Workflow add
supervised long-running behavior.issue, git_change, and
document artifacts, with verification kept separate from user-facing
results.Spark separates dispatch, presentation, coordination, and execution:
spark CLI / spark web ─────────► local spark-daemon ───► workspace + providers
channels / spark-acp ────────────────────────┘
browser / Hub Web ─────────────► spark-hub ◄────────── registered spark-daemon
│
└── embedded Web UI + global control plane
| Component | Responsibility | Does not own |
|---|---|---|
spark | Stable command dispatch to companion executables | Product state |
spark-web | Local interactive presentation and session attachment | Durable business state |
spark-daemon | Sessions, invocations, channels, execution, retry, and recovery | Cross-workspace coordination |
spark-hub | Authentication, daemon gateway, workspace registry, delegation, audit, and embedded management UI | Target execution, repositories, or internal evidence |
spark-acp | Stateless protocol translation | Sessions or invocations |
The detailed ownership and command grammar are specified in
.agents/notes/contracts/command-planes.md. Package
dependency direction and state writers are defined by
architecture/packages.json and the
package architecture specification.
spark web or with spark run./plan to turn the intent into durable, inspectable tasks./execute for ordinary execution, /fleet for an isolated parallel
frontier, or opt into Goal, Loop, Repro, or Workflow when the work needs
autonomous progress.The user documentation explains these workflows without requiring knowledge of internal packages or storage.
| Interface | Best suited for |
|---|---|
spark / spark web | Interactive local coding sessions |
spark run / spark bg | Foreground scripts and background work |
spark-daemon | Execution inspection and operator control |
spark-hub | Global browser management, coordination, and delegation |
spark-acp | ACP-compatible clients over canonical daemon sessions |
The native root CLI accepts spark daemon, spark hub, spark web,
spark acp, and spark mcp as convenience forms and executes the matching
spark-* companion. The complete meta package installs every companion; the
real parser, diagnostics, updater, and router remain in
@zendev-lab/spark-cli. Run spark --help for the
current command map. The complete command reference is
maintained in the user documentation.
EVOLUTION.md — project intent, goals, non-goals, and open
questions..agents/notes — on-demand internal contracts, decisions,
and maintainer runbooks..agents/AGENTS.md — agent knowledge placement and
progressive-disclosure rules.CONTRIBUTING.md — source setup, repository workflow,
validation, documentation ownership, and pull requests.AGENTS.md — repository-wide constraints for coding agents.Spark publishes lockstep-versioned product distributions and platform-specific native CLI payloads from the same private monorepo:
@zendev-lab/spark is the complete installation meta package. It pins the
matching CLI, daemon, Hub, and web app packages and keeps spark available
through a thin forwarding launcher, but contains no parser or app implementation.
@zendev-lab/spark-cli owns the native spark parser, diagnostics, updater,
companion routing, ACP/MCP adapters, and platform-specific optional payloads.
@zendev-lab/spark-daemon, @zendev-lab/spark-hub, and
@zendev-lab/spark-web are independently installable executable apps.
The split is a deployment and trust boundary, not a source-code ownership split. The private app composition roots and internal adapter/capability workspaces remain unpublished source boundaries. The product tarballs share one release version and protocol compatibility contract. npm resolves exactly one supported macOS/Linux native CLI payload for the current platform, while the app packages can be installed and deployed independently.
GitHub Releases also publish verified native bootstrap archives,
native-release-manifest.json, SHA256SUMS, provenance, and an exact-version
install.sh. The bootstrap contains no Node runtime: it verifies Node 24 and
npm, then delegates the product payload transaction to the native updater.
Spark is under active development. Managed root installations provide explicit update and rollback behavior; source checkouts are never self-modified. Direct app installations are updated by their package manager or container deployment.
Spark is MIT-licensed. Source-derived component notices are recorded in
THIRD_PARTY_NOTICES.md.