Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/mcp-workforce/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
type IntegrationToolName
} from './tools/integrations.js';

const MEMORY_SCOPE_ENUM = z.enum(['session', 'user', 'workspace', 'org', 'object']);
const MEMORY_SCOPE_ENUM = z.enum(['workspace', 'user', 'global']);

/**
* Build an `McpServer` with workforce-flavored tools registered. Exposed
Expand Down Expand Up @@ -62,7 +62,7 @@ export function createWorkforceMcpServer(config: WorkforceMcpConfig): McpServer
{
title: 'Save a memory entry',
description:
'Persist a memory entry for the active workspace. Scopes follow @agent-assistant/memory semantics: session, user, workspace, org, object. Tags are deduped; workspace/scope tags are added automatically.',
'Persist a memory entry for the active workspace. Scope is one of workspace (default) / user / global, matching @agentworkforce/persona-kit\'s PersonaMemoryScope. Tags are deduped; workspace/scope tags are added automatically.',
inputSchema: {
content: z.string().min(1),
tags: z.array(z.string()).optional(),
Expand Down
6 changes: 2 additions & 4 deletions packages/mcp-workforce/src/tools/memory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ export interface MemoryToolDeps {
}

const VALID_SCOPES: ReadonlySet<PersonaMemoryScope> = new Set([
'session',
'user',
'workspace',
'org',
'object'
'user',
'global'
]);

/**
Expand Down
Loading