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
+23
-1
@@ -1,5 +1,27 @@
|
||||
import { startServer } from "../../server.js";
|
||||
import { printJson } from "../printer.js";
|
||||
import type { ParsedArgs } from "../types.js";
|
||||
|
||||
export async function handleMcpCommand(action: string | undefined, args: ParsedArgs) {
|
||||
if (action === "config" || action === "json") {
|
||||
printMcpConfig();
|
||||
return;
|
||||
}
|
||||
|
||||
export async function handleMcpCommand() {
|
||||
await startServer();
|
||||
}
|
||||
|
||||
export function printMcpConfig() {
|
||||
printJson({
|
||||
mcpServers: {
|
||||
"seal-home": {
|
||||
type: "stdio",
|
||||
command: "seal-home",
|
||||
args: ["mcp"],
|
||||
env: {
|
||||
SEAL_HOME_MCP_ENABLED: "true"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user