diff --git a/scripts/install-apply.js b/scripts/install-apply.js index 776d5f35d..8d0c4cf12 100755 --- a/scripts/install-apply.js +++ b/scripts/install-apply.js @@ -39,7 +39,7 @@ Targets: antigravity - Install rules, workflows, skills, and agents to ./.agents/ codex - Install shared agents/config into ~/.codex/ gemini - Install project-local Gemini config into ./.gemini/ - opencode - Install shared commands/hooks/config into ~/.opencode/ + opencode - Install shared commands/hooks/config into ~/.config/opencode/ codebuddy - Install commands, agents, skills, and flattened rules into ./.codebuddy/ joycode - Install commands, agents, skills, and flattened rules into ./.joycode/ qwen - Install commands, agents, skills, rules, and Qwen config into ~/.qwen/ diff --git a/scripts/lib/install-targets/opencode-home.js b/scripts/lib/install-targets/opencode-home.js index 56880235c..7fc289469 100644 --- a/scripts/lib/install-targets/opencode-home.js +++ b/scripts/lib/install-targets/opencode-home.js @@ -83,7 +83,7 @@ module.exports = createInstallTargetAdapter({ id: 'opencode-home', target: 'opencode', kind: 'home', - rootSegments: ['.opencode'], + rootSegments: ['.config', 'opencode'], installStatePathSegments: ['ecc-install-state.json'], nativeRootRelativePath: '.opencode', validate: defaultValidateOpencodeHome,