UNPKG

agentic-qe

Version:

Agentic Quality Engineering Fleet System - AI-driven quality management platform

54 lines 2.39 kB
"use strict"; /** * Agent Commands Index * * Exports all agent management commands for CLI integration. * Complete suite of 10+ agent lifecycle and monitoring commands. * * @module cli/commands/agent */ Object.defineProperty(exports, "__esModule", { value: true }); exports.getCommandsByCategory = exports.getAvailableCommands = exports.AGENT_COMMANDS = exports.AgentDetachCommand = exports.AgentAttachCommand = exports.AgentAssignCommand = exports.AgentInspectCommand = exports.AgentRestartCommand = void 0; // Core lifecycle commands // export { AgentSpawnCommand } from './spawn'; // export { AgentKillCommand } from './kill'; var restart_1 = require("./restart"); Object.defineProperty(exports, "AgentRestartCommand", { enumerable: true, get: function () { return restart_1.AgentRestartCommand; } }); // Information and monitoring commands // export { AgentListCommand } from './list'; // export { AgentMetricsCommand } from './metrics'; // export { AgentLogsCommand } from './logs'; var inspect_1 = require("./inspect"); Object.defineProperty(exports, "AgentInspectCommand", { enumerable: true, get: function () { return inspect_1.AgentInspectCommand; } }); // Task management commands var assign_1 = require("./assign"); Object.defineProperty(exports, "AgentAssignCommand", { enumerable: true, get: function () { return assign_1.AgentAssignCommand; } }); // Interactive monitoring commands var attach_1 = require("./attach"); Object.defineProperty(exports, "AgentAttachCommand", { enumerable: true, get: function () { return attach_1.AgentAttachCommand; } }); var detach_1 = require("./detach"); Object.defineProperty(exports, "AgentDetachCommand", { enumerable: true, get: function () { return detach_1.AgentDetachCommand; } }); /** * Command Categories */ exports.AGENT_COMMANDS = { lifecycle: ['spawn', 'kill', 'restart'], monitoring: ['list', 'metrics', 'logs', 'inspect'], tasks: ['assign'], interactive: ['attach', 'detach'] }; /** * Get all available agent commands */ function getAvailableCommands() { return Object.values(exports.AGENT_COMMANDS).flatMap(arr => [...arr]); } exports.getAvailableCommands = getAvailableCommands; /** * Get commands by category */ function getCommandsByCategory(category) { return [...exports.AGENT_COMMANDS[category]]; } exports.getCommandsByCategory = getCommandsByCategory; //# sourceMappingURL=index.js.map