mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-23 10:08:38 +02:00
Adds DevEco Code (Huawei's HarmonyOS coding agent, built on the OpenCode engine) as a first-class runtime provider: backend/model parser, daemon discovery (probe + login-shell list + Windows .cmd native resolver), runtime profile migration (protocol_family whitelist), provider UI, metrics, and four-language docs. MCP injection is deferred (UI gates it off). Migration numbered 175.
26 lines
859 B
SQL
26 lines
859 B
SQL
-- Add 'deveco' (DevEco Code, Huawei's coding agent for HarmonyOS, built on the
|
|
-- OpenCode engine) to the runtime_profile protocol_family whitelist. Mirrors the
|
|
-- drop/re-add NOT VALID pattern from migrations 126/134/136 so historical rows
|
|
-- are not revalidated. Kept in lockstep with agent.SupportedTypes and agent.New()
|
|
-- (see server/pkg/agent/agent.go).
|
|
ALTER TABLE runtime_profile DROP CONSTRAINT IF EXISTS runtime_profile_protocol_family_check;
|
|
|
|
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',
|
|
'traecli',
|
|
'deveco'
|
|
)) NOT VALID;
|