Initial Netx Ops DSH agent preset (UME + managed CLI).

Portable persona and playbooks for DeepSeek Harness; tools via netx MCP.
This commit is contained in:
hansjone 2026-09-04 21:22:25 +08:00
commit 6677e36424
18 changed files with 746 additions and 0 deletions

View file

@ -0,0 +1,31 @@
# Local debug against DeepSeekHarness
## Link the preset
From this repo root:
```powershell
powershell -File .\scripts\link-preset.ps1
```
This junctions `presets\netxops` → `%USERPROFILE%\.dsh\.agent-presets\netxops` so DSH’s default `includeUserRoot` discovers it.
## Optional patch (extra preset root)
If you prefer not to touch `~/.dsh/.agent-presets`, start DSH with:
```powershell
cd D:\project\DeepSeekHarness
pnpm dsh web --patch D:\project\chatgpt\netxops\examples\local-debug\patch.cordis.yml
```
`patch.cordis.yml` replaces the `agent-presets` row to keep shipped + user roots and add this repo’s `presets/` directory. Adjust the path if your checkout differs.
## Env
```powershell
$env:NETX_API_URL = "http://127.0.0.1:8890"
# $env:NETX_API_TOKEN = "nxt_..."
```
Ensure `python -m netx_mcp` works in the same environment PATH that DSH will spawn.

View file

@ -0,0 +1,18 @@
# Local DeepSeekHarness overlay: discover netxops preset from this checkout.
#
# Usage (from DeepSeekHarness root):
# pnpm dsh web --patch D:/project/chatgpt/netxops/examples/local-debug/patch.cordis.yml
#
# Prefer scripts/link-preset.ps1 when possible — it uses the default user preset root
# and does not replace host agent-presets config.
- replace:
- id: agent-presets
name: '@deepseek-ai/dsh-agent-presets'
config:
default: standard
includeShippedRoot: true
includeUserRoot: true
roots:
- path: D:/project/chatgpt/netxops/presets
trust: user