Add embedded skill exporter and mcp config subcommands and bump to v0.7.0
This commit is contained in:
1 parent
ce06d8f600
commit
f1380873e4
13 files changed
+3393
-1505
No files matched your search
+15
-2
@@ -12,12 +12,13 @@ import { handleContextCommand } from "./commands/context.js";
|
||||
import { handleCorpsCommand } from "./commands/corps.js";
|
||||
import { handleDelegationCommand } from "./commands/delegation.js";
|
||||
import { handleLlmCommand } from "./commands/llm.js";
|
||||
import { handleMcpCommand } from "./commands/mcp.js";
|
||||
import { handleMcpCommand, printMcpConfig } from "./commands/mcp.js";
|
||||
import { handlePermissionsCommand } from "./commands/permissions.js";
|
||||
import { handleProbeCommand } from "./commands/probe.js";
|
||||
import { handleRulesCommand } from "./commands/rules.js";
|
||||
import { handleServiceCommand } from "./commands/service.js";
|
||||
import { handleSimulationCommand } from "./commands/simulation.js";
|
||||
import { handleSkillCommand } from "./commands/skill.js";
|
||||
import { handleSourceCommand } from "./commands/source.js";
|
||||
import { handleToolCommand } from "./commands/tool.js";
|
||||
import { handleToolsListCommand } from "./commands/tools.js";
|
||||
@@ -58,6 +59,8 @@ const KNOWN_AREAS = new Set([
|
||||
"simulation",
|
||||
"mcp",
|
||||
"server",
|
||||
"mcp-config",
|
||||
"skill",
|
||||
"probe"
|
||||
]);
|
||||
|
||||
@@ -141,8 +144,18 @@ async function dispatch(argv: string[], runtime: CliRuntime) {
|
||||
throw new Error(`Unknown command: ${args.command.join(" ")}. Run 'seal-home help' for available commands.`);
|
||||
}
|
||||
|
||||
if (area === "mcp-config") {
|
||||
printMcpConfig();
|
||||
return;
|
||||
}
|
||||
|
||||
if (area === "skill") {
|
||||
handleSkillCommand(action, maybeName, args);
|
||||
return;
|
||||
}
|
||||
|
||||
if (area === "mcp" || area === "server") {
|
||||
await handleMcpCommand();
|
||||
await handleMcpCommand(action, args);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user