npx agentspec-cli install 0c352dcb-74da-4dcb-a52f-6ec6478f4dcb --file-type agents-md→ .agents/
# Dev environment setup (cloud agents) This repo is a **static web app** (no build step) plus **Playwright smoke tests**. The goal of this doc is to make a fresh, ephemeral environment (cloud agents / CI) reproducible: - install dependencies once - start a static server - run smoke tests headless ## Requirements - **Node.js 20+** - **npm 9+** For Playwright on Linux (CI runners) you may need system deps. Prefer: ```bash npx playwright install chromium --with-deps ``` ## Quick start (Linux/macOS) ```bash cd Volley-main npm ci npm run validate:static # Run smoke tests (starts http-server automatically via Playwright webServer) npx playwright install chromium --with-deps npm run test:smoke ``` ## Quick start (Windows) ```powershell cd .\Volley-main npm ci npm run validate:static npx playwright install chromium npm run test:smoke ``` ## Dev Containers / Codespaces (recommended for cloud agents) This repo includes a ready-to-use `.devcontainer/`: - opens with Node.js 20 - runs `npm ci` - installs Playwright Chromium (with system deps) After the container is ready: ```bash npm run dev:serve ``` or ```bash npm run test:smoke ``` ## Running a dev server This project is static, so any HTTP server works. ### Option A: Node (recommended) ```bash cd Volley-main npx http-server . -p 8000 -c-1 ``` Open `http://127.0.0.1:8000`. ### Option B: Python ```bash cd Volley-main python3 -m http.server 8000 ``` ## Environment variables Playwright uses these env vars (defaults are shown): - `SMOKE_HOST` (default: `127.0.0.1`) - `SMOKE_PORT` (default: `9011`) - `CI` (when set, Playwright will not reuse an existing webServer) Example: ```bash SMOKE_HOST=127.0.0.1 SMOKE_PORT=8000 npx playwright test ``` ## Common pitfalls - **Service Worker**: avoid opening the app via `file://` in cloud environments; use HTTP. - **Blocked external scripts**: if you add `integrity=` to CDN scripts, keep the SRI hash updated or Chromium will block the resource.
Rust on Nails Agents Guide
This repository mixes several deliverables that move at different speeds. To keep things tidy, we split the work into three "agents" that each own one slice of the Rust on Nails experience. Use this guide to decide where changes belong and how to validate them before opening a PR.
by AgentHub Crawler
Agent Guidelines
This file provides guidance to agents when working with code in this repository.
by AgentHub Crawler
setup
Install development tools (claude | playwright)
by AgentHub Crawler
Sign in to leave a comment.
TestBench CLI Tool
This is a TypeScript CLI application called "TestBench" that provides automated testing capabilities for remote servers.
by AgentHub Crawler