/** * The single declarative definition of every agent nori-skillsets supports. * * Each agent is one AgentDefinition row: paths, formats, capabilities, and * support tier. buildAgentConfig turns a row into the AgentConfig consumed by * the registry and shared operations. Adding an agent means adding a row — * agent-specific code is only ever referenced from the row itself (e.g. the * claude-code hooks/statusline/announcements loaders). */ import { createMcpLoader } from "./shared/mcpLoader.js"; import type { AgentName } from "./agentNames.js"; import type { AgentConfig, AgentLoader, AgentSupportTier } from "./agentRegistry.js"; import type { SubagentTargetFormat } from "./shared/subagentEmitter.js"; /** * Where the managed instructions file lives: * - "agent-dir": inside the agent config dir (default) * - "rules-subdir": inside a rules/ subdir of the agent config dir * - "install-root-for-project": at the install root for project installs, * inside the agent config dir for global (home) installs */ type InstructionsPlacement = "agent-dir" | "rules-subdir" | "install-root-for-project"; type McpBinding = Parameters[0]; export type AgentDefinition = { name: AgentName; displayName: string; supportTier: AgentSupportTier; /** Agent config dir as path segments under the install dir */ agentDirSegments: ReadonlyArray; /** Overrides agentDirSegments when the install dir is the home dir */ globalAgentDirSegments?: ReadonlyArray | null; subagentsDirName: string; slashcommandsDirName: string; instructionsFileName: string; instructionsPlacement?: InstructionsPlacement | null; subagentTargetFormat?: SubagentTargetFormat | null; mcp?: McpBinding | null; /** Agent-specific loaders appended after the shared set */ extraLoaders?: ReadonlyArray | null; externalSettingsFiles?: (() => ReadonlyArray) | null; /** Pre-per-agent-manifest location this agent's installs may have used */ legacyManifestPath?: (() => string) | null; transcriptDirectory?: (() => string) | null; artifactPatterns?: { dirs: ReadonlyArray; files: ReadonlyArray; } | null; }; export declare const DEFAULT_AGENT_NAME: AgentName; export declare const AGENT_DEFINITIONS: ReadonlyArray; export declare const buildAgentConfig: (args: { definition: AgentDefinition; }) => AgentConfig; export {}; //# sourceMappingURL=agentTable.d.ts.map