Files
multica/server/migrations/591_agent_task_queue_connector_handles.up.sql
Claude 2ce16d8842 Merge origin/main into claude/project-thread-qefpx3
Resolves the UpdateAgent conflict in handler/agent.go by keeping both the
connector_service_allowlist write and main's runtime-binding transaction,
renumbers the open-connector migrations to 590-596 because main took 583/584,
and regenerates sqlc.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XqqpKySn2iWtXriK3Gsgak
2026-10-21 05:56:59 +00:00

10 lines
618 B
SQL

-- Provider-private resource handles minted while building a task's MCP overlay
-- (before the queue row exists), keyed by provider name, e.g.
-- {"open-connector":"<runtime token id>"}. Used to release per-task resources
-- when the task reaches a terminal state. Cleared once released.
ALTER TABLE agent_task_queue
ADD COLUMN runtime_connector_handles JSONB NULL;
COMMENT ON COLUMN agent_task_queue.runtime_connector_handles IS
'Opaque per-provider resource handles ({"<provider>":"<handle>"}) created by ConnectorProvider.BuildTaskOverlay. Not secret. NULL when nothing needs releasing or after release.';