Move netx URL/token into DSH host settings and credentials.

Mount MCP from dsh-netxops instead of OS env in the agent preset.
This commit is contained in:
hansjone 2026-09-04 22:01:04 +08:00
parent 6677e36424
commit 45922ffd29
11 changed files with 374 additions and 117 deletions

View file

@ -1,10 +1,9 @@
# Local DeepSeekHarness overlay: discover netxops preset from this checkout.
# Local DeepSeekHarness overlay: discover netxops preset + mount host bridge.
#
# 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.
# Prefer also: scripts/link-preset.ps1 and scripts/set-netx-token.ps1
- replace:
- id: agent-presets
@ -16,3 +15,14 @@
roots:
- path: D:/project/chatgpt/netxops/presets
trust: user
- insert:
- id: netxops
name: D:/project/chatgpt/netxops/src/index.ts
config:
apiUrl: http://127.0.0.1:8890
lang: zh
pythonCommand: python
tokenCredentialRef: NETX_API_TOKEN
toolCallTimeoutMs: 120000
failOnStartupError: false