@gpu-agent/wire (0.1.1)

Published 2026-10-23 18:13:36 -07:00 by donny

Installation

@gpu-agent:registry=https://gitea.dev.blueoceanswim.com/api/packages/donny/npm/
npm install @gpu-agent/wire@0.1.1
"@gpu-agent/wire": "0.1.1"

About this package

The worker protocol (v2): zod schemas of the agent <-> agent hub messages, the envelope and the binary frame codec (gpu-agent docs/DESIGN.md §3.1).

@gpu-agent/wire

The worker protocol (v2) between a GPU agent and an app's agent hub: zod schemas of every core message, the envelope ({ v: 2, type, id, ts }), and the binary frame codec (encodeFrame / decodeFrame). No I/O, no Bun or Node API. Spec: docs/DESIGN.md §3.1 of donny/gpu-agent.

Published to the Gitea npm registry from packages/wire in donny/gpu-agent:

# .npmrc of the consuming repo
@gpu-agent:registry=https://gitea.dev.blueoceanswim.com/api/packages/donny/npm/
//gitea.dev.blueoceanswim.com/api/packages/donny/npm/:_authToken=${GITEA_NPM_TOKEN}
bun add @gpu-agent/wire@<version>

ESM only (dist/index.js + .d.ts); zod 4 is a dependency. Releases: bump version here, commit to main, tag wire-v<version> (.gitea/workflows/publish.yml). @gpu-agent/hub depends on it and is released the same way with hub-v<version>.

Dependencies

Dependencies

ID Version
zod ^4.6.7
Details
npm
2026-10-23 18:13:36 -07:00
631
UNLICENSED
latest
16 KiB
Assets (1)
Versions (2) View all
0.1.1 2026-10-23
0.1.0 2026-10-23