@relayfx/test 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/README.md +2 -2
  2. package/dist/index.js +29 -20481
  3. package/dist/types/test/index.d.ts +0 -2
  4. package/dist/types/test/test-runtime.d.ts +6 -7
  5. package/dist/types/test/test-tools.d.ts +2 -2
  6. package/dist/types/test/wait-test-kit.d.ts +1 -1
  7. package/package.json +7 -6
  8. package/dist/types/runtime/address/address-book-service.d.ts +0 -74
  9. package/dist/types/runtime/address/address-resolution-service.d.ts +0 -172
  10. package/dist/types/runtime/agent/agent-loop-service.d.ts +0 -92
  11. package/dist/types/runtime/agent/agent-registry-service.d.ts +0 -31
  12. package/dist/types/runtime/agent/prompt-assembler-service.d.ts +0 -64
  13. package/dist/types/runtime/agent/relay-approvals.d.ts +0 -2
  14. package/dist/types/runtime/agent/relay-compaction.d.ts +0 -24
  15. package/dist/types/runtime/agent/relay-instructions.d.ts +0 -7
  16. package/dist/types/runtime/agent/relay-permissions.d.ts +0 -25
  17. package/dist/types/runtime/agent/relay-steering.d.ts +0 -17
  18. package/dist/types/runtime/agent/relay-tool-executor.d.ts +0 -22
  19. package/dist/types/runtime/agent/relay-tool-output.d.ts +0 -10
  20. package/dist/types/runtime/agent/sequence-allocator.d.ts +0 -8
  21. package/dist/types/runtime/child/child-fan-out-admission-service.d.ts +0 -30
  22. package/dist/types/runtime/child/child-fan-out-runtime.d.ts +0 -40
  23. package/dist/types/runtime/child/child-fan-out-transition-service.d.ts +0 -25
  24. package/dist/types/runtime/child/child-run-service.d.ts +0 -96
  25. package/dist/types/runtime/child/parent-notifier-service.d.ts +0 -42
  26. package/dist/types/runtime/child/spawn-child-run-tool.d.ts +0 -225
  27. package/dist/types/runtime/cluster/execution-entity.d.ts +0 -39
  28. package/dist/types/runtime/content/artifact-store-service.d.ts +0 -26
  29. package/dist/types/runtime/content/blob-store-service.d.ts +0 -54
  30. package/dist/types/runtime/entity/entity-instance-service.d.ts +0 -76
  31. package/dist/types/runtime/entity/entity-registry-service.d.ts +0 -35
  32. package/dist/types/runtime/envelope/envelope-service.d.ts +0 -56
  33. package/dist/types/runtime/execution/active-execution-registry.d.ts +0 -12
  34. package/dist/types/runtime/execution/event-log-service.d.ts +0 -93
  35. package/dist/types/runtime/execution/execution-service.d.ts +0 -66
  36. package/dist/types/runtime/execution/execution-watch-service.d.ts +0 -32
  37. package/dist/types/runtime/execution/session-stream-service.d.ts +0 -33
  38. package/dist/types/runtime/inbox/inbox-service.d.ts +0 -76
  39. package/dist/types/runtime/inbox/send-message-tool.d.ts +0 -27
  40. package/dist/types/runtime/inbox/wait-for-messages-tool.d.ts +0 -34
  41. package/dist/types/runtime/index.d.ts +0 -56
  42. package/dist/types/runtime/memory/memory-service.d.ts +0 -22
  43. package/dist/types/runtime/model/embedding-model-service.d.ts +0 -81
  44. package/dist/types/runtime/model/language-model-service.d.ts +0 -48
  45. package/dist/types/runtime/model/model-call-policy.d.ts +0 -14
  46. package/dist/types/runtime/observability/runtime-metrics.d.ts +0 -28
  47. package/dist/types/runtime/presence/presence-service.d.ts +0 -30
  48. package/dist/types/runtime/presence/presence-tool.d.ts +0 -20
  49. package/dist/types/runtime/runner/runner-runtime-service.d.ts +0 -149
  50. package/dist/types/runtime/schedule/scheduler-service.d.ts +0 -34
  51. package/dist/types/runtime/schema-registry/schema-registry-service.d.ts +0 -27
  52. package/dist/types/runtime/session/session-store-service.d.ts +0 -23
  53. package/dist/types/runtime/skill/skill-registry-service.d.ts +0 -44
  54. package/dist/types/runtime/state/execution-state-service.d.ts +0 -60
  55. package/dist/types/runtime/state/state-tools.d.ts +0 -5
  56. package/dist/types/runtime/tool/tool-input-schema-digest.d.ts +0 -6
  57. package/dist/types/runtime/tool/tool-runtime-service.d.ts +0 -162
  58. package/dist/types/runtime/tool/tool-transition-coordinator.d.ts +0 -13
  59. package/dist/types/runtime/topic/publish-to-topic-tool.d.ts +0 -24
  60. package/dist/types/runtime/topic/topic-service.d.ts +0 -50
  61. package/dist/types/runtime/wait/wait-service.d.ts +0 -81
  62. package/dist/types/runtime/wait/wait-signal.d.ts +0 -25
  63. package/dist/types/runtime/workflow/activity-version-registry.d.ts +0 -93
  64. package/dist/types/runtime/workflow/definition-runtime.d.ts +0 -95
  65. package/dist/types/runtime/workflow/execution-workflow.d.ts +0 -534
  66. package/dist/types/runtime/workspace/workspace-planner-service.d.ts +0 -64
  67. package/dist/types/runtime/workspace/workspace-provider-service.d.ts +0 -112
  68. package/dist/types/runtime/workspace/workspace-runtime-service.d.ts +0 -21
  69. package/dist/types/schema/address-schema.d.ts +0 -77
  70. package/dist/types/schema/agent-schema.d.ts +0 -901
  71. package/dist/types/schema/child-orchestration-schema.d.ts +0 -429
  72. package/dist/types/schema/content-schema.d.ts +0 -118
  73. package/dist/types/schema/entity-schema.d.ts +0 -40
  74. package/dist/types/schema/envelope-schema.d.ts +0 -180
  75. package/dist/types/schema/execution-schema.d.ts +0 -453
  76. package/dist/types/schema/ids-schema.d.ts +0 -106
  77. package/dist/types/schema/inbox-schema.d.ts +0 -81
  78. package/dist/types/schema/index.d.ts +0 -19
  79. package/dist/types/schema/presence-schema.d.ts +0 -28
  80. package/dist/types/schema/schedule-schema.d.ts +0 -79
  81. package/dist/types/schema/shared-schema.d.ts +0 -13
  82. package/dist/types/schema/skill-schema.d.ts +0 -260
  83. package/dist/types/schema/state-schema.d.ts +0 -35
  84. package/dist/types/schema/tool-schema.d.ts +0 -84
  85. package/dist/types/schema/wait-schema.d.ts +0 -98
  86. package/dist/types/schema/workflow-schema.d.ts +0 -2062
  87. package/dist/types/schema/workspace-schema.d.ts +0 -78
  88. package/dist/types/test/captured-model.d.ts +0 -19
  89. package/dist/types/test/scripted-model.d.ts +0 -49
