add protocol specification

This commit is contained in:
nav
2026-04-01 01:19:22 +00:00
parent 72211ceb96
commit 9232aa7c17
2 changed files with 875 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# Yonexus.Protocol
This repository contains the **shared communication protocol specification** for the Yonexus system.
It is referenced as a git submodule by both `Yonexus.Server` and `Yonexus.Client`.
## Contents
- `PROTOCOL.md` — full protocol specification
- TypeScript type definitions (planned: `src/types.ts`)
- Canonical JSON shape references
## Purpose
Yonexus is a cross-instance communication system for OpenClaw, split into:
- `Yonexus.Server` — the central hub plugin
- `Yonexus.Client` — the client plugin
- `Yonexus.Protocol` — the shared protocol definition
Both server and client implementations must conform to the protocol defined in this repository.
## Version
Current protocol version: **draft v0.3**
## References
- [Yonexus umbrella repository](https://git.hangman-lab.top/nav/Yonexus)
- [Yonexus.Server](https://git.hangman-lab.top/nav/Yonexus.Server)
- [Yonexus.Client](https://git.hangman-lab.top/nav/Yonexus.Client)