refactor: move deposit-agent to agents/ and add session support
- Move deposit-agent.ts to src/agents/ - Add D1 session CRUD functions (getDepositSession, saveDepositSession, etc.) - Add Deposit Expert AI with function calling - Add processDepositConsultation handler for session-based flow - Add deposit_sessions table migration (006_add_deposit_sessions.sql) - Update import paths in deposit-tool.ts - Add DEPOSIT_BANK_* environment variables to Env interface Session flow: collecting_amount → collecting_name → confirming → completed Smart parsing: "홍길동 5만원" → Go directly to confirming Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1006
src/agents/deposit-agent.ts
Normal file
1006
src/agents/deposit-agent.ts
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user