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

deveco-harness

v0.1.2

Published

OpenCode plugin for DevEco and HarmonyOS development workflows

Readme

DEVECO-HARNESS

面向 DevEco 与 HarmonyOS 开发工作流的 OpenCode 插件。

功能概览

  • Agents:覆盖 DevEco Code 风格的 buildplan,并支持通过 deveco-harness.jsonc 自定义 Agent。
  • Tools:兼容 DevEco Code 工具名(build_projectstart_apphdc_logswitch_cwdarkts_checkplan_write)。
  • Skills:迁移自 DevEco Code 的 Skills(arkts-error-fixesarkts-grammar-standardsarkts-runtime-fixarkui-knowledgedeveco-create-project),通过 OpenCode skills.paths 注入。

安装

通过 DevEco CLI 安装(推荐)

deveco plugin deveco-harness

全局安装:

deveco plugin deveco-harness --global

本地开发

先构建本包:

bun install
bun run build

然后在 OpenCode 配置中添加插件:

{
  "plugin": ["file:///absolute/path/to/deveco-harness"]
}

在本工作区(Windows)的本地插件路径示例:

{
  "plugin": ["file:///c:/DiskF/gitcode/oc_omo/deveco-harness"]
}

配置

在以下任一位置创建 deveco-harness.jsonc

  • ~/.config/opencode/deveco-harness.jsonc
  • <project>/deveco-harness.jsonc
  • <project>/.opencode/deveco-harness.jsonc

完整配置项见 deveco-harness.example.jsonc

架构

遵循 oh-my-openagent 使用的 OpenCode 插件架构:

  1. src/index.ts 默认导出 PluginModule
  2. src/create-plugin-module.ts 构建 server() 插件并返回 hooks。
  3. config hook 覆盖 OpenCode 的 build / plan Agent,并注入 skill 路径。
  4. tool hook 暴露 DevEco CLI 工具。