capture

command
v0.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: BSD-3-Clause Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command capture takes a screenshot of a running agentscope page with a real Chrome, after the wasm UI has had time to receive its stream, and can scroll the graph first. Headless Chrome's own --screenshot fires at the load event, before the wasm has booted, so it shoots an empty window.

go run ./internal/capture -chrome "<path>" -url http://127.0.0.1:8765/ \
    -out ~/Library/Application\ Support/agentscope/captures/live.png -wait 6s -scroll 0

A capture shows real session ids and lease notes, so it is refused when -out is inside a git work tree (any parent directory holds a .git).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL