@chosengeneration/fire-code

中文文档
0.83.0发布于 2026/11/07MIT零依赖近 30 天下载 7904

Fire Code: every codebase in one Windows window, each with its own Light Code agent working in parallel

原始使用文档
文档目录5 节
  1. Install
  2. Settings and keys
  3. What it connects to
  4. Theme
  5. Building it

Fire Code

Every codebase you work on, in one Windows window — each with its own Light Code agent, all working at the same time.

  • A sidebar of codebases. Add any folder on your machine. Switch with a click, Ctrl+1…9, or Ctrl+K and a few letters. Hide the sidebar with Ctrl+B for more room; a slim strip keeps every agent's status in view.
  • Agents keep working in the background. Each codebase runs in its own process, so a long task in one never slows another, and switching away pauses nothing.
  • Your existing settings. Point a codebase at the Light Code config it already has — the VS Code extension's, or the Node host's that IntelliJ and PyCharm use — and its providers, MCP servers, search connections and project settings apply in place. Or copy one, or start fresh.
  • Windows notifications when a background agent finishes, needs your approval, or sends one with notify — including scheduled runs. Click one to jump to that chat.
  • JupyterHub folders: Add codebase → On JupyterHub. Fast local search over a copy; edits saved back to the hub; code runs on the hub with hub_run, so hub-only libraries work.
  • See who is waiting for you: a "!" on any codebase whose agent needs your approval, an answer or a form.
  • Refer to other codebases: @payments-api:src/app.py, or just @ and pick one; every agent knows the others.
  • Git changes at a glance: +new ~modified −deleted on each codebase that git manages.
  • Schedules run on time even for sleeping codebases: Fire Code wakes a codebase just before its job is due and lets it sleep again afterwards.
  • Idle codebases sleep after a while to give memory back (never while working, waiting for you, or holding schedules), and wake in a moment when clicked.
  • Reach beyond the codebase: agents read any drive or shared folder, and may write anywhere — asking you every time they write outside the codebase. Keys, passwords and Windows folders stay off-limits.
  • Fast, parallel file tools written in Rust: find files across whole drives and shares, summarise a folder, spot duplicates, read many files at once, and work through huge logs and CSV or Excel files part by part — search, read any window, filter, group and total millions of rows in about a second.
  • Copy, move and zip whole folders on every core — always asking first, with exactly what will be copied, moved, replaced or extracted.
  • Several chats per codebase, each its own agent, safe to run side by side.
  • Reports in Fire Code: Markdown and HTML reports from scheduled runs open in Fire Code's own viewer.
  • One environment for every agent: a startup script (.cmd, .bat or .ps1), folders to put on PATH, and variables — plain values or saved credentials.
  • Everything Light Code does: the same tools, MCP, Python tools, skills, Excel and Outlook, Confluence, Jira, Bitbucket, Jenkins, AutoSys, search and schedules — it is the same agent.

Install

npm i -g @chosengeneration/fire-code
fire-code

Used Sun Code or Sun Light Code before? Fire Code is its new name. Your codebases, chats and credentials move across by themselves the first time Fire Code starts; then remove the old package with npm uninstall -g @chosengeneration/sun-light-code.

Windows 10 or 11 (x64) and Node.js 18 or newer. The package is prebuilt: it has no install scripts and no dependencies, so installing only copies files — nothing is compiled and nothing is downloaded, which is what makes it install cleanly on a locked-down office machine. The window uses Microsoft Edge WebView2, which comes with Windows 11 (and with Edge on Windows 10).

Settings and keys

When you add a codebase you choose where its Light Code settings come from:

ChoiceWhat happens
LinkUses an existing config.json in place. Changes made in Fire Code or in the other app reach both.
CopyTakes a copy now; independent afterwards.
NewEmpty settings, set up in that codebase's Settings.

A folder's own .lightcode/config.json is always used, whichever you choose.

API keys and passwords are not in config files. The VS Code extension keeps them in VS Code's encrypted storage, which another program cannot read, so enter each once in Fire Code — it then shares them with every codebase. Fire Code keeps them in %LOCALAPPDATA%\fire-code\secrets.json, readable by your Windows account only, not in an OS keychain; it says so rather than implying otherwise.

What it connects to

Nothing on its own. Like Light Code, Fire Code has no telemetry, no update checks and no default endpoints: the only hosts contacted are the ones you configure. Each codebase's agent runs on 127.0.0.1 behind a one-time token, and is stopped — with every process it started — when Fire Code closes.

Theme

Settings (Ctrl+,) chooses light, dark or system and an accent colour. Every chat follows them, and so do the window and taskbar icons; each chat keeps its own role colours.

Building it

The source is in apps/sun of the Light Code repository, and Fire Code's Settings can export the whole repository as a zip that builds offline. You need Rust 1.86+ (MSVC) and pnpm; then node apps/sun/scripts/build.mjs.

MIT licensed.

版本与发布记录

@chosengeneration/fire-code 共发布 54 个版本,首次发布于 2026/10/04;过去 12 个月发布了 54 个版本。

版本发布日期距今
0.83.0latest2026/11/072 天前
0.82.02026/11/072 天前
0.80.02026/11/063 天前
0.79.02026/11/054 天前
0.78.02026/11/036 天前
0.77.02026/11/036 天前

关于 @chosengeneration/fire-code 的常见问题

@chosengeneration/fire-code 是什么?

Fire Code: every codebase in one Windows window, each with its own Light Code agent working in parallel

如何安装 @chosengeneration/fire-code?

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

@chosengeneration/fire-code 支持 TypeScript 吗?

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

@chosengeneration/fire-code 需要什么版本的 Node.js?

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

@chosengeneration/fire-code 可以商用吗?

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

@chosengeneration/fire-code 的下载量有多少?

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

@chosengeneration/fire-code 还在维护吗?

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