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

@ -6,7 +6,7 @@ One install wires **all of**:
| Piece | How you use it |
|-------|----------------|
| Host tools | native `netx__*` tools → netx REST (Bearer token) |
| Host tools | Ops-preset-scoped `netx__*` → netx REST (Bearer token); other presets do not see them |
| Plugins card | Settings → Plugins → **Netx Ops** (URL / lang / token) |
| Agent preset + skills | Settings → Agent presets → **Custom → Netx Ops** (copied into `~/.dsh/.agent-presets` on first boot) |

View file

@ -1,6 +1,6 @@
# Netx Ops tool map
Tools are registered by the host plugin (`dsh-netxops`) via `@deepseek-ai/dsh-tools`.
Tools are registered by the Ops agent preset (`dsh-netxops/tools`) into that preset's tool scope — not the host global layer — so other agent presets do not see them.
Model-facing name: `netx__<tool>`.