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

oxygen-wf

v0.0.7

Published

> **Beta** — 面向 workflow 自动化实例的终端客户端。管理工作流、执行记录、凭证与空间/项目。

Downloads

1,167

Readme

oxygen-wf

Beta — 面向 workflow 自动化实例的终端客户端。管理工作流、执行记录、凭证与空间/项目。

轻量、仅依赖 @oclif/core,通过浏览器 SSO 登录后调用实例 REST API(/rest),面向人类、脚本与 AI Agent。

安装

# 零安装直接运行
npx oxygen-wf workflow list

# 或全局安装
npm install -g oxygen-wf
pnpm add -g oxygen-wf

登录

首次调用 API 前,通过浏览器 SSO 登录一次:

oxygen-wf login

登录凭证保存在 ~/.oxygen-wf/config.json(权限 0600)。若主配置不存在,会依次回退读取旧版配置:

  • ~/.oxygen-workflows/config.json
  • ~/.workflow-cli/config.json
  • ~/.oxygen-cli/config.json

也可通过环境变量跳过登录(适合 CI / Agent):

  • WORKFLOW_SSO_COOKIE:直接提供 SSO Cookie
  • WORKFLOW_URL:覆盖实例地址(默认 https://oxygenflow.jd.com

常用命令

脚本与 Agent 场景建议加 --json 输出结构化结果;写操作需加 --confirm

# 元信息与诊断
oxygen-wf info --json
oxygen-wf doctor --json

# 工作流
oxygen-wf workflow list --json
oxygen-wf workflow export <id> --file=workflow.json
oxygen-wf workflow create --file=workflow.json --confirm --json
oxygen-wf workflow update <id> --file=updated.json --confirm --json
oxygen-wf workflow copy <id> --confirm --json
oxygen-wf workflow run <id> --json
oxygen-wf workflow activate <id> --confirm --json
oxygen-wf workflow deactivate <id> --confirm --json
oxygen-wf workflow archive <id> --confirm --json
oxygen-wf workflow unarchive <id> --confirm --json
oxygen-wf workflow delete <id> --confirm --json

# 空间/项目
oxygen-wf project list --json
oxygen-wf project list --personalSpace --json
oxygen-wf project get <id> --json

# 执行记录
oxygen-wf execution list --json
oxygen-wf execution get <id> --json
oxygen-wf execution delete <id> --confirm --json

# 凭证
oxygen-wf credential list --json
oxygen-wf credential get <id> --json
oxygen-wf credential delete <id> --confirm --json

| Topic | 子命令 | |-------|--------| | — | logininfodoctor | | workflow | listexportcreateupdatecopyrunactivatedeactivatearchiveunarchivedelete | | project | listget | | execution | listgetdelete | | credential | listgetdelete |

完整列表:oxygen-wf --help;各子命令详情:oxygen-wf workflow --help

Agent 集成

  • SKILL:skills/oxygen-wf/SKILL.md
  • 能力清单:capabilities.json(22 条命令,与 CLI 一一对应)

也可通过 oxygen-cli 安装与管理:

oxygen-cli install oxygen-wf
oxygen-cli skill show oxygen-wf

开发

pnpm install
pnpm verify    # typecheck + lint + test + build

说明

本包通过 SSO Cookie 调用 workflow 自动化平台 REST API(/rest)。