Files
loki/drizzle/0027_runtime_snapshots_agent_inventory.sql
T
Mao NakamotoandCursor b1c4a3eb74 fix(control): stabilize autopilot injection and fleet observability
Align stop-hook, beacon, and UI dispatch gates so autopilot respects per-project pause, choice wire format, and typing blocks; add control audit trail, Fleet Doctor, and updated cloud-local docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-09 02:28:06 +02:00

12 lines
465 B
SQL

-- Runtime snapshot agent inventory.
--
-- The daemon pushes both the tabs it can see and the agent CLIs installed on
-- the machine. Older local databases only had open_tabs/updated_at, so the
-- runtime-state endpoint failed when inserting installed_agents.
ALTER TABLE runtime_snapshots
ADD COLUMN IF NOT EXISTS installed_agents text[] NOT NULL DEFAULT '{}';
ALTER TABLE runtime_snapshots
ADD COLUMN IF NOT EXISTS panes jsonb NOT NULL DEFAULT '[]'::jsonb;