mirror of
https://github.com/hansjone/netxops.git
synced 2026-10-09 05:10:45 +08:00
Ship the browser half so Settings → Plugins can configure apiUrl/lang/python and NETX_API_TOKEN without OS env vars. Co-authored-by: Cursor <cursoragent@cursor.com>
1.1 KiB
1.1 KiB
Local debug against DeepSeekHarness
A. Link preset + install host bridge
cd D:\project\chatgpt\netxops
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()
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