deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
Native workspace governance for DeepSeek Harness (DSH), bringing archived-session management, pre-deletion protection for important outputs, and verifiable local backups into the Settings interface. The plugin keeps DSH as the source of truth for session state and uses strict path validation, content hashes, and fail-closed safeguards to reduce risk when cleaning up archived work.


| Component | Requirement |
|---|---|
| Operating system | Windows 10 or 11 |
| DSH | Tested with 0.1.1-rc.2 through 0.1.2-rc.1; other versions are not yet verified |
| PowerShell | 5.1 or later |
| Node.js | 20 or later; also meet your DSH installation's requirements |
| Workspace | A readable and writable folder, not a drive or share root |
dsh plugin --profile web add github:yxv1203-collab/dsh-conversation-archive#v1.1.0
Restart DSH, then open Settings → Workspace Manager.
Download dsh-conversation-archive-1.1.0.tgz and its .sha256 file from GitHub Releases.
Get-FileHash .\dsh-conversation-archive-1.1.0.tgz -Algorithm SHA256
Get-Content .\dsh-conversation-archive-1.1.0.tgz.sha256
Confirm the hashes match. For an offline installation, first copy the package to the profile's durable dependency directory, then install that retained copy:
$profileDeps = Join-Path $env:DSH_HOME 'profiles\web\deps'
New-Item -ItemType Directory -Force $profileDeps | Out-Null
$profilePackage = Join-Path $profileDeps 'dsh-conversation-archive-1.1.0.tgz'
Copy-Item .\dsh-conversation-archive-1.1.0.tgz $profilePackage
dsh plugin --profile web add $profilePackage
Keep this retained .tgz for as long as the file-based installation remains in the profile. Deleting or moving it makes pnpm re-resolution fail during later plugin installs. Installing from the GitHub tag above avoids a disposable local-file dependency.
Unarchiving and deleting are separate operations. Deletion checks session ownership and paths, scans eligible outputs, asks the configured DSH model to assess their content, and verifies retained copies before recycling session data. Candidate file content may be sent to the model provider configured in DSH.
Original project folders and source files are not deletion targets. Review, copy, integrity, or path-validation failures stop the protected deletion workflow. AI retention is selective and does not replace a full project backup.
On supported DSH versions, session data is recycled while its archive marker remains in place. The next clean startup removes workspace references and finalizes deletion, preventing the conversation from reappearing in the active list.
Metadata not registered means a native archived session has no valid plugin workspace mapping. Startup and archive synchronization backfill mappings from DSH session metadata. If the warning remains, check workspace access and session metadata; complete workspace-output protection and backups require a valid mapping.
Native session paths are independent of the shared storage root. The plugin can infer that root from a canonical daily workspace on first use and records it for subsequent starts. Existing mappings and retained files are not automatically relocated. Explicit harnessRoot, DCA_HARNESS_ROOT, or DSH_HARNESS_ROOT settings take precedence.
Restoring a retained file to its original location requires a recognized DSH workspace. Otherwise, select an alternate destination. Existing files are never overwritten, and paths that escape through junctions or symbolic links are rejected.
Backups cover registered DSH session data and retained files, not entire source repositories. Targets may be local folders or supported network paths. Old backups are recycled only after the newest backup passes verification. Network availability, permissions, and Recycle Bin support depend on the destination.
Cloud accounts are not connected directly. External sync software may synchronize a backup folder. Reminders appear inside DSH, not as Windows notifications.
dsh plugin --profile web remove dsh-conversation-archive
Restart DSH after removal. Retained files and backups are preserved.
With a compatible DSH installation available locally:
npm test
npm pack --dry-run --json
npm pack
Tests cover archive synchronization, historical metadata backfill, cross-drive path rules, retention, backups, deletion recovery, and release integrity.
Report issues through GitHub Issues or contact yxv1203@gmail.com. Include DSH and plugin versions, reproduction steps, and sanitized diagnostics.
Licensed under MIT.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。