@fnndsc/argus

中文文档
0.58.4发布于 2026/11/15MITES Module近 30 天下载 9151

ARGUS: the LCARS web surface for mise — a browser console over a calypso session

原始使用文档
文档目录4 节
  1. Running the demo
  2. The faces it wears
  3. On TheLCARS.com
  4. Structure and boundaries

ARGUS

ARGUS is an LCARS-based web console and terminal surface for mise. It is one possible ChRIS user experience, not the canonical or exclusive UI.

ARGUS attaches to a CALYPSO session and presents an indwelling terminal surrounded by graphical instruments. Those instruments organize the operational domain into Files, Runs, Tools, Sources, and Compute. They consume CALYPSO's public wire contract and do not speak directly to CUBE or chrisapi. The terminal is xterm.js drawing a chell the daemon runs for the page under a pseudo-terminal; on a host where node-pty did not build, the console falls back to the deprecated transcript (see docs/architecture.adoc).

The first implementation increment is live: the LCARS frame, the terminal as a retractable drawer attached over the wire, and the Files instrument repainting from fs.listing envelope models. Typing ls in the terminal updates the Files panel as data, and activating a directory row in the panel lowers to the same cd and ls commands an operator could type. Two projections of one session, in both directions.

Running the demo

ARGUS needs no download: its frame, font and LCARS sounds are all in the repository.

Build the workspace from the repository root and start a daemon from that same root:

npm install
npm run build
node packages/chell/dist/index.js <user>@<cube-url> -p <password> --daemon

The daemon serves the built ARGUS bundle from the same loopback port as the wire and prints the URL to open, token included:

[+] ARGUS web surface at http://127.0.0.1:<port>/?token=<token>

The bundle is discovered from apps/argus/dist relative to the daemon's working directory; set CALYPSO_WEB_ROOT to serve a bundle from anywhere else. Without a token in the URL, the page offers a paste form. During UI development npm run dev -w @fnndsc/argus starts a Vite dev server; pass ?ws=ws://127.0.0.1:<port> to point it at a running daemon across origins.

The faces it wears

The look is switched in the page and remembered per browser. There are two kinds of choice on that control.

LCARS, in four colour schemes on one frame: curved elbows, a coloured gutter, Antonio set hard right.

scheme
MEDICAL (default)Clinical blues. What a PACS pane sits in all day.
LOWER DECKSThe original, warm and loud.
CERRITOS GOLDGold and orange.
NEMESISCool and dark.

PHAROS is not a scheme but a theme of its own on the same tokens: ARGUS's own visual language, the lighthouse, flat. Square corners, one curve in one seat, set in Chakra Petch. Owing nothing to anyone.

The chrome is borrowed fiction; the design under it is not. docs/aegis.adoc (AEGIS) is the interface standard every pane answers to, and both looks are held to a canon, the computed style of every element of the frame, committed under tests/smoke/canon/, so neither drifts by accident. A change to the frame either matches the canon exactly, or says out loud that it meant to change it.

On TheLCARS.com

ARGUS grew inside that template and no longer uses any of it. The frame is written from ARGUS's own canon. The typeface is Antonio, vendored here under the SIL Open Font License; it is the Antonio Project's, and the template only carried a copy. The four sounds are synthesised by scripts/sounds_make.mjs.

The attribution stays, and should: the footer credits the template as the inspiration it was. Full reasoning, including the trade-dress question, is in the mise-level ARGUS design.

Structure and boundaries

See docs/architecture.adoc for the approved structure and the mise-level ARGUS design for its place in the wider system, including the LCARS licensing position (the genuine Lower Decks theme is materialized per machine from the author's own download, never redistributed from this repository). The forward design for local IDE, filesystem, terminal, and workspace capabilities is recorded in docs/operator-companion.adoc. The surface's design language is docs/aegis.adoc (AEGIS: the laws, machine-checked), and the component reference beneath it is docs/components.adoc, one section per thing a pane declares into.

This package is published as @fnndsc/argus and rides the monorepo's install, build, and CI; calypso serves its built bundle. Browser code imports only @fnndsc/calypso/protocol, the published wire contract; the execution stack stays out of the bundle by rule.

版本与发布记录

@fnndsc/argus 共发布 120 个版本,首次发布于 2026/09/11;过去 12 个月发布了 120 个版本。

版本发布日期距今
0.58.4latest2026/11/151 天前
0.58.32026/11/141 天前
0.58.22026/11/141 天前
0.58.12026/11/141 天前
0.58.02026/11/105 天前
0.57.02026/11/087 天前

关于 @fnndsc/argus 的常见问题

@fnndsc/argus 是什么?

ARGUS: the LCARS web surface for mise — a browser console over a calypso session

如何安装 @fnndsc/argus?

在项目目录运行 npm install @fnndsc/argus,或使用 pnpm add / yarn add / bun add。

@fnndsc/argus 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/fnndsc__argus 是否存在。

@fnndsc/argus 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@fnndsc/argus 可以商用吗?

@fnndsc/argus 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@fnndsc/argus 的下载量有多少?

根据 npm 官方下载统计,@fnndsc/argus 在 2026/10/15 – 2026/11/13 这 30 天内被下载 9,151 次,日均约 305 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@fnndsc/argus 还在维护吗?

最新版本 0.58.4 发布于 2026/11/15(1 天前);至今共发布 120 个版本,其中过去 12 个月发布了 120 个;首次发布于 2026/09/11。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。