# ScanBIM 3D — Changelog

All notable changes to scanbim.app. Format: [Keep a Changelog](https://keepachangelog.com/) + SemVer.

## [1.3.0] — 2026-04-13 — AI + Voice Launch

### Added
- **AI assistant** for natural-language viewer control (Claude Haiku + Sonnet via Cloudflare Worker proxy).
- **"Hey ScanBIM"** always-listening wake word (Web Speech API).
- **Multi-lingual voice input**: English (en-US) + Hindi (hi-IN).
- **Bottom-dock command CLI** (press `/` to open) with mic + language selector.
- **Session-aware interaction counter** + in-app upgrade popup at the 30-interaction free-tier cap.
- **Credit packs** on pricing page: $9.99 / $49 / $199 (additive to any plan, never expire).
- **"Teams? Contact us"** waitlist capture on pricing page.
- **Changelog section** on landing page (#changelog).
- **38-function MCP API** (`window.ScanBIMMCP.api`) for AI tool-calling: fitView, home, focus, highlight, capture, annotate, etc.

### Infrastructure
- New **Cloudflare Worker** `scanbim-ai-proxy` at `https://scanbim-ai-proxy.itmartin24.workers.dev`:
  - Anthropic API proxy with Haiku-first / Sonnet-fallback model tiering.
  - Per-IP rate limits: 20/min, 200/day.
  - Per-session cap: 30 interactions for free tier (24h TTL).
  - Turnstile bot protection (invisible widget).
  - 8k input token cap per request.
  - CORS locked to `scanbim.app` + `www.scanbim.app`.
- **KV namespaces**: `RATE_LIMIT` + `SESSIONS`.
- **Secrets**: `ANTHROPIC_API_KEY`, `TURNSTILE_SECRET` installed via `wrangler secret put`.
- Hard cost cap: $50/mo on Anthropic account during v1.3.0 beta.

### Pricing (unchanged — AI included, no price bump)
- Free: $0 — 30 AI interactions / session.
- Pro: $49/mo annual, $59/mo monthly — 500 AI interactions/mo included.
- Enterprise: $149/mo annual, $179/mo monthly — unlimited AI (fair-use).

### Files
- **New:** `ai-worker.js` (viewer-side AI + voice + CLI module).
- **New:** `CHANGELOG.md` (this file).
- **Modified:** `index.html` — hero badge, nav, pricing cards, new Teams/credit-pack/changelog sections, v1.3.0 footer.
- **Modified:** `viewer.html` — loads `ai-worker.js` after `ai-features.js`.
- **Unchanged:** `ai-features.js` (landing-page FAQ chatbot — still in use).

## [1.1] — 2026-03-31 — UI/UX Overhaul

### Added
- Animated landing hero with CSS grid float + floating blur orbs.
- Custom inline SVG feature icons (replaced emoji).
- Scroll-reveal animations via IntersectionObserver.
- Polished pricing cards with hover lift + gradient backgrounds.
- Scroll-triggered nav bar shadow.
- Brand-aligned isometric wireframe logo.
- Footer LinkedIn + ScanBIM Labs links.

### Changed
- Typography: Inter 300–900 with tighter heading letter-spacing.
- Nav text: `ScanBIM` → `ScanBIM 3D`.
- Responsive layout spacing.

## [1.0] — Q1 2026 — Public Launch

### Added
- QR-linked 3D model viewer (IFC, GLTF/GLB, OBJ, STL, PLY, E57, LAS).
- VR viewer for Meta Quest 2/3/3S.
- Section planes with flip + measurement tools.
- BCF export/import.
- 5-user real-time collaboration (Pro).
- Autodesk ACC / BIM 360 integration (Enterprise).
- Stripe-wired Free / Pro / Enterprise tiers with 14-day Pro/Ent trials.
