mirror of
https://github.com/affaan-m/ECC.git
synced 2026-08-31 04:09:51 +02:00
Following the hermes/openclaw (#2433) and kimi (#2441) adapter recipe. What's included (adal-project adapter, project kind, ./.adal root, same shape as kimi-project/joycode-project): - scripts/lib/install-targets/adal-project.js — 10-line project-kind adapter targeting ./.adal - Registry + helpers platform-ownership wiring - adal target on the 5 shared modules (rules-core, agents-core, commands-core, platform-configs, workflow-quality) + SUPPORTED_INSTALL_TARGETS + legacy-compat module - .adal in platform-configs paths - Both schema enums (install-modules, ecc-install-config), npm files allowlist, installer help text, .adal/README.md stub AdaL (adalagent.ai) is a terminal-based AI coding agent (by SylphAI) built on AdalFlow, with native MCP support and project-scoped config under ./.adal/ (skills, custom tools, memory) plus a root-level AGENTS.md instructions file — matching the shape ECC already installs into other AGENTS.md-based harnesses (Codex, OpenCode, Kimi). Verified: full suite matches main's baseline (3334 passed, same pre-existing failures unrelated to this change — OpenCode build/npm-pack surface tests requiring build tooling not present in this sandbox); catalog check passes (67 agents / 94 commands / 281 skills); dry-run resolves Target: adal / Adapter: adal-project / root ./.adal with all 5 modules planned; doctor reports OK after a real install; uninstall cleanly reverses all 458 operations. Co-Authored-By: AdaL <adal@sylph.ai>
117 lines
2.5 KiB
JSON
117 lines
2.5 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "ECC Install Modules",
|
|
"type": "object",
|
|
"properties": {
|
|
"version": {
|
|
"type": "integer",
|
|
"minimum": 1
|
|
},
|
|
"modules": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"pattern": "^[a-z0-9-]+$"
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"enum": [
|
|
"rules",
|
|
"agents",
|
|
"commands",
|
|
"hooks",
|
|
"platform",
|
|
"orchestration",
|
|
"skills",
|
|
"docs"
|
|
]
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"paths": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
}
|
|
},
|
|
"targets": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"type": "string",
|
|
"enum": [
|
|
"claude",
|
|
"claude-project",
|
|
"cursor",
|
|
"antigravity",
|
|
"codex",
|
|
"gemini",
|
|
"opencode",
|
|
"codebuddy",
|
|
"joycode",
|
|
"qwen",
|
|
"zed",
|
|
"hermes",
|
|
"openclaw",
|
|
"kimi",
|
|
"adal"
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"pattern": "^[a-z0-9-]+$"
|
|
}
|
|
},
|
|
"defaultInstall": {
|
|
"type": "boolean"
|
|
},
|
|
"cost": {
|
|
"type": "string",
|
|
"enum": [
|
|
"light",
|
|
"medium",
|
|
"heavy"
|
|
]
|
|
},
|
|
"stability": {
|
|
"type": "string",
|
|
"enum": [
|
|
"experimental",
|
|
"beta",
|
|
"stable"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"kind",
|
|
"description",
|
|
"paths",
|
|
"targets",
|
|
"dependencies",
|
|
"defaultInstall",
|
|
"cost",
|
|
"stability"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"version",
|
|
"modules"
|
|
],
|
|
"additionalProperties": false
|
|
}
|