Put the release's tools on PATH for every claude the loop starts, and name them bare in the prose #794
@@ -8,7 +8,7 @@
|
||||
presentation/build-pdf.py
|
||||
```
|
||||
|
||||
It writes `presentation/loop-claude-explained.pdf`, which stays out of git. It needs Docker, network access to Google Fonts, and the `playwright-for-claude` image. Build the image once with `run-heavy docker build -t playwright-for-claude ~/code/playwright-for-agents`. When a font fails to load, the build stops without printing: fallback fonts would push pages onto a second sheet.
|
||||
It writes `presentation/loop-claude-explained.pdf`, which stays out of git. It needs Docker, network access to Google Fonts, and the `playwright-for-claude` image. Build the image once with `~/.claude/bin/run-heavy docker build -t playwright-for-claude ~/code/playwright-for-agents`. When a font fails to load, the build stops without printing: fallback fonts would push pages onto a second sheet.
|
||||
|
||||
## Publish the page
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ HEAD = '<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="v
|
||||
|
||||
def main() -> int:
|
||||
if subprocess.run(["docker", "image", "inspect", IMAGE], capture_output=True).returncode != 0:
|
||||
print(f"No {IMAGE} image. Build it once with: run-heavy docker build -t {IMAGE} ~/code/playwright-for-agents", file=sys.stderr)
|
||||
print(f"No {IMAGE} image. Build it once with: ~/.claude/bin/run-heavy docker build -t {IMAGE} ~/code/playwright-for-agents", file=sys.stderr)
|
||||
return 1
|
||||
with tempfile.TemporaryDirectory() as folder:
|
||||
work = pathlib.Path(folder)
|
||||
|
||||
Reference in New Issue
Block a user