netxops/src/agent-tools.ts
oliver 3c9a383071 Ship capability groups (nms/common/topology) with shared netx skills.
One group maps to one skill and tools-*; rename NMS tools to *Nms*; sync playbooks from netx/skills.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 01:46:07 +08:00

19 lines
562 B
TypeScript

/**
* Agent-plane aggregate mount: all capability groups gated by Settings inPreset.
*
* @module dsh-netxops/tools
*/
import type { Context } from '@deepseek-ai/cordis'
import { applyGroupToolsPlugin } from './netx/group-tools-plugin.ts'
/** Cordis plugin name. */
export const name = 'netxops-tools'
/** Tool registry must exist in this (preset-scoped) context. */
export const inject = ['tools']
/** Mount enabled groups for the Netx Ops preset. */
export function apply(ctx: Context): void {
applyGroupToolsPlugin(ctx, { name, mode: 'settings' })
}