@pinixai/hub-client 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +22 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinixai/hub-client",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Typed Hub client for Pinix — Connect-RPC transport + proto types",
5
5
  "main": "src/index.ts",
6
6
  "module": "src/index.ts",
package/src/index.ts CHANGED
@@ -3,6 +3,7 @@ export { hubInvoke } from "./helpers";
3
3
 
4
4
  export {
5
5
  HubService,
6
+ // Types
6
7
  type ClipInfo,
7
8
  type CommandInfo,
8
9
  type ClipManifest,
@@ -31,6 +32,27 @@ export {
31
32
  type RemoveBindingResponse,
32
33
  type HubError,
33
34
  type ClipStatus,
35
+ // Provider types (ProviderStream protocol)
36
+ type ProviderMessage,
37
+ type HubMessage,
38
+ type RegisterRequest,
39
+ type RegisterResponse,
40
+ type ClipRegistration,
41
+ type InvokeCommand,
42
+ type InvokeInput,
43
+ type InvokeResult,
44
+ type Heartbeat,
45
+ // Provider schemas (for create())
46
+ ProviderMessageSchema,
47
+ HubMessageSchema,
48
+ RegisterRequestSchema,
49
+ RegisterResponseSchema,
50
+ ClipRegistrationSchema,
51
+ InvokeCommandSchema,
52
+ InvokeResultSchema,
53
+ HeartbeatSchema,
54
+ HubErrorSchema,
55
+ CommandInfoSchema,
34
56
  } from "./gen/hub_pb";
35
57
 
36
58
  export type { Interceptor } from "@connectrpc/connect";