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

@1agents/dreammate-network

v0.5.0

Published

DreamMate Network L0 协议包:schema + types,零运行时依赖,不含业务逻辑。

Readme

dreammate-network

DreamMate Network 的 L0 协议包:schema + types,零依赖,不含业务逻辑。 版本 0.1.0 | 状态:草案

判断改动该不该进这个包,只看一条:

它是所有 repo 都要共用的词汇,还是某一方的行为? 是词汇 → 进来。是行为 → 出去。

内容

dreammate-network/
├── schemas/                    JSON Schema (draft 2020-12),唯一事实源
│   ├── node.schema.json
│   ├── service.schema.json
│   ├── execution.schema.json
│   └── session-ref.schema.json
├── typescript/types.ts         上述 schema 的 TS 投影,纯类型
├── docs/protocol.md            协议正文
└── package.json

import type { NodeManifest, Execution, SessionURI } from "dreammate-network";

Go / Swift 侧读同一份 schemas/*.json。详见 docs/protocol.md §10

三条不能破的规则

| 规则 | 破了会怎样 | |------|-----------| | Node ≠ Agent | 无 Agent 的录音硬件就进不了网络 | | Capability ≠ Resource | 调度侧与检索侧路径缠在一起 | | Execution 不含 task_id | 体外循环(想到了直接干)变成非法状态 |

依赖规则

L4 ──→ L3 ──→ L2 / L1 ──→ L0

✅ 任何层都可以 import L0
❌ L0 不 import 任何人

一条实操检查:如果 A 需要 go.mod replacefile:../ 才能用 B,说明 A 和 B 没解耦。

出处

设计册是 1agents 工作区里的 docs/architecture/dreammate-network/(10 篇,不随本包发布)。 本包对应其中迁移步骤 S1(09-仓库拆分与依赖边界 §8)。

下一步是 S2modules/* 上移)与 S3(session-reader 加 1session serve + /manifest)—— S1–S3 就足够跑出 M1 + M2,不需要等全部拆完。