@opengeni/agent-proto 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.ts ADDED
@@ -0,0 +1,17 @@
1
+ /**
2
+ * `@opengeni/agent-proto` — generated TypeScript wire-protocol types for the
3
+ * OpenGeni self-hosted agent.
4
+ *
5
+ * This is the **control-plane side** of the single-source-of-truth wire protocol
6
+ * defined once in `agent/proto/opengeni_agent.proto`. The types here are
7
+ * code-generated (ts-proto) from that schema; the SAME schema generates the Rust
8
+ * (`prost`) types the agent uses. Because both stacks are generated from the one
9
+ * IDL, the control plane and the agent can never drift — proven by the
10
+ * cross-stack round-trip test (`test/roundtrip.test.ts`).
11
+ *
12
+ * Do not edit `src/gen/*` by hand; regenerate via `bun run --filter
13
+ * @opengeni/agent-proto codegen` (or `agent/scripts/codegen.sh` to regenerate
14
+ * both Rust and TS at once).
15
+ */
16
+
17
+ export * from "./gen/opengeni_agent";