- chatbotService: bridge to Next.js admin chat API (localhost:3100) — sleep mode, welcome, LLM replies - leadService: lead sync from every user message, interaction logging to audit_log - index.js: unhandled messages route to AI when chatbot_enabled; lead sync on every message - userHandler/routes: lead capture on /start and catalog; sleep mode redirects to AI dialog - Migration 013: leads, site_settings, chat_sessions tables (idempotent, chatbot_enabled/sleep_mode default 0) - messageRouter.dispatch returns boolean (handled/not) for AI fallback - gitignore db backups
35 lines
616 B
Plaintext
35 lines
616 B
Plaintext
.env
|
|
node_modules/
|
|
tests/node_modules/
|
|
tests/screenshots/
|
|
tests/visual/baseline/
|
|
tests/visual/current/
|
|
tests/visual/diff/
|
|
tests/reports/
|
|
*.log
|
|
|
|
# SmartAdmin template — copied from APAW CBS repo, not tracked in downstream projects
|
|
templates/smartadmin/
|
|
|
|
# SQLite databases — never commit
|
|
db/*.db
|
|
db/*.db-wal
|
|
db/*.db-shm
|
|
db/*.backup-*
|
|
db/*.pre-merge-*
|
|
|
|
# Root-level throwaway scripts
|
|
/*.mjs
|
|
|
|
/*.mjs
|
|
|
|
# Production backups (contain secrets + DB snapshots — never commit)
|
|
production-backup/
|
|
screenshot-dash.cjs
|
|
|
|
# Kilo agent configuration (managed locally, not committed)
|
|
.kilo/
|
|
kilo-meta.json
|
|
kilo.jsonc
|
|
AGENTS.md
|