Skip to content

Releases: remorses/usecomputer

usecomputer@0.1.11

07 Apr 21:55

Choose a tag to compare

  1. Fixed macOS window screenshots across apps and displaysscreenshot --window now uses the native macOS window capture path, which correctly captures apps like Finder, Preview, Slack, and Chrome instead of depending on fragile CoreGraphics window capture behavior.

    usecomputer window list --json
    usecomputer screenshot ./finder.png --window 51448 --json
  2. Fixed region crops on secondary displays — region screenshots now translate desktop-global coordinates into display-local coordinates before cropping, so --display + --region captures the right area on multi-monitor setups.

    usecomputer screenshot ./region.png --display 1 --region "100,100,800,600" --json

usecomputer@0.1.10

03 Apr 09:26

Choose a tag to compare

  1. Added repeatable --modifier <key> support to click — hold one or more keyboard modifiers while clicking, using the same modifier names and aliases accepted by press:

    usecomputer click -x 600 -y 400 --modifier option
    usecomputer click -x 600 -y 400 --modifier cmd --modifier shift

    usecomputer click --help now shows command-specific help with examples for this flow.

  2. Fixed negative -x and -y values in CLI commands — commands that accept optional coordinate flags now correctly parse negative screen positions for multi-display layouts:

    usecomputer hover -x -1200 -y 300
    usecomputer debug-point -x -800 -y 240
  3. Fixed GitHub release archives for standalone and C API downloads — CI now always uploads release assets when a matching GitHub release exists, and Windows builds include usecomputer_c.dll from the correct output path.

usecomputer@0.1.9

01 Apr 07:16
a3f2a9f

Choose a tag to compare

  1. C API shared librarylibusecomputer_c is now built for all platforms and included in GitHub releases. Use from any language with FFI (Julia, Python ctypes, Ruby FFI, etc.):

    #include "usecomputer.h"
    
    double x, y;
    uc_mouse_position(&x, &y);
    
    char* displays = uc_display_list();
    char* result = uc_screenshot(NULL, -1, -1);
    if (!result) fprintf(stderr, "%s\n", uc_last_error());
    else { puts(result); uc_free(result); }

    Download from this release — each archive contains the standalone CLI, N-API .node, C shared library (libusecomputer_c.dylib/.so/.dll), and usecomputer.h header.

  2. All releases now include the standalone executable — each platform archive contains usecomputer (or usecomputer.exe on Windows), a self-contained binary with no Node.js dependency.

usecomputer@0.1.7

26 Mar 14:53

Choose a tag to compare

  1. Fixed usecomputer command on Windows — the npm bin entry now works from CMD and PowerShell without needing Git Bash or MSYS2 in PATH. The launcher is now a compiled TypeScript file (dist/bin.js) instead of a shell script:

    npm install -g usecomputer
    usecomputer screenshot ./shot.png --json
  2. Removed clipboard get and clipboard set commands — these were only implemented on Windows and returned NOT_SUPPORTED on macOS and Linux. Use keyboard shortcuts instead:

    usecomputer press "cmd+c"   # copy (macOS)
    usecomputer press "ctrl+c"  # copy (Windows/Linux)
    usecomputer press "cmd+v"   # paste (macOS)
    usecomputer press "ctrl+v"  # paste (Windows/Linux)

usecomputer@0.1.3

24 Mar 15:58

Choose a tag to compare

  1. Kitty Graphics Protocol supportscreenshot now emits the PNG inline to stdout using the Kitty Graphics Protocol. Set AGENT_GRAPHICS=kitty and the image lands directly in the AI model's context window — no separate file-read step needed:

    AGENT_GRAPHICS=kitty usecomputer screenshot ./shot.png --json
    # { ..., "agentGraphics": true }

    Works with kitty-graphics-agent, an OpenCode plugin that intercepts the escape sequences and injects them as LLM-visible image attachments. Add to opencode.json:

    { "plugin": ["kitty-graphics-agent"] }
  2. Aligned table output for list commandsdisplay list, window list, and desktop list now render as aligned, human-readable tables. JSON mode (--json) is unchanged.

  3. Fixed agentGraphics JSON field — the field now reflects actual Kitty emission success. Empty PNG files and I/O errors correctly report false.

usecomputer@0.1.1

24 Mar 09:19

Choose a tag to compare

  1. Fixed Linux native builds — standalone executable now links libc correctly, fixing "C allocator is only available when linking against libc" errors
  2. Fixed native host builds — build script omits -Dtarget when building for the host platform so Zig finds system libraries (X11, libpng, etc)

usecomputer@0.1.0

24 Mar 09:18

Choose a tag to compare

  1. Standalone executable — ships as a self-contained binary, no Node.js required at runtime

  2. Linux X11 screenshot support — capture screens on Linux via XShm with XGetImage fallback on XWayland

  3. Screenshot coord-map and scaling — longest edge scaled to 1568 px with coordMap field for accurate pointer remapping:

    usecomputer screenshot ./shot.png --json
    usecomputer click -x 400 -y 220 --coord-map "0,0,1600,900,1568,882"
  4. New debug-point command — draw a red marker at a mapped coordinate to validate clicks before executing:

    usecomputer debug-point -x 400 -y 220 --coord-map "0,0,1600,900,1568,882"
  5. Keyboard synthesistype and press commands for text input and key chords:

    usecomputer type "hello from usecomputer"
    usecomputer press "cmd+s"
    cat ./notes.txt | usecomputer type --stdin --chunk-size 4000
  6. Native scroll support — scroll in any direction at any screen position:

    usecomputer scroll --direction down --amount 5
  7. Library exports — import as a Node.js library for use in custom agent harnesses:

    import * as usecomputer from 'usecomputer'
    const shot = await usecomputer.screenshot({ path: './shot.png', display: null, window: null, region: null, annotate: null })
  8. OpenAI and Anthropic computer-use examples — README includes full agentic loop examples for both providers