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

@tansr/cli

v0.9.0

Published

Tansr - agent CLI platform for organizations

Readme

Tansr

面向商业组织的自动化智能生产力编排系统 —— 智能体 CLI 底座(一期)。

  • 双协议模型网关(Anthropic Messages / OpenAI Chat Completions),国内五厂商官方 Anthropic 端点直连
  • 同一内核四种运行形态:TUI / headless(-p --json)/ serve(REST+SSE)/ acp(stdio JSON-RPC)
  • 权限引擎 + 审计事件流(不可关闭)、扩展体系(commands/hooks/skills/MCP/插件)、i18n(zh-CN/en/ja/ko)

快速开始

pnpm install
pnpm dev          # tsx 免编译直跑(开发)
pnpm test         # node:test(tsx loader)
pnpm build        # esbuild → dist/tansr.mjs(生产单文件)
node dist/tansr.mjs --version

要求 Node ≥ 22.13、pnpm 11。工程约定见 AGENTS.md

仓库布局

packages/protocol   L0 契约:IR 消息模型/事件协议/Journal/配置 schema(MIT)
packages/i18n       L0.5 国际化运行时(zh-CN/en/ja/ko)
packages/providers  L1 双协议网关(+OpenAI Responses 适配)
packages/kernel     L2 智能体内核(查询环/工具/权限/扩展/MCP/插件)
packages/{tui,server,cli,sdk}  L3/L4 表面与装配(TUI/serve/acp/SDK 四形态齐备)
bench/              验收基准(SWE-lite/pty/启动/看板)
build/              esbuild 构建管线(ESM + SEA 双档)
scripts/            测试运行器 / i18n 覆盖率 / release 三件
spikes/             独立验证项目(不进 workspace)
doc/                设计事实源(00 总览导读为入口)

文档

doc/00-总览导读.md 进入;开发任务卡与进度勾选表在 doc/09

SDK 集成请读 SDK 技术手册,其中 §4.7 说明会话恢复、缓存有效期和用量排障;Electron、serve、Android/iOS 的接线与验收要求见 会话与缓存接入检查单。恢复聊天记录不等于恢复会话,恢复会话也不保证厂商缓存仍有效。

许可证

核心闭源(见 LICENSE);packages/protocolpackages/sdk 为 MIT。