netxops/examples/local-debug/README.md
hansjone 6677e36424 Initial Netx Ops DSH agent preset (UME + managed CLI).
Portable persona and playbooks for DeepSeek Harness; tools via netx MCP.
2026-09-04 21:22:25 +08:00

31 lines
876 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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.