Skip to content

feat: enable Playwright MCP for existing projects#30

Merged
skulidropek merged 93 commits intoProverCoderAI:mainfrom
skulidropek:issue-29
Feb 15, 2026
Merged

feat: enable Playwright MCP for existing projects#30
skulidropek merged 93 commits intoProverCoderAI:mainfrom
skulidropek:issue-29

Conversation

@skulidropek
Copy link
Copy Markdown
Contributor

Closes #29

What

Adds docker-git mcp-playwright command to enable Playwright MCP + Chromium sidecar for an already created docker-git project directory.

Why

Existing projects created without --mcp-playwright currently require recreation to get browser automation. This command upgrades the project in-place while preserving workspace volumes and env files.

How

  • Reads docker-git.json in --project-dir (or current dir).
  • Sets template.enableMcpPlaywright = true (idempotent).
  • Regenerates docker-git managed templates (including docker-compose.yml, Dockerfile, Dockerfile.browser).
  • Preserves .orch/env/project.env and does not wipe volumes.
  • Runs docker compose up -d --build by default; pass --no-up to only update files.

Invariants / Guarantees

  • ∀p: enableMcpPlaywrightProjectFiles(p) -> docker-git.json.template.enableMcpPlaywright = true
  • enableMcpPlaywright=true -> docker-compose includes <service>-browser and MCP_PLAYWRIGHT_ENABLE=1
  • No docker compose down -v is invoked by this command.

Usage

# in a project dir (~/.docker-git/<owner>/<repo>/...)
docker-git mcp-playwright

# explicit project dir
docker-git mcp-playwright --project-dir ~/.docker-git/<owner>/<repo>

# files-only mode
docker-git mcp-playwright --no-up

Tests

  • pnpm test

Notes

@ton-ai-core/vibecode-linter shells out to npx biome/npx tsc. With pnpm workspaces, npm's npx can miss local workspace binaries and try to download unrelated packages. This PR adds a tiny scripts/npx shim (pnpm exec) and prepends it to PATH in lint scripts to keep CI deterministic.

skulidropek and others added 30 commits January 28, 2026 11:52
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Print codex resume hint on interactive shells\n- Disable Ubuntu MOTD/last-login noise inside containers\n- Silence SSH host-key warnings via LogLevel=ERROR\n- Force docker compose output to plain/no-ANSI to avoid escape sequences\n- Keep generated project templates in sync on compose up
Skip port re-selection when docker compose is already running for the project.
skulidropek and others added 22 commits February 11, 2026 14:59
* feat(core): isolate issue/pr workspaces for parallel work

* fix(app): remove duplicate workspace path logic

* feat(shell): add issue workspace AGENTS context

* feat(cli): add --force-env soft reset mode

* fix(lib): resolve lint regressions in templates and file writer

* refactor(lib): split long functions for lint constraints

* refactor(lib): replace force flags params with options objects

* refactor(lib): remove forbidden casts in create-project options

* fix(lib): harden issue workspace env reset flow

* fix(lib): split auth sync copy helpers for lint

* fix(lib): manage AGENTS blocks without full overwrite

---------

Co-authored-by: skulidropek <skulidropek@users.noreply.github.com>
…oderAI#16)

* fix(ci): disable npm publish in release workflow

* fix(ci): gate npm publish on token/access checks

* fix(release): publish app cli as @prover-coder-ai/docker-git

* chore(ci): drop custom release workflow changes

* fix(ci): keep app dist free of test-only deps

---------

Co-authored-by: skulidropek <skulidropek@users.noreply.github.com>
* fix(shell): bridge gh token to git credentials

* fix(shell): auto-configure git credentials after gh auth

* test(docker-git): assert generated auth helper in entrypoint

* refactor(lib): split entrypoint git template blocks

---------

Co-authored-by: skulidropek <skulidropek@users.noreply.github.com>
)

Co-authored-by: skulidropek <skulidropek@users.noreply.github.com>
…CoderAI#19)

Co-authored-by: skulidropek <skulidropek@users.noreply.github.com>
* fix(shell): fail fast on docker socket permission errors

* fix(lib): reduce error renderer complexity

---------

Co-authored-by: skulidropek <skulidropek@users.noreply.github.com>
Co-authored-by: skulidropek <skulidropek@users.noreply.github.com>
* fix(lint): include tests in effect-ts analyzer

* chore(ci): retrigger checks after runner stall

---------

Co-authored-by: skulidropek <skulidropek@users.noreply.github.com>
…oderAI#25)

* fix(lib): bootstrap nested docker-git auth and compose v2

* refactor(lib): split nested docker-git entrypoint template

* refactor(lib): reduce lint complexity in path normalization
- Adds docker-git mcp-playwright to enable Playwright MCP + Chromium sidecar after create\n- Rewrites managed templates + docker-git.json, preserves env files and volumes\n- Includes parser + usecase tests
vibecode-linter shells out to npx biome/tsc, but npm's npx can miss local pnpm workspace bins.\nAdd a small npx shim (pnpm exec) and prepend it to PATH for lint scripts.
Effect\x27s pipe typings cap at 20 args; split Match.orElse into a second pipe call.
- Adds docker-git mcp-playwright to enable Playwright MCP + Chromium sidecar after create\n- Rewrites managed templates + docker-git.json, preserves env files and volumes\n- Includes parser + usecase tests
vibecode-linter shells out to npx biome/tsc, but npm's npx can miss local pnpm workspace bins.\nAdd a small npx shim (pnpm exec) and prepend it to PATH for lint scripts.
@skulidropek skulidropek merged commit fbdbb85 into ProverCoderAI:main Feb 15, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Добавить возможность поднимать MCP Playrgiht в контейнере который уже создан

2 participants