oasis7 docs

Viewer Manual

oasis7 Viewer User Manual

This repository now keeps viewer as the formal Viewer web surface, with software_safe only as a compatibility alias.

Quick Start

1) Start the live server

env -u RUSTC_WRAPPER cargo run -p oasis7 --bin oasis7_viewer_live -- llm_bootstrap --llm --bind 127.0.0.1:5023 --web-bind 127.0.0.1:5011

Formal gameplay requires a reachable LLM provider. If you switch to --no-llm, the route is observer/debug only.

2) Start the web viewer

env -u NO_COLOR ./scripts/run-viewer-web.sh --address 127.0.0.1 --port 4173

Open: http://127.0.0.1:4173/?ws=ws://127.0.0.1:5011

The repo now ships only the formal viewer web surface; software_safe remains a compatibility alias and no other Viewer entry is maintained.

Web Loop

Use the repo-owned regressions when possible:

For a manual capture pass:

command -v agent-browser >/dev/null || { echo "missing agent-browser" >&2; exit 1; }
mkdir -p output/playwright/viewer
agent-browser close-all || true
agent-browser --headed open "http://127.0.0.1:4173/?ws=ws://127.0.0.1:5011&render_mode=viewer&test_api=1"
agent-browser wait --load networkidle
agent-browser snapshot -i
agent-browser eval "JSON.stringify(window.__AW_TEST__?.getState?.() ?? null)"
agent-browser console | tee output/playwright/viewer/console.log
agent-browser screenshot output/playwright/viewer/viewer-web.png
agent-browser close

Minimum pass criteria: the page loads, __AW_TEST__ is available, renderMode=viewer (or the compatibility alias software_safe), and screenshot/log artifacts are produced.

Current Scope

Troubleshooting