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

@leansoftx/asdm-alink

v0.1.7

Published

ASDM aLink - 本地 agent CLI 守护程序(受控 Agent 本地连接通道)

Downloads

1,158

Readme

ASDM aLink

将本地 AI Coding Agent(CodeBuddy / Claude / OpenCode 等)接入 ASDM aLink 平台的 CLI 守护程序。

安装

npm install -g @leansoftx/asdm-alink

要求 Node.js >= 20.0。

快速开始

# 启动 daemon(后台模式)
alink daemon start \
  --server https://alink.sh \
  --key <your-pat> \
  --name "MacBook-Pro"

# 查看状态
alink daemon status

# 查看日志
alink daemon logs -f

PAT 在 aLink Web UI → 个人设置 → 生成访问令牌 获取。

命令参考

alink daemon start

启动 daemon,连接 aLink 服务器。

| 选项 | 简写 | 环境变量 | 默认值 | 说明 | |------|------|---------|--------|------| | --server <url> | | ALINK_SERVER | — | aLink 服务器地址(必填) | | --key <key> | | ALINK_API_KEY | — | PAT 或 API Key(必填) | | --name <name> | | ALINK_NAME | hostname | runtime 显示名 | | --foreground | | — | false | 前台运行(调试用) | | --log-level <level> | | ALINK_LOG_LEVEL | info | 日志级别(detail/info/warn/error) |

# 前台调试模式
alink daemon start --foreground \
  --server https://alink.sh \
  --key <your-pat> \
  --log-level detail

配置优先级:命令行参数 > 环境变量 > ~/.alink/config.json > 默认值

alink daemon stop

优雅停止 daemon,等待进行中的任务完成。

alink daemon status

查看 daemon 运行状态。

alink daemon status              # 表格格式
alink daemon status --output json  # JSON 格式

alink daemon logs

查看 daemon 日志。

alink daemon logs              # 最近 50 行
alink daemon logs -n 100       # 最近 100 行
alink daemon logs -f           # 持续跟随

alink version

查看版本号。

文件布局

~/.alink/
├── config.json              # 配置(server / key / name)
├── daemon.pid               # PID 文件
├── daemon-YYYY-MM-DD.log    # 日志(按日期轮转,保留 7 天)
└── workspaces/
    └── {taskId}/            # 每个任务的独立工作目录

支持的 Agent

daemon 自动检测并注册以下 agent:

| Agent | 检测命令 | |-------|---------| | CodeBuddy | codebuddy --acp | | Claude | claude | | OpenCode | opencode |

许可证

Proprietary — ASDM Platform