Expose discovered ACP harnesses in the chat context resource inventory when the `chat-acp-subagents` experiment is enabled, including configuration paths and resource status. Persist ACP harness resources from agent context snapshots and update the SDK and generated API types. Generated with Codex, carefully reviewed by Hugo.
14 lines
796 B
SQL
14 lines
796 B
SQL
DELETE FROM workspace_agent_context_resources WHERE body_kind::text = 'acp_harness';
|
|
DELETE FROM chat_context_resources WHERE body_kind::text = 'acp_harness';
|
|
|
|
ALTER TYPE workspace_agent_context_body_kind RENAME TO workspace_agent_context_body_kind_old;
|
|
CREATE TYPE workspace_agent_context_body_kind AS ENUM (
|
|
'instruction_file', 'skill', 'mcp_config', 'mcp_server',
|
|
'plugin', 'hook', 'subagent', 'command'
|
|
);
|
|
ALTER TABLE workspace_agent_context_resources ALTER COLUMN body_kind
|
|
TYPE workspace_agent_context_body_kind USING body_kind::text::workspace_agent_context_body_kind;
|
|
ALTER TABLE chat_context_resources ALTER COLUMN body_kind
|
|
TYPE workspace_agent_context_body_kind USING body_kind::text::workspace_agent_context_body_kind;
|
|
DROP TYPE workspace_agent_context_body_kind_old;
|