@agentuity/frontend 1.0.47 → 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.
Files changed (44) hide show
  1. package/AGENTS.md +7 -31
  2. package/dist/beacon-script.js +1 -1
  3. package/dist/beacon.js +1 -1
  4. package/dist/dev-ws.d.ts +11 -0
  5. package/dist/dev-ws.d.ts.map +1 -0
  6. package/dist/dev-ws.js +34 -0
  7. package/dist/dev-ws.js.map +1 -0
  8. package/dist/index.d.ts +1 -3
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +1 -2
  11. package/dist/index.js.map +1 -1
  12. package/package.json +3 -3
  13. package/src/dev-ws.ts +33 -0
  14. package/src/index.ts +1 -18
  15. package/dist/client/eventstream.d.ts +0 -12
  16. package/dist/client/eventstream.d.ts.map +0 -1
  17. package/dist/client/eventstream.js +0 -39
  18. package/dist/client/eventstream.js.map +0 -1
  19. package/dist/client/index.d.ts +0 -33
  20. package/dist/client/index.d.ts.map +0 -1
  21. package/dist/client/index.js +0 -230
  22. package/dist/client/index.js.map +0 -1
  23. package/dist/client/stream.d.ts +0 -6
  24. package/dist/client/stream.d.ts.map +0 -1
  25. package/dist/client/stream.js +0 -49
  26. package/dist/client/stream.js.map +0 -1
  27. package/dist/client/types.d.ts +0 -168
  28. package/dist/client/types.d.ts.map +0 -1
  29. package/dist/client/types.js +0 -5
  30. package/dist/client/types.js.map +0 -1
  31. package/dist/client/websocket.d.ts +0 -6
  32. package/dist/client/websocket.d.ts.map +0 -1
  33. package/dist/client/websocket.js +0 -49
  34. package/dist/client/websocket.js.map +0 -1
  35. package/dist/types.d.ts +0 -42
  36. package/dist/types.d.ts.map +0 -1
  37. package/dist/types.js +0 -2
  38. package/dist/types.js.map +0 -1
  39. package/src/client/eventstream.ts +0 -52
  40. package/src/client/index.ts +0 -267
  41. package/src/client/stream.ts +0 -61
  42. package/src/client/types.ts +0 -237
  43. package/src/client/websocket.ts +0 -61
  44. 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
- }