@algforce_ai/reporsa

中文文档
0.1.14发布于 2026/11/02AGPL-3.0-onlyES Module零依赖近 30 天下载 1.3万

File-based report CLI for agents, with a bundled rendering runtime

原始使用文档

Reporsa CLI

This package launches the native Reporsa CLI and installs the matching complete runtime through an optional alias to a platform version of this same package. No Rust, pnpm, or source checkout is needed. Node.js >= 22.14 is required for the npm launcher. Do not omit optional dependencies. This release provides Windows x64, Linux x64 (glibc >= 2.35), and macOS Intel and Apple Silicon. Linux requires Ubuntu 22.04 or an equivalent glibc environment; Alpine/musl and Linux arm64 are not supported.

Published npm versions are public and require no npm account to install:

npm install --global @algforce_ai/reporsa
reporsa --version
reporsa doctor --json
reporsa describe --json
reporsa guide start

For a pinned temporary invocation, use npx --yes @algforce_ai/reporsa@<version> describe --json. For an update, install the desired exact version globally again. Uninstall with npm uninstall --global @algforce_ai/reporsa. Stop any running report browser with reporsa web stop --json before changing or removing installations.

Check this installation with reporsa update --check --json, or upgrade it with reporsa update --json. The updater preserves its actual global prefix, including private agent-host installations. Ordinary commands show cached update notices on stderr, with background checks at most daily. Set REPORSA_AUTO_UPDATE=1 to upgrade before a command, REPORSA_PIN_VERSION=<exact-version> to keep a fixed version, or REPORSA_NO_UPDATE_NOTIFIER=1 to disable automatic checks. Read reporsa guide updates for agent startup, service restart requirements and unsupported installation modes. Report workspaces and report browser configuration live outside the package.

The runtime includes Node, report browser, guides and schemas. PNG capture reuses a working Chrome, Edge or Chromium; when none is usable, the first PNG request downloads the matching checksum-pinned headless browser into a user cache. Safari can remain the default macOS viewer. Core validation and Office exports do not need a running report browser or browser. Installation does not configure an agent or create a workspace.

Original Reporsa code is licensed under AGPL-3.0-only. ALGFORCE INC. may offer separate commercial terms; contact [email protected]. See LICENSE and LICENSING.md. Third-party code and the embedded font retain their own terms. The intended source repository is https://github.com/algforcexu/reporsa-cli.

The source template remains private:true to prevent accidental publishing from a checkout. Authorized release archives use public npm access. PNG browser setup uses the checksum-pinned official Google download on every platform. Linux also needs unzip for first PNG setup (sudo apt-get install unzip on Ubuntu), and the system libraries required by Chrome. Core commands and Office exports do not require unzip or Chrome.

Matching corresponding source: npm pack @algforce_ai/reporsa@<version>-source. See SOURCE.md. The separate Studio application is not included.

版本与发布记录

@algforce_ai/reporsa 共发布 78 个版本,首次发布于 2026/10/22;过去 12 个月发布了 78 个版本。

版本发布日期距今
0.1.14latest2026/11/024 天前
0.1.14-darwin-x64darwin-x642026/11/024 天前
0.1.14-linux-x64linux-x642026/11/024 天前
0.1.14-darwin-arm64darwin-arm642026/11/024 天前
0.1.14-win32-x64win32-x642026/11/024 天前
0.1.14-sourcesource2026/11/024 天前

关于 @algforce_ai/reporsa 的常见问题

@algforce_ai/reporsa 是什么?

File-based report CLI for agents, with a bundled rendering runtime

如何安装 @algforce_ai/reporsa?

在项目目录运行 npm install @algforce_ai/reporsa,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 reporsa,可以用 npx reporsa 直接运行。

@algforce_ai/reporsa 支持 TypeScript 吗?

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

@algforce_ai/reporsa 支持 ESM 还是 CommonJS?

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

@algforce_ai/reporsa 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22.14.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@algforce_ai/reporsa 可以商用吗?

@algforce_ai/reporsa 使用 AGPL-3.0-only 许可。最严格的 Copyleft:除分发外,通过网络向用户提供基于它的服务也需要开源对应源码。闭源 SaaS 使用前务必评估。以上为概括,不构成法律意见,请以许可原文为准。

@algforce_ai/reporsa 的下载量有多少?

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

@algforce_ai/reporsa 还在维护吗?

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