4 Commits
Author SHA1 Message Date
ginuerzh 7000217d4f p2p/proto: replace the endpoint data plane with a Tunnel bidi stream
OpenTunnel now only authorizes the tunnel and returns a random single-use
id (the stream credential); the reserved endpoint field and CloseTunnel
are removed. Tunnel is a bidi stream whose lifetime is the tunnel's
lifetime, bound to the OpenTunnel id via the "id" metadata key. Breaking
change; regenerated with the pinned toolchain.
2026-09-12 08:19:13 +08:00
ginuerzh cba3f64b43 namespace proto file registrations to fix global registry collisions
Regenerate all protos from the module root with full relative paths so
descriptors register as e.g. auth/proto/auth.proto instead of bare
auth.proto. The protobuf file registry is process-global, so generic
filenames collided with other libraries and panicked at init
(proto: file "auth.proto" is already registered, #3).

Go API and wire format unchanged.
2026-09-05 22:23:11 +08:00
ginuerzh 2bf4d0be00 add .gitignore, document p2p plugin
- .gitignore excludes .codegraph/.claude/.remember and test artifacts
- CLAUDE.md: service catalog now 13 types; p2p row plus its deliberate
  deviations (opaque peer/endpoint, no example/, gRPC-only)
- README.md: p2p row and usage section with p2ps: config snippet
2026-09-05 20:59:43 +08:00
ginuerzh e1226236da add network field to admission request, add CLAUDE.md and README.md 2026-05-21 22:22:12 +08:00