DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Harbor Evolution — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-harbor-evolution

Harbor Evolution

DeepSeek Harness 插件和 Skill,用于 Harbor Candidate 和 Historical Session 评估工作流。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-harbor-evolution@0.9.7
README兼容性版本

兼容性与来源证明

Harbor Evolution 以 dsh-harbor-evolution 发布,当前版本为 0.9.7。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.9.7stable
2026/9/20
0.9.6stable
2026/9/19
0.9.5stable
2026/9/7
查看其余 19 个版本收起版本
0.9.4stable
2026/9/7
0.9.3stable
2026/9/6
0.9.2stable
2026/9/6
0.8.3stable
2026/8/31
0.8.2stable
2026/8/31
0.8.1stable
2026/8/30
0.8.0stable
2026/8/30
0.7.3stable
2026/8/25
0.7.2stable
2026/8/24
0.7.1stable
2026/8/23
0.7.0stable
2026/8/23
0.6.1stable
2026/8/22
0.6.0stable
2026/8/22
0.5.0stable
2026/8/20
0.4.0stable
2026/8/18
0.3.1stable
2026/8/18
0.3.0stable
2026/8/17
0.2.0stable
2026/8/17
0.1.0stable
2026/8/17
最新版
0.9.7
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
1.3 MB
文件数
53
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 2
周下载
130
安全扫描
✓ v0.9.7 扫描通过
最近提交
2026/9/20
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-harbor-evolution

Installable DeepSeek Harness Plugin + Skill for running stable Harbor evaluation and controlled Agent evolution loops, with a native DSH Web dashboard.

The package gives DSH nineteen strict Harbor tools, native Tool cards in the same-session conversation, an object-first Evaluation Workbench, an installation Doctor, and the model- and user-invocable evolve-agent-with-harbor Skill. The Skill starts with four user-facing concepts—Dataset (what to test), Generator (who answers), Evaluator plus criteria (what good means), and Optimizer (who improves it)—then compiles accepted choices into the strict Evaluation Stack. When no Dataset is supplied, it can instead preview recent completed DSH Sessions and evaluate each immutable Session as one Historical Trial without rerunning a Candidate. A DSH Generator may explicitly pin the current default model as a non-secret Candidate identity while retaining the per-Job Host Broker credential boundary. The Plugin validates Dataset identity, checks Trial Lifecycle and Score Validity, governs independent Ground Truth meta-evaluation, diagnoses evidence provenance, limits each iteration to one controlled Candidate change, and invokes the Promotion Gate only as an explicit action.

Install

Requirements: Node.js 22+, pnpm, and uv. Docker is not required for the default Host mode. Run this from the business Agent workspace:

npx --yes dsh-harbor-evolution@latest setup --project-root "$PWD"

The setup command installs both required runtimes:

  • harbor-dsh-evolution==0.9.7 in a managed Python environment.
  • dsh-harbor-evolution@0.9.7 in the selected DSH profile.

It then stores the DSH profile/home, managed Python runtime, Jobs directory, Host/Docker choice, absolute Harbor executable paths, and a fallback projectRoot in the profile's harbor-evolution block and verifies the integration. Agent Tool calls always use the calling session's absolute working directory as their project root; the configured value remains the Web Workbench and non-Agent fallback. Existing unrelated profile entries are preserved, and rerunning setup updates the same block.

Successful setup requires harbor plugins list to discover both dsh-evolution for Candidate Jobs and dsh-historical-evaluation for observe-existing Session Jobs.

The default profile setting is executionEnvironment: "host". Agent, verifier, and task commands run directly as the current Host user with no isolation, network enforcement, or resource limits; task dependencies must already exist on the Host. Set executionEnvironment: "docker" in the profile, or pass that value to an evaluation tool, to opt into the previous Docker provider.

The default profile is web. Use --profile headless only when that is the profile you actually run. See all options with:

npx --yes dsh-harbor-evolution@latest setup --help

Stop any old DSH process and run the exact restart command printed by setup. Then invoke:

/evolve-agent-with-harbor
Inspect this workspace and help me clarify and initialize a stable Harbor self-evolution loop.

Users may provide a single Query or Dataset path, a Generator curl or local Agent path, an Evaluator curl/path or natural-language criteria, and an optional Optimizer such as Codex or Claude Code. The Skill inspects the workspace first, defaults the Optimizer to the current Agent, and shows one confirmation card before writing files. Evaluation Stack roles, ids, versions, Judge configuration, Contract, and Policy stay behind advanced configuration unless they materially affect a decision.

