//#region src/agents/personal-agent-config.ts
const configCache = /* @__PURE__ */ new Map();
function derivePersonalAgentId(userId) {
	return `personal-${userId}`;
}
function isPersonalAgentId(agentId) {
	return agentId.startsWith("personal-");
}
function getPersonalAgentConfig(agentId) {
	return configCache.get(agentId);
}
function updatePersonalAgentConfig(agentId, config) {
	const existing = configCache.get(agentId) ?? {};
	configCache.set(agentId, {
		...existing,
		...config
	});
}

//#endregion
export { updatePersonalAgentConfig as i, getPersonalAgentConfig as n, isPersonalAgentId as r, derivePersonalAgentId as t };