mirror of
https://github.com/affaan-m/ECC.git
synced 2026-08-17 21:15:40 +02:00
feat: add Hermes and OpenClaw harness install targets (#2433)
* feat: add Hermes and OpenClaw harness install targets - Add scripts/lib/install-targets/hermes-home.js and openclaw-home.js - Register new adapters in registry.js and helpers.js - Add hermes/openclaw to SUPPORTED_INSTALL_TARGETS, schema enum, and install help text - Add .hermes/ and .openclaw/ platform source directories with READMEs - Update install-modules.json so rules/agents/commands/platform-configs cover the new targets Verification: - npx ecc doctor reports all 13 targets OK (including hermes-home and openclaw-home) - install-targets regression guard passes for new targets - Catalog check passes * fix(install): register hermes/openclaw in install-modules schema enum + npm files allowlist --------- Co-authored-by: Lxcardoza993 <265670745+Lxcardoza993@users.noreply.github.com> Co-authored-by: Affaan Mustafa <me@affaanmustafa.com>
This commit is contained in:
co-authored by
Lxcardoza993
Affaan Mustafa
parent
2d40baacbd
commit
c837139e6c
@@ -0,0 +1,21 @@
|
||||
# ECC for Hermes
|
||||
|
||||
This directory contains the ECC (Everything Claude Code) configuration for the Hermes harness.
|
||||
|
||||
## What is installed
|
||||
|
||||
- `rules/ecc/` — shared coding rules and guidelines
|
||||
- `skills/ecc/` — reusable skills
|
||||
- `commands/` — slash commands
|
||||
- `AGENTS.md` — agent instructions
|
||||
|
||||
## Manual install
|
||||
|
||||
```bash
|
||||
bash ./install.sh --target hermes --profile minimal
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
- Hermes config files (`config.yaml`, `.env`, etc.) are **not** touched by ECC install.
|
||||
- Use `npx ecc doctor --target hermes` to check install health.
|
||||
@@ -0,0 +1,21 @@
|
||||
# ECC for OpenClaw
|
||||
|
||||
This directory contains the ECC (Everything Claude Code) configuration for the OpenClaw harness.
|
||||
|
||||
## What is installed
|
||||
|
||||
- `rules/ecc/` — shared coding rules and guidelines
|
||||
- `skills/ecc/` — reusable skills
|
||||
- `commands/` — slash commands
|
||||
- `AGENTS.md` — agent instructions
|
||||
|
||||
## Manual install
|
||||
|
||||
```bash
|
||||
bash ./install.sh --target openclaw --profile minimal
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
- OpenClaw config files (`openclaw.json`, `config.toml`, `.env`, etc.) are **not** touched by ECC install.
|
||||
- Use `npx ecc doctor --target openclaw` to check install health.
|
||||
@@ -16,7 +16,9 @@
|
||||
"codebuddy",
|
||||
"joycode",
|
||||
"qwen",
|
||||
"zed"
|
||||
"zed",
|
||||
"hermes",
|
||||
"openclaw"
|
||||
],
|
||||
"dependencies": [],
|
||||
"defaultInstall": true,
|
||||
@@ -41,7 +43,9 @@
|
||||
"codebuddy",
|
||||
"joycode",
|
||||
"qwen",
|
||||
"zed"
|
||||
"zed",
|
||||
"hermes",
|
||||
"openclaw"
|
||||
],
|
||||
"dependencies": [],
|
||||
"defaultInstall": true,
|
||||
@@ -66,7 +70,9 @@
|
||||
"codebuddy",
|
||||
"joycode",
|
||||
"qwen",
|
||||
"zed"
|
||||
"zed",
|
||||
"hermes",
|
||||
"openclaw"
|
||||
],
|
||||
"dependencies": [],
|
||||
"defaultInstall": true,
|
||||
@@ -108,7 +114,9 @@
|
||||
".zed",
|
||||
"mcp-configs",
|
||||
"scripts/auto-update.js",
|
||||
"scripts/setup-package-manager.js"
|
||||
"scripts/setup-package-manager.js",
|
||||
".hermes",
|
||||
".openclaw"
|
||||
],
|
||||
"targets": [
|
||||
"claude",
|
||||
@@ -121,7 +129,9 @@
|
||||
"codebuddy",
|
||||
"joycode",
|
||||
"qwen",
|
||||
"zed"
|
||||
"zed",
|
||||
"hermes",
|
||||
"openclaw"
|
||||
],
|
||||
"dependencies": [],
|
||||
"defaultInstall": true,
|
||||
@@ -276,7 +286,9 @@
|
||||
"codebuddy",
|
||||
"joycode",
|
||||
"qwen",
|
||||
"zed"
|
||||
"zed",
|
||||
"hermes",
|
||||
"openclaw"
|
||||
],
|
||||
"dependencies": [
|
||||
"platform-configs"
|
||||
|
||||
@@ -46,7 +46,9 @@
|
||||
".codex-plugin/",
|
||||
".cursor/",
|
||||
".gemini/",
|
||||
".hermes/",
|
||||
".opencode/",
|
||||
".openclaw/",
|
||||
".qwen/",
|
||||
".zed/",
|
||||
".mcp.json",
|
||||
|
||||
@@ -28,7 +28,9 @@
|
||||
"codebuddy",
|
||||
"joycode",
|
||||
"qwen",
|
||||
"zed"
|
||||
"zed",
|
||||
"hermes",
|
||||
"openclaw"
|
||||
]
|
||||
},
|
||||
"profile": {
|
||||
|
||||
@@ -58,7 +58,9 @@
|
||||
"codebuddy",
|
||||
"joycode",
|
||||
"qwen",
|
||||
"zed"
|
||||
"zed",
|
||||
"hermes",
|
||||
"openclaw"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -42,6 +42,8 @@ Targets:
|
||||
joycode - Install commands, agents, skills, and flattened rules into ./.joycode/
|
||||
qwen - Install commands, agents, skills, rules, and Qwen config into ~/.qwen/
|
||||
zed - Install project settings, commands, agents, skills, and flattened rules into ./.zed/
|
||||
hermes - Install shared rules/skills/commands into ~/.hermes/
|
||||
openclaw - Install shared rules/skills/commands into ~/.openclaw/
|
||||
|
||||
Options:
|
||||
--profile <name> Resolve and install a manifest profile
|
||||
|
||||
@@ -4,7 +4,7 @@ const path = require('path');
|
||||
const { getInstallTargetAdapter, planInstallTargetScaffold } = require('./install-targets/registry');
|
||||
|
||||
const DEFAULT_REPO_ROOT = path.join(__dirname, '../..');
|
||||
const SUPPORTED_INSTALL_TARGETS = ['claude', 'claude-project', 'cursor', 'antigravity', 'codex', 'gemini', 'opencode', 'codebuddy', 'joycode', 'qwen', 'zed'];
|
||||
const SUPPORTED_INSTALL_TARGETS = ['claude', 'claude-project', 'cursor', 'antigravity', 'codex', 'gemini', 'opencode', 'codebuddy', 'joycode', 'qwen', 'zed', 'hermes', 'openclaw'];
|
||||
const COMPONENT_FAMILY_PREFIXES = {
|
||||
baseline: 'baseline:',
|
||||
language: 'lang:',
|
||||
@@ -73,6 +73,20 @@ const LEGACY_COMPAT_BASE_MODULE_IDS_BY_TARGET = Object.freeze({
|
||||
'platform-configs',
|
||||
'workflow-quality',
|
||||
],
|
||||
hermes: [
|
||||
'rules-core',
|
||||
'agents-core',
|
||||
'commands-core',
|
||||
'platform-configs',
|
||||
'workflow-quality',
|
||||
],
|
||||
openclaw: [
|
||||
'rules-core',
|
||||
'agents-core',
|
||||
'commands-core',
|
||||
'platform-configs',
|
||||
'workflow-quality',
|
||||
],
|
||||
});
|
||||
const LEGACY_LANGUAGE_ALIAS_TO_CANONICAL = Object.freeze({
|
||||
c: 'c',
|
||||
|
||||
@@ -7,8 +7,10 @@ const PLATFORM_SOURCE_PATH_OWNERS = Object.freeze({
|
||||
'.codex': 'codex',
|
||||
'.cursor': 'cursor',
|
||||
'.gemini': 'gemini',
|
||||
'.hermes': 'hermes',
|
||||
'.joycode': 'joycode',
|
||||
'.opencode': 'opencode',
|
||||
'.openclaw': 'openclaw',
|
||||
'.codebuddy': 'codebuddy',
|
||||
'.qwen': 'qwen',
|
||||
'.zed': 'zed',
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
const { createInstallTargetAdapter } = require('./helpers');
|
||||
|
||||
module.exports = createInstallTargetAdapter({
|
||||
id: 'hermes-home',
|
||||
target: 'hermes',
|
||||
kind: 'home',
|
||||
rootSegments: ['.hermes'],
|
||||
installStatePathSegments: ['ecc-install-state.json'],
|
||||
nativeRootRelativePath: '.hermes',
|
||||
});
|
||||
@@ -0,0 +1,10 @@
|
||||
const { createInstallTargetAdapter } = require('./helpers');
|
||||
|
||||
module.exports = createInstallTargetAdapter({
|
||||
id: 'openclaw-home',
|
||||
target: 'openclaw',
|
||||
kind: 'home',
|
||||
rootSegments: ['.openclaw'],
|
||||
installStatePathSegments: ['ecc-install-state.json'],
|
||||
nativeRootRelativePath: '.openclaw',
|
||||
});
|
||||
@@ -5,7 +5,9 @@ const codebuddyProject = require('./codebuddy-project');
|
||||
const codexHome = require('./codex-home');
|
||||
const cursorProject = require('./cursor-project');
|
||||
const geminiProject = require('./gemini-project');
|
||||
const hermesHome = require('./hermes-home');
|
||||
const joycodeProject = require('./joycode-project');
|
||||
const openclawHome = require('./openclaw-home');
|
||||
const opencodeHome = require('./opencode-home');
|
||||
const qwenHome = require('./qwen-home');
|
||||
const zedProject = require('./zed-project');
|
||||
@@ -17,7 +19,9 @@ const ADAPTERS = Object.freeze([
|
||||
antigravityProject,
|
||||
codexHome,
|
||||
geminiProject,
|
||||
hermesHome,
|
||||
opencodeHome,
|
||||
openclawHome,
|
||||
codebuddyProject,
|
||||
joycodeProject,
|
||||
qwenHome,
|
||||
|
||||
Reference in New Issue
Block a user