Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

opencode-runway

Latest version: v1.0.1

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: isavonxz-type
1 Stars
0 Forks
3 Versions
TypeScript Repo language

Scan summary

opencode-runway was last scanned on 28 Nov 2026 at version 1.0.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published on 28 Nov 2026.
  • Findings: No rules fired in version 1.0.1.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.1 LATEST 28 Nov 2026 No rules fired
1.0.0 28 Nov 2026 No rules fired
0.0.0-stage 28 Nov 2026 Not shown

No rules fired in 1.0.1

Findings

Findings for v1.0.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.0.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

opencode-runway

opencode-runway adds a button to the session header of OpenCode Desktop. It shows how long the session has been open and how much of your subscription quota is left for the model you are using.

The quota follows the model selected in the composer. With a ChatGPT model it shows your ChatGPT plan, and with a Claude model it shows your Claude plan. For a model that does not run on a subscription (an API key, for example), only the session age is shown.

What it shows

  • The session age and the weekly quota in the button, for example 1d 9h · GPT 30%.
  • In the panel, the 5-hour and weekly windows with a bar, the time until each one resets, and the reset date.
  • A warning color from 80% used and a danger color from 95%.
  • A switch for showing percentage used or remaining. The choice is stored.

Requirements

  • OpenCode Desktop 2.4.2 or later. The GUI plugin API is experimental and may change between releases.
  • A ChatGPT or Claude subscription connected in OpenCode.

Install

opencode plugin add opencode-runway

Or add it to your global opencode.json or opencode.jsonc. OpenCode Desktop reads plugins from this file, not from cli.json.

{
  "plugins": ["opencode-runway"]
}

To update or remove it:

opencode plugin update opencode-runway
opencode plugin remove opencode-runway

Where the numbers come from

The plugin never calls a provider on its own and never reads or stores your credentials. It only reads quota data that arrives with the responses OpenCode already receives:

Subscription Source
ChatGPT x-codex-* response headers and codex.rate_limits WebSocket events
Claude (Claude Agent) The rate limit reported with each model step
Claude (API connection with a subscription login) anthropic-ratelimit-unified-* response headers

These are not documented, stable APIs, so a provider can change them. When no reading is available the panel says so and links to the provider's usage page.

A reading appears after the first reply from that provider. Readings older than 15 minutes are marked as stale, and a window is hidden once its reset time has passed.

Limits

  • The data reflects the last response from each provider. Usage from other apps shows up only after your next reply here.
  • Only the built-in local OpenCode server is read. Remote servers show the session age only.
  • The 5-hour window can be absent: some plans report only a weekly limit.

Development

npm install
npm run typecheck
npm test
npm run build

The server part (src/index.ts) listens to responses and exposes the readings over a typed RPC. The Desktop part (src/gui.tsx) renders the button and the panel and is built to dist/gui-experimental.cjs with the preset from @opencode/plugin/gui/vite.

To try a local checkout, add its absolute path to plugins in your global opencode.json. Keep the checkout outside ~/.config/opencode/plugins/: OpenCode auto-discovers every folder there and loads only its server part, so the Desktop button would not appear.

License

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm opencode-runway

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229