feat: surface memfs_enabled in headless init message (#955)
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user