mirror of
https://github.com/hansjone/netxops.git
synced 2026-10-09 06:50:46 +08:00
Drop the local python -m netx_mcp / mcp-client path so terminal users only need API URL + token. 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
netx__aggregateUmeAlarms - Ask Critical Top / single host alarms