CJX-007-STABLE
Plugin Version: 0.0.7
Internal DB schema: 0.0.4
Base: ChatJox 0.0.6 (CJX-006-STABLE).

Scope:
- Bug fixes: duplicate conversation creation, 1-second message refresh
  interval, richer launcher icon presets, multiple operator avatars,
  per-channel custom icon images.
- Voice messages removed completely: switch, settings, recorder script,
  recording UI, upload path, audio player and styles.
- Redesigned admin feature toggles (larger switch, focus ring, active card
  state, ON/OFF text badge) and the in-widget satisfaction rating UI.
- Five new opt-in modules: customer rating, reports, transcript email, block
  list and anti-spam, duplicate conversation merge. Per-module options live on
  the Advanced Features screen; no extra settings menu is added.
- Granular operator permissions for the new screens.

New tables:
- wp_chatjox_ratings
- wp_chatjox_blocks

New columns:
- sessions: visitor_key, wp_user_id, first_operator_reply_at, closed_at,
  merged_into_session_id (+ indexes on created_at, visitor_key, wp_user_id,
  merged_into_session_id, visitor_email, visitor_phone)
- operators: permissions

Migration:
- dbDelta compatible and idempotent; re-running activate() is safe.
- One-time non-destructive backfill of first_operator_reply_at and closed_at
  from existing message history, guarded by the chatjox_metrics_007_backfilled
  option. Every UPDATE only touches NULL columns.

Upgrade policy:
- Direct 0.0.6 -> 0.0.7 upgrade, no reinstall required.
- Every new module defaults to OFF on upgrade and on fresh installs.
- Existing conversations, contacts, settings, appearance, Telegram
  configuration, operators, departments and notification settings are
  preserved.
- Chat, Telegram, file, cleanup and action-menu behavior is otherwise
  unchanged.

Package cleanup:
- Removed the duplicate full copy of the plugin that shipped inside /assets/.
- Removed superseded assets that were no longer enqueued:
  css/front-actionmenu3.css, css/front-actionmenu3-006.css,
  js/front-actionmenu3.js, js/front-actionmenu3-006.js,
  js/front-actionmenu3-006-r2.js, js/voice-recorder.js
