export class PersonalKnowledgeAgentService {
    deps;
    constructor(deps) {
        this.deps = deps;
    }
    async runOneTurn(input) {
        const contextText = await this.deps.context.buildContext(input.userMessage, input.projectId);
        const llmResponse = await this.deps.llm.complete([
            { role: 'system', content: contextText },
            { role: 'user', content: input.userMessage },
        ]);
        // #234에서 실제 후보 추출 구현
        const candidates = [];
        await this.deps.context.proposeCandidates(candidates);
        // #235에서 승인 흐름 구현
        await this.deps.persistence.persist(candidates);
        return { candidates, llmResponse, persisted: false };
    }
}
//# sourceMappingURL=personal-knowledge-agent-service.js.map