record

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: AGPL-3.0 Imports: 18 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Action          string  `` /* 141-byte string literal not displayed */
	Target          string  `json:"target,omitempty"           jsonschema:"description=Capture target. Defaults to desktop.,enum=desktop,enum=window"`
	WindowHandle    string  `json:"window_handle,omitempty"    jsonschema:"description=Windows HWND or X11 window ID in decimal or 0x hexadecimal form"`
	PID             int64   `json:"pid,omitempty"              jsonschema:"description=Process ID used to resolve the largest visible top-level window"`
	DurationSeconds float64 `` /* 131-byte string literal not displayed */
	FPS             int     `json:"fps,omitempty"              jsonschema:"description=Capture frame rate 1-60 (default 30),minimum=1,maximum=60"`
	Output          string  `` /* 135-byte string literal not displayed */
	RecordingID     string  `json:"recording_id,omitempty"     jsonschema:"description=Recording identifier required by stop and optional for status"`
}

type SessionInfo

type SessionInfo struct {
	RecordingID string     `json:"recording_id"`
	State       string     `json:"state"`
	Target      TargetInfo `json:"target"`
	Output      string     `json:"output"`
	FPS         int        `json:"fps"`
	Frames      int64      `json:"frames,omitempty"`
	Bytes       int64      `json:"bytes,omitempty"`
	StartedAt   *time.Time `json:"started_at,omitempty"`
	EndedAt     *time.Time `json:"ended_at,omitempty"`
	DurationMS  int64      `json:"duration_ms,omitempty"`
	Error       string     `json:"error,omitempty"`
}

type TargetInfo

type TargetInfo struct {
	Kind         string `json:"kind"`
	WindowHandle string `json:"window_handle,omitempty"`
	PID          int64  `json:"pid,omitempty"`
	Title        string `json:"title,omitempty"`
	Width        int    `json:"width,omitempty"`
	Height       int    `json:"height,omitempty"`
}

type Tool

type Tool struct {
	// contains filtered or unexported fields
}

func New

func New(workDir, outputDir string, maxConcurrent int, backend captureBackend) *Tool

func (*Tool) Close

func (t *Tool) Close()

func (*Tool) Definition

func (t *Tool) Definition() *tool.Definition

func (*Tool) Description

func (t *Tool) Description() string

func (*Tool) Execute

func (t *Tool) Execute(ctx context.Context, arguments string) (*tool.Result, error)

func (*Tool) Name

func (t *Tool) Name() string

Jump to

Keyboard shortcuts

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