Share Cline configuration with the ecaas and cdp devcontainers

Keep Cline deploy-only on deadalus so its rules, the cross-tool AGENTS pointer and the shared ~/.config/ai context are deployed on the WSL host; mount ~/.agents into the containers; list the Cline VS Code extension in the devcontainer customizations. The CLI package stays absent on the host and ships in the images.
This commit is contained in:
2026-11-18 22:52:47 +01:00
parent 3facf61866
commit 66925b1d0d
9 changed files with 27 additions and 8 deletions

View File

@@ -5,7 +5,11 @@ workstation_ecaas_workspace: "{{ user_home }}/Work/sipo/ecaas"
workstation_cdp_workspace: "{{ user_home }}/Work/sipo/cdp"
workstation_ecaas_git_required_ca: ecaas.datacenter.comune.roma.crt
# Claude Code is the only coding agent on WSL; every other managed agent is removed.
# Claude Code is the only coding agent installed on WSL; every other managed agent
# is disabled. Cline is the deploy-only exception: its cross-tool instructions
# (.agents/AGENTS.md, .cline/rules/) and the shared ~/.config/ai context stay
# deployed on this host so the ecaas/cdp devcontainers bind-mount them, while the
# cline CLI package stays absent (the npm agent tasks skip workstation_dev_fedora).
claude_code_install_enabled: true
claude_code_uninstall_enabled: false
opencode_install_enabled: false
@@ -18,7 +22,7 @@ gemini_cli_install_enabled: false
gemini_cli_deploy_enabled: false
gemini_cli_uninstall_enabled: true
cline_install_enabled: false
cline_deploy_enabled: false
cline_deploy_enabled: true
cline_uninstall_enabled: true
ibm_bob_install_enabled: false
ibm_bob_uninstall_enabled: true

View File

@@ -66,6 +66,7 @@
loop:
- { path: .claude, mode: "0700" }
- { path: .cline, mode: "0700" }
- { path: .agents, mode: "0755" }
- { path: .config/ai, mode: "0755" }
- { path: .config/glab-cli, mode: "0700" }

View File

@@ -58,6 +58,7 @@
loop:
- { path: .claude, mode: "0700" }
- { path: .cline, mode: "0700" }
- { path: .agents, mode: "0755" }
- { path: .config/ai, mode: "0755" }
- { path: .config/glab-cli, mode: "0700" }

View File

@@ -30,6 +30,7 @@
{{ ('type=bind,source=' ~ user_home ~ '/.local/state/devcontainer-bash-history/cdp,target=/home/vscode/.bash_history.d') | to_json }},
{{ ('type=bind,source=' ~ user_home ~ '/.claude,target=/home/vscode/.claude') | to_json }},
{{ ('type=bind,source=' ~ user_home ~ '/.cline,target=/home/vscode/.cline') | to_json }},
{{ ('type=bind,source=' ~ user_home ~ '/.agents,target=/home/vscode/.agents,readonly') | to_json }},
{{ ('type=bind,source=' ~ user_home ~ '/.m2,target=/home/vscode/.m2') | to_json }},
{{ ('type=bind,source=' ~ user_home ~ '/.config/glab-cli,target=/home/vscode/.config/glab-cli') | to_json }},
{{ ('type=bind,source=' ~ user_home ~ '/.kube,target=/home/vscode/.kube') | to_json }}
@@ -45,6 +46,7 @@
"ms-kubernetes-tools.vscode-kubernetes-tools",
"angular.ng-template",
"dbaeumer.vscode-eslint",
"saoudrizwan.claude-dev",
"emmanuelbeziat.vscode-great-icons"
],
"settings": {

View File

@@ -29,6 +29,7 @@
{{ ('type=bind,source=' ~ user_home ~ '/.local/state/devcontainer-bash-history/ecaas,target=/home/vscode/.bash_history.d') | to_json }},
{{ ('type=bind,source=' ~ user_home ~ '/.claude,target=/home/vscode/.claude') | to_json }},
{{ ('type=bind,source=' ~ user_home ~ '/.cline,target=/home/vscode/.cline') | to_json }},
{{ ('type=bind,source=' ~ user_home ~ '/.agents,target=/home/vscode/.agents,readonly') | to_json }},
{{ ('type=bind,source=' ~ user_home ~ '/.m2,target=/home/vscode/.m2') | to_json }},
{{ ('type=bind,source=' ~ user_home ~ '/.config/glab-cli,target=/home/vscode/.config/glab-cli') | to_json }}
],
@@ -40,6 +41,7 @@
"vmware.vscode-boot-dev-pack",
"redhat.vscode-xml",
"redhat.vscode-yaml",
"saoudrizwan.claude-dev",
"emmanuelbeziat.vscode-great-icons"
],
"settings": {