Merge nms+common into ops so login questions load execManagedNe.

One capability group now ships netx-ops (alarms + managed CLI + paths); keep tools-nms/common as aliases.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-06 02:11:02 +08:00
parent 6e591be2b5
commit 63f88bdf6c
33 changed files with 2133 additions and 446 deletions

View file

@ -11,8 +11,7 @@ export type NetxopsLocaleKey =
| 'capabilityGroupsHint'
| 'nmsProvider'
| 'nmsProviderHint'
| 'groupNms'
| 'groupCommon'
| 'groupOps'
| 'groupTopology'
| 'groupInPreset'
| 'groupPublic'
@ -58,17 +57,16 @@ export type NetxopsLocaleKey =
export const en: Record<NetxopsLocaleKey, string> = {
title: 'Netx Ops',
description: 'netx API, bearer token, and capability groups (nms / common / topology).',
description: 'netx API, bearer token, and capability groups (ops / topology).',
apiUrl: 'API URL',
apiUrlHint: 'netx REST root, e.g. http://127.0.0.1:8890 (also used for alarm subscribe)',
lang: 'Language',
langHint: 'Response language hint (zh / en).',
capabilityGroups: 'Capability groups',
capabilityGroupsHint: 'One group ↔ one skill (netx-nms / netx-common / netx-topology). Defaults: nms + common in preset; topology and all public off. Save, then open a new session. Other agents can mount dsh-netxops/tools-nms|common|topology.',
capabilityGroupsHint: 'One group ↔ one skill. ops = netx-ops (alarms + CLI login + paths); topology = netx-topology. Defaults: ops on; topology and public off. New sessions after save. Other agents: dsh-netxops/tools-ops|topology.',
nmsProvider: 'nms provider',
nmsProviderHint: 'Vendor adapter id. Supported today: zte-ume (REST still /v1/ume/*; model tools are netx__*Nms*).',
groupNms: 'nms — skill netx-nms (alarms / inventory / SQL)',
groupCommon: 'common — skill netx-common (managed CLI + findTopologyPaths)',
groupOps: 'ops — skill netx-ops (NMS alarms/inventory + managed CLI login + paths)',
groupTopology: 'topology — skill netx-topology (canvas / fabric / dual_unit)',
groupInPreset: 'In Netx Ops preset',
groupPublic: 'Publish to other presets',
@ -115,17 +113,16 @@ export const en: Record<NetxopsLocaleKey, string> = {
export const zh: Record<NetxopsLocaleKey, string> = {
title: 'Netx Ops',
description: 'netx API、Bearer Token,以及能力组(nms / common / topology)。',
description: 'netx API、Bearer Token,以及能力组(ops / topology)。',
apiUrl: 'API 地址',
apiUrlHint: 'netx REST 根地址,例如 http://127.0.0.1:8890(告警订阅复用同一地址)',
lang: '语言',
langHint: '响应语言提示(zh / en)。',
capabilityGroups: '能力组',
capabilityGroupsHint: '一组一个 skill(netx-nms / netx-common / netx-topology)。默认:nms + common 进入预设;topology 与全部公开关闭。保存后请新开会话。其他 Agent 可挂 dsh-netxops/tools-nms|common|topology。',
capabilityGroupsHint: '一组一个 skill。ops = netx-ops(告警 + 纳管登录 + 路径);topology = netx-topology。默认 ops 开;topology / 公开关。保存后新会话生效。其他 Agent:dsh-netxops/tools-ops|topology。',
nmsProvider: 'nms provider',
nmsProviderHint: '厂商适配器 id。当前支持:zte-ume(REST 仍为 /v1/ume/*;模型工具名为 netx__*Nms*)。',
groupNms: 'nms — skill netx-nms(告警 / 库存 / SQL)',
groupCommon: 'common — skill netx-common(纳管 CLI + findTopologyPaths)',
groupOps: 'ops — skill netx-ops(NMS 告警/库存 + 纳管 CLI 登录 + 路径)',
groupTopology: 'topology — skill netx-topology(画布 / Fabric / dual_unit)',
groupInPreset: '在 Netx Ops 预设中启用',
groupPublic: '对其他预设公开',