import { S } from "toolcraft-schema";
import { defineCommand, defineGroup } from "./index.js";
import { createMCPServer, runMCP } from "./mcp.js";
const ignoredRoot = defineGroup({
    name: "root",
    children: [
        defineCommand({
            name: "usage",
            scope: ["mcp"],
            params: S.Object({
                dryRun: S.Boolean(),
            }),
            handler: async ({ params }) => params,
        }),
    ],
});
const ignoredOptions = {
    approvals: false,
    name: "toolcraft-test",
    version: "1.0.0",
    fetch: globalThis.fetch,
    tools: ["usage"],
    casing: "snake",
    humanInLoop: {},
};
const ignoredServer = createMCPServer(ignoredRoot, ignoredOptions);
const ignoredServerArray = createMCPServer([ignoredRoot], ignoredOptions);
const ignoredRun = runMCP(ignoredRoot, ignoredOptions);
const ignoredRunArray = runMCP([ignoredRoot], ignoredOptions);
