npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

neoctl

v0.2.45

Published

TypeScript scaffold for a streaming agent runtime with a REPL UI layer.

Readme

Neo Engine

Neo 的 TypeScript 核心运行时,提供 neo 命令行、模型调用、工具执行、会话管理和子代理任务。Web 和 Desktop 共用这套核心。

子代理调度及管理工具(subagent_run/output/list/get/stop/message/resume)默认关闭:未配置时不会向模型暴露,也不能通过工具别名调用。Web/Desktop 可在工具设置中显式开启,会话设置可覆盖全局设置;已有明确保存的设置保留。SDK 使用者可通过 ToolRegistry.setEnabled(name, true) 显式开启。子代理内部的 subagent_report 汇报通道不受此默认开关影响。

安装使用

需要 Node.js 20+。

npm install -g neoctl
neo

首次使用输入 /login 配置模型。常用命令:

neo -help                  # 查看帮助
neo run "总结当前仓库"       # 执行一次任务
neo -web                   # 打开核心自带的 Web 界面

对话中可用 /new 新建会话、/sessions 查看历史、/compact 压缩上下文。

模型配置

支持 OpenAI 兼容的 Responses 和 Chat Completions 接口。除交互配置外,也可在工作目录的 .env 中填写:

MODEL_PROVIDER=openai
OPENAI_API_KEY=your-api-key
OPENAI_BASE_URL=https://api.openai.com
OPENAI_MODEL=your-model-name
OPENAI_ENDPOINT=auto

将密钥和模型名替换为实际值。NEO_ENV_FILE 可指定其他配置文件。

源码开发

在 engine/ 目录执行:

npm ci
npm run dev

| 命令 | 用途 | | --- | --- | | npm run build | 编译源码到 dist/ | | npm start | 运行已构建的 CLI | | npm run typecheck | 检查源码和测试类型 | | npm test | 运行单元测试 | | npm run standalone | 构建当前平台的便携分发目录 |

源码位于 src/,测试位于 tests/。便携构建输出到 standalone/<平台>-<架构>/。

更多测试命令见 tests/README.md。