import { DURABLE_MEMORY_AGENT_DESCRIPTION, DURABLE_MEMORY_AGENT_NAME, DURABLE_MEMORY_AGENT_TOOLS } from '../../extensions/durable-memory/constants.js';
import { buildMemoryAgentPrompt } from './prompt-builder.js';
/** Construct the durable-memory agent definition from a checkpoint and current workspace state. */
export function durableMemoryAgent(input) {
    return {
        name: DURABLE_MEMORY_AGENT_NAME,
        description: DURABLE_MEMORY_AGENT_DESCRIPTION,
        systemPrompt: buildMemoryAgentPrompt(input),
        tools: [...DURABLE_MEMORY_AGENT_TOOLS]
    };
}
//# sourceMappingURL=memory-agent.js.map