feat: implement processDomainConsultation main handler

- Add full conversation flow with session management
- Handle tool call execution
- Support __PASSTHROUGH__ and __SESSION_END__ markers
- Add hasDomainSession helper for routing
- Export executeDomainAction from domain-tool.ts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
kappa
2026-02-05 09:57:32 +09:00
parent 160569bf8c
commit f9f577f25c
4 changed files with 1417 additions and 7 deletions

View File

@@ -470,7 +470,7 @@ async function callNamecheapApi(
}
// 도메인 작업 직접 실행 (Agent 없이 코드로 처리)
async function executeDomainAction(
export async function executeDomainAction(
action: string,
args: { domain?: string; nameservers?: string[]; tld?: string },
allowedDomains: string[],