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

work-ally

v0.2.3

Published

`work-ally` 是一个把当前项目连接到命名 assistant 办公桌与官方 Codex runtime 的薄编排层。

Readme

work-ally

work-ally 是一个把当前项目连接到命名 assistant 办公桌与官方 Codex runtime 的薄编排层。

快速入口

  • 产品使用者:PRODUCT.md
  • 产品同事:docs/product-onboarding.md
  • 研发同事:docs/developer-workflow.md
  • 值班排障:docs/ops-runbook.mddocs/troubleshooting.md

Desk V2(当前基线)

assistant 办公桌根目录:~/.ally/desk/<assistant_id>/

~/.ally/desk/<assistant_id>/
├── AGENTS.md
├── ally.toml
├── Desk/
│   ├── PROFILE.md
│   ├── MEMORY.md
│   ├── conversations/
│   └── journal/
└── .system/
    ├── config.env
    ├── codex-home/
    │   ├── AGENTS.md
    │   └── config.toml
    ├── runtime/
    ├── logs/
    ├── runs/
    ├── cache/
    ├── routines/
    └── archive/

用户路径

ally setup <assistant_id> --workspace /path/to/project
ally --assistant <assistant_id> desk
ally config show --assistant <assistant_id>
ally start --assistant <assistant_id>
ally status --assistant <assistant_id>

人格与记忆设置

先拿到办公桌路径:

ally --assistant <assistant_id> desk

然后编辑这两个文件:

  • 人格/风格/原则:~/.ally/desk/<assistant_id>/Desk/PROFILE.md
  • 长期记忆:~/.ally/desk/<assistant_id>/Desk/MEMORY.md

修改后建议执行:

ally --assistant <assistant_id> restart

assistant_id 规则:^[a-z][a-z0-9_-]{1,31}$

配置与模型作用域

  • 用户配置真源:ally.toml(固定 V1 schema)
  • CLI 配置命令:ally config show|set
  • global 模型:写入 ally.toml
  • current 模型:写入 work-session 元数据
  • 优先级:current > global
  • 飞书会话命令:/model show/model set global|current .../model reset current

安全边界

  • API key 由 ally config set api_key 写入 assistant 的 ally.toml
  • API key 不落盘到 .system/codex-home/config.toml
  • config.toml 仅保留 env_key
  • 启动时由 ally start 注入运行环境变量(不依赖全局 shell env)

维护入口

  • 命令分发:internal/dispatch.sh
  • 通用路径/状态:internal/lib/common.sh
  • assistant 生命周期:internal/modules/runtime/*.sh
  • assistant 管理:internal/modules/assistant/manage.sh
  • bridge 入口:bridge/src/server.ts
  • 入站主流程:bridge/src/receiver.ts

常用命令

ally setup <assistant_id> --workspace /path/to/project
ally config set model openai/gpt-5.4 --assistant <assistant_id>
ally config set reasoning_effort medium --assistant <assistant_id>
ally config set api_key <your_provider_api_key> --assistant <assistant_id>
ally start --assistant <assistant_id>
ally status --assistant <assistant_id>
ally stop --assistant <assistant_id>
ally logs bridge --assistant <assistant_id>
ally assistant list
ally global list