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

cann-doctor

v0.1.15

Published

CANN fault diagnosis workbench for DeepSeek Harness Desktop

Readme

CANN Doctor

DeepSeek Harness Desktop(DSH)的原生 CANN 故障诊断工作台插件。

  • 安装即注册 CANN Doctor,自动从指定官方源安装五个诊断 Skill。
  • 启动时及每 6 小时检查版本;更新验证后切换,网络失败保留旧版。
  • Skill 完成后在当前会话的右侧工作台展示 Markdown / HTML 诊断报告。
  • 在 DSH 左侧「自动化任务」旁注册独立的 CANN Doctor 入口;可从该面板创建新的诊断会话、提交日志并直接查看报告。
  • 独立工作台按「任务」「资源」「扩展」提供故障诊断(离线、实时、复现与验证三个同页工作区)、知识库、代码库、故障案例集、ErrorCode表、设备管理、模型接入、诊断评测和意见反馈;每个诊断工作区都可附带设备与问题现象,诊断技能由后台自动维护且不在工作台展示状态控件。
  • 设备管理通过 Host 侧非交互 SSH 连接检查设备状态,支持设备增删改查、批量删除和批量状态刷新;SSH 不可用时显示“未知”。
  • 报告提供「本次诊断是否准确?」「👍 诊断准确」「👎 诊断错误」,反馈可更正并持久保存。
  • 「意见反馈」默认提交到 cann-platform/plugin 的 GitCode Issue;配置 DSH 运行环境变量 GITCODE_TOKEN 后即可创建 Issue,意见不会保存到本地。
  • 原生 DSH bundle 已发布到 npm 官方源,另提供本地安装包。

安装

CANN Doctor 0.1.15 已在 npm 官方源公开可见。在 DSH「插件」页面添加 [email protected] 并启用。左侧「自动化任务」旁会出现独立的 CANN Doctor 入口;进入会话后仍可点击顶部 ✚ CANN Doctor 打开右侧工作台。如安装提示需要重启,请重启 Desktop。

CLI 的 Web profile 安装示例:

dsh plugin --profile web add [email protected] --registry=https://registry.npmjs.org/

已通过隔离 DSH profile 的 npm 安装和原生 Host 集成验证。也可在 DSH「插件」页添加 cann-doctor-0.1.15.tgz 的绝对路径安装本地包。若此前遇到 cann-doctor declares no dsh.bundle 或仍在下载 0.0.0-stage 占位包,请取消旧安装并使用固定版本 [email protected] 重试,详见安装说明。

已核实目标:DeepSeek Harness 0.2.1-rc.5。官方 Skill 在首次激活时通过 Git 从 GitCode 下载,需要 Git 与 GitCode 网络访问。故障诊断使用当前会话模型与用户提供的真实日志。采集操作需要 Ascend 目标环境。

使用 CANN Doctor 分析 /path/to/cann-logs,生成有证据链和可信度的报告,并发布到右侧工作台。

完整配置和使用边界见安装说明,在 DSH「发现」页分发见市场索引说明。报告准确性投票保存在本机;「意见反馈」提交到 GitCode Issue;HTML 为禁用脚本的隔离静态预览。

开发与发布

npm ci
npm run pack:release

生成 dist/cann-doctor-0.1.15.tgz、校验和、产物清单及 Release 说明。发布步骤见发布文档,测试和现场验收范围见验证记录,实施记录见计划。

代码结构

| 文件 | 责任 | | --- | --- | | index.js / cordis.patch.yml | 原生 Host:Skill provider、报告工具、命令与认证接口 | | client.js | 独立自动化入口、原生右侧 Tab、报告展示与用户反馈 | | src/skill-manager.js | 官方 Skill 的版本快照、校验与原子切换 | | src/report-store.js | 报告与反馈持久化、会话隔离 | | src/doctor.js | Host/UI 共用业务操作 | | skills/cann-doctor/SKILL.md | 工作台入口与报告交付约定 |

本插件使用 Apache-2.0;下载的官方 Skill 保留各自版权和许可证,见 NOTICE。