@danainnovations/cortex-mcp 1.0.105 → 1.0.106
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.js +7 -7
- package/dist/cli.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3730,15 +3730,15 @@ async function startStdioServer(options) {
|
|
|
3730
3730
|
}
|
|
3731
3731
|
initialized = true;
|
|
3732
3732
|
}
|
|
3733
|
-
const
|
|
3734
|
-
name: "
|
|
3735
|
-
description: "
|
|
3733
|
+
const BUILD_APP_TOOL = {
|
|
3734
|
+
name: "build_app",
|
|
3735
|
+
description: "Build and deploy a branded Next.js application. Call this tool when a user asks to build, create, or make an app, dashboard, tool, or website. Returns the step-by-step workflow for creating a production-ready app with Sonance Brand design, GitHub repo, Vercel deployment, Supabase database, and user authentication \u2014 all fully automated. The user never needs to configure anything.",
|
|
3736
3736
|
inputSchema: {
|
|
3737
3737
|
type: "object",
|
|
3738
3738
|
properties: {
|
|
3739
|
-
|
|
3739
|
+
description: {
|
|
3740
3740
|
type: "string",
|
|
3741
|
-
description: "
|
|
3741
|
+
description: "What the user wants to build (e.g., 'expense dashboard showing Concur data by month')"
|
|
3742
3742
|
}
|
|
3743
3743
|
}
|
|
3744
3744
|
}
|
|
@@ -3811,13 +3811,13 @@ async function startStdioServer(options) {
|
|
|
3811
3811
|
}
|
|
3812
3812
|
const result = response.result;
|
|
3813
3813
|
const tools = (result.tools || []).map(overrideUploadToolSchema);
|
|
3814
|
-
return { tools: [
|
|
3814
|
+
return { tools: [BUILD_APP_TOOL, ...tools] };
|
|
3815
3815
|
});
|
|
3816
3816
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
3817
3817
|
await ensureInitialized();
|
|
3818
3818
|
const { name, arguments: args } = request.params;
|
|
3819
3819
|
const typedArgs = args ?? {};
|
|
3820
|
-
if (name === "
|
|
3820
|
+
if (name === "build_app") {
|
|
3821
3821
|
return {
|
|
3822
3822
|
content: [{ type: "text", text: VIBE_CODING_GUIDE_RESPONSE }],
|
|
3823
3823
|
isError: false
|