@relayfx/test 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.
Files changed (81) hide show
  1. package/README.md +5 -0
  2. package/dist/index.js +18190 -0
  3. package/dist/types/runtime/address/address-book-service.d.ts +74 -0
  4. package/dist/types/runtime/address/address-resolution-service.d.ts +140 -0
  5. package/dist/types/runtime/agent/agent-loop-service.d.ts +85 -0
  6. package/dist/types/runtime/agent/agent-registry-service.d.ts +31 -0
  7. package/dist/types/runtime/agent/prompt-assembler-service.d.ts +64 -0
  8. package/dist/types/runtime/agent/relay-approvals.d.ts +2 -0
  9. package/dist/types/runtime/agent/relay-compaction.d.ts +23 -0
  10. package/dist/types/runtime/agent/relay-instructions.d.ts +7 -0
  11. package/dist/types/runtime/agent/relay-permissions.d.ts +25 -0
  12. package/dist/types/runtime/agent/relay-steering.d.ts +17 -0
  13. package/dist/types/runtime/agent/relay-tool-executor.d.ts +22 -0
  14. package/dist/types/runtime/agent/relay-tool-output.d.ts +7 -0
  15. package/dist/types/runtime/agent/sequence-allocator.d.ts +8 -0
  16. package/dist/types/runtime/child/child-run-service.d.ts +90 -0
  17. package/dist/types/runtime/child/parent-notifier-service.d.ts +40 -0
  18. package/dist/types/runtime/child/spawn-child-run-tool.d.ts +211 -0
  19. package/dist/types/runtime/cluster/execution-entity.d.ts +37 -0
  20. package/dist/types/runtime/content/artifact-store-service.d.ts +26 -0
  21. package/dist/types/runtime/content/blob-store-service.d.ts +54 -0
  22. package/dist/types/runtime/entity/entity-instance-service.d.ts +67 -0
  23. package/dist/types/runtime/entity/entity-registry-service.d.ts +35 -0
  24. package/dist/types/runtime/envelope/envelope-service.d.ts +56 -0
  25. package/dist/types/runtime/execution/event-log-service.d.ts +68 -0
  26. package/dist/types/runtime/execution/execution-service.d.ts +65 -0
  27. package/dist/types/runtime/execution/execution-watch-service.d.ts +32 -0
  28. package/dist/types/runtime/execution/session-stream-service.d.ts +33 -0
  29. package/dist/types/runtime/inbox/inbox-service.d.ts +76 -0
  30. package/dist/types/runtime/inbox/send-message-tool.d.ts +27 -0
  31. package/dist/types/runtime/inbox/wait-for-messages-tool.d.ts +34 -0
  32. package/dist/types/runtime/index.d.ts +51 -0
  33. package/dist/types/runtime/memory/memory-service.d.ts +22 -0
  34. package/dist/types/runtime/model/embedding-model-service.d.ts +68 -0
  35. package/dist/types/runtime/model/language-model-service.d.ts +34 -0
  36. package/dist/types/runtime/model/model-call-policy.d.ts +14 -0
  37. package/dist/types/runtime/observability/runtime-metrics.d.ts +19 -0
  38. package/dist/types/runtime/presence/presence-service.d.ts +30 -0
  39. package/dist/types/runtime/presence/presence-tool.d.ts +20 -0
  40. package/dist/types/runtime/runner/runner-runtime-service.d.ts +149 -0
  41. package/dist/types/runtime/schedule/scheduler-service.d.ts +34 -0
  42. package/dist/types/runtime/schema-registry/schema-registry-service.d.ts +27 -0
  43. package/dist/types/runtime/session/session-store-service.d.ts +14 -0
  44. package/dist/types/runtime/skill/skill-registry-service.d.ts +44 -0
  45. package/dist/types/runtime/state/execution-state-service.d.ts +57 -0
  46. package/dist/types/runtime/state/state-tools.d.ts +5 -0
  47. package/dist/types/runtime/tool/tool-input-schema-digest.d.ts +6 -0
  48. package/dist/types/runtime/tool/tool-runtime-service.d.ts +139 -0
  49. package/dist/types/runtime/tool/tool-transition-coordinator.d.ts +13 -0
  50. package/dist/types/runtime/topic/publish-to-topic-tool.d.ts +24 -0
  51. package/dist/types/runtime/topic/topic-service.d.ts +50 -0
  52. package/dist/types/runtime/wait/wait-service.d.ts +81 -0
  53. package/dist/types/runtime/wait/wait-signal.d.ts +16 -0
  54. package/dist/types/runtime/workflow/activity-version-registry.d.ts +89 -0
  55. package/dist/types/runtime/workflow/execution-workflow.d.ts +475 -0
  56. package/dist/types/runtime/workspace/workspace-planner-service.d.ts +64 -0
  57. package/dist/types/runtime/workspace/workspace-provider-service.d.ts +108 -0
  58. package/dist/types/runtime/workspace/workspace-runtime-service.d.ts +21 -0
  59. package/dist/types/schema/address-schema.d.ts +77 -0
  60. package/dist/types/schema/agent-schema.d.ts +658 -0
  61. package/dist/types/schema/content-schema.d.ts +118 -0
  62. package/dist/types/schema/entity-schema.d.ts +40 -0
  63. package/dist/types/schema/envelope-schema.d.ts +180 -0
  64. package/dist/types/schema/execution-schema.d.ts +347 -0
  65. package/dist/types/schema/ids-schema.d.ts +94 -0
  66. package/dist/types/schema/inbox-schema.d.ts +81 -0
  67. package/dist/types/schema/index.d.ts +16 -0
  68. package/dist/types/schema/presence-schema.d.ts +28 -0
  69. package/dist/types/schema/schedule-schema.d.ts +79 -0
  70. package/dist/types/schema/shared-schema.d.ts +13 -0
  71. package/dist/types/schema/skill-schema.d.ts +260 -0
  72. package/dist/types/schema/state-schema.d.ts +35 -0
  73. package/dist/types/schema/tool-schema.d.ts +84 -0
  74. package/dist/types/schema/workspace-schema.d.ts +78 -0
  75. package/dist/types/test/captured-model.d.ts +13 -0
  76. package/dist/types/test/index.d.ts +6 -0
  77. package/dist/types/test/scripted-model.d.ts +39 -0
  78. package/dist/types/test/test-runtime.d.ts +9 -0
  79. package/dist/types/test/test-tools.d.ts +18 -0
  80. package/dist/types/test/wait-test-kit.d.ts +9 -0
  81. package/package.json +45 -0
