@prover-coder-ai/docker-git 1.0.25 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@ Key goals:
6
6
  - Functional Core, Imperative Shell implementation (pure templates + typed orchestration).
7
7
  - Per-project `.orch/` directory (env + local state), while still allowing shared credentials across containers.
8
8
  - Shared package caches (`pnpm`/`npm`/`yarn`) across all project containers.
9
- - Optional Playwright MCP + Chromium sidecar so Codex can do browser automation.
9
+ - Optional Playwright MCP + Chromium sidecar so Codex and Claude Code can do browser automation.
10
10
 
11
11
  ## Quickstart
12
12
 
@@ -33,7 +33,7 @@ pnpm run docker-git open https://github.com/agiens/crm/issues/123
33
33
  # Reset only project env defaults (keep workspace volume/data)
34
34
  pnpm run docker-git clone https://github.com/agiens/crm/issues/123 --force-env
35
35
 
36
- # Same, but also enable Playwright MCP + Chromium sidecar for Codex
36
+ # Same, but also enable Playwright MCP + Chromium sidecar for Codex/Claude
37
37
  pnpm run docker-git clone https://github.com/agiens/crm/tree/vova-fork --force --mcp-playwright
38
38
  ```
39
39
 
@@ -107,8 +107,13 @@ Enable for an existing project directory (preserves `.orch/env/project.env` and
107
107
  This will:
108
108
  - Create a Chromium sidecar container: `dg-<repo>-browser`
109
109
  - Configure Codex MCP server `playwright` inside the dev container
110
+ - Configure Claude Code MCP server `playwright` inside `$CLAUDE_CONFIG_DIR/.claude.json`
110
111
  - Provide a wrapper `docker-git-playwright-mcp` inside the dev container
111
112
 
113
+ Template attribute behavior:
114
+ - `--mcp-playwright` sets `enableMcpPlaywright=true` in `docker-git.json`.
115
+ - On container start, docker-git syncs Playwright MCP config for both Codex and Claude based on this attribute/env.
116
+
112
117
  Concurrency (many Codex sessions):
113
118
  - Default is safe for many sessions: `MCP_PLAYWRIGHT_ISOLATED=1`
114
119
  - Each Codex session gets its own browser context (incognito) to reduce cross-session interference.
@@ -121,6 +126,7 @@ Edit: `<projectDir>/.orch/env/project.env`
121
126
  Common toggles:
122
127
  - `CODEX_SHARE_AUTH=1|0` (default: `1`)
123
128
  - `CODEX_AUTO_UPDATE=1|0` (default: `1`)
129
+ - `CLAUDE_AUTO_SYSTEM_PROMPT=1|0` (default: `1`, auto-attach managed system prompt to `claude`)
124
130
  - `DOCKER_GIT_ZSH_AUTOSUGGEST=1|0` (default: `1`)
125
131
  - `MCP_PLAYWRIGHT_ISOLATED=1|0` (default: `1`)
126
132
  - `MCP_PLAYWRIGHT_CDP_ENDPOINT=http://...` (override CDP endpoint if needed)
@@ -151,6 +157,11 @@ MCP errors in `codex` UI:
151
157
  - `handshaking ... initialize response`:
152
158
  - The configured MCP command is not a real MCP server (example: `command="echo"`).
153
159
 
160
+ MCP errors in `claude` UI:
161
+ - `MCP server "playwright" not found`:
162
+ - The container/project was created without `--mcp-playwright` (or `enableMcpPlaywright=false` in `docker-git.json`).
163
+ - Fix: run `docker-git mcp-playwright [<url>]` or recreate/apply with `--mcp-playwright`.
164
+
154
165
  Docker permission error (`/var/run/docker.sock`):
155
166
  - Symptom:
156
167
  - `permission denied while trying to connect to the docker API at unix:///var/run/docker.sock`