Skip to content

armgit / pibot

Public Imported from GitHub
0

Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.

357 B
Raw Blame
ALTER TABLE messages ADD COLUMN task_result_id TEXT REFERENCES group_tasks(id) ON DELETE SET NULL;
-- A result is display-only and must survive restart without being published twice.
CREATE UNIQUE INDEX messages_one_task_result ON messages(task_result_id) WHERE task_result_id IS NOT NULL;
CREATE INDEX approvals_run_completion ON approvals(run_id,status);