@@ -1,429 +0,0 @@
1
- import { Schema } from "effect";
2
- export declare const JoinPolicy: Schema.Union<readonly [Schema.TaggedStruct<"all", {}>, Schema.TaggedStruct<"first-success", {}>, Schema.TaggedStruct<"quorum", {
3
- readonly count: Schema.Int;
4
- }>, Schema.TaggedStruct<"best-effort", {}>]>;
5
- export type JoinPolicy = typeof JoinPolicy.Type;
6
- export declare const FanOutChild: Schema.Struct<{
7
- readonly child_execution_id: Schema.brand<Schema.String, "Relay.ChildExecutionId"> & {
8
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildExecutionId">;
9
- };
10
- readonly address_id: Schema.brand<Schema.String, "Relay.AddressId"> & {
11
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
12
- };
13
- readonly override: Schema.optionalKey<Schema.Struct<{
14
- readonly instructions: Schema.optionalKey<Schema.String>;
15
- readonly model: Schema.optionalKey<Schema.Struct<{
16
- readonly provider: Schema.String;
17
- readonly model: Schema.String;
18
- readonly registration_key: Schema.optionalKey<Schema.String>;
19
- readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
20
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
21
- }>>;
22
- readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
23
- readonly context_window: Schema.Finite;
24
- readonly reserve_tokens: Schema.Finite;
25
- readonly keep_recent_tokens: Schema.Finite;
26
- readonly summary_model: Schema.optionalKey<Schema.Struct<{
27
- readonly provider: Schema.String;
28
- readonly model: Schema.String;
29
- readonly registration_key: Schema.optionalKey<Schema.String>;
30
- readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
31
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
32
- }>>;
33
- }>>;
34
- readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
35
- readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
36
- readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
37
- readonly mode: Schema.Literals<readonly ["share", "fork"]>;
38
- readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
39
- }>>;
40
- readonly output_schema_ref: Schema.optionalKey<Schema.String>;
41
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
42
- }>>;
43
- readonly input: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
44
- readonly type: Schema.Literal<"text">;
45
- readonly text: Schema.String;
46
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, 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
- }>, Schema.Struct<{
49
- readonly type: Schema.Literal<"structured">;
50
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
51
- readonly schema_ref: Schema.optionalKey<Schema.String>;
52
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
53
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
54
- }>, Schema.Struct<{
55
- readonly type: Schema.Literal<"blob-reference">;
56
- readonly uri: Schema.String;
57
- readonly media_type: Schema.String;
58
- readonly filename: Schema.optionalKey<Schema.String>;
59
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
60
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
61
- }>, Schema.Struct<{
62
- readonly type: Schema.Literal<"artifact-reference">;
63
- readonly artifact_id: Schema.String;
64
- readonly media_type: Schema.optionalKey<Schema.String>;
65
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
66
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
67
- }>, Schema.Struct<{
68
- readonly type: Schema.Literal<"tool-call">;
69
- readonly call: Schema.Struct<{
70
- readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
71
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
72
- };
73
- readonly name: Schema.String;
74
- readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
75
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
76
- }>;
77
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
78
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
79
- }>, Schema.Struct<{
80
- readonly type: Schema.Literal<"tool-result">;
81
- readonly result: Schema.Struct<{
82
- readonly call_id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
83
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
84
- };
85
- readonly output: Schema.Codec<Schema.Json, Schema.Json, never, never>;
86
- readonly error: Schema.optionalKey<Schema.String>;
87
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
88
- }>;
89
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
90
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
91
- }>]>>>;
92
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
93
- }>;
94
- export interface FanOutChild extends Schema.Schema.Type<typeof FanOutChild> {
95
- }
96
- export declare const FanOutDefinition: Schema.Struct<{
97
- readonly fan_out_id: Schema.brand<Schema.String, "Relay.ChildFanOutId"> & {
98
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildFanOutId">;
99
- };
100
- readonly parent_execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
101
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
102
- };
103
- readonly children: Schema.$Array<Schema.Struct<{
104
- readonly child_execution_id: Schema.brand<Schema.String, "Relay.ChildExecutionId"> & {
105
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildExecutionId">;
106
- };
107
- readonly address_id: Schema.brand<Schema.String, "Relay.AddressId"> & {
108
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
109
- };
110
- readonly override: Schema.optionalKey<Schema.Struct<{
111
- readonly instructions: Schema.optionalKey<Schema.String>;
112
- readonly model: Schema.optionalKey<Schema.Struct<{
113
- readonly provider: Schema.String;
114
- readonly model: Schema.String;
115
- readonly registration_key: Schema.optionalKey<Schema.String>;
116
- readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
117
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
118
- }>>;
119
- readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
120
- readonly context_window: Schema.Finite;
121
- readonly reserve_tokens: Schema.Finite;
122
- readonly keep_recent_tokens: Schema.Finite;
123
- readonly summary_model: Schema.optionalKey<Schema.Struct<{
124
- readonly provider: Schema.String;
125
- readonly model: Schema.String;
126
- readonly registration_key: Schema.optionalKey<Schema.String>;
127
- readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
128
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
129
- }>>;
130
- }>>;
131
- readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
132
- readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
133
- readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
134
- readonly mode: Schema.Literals<readonly ["share", "fork"]>;
135
- readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
136
- }>>;
137
- readonly output_schema_ref: Schema.optionalKey<Schema.String>;
138
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
139
- }>>;
140
- readonly input: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
141
- readonly type: Schema.Literal<"text">;
142
- readonly text: Schema.String;
143
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
144
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
145
- }>, Schema.Struct<{
146
- readonly type: Schema.Literal<"structured">;
147
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
148
- readonly schema_ref: Schema.optionalKey<Schema.String>;
149
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
150
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
151
- }>, Schema.Struct<{
152
- readonly type: Schema.Literal<"blob-reference">;
153
- readonly uri: Schema.String;
154
- readonly media_type: Schema.String;
155
- readonly filename: Schema.optionalKey<Schema.String>;
156
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
157
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
158
- }>, Schema.Struct<{
159
- readonly type: Schema.Literal<"artifact-reference">;
160
- readonly artifact_id: Schema.String;
161
- readonly media_type: Schema.optionalKey<Schema.String>;
162
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
163
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
164
- }>, Schema.Struct<{
165
- readonly type: Schema.Literal<"tool-call">;
166
- readonly call: Schema.Struct<{
167
- readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
168
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
169
- };
170
- readonly name: Schema.String;
171
- readonly input: 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 provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
175
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
176
- }>, Schema.Struct<{
177
- readonly type: Schema.Literal<"tool-result">;
178
- readonly result: Schema.Struct<{
179
- readonly call_id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
180
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
181
- };
182
- readonly output: Schema.Codec<Schema.Json, Schema.Json, never, never>;
183
- readonly error: Schema.optionalKey<Schema.String>;
184
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
185
- }>;
186
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
187
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
188
- }>]>>>;
189
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
190
- }>>;
191
- readonly max_concurrency: Schema.Int;
192
- readonly join: Schema.Union<readonly [Schema.TaggedStruct<"all", {}>, Schema.TaggedStruct<"first-success", {}>, Schema.TaggedStruct<"quorum", {
193
- readonly count: Schema.Int;
194
- }>, Schema.TaggedStruct<"best-effort", {}>]>;
195
- readonly created_at: Schema.Int;
196
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
197
- }>;
198
- export interface FanOutDefinition extends Schema.Schema.Type<typeof FanOutDefinition> {
199
- }
200
- export declare const MemberState: Schema.Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
201
- export type MemberState = typeof MemberState.Type;
202
- export declare const AggregateState: Schema.Literals<readonly ["joining", "satisfied", "failed", "cancelled"]>;
203
- export type AggregateState = typeof AggregateState.Type;
204
- export declare const FanOutMember: Schema.Struct<{
205
- readonly child_execution_id: Schema.brand<Schema.String, "Relay.ChildExecutionId"> & {
206
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildExecutionId">;
207
- };
208
- readonly ordinal: Schema.Int;
209
- readonly state: Schema.Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
210
- readonly output: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
211
- readonly type: Schema.Literal<"text">;
212
- readonly text: Schema.String;
213
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
214
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
215
- }>, Schema.Struct<{
216
- readonly type: Schema.Literal<"structured">;
217
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
218
- readonly schema_ref: Schema.optionalKey<Schema.String>;
219
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
220
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
221
- }>, Schema.Struct<{
222
- readonly type: Schema.Literal<"blob-reference">;
223
- readonly uri: Schema.String;
224
- readonly media_type: Schema.String;
225
- readonly filename: Schema.optionalKey<Schema.String>;
226
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
227
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
228
- }>, Schema.Struct<{
229
- readonly type: Schema.Literal<"artifact-reference">;
230
- readonly artifact_id: Schema.String;
231
- readonly media_type: Schema.optionalKey<Schema.String>;
232
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
233
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
234
- }>, Schema.Struct<{
235
- readonly type: Schema.Literal<"tool-call">;
236
- readonly call: Schema.Struct<{
237
- readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
238
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
239
- };
240
- readonly name: Schema.String;
241
- readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
242
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
243
- }>;
244
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
245
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
246
- }>, Schema.Struct<{
247
- readonly type: Schema.Literal<"tool-result">;
248
- readonly result: Schema.Struct<{
249
- readonly call_id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
250
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
251
- };
252
- readonly output: Schema.Codec<Schema.Json, Schema.Json, never, never>;
253
- readonly error: Schema.optionalKey<Schema.String>;
254
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
255
- }>;
256
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
257
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
258
- }>]>>>;
259
- readonly error: Schema.optionalKey<Schema.String>;
260
- readonly completed_at: Schema.optionalKey<Schema.Int>;
261
- }>;
262
- export interface FanOutMember extends Schema.Schema.Type<typeof FanOutMember> {
263
- }
264
- export declare const FanOutState: Schema.Struct<{
265
- readonly fan_out_id: Schema.brand<Schema.String, "Relay.ChildFanOutId"> & {
266
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildFanOutId">;
267
- };
268
- readonly parent_execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
269
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
270
- };
271
- readonly children: Schema.$Array<Schema.Struct<{
272
- readonly child_execution_id: Schema.brand<Schema.String, "Relay.ChildExecutionId"> & {
273
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildExecutionId">;
274
- };
275
- readonly address_id: Schema.brand<Schema.String, "Relay.AddressId"> & {
276
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
277
- };
278
- readonly override: Schema.optionalKey<Schema.Struct<{
279
- readonly instructions: Schema.optionalKey<Schema.String>;
280
- readonly model: Schema.optionalKey<Schema.Struct<{
281
- readonly provider: Schema.String;
282
- readonly model: Schema.String;
283
- readonly registration_key: Schema.optionalKey<Schema.String>;
284
- readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
285
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
286
- }>>;
287
- readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
288
- readonly context_window: Schema.Finite;
289
- readonly reserve_tokens: Schema.Finite;
290
- readonly keep_recent_tokens: Schema.Finite;
291
- readonly summary_model: Schema.optionalKey<Schema.Struct<{
292
- readonly provider: Schema.String;
293
- readonly model: Schema.String;
294
- readonly registration_key: Schema.optionalKey<Schema.String>;
295
- readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
296
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
297
- }>>;
298
- }>>;
299
- readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
300
- readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
301
- readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
302
- readonly mode: Schema.Literals<readonly ["share", "fork"]>;
303
- readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
304
- }>>;
305
- readonly output_schema_ref: Schema.optionalKey<Schema.String>;
306
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
307
- }>>;
308
- readonly input: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
309
- readonly type: Schema.Literal<"text">;
310
- readonly text: Schema.String;
311
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
312
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
313
- }>, Schema.Struct<{
314
- readonly type: Schema.Literal<"structured">;
315
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
316
- readonly schema_ref: Schema.optionalKey<Schema.String>;
317
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
318
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
319
- }>, Schema.Struct<{
320
- readonly type: Schema.Literal<"blob-reference">;
321
- readonly uri: Schema.String;
322
- readonly media_type: Schema.String;
323
- readonly filename: Schema.optionalKey<Schema.String>;
324
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
325
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
326
- }>, Schema.Struct<{
327
- readonly type: Schema.Literal<"artifact-reference">;
328
- readonly artifact_id: Schema.String;
329
- readonly media_type: Schema.optionalKey<Schema.String>;
330
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
331
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
332
- }>, Schema.Struct<{
333
- readonly type: Schema.Literal<"tool-call">;
334
- readonly call: Schema.Struct<{
335
- readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
336
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
337
- };
338
- readonly name: Schema.String;
339
- readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
340
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
341
- }>;
342
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
343
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
344
- }>, Schema.Struct<{
345
- readonly type: Schema.Literal<"tool-result">;
346
- readonly result: Schema.Struct<{
347
- readonly call_id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
348
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
349
- };
350
- readonly output: Schema.Codec<Schema.Json, Schema.Json, never, never>;
351
- readonly error: Schema.optionalKey<Schema.String>;
352
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
353
- }>;
354
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
355
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
356
- }>]>>>;
357
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
358
- }>>;
359
- readonly max_concurrency: Schema.Int;
360
- readonly join: Schema.Union<readonly [Schema.TaggedStruct<"all", {}>, Schema.TaggedStruct<"first-success", {}>, Schema.TaggedStruct<"quorum", {
361
- readonly count: Schema.Int;
362
- }>, Schema.TaggedStruct<"best-effort", {}>]>;
363
- readonly created_at: Schema.Int;
364
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
365
- readonly state: Schema.Literals<readonly ["joining", "satisfied", "failed", "cancelled"]>;
366
- readonly members: Schema.$Array<Schema.Struct<{
367
- readonly child_execution_id: Schema.brand<Schema.String, "Relay.ChildExecutionId"> & {
368
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildExecutionId">;
369
- };
370
- readonly ordinal: Schema.Int;
371
- readonly state: Schema.Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
372
- readonly output: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
373
- readonly type: Schema.Literal<"text">;
374
- readonly text: Schema.String;
375
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
376
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
377
- }>, Schema.Struct<{
378
- readonly type: Schema.Literal<"structured">;
379
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
380
- readonly schema_ref: Schema.optionalKey<Schema.String>;
381
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
382
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
383
- }>, Schema.Struct<{
384
- readonly type: Schema.Literal<"blob-reference">;
385
- readonly uri: Schema.String;
386
- readonly media_type: Schema.String;
387
- readonly filename: Schema.optionalKey<Schema.String>;
388
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
389
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
390
- }>, Schema.Struct<{
391
- readonly type: Schema.Literal<"artifact-reference">;
392
- readonly artifact_id: Schema.String;
393
- readonly media_type: Schema.optionalKey<Schema.String>;
394
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
395
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
396
- }>, Schema.Struct<{
397
- readonly type: Schema.Literal<"tool-call">;
398
- readonly call: Schema.Struct<{
399
- readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
400
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
401
- };
402
- readonly name: Schema.String;
403
- readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
404
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
405
- }>;
406
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
407
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
408
- }>, Schema.Struct<{
409
- readonly type: Schema.Literal<"tool-result">;
410
- readonly result: Schema.Struct<{
411
- readonly call_id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
412
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
413
- };
414
- readonly output: Schema.Codec<Schema.Json, Schema.Json, never, never>;
415
- readonly error: Schema.optionalKey<Schema.String>;
416
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
417
- }>;
418
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
419
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
420
- }>]>>>;
421
- readonly error: Schema.optionalKey<Schema.String>;
422
- readonly completed_at: Schema.optionalKey<Schema.Int>;
423
- }>>;
424
- readonly satisfied_at: Schema.optionalKey<Schema.Int>;
425
- readonly failed_at: Schema.optionalKey<Schema.Int>;
426
- readonly cancelled_at: Schema.optionalKey<Schema.Int>;
427
- }>;
428
- export interface FanOutState extends Schema.Schema.Type<typeof FanOutState> {
429
- }
@@ -1,118 +0,0 @@
1
- import { Schema } from "effect";
2
- export declare const TextPart: Schema.Struct<{
3
- readonly type: Schema.Literal<"text">;
4
- readonly text: Schema.String;
5
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
6
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
7
- }>;
8
- export interface TextPart extends Schema.Schema.Type<typeof TextPart> {
9
- }
10
- export declare const StructuredPart: Schema.Struct<{
11
- readonly type: Schema.Literal<"structured">;
12
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
13
- readonly schema_ref: Schema.optionalKey<Schema.String>;
14
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
15
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
16
- }>;
17
- export interface StructuredPart extends Schema.Schema.Type<typeof StructuredPart> {
18
- }
19
- export declare const BlobReferencePart: Schema.Struct<{
20
- readonly type: Schema.Literal<"blob-reference">;
21
- readonly uri: Schema.String;
22
- readonly media_type: Schema.String;
23
- readonly filename: 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
- }>;
27
- export interface BlobReferencePart extends Schema.Schema.Type<typeof BlobReferencePart> {
28
- }
29
- export declare const ArtifactReferencePart: Schema.Struct<{
30
- readonly type: Schema.Literal<"artifact-reference">;
31
- readonly artifact_id: Schema.String;
32
- readonly media_type: Schema.optionalKey<Schema.String>;
33
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
34
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
35
- }>;
36
- export interface ArtifactReferencePart extends Schema.Schema.Type<typeof ArtifactReferencePart> {
37
- }
38
- export declare const ToolCallPart: Schema.Struct<{
39
- readonly type: Schema.Literal<"tool-call">;
40
- readonly call: Schema.Struct<{
41
- readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
42
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
43
- };
44
- readonly name: Schema.String;
45
- readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
46
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
47
- }>;
48
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
49
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
50
- }>;
51
- export interface ToolCallPart extends Schema.Schema.Type<typeof ToolCallPart> {
52
- }
53
- export declare const ToolResultPart: Schema.Struct<{
54
- readonly type: Schema.Literal<"tool-result">;
55
- readonly result: Schema.Struct<{
56
- readonly call_id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
57
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
58
- };
59
- readonly output: Schema.Codec<Schema.Json, Schema.Json, never, never>;
60
- readonly error: Schema.optionalKey<Schema.String>;
61
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
62
- }>;
63
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
64
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
65
- }>;
66
- export interface ToolResultPart extends Schema.Schema.Type<typeof ToolResultPart> {
67
- }
68
- export type Part = TextPart | StructuredPart | BlobReferencePart | ArtifactReferencePart | ToolCallPart | ToolResultPart;
69
- export declare const Part: Schema.Union<readonly [Schema.Struct<{
70
- readonly type: Schema.Literal<"text">;
71
- readonly text: Schema.String;
72
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
73
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
74
- }>, Schema.Struct<{
75
- readonly type: Schema.Literal<"structured">;
76
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
77
- readonly schema_ref: Schema.optionalKey<Schema.String>;
78
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
79
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
80
- }>, Schema.Struct<{
81
- readonly type: Schema.Literal<"blob-reference">;
82
- readonly uri: Schema.String;
83
- readonly media_type: Schema.String;
84
- readonly filename: Schema.optionalKey<Schema.String>;
85
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
86
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
87
- }>, Schema.Struct<{
88
- readonly type: Schema.Literal<"artifact-reference">;
89
- readonly artifact_id: Schema.String;
90
- readonly media_type: Schema.optionalKey<Schema.String>;
91
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
92
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
93
- }>, Schema.Struct<{
94
- readonly type: Schema.Literal<"tool-call">;
95
- readonly call: Schema.Struct<{
96
- readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
97
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
98
- };
99
- readonly name: Schema.String;
100
- readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
101
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
102
- }>;
103
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
104
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
105
- }>, Schema.Struct<{
106
- readonly type: Schema.Literal<"tool-result">;
107
- readonly result: Schema.Struct<{
108
- readonly call_id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
109
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
110
- };
111
- readonly output: Schema.Codec<Schema.Json, Schema.Json, never, never>;
112
- readonly error: Schema.optionalKey<Schema.String>;
113
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
114
- }>;
115
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
116
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
117
- }>]>;
118
- export declare const text: (value: string) => TextPart;
@@ -1,40 +0,0 @@
1
- import { Schema } from "effect";
2
- export declare const KindDefinition: Schema.Struct<{
3
- readonly kind: Schema.brand<Schema.String, "Relay.EntityKindName"> & {
4
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.EntityKindName">;
5
- };
6
- readonly agent_id: Schema.brand<Schema.String, "Relay.AgentId"> & {
7
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AgentId">;
8
- };
9
- readonly inbox: Schema.optionalKey<Schema.Struct<{
10
- readonly drain: Schema.Literals<readonly ["all", "one"]>;
11
- readonly max_batch: Schema.optionalKey<Schema.Int>;
12
- }>>;
13
- readonly state_enabled: Schema.optionalKey<Schema.Boolean>;
14
- readonly continue_as_new_after_turns: Schema.optionalKey<Schema.Int>;
15
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
16
- }>;
17
- export interface KindDefinition extends Schema.Schema.Type<typeof KindDefinition> {
18
- }
19
- export declare const InstanceStatus: Schema.Literals<readonly ["active", "destroyed"]>;
20
- export type InstanceStatus = typeof InstanceStatus.Type;
21
- export declare const Instance: Schema.Struct<{
22
- readonly kind: Schema.brand<Schema.String, "Relay.EntityKindName"> & {
23
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.EntityKindName">;
24
- };
25
- readonly key: Schema.brand<Schema.String, "Relay.EntityKey"> & {
26
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.EntityKey">;
27
- };
28
- readonly address_id: Schema.brand<Schema.String, "Relay.AddressId"> & {
29
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
30
- };
31
- readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
32
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
33
- };
34
- readonly generation: Schema.Int;
35
- readonly status: Schema.Literals<readonly ["active", "destroyed"]>;
36
- readonly created_at: Schema.Int;
37
- readonly destroyed_at: Schema.optionalKey<Schema.Int>;
38
- }>;
39
- export interface Instance extends Schema.Schema.Type<typeof Instance> {
40
- }