diff --git a/apps/webapp/app/routes/api.webhooks.stripe.tsx b/apps/webapp/app/routes/api.webhooks.stripe.tsx index 0cef3ac..d6c0391 100644 --- a/apps/webapp/app/routes/api.webhooks.stripe.tsx +++ b/apps/webapp/app/routes/api.webhooks.stripe.tsx @@ -8,8 +8,7 @@ * - Usage metering for overage billing */ -import type { ActionFunctionArgs } from "@remix-run/node"; -import { json } from "@remix-run/node"; +import { type ActionFunctionArgs , json } from "@remix-run/node"; import Stripe from "stripe"; import { prisma } from "~/db.server"; import { BILLING_CONFIG, getPlanConfig } from "~/config/billing.server"; diff --git a/apps/webapp/app/services/graphModels/episode.ts b/apps/webapp/app/services/graphModels/episode.ts index d569645..654c662 100644 --- a/apps/webapp/app/services/graphModels/episode.ts +++ b/apps/webapp/app/services/graphModels/episode.ts @@ -1,5 +1,5 @@ import { runQuery } from "~/lib/neo4j.server"; -import { StatementNode, type EntityNode, type EpisodicNode } from "@core/types"; +import { type StatementNode, type EntityNode, type EpisodicNode } from "@core/types"; export async function saveEpisode(episode: EpisodicNode): Promise { const query = ` diff --git a/apps/webapp/app/services/mcp.server.ts b/apps/webapp/app/services/mcp.server.ts index fc1b627..563ce65 100644 --- a/apps/webapp/app/services/mcp.server.ts +++ b/apps/webapp/app/services/mcp.server.ts @@ -61,7 +61,7 @@ async function createMcpServer( const { name, arguments: args } = request.params; // Handle memory tools - if (name.startsWith("memory_") || name.startsWith("get_")) { + if (name.startsWith("memory_")) { return await callMemoryTool(name, args, userId, source); } diff --git a/apps/webapp/app/utils/mcp/memory.ts b/apps/webapp/app/utils/mcp/memory.ts index 4cdf383..e85c769 100644 --- a/apps/webapp/app/utils/mcp/memory.ts +++ b/apps/webapp/app/utils/mcp/memory.ts @@ -80,7 +80,7 @@ export const memoryTools = [ }, }, { - name: "get_user_profile", + name: "memory_about_user", description: "Get the user's core profile and preferences for personalized interactions. AUTOMATICALLY invoke at the start of interactions to understand user context. **Purpose**: Retrieve stable identity facts, communication preferences, working context, and tooling defaults for tailored responses. **Required**: No required parameters. **Returns**: User profile data in JSON format.", inputSchema: { @@ -110,7 +110,7 @@ export async function callMemoryTool( return await handleMemorySearch({ ...args, userId, source }); case "memory_get_spaces": return await handleMemoryGetSpaces(userId); - case "get_user_profile": + case "memory_about_user": return await handleUserProfile(userId); default: throw new Error(`Unknown memory tool: ${toolName}`);