@@ -0,0 +1,347 @@
1
+ import { Schema } from "effect";
2
+ import { Definition } from "./agent-schema";
3
+ export declare const ExecutionStatus: Schema.Literals<readonly ["queued", "running", "waiting", "completed", "failed", "cancelled"]>;
4
+ export type ExecutionStatus = typeof ExecutionStatus.Type;
5
+ export declare const Execution: Schema.Struct<{
6
+ readonly id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
7
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
8
+ };
9
+ readonly root_address_id: Schema.brand<Schema.String, "Relay.AddressId"> & {
10
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
11
+ };
12
+ readonly session_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.SessionId"> & {
13
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.SessionId">;
14
+ }>;
15
+ readonly status: Schema.Literals<readonly ["queued", "running", "waiting", "completed", "failed", "cancelled"]>;
16
+ readonly agent_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.AgentId"> & {
17
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AgentId">;
18
+ }>;
19
+ readonly agent_revision: Schema.optionalKey<Schema.Int>;
20
+ readonly agent_snapshot: Schema.optionalKey<Schema.Codec<Definition, {
21
+ readonly name: string;
22
+ readonly permissions: readonly {
23
+ readonly name: string;
24
+ readonly value: Schema.Json;
25
+ readonly metadata?: {
26
+ readonly [x: string]: Schema.Json;
27
+ };
28
+ }[];
29
+ readonly model: {
30
+ readonly provider: string;
31
+ readonly model: string;
32
+ readonly metadata?: {
33
+ readonly [x: string]: Schema.Json;
34
+ };
35
+ readonly registration_key?: string;
36
+ readonly request_options?: {
37
+ readonly [x: string]: Schema.Json;
38
+ };
39
+ };
40
+ readonly tool_names: readonly string[];
41
+ readonly metadata?: {
42
+ readonly [x: string]: Schema.Json;
43
+ };
44
+ readonly instructions?: string;
45
+ readonly output_schema_ref?: string;
46
+ readonly skill_definition_ids?: readonly string[];
47
+ readonly permission_rules?: {
48
+ readonly rules: readonly {
49
+ readonly pattern: string;
50
+ readonly level: "allow" | "deny" | "ask";
51
+ readonly reason?: string;
52
+ }[];
53
+ readonly fallback?: "allow" | "deny" | "ask";
54
+ };
55
+ readonly turn_policy?: import("./agent-schema").TurnPolicySnapshot;
56
+ readonly max_tool_turns?: number;
57
+ readonly max_wait_turns?: number;
58
+ readonly token_budget?: number;
59
+ readonly child_run_presets?: {
60
+ readonly [x: string]: {
61
+ readonly metadata?: {
62
+ readonly [x: string]: Schema.Json;
63
+ };
64
+ readonly permissions?: readonly string[];
65
+ readonly model?: {
66
+ readonly provider: string;
67
+ readonly model: string;
68
+ readonly metadata?: {
69
+ readonly [x: string]: Schema.Json;
70
+ };
71
+ readonly registration_key?: string;
72
+ readonly request_options?: {
73
+ readonly [x: string]: Schema.Json;
74
+ };
75
+ };
76
+ readonly instructions?: string;
77
+ readonly tool_names?: readonly string[];
78
+ readonly workspace_policy?: {
79
+ readonly mode: "share" | "fork";
80
+ readonly fallback?: "fail" | "fresh";
81
+ };
82
+ readonly output_schema_ref?: string;
83
+ };
84
+ };
85
+ readonly handoff_targets?: readonly Schema.Struct.ReadonlySide<{
86
+ readonly name: Schema.String;
87
+ readonly preset_name: Schema.String;
88
+ }, "Encoded">[];
89
+ }, never, never>>;
90
+ readonly agent_tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
91
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
92
+ readonly created_at: Schema.Int;
93
+ readonly updated_at: Schema.Int;
94
+ }>;
95
+ export interface Execution extends Schema.Schema.Type<typeof Execution> {
96
+ }
97
+ export declare const ExecutionEventSequence: Schema.Int;
98
+ export type ExecutionEventSequence = typeof ExecutionEventSequence.Type;
99
+ export declare const ChildRunContext: Schema.Struct<{
100
+ readonly instructions: Schema.optionalKey<Schema.String>;
101
+ readonly model: Schema.optionalKey<Schema.Struct<{
102
+ readonly provider: Schema.String;
103
+ readonly model: Schema.String;
104
+ readonly registration_key: Schema.optionalKey<Schema.String>;
105
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
106
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
107
+ }>>;
108
+ readonly tool_names: Schema.$Array<Schema.String>;
109
+ readonly permissions: Schema.$Array<Schema.String>;
110
+ readonly output_schema_ref: Schema.optionalKey<Schema.String>;
111
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
112
+ }>;
113
+ export interface ChildRunContext extends Schema.Schema.Type<typeof ChildRunContext> {
114
+ }
115
+ export declare const ChildRunOverride: Schema.Struct<{
116
+ readonly instructions: Schema.optionalKey<Schema.String>;
117
+ readonly model: Schema.optionalKey<Schema.Struct<{
118
+ readonly provider: Schema.String;
119
+ readonly model: Schema.String;
120
+ readonly registration_key: Schema.optionalKey<Schema.String>;
121
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
122
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
123
+ }>>;
124
+ readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
125
+ readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
126
+ readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
127
+ readonly mode: Schema.Literals<readonly ["share", "fork"]>;
128
+ readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
129
+ }>>;
130
+ readonly output_schema_ref: Schema.optionalKey<Schema.String>;
131
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
132
+ }>;
133
+ export interface ChildRunOverride extends Schema.Schema.Type<typeof ChildRunOverride> {
134
+ }
135
+ export declare const ChildRunPreset: Schema.Struct<{
136
+ readonly instructions: Schema.optionalKey<Schema.String>;
137
+ readonly model: Schema.optionalKey<Schema.Struct<{
138
+ readonly provider: Schema.String;
139
+ readonly model: Schema.String;
140
+ readonly registration_key: Schema.optionalKey<Schema.String>;
141
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
142
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
143
+ }>>;
144
+ readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
145
+ readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
146
+ readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
147
+ readonly mode: Schema.Literals<readonly ["share", "fork"]>;
148
+ readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
149
+ }>>;
150
+ readonly output_schema_ref: Schema.optionalKey<Schema.String>;
151
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
152
+ }>;
153
+ export interface ChildRunPreset extends Schema.Schema.Type<typeof ChildRunPreset> {
154
+ }
155
+ export declare const SpawnChildRunInput: Schema.Struct<{
156
+ readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
157
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
158
+ };
159
+ readonly child_execution_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.ChildExecutionId"> & {
160
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildExecutionId">;
161
+ }>;
162
+ readonly address_id: Schema.brand<Schema.String, "Relay.AddressId"> & {
163
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
164
+ };
165
+ readonly parent_context: Schema.Struct<{
166
+ readonly instructions: Schema.optionalKey<Schema.String>;
167
+ readonly model: Schema.optionalKey<Schema.Struct<{
168
+ readonly provider: Schema.String;
169
+ readonly model: Schema.String;
170
+ readonly registration_key: Schema.optionalKey<Schema.String>;
171
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
172
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
173
+ }>>;
174
+ readonly tool_names: Schema.$Array<Schema.String>;
175
+ readonly permissions: Schema.$Array<Schema.String>;
176
+ readonly output_schema_ref: Schema.optionalKey<Schema.String>;
177
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
178
+ }>;
179
+ readonly presets: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
180
+ readonly instructions: Schema.optionalKey<Schema.String>;
181
+ readonly model: Schema.optionalKey<Schema.Struct<{
182
+ readonly provider: Schema.String;
183
+ readonly model: Schema.String;
184
+ readonly registration_key: Schema.optionalKey<Schema.String>;
185
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
186
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
187
+ }>>;
188
+ readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
189
+ readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
190
+ readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
191
+ readonly mode: Schema.Literals<readonly ["share", "fork"]>;
192
+ readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
193
+ }>>;
194
+ readonly output_schema_ref: Schema.optionalKey<Schema.String>;
195
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
196
+ }>>>;
197
+ readonly preset_name: Schema.optionalKey<Schema.String>;
198
+ readonly instructions: Schema.optionalKey<Schema.String>;
199
+ readonly model: Schema.optionalKey<Schema.Struct<{
200
+ readonly provider: Schema.String;
201
+ readonly model: Schema.String;
202
+ readonly registration_key: Schema.optionalKey<Schema.String>;
203
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
204
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
205
+ }>>;
206
+ readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
207
+ readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
208
+ readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
209
+ readonly mode: Schema.Literals<readonly ["share", "fork"]>;
210
+ readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
211
+ }>>;
212
+ readonly output_schema_ref: Schema.optionalKey<Schema.String>;
213
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
214
+ readonly input: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
215
+ readonly type: Schema.Literal<"text">;
216
+ readonly text: Schema.String;
217
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
218
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
219
+ }>, Schema.Struct<{
220
+ readonly type: Schema.Literal<"structured">;
221
+ readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
222
+ readonly schema_ref: Schema.optionalKey<Schema.String>;
223
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
224
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
225
+ }>, Schema.Struct<{
226
+ readonly type: Schema.Literal<"blob-reference">;
227
+ readonly uri: Schema.String;
228
+ readonly media_type: Schema.String;
229
+ readonly filename: Schema.optionalKey<Schema.String>;
230
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
231
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
232
+ }>, Schema.Struct<{
233
+ readonly type: Schema.Literal<"artifact-reference">;
234
+ readonly artifact_id: Schema.String;
235
+ readonly media_type: Schema.optionalKey<Schema.String>;
236
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
237
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
238
+ }>, Schema.Struct<{
239
+ readonly type: Schema.Literal<"tool-call">;
240
+ readonly call: Schema.Struct<{
241
+ readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
242
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
243
+ };
244
+ readonly name: Schema.String;
245
+ readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
246
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
247
+ }>;
248
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
249
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
250
+ }>, Schema.Struct<{
251
+ readonly type: Schema.Literal<"tool-result">;
252
+ readonly result: Schema.Struct<{
253
+ readonly call_id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
254
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
255
+ };
256
+ readonly output: Schema.Codec<Schema.Json, Schema.Json, never, never>;
257
+ readonly error: Schema.optionalKey<Schema.String>;
258
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
259
+ }>;
260
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
261
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
262
+ }>]>>>;
263
+ readonly wait: Schema.optionalKey<Schema.Boolean>;
264
+ readonly event_sequence: Schema.optionalKey<Schema.Int>;
265
+ readonly created_at: Schema.optionalKey<Schema.Int>;
266
+ }>;
267
+ export interface SpawnChildRunInput extends Schema.Schema.Type<typeof SpawnChildRunInput> {
268
+ }
269
+ export declare const ChildRunAccepted: Schema.Struct<{
270
+ readonly child_execution_id: Schema.brand<Schema.String, "Relay.ChildExecutionId"> & {
271
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildExecutionId">;
272
+ };
273
+ readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
274
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
275
+ };
276
+ }>;
277
+ export interface ChildRunAccepted extends Schema.Schema.Type<typeof ChildRunAccepted> {
278
+ }
279
+ export declare const ExecutionEventType: Schema.Literals<readonly ["execution.accepted", "execution.started", "execution.completed", "execution.failed", "execution.cancelled", "model.input.prepared", "model.output.delta", "model.reasoning.delta", "model.output.completed", "model.usage.reported", "budget.exceeded", "tool.call.requested", "tool.result.received", "tool.approval.requested", "tool.approval.resolved", "permission.ask.requested", "permission.ask.resolved", "steering.received", "state.updated", "state.deleted", "inbox.enqueued", "inbox.drained", "entity.created", "entity.destroyed", "envelope.accepted", "envelope.routed", "envelope.ready", "delivery.attempt", "wait.created", "wait.woken", "wait.timed_out", "wait.cancelled", "child_run.spawned", "child_run.event", "workspace.lease.planned", "workspace.lease.acquired", "workspace.suspended", "workspace.resumed", "workspace.snapshot.created", "workspace.lease.released", "workspace.lease.failed"]>;
280
+ export type ExecutionEventType = typeof ExecutionEventType.Type;
281
+ export declare const ExecutionEvent: Schema.Struct<{
282
+ readonly id: Schema.brand<Schema.String, "Relay.EventId"> & {
283
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.EventId">;
284
+ };
285
+ readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
286
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
287
+ };
288
+ readonly child_execution_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.ChildExecutionId"> & {
289
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildExecutionId">;
290
+ }>;
291
+ readonly type: Schema.Literals<readonly ["execution.accepted", "execution.started", "execution.completed", "execution.failed", "execution.cancelled", "model.input.prepared", "model.output.delta", "model.reasoning.delta", "model.output.completed", "model.usage.reported", "budget.exceeded", "tool.call.requested", "tool.result.received", "tool.approval.requested", "tool.approval.resolved", "permission.ask.requested", "permission.ask.resolved", "steering.received", "state.updated", "state.deleted", "inbox.enqueued", "inbox.drained", "entity.created", "entity.destroyed", "envelope.accepted", "envelope.routed", "envelope.ready", "delivery.attempt", "wait.created", "wait.woken", "wait.timed_out", "wait.cancelled", "child_run.spawned", "child_run.event", "workspace.lease.planned", "workspace.lease.acquired", "workspace.suspended", "workspace.resumed", "workspace.snapshot.created", "workspace.lease.released", "workspace.lease.failed"]>;
292
+ readonly sequence: Schema.Int;
293
+ readonly cursor: Schema.String;
294
+ readonly content: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
295
+ readonly type: Schema.Literal<"text">;
296
+ readonly text: Schema.String;
297
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
298
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
299
+ }>, Schema.Struct<{
300
+ readonly type: Schema.Literal<"structured">;
301
+ readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
302
+ readonly schema_ref: Schema.optionalKey<Schema.String>;
303
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
304
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
305
+ }>, Schema.Struct<{
306
+ readonly type: Schema.Literal<"blob-reference">;
307
+ readonly uri: Schema.String;
308
+ readonly media_type: Schema.String;
309
+ readonly filename: Schema.optionalKey<Schema.String>;
310
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
311
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
312
+ }>, Schema.Struct<{
313
+ readonly type: Schema.Literal<"artifact-reference">;
314
+ readonly artifact_id: Schema.String;
315
+ readonly media_type: Schema.optionalKey<Schema.String>;
316
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
317
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
318
+ }>, Schema.Struct<{
319
+ readonly type: Schema.Literal<"tool-call">;
320
+ readonly call: Schema.Struct<{
321
+ readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
322
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
323
+ };
324
+ readonly name: Schema.String;
325
+ readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
326
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
327
+ }>;
328
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
329
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
330
+ }>, Schema.Struct<{
331
+ readonly type: Schema.Literal<"tool-result">;
332
+ readonly result: Schema.Struct<{
333
+ readonly call_id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
334
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
335
+ };
336
+ readonly output: Schema.Codec<Schema.Json, Schema.Json, never, never>;
337
+ readonly error: Schema.optionalKey<Schema.String>;
338
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
339
+ }>;
340
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
341
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
342
+ }>]>>>;
343
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
344
+ readonly created_at: Schema.Int;
345
+ }>;
346
+ export interface ExecutionEvent extends Schema.Schema.Type<typeof ExecutionEvent> {
347
+ }
@@ -0,0 +1,94 @@
1
+ import { Schema } from "effect";
2
+ export declare const AddressId: Schema.brand<Schema.String, "Relay.AddressId"> & {
3
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
4
+ };
5
+ export type AddressId = typeof AddressId.Type;
6
+ export declare const TenantId: Schema.brand<Schema.String, "Relay.TenantId"> & {
7
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.TenantId">;
8
+ };
9
+ export type TenantId = typeof TenantId.Type;
10
+ export declare const SystemTenantId: string & import("effect/Brand").Brand<"Relay.TenantId">;
11
+ export declare const AddressBookEntryId: Schema.brand<Schema.String, "Relay.AddressBookEntryId"> & {
12
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressBookEntryId">;
13
+ };
14
+ export type AddressBookEntryId = typeof AddressBookEntryId.Type;
15
+ export declare const AgentId: Schema.brand<Schema.String, "Relay.AgentId"> & {
16
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AgentId">;
17
+ };
18
+ export type AgentId = typeof AgentId.Type;
19
+ export declare const EntityKindName: Schema.brand<Schema.String, "Relay.EntityKindName"> & {
20
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.EntityKindName">;
21
+ };
22
+ export type EntityKindName = typeof EntityKindName.Type;
23
+ export declare const EntityKey: Schema.brand<Schema.String, "Relay.EntityKey"> & {
24
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.EntityKey">;
25
+ };
26
+ export type EntityKey = typeof EntityKey.Type;
27
+ export declare const SkillDefinitionId: Schema.brand<Schema.String, "Relay.SkillDefinitionId"> & {
28
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.SkillDefinitionId">;
29
+ };
30
+ export type SkillDefinitionId = typeof SkillDefinitionId.Type;
31
+ export declare const EnvelopeId: Schema.brand<Schema.String, "Relay.EnvelopeId"> & {
32
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.EnvelopeId">;
33
+ };
34
+ export type EnvelopeId = typeof EnvelopeId.Type;
35
+ export declare const EnvelopeReadyId: Schema.brand<Schema.String, "Relay.EnvelopeReadyId"> & {
36
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.EnvelopeReadyId">;
37
+ };
38
+ export type EnvelopeReadyId = typeof EnvelopeReadyId.Type;
39
+ export declare const ExecutionId: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
40
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
41
+ };
42
+ export type ExecutionId = typeof ExecutionId.Type;
43
+ export declare const ChildExecutionId: Schema.brand<Schema.String, "Relay.ChildExecutionId"> & {
44
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildExecutionId">;
45
+ };
46
+ export type ChildExecutionId = typeof ChildExecutionId.Type;
47
+ export declare const MemorySubjectId: Schema.brand<Schema.String, "Relay.MemorySubjectId"> & {
48
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.MemorySubjectId">;
49
+ };
50
+ export type MemorySubjectId = typeof MemorySubjectId.Type;
51
+ export declare const SessionId: Schema.brand<Schema.String, "Relay.SessionId"> & {
52
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.SessionId">;
53
+ };
54
+ export type SessionId = typeof SessionId.Type;
55
+ export declare const SessionEntryId: Schema.brand<Schema.String, "Relay.SessionEntryId"> & {
56
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.SessionEntryId">;
57
+ };
58
+ export type SessionEntryId = typeof SessionEntryId.Type;
59
+ export declare const WorkspaceLeaseId: Schema.brand<Schema.String, "Relay.WorkspaceLeaseId"> & {
60
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkspaceLeaseId">;
61
+ };
62
+ export type WorkspaceLeaseId = typeof WorkspaceLeaseId.Type;
63
+ export declare const WorkspaceSnapshotId: Schema.brand<Schema.String, "Relay.WorkspaceSnapshotId"> & {
64
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkspaceSnapshotId">;
65
+ };
66
+ export type WorkspaceSnapshotId = typeof WorkspaceSnapshotId.Type;
67
+ export declare const WorkspaceRef: Schema.brand<Schema.String, "Relay.WorkspaceRef"> & {
68
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkspaceRef">;
69
+ };
70
+ export type WorkspaceRef = typeof WorkspaceRef.Type;
71
+ export declare const SnapshotRef: Schema.brand<Schema.String, "Relay.SnapshotRef"> & {
72
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.SnapshotRef">;
73
+ };
74
+ export type SnapshotRef = typeof SnapshotRef.Type;
75
+ export declare const ToolCallId: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
76
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
77
+ };
78
+ export type ToolCallId = typeof ToolCallId.Type;
79
+ export declare const ToolAttemptId: Schema.brand<Schema.String, "Relay.ToolAttemptId"> & {
80
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolAttemptId">;
81
+ };
82
+ export type ToolAttemptId = typeof ToolAttemptId.Type;
83
+ export declare const WaitId: Schema.brand<Schema.String, "Relay.WaitId"> & {
84
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
85
+ };
86
+ export type WaitId = typeof WaitId.Type;
87
+ export declare const ScheduleId: Schema.brand<Schema.String, "Relay.ScheduleId"> & {
88
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ScheduleId">;
89
+ };
90
+ export type ScheduleId = typeof ScheduleId.Type;
91
+ export declare const EventId: Schema.brand<Schema.String, "Relay.EventId"> & {
92
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.EventId">;
93
+ };
94
+ export type EventId = typeof EventId.Type;
@@ -0,0 +1,81 @@
1
+ import { Schema } from "effect";
2
+ export declare const MessageSequence: Schema.Int;
3
+ export type MessageSequence = typeof MessageSequence.Type;
4
+ export declare const Message: Schema.Struct<{
5
+ readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
6
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
7
+ };
8
+ readonly sequence: Schema.Int;
9
+ readonly from: Schema.brand<Schema.String, "Relay.AddressId"> & {
10
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
11
+ };
12
+ readonly envelope_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.EnvelopeId"> & {
13
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.EnvelopeId">;
14
+ }>;
15
+ readonly content: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
16
+ readonly type: Schema.Literal<"text">;
17
+ readonly text: Schema.String;
18
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
19
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
20
+ }>, Schema.Struct<{
21
+ readonly type: Schema.Literal<"structured">;
22
+ readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
23
+ readonly schema_ref: Schema.optionalKey<Schema.String>;
24
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
25
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
26
+ }>, Schema.Struct<{
27
+ readonly type: Schema.Literal<"blob-reference">;
28
+ readonly uri: Schema.String;
29
+ readonly media_type: Schema.String;
30
+ readonly filename: Schema.optionalKey<Schema.String>;
31
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
32
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
33
+ }>, Schema.Struct<{
34
+ readonly type: Schema.Literal<"artifact-reference">;
35
+ readonly artifact_id: Schema.String;
36
+ readonly media_type: Schema.optionalKey<Schema.String>;
37
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
38
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
39
+ }>, Schema.Struct<{
40
+ readonly type: Schema.Literal<"tool-call">;
41
+ readonly call: Schema.Struct<{
42
+ readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
43
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
44
+ };
45
+ readonly name: Schema.String;
46
+ readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
47
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
48
+ }>;
49
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
50
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
51
+ }>, Schema.Struct<{
52
+ readonly type: Schema.Literal<"tool-result">;
53
+ readonly result: Schema.Struct<{
54
+ readonly call_id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
55
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
56
+ };
57
+ readonly output: Schema.Codec<Schema.Json, Schema.Json, never, never>;
58
+ readonly error: Schema.optionalKey<Schema.String>;
59
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
60
+ }>;
61
+ readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
62
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
63
+ }>]>>;
64
+ readonly reply_wait_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.WaitId"> & {
65
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
66
+ }>;
67
+ readonly correlation_key: Schema.optionalKey<Schema.String>;
68
+ readonly idempotency_key: Schema.optionalKey<Schema.String>;
69
+ readonly drain_id: Schema.optionalKey<Schema.String>;
70
+ readonly consumed_at: Schema.optionalKey<Schema.Int>;
71
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
72
+ readonly created_at: Schema.Int;
73
+ }>;
74
+ export interface Message extends Schema.Schema.Type<typeof Message> {
75
+ }
76
+ export declare const InboxPolicy: Schema.Struct<{
77
+ readonly drain: Schema.Literals<readonly ["all", "one"]>;
78
+ readonly max_batch: Schema.optionalKey<Schema.Int>;
79
+ }>;
80
+ export interface InboxPolicy extends Schema.Schema.Type<typeof InboxPolicy> {
81
+ }
@@ -0,0 +1,16 @@
1
+ export * as Address from "./address-schema";
2
+ export * as Agent from "./agent-schema";
3
+ export * as Content from "./content-schema";
4
+ export * as Envelope from "./envelope-schema";
5
+ export * as Entity from "./entity-schema";
6
+ export * as Execution from "./execution-schema";
7
+ export * as Ids from "./ids-schema";
8
+ export * as Inbox from "./inbox-schema";
9
+ export * as Presence from "./presence-schema";
10
+ export * as Schedule from "./schedule-schema";
11
+ export * as Shared from "./shared-schema";
12
+ export * as Skill from "./skill-schema";
13
+ export * as State from "./state-schema";
14
+ export * as Tool from "./tool-schema";
15
+ export * as Workspace from "./workspace-schema";
16
+ export declare const schemaPackage = "./index";
@@ -0,0 +1,28 @@
1
+ import { Schema } from "effect";
2
+ export declare const Scope: Schema.Struct<{
3
+ readonly kind: Schema.Literals<readonly ["execution", "session"]>;
4
+ readonly id: Schema.String;
5
+ }>;
6
+ export interface Scope extends Schema.Schema.Type<typeof Scope> {
7
+ }
8
+ export declare const Entry: Schema.Struct<{
9
+ readonly id: Schema.String;
10
+ readonly metadata: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
11
+ readonly connected_at: Schema.Int;
12
+ }>;
13
+ export interface Entry extends Schema.Schema.Type<typeof Entry> {
14
+ }
15
+ export declare const View: Schema.Struct<{
16
+ readonly scope: Schema.Struct<{
17
+ readonly kind: Schema.Literals<readonly ["execution", "session"]>;
18
+ readonly id: Schema.String;
19
+ }>;
20
+ readonly entries: Schema.$Array<Schema.Struct<{
21
+ readonly id: Schema.String;
22
+ readonly metadata: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
23
+ readonly connected_at: Schema.Int;
24
+ }>>;
25
+ readonly observed_at: Schema.Int;
26
+ }>;
27
+ export interface View extends Schema.Schema.Type<typeof View> {
28
+ }