@radheim/server 0.0.0-stage → 2.4.3

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 (210) hide show
  1. package/dist/api.d.ts +9383 -0
  2. package/dist/api.js +10 -0
  3. package/dist/auth.d.ts +21 -0
  4. package/dist/auth.js +20 -0
  5. package/dist/chunks/api-0q8mvh3b.js +62 -0
  6. package/dist/chunks/api-11hx8jza.js +39 -0
  7. package/dist/chunks/api-1jnx79t4.js +31 -0
  8. package/dist/chunks/api-1mn3274c.js +57 -0
  9. package/dist/chunks/api-238wcyzf.js +252 -0
  10. package/dist/chunks/api-280h8k1v.js +198 -0
  11. package/dist/chunks/api-31hzmefh.js +73 -0
  12. package/dist/chunks/api-34msk99p.js +208 -0
  13. package/dist/chunks/api-40z6h0fq.js +20 -0
  14. package/dist/chunks/api-5fr63cjn.js +27 -0
  15. package/dist/chunks/api-5ggmn0t6.js +348 -0
  16. package/dist/chunks/api-61ndsq4a.js +45 -0
  17. package/dist/chunks/api-7tqjsq7b.js +101 -0
  18. package/dist/chunks/api-8cw69z4p.js +15 -0
  19. package/dist/chunks/api-8sb6qqpn.js +28 -0
  20. package/dist/chunks/api-8tn84h85.js +39 -0
  21. package/dist/chunks/api-9bxtygz0.js +48 -0
  22. package/dist/chunks/api-9qr3r2v1.js +66 -0
  23. package/dist/chunks/api-9rqn6x4v.js +16 -0
  24. package/dist/chunks/api-azwdvyh3.js +4 -0
  25. package/dist/chunks/api-b3j0kcev.js +30 -0
  26. package/dist/chunks/api-bctzdhd7.js +21 -0
  27. package/dist/chunks/api-bnpt5zxx.js +36 -0
  28. package/dist/chunks/api-bxwfazps.js +90 -0
  29. package/dist/chunks/api-d4cyxj7e.js +80 -0
  30. package/dist/chunks/api-d8rk8yaw.js +20 -0
  31. package/dist/chunks/api-djs9m6v0.js +42 -0
  32. package/dist/chunks/api-e2746nhp.js +17 -0
  33. package/dist/chunks/api-e4v11dgy.js +58 -0
  34. package/dist/chunks/api-e6e4kz0w.js +23 -0
  35. package/dist/chunks/api-f6955nmc.js +19 -0
  36. package/dist/chunks/api-fhp54bwg.js +39 -0
  37. package/dist/chunks/api-fpzegjvk.js +35 -0
  38. package/dist/chunks/api-fq7f3wrn.js +13 -0
  39. package/dist/chunks/api-gg2tbqc5.js +270 -0
  40. package/dist/chunks/api-gghkbyq2.js +189 -0
  41. package/dist/chunks/api-ghyd9ren.js +32 -0
  42. package/dist/chunks/api-h8v4dbra.js +49 -0
  43. package/dist/chunks/api-hpgyxnbj.js +92 -0
  44. package/dist/chunks/api-jb6q2eqf.js +70 -0
  45. package/dist/chunks/api-k0fc7y6c.js +219 -0
  46. package/dist/chunks/api-kb0k6qg1.js +35 -0
  47. package/dist/chunks/api-kb431qm0.js +31 -0
  48. package/dist/chunks/api-kvefct3s.js +215 -0
  49. package/dist/chunks/api-mzafcgd5.js +23 -0
  50. package/dist/chunks/api-n0gqhwq7.js +109 -0
  51. package/dist/chunks/api-njzqh2v3.js +22 -0
  52. package/dist/chunks/api-nqw28mmv.js +62 -0
  53. package/dist/chunks/api-ns3kfwpq.js +48 -0
  54. package/dist/chunks/api-ph6j0w88.js +29 -0
  55. package/dist/chunks/api-q8azxbmk.js +38 -0
  56. package/dist/chunks/api-qft4mah5.js +33 -0
  57. package/dist/chunks/api-qz4nw4cc.js +130 -0
  58. package/dist/chunks/api-rrsy7az3.js +69 -0
  59. package/dist/chunks/api-t2s5ghf4.js +91 -0
  60. package/dist/chunks/api-t32e1bbt.js +32 -0
  61. package/dist/chunks/api-t7f8xf56.js +22 -0
  62. package/dist/chunks/api-trzj52xd.js +13 -0
  63. package/dist/chunks/api-v2h85c6p.js +143 -0
  64. package/dist/chunks/api-vtj5wyks.js +13 -0
  65. package/dist/chunks/api-wrj46kzw.js +41 -0
  66. package/dist/chunks/api-wrma0ern.js +36 -0
  67. package/dist/chunks/api-x180v472.js +22 -0
  68. package/dist/chunks/api-xcn5yyhy.js +134 -0
  69. package/dist/chunks/api-xthc02cw.js +6 -0
  70. package/dist/chunks/api-ygxfyj7m.js +111 -0
  71. package/dist/chunks/api-z3ybfekq.js +20 -0
  72. package/dist/chunks/api-zvb9sh2w.js +30 -0
  73. package/dist/content-headers.d.ts +13 -0
  74. package/dist/content-headers.js +12 -0
  75. package/dist/cors.d.ts +7 -0
  76. package/dist/cors.js +10 -0
  77. package/dist/event-feed.d.ts +44 -0
  78. package/dist/event-feed.js +20 -0
  79. package/dist/fetch.d.ts +164 -0
  80. package/dist/fetch.js +80 -0
  81. package/dist/handlers/agent.d.ts +1 -0
  82. package/dist/handlers/agent.js +11 -0
  83. package/dist/handlers/artifact.d.ts +62 -0
  84. package/dist/handlers/artifact.js +8 -0
  85. package/dist/handlers/automation.d.ts +23 -0
  86. package/dist/handlers/automation.js +7 -0
  87. package/dist/handlers/blob.d.ts +168 -0
  88. package/dist/handlers/blob.js +9 -0
  89. package/dist/handlers/command.d.ts +1 -0
  90. package/dist/handlers/command.js +11 -0
  91. package/dist/handlers/config.d.ts +1 -0
  92. package/dist/handlers/config.js +11 -0
  93. package/dist/handlers/credential.d.ts +4 -0
  94. package/dist/handlers/credential.js +12 -0
  95. package/dist/handlers/debug.d.ts +2 -0
  96. package/dist/handlers/debug.js +11 -0
  97. package/dist/handlers/event.d.ts +2 -0
  98. package/dist/handlers/event.js +12 -0
  99. package/dist/handlers/experimental/browser-tunnel.d.ts +11 -0
  100. package/dist/handlers/experimental/browser-tunnel.js +9 -0
  101. package/dist/handlers/flag.d.ts +1 -0
  102. package/dist/handlers/flag.js +11 -0
  103. package/dist/handlers/form.d.ts +1 -0
  104. package/dist/handlers/form.js +11 -0
  105. package/dist/handlers/fs.d.ts +2 -0
  106. package/dist/handlers/fs.js +13 -0
  107. package/dist/handlers/generate.d.ts +4 -0
  108. package/dist/handlers/generate.js +11 -0
  109. package/dist/handlers/integration.d.ts +7 -0
  110. package/dist/handlers/integration.js +13 -0
  111. package/dist/handlers/job.d.ts +73 -0
  112. package/dist/handlers/job.js +7 -0
  113. package/dist/handlers/location.d.ts +2 -0
  114. package/dist/handlers/location.js +11 -0
  115. package/dist/handlers/machine.d.ts +164 -0
  116. package/dist/handlers/machine.js +28 -0
  117. package/dist/handlers/mcp.d.ts +3 -0
  118. package/dist/handlers/mcp.js +13 -0
  119. package/dist/handlers/media.d.ts +6 -0
  120. package/dist/handlers/media.js +7 -0
  121. package/dist/handlers/message.d.ts +2 -0
  122. package/dist/handlers/message.js +12 -0
  123. package/dist/handlers/migration.d.ts +1 -0
  124. package/dist/handlers/migration.js +11 -0
  125. package/dist/handlers/model.d.ts +1 -0
  126. package/dist/handlers/model.js +11 -0
  127. package/dist/handlers/permission.d.ts +4 -0
  128. package/dist/handlers/permission.js +11 -0
  129. package/dist/handlers/persistent-pty.d.ts +3 -0
  130. package/dist/handlers/persistent-pty.js +25 -0
  131. package/dist/handlers/plugin.d.ts +2 -0
  132. package/dist/handlers/plugin.js +11 -0
  133. package/dist/handlers/project.d.ts +2 -0
  134. package/dist/handlers/project.js +11 -0
  135. package/dist/handlers/provider.d.ts +1 -0
  136. package/dist/handlers/provider.js +11 -0
  137. package/dist/handlers/pty-socket.d.ts +12 -0
  138. package/dist/handlers/pty-socket.js +8 -0
  139. package/dist/handlers/pty.d.ts +3 -0
  140. package/dist/handlers/pty.js +13 -0
  141. package/dist/handlers/push.d.ts +28 -0
  142. package/dist/handlers/push.js +6 -0
  143. package/dist/handlers/reference.d.ts +1 -0
  144. package/dist/handlers/reference.js +11 -0
  145. package/dist/handlers/rpc.d.ts +1 -0
  146. package/dist/handlers/rpc.js +11 -0
  147. package/dist/handlers/server.d.ts +4 -0
  148. package/dist/handlers/server.js +14 -0
  149. package/dist/handlers/session-error.d.ts +11 -0
  150. package/dist/handlers/session-error.js +14 -0
  151. package/dist/handlers/session.d.ts +5 -0
  152. package/dist/handlers/session.js +12 -0
  153. package/dist/handlers/shell.d.ts +1 -0
  154. package/dist/handlers/shell.js +11 -0
  155. package/dist/handlers/skill.d.ts +1 -0
  156. package/dist/handlers/skill.js +11 -0
  157. package/dist/handlers/space.d.ts +54 -0
  158. package/dist/handlers/space.js +7 -0
  159. package/dist/handlers/usage.d.ts +1 -0
  160. package/dist/handlers/usage.js +11 -0
  161. package/dist/handlers/vcs.d.ts +4 -0
  162. package/dist/handlers/vcs.js +11 -0
  163. package/dist/handlers/voice.d.ts +3 -0
  164. package/dist/handlers/voice.js +11 -0
  165. package/dist/handlers/websearch.d.ts +1 -0
  166. package/dist/handlers/websearch.js +11 -0
  167. package/dist/handlers/worktree.d.ts +2 -0
  168. package/dist/handlers/worktree.js +11 -0
  169. package/dist/handlers.d.ts +3 -0
  170. package/dist/handlers.js +63 -0
  171. package/dist/location.d.ts +28 -0
  172. package/dist/location.js +17 -0
  173. package/dist/media-uri.d.ts +6 -0
  174. package/dist/media-uri.js +6 -0
  175. package/dist/middleware/authorization.d.ts +8 -0
  176. package/dist/middleware/authorization.js +13 -0
  177. package/dist/middleware/defect-response.d.ts +2 -0
  178. package/dist/middleware/defect-response.js +6 -0
  179. package/dist/middleware/form-location.d.ts +18 -0
  180. package/dist/middleware/form-location.js +10 -0
  181. package/dist/middleware/schema-error.d.ts +3 -0
  182. package/dist/middleware/schema-error.js +8 -0
  183. package/dist/middleware/session-location.d.ts +17 -0
  184. package/dist/middleware/session-location.js +10 -0
  185. package/dist/options.d.ts +130 -0
  186. package/dist/options.js +55 -0
  187. package/dist/pairing.d.ts +13 -0
  188. package/dist/pairing.js +10 -0
  189. package/dist/process.d.ts +70 -0
  190. package/dist/process.js +241 -0
  191. package/dist/range.d.ts +6 -0
  192. package/dist/range.js +8 -0
  193. package/dist/request-site.d.ts +11 -0
  194. package/dist/request-site.js +11 -0
  195. package/dist/request-tracing.d.ts +1 -0
  196. package/dist/request-tracing.js +6 -0
  197. package/dist/routes.d.ts +54 -0
  198. package/dist/routes.js +69 -0
  199. package/dist/server-info.d.ts +14 -0
  200. package/dist/server-info.js +12 -0
  201. package/dist/service-status.d.ts +25 -0
  202. package/dist/service-status.js +8 -0
  203. package/dist/space-store.d.ts +62 -0
  204. package/dist/space-store.js +16 -0
  205. package/dist/workerd-machine-link.d.ts +107 -0
  206. package/dist/workerd-machine-link.js +19 -0
  207. package/dist/workerd.d.ts +113 -0
  208. package/dist/workerd.js +168 -0
  209. package/package.json +50 -4
  210. package/README.md +0 -3
