feat: rename to ddev-claude-cli, drop Codex CLI, add opt-in headless browser
This commit is contained in:
1 parent
b6d88ce4dc
commit
d8076fa5a0
8 files changed
+322
-64
No files matched your search
+19
-9
@@ -1,28 +1,38 @@
|
||||
name: ddev-codex-claude-cli
|
||||
name: ddev-claude-cli
|
||||
|
||||
project_files:
|
||||
- config.codex-claude.yaml
|
||||
- commands/web/codex
|
||||
- config.claude-cli.yaml
|
||||
- commands/web/claude
|
||||
- commands/web/claude-swap
|
||||
- commands/web/claude-refs
|
||||
- codex-cli/install.sh
|
||||
- commands/host/claude-browser
|
||||
- claude-code/install.sh
|
||||
- claude-code/install-swap.sh
|
||||
- claude-code/refs-sync.sh
|
||||
- claude-code/git-exclude.sh
|
||||
- claude-code/browser-setup.sh
|
||||
- claude-code/browser/docker-compose.claude-browser.yaml
|
||||
|
||||
post_install_actions:
|
||||
- |
|
||||
#ddev-description: Make AI CLI scripts executable
|
||||
#ddev-description: Make Claude CLI scripts executable
|
||||
set -eu
|
||||
chmod +x commands/web/codex commands/web/claude commands/web/claude-swap commands/web/claude-refs codex-cli/install.sh claude-code/install.sh claude-code/install-swap.sh claude-code/refs-sync.sh claude-code/git-exclude.sh
|
||||
chmod +x commands/web/claude commands/web/claude-swap commands/web/claude-refs commands/host/claude-browser claude-code/install.sh claude-code/install-swap.sh claude-code/refs-sync.sh claude-code/git-exclude.sh claude-code/browser-setup.sh
|
||||
- |
|
||||
#ddev-description: Clean up after ddev-codex-claude-cli, this add-on's former name
|
||||
# Files are removed only while still marked #ddev-generated. .ddev/claude-code/ is shared
|
||||
# with the old add-on and kept as is; .ddev/codex-cli/ (Codex auth and config) is kept too.
|
||||
for f in config.codex-claude.yaml commands/web/codex codex-cli/install.sh; do
|
||||
if [ -f "$f" ] && grep -q '#ddev-generated' "$f"; then rm -f "$f"; fi
|
||||
done
|
||||
# Forget the old add-on, so it is not listed twice and nobody runs its removal
|
||||
# actions, which would delete .ddev/claude-code/.
|
||||
rm -rf addon-metadata/ddev-codex-claude-cli
|
||||
|
||||
removal_actions:
|
||||
- |
|
||||
#ddev-description: Remove AI CLI add-on artifacts
|
||||
rm -f config.codex-claude.yaml commands/web/codex commands/web/claude commands/web/claude-swap commands/web/claude-refs 2>/dev/null || true
|
||||
rm -rf codex-cli 2>/dev/null || true
|
||||
#ddev-description: Remove Claude CLI add-on artifacts
|
||||
rm -f config.claude-cli.yaml commands/web/claude commands/web/claude-swap commands/web/claude-refs commands/host/claude-browser docker-compose.claude-browser.yaml 2>/dev/null || true
|
||||
rm -rf claude-code 2>/dev/null || true
|
||||
|
||||
ddev_version_constraint: ">= v1.24.3"
|
||||
Reference in new issue
Block a user