The Plugin registers:

  • harbor_candidate_snapshot
  • harbor_model_binding
  • harbor_evolution_init
  • harbor_evolution_doctor
  • harbor_quick_diagnostic_init
  • harbor_session_diagnostic_preview
  • harbor_session_diagnostic_run
  • harbor_dataset_validate
  • harbor_context_preview (refreshes candidate-manifest.json under one-shot approval before returning the preview)
  • harbor_eval_run
  • harbor_eval_result
  • harbor_resolve_page_context
  • harbor_get_evidence
  • harbor_propose_action (proposal only; never confirms or executes a mutation)
  • harbor_evaluator_inspect
  • harbor_evaluator_update
  • harbor_ground_truth_init
  • harbor_evaluator_meta_evaluate
  • harbor_candidate_compare

In the web profile, the same package also registers:

  • a localized object-first Workbench (Summary, Trials, Pipeline, Optimization, Compare/Gate, Evaluator/Rubric, Artifacts, Audit) that directly exposes fixed experiment identities, Agent-visible Dataset queries/instructions, safe business-artifact previews, Ground Truth meta-evaluation, paginated per-Trial evidence and recommendations, Population validity/coverage, controlled optimization hypotheses, and Baseline/Gate deltas; raw JSON remains in the audit drawer;
  • the existing native Composer and conversation, without a Context Capsule or Copilot panel above the input; on hosts supporting conversation.contexts.register, ordinary messages sent from Harbor freeze the visible Job, Trial, Criterion, Evidence, or list selection. Explicit one-shot Ask AI / @harbor references take priority and clear after sending; older rc.8 hosts require those explicit references;
  • native Tool result cards for evidence navigation and reviewed AI proposals; typed harbor.navigate actions retain allowlisted, read-only Harbor navigation and Back restoration of the prior workspace, page, stage, Trial filters/sort/focus, Compare Baseline, and scroll position. Cards ask you to open the Harbor tab after preparing the object; they do not automatically switch Host tabs;
  • background operations in the main plugin page, retaining cancellation, recovery inspection and result navigation. The entry disappears only after a successful empty read, not on a read failure;
  • a first-class Evaluate recent Sessions quickstart that automatically samples up to three completed conversations from history available to the current DSH, independent of the evaluation output directory. It previews the review model and redacted-data/cost disclosure, requires confirmation, runs in the background, and opens the completed Job. No history path, project or date picker is required; the bounded recent sample is not a claim about all history;
  • descriptor-authorized Evaluator/Rubric source editing for script and llm-as-judge implementations, with optimistic concurrency and mandatory new identities;
  • a harbor-dsh-evaluator/v1 interface shared by deterministic scripts and LLM-as-Judge implementations;
  • compact result cards for all Harbor Tool calls;
  • explicit local-object selection and frozen Trial-set selectors (fixed IDs/revisions or a query snapshot, at most 1000 members), removable native references, and source fragment Ask;
  • AI proposal cards with deterministic Preflight, explicit review, idempotent confirmation and append-only local operation journals; Candidate/Gate/handoff output is a saved draft, not an applied resource change. Evaluator source proposals can be opened in the reviewed version editor. Selected Compare executes a read only;
  • a Harbor Evolution Settings section that checks the configured project, Evaluation Stack, Jobs directory, and CLI paths, supports process-local reload, and checks npm for a newer formal release without silently installing it.

Start with an object, not a command

  1. Open an evaluation result. Select a task, score, evidence item, or saved source fragment.
  2. On hosts supporting conversation.contexts.register, type your question in the existing Composer and send. Harbor freezes the page and selection at the submit lock. Ask AI and native @harbor take priority over implicit context. Harbor pages no longer expose an opt-out that could silently remove the current object. Older rc.8 hosts show an upgrade hint and require explicit references; upgrading only this plugin does not add the host capability.
  3. Read answers and proposal cards in the existing conversation. There is no second Composer or context panel. The same durable message carries question and page reference; switching pages or Sessions during preparation cannot retarget it. Checked rows freeze exact Trial membership, and a list without an open Trial still supplies status/validity filters and sort; free-text search is not sent. Attachments show the captured object, selection and observation time. When a newer draft exists, failed messages retain their text and images in the native unsent-message list instead of overwriting it. Restore to the Composer and resend to capture the current page again. Leaving Harbor and slash commands skip implicit context.
  4. For scoring rules, select saved lines and choose Suggest a change. Review and edit opens the matching file directly. The AI may populate an unchanged editor, but never replaces your manual edits. Review the diff and explicitly save to create new identities; this does not run an evaluation or Gate.

