New workspace structure with 9 crates. Adds: - proto/qpq/v1/*.proto: 11 protobuf schemas covering all 33 RPC methods - quicproquo-proto: dual codegen (capnp legacy + prost v2) - quicproquo-rpc: QUIC RPC framework (framing, server, client, middleware) - quicproquo-sdk: client SDK (QpqClient, events, conversation store) - quicproquo-server/domain/: protocol-agnostic domain types and services - justfile: build commands Wire format: [method_id:u16][req_id:u32][len:u32][protobuf] per QUIC stream. All 151 existing tests pass. Backward compatible with v1 capnp code.
27 lines
432 B
Protocol Buffer
27 lines
432 B
Protocol Buffer
syntax = "proto3";
|
|
package qpq.v1;
|
|
|
|
// P2P endpoint publish/resolve + health (3 methods).
|
|
// Method IDs: 800-802.
|
|
|
|
message PublishEndpointRequest {
|
|
bytes identity_key = 1;
|
|
bytes node_addr = 2;
|
|
}
|
|
|
|
message PublishEndpointResponse {}
|
|
|
|
message ResolveEndpointRequest {
|
|
bytes identity_key = 1;
|
|
}
|
|
|
|
message ResolveEndpointResponse {
|
|
bytes node_addr = 1;
|
|
}
|
|
|
|
message HealthRequest {}
|
|
|
|
message HealthResponse {
|
|
string status = 1;
|
|
}
|