@conanmontreal/crush

中文文档
0.100.0-fork.87发布于 2026/11/10FSL-1.1-MITES Module近 30 天下载 1.2万

A powerful terminal-based AI assistant for developers, providing intelligent coding assistance directly in your terminal. (pbtrudel fork with local patches)

原始使用文档

@conanmontreal/crush

A fork of Charm's Crush, a terminal-based AI coding assistant, carrying local patches:

  • Copilot Responses-API routing can be extended from a user config file (~/.config/crush/copilot-responses-models) without rebuilding.
  • Mistral: content-block streaming deltas are rewritten into standard reasoning/text shapes, reasoning history is replayed in Mistral's thinking block format, and requests are signed like the Mistral Vibe CLI so a subscription-linked key draws on the Vibe allowance.
  • Test-suite hardening: the binary is built from a tree where go test can never launch a browser.

Install

npm install -g @conanmontreal/crush

The postinstall step downloads the patched binary for Linux x86_64 from the fork's GitHub releases and verifies its sha256 checksum. Fork builds are Linux-only; on other platforms install upstream crush or build the fork from source.

Both this fork and upstream provide the same crush command, so uninstall the upstream package first if it is installed:

npm uninstall -g @charmland/crush

The fork reads the same configuration as upstream (~/.config/crush/, project .crush/ directories), so no config changes are needed.

Update

npm install -g @conanmontreal/crush@latest

Every merge to the fork's default branch produces a new version; the pipeline stages it on npm and a maintainer approves it with 2FA.


Maintainer note: install.js, lib.js and run-crush.js are the wrapper scripts GoReleaser Pro generates for npm packages (copied verbatim from an installed @charmland/crush 0.98.1). goreleaser's npm publisher is Pro-only, so the publish npm workflow packages this directory itself: lib.js reads the archives manifest in package.json at install time and downloads the archive matching ${process.platform}-${process.arch} from the release URL, verifying the sha256 digest. To refresh the scripts, copy the three files out of a newer installed @charmland/crush package directory and re-run the local end-to-end install test.

版本与发布记录

@conanmontreal/crush 共发布 71 个版本,首次发布于 2026/10/13;过去 12 个月发布了 71 个版本。

版本发布日期距今
0.100.0-fork.87latest2026/11/10今天
0.100.0-fork.862026/11/10今天
0.100.0-fork.852026/11/10今天
0.100.0-fork.842026/11/073 天前
0.100.0-fork.832026/11/073 天前
0.100.0-fork.822026/11/073 天前

关于 @conanmontreal/crush 的常见问题

@conanmontreal/crush 是什么?

A powerful terminal-based AI assistant for developers, providing intelligent coding assistance directly in your terminal. (pbtrudel fork with local patches)

如何安装 @conanmontreal/crush?

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

@conanmontreal/crush 支持 TypeScript 吗?

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

@conanmontreal/crush 支持 ESM 还是 CommonJS?

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

@conanmontreal/crush 可以商用吗?

@conanmontreal/crush 使用 FSL-1.1-MIT 许可。声明的许可为 FSL-1.1-MIT,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@conanmontreal/crush 的下载量有多少?

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

@conanmontreal/crush 还在维护吗?

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