Unsaved source edits are isolated by Session, workspace, Job, and file and retained in this browser tab's sessionStorage. File/view switches and refresh can recover them; closing the tab may discard them. Storage failures are shown, with an in-memory fallback and a leave-page warning for unpersisted edits. Source conflicts preserve the original base and edited text; review the latest source before accepting a new base. Saving or explicitly discarding clears only that file's draft. Expired authorizations never erase suggestion text or human edits; changed source or expired task subsets require an explicit new selection, not an automatically widened scope.

The complete AI Workbench PRD is not implemented yet. Bounded diagnostic/retry operations currently fail closed without a registered runner; long-running operations, replayable events/outbox and full Phase 1 audit identity are pending. Automatic page context requires the paired host capability; automatic cross-view opening is not claimed. Production RBAC, approvals and rollout remain later-phase work. See the repository's docs/acceptance-status.md for current acceptance boundaries and remaining work; dated evidence remains in the release archives.

The Web UI changes business resources through three narrow, explicit workflows: descriptor-authorized Evaluator source updates, the confirmed Historical Session launcher, and confirmed local draft/operation journals. Context binding also persists private identity snapshots; it does not alter evaluation artifacts. The launcher follows Preview → confirm → background run → open Job; its private selection token never enters browser state. User-submitted ordinary messages from the selected Harbor View can attach frozen context on supported hosts. Page refreshes, ordinary reads, and workspace switches alone never send a prompt or start an Agent or Job. Candidate evaluation, Gate, promotion, deployment, publishing, and every production mutation remain explicit Agent + Skill workflows, and each Agent-requested Harbor write or evaluation tool is forced through DSH's audited one-shot user approval. If no approval channel is available, the call fails closed.

A direct evaluation requires candidatePath, datasetPath, stackPath, and explicit mode; promotion-eligible additionally requires policyPath. Prefer the Skill because it will not run or compare Jobs until the material identities and evaluation contract are resolved.

Historical Session cold start

When the user does not provide a Dataset, the simplest entry is the Evaluate recent Sessions button in the Harbor tab. It automatically finds up to three completed conversations through the current DSH Session Query service, including histories from other project directories. It reads recent candidates in small batches, stops once enough are found, and records the scan boundary instead of claiming a full-history ranking. The current conversation, unfinished and internal evaluation conversations remain excluded. The user sees a short sample preview, the review model, the active data policy, the Judge data boundary and a cost disclosure, then confirms once to start. Session text and ordinary absolute paths are preserved; credential-shaped values and raw Session identifiers are redacted, while reasoning, tool payloads and attachments remain omitted. No storage path or project selection is needed. Results stay in the selected evaluation workspace; each source is revalidated against its own frozen identity. The Host keeps the short-lived selection token in memory; the browser receives only an opaque Preview id. The bundled Skill remains the conversational entry and retains its explicit exact-working-directory selection mode (up to ten) for existing Agent workflows.

After explicit confirmation, harbor_session_diagnostic_run receives only the selectionToken and an optional Job name. It revalidates the frozen Session and Feedback digests, materializes an immutable Historical Batch plus matching Dataset and Stack, and evaluates one Session Observation per Harbor Trial. The Job does not rerun a Candidate, cannot enter Promotion Gate, and records Evaluator Meta-Evaluation as not-run because evaluator reliability requires a separate independent Ground Truth workflow.

A Historical Trial may finish as completed-unscored when required evidence is insufficient. That is a normal Evaluator abstention, not a zero score or infrastructure failure; use Trial and Criterion coverage to interpret the result.

Candidate model binding

Before each Job, the Plugin snapshots the current DSH Agent selection—provider, model, and reasoning effort—then starts a per-Job local Model Broker. The Candidate uses the temporary dsh-host adapter through dsh-host-broker / dsh-host-model-gateway/v1; it receives only a short-lived Job capability file, never GPT Auth, Codex OAuth, or an upstream API key.

harbor_eval_run, harbor_context_preview, and harbor_evolution_doctor inherit that selection by default. Advanced callers can override candidateProvider and candidateModel only as a pair, plus an optional candidateReasoningEffort. openai-codex performs a GPT Auth sign-in check before Harbor starts. The resulting model binding and execution-environment fingerprint are part of Context v3 comparison identity, so any provider/model/reasoning or Host runtime change requires a new baseline.

