New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@mattstack/rt-client

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mattstack/rt-client

Typed client for the rt daemon: repos, worktrees, ports, tokens, and the event relay

Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@mattstack/rt-client

Typed client for the rt daemon.

rt keeps the per-repo state a dev environment needs: worktrees, assigned ports, tokens, dev servers, and a live event relay. This package is how other programs read and drive that state without shelling out to the CLI and parsing text.

bun add @mattstack/rt-client
import { rtCommand, readProjectMRs } from '@mattstack/rt-client';

const repos = await rtCommand(['repos', 'list']);
const mrs = await readProjectMRs('group/repo');

Requires a running rt daemon. Install rt from the latest GitHub Release (./rt --post-install), then rt verify.

Bun-only: the settings exec path (src/settings/exec.ts) shells out via Bun.spawn, so this package does not run under Node.

@mattstack/glance is a peer dependency: rt-client returns glance's forge types so merge request shapes stay identical across rt, gitq, and mr-board.

License

MIT

FAQs

Package last updated on 22 Aug 2026

Related posts