deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:kirbylynx/deepshell-agent
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Language: English | 简体中文
A desktop agent powered by DeepSeek Harness.
DeepShell Agent is a desktop Agent product built on DeepSeek Harness (DSH). It combines the official DSH Web UI, a pinned DSH runtime, bundled Node.js, DeepShell first-party Bundle/Preset integration, and desktop lifecycle management to provide an out-of-the-box, recoverable, packageable local Agent workstation.
DeepShell Agent does not reimplement the Agent Runtime and does not fork the official DSH Web UI. Its architectural boundary is:
Tauri owns the desktop shell and process lifecycle; the official DSH Web UI owns the base interaction; the DSH Runtime owns the Agent; DeepShell differentiates through official extension points.
The latest published baseline is the unsigned v0.1.4 preview release. It completed Windows 11 x64 on-device acceptance and the final macOS arm64 regression, and adds per-platform runtime trimming, a Windows portable ZIP, safer Windows uninstall cleanup, and platform-specific native menus while retaining DeepSeek Harness 0.1.5-rc.1, the official Web UI, and the public-extension-point architecture.
Capabilities already included in the source baseline:
deepshell-desktop DSH Bundle;deepshell-coding, deepshell-work, deepshell-general, and legacy deepshell Agent Presets;workspace-write Permission Preset;credentials-local credential scheme;deepseek-flash / DeepSeek-V41-Flash catalog compatibility through the upstream DSH DeepSeek adapter;dsh-home/sessions during the v0.1.1 to v0.1.2 runtime refresh;Still required before formal signed/notarized public binary distribution:
Completed by v0.1.3 (the two items previously listed here): Windows x64 on-device installer acceptance, and Windows WebView2 first-run / shutdown / process-tree cleanup acceptance. See the v0.1.3 closeout.
Coding Mode targets code workspaces. It reuses DSH file, search, Shell, test, Git, Session, and Approval capabilities for code understanding, modification, verification, and change explanation.
General Mode provides a general-purpose Agent entry for Q&A, local tasks, and lightweight research. It is implemented as the deepshell-general Agent Preset and uses the official DSH Agent Preset UI.
Work Mode targets general research and text output. The MVP focuses on:
Native Office/PDF/PPTX/XLSX parsing, complex knowledge bases, enterprise connectors, and dedicated document UI are not part of the current baseline.
The current route supports:
Models, routes, base URLs, API keys, and model lists are managed through the official DSH Models Settings whenever possible. DeepShell does not create a second model registry or credential system.
For published binaries, use GitHub Releases. The v0.1.4 preview release provides a macOS arm64 DMG, a Windows x64 NSIS installer, and a Windows x64 portable ZIP. These preview assets are not Developer ID/notarized or Windows code-signed.
The current source baseline has not completed all formal binary-distribution gates. The public repository is primarily for source publication, architecture review, and reproducible builds. If you want to build from source, see “For contributors” below.
Target platform:
For published macOS developer-preview builds, users may download the .dmg, drag DeepShell Agent.app into Applications, and launch it from there.
Developer-preview DMGs are locally signed for packaging, but they have not completed Developer ID signing or Apple notarization. macOS may show the usual security warning for non-notarized apps. Signing, notarization, and Gatekeeper verification are required before formal public binary distribution.
Target platform:
Windows users can use either the NSIS installer or the portable ZIP. The portable build is extracted and launched in place, shares %APPDATA%\com.deepshell.agent with the installed build, and requires an existing Evergreen WebView2 Runtime. Do not run installed and portable forms concurrently; the product intentionally keeps a single-instance model.
The v0.1.4 preview release completed WIN-01 through WIN-13 on real Windows 11 x64 hardware, including installed/portable session creation, UI-level session and Provider sharing in both directions, portable-directory removal with retained user data, native menu inspection, orphan-Sidecar uninstall cleanup, and representative v0.1.3 session upgrade. See the v0.1.4 closeout.
v0.1.3 completed end-to-end acceptance on real Windows x64 hardware (setup wizard, first launch, data directory, credential setup, sessions and tools, single instance, dynamic ports, malicious-origin isolation, the exit-cleanup scenario tested at that time, crash recovery, diagnostics bundle, environment restoration). Acceptance found and fixed 8 Windows platform defects; see the v0.1.3 closeout.
Known limitations of the released v0.1.3 baseline (not to be read as current-branch passes):
v0.1.3; v0.1.4 implements and validates the REL-024 cleanup route.v0.1.3: its installer bundles both the macOS and Windows Node runtimes, and the macOS half (4800 files / 187.5 MB) is entirely unused on Windows. v0.1.4 implements and validates the REL-022 macOS and Windows paths.The final v0.1.4 audit found no production-root, bundled-DSH-runtime, or Rust advisories. The root development/test toolchain still reports four high and one moderate warning; these are recorded as non-blocking build-tooling findings rather than shipped-runtime findings.
A typical first-run flow is:
DeepShell Agent uses the official DSH workspace-write Permission Preset by default:
credentials-local scheme.Note: credentials-local is not the system Keychain. It can use local file permissions to separate OS users, but it must not be described as a strong security boundary between processes running as the same OS user.
The public source repository keeps only source code, tests, build scripts, lock manifests, and public documentation.
It does not commit:
.app, .dmg, or installer artifacts;Binary packages should be distributed through GitHub Releases or another release channel. A platform-specific license/NOTICE inventory, SBOM, package report, and security-audit report should be regenerated for each binary release artifact.
DeepShell Agent source code is released under the MIT License. See LICENSE.
Third-party dependencies, bundled runtime components, and binary-release components remain under their own licenses. Before distributing binary packages, regenerate the platform-specific license/NOTICE inventory, SBOM, and release staging assets, then ship or publish the required notices with the release artifact. The current baseline is documented in THIRD_PARTY_NOTICES.md.
docs/plans/ is a local process-document directory for requirement exploration, design drafts, implementation plans, and acceptance evidence. It is not published with the public source repository by default.
DeepShell Agent uses an independent icon language:
>_ terminal prompt;Current icon assets:
src-tauri/icons/app-icon-source.svgsrc-tauri/icons/app-icon-source.pngsrc-tauri/icons/icon.pngsrc-tauri/icons/icon.icnssrc-tauri/icons/icon.icoDeepShell Agent is an independent desktop Agent product built on DeepSeek Harness. DeepSeek Harness provides the core Agent Runtime, Web UI, and plugin mechanism; DeepShell Agent provides desktop packaging, runtime distribution, productized Bundle, default modes, diagnostics/recovery, and release workflow.
This project is not an official DeepSeek product and does not imply affiliation, partnership, authorization, or endorsement by DeepSeek. DeepSeek, DeepSeek Harness, and related names belong to their respective owners. They are used here only to describe technical compatibility and upstream dependency relationships.
The following sections are for contributors who build, develop, and validate DeepShell Agent from source.
0.1.5-rc.124.20.010.30.2The build flow has three stages:
The public source repository does not commit the full runtime, installed dependency tree, or local build artifacts. On first build, scripts download and verify the Node.js runtime from runtime/manifest/runtime-lock.json, then install the locked DSH production dependency tree from runtime/manifest/dsh-install/package-lock.json.
Build environment:
>=24.0.0;10.30.2;1.96.0;Prepare the environment:
xcode-select --install
corepack enable
corepack prepare pnpm@10.30.2 --activate
rustup toolchain install 1.96.0
Install project dependencies:
pnpm install
Prepare runtime and Profile:
pnpm runtime:prepare --target all
pnpm runtime:verify --target all
pnpm profile:prepare
pnpm profile:verify
Run in development:
pnpm dev
Build the macOS .app, generate .dmg, and run the current macOS release checks:
pnpm package:verified
Notes:
pnpm package:verified first builds an E2E-only .app, then builds the Release .app / .dmg, and compares their security boundaries.pnpm package:mvp..app and .dmg outputs are under the Tauri build output directory and are ignored by Git.Build environment:
>=24.0.0;10.30.2;1.96.0 with the MSVC toolchain;Prepare the environment:
corepack enable
corepack prepare pnpm@10.30.2 --activate
rustup toolchain install 1.96.0-msvc
rustup default 1.96.0-msvc
Install project dependencies:
pnpm install
Prepare runtime and Profile:
pnpm runtime:prepare --target all
pnpm runtime:verify --target all
pnpm profile:prepare
pnpm profile:verify
Run in development:
pnpm dev
Build the Windows NSIS installer:
pnpm package:mvp
Notes:
pnpm package:mvp calls Tauri to build the NSIS installer, emits the release NSIS package manifest (runtime/staging/package-release-win32-x64-nsis-installer.json, schemaVersion: 5), and runs static security-boundary checks for the Windows release manifest. It does not run the macOS-only E2E/Release artifact comparison on Windows.%LOCALAPPDATA%\tauri\NSIS\; it needs no separate install and no system PATH change. The WebView2 bootstrapper is cached in the same directory.v0.1.3 ran that Windows installer pipeline end to end on real Windows x64 hardware (compile → makensis → manifest capture → static boundary checks, exit 0); the artifact is 80.41 MB.pnpm security-audit reports the failure honestly rather than reporting a pass.pnpm check
pnpm runtime:smoke
pnpm runtime:verify --target all
pnpm profile:verify
pnpm package:e2e
pnpm package:mvp
pnpm package:verified
pnpm package:compare
pnpm licenses:collect
pnpm sbom:generate
pnpm package:report
pnpm release:stage
pnpm diagnostics:collect
pnpm release:windows:check
pnpm security:audit
Notes:
pnpm check runs formatting checks, Clippy, TypeScript, unit tests, contract tests, integration tests, security tests, and profile/runtime validation.pnpm runtime:smoke starts the real DSH Web runtime and validates loopback, token exchange, CSP, Ready Gate, and branding plugin boot-graph integration.pnpm runtime:verify --target all validates macOS arm64 and Windows x64 runtime lock manifests.pnpm profile:verify validates DeepShell Bundle/Profile/Preset relationships against the official DSH baseline.pnpm package:e2e builds the E2E-only app package and captures its artifact manifest.pnpm package:mvp is platform-aware:.app, signs, verifies, generates .dmg, captures release manifests, and requires the E2E/Release artifact comparison to pass;pnpm package:verified rebuilds E2E and Release artifacts and compares their security boundaries on the macOS release route.pnpm licenses:collect, pnpm sbom:generate, pnpm package:report, and pnpm release:stage prepare local release-support assets without publishing anything.pnpm diagnostics:collect exports a local redacted diagnostics bundle under ignored staging.pnpm release:windows:check reports the Windows x64 packaging route and must not be treated as Windows installer acceptance when run on macOS.pnpm security:audit creates a vulnerability-audit summary; use pnpm security:audit -- --dry-run for deterministic pipeline checks.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。