@agentuity/frontend 1.0.48 → 2.0.0-beta.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/AGENTS.md +7 -31
- package/dist/beacon-script.js +1 -1
- package/dist/beacon.js +1 -1
- package/dist/dev-ws.d.ts +11 -0
- package/dist/dev-ws.d.ts.map +1 -0
- package/dist/dev-ws.js +34 -0
- package/dist/dev-ws.js.map +1 -0
- package/dist/index.d.ts +1 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/dev-ws.ts +33 -0
- package/src/index.ts +1 -18
- package/dist/client/eventstream.d.ts +0 -12
- package/dist/client/eventstream.d.ts.map +0 -1
- package/dist/client/eventstream.js +0 -39
- package/dist/client/eventstream.js.map +0 -1
- package/dist/client/index.d.ts +0 -33
- package/dist/client/index.d.ts.map +0 -1
- package/dist/client/index.js +0 -230
- package/dist/client/index.js.map +0 -1
- package/dist/client/stream.d.ts +0 -6
- package/dist/client/stream.d.ts.map +0 -1
- package/dist/client/stream.js +0 -49
- package/dist/client/stream.js.map +0 -1
- package/dist/client/types.d.ts +0 -168
- package/dist/client/types.d.ts.map +0 -1
- package/dist/client/types.js +0 -5
- package/dist/client/types.js.map +0 -1
- package/dist/client/websocket.d.ts +0 -6
- package/dist/client/websocket.d.ts.map +0 -1
- package/dist/client/websocket.js +0 -49
- package/dist/client/websocket.js.map +0 -1
- package/dist/types.d.ts +0 -42
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -2
- package/dist/types.js.map +0 -1
- package/src/client/eventstream.ts +0 -52
- package/src/client/index.ts +0 -267
- package/src/client/stream.ts +0 -61
- package/src/client/types.ts +0 -237
- package/src/client/websocket.ts +0 -61
- package/src/types.ts +0 -56
package/src/types.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Route registry containing all typed API routes in the application.
|
|
3
|
-
* Auto-generated by the build tool from routes that use validator() middleware.
|
|
4
|
-
*
|
|
5
|
-
* @remarks
|
|
6
|
-
* This interface is augmented by generated code via `declare module '@agentuity/frontend'`.
|
|
7
|
-
* The augmentation provides type-safe routing for useAPI and other hooks.
|
|
8
|
-
*/
|
|
9
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
10
|
-
export interface RouteRegistry {
|
|
11
|
-
// Will be augmented by generated code
|
|
12
|
-
// Format: 'METHOD /path': { inputSchema: ..., outputSchema: ..., stream?: boolean }
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* WebSocket route registry containing all typed WebSocket routes in the application.
|
|
17
|
-
* Auto-generated by the build tool from routes that use validator() middleware.
|
|
18
|
-
*
|
|
19
|
-
* @remarks
|
|
20
|
-
* This interface is augmented by generated code via `declare module '@agentuity/frontend'`.
|
|
21
|
-
* The augmentation provides type-safe routing for useWebsocket and other hooks.
|
|
22
|
-
*/
|
|
23
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
24
|
-
export interface WebSocketRouteRegistry {
|
|
25
|
-
// Will be augmented by generated code
|
|
26
|
-
// Format: '/path': { inputSchema: ..., outputSchema: ... }
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* SSE route registry containing all typed SSE routes in the application.
|
|
31
|
-
* Auto-generated by the build tool from routes that use validator() middleware.
|
|
32
|
-
*
|
|
33
|
-
* @remarks
|
|
34
|
-
* This interface is augmented by generated code via `declare module '@agentuity/frontend'`.
|
|
35
|
-
* The augmentation provides type-safe routing for useEventStream and other hooks.
|
|
36
|
-
*/
|
|
37
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
38
|
-
export interface SSERouteRegistry {
|
|
39
|
-
// Will be augmented by generated code
|
|
40
|
-
// Format: '/path': { inputSchema: ..., outputSchema: ... }
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* RPC route registry containing all typed RPC routes in the application.
|
|
45
|
-
* Used by createClient() and createAPIClient() for type-safe RPC-style API calls.
|
|
46
|
-
* Auto-generated by the build tool from route discovery.
|
|
47
|
-
*
|
|
48
|
-
* @remarks
|
|
49
|
-
* This interface is augmented by generated code via `declare module '@agentuity/frontend'`.
|
|
50
|
-
* The augmentation provides type-safe routing for createClient and createAPIClient.
|
|
51
|
-
*/
|
|
52
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
53
|
-
export interface RPCRouteRegistry {
|
|
54
|
-
// Will be augmented by generated code
|
|
55
|
-
// Format: { path: { method: { input: ..., output: ..., type: ... } } }
|
|
56
|
-
}
|