export declare const SCHEMA_SQL_V1 = "-- runtime/src/store/schema.sql\n-- AUTO-APPLIED by src/store/sqlite.ts as the v1 migration step.\n-- DO NOT edit this file by hand \u2014 this is v1's BYTE SOURCE (bundled\n-- into SCHEMA_SQL_V1 by bundle-schema.mjs). M1-05 appended a v2\n-- migration step inside sqlite.ts that re-creates the agents table\n-- with BLOB columns for encrypted api_key / claim_token. Current DB\n-- state after full migration: see sqlite.ts's \"Current schema (v2)\"\n-- header comment.\n--\n-- Tracked via `PRAGMA user_version`. This file defines user_version = 1;\n-- sqlite.ts's MIGRATIONS array brings it to 2.\n--\n-- OUT-OF-SCOPE for this file (DO NOT add here):\n-- * notifications \u2014 v1.1.1 durable event stream (M2 when broker lands)\n-- * match_history \u2014 M1-15 / M1-21\n-- * schedules \u2014 M1-15\n-- * encrypted column DDL \u2014 lives in sqlite.ts's v2 migration step,\n-- NOT here (mutating this file would break SCHEMA_SQL_V1's byte\n-- identity and thus the v1 migration contract).\n--\n-- When adding a new migration in a later TED, APPEND a new migration\n-- step to sqlite.ts's MIGRATIONS array; DO NOT mutate this file's v1\n-- block. Past installs will keep their v1 body and only run the delta.\n\nCREATE TABLE IF NOT EXISTS agents (\n id TEXT NOT NULL PRIMARY KEY, -- UUID v4 from server\n name TEXT NOT NULL UNIQUE, -- Public agent name\n api_key TEXT NOT NULL, -- v1 plaintext; v2 migration re-creates as BLOB\n claim_token TEXT NOT NULL, -- v1 plaintext; v2 migration re-creates as BLOB\n model TEXT NOT NULL DEFAULT '',\n created_at INTEGER NOT NULL, -- unix ms\n updated_at INTEGER NOT NULL -- unix ms\n);\n\nCREATE INDEX IF NOT EXISTS idx_agents_name ON agents(name);\n";