@eyeauras/insight-cli

中文文档
0.5.8发布于 2026/10/27MITTypeScriptES Module构建来源已验证近 30 天下载 3663

Agent-facing durable sessions and isolated Ghidra research contexts

原始使用文档
文档目录3 节
  1. Install
  2. Quick example
  3. Benchmarks

insight-cli

A CLI/API for reverse-engineering agents. Spend more time understanding a program and less time managing Ghidra processes or writing scripts around missing analysis metadata.

  • Search raw strings and code references, and inspect functions in sparse Ghidra databases.
  • Give each agent an isolated research context, with saved work and explicit merge/refresh.
  • Use structured JSON results and a persistent client for sequences of research calls.

Install

Requires Node.js 24+:

npm install --global @eyeauras/insight-cli
insight-cli profile create local
insight-cli profile set-default local
insight-cli permissions grant Update
insight-cli ghidra install

The last command downloads and verifies compatible Ghidra and JDK runtimes. No source checkout or separate Java installation is needed. See runtime setup for existing installations and offline setup.

For an AI agent, connect the packaged skills. For repeated API calls, use the persistent client.

Quick example

Open a binary in a new private research context:

insight-cli ghidra open ./client.exe --session new --json

Reuse the returned session and target IDs in place of SESSION and TARGET:

insight-cli ghidra strings anchors --session SESSION --target TARGET \
  --text config --encodings ascii,utf16le --json
insight-cli sessions status SESSION --target TARGET --json

The search reads raw literal bytes, so it does not require defined Ghidra strings. Results include scan coverage and a continuation cursor when incomplete. New imports skip full automatic analysis by default; add --analysis to the first open to opt in. Continue with the research guide.

Benchmarks

In a fresh-agent PoE 2 investigation, installed insight-cli 0.4.0 with its persistent client finished in 16:35, versus 19:43 through Ghidra MCP: 15.9% less wall time, with comparable core findings. This is one adaptive research pair, not a general speed guarantee.

Benchmarks includes phases, earlier runs and comparison limits. Development history and detailed reports covers architecture, acceptance, other experiments and releases. See Contributing for development.

版本与发布记录

@eyeauras/insight-cli 共发布 22 个版本,首次发布于 2026/10/17;过去 12 个月发布了 22 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.5.8latest2026/10/2718 天前
0.5.72026/10/2718 天前
0.5.62026/10/2618 天前
0.5.52026/10/2519 天前
0.5.42026/10/2421 天前
0.5.32026/10/2321 天前

关于 @eyeauras/insight-cli 的常见问题

@eyeauras/insight-cli 是什么?

Agent-facing durable sessions and isolated Ghidra research contexts

如何安装 @eyeauras/insight-cli?

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

@eyeauras/insight-cli 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@eyeauras/insight-cli 支持 ESM 还是 CommonJS?

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

@eyeauras/insight-cli 需要什么版本的 Node.js?

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

@eyeauras/insight-cli 可以商用吗?

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

@eyeauras/insight-cli 的下载量有多少?

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

@eyeauras/insight-cli 还在维护吗?

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