mirror of
https://github.com/hansjone/netxops.git
synced 2026-10-09 01:20:45 +08:00
Inject systemPrompt sections from Netx Ops settings so every preset can switch CoT and final-reply language without changing API/alarm lang. Co-authored-by: Cursor <cursoragent@cursor.com>
38 lines
1.4 KiB
YAML
38 lines
1.4 KiB
YAML
# Host-plane Netx Ops bridge: settings + credentials → connection publish.
|
|
# Ops-scoped `netx__*` tools mount from the agent preset (`dsh-netxops/tools`).
|
|
# Capability groups: ops in preset; topology / public off.
|
|
# Rule: one group ↔ one skill (netx-ops / netx-topology).
|
|
#
|
|
# IM + cron are separate profile bundles (pnpm blockExoticSubdeps forbids
|
|
# github: packages as transitive deps of this package). Install them in the
|
|
# same `dsh plugin add` line — see docs/INSTALL.md.
|
|
#
|
|
# After install, open Settings → Plugins to edit apiUrl / lang / thinking+reply
|
|
# language / groups (settings card client half; see docs/INSTALL.md).
|
|
# Token: credential NETX_API_TOKEN. Model language is Host-global (all presets).
|
|
|
|
- insert:
|
|
- id: netxops
|
|
name: dsh-netxops
|
|
config:
|
|
apiUrl: http://127.0.0.1:8890
|
|
lang: zh
|
|
thinkingLanguage: auto
|
|
replyLanguage: follow-user
|
|
nmsProvider: zte-ume
|
|
tokenCredentialRef: NETX_API_TOKEN
|
|
toolCallTimeoutMs: 120000
|
|
installAgentPreset: true
|
|
alarmPushEnabled: false
|
|
alarmDeliverDsh: true
|
|
alarmDeliverIm: false
|
|
imBotId: ''
|
|
imTargetId: ''
|
|
imTargets: ''
|
|
groupOpsInPreset: true
|
|
groupOpsPublic: false
|
|
groupTopologyInPreset: false
|
|
groupTopologyPublic: false
|
|
kbRoot: ''
|
|
groupKbInPreset: true
|
|
groupKbPublic: false
|