Fix Desktop Netx Ops preset using host standard and workflow-ptc.

Prefer Desktop's standard.patch.yml / align CLI worker-thread rows to
workflow-ptc, and refuse compositions the host cannot resolve.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-10-10 04:53:11 +08:00
parent 7a289cf409
commit 6bf5268dfb
8 changed files with 688 additions and 60 deletions

View file

@ -314,8 +314,8 @@
backgroundMode: one-shot
maxDepth: provider-managed
- id: workflow-worker-thread
name: '@deepseek-ai/dsh-workflow-worker-thread'
- id: workflow-ptc
name: '@deepseek-ai/dsh-workflow-ptc'
config:
provider: spawn

View file

@ -1,14 +1,14 @@
# Netx Ops delta only — NOT a full agent composition.
#
# At Host apply, `ensureAgentPresetInstalled` copies the Harness shipped
# `standard` preset into `$DSH_HOME/.agent-presets/netxops`, then:
# At Host apply, `ensureAgentPresetInstalled` composes the host's shipped
# `standard` (Desktop 0.2: dsh-web-app `standard.patch.yml`; web/CLI:
# dsh-agent-presets directory) into `$DSH_HOME/.agent-presets/netxops`, then:
# 1. replaces `persona` with presets/netxops/PERSONA.md
# 2. ensures the `netxops-tools` row below is present
# 3. copies presets/netxops/skills/
#
# DSH has no preset inheritance; composing from `standard` at install time is
# how Netx Ops stays aligned with the running Harness without embedding (or
# declaring via `@deepseek-ai/dsh-agent-preset`) a full standard tree.
# 3. aligns workflow engine package to what the host can resolve
# 4. copies presets/netxops/skills/
# Desktop also syncs a declarative `@deepseek-ai/dsh-agent-preset` row into
# the profile patch. DSH has no preset inheritance.
- id: netxops-tools
name: dsh-netxops/tools