mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-11 02:46:45 +08:00
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
10 lines
618 B
SQL
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.';
|