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,9 +1,15 @@
# dsh-netxops host bundle (v1)
# Host-plane Netx Ops bridge: settings + credentials → mcp__netx__* tools.
#
# Agent composition lives in presets/netxops/ (install into ~/.dsh/.agent-presets).
# This host-plane patch is intentionally empty: MCP and persona are scoped to the
# netxops agent preset so other agents are not flooded with mcp__netx__* tools.
#
# Install: see README.md / docs/INSTALL.md
# Optional: dsh plugin add github:hansjone/netxops (registers this bundle; still link the preset)
[]
# After `dsh plugin add` / link, open Settings → Plugins to edit apiUrl / lang
# (settings card client half; see docs/INSTALL.md). Token: credential NETX_API_TOKEN.
- insert:
- id: netxops
name: dsh-netxops
config:
apiUrl: http://127.0.0.1:8890
lang: zh
pythonCommand: python
tokenCredentialRef: NETX_API_TOKEN
toolCallTimeoutMs: 120000
failOnStartupError: false