mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 16:07:35 +01:00
Control buried fleet state behind config metrics and only showed an open-tab count on cloud. Push the full Zellij tab list from the daemon, store it in runtime_snapshots, and lead the page with a workspace table showing agent, state, and current activity per tab. Co-authored-by: Cursor <cursoragent@cursor.com>
7 lines
297 B
SQL
7 lines
297 B
SQL
-- Runtime snapshot: full Zellij tab list pushed by local daemon for cloud control plane.
|
|
CREATE TABLE IF NOT EXISTS runtime_snapshots (
|
|
user_id uuid PRIMARY KEY REFERENCES users(id) ON DELETE CASCADE,
|
|
open_tabs text[] NOT NULL DEFAULT '{}',
|
|
updated_at timestamptz NOT NULL DEFAULT now()
|
|
);
|