mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-29 06:36:43 +00:00
fix(mcp): correct indentation in tool output formatting
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
944471824a
commit
74b259806f
3 changed files with 5 additions and 5 deletions
|
|
@ -43,7 +43,7 @@ export function register(deps: ToolDeps) {
|
|||
const client = deps.getClient(namespace)
|
||||
|
||||
const result = await client.createMemory(args.content)
|
||||
const message = `Document accepted (ID: ${result.id}, space: ${result.namespace}). Memory extraction is asynchronous and may still be queued or pending. Check dreamingStatus with get_document or list_documents; completion does not guarantee extracted or searchable memories.`
|
||||
const message = `Document accepted (ID: ${result.id}, space: ${result.namespace}). Memory extraction is asynchronous and may still be queued or pending. Check dreamingStatus with get_document or list_documents; completion does not guarantee extracted or searchable memories.`
|
||||
const structuredContent: AddMemoryOutput = withLegacyNamespace({
|
||||
action: "save",
|
||||
success: true,
|
||||
|
|
|
|||
|
|
@ -48,8 +48,8 @@ export function register(deps: ToolDeps) {
|
|||
id: document.id,
|
||||
title: document.title,
|
||||
type: document.type,
|
||||
status: document.system.status,
|
||||
dreamingStatus: document.system.dreamingStatus,
|
||||
status: document.system.status,
|
||||
dreamingStatus: document.system.dreamingStatus,
|
||||
createdAt: document.system.createdAt,
|
||||
updatedAt: document.system.updatedAt,
|
||||
summary: document.summary,
|
||||
|
|
|
|||
|
|
@ -53,8 +53,8 @@ export function register(deps: ToolDeps) {
|
|||
id: document.id,
|
||||
title: document.title,
|
||||
type: document.type,
|
||||
status: document.status,
|
||||
dreamingStatus: document.dreamingStatus,
|
||||
status: document.status,
|
||||
dreamingStatus: document.dreamingStatus,
|
||||
createdAt: document.createdAt,
|
||||
updatedAt: document.updatedAt,
|
||||
summary: document.summary,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue