New:Socket for Asana Is Now Available.Learn more
Get Started

@kpanks/computer-control

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kpanks/computer-control

Praetor-native computer-use session: PraetorScreen capture + audit + activity-bus streaming, with a pluggable input adapter slot for click/type/scroll/hotkey.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@kpanks/computer-control

Praetor-native computer-use session. Captures the screen via PraetorScreen, audits every action, streams tool.* events on the charter's ActivityBus. Click / type / scroll / hotkey are exposed through a pluggable input adapter so the runtime stays cross-platform.

Install

npm install @kpanks/computer-control

Usage

import { ComputerControlSession } from "@kpanks/computer-control";

const session = new ComputerControlSession({ bus, missionId });
const snap = await session.snapshot();
await session.click({ x: 240, y: 380 });
await session.type("hello");
await session.hotkey(["ctrl", "s"]);

The default input adapter uses nut-tree's vendored binary on Windows and osascript / xdotool on macOS / Linux respectively. Adapters declare their licenseFamily so charters can refuse non-permissive backends.

License

Apache 2.0.

FAQs

Package last updated on 05 May 2026

Related posts