Remove --fail-with-body from curl so the response body (including error
JSON) is always captured. Previously, set -e killed the script at the
curl line on non-2xx responses before the error-checking code could run,
leaving the agent with an opaque exit code 22 and no actionable message.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace Gemini API with OpenAI /v1/images/generations endpoint in the
imagegen script. Remove unsupported response_format parameter (gpt-image-1
returns b64_json by default). Add standalone imagegen-openai workflow for
testing image generation independently.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The Playwright MCP server provides a browser_install tool, so we can
drop the separate command node and let the agent install the browser
via MCP instead.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use npx directly instead of npm install, which fails due to the repo's
workspace:* protocol in package.json.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Port the OpenAI Codex develop-web-game skill (Playwright-based game dev
loop) into skills/develop-web-game/ with paths adapted for Arc's
workspace-relative skill discovery. Add a web-game-demo workflow that
verifies the skill and its asset files (playwright client script,
action payloads JSON) are properly discovered and accessible in a
Daytona sandbox.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Wire MCP server configs from workflow TOML into agent sessions so
MCP tools are available to agent stages during workflow runs.
Changes:
- run_config.rs: add mcp_servers HashMap to WorkflowRunConfig
- backend.rs: AgentApiBackend.with_mcp_servers() passes configs to SessionConfig
- run.rs: extract mcp_servers from RunConfig and pass to backend
- demo/mod.rs: add default mcp_servers field to struct literals
New workflow: arc/workflows/playwright-demo/
- Runs on Daytona with daytona-medium snapshot
- Configures Playwright MCP as a sandbox transport (port 3100)
- Agent browses Hacker News, takes screenshots at each step
- asset_globs captures screenshots/** into logs directory
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rename directory and adopt workflow.{toml,dot} convention so
`arc run implement` resolves via project config.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>