mirror of
https://github.com/hansjone/netxops.git
synced 2026-10-09 04:00:46 +08:00
Path installs junction the checkout outside ~/.dsh/profiles/*/node_modules, so Node cannot see DSH peers; add link-dsh-peers scripts and document the one-time setup. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .. | ||
| patch.cordis.yml | ||
| README.md | ||
Local debug against DeepSeekHarness
A. Link preset + install host bridge
cd D:\project\chatgpt\netxops
powershell -File .\scripts\link-dsh-peers.ps1
powershell -File .\scripts\link-preset.ps1
powershell -File .\scripts\set-netx-token.ps1 -Token (Get-Content D:\project\chatgpt\netx\data\auth\mcp_token -Raw).Trim()
link-dsh-peers.ps1 is required for path/link: installs: Node resolves peers from the checkout realpath, not from the profile node_modules. Run it after the first successful dsh boot (so ~/.dsh/profiles/node_modules exists).
From DeepSeekHarness (source):
cd D:\project\DeepSeekHarness
pnpm dsh plugin --profile web add D:\project\chatgpt\netxops
# or one-shot overlay:
pnpm dsh web --patch D:\project\chatgpt\netxops\examples\local-debug\patch.cordis.yml
B. What the debug patch does
- Ensures agent-presets can see
D:/project/chatgpt/netxops/presets - Inserts host plugin
dsh-netxopsvia absolute path tosrc/index.ts(no npm link required)
Adjust paths if your checkout differs.
C. Verify
- Settings → Plugins → Netx Ops card shows URL / token fields (after
bun run bundleif you editedsrc/client/) - New session → preset Netx Ops
- Tools include
mcp__netx__aggregateUmeAlarms - Ask Critical Top / single host alarms