Skip to content

Releases

RobotGo v1.0.3

Choose a tag to compare

@marang marang released this 28 Oct 07:39
16cafc6

RobotGo v1.0.3

A compatible image-maintenance release of github.com/marang/robotgo. It
upgrades imgo to 0.44.0 without changing RobotGo's legacy image representation
or filename contracts. Exported signatures, backend selection, agent schemas
and the v1 runtime support scope remain
unchanged. The public Version constant becomes v1.0.3.

Install

Go 1.26.10 or newer and the documented platform dependencies are required.

go get github.com/marang/robotgo@v1.0.3

Changes

  • Upgrade imgo from 0.42.0 to 0.44.0 with a compatibility adapter rather than
    accepting the dependency-only representation change
    (#178).
  • Preserve ToByteImg and ToStringImg: default JPEG quality 70, standard
    Base64, the exact oversized result and trailing NUL bytes, the five existing
    formats, first-format-argument behavior and nil/empty-string failure results.
    The NUL suffix is not extra Base64 = padding.
  • Preserve Read and Save case-sensitive last-dot filename interpretation,
    including bare relative format names, quality arguments and error behavior.
    Image decoding benefits from upstream file cleanup and wrapped errors.

Qualification and limits

Publication requires current-head review and CI, a successful manual Release
evidence run on the final merged source, and an exact-tag run containing six
native/Pure-Go snapshots and all 29 required checks. Verify the public assets
and their commit, tree, ref and run identities using
Release Evidence v1:

sha256sum -c robotgo-release-evidence-v1.0.3-*.tar.gz.sha256
go list -m -f '{{.Version}}' github.com/marang/robotgo@latest
GOPROXY=direct go list -m -f '{{.Version}}' github.com/marang/robotgo@latest

Both module resolutions must report v1.0.3; proxies may need to index the
explicit version first. Rollback means pinning v1.0.2. Historical tags and
assets remain immutable. Permission-granted macOS runtime evidence remains
externally blocked under LAB-69;
this release adds no permission or compositor support claims.

RobotGo v1.0.2

Choose a tag to compare

@marang marang released this 24 Oct 16:01
93f5626

RobotGo v1.0.2

A compatible maintenance release of github.com/marang/robotgo. It releases
native scale-query resources, separates internal CGO ownership and policy, and
refreshes dependencies. Exported signatures, backend selection, legacy image
representation, agent schemas and the v1 runtime support scope
remain unchanged. The public Version constant becomes v1.0.2.

Install

Go 1.26.10 or newer and the documented platform dependencies are required.

go get github.com/marang/robotgo@v1.0.2

Changes

  • macOS scale queries release copied display modes, and Windows scale queries
    release desktop device contexts, including invalid-result paths. Existing
    display selection and scale failure behavior are preserved (#172).
  • CGO facades delegate to focused policy and ownership modules while preserving
    the frozen public API and legacy sequencing (#173).
  • Updated dependencies, automated dependency monitoring and vulnerability checks;
    CI uses the patched Go version declared in go.mod. imgo remains at 0.42.0
    to preserve JPEG, Base64 and padding compatibility (#175).

Qualification and limits

Publication requires current-head review and CI, a successful manual Release
evidence run on the final merged source, and an exact-tag run containing six
native/Pure-Go snapshots and all 29 required checks. Verify the public assets
and their commit, tree, ref and run identities using Release Evidence v1:

sha256sum -c robotgo-release-evidence-v1.0.2-*.tar.gz.sha256
go list -m -f '{{.Version}}' github.com/marang/robotgo@latest
GOPROXY=direct go list -m -f '{{.Version}}' github.com/marang/robotgo@latest

Both module resolutions must report v1.0.2; proxies may need to index the
explicit version first. Rollback means pinning v1.0.1. Historical tags and
assets remain immutable. Permission-granted macOS runtime evidence remains
externally blocked under LAB-69;
this release adds no permission or compositor support claims.

RobotGo v1.0.1

Choose a tag to compare

@marang marang released this 03 Oct 16:11
d7bf92b

RobotGo v1.0.1

A compatible patch release of github.com/marang/robotgo, containing the
reviewed upstream compatibility fixes and native Wayland capture hardening
merged after v1.0.0. Exported signatures, backend selection, agent schemas and
the v1 runtime support scope remain unchanged.
The public Version constant becomes v1.0.1.

Install

Go 1.26 or newer and the documented platform dependencies are required.

go get github.com/marang/robotgo@v1.0.1

Fixes

  • Windows Pure-Go input supplies physical scan metadata and distinguishes E0
    extended keys without incorrectly marking Pause as extended. Explicit
    modifier sides satisfy implicit generic modifiers without duplicate holds;
    numpad Clear mapping is corrected, and non-BMP physical-key rejection gains
    regression coverage.
  • Native Wayland capture normalizes inverted rows after logical cropping and
    validates dimensions, strides, byte sizes and allocation arithmetic before
    copy. SHM mappings retain their actual mapped length, selected backends ignore
    unselected offers, duplicate offers fail explicitly, and failure paths clean
    owned buffers, mappings and descriptors.
  • Native Wayland and portal horizontal scrolling now share the public
    positive-left direction contract. Low-level protocol semantics are unchanged.

Implementation and regression evidence: PR #169
and PR #170.

Qualification and limits

Patch maintenance does not reopen the first-stable RC observation interval.
Current-head review, complete CI and fresh exact-source evidence remain required:
a successful manual run on the final merged source, followed by the exact-tag
release run, six native/Pure-Go snapshots and all 29 required checks. Verify the
published archive/checksum pair and matching commit/tree/ref/run identities as
described in Release Evidence v1:

sha256sum -c robotgo-release-evidence-v1.0.1-*.tar.gz.sha256
go list -m -f '{{.Version}}' github.com/marang/robotgo@latest
GOPROXY=direct go list -m -f '{{.Version}}' github.com/marang/robotgo@latest

Both module resolutions must report v1.0.1; proxies may first need to index the
explicit version. Existing v1.0.0, RC and beta tags/assets remain immutable.
Rollback means pinning github.com/marang/robotgo@v1.0.0, never moving a tag.

Permission-granted macOS runtime evidence remains externally blocked under
LAB-69; this release adds no permission
or compositor support claims. The CGO scale-resource cleanup
LAB-238 and legacy CGO/strict-API
decomposition LAB-71 are subsequent,
separate maintenance work, not included here.

RobotGo v1.0.0

Choose a tag to compare

@marang marang released this 03 Oct 10:06
2c2c17b

RobotGo v1.0.0

RobotGo's first stable release of the independent github.com/marang/robotgo
module promotes the reviewed v1.0.0-rc.2 contract. No runtime implementation,
API signature, agent schema, backend default, or platform support claim changes
from rc.2; the public Version constant becomes v1.0.0.

Install and migration

Go 1.26 or newer and the platform's documented native dependencies are required.

go get github.com/marang/robotgo@v1.0.0
import "github.com/marang/robotgo"

rc.2 consumers need only change the pinned module version. Consumers upgrading
from rc.1 should also review the
rc.2 migration guidance:
use Go 1.26, validate persisted agent schema versions, and retain deny-by-default
bounded policy for image, accessibility, input, verification, Trace, recorder,
and planning capabilities. Go source compatibility is not a promise of wire
compatibility between independently versioned agent schemas.

Supported scope and limits

The Runtime Compatibility Matrix v1
and its machine-readable contract
define the exact support claim: bounded native and Pure-Go Linux/X11, evidenced
wlroots/Sway and Hyprland behavior, consent-aware GNOME/KDE portal input,
capture and bounds, consent-free macOS contracts, and native plus bounded
Pure-Go Windows behavior. Runtime capability and permission checks still apply.

Permission-granted macOS capture, input and Accessibility remain implemented /
evidence pending under LAB-69, not
stable-supported. Universal foreign-window control on Wayland core, additional
unevidenced backends, and network/multi-tenant agent security are not claimed.
The MCP adapter remains local stdio. Unsupported operations fail explicitly;
reliability-sensitive callers should prefer strict error-returning APIs.

Qualification decision and release evidence

The maintainer explicitly requested immediate publication on 2026-10-03 and
waived the project's seven-day RC observation interval. This release does not
claim that seven days elapsed. Only elapsed waiting time is waived: frozen
rc.2 behavior and support scope, no unresolved critical/high defect, current-head
review, complete CI, cleanup/privacy contracts and fresh exact-source evidence
remain mandatory. Existing RC tags and assets remain unchanged.

Publication is accepted only after a new manual evidence run succeeds on the
final merged source and the release event completes exact-tag evidence for
refs/tags/v1.0.0. The release must contain both assets:

robotgo-release-evidence-v1.0.0-<commit>.tar.gz
robotgo-release-evidence-v1.0.0-<commit>.tar.gz.sha256

Verify the downloaded checksum before extracting:

sha256sum -c robotgo-release-evidence-v1.0.0-*.tar.gz.sha256

Require all six native/Pure-Go platform snapshots, all 29 successful required
checks, and matching annotated-tag commit/tree/ref/run identities. Missing or
mismatched assets, checksums, evidence, or module resolution reject the release.
Verify both default and direct module resolution:

go list -m -f '{{.Version}}' github.com/marang/robotgo@latest
GOPROXY=direct go list -m -f '{{.Version}}' github.com/marang/robotgo@latest

Both must report v1.0.0; caching proxies may need to index the explicit version
first. Local upstream-derived tags are not authoritative fork releases.

Maintenance and rollback

RobotGo maintainers own v1 support and regression triage in the Linear RobotGo
projects. Patch releases prioritize compatible correctness, security and
privacy/cleanup fixes. Public API additions require intentional compatibility
review; breaking Go API changes require a new major module version. Agent
schemas keep their explicit version/migration contracts. Support scope expands
only after exact runtime evidence, never merely because an implementation exists.

Published origin tags and evidence assets must not be moved, deleted or
overwritten. A release-critical regression requires a new version with reviewed
fixes and fresh evidence. To return to the identical pre-stable runtime contract:

go get github.com/marang/robotgo@v1.0.0-rc.2

RobotGo v1.0.0-rc.2

RobotGo v1.0.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@marang marang released this 03 Oct 08:41
60aa3a4

RobotGo v1.0.0-rc.2

Status: release candidate

This second stable-line release candidate re-freezes RobotGo's reviewed public
API after substantial post-v1.0.0-rc.1 work. Publishing stable directly from
that older candidate would not satisfy RobotGo's frozen-contract rule, so
rc.2 starts a fresh qualification window without broadening the documented
platform support claims.

Install

RobotGo requires Go 1.26 or newer. After the candidate is published, install
the independent fork explicitly:

go get github.com/marang/robotgo@v1.0.0-rc.2

Use the fork module path:

import "github.com/marang/robotgo"

Do not infer fork releases from local tags fetched from
go-vgo/robotgo; verify tags against the authoritative marang/robotgo
origin.

Changes since rc.1

  • Added deny-by-default autonomous GUI actions with bounded scroll, drag,
    keyboard chord, activation, cleanup, and typed ownership/error contracts.
  • Added policy-gated desktop image observations, bounded in-process OCR and
    geometry-only visual analysis, plus accessibility-first semantic UI
    observations on Linux, Windows, and macOS.
  • Added semantic element actions, postconditions, Action Proof, deterministic
    target resolution, target evidence clauses, and single-use capability
    leases.
  • Added privacy-tiered RobotGo Trace v1, the payload-free Semantic Recorder and
    Recorded Flow v1, and the advisory Verified Flow Plan v1 capability planner.
  • Hardened published release-evidence assets against collisions and stabilized
    the hosted GNOME/KDE evidence fixtures, including a digest-preserving move
    from the expired Daily base-image URL to its direct HTTPS archive-bucket
    path.
  • Raised the module's minimum Go version from 1.25 to 1.26.

The full itemized history is in the
changelog.

Compatibility contract

The Runtime Compatibility Matrix v1
remains the release-candidate platform contract. Its
machine-readable source
maps every
supported row to exact release-blocking checks. Implemented / evidence pending remains deliberately outside the support claim.

The supported platform scope is unchanged from rc.1: bounded native and
Pure-Go Linux/X11 behavior; advertised wlroots/Sway and evidenced Hyprland
behavior; consent-aware GNOME/KDE portal input, capture, and bounds; consent-
free macOS contracts; and native plus bounded Pure-Go Windows behavior.
Permission-granted macOS capture, input, and Accessibility operations remain
implemented/evidence-pending under
LAB-69.

The checked API manifest is intentionally different from rc.1. Consumers of
the agent package should pin rc.2 and review schema versions instead of
assuming wire compatibility from Go source compatibility alone.

Migration guidance

Applications upgrading from rc.1 should:

  1. Build with Go 1.26 or newer.
  2. Re-generate or revalidate code that persists agent catalog, audit, runtime
    diagnostic, analysis, target, proof, Trace, recorder, or flow-plan schemas.
  3. Keep all new image, accessibility, mutation, evidence, Trace, recorder, and
    planning capabilities deny-by-default and explicitly bounded in policy.
  4. Treat Action Proof and cleanup-pending results as authoritative; do not
    convert a post-dispatch error into a false success or retry while input
    ownership remains unresolved.
  5. Continue to treat portal consent, macOS permissions, and compositor
    capabilities as runtime properties rather than install-time guarantees.

No migration step should persist screenshots, clipboard contents, typed text,
OCR input, window content, native handles, capability tokens, or permission
artifacts. Real-desktop evidence must use disposable, self-owned fixtures and
clean every transient artifact on success, failure, timeout, and cancellation.

Release evidence

This preparation is not publication evidence. The final merged candidate must
pass a new exact manual Release Evidence run before its annotated tag is
created. Publishing the GitHub prerelease then triggers exact-tag evidence from
v1.0.0-rc.2 and attaches:

robotgo-release-evidence-v1.0.0-rc.2-<commit>.tar.gz
robotgo-release-evidence-v1.0.0-rc.2-<commit>.tar.gz.sha256

Verify the downloaded archive before extracting it:

sha256sum -c robotgo-release-evidence-v1.0.0-rc.2-*.tar.gz.sha256

The release is no-go if either asset is absent, the checksum fails, the bundle
does not identify the annotated tag's peeled commit, any of the six platform
snapshots is missing, or any of the 29 required checks is not successful.

Qualification and rollback

The stable v1.0.0 qualification window starts only when GitHub publishes
v1.0.0-rc.2 and lasts at least seven full calendar days. Until that immutable
timestamp is recorded in the fail-closed preflight, stable publication remains
disabled.

Any unresolved critical/high regression, incompatible public API drift,
supported-platform evidence failure, privacy/cleanup regression, or mismatch
between source, tag, release, evidence bundle, and checksum rejects the
candidate. Published tags are immutable: do not delete or move a rejected tag;
fix the issue and publish a new incremented candidate with fresh evidence.

Consumers can roll back reproducibly with:

go get github.com/marang/robotgo@v1.0.0-rc.1

RobotGo v1.0.0-rc.1

RobotGo v1.0.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@marang marang released this 29 Jul 10:13
281d8ce

RobotGo v1.0.0-rc.1

Status: release candidate

This first stable-line release candidate freezes the reviewed public Go API and
the support scope below. It does not broaden permission- or
compositor-dependent behavior beyond the versioned compatibility contract.

Install

RobotGo requires Go 1.25 or newer. Install the independent fork explicitly:

go get github.com/marang/robotgo@v1.0.0-rc.1

Use the fork module path:

import "github.com/marang/robotgo"

Do not infer fork releases from local tags fetched from
go-vgo/robotgo; verify tags against the authoritative marang/robotgo
origin.

Compatibility contract

The Runtime Compatibility Matrix v1 is the
release-candidate contract. Its
machine-readable source maps every
supported row to exact release-blocking checks. Implemented / evidence pending is deliberately not a support claim.

The RC-supported scope includes:

  • native and Pure-Go Linux/X11 within the documented XTEST/EWMH limits;
  • advertised native wlroots/Sway protocols and the evidenced Hyprland
    active-window subset;
  • consent-aware GNOME/KDE RemoteDesktop input, CGO/PipeWire persistent
    ScreenCast capture, Pure-Go one-shot Screenshot capture, and native
    CGO/Pure-Go multi-output logical bounds;
  • consent-free macOS native/Pure-Go build, API, display metadata/scale, symbol
    resolution, and non-prompting permission/error contracts;
  • native Windows default behavior and the Pure-Go Windows input, capture, and
    self-owned window/control contract.

The following macOS behavior is implemented but not in the RC-supported scope:

  • Screen Recording-granted pixel capture;
  • Accessibility-granted keyboard/pointer mutation;
  • Accessibility-granted window inspection, activation, minimize/restore, and
    close, for both native and Pure-Go builds.

Those operations remain available and return explicit permission diagnostics.
They can be promoted only after
LAB-69
passes on an isolated, self-owned remote macOS desktop. The RC does not ask
users or contributors to provide their workstation as test infrastructure.

Migration guidance

Applications upgrading from beta.2 should:

  1. Treat GetRuntimeCapabilities and GetRuntimeDiagnostics as runtime
    preflight, especially for permission- and compositor-dependent operations.
  2. Prefer error-returning APIs so ErrPermissionDenied, ErrNotSupported, and
    backend failures cannot look like valid zero values.
  3. Do not interpret “implemented” macOS permission-dependent APIs as
    release-qualified behavior; qualify them in the application's own managed
    environment or keep them disabled for the RC.
  4. Keep portal consent explicit. RobotGo does not open RemoteDesktop or
    ScreenCast consent implicitly.
  5. Re-run platform preflight after upgrades because desktop permissions,
    portal policy, compositor protocols, and XTEST/EWMH availability are runtime
    properties.

No migration step may persist screenshots, clipboard contents, typed text,
OCR input, window content, or permission tokens. Integration evidence must use
self-owned fixtures and remove all transient artifacts on success, failure,
timeout, and cancellation.

Release evidence

The latest merged-main preparation baseline is proven on commit
cd204c663e4ff5c8d33504d8cbf8b4dce1d8cc59 by
Release Evidence run 30434061380:
six native/Pure-Go snapshots, real GNOME/KDE multi-output portal input,
persistent ScreenCast and bounds, isolated Hyprland evidence, and all 29 exact
required checks passed. The run produced a checksum-bound evidence bundle.
The final merged release commit must pass a new exact manual run before the
annotated tag is created.

That qualification run cannot substitute for exact tag evidence. Publishing
the GitHub prerelease triggers the same workflow from v1.0.0-rc.1. The
workflow rejects any commit, tree, ref, matrix, check, or checksum mismatch and
attaches these immutable assets to the
v1.0.0-rc.1 release:

robotgo-release-evidence-v1.0.0-rc.1-<commit>.tar.gz
robotgo-release-evidence-v1.0.0-rc.1-<commit>.tar.gz.sha256

Verify the downloaded archive before extracting it:

sha256sum -c robotgo-release-evidence-v1.0.0-rc.1-*.tar.gz.sha256

The release is no-go if either asset is absent, the checksum fails, the bundle
does not identify the annotated tag's peeled commit, any snapshot is missing,
or any of the 29 required checks is not successful.

Qualification and rollback

The stable v1.0.0 qualification window starts at the RC publication
timestamp and lasts at least seven full calendar days. Stable publication is
blocked by any unresolved critical/high regression, public API drift,
supported-platform evidence failure, privacy/cleanup regression, or mismatch
between source, tag, release, bundle, and checksum.

Published tags are immutable. If this RC is rejected, do not delete or move
v1.0.0-rc.1; record the no-go reason, fix the issue on main, and publish a
new incremented RC with fresh exact evidence. Consumers can roll back
reproducibly with:

go get github.com/marang/robotgo@v1.0.0-beta.2

RobotGo v1.0.0-beta.2

RobotGo v1.0.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@marang marang released this 27 Jul 06:51
f353059

RobotGo v1.0.0-beta.2

Published: 2026-07-27

This is the second public pre-release of the independent
github.com/marang/robotgo module. It advances the fork from implemented
Wayland and Pure-Go backends to protected real-compositor evidence, and adds a
bounded automation layer designed for local agent integrations.

This is not final v1.0.0. The release remains a beta while broader
compositor-specific window coverage, opt-in permission-granted macOS runtime
evidence, and the longer-term compatibility lifecycle continue.

Install or upgrade

RobotGo requires Go 1.25 or newer.

go get github.com/marang/robotgo@v1.0.0-beta.2

Use the explicit version shown above. The repository retains historical
upstream stable v1.x tags for attribution and history, and Go module
resolution correctly prefers a stable tag over a pre-release for @latest.
Until this fork publishes a newer stable release, @latest therefore does not
mean the current fork beta.

Use the fork's module path:

import "github.com/marang/robotgo"

Version and GetVersion() return v1.0.0-beta.2. The agent packages and
error-returning platform APIs are additive. One legacy Wayland behavior changed:
beta.1 GetBounds(pid) and GetClient(pid) returned the whole virtual desktop
even when they could not resolve the requested window. They now delegate to the
selected compositor backend; because their signatures cannot return an error,
an unsupported or unresolved target produces a zero rectangle. Migrate
Wayland callers that need actionable failure details to GetBoundsE and
GetClientE. Applications upgrading from beta.1 should also rerun their
platform and permission checks because Wayland backend availability is
determined at runtime.

Highlights

Policy-gated automation for local agents

  • agent.Session provides typed move, click, text, observe, find-color, and
    wait-color operations under an immutable allowlist and bounded quotas.
  • Dry runs execute validation, capability, policy, and confirmation preflight
    without injecting input. Explicit execution is still required for mutation.
  • In-memory observations support stale-target preconditions and bounded
    changed/unchanged verification. RobotGo-owned pixel buffers are zeroed on
    release or session close. Observation.Image() returns a defensive image
    copy; callers that request one own that copy and must clear or discard it
    themselves. SHA-256 lineage digests are non-reversible metadata, not pixel
    payloads; they may remain in caller-held Observation values after the
    backing pixels are released.
  • Audit events contain sanitized lifecycle metadata, not typed text, pixels,
    clipboard contents, portal identifiers, restore tokens, or backend error
    payloads.
  • The local stdio robotgo-mcp command exposes focused capabilities, observe,
    find, wait, act, observation-release, and close tools. It opens no network
    listener and returns sanitized structured results.
  • On Wayland, agent capture prefers native screencopy and may reuse an already
    authorized ScreenCast session; it never opens portal consent implicitly.

See the README agent section and
the agent architecture plan.

Real Wayland desktop evidence

  • Disposable GitHub-hosted GNOME and KDE guests now prove real
    RemoteDesktop input and persistent ScreenCast/PipeWire capture on canonical
    single- and two-output topologies.
  • Multi-output input verifies relative movement and absolute coordinates on
    both physical streams. Multi-output capture verifies one owned, non-empty
    frame per unique stream.
  • Hosted Sway proves native virtual input, screencopy, supported window
    behavior, single-/multi-output geometry, and explicit portal availability.
  • Portal consent remains real. The workflows do not substitute mocks,
    self-hosted desktops, or implicit approval services.
  • Guest state, portal sessions, frames, raw logs, temporary disks, and host
    runner state are rejected or destroyed after success, failure, timeout, and
    cancellation paths.

More truthful window and compositor behavior

  • Error-returning active-window geometry and identity APIs expose title,
    rectangle, client rectangle, PID, and backend handle only when the selected
    backend can prove them.
  • Sway and Hyprland integrations use compositor-reported state; generic
    wlroots and Wayland-core paths return explicit unsupported errors for
    unavailable foreign-window operations.
  • External compositor helpers run with bounded process-group ownership and
    deterministic teardown instead of leaking descendant processes.
  • Native screencopy pixel-format handling and persistent PipeWire latest-frame
    caching received additional regression coverage.

Reliability and release integrity

  • Portal screenshot decoding now bounds encoded input, dimensions,
    allocations, cancellation, and identity-verified temporary-file cleanup.
  • Unix clipboard and OCR cancellation, Linux alert errors, Windows
    clipboard/paste recovery, exact pointer completion, and sanitizer diagnostics
    have stronger deterministic tests.
  • CircleCI and its image are removed. A protected GitHub Actions
    x11-default-suite now owns the non-skipping Xvfb/XTEST input, capture,
    bounds, cleanup, crash-guardian, and negative contracts.
  • Release Evidence v1 records 25 successful exact-SHA checks: the 21
    branch-protection checks plus four release-only GNOME/KDE multi-output
    RemoteDesktop/ScreenCast jobs.
  • The release bundle also contains six independently verified native/Pure-Go
    snapshots across Linux, macOS, and Windows.

Compatibility limits

  • Wayland global input, capture, and foreign-window control remain subject to
    compositor protocols, desktop portal policy, and explicit user consent.
  • Persistent ScreenCast capture requires the pipewire build tag plus
    PipeWire development and runtime libraries.
  • Only one agent.Session may own RobotGo's process-global desktop backends at
    a time. Its quotas and policy are safety boundaries for that local process,
    not multi-tenant isolation.
  • robotgo-mcp is a local stdio adapter. It does not provide network
    authentication, remote transport, or an operating-system sandbox.
  • Pure-Go macOS input/window mutation requires Accessibility permission;
    capture requires Screen Recording permission. Permission-granted mutation
    evidence remains opt-in.
  • Compositor-specific Wayland window operations are supported only where
    observable state and mutation contracts are trustworthy. Wayland core does
    not provide universal foreign-window control.
  • Hook/event functionality on Wayland remains explicitly capability-reported.

The current platform claims are listed in the
Runtime Compatibility Matrix v1.

Verify release evidence

Publication attaches:

robotgo-release-evidence-v1.0.0-beta.2-<commit>.tar.gz
robotgo-release-evidence-v1.0.0-beta.2-<commit>.tar.gz.sha256

Verify the archive before extraction:

sha256sum -c robotgo-release-evidence-v1.0.0-beta.2-*.tar.gz.sha256

The archive records the exact source commit hash, tree hash, and tag ref in its
evidence JSON; it does not embed Git objects or a source checkout. It also
contains sanitized runtime diagnostics, test-log digests, platform,
architecture, and CGO identity, and the 25-check exact-commit manifest. A
missing, skipped, stale, cancelled, or failed required check blocks the manual
pre-publication decision. In the workflow triggered by an already published
release, it prevents evidence packaging and attachment but does not
automatically withdraw the release.

See Release Evidence v1 for the
schema and per-cell verification command.

RobotGo v1.0.0-beta.1

RobotGo v1.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@marang marang released this 19 Jul 10:17
1bab5e1

RobotGo v1.0.0-beta.1

Published: 2026-07-19

This is the first public pre-release of the independent
github.com/marang/robotgo module. It is not a repackaging of an upstream
RobotGo tag. The fork preserves upstream attribution and source compatibility
where practical, but its backend selection, error contracts, Wayland support,
Pure-Go implementations, diagnostics, and validation have diverged
substantially.

The release remains a beta because protected real-desktop evidence for current
GNOME, KDE Plasma, and wlroots environments is not complete. Implemented
features without that evidence are reported as such rather than being promoted
to universal support.

Install

RobotGo requires Go 1.25 or newer.

go get github.com/marang/robotgo@v1.0.0-beta.1

Use the fork's module path in application imports:

import "github.com/marang/robotgo"

Do not substitute github.com/go-vgo/robotgo: that is a separate module with
different behavior and release history.

Version and GetVersion() now return the canonical string
v1.0.0-beta.1. Code that parsed the historical decorative
v1.00.0.1189, MT. Baker! value must treat the new value as SemVer instead.

Highlights

Wayland-first Linux automation

  • Native wlroots screencopy with DMA-BUF and wl_shm selection, bounded waits,
    deterministic ownership, and an explicit Screenshot portal fallback.
  • Reusable ScreenCast/PipeWire capture sessions for repeated frames behind the
    pipewire build tag, including logical crop, scale, transform, pixel-format,
    and restore-token metadata.
  • Consent-aware RemoteDesktop portal input for pointer, keyboard, absolute
    pointer, and touch operations. Consent is always explicit and never opened by
    a capability probe.
  • Native virtual keyboard and pointer support where the compositor advertises
    the required protocols.
  • Bounded native wl_output/xdg-output logical geometry in Pure-Go builds,
    with blocking single- and multi-output Weston evidence.
  • Sway, Hyprland, generic wlroots, and Wayland-core window backend resolution.
    Unsupported compositor operations return explicit errors.

Useful Pure-Go builds

  • macOS CoreGraphics capture/display/scale, Quartz keyboard and pointer input,
    and Accessibility-backed window inspection/control.
  • Windows capture, foreground-layout-aware SendInput keyboard/text,
    clipboard-assisted paste, pointer control, DPI scale, and Win32 window
    inspection/control.
  • Linux/X11 capture, XGB/XTEST input, X11/EWMH window inspection/control, and a
    separate crash guardian for bounded cleanup of RobotGo-owned input state.
  • Wayland Screenshot and RemoteDesktop portal paths plus read-only logical
    output enumeration without implicit Xwayland.
  • Explicit ErrNotSupported or permission errors for unavailable operations;
    CGO-disabled builds do not return plausible success values for missing
    backends.

Observable and safer behavior

  • Version and GetVersion() report the exact release tag consistently in
    native and Pure-Go builds.
  • GetRuntimeBackendInfo, GetRuntimeCapabilities,
    GetRuntimeDiagnostics, and GetLinuxCapabilities expose selected
    implementations, protocol versions, fallbacks, permissions, and remediation
    without consent prompts or sensitive session values.
  • Error-returning variants for required mouse, keyboard, screen, and window
    operations.
  • Stable process-identity validation before destructive close/kill fallbacks.
  • Deterministic cleanup for portal sessions, PipeWire streams, Wayland/X11
    objects, file descriptors, buffers, input ownership, and test-created
    artifacts.
  • Bitmap string helpers, backend-aware capture aliases, window-state error
    APIs, FindColorCS, and audited upstream helper compatibility.

Validation and release evidence

The release is gated by:

  • default tests on Linux, macOS, and Windows;
  • native and Pure-Go builds on all three hosted platforms;
  • lint, vet, race, OCR, sanitizer/leak, Wayland, and X11 evidence jobs;
  • non-skipping Xvfb/XTEST and Weston runtime contracts;
  • a six-cell Release Evidence v1 matrix.

After publication, the release workflow attaches:

robotgo-release-evidence-v1.0.0-beta.1-<commit>.tar.gz
robotgo-release-evidence-v1.0.0-beta.1-<commit>.tar.gz.sha256

Verify the archive before extraction:

sha256sum -c robotgo-release-evidence-v1.0.0-beta.1-*.tar.gz.sha256

The archive contains the exact source commit/tree/ref, sanitized runtime
diagnostics, test-log digests, platform/architecture/CGO identity, and the
successful protected-check manifest. See
Release Evidence v1 for the schema
and per-cell verification command.

Compatibility limits

  • GNOME/KDE RemoteDesktop and persistent ScreenCast implementations exist, but
    protected real-desktop runner evidence is still pending.
  • Wayland global input, capture, and foreign-window control remain subject to
    compositor policy and portal consent.
  • Persistent ScreenCast capture requires the pipewire build tag and PipeWire
    development/runtime libraries.
  • Pure-Go macOS input/window mutations require Accessibility permission;
    capture requires Screen Recording permission.
  • Compositor-specific Wayland window operations are supported only when their
    observable state and mutation contracts are trustworthy.
  • Hook/event functionality on Wayland remains capability-reported rather than
    implied.

The versioned platform matrix is available in
Runtime Compatibility Matrix v1. The active
implementation backlog remains in Wayland remaining tasks
and the product roadmap.

⌂ 换网址