@@ -0,0 +1,11 @@
1
+ import {
2
+ ProjectHandler2
3
+ } from "../chunks/api-8cw69z4p.js";
4
+ import"../chunks/api-f6955nmc.js";
5
+ import"../chunks/api-5fr63cjn.js";
6
+ import"../chunks/api-bnpt5zxx.js";
7
+ import"../chunks/api-0q8mvh3b.js";
8
+ import"../chunks/api-ghyd9ren.js";
9
+ export {
10
+ ProjectHandler2 as ProjectHandler
11
+ };
@@ -0,0 +1 @@
1
+ export declare const ProviderHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.provider">, never, import("@radheim/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware>;
@@ -0,0 +1,11 @@
1
+ import {
2
+ ProviderHandler2
3
+ } from "../chunks/api-ph6j0w88.js";
4
+ import"../chunks/api-f6955nmc.js";
5
+ import"../chunks/api-5fr63cjn.js";
6
+ import"../chunks/api-bnpt5zxx.js";
7
+ import"../chunks/api-0q8mvh3b.js";
8
+ import"../chunks/api-ghyd9ren.js";
9
+ export {
10
+ ProviderHandler2 as ProviderHandler
11
+ };
@@ -0,0 +1,12 @@
1
+ import { LocationLifecycle } from "@radheim/core/location-lifecycle";
2
+ import { Effect, Queue } from "effect";
3
+ import { Socket } from "effect/socket";
4
+ export type Outbound = string | Uint8Array | Socket.CloseEvent;
5
+ export declare function runPtySocket<R>(input: {
6
+ readonly socket: Socket.Socket;
7
+ readonly outbox: Queue.Dequeue<Outbound>;
8
+ readonly onOpen?: Effect.Effect<void, never, R>;
9
+ readonly onMessage: (message: string | Uint8Array) => Effect.Effect<void, never, R>;
10
+ readonly detach: () => void;
11
+ }): Effect.Effect<void, never, R | import("effect/Scope").Scope>;
12
+ export declare const holdLocation: (outbox: Queue.Enqueue<Outbound, never>) => Effect.Effect<void, never, import("effect/Scope").Scope | LocationLifecycle.Service>;
@@ -0,0 +1,8 @@
1
+ import {
2
+ runPtySocket2,
3
+ holdLocation2
4
+ } from "../chunks/api-zvb9sh2w.js";
5
+ export {
6
+ holdLocation2 as holdLocation,
7
+ runPtySocket2 as runPtySocket
8
+ };
@@ -0,0 +1,3 @@
1
+ import { PtyTicket } from "@radheim/core/pty/ticket";
2
+ import { LocationServiceMap } from "@radheim/core/location-service-map";
3
+ export declare const PtyHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.pty">, never, import("../location").LocationMiddleware | LocationServiceMap.Service | PtyTicket.Service | (import("@radheim/protocol/middleware/authorization").Authorization | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware)>;
@@ -0,0 +1,13 @@
1
+ import {
2
+ PtyHandler2
3
+ } from "../chunks/api-qz4nw4cc.js";
4
+ import"../chunks/api-zvb9sh2w.js";
5
+ import"../chunks/api-f6955nmc.js";
6
+ import"../chunks/api-5fr63cjn.js";
7
+ import"../chunks/api-bnpt5zxx.js";
8
+ import"../chunks/api-11hx8jza.js";
9
+ import"../chunks/api-0q8mvh3b.js";
10
+ import"../chunks/api-ghyd9ren.js";
11
+ export {
12
+ PtyHandler2 as PtyHandler
13
+ };
@@ -0,0 +1,28 @@
1
+ import { Effect } from "effect";
2
+ import { PushList } from "@radheim/core/push/list";
3
+ import { InvalidRequestError, PushDeviceNotFoundError } from "@radheim/protocol/errors";
4
+ import { Session } from "@radheim/core/session";
5
+ import type { Push } from "@radheim/schema/push";
6
+ export declare const makePush: Effect.Effect<{
7
+ get: () => Effect.Effect<{
8
+ data: Push.Info;
9
+ }, never, never>;
10
+ register: (id: string & import("effect/Brand").Brand<"Push.DeviceID">, payload: Push.Register) => Effect.Effect<{
11
+ data: Push.Registered;
12
+ }, InvalidRequestError, never>;
13
+ remove: (id: string & import("effect/Brand").Brand<"Push.DeviceID">) => Effect.Effect<void, never, never>;
14
+ update: (id: string & import("effect/Brand").Brand<"Push.DeviceID">, payload: Push.DevicePatch) => Effect.Effect<{
15
+ data: Push.Device;
16
+ }, PushDeviceNotFoundError, never>;
17
+ setDeviceBell: (id: string & import("effect/Brand").Brand<"Push.DeviceID">, sessionID: string & import("effect/Brand").Brand<"SessionID">, bell: Push.Bell) => Effect.Effect<{
18
+ data: Push.Bell;
19
+ }, InvalidRequestError | PushDeviceNotFoundError, never>;
20
+ removeDeviceBell: (id: string & import("effect/Brand").Brand<"Push.DeviceID">, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<void, PushDeviceNotFoundError, never>;
21
+ setSessionBell: (sessionID: string & import("effect/Brand").Brand<"SessionID">, bell: Push.Bell) => Effect.Effect<{
22
+ data: Push.Bell;
23
+ }, InvalidRequestError, never>;
24
+ removeSessionBell: (sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<void, never, never>;
25
+ setSettings: (settings: Push.Settings) => Effect.Effect<{
26
+ data: Push.Settings;
27
+ }, InvalidRequestError, never>;
28
+ }, never, Session.Service | PushList.Service>;
@@ -0,0 +1,6 @@
1
+ import {
2
+ makePush2
3
+ } from "../chunks/api-e4v11dgy.js";
4
+ export {
5
+ makePush2 as makePush
6
+ };
@@ -0,0 +1 @@
1
+ export declare const ReferenceHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.reference">, never, import("@radheim/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware>;
@@ -0,0 +1,11 @@
1
+ import {
2
+ ReferenceHandler2
3
+ } from "../chunks/api-fq7f3wrn.js";
4
+ import"../chunks/api-f6955nmc.js";
5
+ import"../chunks/api-5fr63cjn.js";
6
+ import"../chunks/api-bnpt5zxx.js";
7
+ import"../chunks/api-0q8mvh3b.js";
8
+ import"../chunks/api-ghyd9ren.js";
9
+ export {
10
+ ReferenceHandler2 as ReferenceHandler
11
+ };
@@ -0,0 +1 @@
1
+ export declare const RpcHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.rpc">, never, import("@radheim/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware>;
@@ -0,0 +1,11 @@
1
+ import {
2
+ RpcHandler2
3
+ } from "../chunks/api-d8rk8yaw.js";
4
+ import"../chunks/api-f6955nmc.js";
5
+ import"../chunks/api-5fr63cjn.js";
6
+ import"../chunks/api-bnpt5zxx.js";
7
+ import"../chunks/api-0q8mvh3b.js";
8
+ import"../chunks/api-ghyd9ren.js";
9
+ export {
10
+ RpcHandler2 as RpcHandler
11
+ };
@@ -0,0 +1,4 @@
1
+ import { ServerAuth } from "../auth";
2
+ import { ServerInfo } from "../server-info";
3
+ import { ServerPairing } from "../pairing";
4
+ export declare const ServerHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.server">, never, ServerAuth.Config | import("effect/http/HttpRouter").Request<"Requires", ServerInfo.Service> | ServerPairing.Service | (import("@radheim/protocol/middleware/authorization").Authorization | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware)>;
@@ -0,0 +1,14 @@
1
+ import {
2
+ ServerHandler2
3
+ } from "../chunks/api-1mn3274c.js";
4
+ import"../chunks/api-wrj46kzw.js";
5
+ import"../chunks/api-fpzegjvk.js";
6
+ import"../chunks/api-f6955nmc.js";
7
+ import"../chunks/api-5fr63cjn.js";
8
+ import"../chunks/api-bnpt5zxx.js";
9
+ import"../chunks/api-9qr3r2v1.js";
10
+ import"../chunks/api-0q8mvh3b.js";
11
+ import"../chunks/api-ghyd9ren.js";
12
+ export {
13
+ ServerHandler2 as ServerHandler
14
+ };
@@ -0,0 +1,11 @@
1
+ import { Session } from "@radheim/core/session";
2
+ import type { Snapshot } from "@radheim/core/snapshot";
3
+ import { Skill } from "@radheim/core/skill";
4
+ import { MessageNotFoundError, SessionNotFoundError, SkillLoadError, UnknownError } from "@radheim/protocol/errors";
5
+ import { Effect } from "effect";
6
+ export declare function missingSession(error: Session.NotFoundError): SessionNotFoundError;
7
+ export declare function skillLoadFailed(error: Skill.LoadError): SkillLoadError;
8
+ export declare function missingMessage(error: Session.MessageNotFoundError): MessageNotFoundError;
9
+ export declare function failedMessageDecode(error: Session.MessageDecodeError): Effect.Effect<never, UnknownError, never>;
10
+ /** Snapshot repositories are host state clients cannot repair, so surface only a log reference. */
11
+ export declare function failedSnapshot(operation: string, sessionID: Session.ID): (error: Snapshot.Error) => Effect.Effect<never, UnknownError, never>;
@@ -0,0 +1,14 @@
1
+ import {
2
+ missingSession2,
3
+ skillLoadFailed2,
4
+ missingMessage2,
5
+ failedMessageDecode2,
6
+ failedSnapshot2
7
+ } from "../chunks/api-ghyd9ren.js";
8
+ export {
9
+ failedMessageDecode2 as failedMessageDecode,
10
+ failedSnapshot2 as failedSnapshot,
11
+ missingMessage2 as missingMessage,
12
+ missingSession2 as missingSession,
13
+ skillLoadFailed2 as skillLoadFailed
14
+ };
@@ -0,0 +1,5 @@
1
+ import { Instance } from "@radheim/core/instance/service";
2
+ import { Session } from "@radheim/core/session";
3
+ import { SessionTransfer } from "@radheim/core/session/transfer";
4
+ import { InstructionEntry } from "@radheim/core/session/instruction-entry";
5
+ export declare const SessionHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.session">, never, import("effect/http/HttpRouter").Request<"Requires", import("@radheim/core/database/database").Service> | InstructionEntry.Service | Session.Service | Instance.Service | SessionTransfer.Service | import("../middleware/session-location").SessionLocationMiddleware | (import("@radheim/protocol/middleware/authorization").Authorization | import("../middleware/form-location").FormLocationMiddleware | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware)>;
@@ -0,0 +1,12 @@
1
+ import {
2
+ SessionHandler2
3
+ } from "../chunks/api-5ggmn0t6.js";
4
+ import"../chunks/api-xthc02cw.js";
5
+ import"../chunks/api-f6955nmc.js";
6
+ import"../chunks/api-5fr63cjn.js";
7
+ import"../chunks/api-bnpt5zxx.js";
8
+ import"../chunks/api-0q8mvh3b.js";
9
+ import"../chunks/api-ghyd9ren.js";
10
+ export {
11
+ SessionHandler2 as SessionHandler
12
+ };
@@ -0,0 +1 @@
1
+ export declare const ShellHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.shell">, never, import("@radheim/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware>;
@@ -0,0 +1,11 @@
1
+ import {
2
+ ShellHandler2
3
+ } from "../chunks/api-kb0k6qg1.js";
4
+ import"../chunks/api-f6955nmc.js";
5
+ import"../chunks/api-5fr63cjn.js";
6
+ import"../chunks/api-bnpt5zxx.js";
7
+ import"../chunks/api-0q8mvh3b.js";
8
+ import"../chunks/api-ghyd9ren.js";
9
+ export {
10
+ ShellHandler2 as ShellHandler
11
+ };
@@ -0,0 +1 @@
1
+ export declare const SkillHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.skill">, never, import("@radheim/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware>;
@@ -0,0 +1,11 @@
1
+ import {
2
+ SkillHandler2
3
+ } from "../chunks/api-b3j0kcev.js";
4
+ import"../chunks/api-f6955nmc.js";
5
+ import"../chunks/api-5fr63cjn.js";
6
+ import"../chunks/api-bnpt5zxx.js";
7
+ import"../chunks/api-0q8mvh3b.js";
8
+ import"../chunks/api-ghyd9ren.js";
9
+ export {
10
+ SkillHandler2 as SkillHandler
11
+ };
@@ -0,0 +1,54 @@
1
+ import { InvalidRequestError } from "@radheim/protocol/errors";
2
+ import { Space } from "@radheim/schema/space";
3
+ import { Effect } from "effect";
4
+ import { SpaceStore } from "../space-store";
5
+ export declare const makeSpace: Effect.Effect<{
6
+ write: (changes: readonly Space.Change[]) => Effect.Effect<{
7
+ spaces: readonly {
8
+ readonly space: Space.Name;
9
+ readonly revision: Space.Revision;
10
+ readonly cursor: string;
11
+ }[];
12
+ }, InvalidRequestError, never>;
13
+ sync: (spaces: readonly {
14
+ readonly space: Space.Name;
15
+ readonly cursor?: string;
16
+ }[]) => Effect.Effect<{
17
+ pages: readonly ({
18
+ readonly space: string;
19
+ readonly epoch: string;
20
+ readonly revision: number;
21
+ readonly entries: readonly {
22
+ readonly key: string;
23
+ readonly value: string;
24
+ }[];
25
+ readonly cursor: string;
26
+ readonly next?: string | undefined;
27
+ readonly type: "snapshot";
28
+ } | {
29
+ readonly space: string;
30
+ readonly epoch: string;
31
+ readonly revision: number;
32
+ readonly entries: readonly {
33
+ readonly key: string;
34
+ readonly value: string;
35
+ }[];
36
+ readonly cursor: string;
37
+ readonly next?: string | undefined;
38
+ readonly type: "delta";
39
+ readonly deleted: readonly string[];
40
+ })[];
41
+ }, InvalidRequestError, never>;
42
+ subscribe: (payload: {
43
+ readonly stream: string;
44
+ readonly spaces: ReadonlyArray<{
45
+ readonly space: Space.Name;
46
+ readonly cursor: string;
47
+ }>;
48
+ }) => Effect.Effect<void, InvalidRequestError, never>;
49
+ unsubscribe: (payload: {
50
+ readonly stream: string;
51
+ readonly spaces: ReadonlyArray<Space.Name>;
52
+ }) => Effect.Effect<void, InvalidRequestError, never>;
53
+ reset: () => Effect.Effect<void, never, never>;
54
+ }, never, SpaceStore.Service>;
@@ -0,0 +1,7 @@
1
+ import {
2
+ makeSpace2
3
+ } from "../chunks/api-h8v4dbra.js";
4
+ import"../chunks/api-k0fc7y6c.js";
5
+ export {
6
+ makeSpace2 as makeSpace
7
+ };
@@ -0,0 +1 @@
1
+ export declare const UsageHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.usage">, never, import("@radheim/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware>;
@@ -0,0 +1,11 @@
1
+ import {
2
+ UsageHandler2
3
+ } from "../chunks/api-z3ybfekq.js";
4
+ import"../chunks/api-f6955nmc.js";
5
+ import"../chunks/api-5fr63cjn.js";
6
+ import"../chunks/api-bnpt5zxx.js";
7
+ import"../chunks/api-0q8mvh3b.js";
8
+ import"../chunks/api-ghyd9ren.js";
9
+ export {
10
+ UsageHandler2 as UsageHandler
11
+ };
@@ -0,0 +1,4 @@
1
+ import { Project } from "@radheim/core/project";
2
+ import { Bus } from "@radheim/core/bus";
3
+ import { LocationServiceMap } from "@radheim/core/location-services";
4
+ export declare const VcsHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.vcs">, never, import("@radheim/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware | LocationServiceMap.Service | Bus.Service | Project.Service>;
@@ -0,0 +1,11 @@
1
+ import {
2
+ VcsHandler2
3
+ } from "../chunks/api-31hzmefh.js";
4
+ import"../chunks/api-f6955nmc.js";
5
+ import"../chunks/api-5fr63cjn.js";
6
+ import"../chunks/api-bnpt5zxx.js";
7
+ import"../chunks/api-0q8mvh3b.js";
8
+ import"../chunks/api-ghyd9ren.js";
9
+ export {
10
+ VcsHandler2 as VcsHandler
11
+ };
@@ -0,0 +1,3 @@
1
+ import { LocationServiceMap } from "@radheim/core/location-services";
2
+ import { Global } from "@radheim/util/global";
3
+ export declare const VoiceHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.voice">, never, import("@radheim/protocol/middleware/authorization").Authorization | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware | Global.Service | LocationServiceMap.Service>;
@@ -0,0 +1,11 @@
1
+ import {
2
+ VoiceHandler2
3
+ } from "../chunks/api-kb431qm0.js";
4
+ import"../chunks/api-f6955nmc.js";
5
+ import"../chunks/api-5fr63cjn.js";
6
+ import"../chunks/api-bnpt5zxx.js";
7
+ import"../chunks/api-0q8mvh3b.js";
8
+ import"../chunks/api-ghyd9ren.js";
9
+ export {
10
+ VoiceHandler2 as VoiceHandler
11
+ };
@@ -0,0 +1 @@
1
+ export declare const WebSearchHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.websearch">, never, import("@radheim/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware>;
@@ -0,0 +1,11 @@
1
+ import {
2
+ WebSearchHandler2
3
+ } from "../chunks/api-fhp54bwg.js";
4
+ import"../chunks/api-f6955nmc.js";
5
+ import"../chunks/api-5fr63cjn.js";
6
+ import"../chunks/api-bnpt5zxx.js";
7
+ import"../chunks/api-0q8mvh3b.js";
8
+ import"../chunks/api-ghyd9ren.js";
9
+ export {
10
+ WebSearchHandler2 as WebSearchHandler
11
+ };
@@ -0,0 +1,2 @@
1
+ import { Worktree } from "@radheim/core/worktree";
2
+ export declare const WorktreeHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.worktree">, never, import("@radheim/protocol/middleware/authorization").Authorization | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware | Worktree.Service>;
@@ -0,0 +1,11 @@
1
+ import {
2
+ WorktreeHandler2
3
+ } from "../chunks/api-djs9m6v0.js";
4
+ import"../chunks/api-f6955nmc.js";
5
+ import"../chunks/api-5fr63cjn.js";
6
+ import"../chunks/api-bnpt5zxx.js";
7
+ import"../chunks/api-0q8mvh3b.js";
8
+ import"../chunks/api-ghyd9ren.js";
9
+ export {
10
+ WorktreeHandler2 as WorktreeHandler
11
+ };
@@ -0,0 +1,3 @@
1
+ import { Layer } from "effect";
2
+ import { SpaceStore } from "./space-store";
3
+ export declare const handlers: Layer.Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.agent"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.command"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.config"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.credential"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.debug"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.event"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.experimental"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.flag"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.form"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.fs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.generate"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.integration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.location"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.mcp"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.message"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.migration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.model"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.permission"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.plugin"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.project"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.provider"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.pty"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.reference"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.rpc"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.server"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.session"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.shell"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.skill"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.usage"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.vcs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.voice"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.websearch"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.worktree">, never, import("@radheim/protocol/middleware/authorization").Authorization | import("./auth").Config | import("./middleware/form-location").FormLocationMiddleware | import("./location").LocationMiddleware | import("effect/http/HttpRouter").Request<"Requires", import("@radheim/core/database/database").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@radheim/core/credential").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@radheim/core/wellknown").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@radheim/core/permission/saved").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@radheim/core/plugin/update").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@radheim/core/project").Service> | import("effect/http/HttpRouter").Request<"Requires", import("./server-info").Service> | import("@radheim/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@radheim/util/global").Service | import("@radheim/core/database/database").Service | import("@radheim/core/kv").Service | import("@radheim/core/session/instruction-entry").Service | import("@radheim/core/job").Service | import("@radheim/core/machine/identity").Service | import("@radheim/core/machine/machines").Service | import("@radheim/core/location-service-map").Service | import("@radheim/core/persistent-pty/index").Service | import("@radheim/core/session").Service | import("@radheim/core/automation").Service | import("@radheim/core/push/list").Service | import("@radheim/core/worktree").Service | import("@radheim/core/blob-store").Service | import("@radheim/core/video-generation").Service | import("@radheim/core/experimental/browser-tunnel").Service | import("@radheim/core/instance").Service | import("@radheim/core/bus").Service | import("@radheim/core/project").Service | import("@radheim/core/pty/ticket").Service | import("@radheim/core/session/transfer").Service | import("@radheim/core/filesystem/file-watch").Service | SpaceStore.Service | import("./pairing").Service | import("./middleware/session-location").SessionLocationMiddleware>;
@@ -0,0 +1,63 @@
1
+ import {
2
+ handlers2
3
+ } from "./chunks/api-ygxfyj7m.js";
4
+ import"./chunks/api-z3ybfekq.js";
5
+ import"./chunks/api-31hzmefh.js";
6
+ import"./chunks/api-kb431qm0.js";
7
+ import"./chunks/api-fhp54bwg.js";
8
+ import"./chunks/api-djs9m6v0.js";
9
+ import"./chunks/api-fq7f3wrn.js";
10
+ import"./chunks/api-d8rk8yaw.js";
11
+ import"./chunks/api-1mn3274c.js";
12
+ import"./chunks/api-5ggmn0t6.js";
13
+ import"./chunks/api-kb0k6qg1.js";
14
+ import"./chunks/api-b3j0kcev.js";
15
+ import"./chunks/api-hpgyxnbj.js";
16
+ import"./chunks/api-34msk99p.js";
17
+ import"./chunks/api-gghkbyq2.js";
18
+ import"./chunks/api-h8v4dbra.js";
19
+ import"./chunks/api-jb6q2eqf.js";
20
+ import"./chunks/api-8cw69z4p.js";
21
+ import"./chunks/api-ph6j0w88.js";
22
+ import"./chunks/api-qz4nw4cc.js";
23
+ import"./chunks/api-e4v11dgy.js";
24
+ import"./chunks/api-1jnx79t4.js";
25
+ import"./chunks/api-njzqh2v3.js";
26
+ import"./chunks/api-n0gqhwq7.js";
27
+ import"./chunks/api-zvb9sh2w.js";
28
+ import"./chunks/api-ns3kfwpq.js";
29
+ import"./chunks/api-rrsy7az3.js";
30
+ import"./chunks/api-vtj5wyks.js";
31
+ import"./chunks/api-t7f8xf56.js";
32
+ import"./chunks/api-nqw28mmv.js";
33
+ import"./chunks/api-q8azxbmk.js";
34
+ import"./chunks/api-wrma0ern.js";
35
+ import"./chunks/api-40z6h0fq.js";
36
+ import"./chunks/api-e2746nhp.js";
37
+ import"./chunks/api-xcn5yyhy.js";
38
+ import"./chunks/api-t2s5ghf4.js";
39
+ import"./chunks/api-280h8k1v.js";
40
+ import"./chunks/api-mzafcgd5.js";
41
+ import"./chunks/api-v2h85c6p.js";
42
+ import"./chunks/api-9bxtygz0.js";
43
+ import"./chunks/api-d4cyxj7e.js";
44
+ import"./chunks/api-trzj52xd.js";
45
+ import"./chunks/api-x180v472.js";
46
+ import"./chunks/api-wrj46kzw.js";
47
+ import"./chunks/api-k0fc7y6c.js";
48
+ import"./chunks/api-238wcyzf.js";
49
+ import"./chunks/api-xthc02cw.js";
50
+ import"./chunks/api-fpzegjvk.js";
51
+ import"./chunks/api-8sb6qqpn.js";
52
+ import"./chunks/api-f6955nmc.js";
53
+ import"./chunks/api-5fr63cjn.js";
54
+ import"./chunks/api-bnpt5zxx.js";
55
+ import"./chunks/api-9qr3r2v1.js";
56
+ import"./chunks/api-t32e1bbt.js";
57
+ import"./chunks/api-11hx8jza.js";
58
+ import"./chunks/api-7tqjsq7b.js";
59
+ import"./chunks/api-0q8mvh3b.js";
60
+ import"./chunks/api-ghyd9ren.js";
61
+ export {
62
+ handlers2 as handlers
63
+ };
@@ -0,0 +1,28 @@
1
+ import { FileSystem } from "@radheim/core/filesystem";
2
+ import { Location } from "@radheim/core/location";
3
+ import { LocationServiceMap } from "@radheim/core/location-services";
4
+ import { Session } from "@radheim/core/session";
5
+ import { LocationNotFoundError, InvalidRequestError } from "@radheim/protocol/errors";
6
+ import { Effect, Layer } from "effect";
7
+ import { HttpServerRequest } from "effect/http";
8
+ import { HttpApiMiddleware } from "effect/http-api";
9
+ export type LocationServices = Layer.Success<ReturnType<(typeof LocationServiceMap.Service)["get"]>>;
10
+ declare const LocationMiddleware_base: HttpApiMiddleware.ServiceClass<LocationMiddleware, "@radheim/HttpApiLocation", {
11
+ requires: never;
12
+ provides: import("@radheim/core/instance").Services;
13
+ error: readonly [typeof LocationNotFoundError];
14
+ clientError: never;
15
+ requiredForClient: false;
16
+ security: never;
17
+ }, HttpApiMiddleware.HttpApiMiddleware<import("@radheim/core/instance").Services, readonly [typeof LocationNotFoundError], never>>;
18
+ export declare class LocationMiddleware extends LocationMiddleware_base {
19
+ }
20
+ export declare function locationErrors<A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, LocationNotFoundError | Exclude<E, Extract<E, FileSystem.DirectoryNotFoundError>>, R>;
21
+ export declare function response<A, E, R>(data: Effect.Effect<A, E, R>): Effect.Effect<{
22
+ location: Location.Info;
23
+ data: A;
24
+ }, E, R | Location.Service>;
25
+ export declare const sessionInfo: (sessions: Session.Interface, sessionID: unknown) => Effect.Effect<Session.SessionSchema.Info, InvalidRequestError | import("@radheim/protocol/errors").SessionNotFoundError, never>;
26
+ export declare function requestRef(request: HttpServerRequest.HttpServerRequest): Location.Ref;
27
+ export declare const layer: Layer.Layer<LocationMiddleware, never, LocationServiceMap.Service>;
28
+ export {};
@@ -0,0 +1,17 @@
1
+ import {
2
+ LocationMiddleware2,
3
+ locationErrors2,
4
+ response2,
5
+ sessionInfo2,
6
+ requestRef2,
7
+ layer4
8
+ } from "./chunks/api-0q8mvh3b.js";
9
+ import"./chunks/api-ghyd9ren.js";
10
+ export {
11
+ LocationMiddleware2 as LocationMiddleware,
12
+ layer4 as layer,
13
+ locationErrors2 as locationErrors,
14
+ requestRef2 as requestRef,
15
+ response2 as response,
16
+ sessionInfo2 as sessionInfo
17
+ };
@@ -0,0 +1,6 @@
1
+ import type { HttpServerRequest } from "effect/http";
2
+ /**
3
+ * Whether the client opted into `media:` refs. The session's own location decides whether its stored media is
4
+ * actually left as refs (`experimental.media_blob`), so this only picks which read to call.
5
+ */
6
+ export declare const wantsMediaRefs: (request: HttpServerRequest.HttpServerRequest) => boolean;
@@ -0,0 +1,6 @@
1
+ import {
2
+ wantsMediaRefs2
3
+ } from "./chunks/api-xthc02cw.js";
4
+ export {
5
+ wantsMediaRefs2 as wantsMediaRefs
6
+ };
@@ -0,0 +1,8 @@
1
+ import { ServerAuth } from "../auth";
2
+ import { Authorization } from "@radheim/protocol/middleware/authorization";
3
+ export { Authorization } from "@radheim/protocol/middleware/authorization";
4
+ import { Effect, Layer } from "effect";
5
+ import { HttpServerRequest, HttpServerResponse } from "effect/http";
6
+ export declare function unauthorizedResponse(request: HttpServerRequest.HttpServerRequest): HttpServerResponse.HttpServerResponse;
7
+ export declare function authorizedRequest(request: HttpServerRequest.HttpServerRequest, config: ServerAuth.Info): Effect.Effect<boolean, never, never>;
8
+ export declare const authorizationLayer: Layer.Layer<Authorization, never, ServerAuth.Config>;
@@ -0,0 +1,13 @@
1
+ import {
2
+ unauthorizedResponse2,
3
+ authorizedRequest2,
4
+ authorizationLayer2,
5
+ Authorization2
6
+ } from "../chunks/api-bxwfazps.js";
7
+ import"../chunks/api-9qr3r2v1.js";
8
+ export {
9
+ Authorization2 as Authorization,
10
+ authorizationLayer2 as authorizationLayer,
11
+ authorizedRequest2 as authorizedRequest,
12
+ unauthorizedResponse2 as unauthorizedResponse
13
+ };
@@ -0,0 +1,2 @@
1
+ import { HttpRouter } from "effect/http";
2
+ export declare const defectResponseLayer: import("effect/Layer").Layer<never, never, HttpRouter.HttpRouter>;
@@ -0,0 +1,6 @@
1
+ import {
2
+ defectResponseLayer2
3
+ } from "../chunks/api-bctzdhd7.js";
4
+ export {
5
+ defectResponseLayer2 as defectResponseLayer
6
+ };
@@ -0,0 +1,18 @@
1
+ import { Instance } from "@radheim/core/instance/service";
2
+ import { LocationServiceMap } from "@radheim/core/location-services";
3
+ import { Session } from "@radheim/core/session";
4
+ import { LocationNotFoundError, InvalidRequestError, SessionNotFoundError } from "@radheim/protocol/errors";
5
+ import { Layer } from "effect";
6
+ import { HttpApiMiddleware } from "effect/http-api";
7
+ declare const FormLocationMiddleware_base: HttpApiMiddleware.ServiceClass<FormLocationMiddleware, "@radheim/HttpApiFormLocation", {
8
+ requires: never;
9
+ provides: Instance.Services;
10
+ error: readonly [typeof InvalidRequestError, typeof SessionNotFoundError, typeof LocationNotFoundError];
11
+ clientError: never;
12
+ requiredForClient: false;
13
+ security: never;
14
+ }, HttpApiMiddleware.HttpApiMiddleware<Instance.Services, readonly [typeof InvalidRequestError, typeof SessionNotFoundError, typeof LocationNotFoundError], never>>;
15
+ export declare class FormLocationMiddleware extends FormLocationMiddleware_base {
16
+ }
17
+ export declare const formLocationLayer: Layer.Layer<FormLocationMiddleware, never, LocationServiceMap.Service | Session.Service | Instance.Service>;
18
+ export {};
@@ -0,0 +1,10 @@
1
+ import {
2
+ FormLocationMiddleware2,
3
+ formLocationLayer2
4
+ } from "../chunks/api-bnpt5zxx.js";
5
+ import"../chunks/api-0q8mvh3b.js";
6
+ import"../chunks/api-ghyd9ren.js";
7
+ export {
8
+ FormLocationMiddleware2 as FormLocationMiddleware,
9
+ formLocationLayer2 as formLocationLayer
10
+ };
@@ -0,0 +1,3 @@
1
+ import { SchemaErrorMiddleware } from "@radheim/protocol/middleware/schema-error";
2
+ export { SchemaErrorMiddleware } from "@radheim/protocol/middleware/schema-error";
3
+ export declare const schemaErrorLayer: import("effect/Layer").Layer<SchemaErrorMiddleware, never, never>;