create-better-t-stack 3.42.2 → 3.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +4 -3
- package/dist/index.d.mts +1090 -295
- package/dist/index.mjs +1 -1
- package/dist/{src-C0_lYEa0.mjs → src-BSgSoI0r.mjs} +653 -758
- package/dist/virtual.d.mts +1 -1
- package/package.json +17 -16
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { D as setProcessMode, i as SchemaNameSchema, l as create, m as getSchemaResult, s as add, u as createBtsCli, v as types_exports, y as getLatestCLIVersion } from "./src-
|
|
2
|
+
import { D as setProcessMode, i as SchemaNameSchema, l as create, m as getSchemaResult, s as add, u as createBtsCli, v as types_exports, y as getLatestCLIVersion } from "./src-BSgSoI0r.mjs";
|
|
3
|
+
import { lineByLineConsoleLogger } from "trpc-cli";
|
|
3
4
|
import z from "zod";
|
|
4
5
|
import { McpServer } from "@modelcontextprotocol/server";
|
|
5
6
|
import { serveStdio } from "@modelcontextprotocol/server/stdio";
|
|
@@ -133,7 +134,7 @@ function createBtsMcpServer() {
|
|
|
133
134
|
name: "create-better-t-stack",
|
|
134
135
|
version: getLatestCLIVersion()
|
|
135
136
|
}, { cacheHints: { "tools/list": {
|
|
136
|
-
ttlMs:
|
|
137
|
+
ttlMs: 36e5,
|
|
137
138
|
cacheScope: "public"
|
|
138
139
|
} } });
|
|
139
140
|
server.registerTool("bts_get_stack_guidance", {
|
|
@@ -290,6 +291,6 @@ This command is intended to be launched by an MCP client, for example:
|
|
|
290
291
|
process.exit(0);
|
|
291
292
|
}
|
|
292
293
|
await startBtsMcpServer();
|
|
293
|
-
} else await createBtsCli().run();
|
|
294
|
+
} else await createBtsCli().run({ logger: lineByLineConsoleLogger });
|
|
294
295
|
//#endregion
|
|
295
296
|
export {};
|