Scope netx__* tools to the Netx Ops preset only.

Register tools from the preset standing mount so standard and other agents no longer see them without Ops skills.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-05 00:11:15 +08:00
parent ed219842d3
commit 0f30d92302
11 changed files with 180 additions and 697 deletions

View file

@ -1,6 +1,6 @@
# Netx Ops agent preset — UME alarms / NE inventory / managed CLI.
# Host keeps registries, sandbox, model route; this file owns persona + skills.
# netx__* tools are registered on the HOST by package `dsh-netxops`.
# Host keeps registries, sandbox, model route, settings; this file owns
# persona, skills, and Ops-scoped `netx__*` tools.
# ── identity ────────────────────────────────────────────────────────────────
@ -64,6 +64,9 @@
- id: tool-skill
name: '@deepseek-ai/dsh-tool-skill'
# netx__* tools are mounted on the HOST by package `dsh-netxops` (cordis.patch.yml).
# The same package copies this preset into `$DSH_HOME/.agent-presets/netxops`
# Ops-only tools: register into this preset's tool scope (not the host global layer).
- id: netxops-tools
name: dsh-netxops/tools
# Host package `dsh-netxops` copies this preset into `$DSH_HOME/.agent-presets/netxops`
# on activate — no manual link-preset script for normal installs.