mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-13 13:18:56 +02:00
Qoder CN (`qoderclicn`) users could only reach a working custom runtime by misrouting through the Kiro backend, which launches `<cmd> acp --trust-all-tools`. That is incompatible with Qoder's global `--acp` / `--yolo` argv, so the task failed immediately with `kiro initialize failed` and no run messages. Expose `qoder` in the custom-profile protocol_family whitelist across every lockstep layer: - server/pkg/agent SupportedTypes (+ whitelist pin test) - migration 134 runtime_profile protocol_family CHECK (NOT VALID, mirroring 126) - packages/core RUNTIME_PROFILE_PROTOCOL_FAMILIES The existing qoderBackend already honors an ExecutablePath override and launches `<cmd> --yolo --acp`, so a profile with protocol_family=qoder and command_name=qoderclicn now launches with the correct argv instead of the Kiro shape. Provider branding/logo for qoder already exists. MUL-4018 Co-authored-by: J <j@multica.ai> Co-authored-by: multica-agent <github@multica.ai>
24 lines
836 B
SQL
24 lines
836 B
SQL
ALTER TABLE runtime_profile DROP CONSTRAINT IF EXISTS runtime_profile_protocol_family_check;
|
|
|
|
-- Widen the whitelist to include Qoder so Qoder CN (`qoderclicn`) users can base
|
|
-- a custom runtime profile on the existing Qoder backend (launches
|
|
-- `<command> --yolo --acp`) instead of misrouting through Kiro/ACP with
|
|
-- incompatible arguments (#4883). NOT VALID mirrors migration 126 so a
|
|
-- historical Gemini row it intentionally tolerated does not block the upgrade.
|
|
ALTER TABLE runtime_profile ADD CONSTRAINT runtime_profile_protocol_family_check
|
|
CHECK (protocol_family IN (
|
|
'claude',
|
|
'codebuddy',
|
|
'codex',
|
|
'copilot',
|
|
'opencode',
|
|
'openclaw',
|
|
'hermes',
|
|
'pi',
|
|
'cursor',
|
|
'kimi',
|
|
'kiro',
|
|
'antigravity',
|
|
'qoder'
|
|
)) NOT VALID;
|