npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@intuned/computer-use

v0.2.1

Published

Intuned SDK computer-use agent: drive a desktop through xdotool with a vision-capable model

Readme

@intuned/computer-use

Intuned SDK computer-use agent (BETA): drive a desktop with any vision-capable model — screenshots in, mouse/keyboard actions out, executed through xdotool on the X display the process can reach. Built on the AI SDK, routed through the Intuned AI gateway (or a direct provider API key). For driving a Playwright page instead, see @intuned/browser-use.

import { executeTask } from "@intuned/computer-use";

const result = await executeTask({
  task: "Open the browser, search for 'weather in Amman', and report the temperature.",
  maxTurns: 30,
  timeoutInMs: 300_000,
});
console.log(result.finalText, result.totalCostInCents);

Highlights

  • Provider-agnostic tools: one function tool per computer action, named like Anthropic's computer toolset (screenshot, left_click, type, key, scroll, ...), so Claude, GPT and Gemini all see the same tools. Actions issued in one turn run in order and stop at the first failure.
  • Screenshots on demand: only scroll and wait return a screenshot; the agent calls screenshot after an action that changes the screen.
  • Batched actions: a batch tool runs several actions in one call, in order, stopping at the first failure.
  • Simple screenshots: ImageMagick's import -window root, scaled with convert, the same approach as Anthropic's computer-use-demo. Displays larger than XGA/WXGA are scaled down for the model and coordinates scaled back up.
  • Structured results: pass an outputSchema (JSON schema) and get a schema-validated output object back.
  • Extensible: add your own function tools via tools.

Requirements

  • xdotool and ImageMagick (import, convert) on the machine. Do not substitute xwd (its multi-visual dump blacks out windows with their own visual, e.g. Wine dialogs) or scrot (its shared-memory grab crashes sandboxed TigerVNC servers).
  • An X display: set DISPLAY_NUM, and WIDTH / HEIGHT, or pass the same via the display option; the size falls back to xdotool getdisplaygeometry.

Versions

Versions 0.1.x of this package were the Playwright-page agent, which now lives at @intuned/browser-use. From 0.2.0 on, @intuned/computer-use drives a desktop through xdotool as described here.

Development

yarn install
yarn build   # tsc + babel into dist/
yarn lint