@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 CHANGED
@@ -3730,15 +3730,15 @@ async function startStdioServer(options) {
3730
3730
  }
3731
3731
  initialized = true;
3732
3732
  }
3733
- const VIBE_CODING_GUIDE_TOOL = {
3734
- name: "vibe_coding_guide",
3735
- description: "IMPORTANT: Call this tool FIRST before building any new application. Returns the required Cortex workflow for creating branded, production-ready apps deployed to Vercel with GitHub, Supabase, and Sonance Brand integration. This ensures every app follows the correct pipeline: branded proof-of-concept \u2192 user approval \u2192 infrastructure setup \u2192 code with brand components \u2192 deploy \u2192 verify.",
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
- project_type: {
3739
+ description: {
3740
3740
  type: "string",
3741
- description: "Optional: 'new' for greenfield apps, 'existing' for changes to existing projects. Defaults to 'new'."
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: [VIBE_CODING_GUIDE_TOOL, ...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 === "vibe_coding_guide") {
3820
+ if (name === "build_app") {
3821
3821
  return {
3822
3822
  content: [{ type: "text", text: VIBE_CODING_GUIDE_RESPONSE }],
3823
3823
  isError: false