feat: surface memfs_enabled in headless init message (#955)

This commit is contained in:
Cameron
2026-02-13 23:03:09 -08:00
committed by GitHub
parent e337330dbe
commit 70f34a3bab
2 changed files with 3 additions and 0 deletions

View File

@@ -910,6 +910,7 @@ export async function handleHeadlessCommand(
mcp_servers: [],
permission_mode: "",
slash_commands: [],
memfs_enabled: settingsManager.isMemfsEnabled(agent.id),
uuid: `init-${agent.id}`,
};
console.log(JSON.stringify(initEvent));
@@ -1973,6 +1974,7 @@ async function runBidirectionalMode(
model: agent.llm_config?.model,
tools: availableTools,
cwd: process.cwd(),
memfs_enabled: settingsManager.isMemfsEnabled(agent.id),
uuid: `init-${agent.id}`,
};
console.log(JSON.stringify(initEvent));

View File

@@ -88,6 +88,7 @@ export interface SystemInitMessage extends MessageEnvelope {
mcp_servers: Array<{ name: string; status: string }>;
permission_mode: string;
slash_commands: string[];
memfs_enabled?: boolean;
// output_style omitted - Letta Code doesn't have output styles feature
}