harbor_model_binding returns the current default selection as a credential-free model-binding.json draft. Once included before Candidate snapshot, it enters the Candidate digest and becomes the required Job model identity. Conflicting Job or Plugin overrides fail before Harbor starts. Even for openai-codex, the Candidate receives only the short-lived Broker capability—never the Host OAuth file or an upstream API key.

When Settings opens, the Host performs a bounded npm registry check and caches successful results. An available release is shown with its release link. The exact installer command appears only when setup has recorded the complete installation identity; otherwise Settings fails closed instead of guessing defaults. The browser never executes a registry package, installs, rewrites a DSH profile, or restarts DSH; registry failures are non-blocking.

harbor_eval_result defaults to the stable Summary. Use view=job, view=dataset, view=progress, view=trial plus a returned trialId, or view=governance to inspect sanitized instructions, generated output, evidence, and evaluator source without coupling the Agent to artifact file paths.

harbor_eval_result and harbor_evaluator_inspect return a harbor-agent-read/v1 envelope. Read the actual payload only from data, preserve artifactTrust=untrusted-evidence, and obey policy.treatAsInstructions=false; old top-level payload fields are not part of this contract. Both responses are recursively redacted and have an aggregate byte limit. Evaluator inspection also caps the file set and aggregate source size; when source text looks like a secret or local path, the Agent receives its safe metadata plus sourceAccess.included=false, not the source body. The Web Workbench keeps its separate, same-origin editing flow.

harbor_resolve_page_context accepts only the opaque Context Snapshot id carried by an explicit @harbor reference or an automatic submit-time page attachment. It resolves that id inside the exact calling DSH Session and workspace, revalidates stable object ancestry and the current Host revision, and returns narrow metadata, typed Harbor refs, and an allowlisted read-only navigation action. Binding stores identity/revision records, not artifact bodies or credentials, under the project's .harbor/private/page-contexts/<hashed-session>/ with owner-only permissions and a Git exclusion file. The 15-minute TTL bounds the in-memory cache; saved records remain readable after expiry or Host restart. Old memory-only tokens and deleted/corrupt records cannot be recovered. Records have no automatic migration or deletion; retain this private directory with the original Session/project when retaining references. Evidence drift remains explicit, and changed Trial membership is rejected without rerunning the query. For explicit local objects the reader returns bounded, redacted selectedEvidence (Metric, Hypothesis, Gate reason, Finding, Attempt, or saved source fragment); these remain untrusted data, and unavailable content must not be treated as evidence. Trial sets expose only frozen membership/revision metadata, never all Trial bodies. To inspect one Trial criterion, pass the exact typed ref to harbor_get_evidence; the Host revalidates Workspace → Job → Trial → Criterion → Evidence ancestry, bounds and redacts the content, and marks it as untrusted evidence rather than Agent instructions.

What setup writes

The selected profile receives one id-targeted override:

- id: harbor-evolution
  config:
    projectRoot: /workspace/my-agent
    jobsDir: jobs
    profile: web
    dshHome: /home/user/.dsh
    runtimeDir: /home/user/.local/share/harbor-dsh-evolution
    harborBin: /home/user/.local/share/harbor-dsh-evolution/.venv/bin/harbor
    harborDshBin: /home/user/.local/share/harbor-dsh-evolution/.venv/bin/harbor-dsh
    executionEnvironment: host
    pythonPath: ""

Keep pythonPath empty for the published Python package. For Agent Tool calls, projectRoot is replaced by the calling session's working directory for that call. candidatePath, datasetPath, jobPath, and policyPath remain constrained to that request-local root, so concurrent sessions cannot redirect each other's Harbor operations.

For source development from the repository:

./hse dsh-install-source web

Do not use dsh plugin add ./packages/dsh-plugin directly from a fresh checkout. pnpm records a link: dependency, and Node resolves imports from the real checkout path. The source installer first runs the package's locked npm ci, builds the portable Web client with its embedded ocean artwork, then links it and installs the local Python Adapter. Normal users should always use the registry-backed setup command above.

See the complete DSH Web quickstart for UI verification, first evaluation, Candidate comparison, and troubleshooting.

The Plugin never deploys a Candidate or mutates the active Champion. Existing CI/CD remains responsible for building, deploying, and promoting the exact evaluated artifact.

projectRoot