Commit Graph

5 Commits

Author SHA1 Message Date
a3ac459871 chore: anvil.it.com → inouter.com 2026-03-27 16:19:47 +00:00
kappa
7dda198f47 Replace D2 rendering with DiagramAgent (Mermaid + Kroki)
- Delete d2-tool.ts and D2_RENDER_URL references
- Add diagram-agent.ts: OpenAI generates Mermaid → Kroki renders PNG → Telegram sendPhoto + R2 cache
- Update onboarding-agent to use generate_diagram tool with DiagramAgent
- Switch wrangler.toml from D2_RENDER_URL to KROKI_URL
- Remove D2 from env-validation, api-urls, tools/index

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 09:32:46 +09:00
kappa
f4fa017de0 Update wrangler.toml with actual D1, KV namespace IDs
Replace placeholder IDs with provisioned Cloudflare resource IDs
for D1 database, RATE_LIMIT_KV, SESSION_KV, and CACHE_KV.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 18:35:06 +09:00
kappa
f7046f4c66 Add RAG semantic search and proactive event notifications
Implement hybrid knowledge search using Cloudflare Vectorize + Workers AI
embeddings (bge-base-en-v1.5, 768d) merged with existing D1 LIKE queries,
with graceful degradation when Vectorize is unavailable. Add admin API
endpoints for batch/single article indexing.

Add 4 proactive notification cron jobs: server status changes, deposit
confirmation/rejection alerts, pending payment reminders (1h+), and bank
deposit matching notifications — all with DB-column-based deduplication.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 18:09:13 +09:00
kappa
1d6b64c9e4 Initial implementation of Telegram AI customer support bot
Cloudflare Workers + Hono + D1 + KV + R2 stack with 4 specialized AI agents
(onboarding, troubleshoot, asset, billing), OpenAI function calling with
7 tool definitions, human escalation, pending action approval workflow,
feedback collection, audit logging, i18n (ko/en), and Workers AI fallback.

43 source files, 45 tests passing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 13:21:38 +09:00