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

@dootask/cli

v1.3.6

Published

DooTask 命令行工具 doo(gh 式 CLI,覆盖任务/项目/对话/消息/页面操作/应用插件等)

Readme

@dootask/cli

DooTask 的命令行工具 doo(gh 式 CLI)的 npm 分发渠道。既可供人使用,也面向 AI Agent 设计——结构化输出、明确退出码、环境变量注入认证、危险操作护栏。

安装

# 全局
npm i -g @dootask/cli
# 或
yarn global add @dootask/cli

# 项目内
npm i @dootask/cli

# 免安装一次性运行
npx @dootask/cli --help

npm/yarn 会按 optionalDependenciesos/cpu 字段自动只装与当前平台匹配的二进制子包(约 8 MB)。

使用

doo --help
doo auth login --server https://your-dootask.com --email [email protected]
doo task list --project 130
doo app catalog --search 客户管理

认证优先级--token / --server 命令行参数 > DOO_TOKEN / DOO_SERVER 环境变量 > 配置文件(doo auth login 写入 ~/.config/doo/config.json)。

更完整的命令说明见 doo CLI 文档


For AI Agents

doo 适合作为工具交给 LLM Agent。把下面这段贴进 system prompt 即可接入:

你可以使用 `doo` 命令行调用 DooTask。约定:
- 认证已通过 DOO_SERVER / DOO_TOKEN 环境变量注入,无需登录。
- 命令都加 --json 取机器可读输出(需纯净再加 --quiet)。
- 退出码:0=成功;3=未认证;1=其它错误。数据在 stdout,错误在 stderr("doo:" 前缀)。
- 删除等危险操作先征得用户同意,再带 --yes 重发(非交互不加会被拒绝)。
- 用 `doo --help` / `doo <命令> --help` 自查参数,不要臆造。
先运行 `doo user info --json` 确认认证可用。

封装成工具时:argv 传数组、认证仅经环境变量、不要开放 auth 子命令。生产参考实现见 DooTask AI 插件的 doo_tool.py


平台支持

| 子包 | OS | CPU | |---|---|---| | @dootask/cli-linux-x64 | linux | x64 | | @dootask/cli-linux-arm64 | linux | arm64 | | @dootask/cli-darwin-x64 | darwin | x64 (Intel Mac) | | @dootask/cli-darwin-arm64 | darwin | arm64 (Apple Silicon) | | @dootask/cli-win32-x64 | win32 | x64 |

其他平台请从 源码构建

源码

doo 本身用 Go 编写,源码在 server/go/cmd/doo/。本 npm 包仅做分发。