mirror of
https://github.com/hansjone/netxops.git
synced 2026-10-09 02:40:45 +08:00
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:
commit
6677e36424
18 changed files with 746 additions and 0 deletions
31
examples/local-debug/README.md
Normal file
31
examples/local-debug/README.md
Normal 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.
|
||||
18
examples/local-debug/patch.cordis.yml
Normal file
18
examples/local-debug/patch.cordis.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue