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

@dotobokuri/fleet-console

v1.5.5

Published

Fleet Console - standalone web surface for observing Fleet CLI workspaces, carrier jobs, live output streams, and terminals.

Readme

Fleet Console

Standalone loopback web console for observing carrier jobs, live output streams, and multi-session PTY terminal workspaces.

What It Does

Fleet Console owns its own local HTTP server. Terminal sessions are spawned by the console server and observed in-process; carrier events are streamed to the browser through the observer API.

  • Console-owned terminal sessions and observed jobs in a navigable rail.
  • Workspace hub sessions created from OS-native folder selection.
  • Console-spawned Agent CLI PTYs with in-process observation.
  • Per-job carrier tracks with incremental output text, reasoning folds, and tool-call activity.
  • Codex/Fleet Wiki browsing under the shared Console GNB at /console/codex.
  • Browser observer snapshots and SSE streams backed by console-owned global observed ids.
  • Browser terminal access through short-lived tickets over WebSocket.

Runtime Channels

| Channel | Purpose | Token Boundary | |---|---|---| | /observer/* | Browser snapshot and SSE observer surface. | Loopback-only; no browser bearer token. | | POST /terminal/folders/pick | Opens a native folder picker and returns a one-use folder grant, or { cancelled: true }. | Requires the terminal Origin boundary; selected paths are kept server-side. | | POST /terminal/sessions | Consumes { folderGrantId } to create a console-spawned Agent CLI PTY session. | Raw cwd values from browser requests are rejected. | | GET /terminal/sessions | Lists non-secret terminal session metadata for hydration. | Requires the terminal Origin boundary. | | POST /terminal/ticket + /terminal/ws | Browser terminal PTY transport; ticket requests may include { sessionId } and default to "default" for compatibility. | Browser receives a one-use ticket. | | /console/ | Static React client served from this package's dist/client. | Served directly from the loopback console URL. | | /console/codex/* | Console-owned Codex/Fleet Wiki web, workspace API, and migrated Maritime Codex client. | Admin workspace registration uses the lock bearer token; browser reads stay token-free on allowed local origins. |

/observer/tenants may include terminalSessionId for console-owned terminal sessions. /terminal/ws keeps the same path and query shape.

Session Binding

When the console creates a terminal session, it generates a session id, resolves the selected Agent CLI through the shared fleet-admiral runtime, and keeps the selected absolute cwd server-side. The console records non-secret session metadata for observer hydration.

Folder grants are one-use and in-memory. Folder picker cancellation is a normal response. Picker failures are reported with typed errors such as unsupported_platform, dialog_unavailable, dialog_timeout, and invalid_folder.

Security Notes

HTTP surfaces are loopback-only. Browser observer routes are directly available on loopback and terminal routes retain their Origin boundary. MCP session tokens, bootstrap tokens, and selected absolute paths are not exposed through browser payloads, URL query strings, SSE frames, terminal tickets, logs, or static assets.

Codex/Fleet Wiki routes preserve the migrated wiki security boundary: Host allowlist, Origin checks for write routes, loopback write gates, path containment, DOMPurify markdown sanitization, strict Mermaid rendering, and lockfile bearer auth for workspace registration.

Usage

fleet console        # via fleet-cli
fleet-console        # standalone binary
fleet-console status
fleet-console stop
fleet wiki           # opens the console-owned Codex surface
fleet-wiki           # standalone compatibility binary from this package

The launcher ensures the local console server is running and opens /console/ directly without browser token fragments.

Development

pnpm --filter @dotobokuri/fleet-console dev
pnpm --filter @dotobokuri/fleet-console test
pnpm --filter @dotobokuri/fleet-console typecheck
pnpm --filter @dotobokuri/fleet-console build

build emits dist/cli.mjs and dist/client/. There is no external embed step.

See AGENTS.md for ownership, token-boundary, and streaming invariants.