@moltzap/client 2026.922.3 → 2026.1001.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -7
- package/dist/client-runtime.d.ts.map +1 -1
- package/dist/client-runtime.js +28 -11
- package/dist/client-runtime.js.map +1 -1
- package/dist/contract.d.ts +440 -57
- package/dist/contract.d.ts.map +1 -1
- package/dist/contract.js +256 -18
- package/dist/contract.js.map +1 -1
- package/dist/contract.types-check.d.ts +109 -13
- package/dist/contract.types-check.d.ts.map +1 -1
- package/dist/contract.types-check.js +11 -3
- package/dist/contract.types-check.js.map +1 -1
- package/dist/daemon/configuration.d.ts +18 -6
- package/dist/daemon/configuration.d.ts.map +1 -1
- package/dist/daemon/configuration.js +15 -9
- package/dist/daemon/configuration.js.map +1 -1
- package/dist/daemon/management.d.ts.map +1 -1
- package/dist/daemon/management.js +2 -0
- package/dist/daemon/management.js.map +1 -1
- package/dist/daemon/registration.d.ts +18 -3
- package/dist/daemon/registration.d.ts.map +1 -1
- package/dist/daemon/registration.js +17 -2
- package/dist/daemon/registration.js.map +1 -1
- package/dist/daemon/runtime/activation.d.ts +1 -1
- package/dist/daemon/runtime/activation.d.ts.map +1 -1
- package/dist/daemon/runtime/controller.d.ts +1 -1
- package/dist/daemon/runtime/controller.d.ts.map +1 -1
- package/dist/daemon/runtime/controller.js +44 -10
- package/dist/daemon/runtime/controller.js.map +1 -1
- package/dist/daemon/runtime/history-export.d.ts +11 -1
- package/dist/daemon/runtime/history-export.d.ts.map +1 -1
- package/dist/daemon/runtime/history-export.js +4 -0
- package/dist/daemon/runtime/history-export.js.map +1 -1
- package/dist/daemon/runtime/index.d.ts.map +1 -1
- package/dist/daemon/runtime/index.js +1 -2
- package/dist/daemon/runtime/index.js.map +1 -1
- package/dist/daemon/runtime/pending-delivery.d.ts +49 -0
- package/dist/daemon/runtime/pending-delivery.d.ts.map +1 -0
- package/dist/daemon/runtime/pending-delivery.js +115 -0
- package/dist/daemon/runtime/pending-delivery.js.map +1 -0
- package/dist/daemon/runtime/protocol.d.ts +20 -5
- package/dist/daemon/runtime/protocol.d.ts.map +1 -1
- package/dist/daemon/runtime/protocol.js +58 -24
- package/dist/daemon/runtime/protocol.js.map +1 -1
- package/dist/endpoint/addressing/index.d.ts +22 -1
- package/dist/endpoint/addressing/index.d.ts.map +1 -1
- package/dist/endpoint/addressing/index.js +50 -26
- package/dist/endpoint/addressing/index.js.map +1 -1
- package/dist/endpoint/collective/operation.d.ts +123 -0
- package/dist/endpoint/collective/operation.d.ts.map +1 -0
- package/dist/endpoint/collective/operation.js +784 -0
- package/dist/endpoint/collective/operation.js.map +1 -0
- package/dist/endpoint/collective/shared-answers.d.ts +78 -0
- package/dist/endpoint/collective/shared-answers.d.ts.map +1 -0
- package/dist/endpoint/collective/shared-answers.js +62 -0
- package/dist/endpoint/collective/shared-answers.js.map +1 -0
- package/dist/endpoint/collective/validation.d.ts +49 -0
- package/dist/endpoint/collective/validation.d.ts.map +1 -0
- package/dist/endpoint/collective/validation.js +99 -0
- package/dist/endpoint/collective/validation.js.map +1 -0
- package/dist/endpoint/collective/wire.d.ts +176 -0
- package/dist/endpoint/collective/wire.d.ts.map +1 -0
- package/dist/endpoint/collective/wire.js +181 -0
- package/dist/endpoint/collective/wire.js.map +1 -0
- package/dist/endpoint/engine-durability.d.ts +3 -17
- package/dist/endpoint/engine-durability.d.ts.map +1 -1
- package/dist/endpoint/engine-durability.js +3 -14
- package/dist/endpoint/engine-durability.js.map +1 -1
- package/dist/endpoint/engine-send.d.ts +14 -16
- package/dist/endpoint/engine-send.d.ts.map +1 -1
- package/dist/endpoint/engine-send.js +16 -20
- package/dist/endpoint/engine-send.js.map +1 -1
- package/dist/endpoint/engine-types.d.ts +32 -15
- package/dist/endpoint/engine-types.d.ts.map +1 -1
- package/dist/endpoint/engine-types.js +1 -5
- package/dist/endpoint/engine-types.js.map +1 -1
- package/dist/endpoint/engine.d.ts +1 -1
- package/dist/endpoint/engine.d.ts.map +1 -1
- package/dist/endpoint/engine.js +44 -27
- package/dist/endpoint/engine.js.map +1 -1
- package/dist/endpoint/protocol/index.d.ts.map +1 -1
- package/dist/endpoint/protocol/index.js +5 -8
- package/dist/endpoint/protocol/index.js.map +1 -1
- package/dist/endpoint/recovery/index.d.ts +5 -0
- package/dist/endpoint/recovery/index.d.ts.map +1 -1
- package/dist/endpoint/recovery/index.js +40 -39
- package/dist/endpoint/recovery/index.js.map +1 -1
- package/dist/endpoint/recovery/reanchor/empty.js +1 -1
- package/dist/endpoint/recovery/reanchor/empty.js.map +1 -1
- package/dist/endpoint/recovery/reanchor/index.js +26 -5
- package/dist/endpoint/recovery/reanchor/index.js.map +1 -1
- package/dist/endpoint/recovery/state.d.ts +7 -1
- package/dist/endpoint/recovery/state.d.ts.map +1 -1
- package/dist/endpoint/recovery/state.js +3 -1
- package/dist/endpoint/recovery/state.js.map +1 -1
- package/dist/endpoint/recovery/store.d.ts +9 -2
- package/dist/endpoint/recovery/store.d.ts.map +1 -1
- package/dist/endpoint/recovery/store.js +27 -5
- package/dist/endpoint/recovery/store.js.map +1 -1
- package/dist/endpoint/representation-schemas.d.ts +2 -0
- package/dist/endpoint/representation-schemas.d.ts.map +1 -1
- package/dist/endpoint/representation-schemas.js +2 -2
- package/dist/endpoint/representation-schemas.js.map +1 -1
- package/dist/endpoint/representation.d.ts +1 -1
- package/dist/endpoint/representation.d.ts.map +1 -1
- package/dist/endpoint/representation.js +1 -1
- package/dist/endpoint/representation.js.map +1 -1
- package/dist/harness-mcp-contract.d.ts +189 -57
- package/dist/harness-mcp-contract.d.ts.map +1 -1
- package/dist/harness-mcp-contract.js +61 -9
- package/dist/harness-mcp-contract.js.map +1 -1
- package/dist/harness-mcp-wire.d.ts +3 -3
- package/dist/harness-mcp-wire.d.ts.map +1 -1
- package/dist/harness-mcp-wire.js +38 -28
- package/dist/harness-mcp-wire.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +2 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +18 -0
- package/dist/server.js.map +1 -1
- package/package.json +3 -3
package/dist/contract.d.ts
CHANGED
|
@@ -54,31 +54,131 @@ export declare const Content: Schema.refine<readonly [{
|
|
|
54
54
|
}>]>>>;
|
|
55
55
|
/** Validated nonempty semantic content. */
|
|
56
56
|
export type Content = typeof Content.Type;
|
|
57
|
-
/**
|
|
58
|
-
|
|
57
|
+
/**
|
|
58
|
+
* Identity of one gather or all_gather, minted by the requesting endpoint.
|
|
59
|
+
* The request, each member's answer, an all_gather's close, the result and
|
|
60
|
+
* any failure carry it.
|
|
61
|
+
*/
|
|
62
|
+
export declare const CollectiveId: Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">;
|
|
63
|
+
/** A validated collective operation id. */
|
|
64
|
+
export type CollectiveId = typeof CollectiveId.Type;
|
|
65
|
+
/**
|
|
66
|
+
* The MCP form-mode `requestedSchema` of a collecting operation: a flat object
|
|
67
|
+
* of primitive properties. This schema fixes its outline; the sending endpoint
|
|
68
|
+
* checks each property against the MCP form-mode grammar before any post.
|
|
69
|
+
*/
|
|
70
|
+
export declare const RequestedSchema: Schema.Struct<{
|
|
71
|
+
$schema: Schema.optionalWith<typeof Schema.String, {
|
|
72
|
+
exact: true;
|
|
73
|
+
}>;
|
|
74
|
+
type: Schema.Literal<["object"]>;
|
|
75
|
+
properties: Schema.Record$<typeof Schema.String, Schema.Record$<typeof Schema.String, Schema.Schema<JsonValue, JsonValue, never>>>;
|
|
76
|
+
required: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
|
|
77
|
+
exact: true;
|
|
78
|
+
}>;
|
|
79
|
+
}>;
|
|
80
|
+
/** A form-mode schema as stated by its requester. */
|
|
81
|
+
export type RequestedSchema = typeof RequestedSchema.Type;
|
|
82
|
+
/**
|
|
83
|
+
* One answer to a collecting operation, field by field. Its value space is MCP
|
|
84
|
+
* `ElicitResult` content's; the request's schema decides which fields apply.
|
|
85
|
+
*/
|
|
86
|
+
export declare const AnswerContent: Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, Schema.filter<typeof Schema.Number>, typeof Schema.Boolean, Schema.Array$<typeof Schema.String>]>>;
|
|
87
|
+
/** A structurally valid answer. */
|
|
88
|
+
export type AnswerContent = typeof AnswerContent.Type;
|
|
89
|
+
/** The longest deadline a collecting operation may state: 30 days, in seconds. */
|
|
90
|
+
export declare const MAXIMUM_DEADLINE_SECONDS = 2592000;
|
|
91
|
+
/**
|
|
92
|
+
* The collective operation one send performs, discriminated by `op`. Each
|
|
93
|
+
* operation is one member of this union; the schema carries no identifier so
|
|
94
|
+
* its JSON Schema embeds inline in a host tool's parameters.
|
|
95
|
+
*/
|
|
96
|
+
export declare const CollectiveOperation: Schema.Union<[Schema.Struct<{
|
|
97
|
+
op: Schema.optionalWith<Schema.Literal<["multicast"]>, {
|
|
98
|
+
exact: true;
|
|
99
|
+
}>;
|
|
100
|
+
}>, Schema.Struct<{
|
|
101
|
+
op: Schema.Literal<["gather", "all_gather"]>;
|
|
102
|
+
deadline: Schema.refine<number, Schema.filter<typeof Schema.Number>>;
|
|
103
|
+
requestedSchema: Schema.Struct<{
|
|
104
|
+
$schema: Schema.optionalWith<typeof Schema.String, {
|
|
105
|
+
exact: true;
|
|
106
|
+
}>;
|
|
107
|
+
type: Schema.Literal<["object"]>;
|
|
108
|
+
properties: Schema.Record$<typeof Schema.String, Schema.Record$<typeof Schema.String, Schema.Schema<JsonValue, JsonValue, never>>>;
|
|
109
|
+
required: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
|
|
110
|
+
exact: true;
|
|
111
|
+
}>;
|
|
112
|
+
}>;
|
|
113
|
+
}>]>;
|
|
114
|
+
/** A validated collective operation. */
|
|
115
|
+
export type CollectiveOperation = typeof CollectiveOperation.Type;
|
|
116
|
+
/**
|
|
117
|
+
* A member's reply to one collective request. Only `accept` carries content,
|
|
118
|
+
* valid against the request's schema; the member's endpoint addresses the
|
|
119
|
+
* reply to the conversation the request arrived in.
|
|
120
|
+
*/
|
|
121
|
+
export declare const CollectiveResponse: Schema.Union<[Schema.Struct<{
|
|
122
|
+
id: Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">;
|
|
123
|
+
action: Schema.Literal<["accept"]>;
|
|
124
|
+
content: Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, Schema.filter<typeof Schema.Number>, typeof Schema.Boolean, Schema.Array$<typeof Schema.String>]>>;
|
|
125
|
+
}>, Schema.Struct<{
|
|
126
|
+
id: Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">;
|
|
127
|
+
action: Schema.Literal<["decline", "cancel"]>;
|
|
128
|
+
}>]>;
|
|
129
|
+
/** A validated collective response. */
|
|
130
|
+
export type CollectiveResponse = typeof CollectiveResponse.Type;
|
|
131
|
+
/**
|
|
132
|
+
* One send: an operation with its address, body text and collective
|
|
133
|
+
* operation, multicast when `collective` is omitted; or a response to a
|
|
134
|
+
* collective request, which names no address because the member's endpoint
|
|
135
|
+
* derives it from the request.
|
|
136
|
+
*/
|
|
137
|
+
export declare const SendInput: Schema.Union<[Schema.Struct<{
|
|
59
138
|
to: Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
readonly value: JsonValue;
|
|
66
|
-
}, ...({
|
|
67
|
-
readonly type: "text";
|
|
68
|
-
readonly text: string;
|
|
69
|
-
} | {
|
|
70
|
-
readonly type: "data";
|
|
71
|
-
readonly value: JsonValue;
|
|
72
|
-
})[]], Schema.NonEmptyArray<Schema.Union<[Schema.Struct<{
|
|
73
|
-
type: Schema.Literal<["text"]>;
|
|
74
|
-
text: Schema.filter<typeof Schema.String>;
|
|
139
|
+
text: Schema.filter<typeof Schema.String>;
|
|
140
|
+
collective: Schema.optionalWith<Schema.Union<[Schema.Struct<{
|
|
141
|
+
op: Schema.optionalWith<Schema.Literal<["multicast"]>, {
|
|
142
|
+
exact: true;
|
|
143
|
+
}>;
|
|
75
144
|
}>, Schema.Struct<{
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
145
|
+
op: Schema.Literal<["gather", "all_gather"]>;
|
|
146
|
+
deadline: Schema.refine<number, Schema.filter<typeof Schema.Number>>;
|
|
147
|
+
requestedSchema: Schema.Struct<{
|
|
148
|
+
$schema: Schema.optionalWith<typeof Schema.String, {
|
|
149
|
+
exact: true;
|
|
150
|
+
}>;
|
|
151
|
+
type: Schema.Literal<["object"]>;
|
|
152
|
+
properties: Schema.Record$<typeof Schema.String, Schema.Record$<typeof Schema.String, Schema.Schema<JsonValue, JsonValue, never>>>;
|
|
153
|
+
required: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
|
|
154
|
+
exact: true;
|
|
155
|
+
}>;
|
|
156
|
+
}>;
|
|
157
|
+
}>]>, {
|
|
158
|
+
exact: true;
|
|
159
|
+
}>;
|
|
160
|
+
}>, Schema.Struct<{
|
|
161
|
+
collectiveResponse: Schema.Union<[Schema.Struct<{
|
|
162
|
+
id: Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">;
|
|
163
|
+
action: Schema.Literal<["accept"]>;
|
|
164
|
+
content: Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, Schema.filter<typeof Schema.Number>, typeof Schema.Boolean, Schema.Array$<typeof Schema.String>]>>;
|
|
165
|
+
}>, Schema.Struct<{
|
|
166
|
+
id: Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">;
|
|
167
|
+
action: Schema.Literal<["decline", "cancel"]>;
|
|
168
|
+
}>]>;
|
|
169
|
+
}>]>;
|
|
170
|
+
/** Validated input for one send. */
|
|
81
171
|
export type SendInput = typeof SendInput.Type;
|
|
172
|
+
/**
|
|
173
|
+
* Where a refused collecting operation or response reports its error:
|
|
174
|
+
* returned to the caller, or emitted as an `operationFailed` item while the
|
|
175
|
+
* send completes.
|
|
176
|
+
*/
|
|
177
|
+
export type FailureDelivery = "result" | "inbound";
|
|
178
|
+
/** What a completed send returns: a collecting operation names its id. */
|
|
179
|
+
export interface SendResult {
|
|
180
|
+
readonly operationId?: CollectiveId;
|
|
181
|
+
}
|
|
82
182
|
declare const directMessage: Schema.filter<Schema.Struct<{
|
|
83
183
|
kind: Schema.Literal<["direct"]>;
|
|
84
184
|
postId: Schema.brand<Schema.filter<typeof Schema.String>, "PostId">;
|
|
@@ -134,7 +234,7 @@ declare const groupMessage: Schema.filter<Schema.Struct<{
|
|
|
134
234
|
export type DirectMessage = typeof directMessage.Type;
|
|
135
235
|
/** One certified remote-authored fixed-group message. */
|
|
136
236
|
export type GroupMessage = typeof groupMessage.Type;
|
|
137
|
-
/**
|
|
237
|
+
/** One certified remote-authored post, direct or to a fixed group. */
|
|
138
238
|
export declare const InboundMessage: Schema.Union<[Schema.filter<Schema.Struct<{
|
|
139
239
|
kind: Schema.Literal<["direct"]>;
|
|
140
240
|
postId: Schema.brand<Schema.filter<typeof Schema.String>, "PostId">;
|
|
@@ -185,18 +285,33 @@ export declare const InboundMessage: Schema.Union<[Schema.filter<Schema.Struct<{
|
|
|
185
285
|
value: Schema.Schema<JsonValue, JsonValue, never>;
|
|
186
286
|
}>]>>>;
|
|
187
287
|
}>>]>;
|
|
188
|
-
/** A validated direct or group
|
|
288
|
+
/** A validated direct or group post. */
|
|
189
289
|
export type InboundMessage = typeof InboundMessage.Type;
|
|
190
|
-
|
|
191
|
-
|
|
290
|
+
/** One member's outcome in a completed gather or all_gather, discriminated by `kind`. */
|
|
291
|
+
declare const memberOutcome: Schema.Union<[Schema.Struct<{
|
|
292
|
+
kind: Schema.Literal<["answered"]>;
|
|
293
|
+
content: Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, Schema.filter<typeof Schema.Number>, typeof Schema.Boolean, Schema.Array$<typeof Schema.String>]>>;
|
|
294
|
+
}>, Schema.Struct<{
|
|
295
|
+
kind: Schema.Literal<["declined"]>;
|
|
296
|
+
}>, Schema.Struct<{
|
|
297
|
+
kind: Schema.Literal<["cancelled"]>;
|
|
298
|
+
}>, Schema.Struct<{
|
|
299
|
+
kind: Schema.Literal<["invalid"]>;
|
|
300
|
+
reason: typeof Schema.String;
|
|
301
|
+
}>, Schema.Struct<{
|
|
302
|
+
kind: Schema.Literal<["no-answer"]>;
|
|
303
|
+
}>]>;
|
|
304
|
+
/** One member's recorded outcome. */
|
|
305
|
+
export type CollectiveMemberOutcome = typeof memberOutcome.Type;
|
|
192
306
|
/**
|
|
193
|
-
* One
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
307
|
+
* One inbound item, discriminated by `kind`. The endpoint consumes the
|
|
308
|
+
* collective layer's protocol posts, posts whose collective part is malformed
|
|
309
|
+
* or duplicated, and multicasts that carry nothing besides that part; every
|
|
310
|
+
* other certified post becomes one item, and the endpoint itself emits
|
|
311
|
+
* results and failures.
|
|
197
312
|
*/
|
|
198
|
-
export declare const
|
|
199
|
-
kind: Schema.Literal<["
|
|
313
|
+
export declare const InboundItem: Schema.Union<[Schema.Struct<{
|
|
314
|
+
kind: Schema.Literal<["multicast"]>;
|
|
200
315
|
message: Schema.Union<[Schema.filter<Schema.Struct<{
|
|
201
316
|
kind: Schema.Literal<["direct"]>;
|
|
202
317
|
postId: Schema.brand<Schema.filter<typeof Schema.String>, "PostId">;
|
|
@@ -247,35 +362,211 @@ export declare const HistoryExportRecord: Schema.Union<[Schema.Struct<{
|
|
|
247
362
|
value: Schema.Schema<JsonValue, JsonValue, never>;
|
|
248
363
|
}>]>>>;
|
|
249
364
|
}>>]>;
|
|
365
|
+
}>, Schema.Struct<{
|
|
366
|
+
kind: Schema.Literal<["collectiveRequest"]>;
|
|
367
|
+
id: Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">;
|
|
368
|
+
postId: Schema.brand<Schema.filter<typeof Schema.String>, "PostId">;
|
|
369
|
+
from: Schema.brand<Schema.filter<Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">>, "AgentAddress">;
|
|
370
|
+
to: Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">;
|
|
371
|
+
question: Schema.filter<typeof Schema.String>;
|
|
372
|
+
requestedSchema: Schema.Struct<{
|
|
373
|
+
$schema: Schema.optionalWith<typeof Schema.String, {
|
|
374
|
+
exact: true;
|
|
375
|
+
}>;
|
|
376
|
+
type: Schema.Literal<["object"]>;
|
|
377
|
+
properties: Schema.Record$<typeof Schema.String, Schema.Record$<typeof Schema.String, Schema.Schema<JsonValue, JsonValue, never>>>;
|
|
378
|
+
required: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
|
|
379
|
+
exact: true;
|
|
380
|
+
}>;
|
|
381
|
+
}>;
|
|
382
|
+
deadlineAt: Schema.filter<Schema.filter<typeof Schema.Number>>;
|
|
383
|
+
}>, Schema.Struct<{
|
|
384
|
+
kind: Schema.Literal<["collectiveResult"]>;
|
|
385
|
+
id: Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">;
|
|
386
|
+
to: Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">;
|
|
387
|
+
question: Schema.filter<typeof Schema.String>;
|
|
388
|
+
outcomes: Schema.NonEmptyArray<Schema.Struct<{
|
|
389
|
+
member: Schema.brand<Schema.filter<Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">>, "AgentAddress">;
|
|
390
|
+
outcome: Schema.Union<[Schema.Struct<{
|
|
391
|
+
kind: Schema.Literal<["answered"]>;
|
|
392
|
+
content: Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, Schema.filter<typeof Schema.Number>, typeof Schema.Boolean, Schema.Array$<typeof Schema.String>]>>;
|
|
393
|
+
}>, Schema.Struct<{
|
|
394
|
+
kind: Schema.Literal<["declined"]>;
|
|
395
|
+
}>, Schema.Struct<{
|
|
396
|
+
kind: Schema.Literal<["cancelled"]>;
|
|
397
|
+
}>, Schema.Struct<{
|
|
398
|
+
kind: Schema.Literal<["invalid"]>;
|
|
399
|
+
reason: typeof Schema.String;
|
|
400
|
+
}>, Schema.Struct<{
|
|
401
|
+
kind: Schema.Literal<["no-answer"]>;
|
|
402
|
+
}>]>;
|
|
403
|
+
}>>;
|
|
404
|
+
closePostId: Schema.optionalWith<Schema.brand<Schema.filter<typeof Schema.String>, "PostId">, {
|
|
405
|
+
exact: true;
|
|
406
|
+
}>;
|
|
407
|
+
}>, Schema.Struct<{
|
|
408
|
+
kind: Schema.Literal<["operationFailed"]>;
|
|
409
|
+
id: Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">;
|
|
410
|
+
to: Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">;
|
|
411
|
+
error: typeof Schema.String;
|
|
412
|
+
}>]>;
|
|
413
|
+
/** A validated inbound item. */
|
|
414
|
+
export type InboundItem = typeof InboundItem.Type;
|
|
415
|
+
declare const sendFailure: Schema.Literal<["invalid-address", "unknown-agent", "membership-invalid", "content-invalid", "not-registered", "version-mismatch", "certification-unavailable", "persistence-failed", "network-unavailable"]>;
|
|
416
|
+
type SendFailure = typeof sendFailure.Type;
|
|
417
|
+
/**
|
|
418
|
+
* One line of the daemon's optional history export: an item as the daemon
|
|
419
|
+
* published it, a completed `send` invocation with its input and outcome, or
|
|
420
|
+
* the one line that says the export stopped. Readers decode the file line by
|
|
421
|
+
* line with this schema rather than copying its shape.
|
|
422
|
+
*/
|
|
423
|
+
export declare const HistoryExportRecord: Schema.Union<[Schema.Struct<{
|
|
424
|
+
kind: Schema.Literal<["inbound"]>;
|
|
425
|
+
item: Schema.Union<[Schema.Struct<{
|
|
426
|
+
kind: Schema.Literal<["multicast"]>;
|
|
427
|
+
message: Schema.Union<[Schema.filter<Schema.Struct<{
|
|
428
|
+
kind: Schema.Literal<["direct"]>;
|
|
429
|
+
postId: Schema.brand<Schema.filter<typeof Schema.String>, "PostId">;
|
|
430
|
+
address: Schema.brand<Schema.filter<Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">>, "AgentAddress">;
|
|
431
|
+
sender: Schema.brand<Schema.filter<Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">>, "AgentAddress">;
|
|
432
|
+
content: Schema.refine<readonly [{
|
|
433
|
+
readonly type: "text";
|
|
434
|
+
readonly text: string;
|
|
435
|
+
} | {
|
|
436
|
+
readonly type: "data";
|
|
437
|
+
readonly value: JsonValue;
|
|
438
|
+
}, ...({
|
|
439
|
+
readonly type: "text";
|
|
440
|
+
readonly text: string;
|
|
441
|
+
} | {
|
|
442
|
+
readonly type: "data";
|
|
443
|
+
readonly value: JsonValue;
|
|
444
|
+
})[]], Schema.NonEmptyArray<Schema.Union<[Schema.Struct<{
|
|
445
|
+
type: Schema.Literal<["text"]>;
|
|
446
|
+
text: Schema.filter<typeof Schema.String>;
|
|
447
|
+
}>, Schema.Struct<{
|
|
448
|
+
type: Schema.Literal<["data"]>;
|
|
449
|
+
value: Schema.Schema<JsonValue, JsonValue, never>;
|
|
450
|
+
}>]>>>;
|
|
451
|
+
}>>, Schema.filter<Schema.Struct<{
|
|
452
|
+
kind: Schema.Literal<["group"]>;
|
|
453
|
+
postId: Schema.brand<Schema.filter<typeof Schema.String>, "PostId">;
|
|
454
|
+
address: Schema.brand<Schema.filter<Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">>, "GroupAddress">;
|
|
455
|
+
sender: Schema.brand<Schema.filter<Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">>, "AgentAddress">;
|
|
456
|
+
members: Schema.filter<Schema.TupleType<readonly [Schema.brand<Schema.filter<Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">>, "AgentAddress">, Schema.brand<Schema.filter<Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">>, "AgentAddress">, Schema.brand<Schema.filter<Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">>, "AgentAddress">], [Schema.brand<Schema.filter<Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">>, "AgentAddress">]>>;
|
|
457
|
+
content: Schema.refine<readonly [{
|
|
458
|
+
readonly type: "text";
|
|
459
|
+
readonly text: string;
|
|
460
|
+
} | {
|
|
461
|
+
readonly type: "data";
|
|
462
|
+
readonly value: JsonValue;
|
|
463
|
+
}, ...({
|
|
464
|
+
readonly type: "text";
|
|
465
|
+
readonly text: string;
|
|
466
|
+
} | {
|
|
467
|
+
readonly type: "data";
|
|
468
|
+
readonly value: JsonValue;
|
|
469
|
+
})[]], Schema.NonEmptyArray<Schema.Union<[Schema.Struct<{
|
|
470
|
+
type: Schema.Literal<["text"]>;
|
|
471
|
+
text: Schema.filter<typeof Schema.String>;
|
|
472
|
+
}>, Schema.Struct<{
|
|
473
|
+
type: Schema.Literal<["data"]>;
|
|
474
|
+
value: Schema.Schema<JsonValue, JsonValue, never>;
|
|
475
|
+
}>]>>>;
|
|
476
|
+
}>>]>;
|
|
477
|
+
}>, Schema.Struct<{
|
|
478
|
+
kind: Schema.Literal<["collectiveRequest"]>;
|
|
479
|
+
id: Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">;
|
|
480
|
+
postId: Schema.brand<Schema.filter<typeof Schema.String>, "PostId">;
|
|
481
|
+
from: Schema.brand<Schema.filter<Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">>, "AgentAddress">;
|
|
482
|
+
to: Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">;
|
|
483
|
+
question: Schema.filter<typeof Schema.String>;
|
|
484
|
+
requestedSchema: Schema.Struct<{
|
|
485
|
+
$schema: Schema.optionalWith<typeof Schema.String, {
|
|
486
|
+
exact: true;
|
|
487
|
+
}>;
|
|
488
|
+
type: Schema.Literal<["object"]>;
|
|
489
|
+
properties: Schema.Record$<typeof Schema.String, Schema.Record$<typeof Schema.String, Schema.Schema<JsonValue, JsonValue, never>>>;
|
|
490
|
+
required: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
|
|
491
|
+
exact: true;
|
|
492
|
+
}>;
|
|
493
|
+
}>;
|
|
494
|
+
deadlineAt: Schema.filter<Schema.filter<typeof Schema.Number>>;
|
|
495
|
+
}>, Schema.Struct<{
|
|
496
|
+
kind: Schema.Literal<["collectiveResult"]>;
|
|
497
|
+
id: Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">;
|
|
498
|
+
to: Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">;
|
|
499
|
+
question: Schema.filter<typeof Schema.String>;
|
|
500
|
+
outcomes: Schema.NonEmptyArray<Schema.Struct<{
|
|
501
|
+
member: Schema.brand<Schema.filter<Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">>, "AgentAddress">;
|
|
502
|
+
outcome: Schema.Union<[Schema.Struct<{
|
|
503
|
+
kind: Schema.Literal<["answered"]>;
|
|
504
|
+
content: Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, Schema.filter<typeof Schema.Number>, typeof Schema.Boolean, Schema.Array$<typeof Schema.String>]>>;
|
|
505
|
+
}>, Schema.Struct<{
|
|
506
|
+
kind: Schema.Literal<["declined"]>;
|
|
507
|
+
}>, Schema.Struct<{
|
|
508
|
+
kind: Schema.Literal<["cancelled"]>;
|
|
509
|
+
}>, Schema.Struct<{
|
|
510
|
+
kind: Schema.Literal<["invalid"]>;
|
|
511
|
+
reason: typeof Schema.String;
|
|
512
|
+
}>, Schema.Struct<{
|
|
513
|
+
kind: Schema.Literal<["no-answer"]>;
|
|
514
|
+
}>]>;
|
|
515
|
+
}>>;
|
|
516
|
+
closePostId: Schema.optionalWith<Schema.brand<Schema.filter<typeof Schema.String>, "PostId">, {
|
|
517
|
+
exact: true;
|
|
518
|
+
}>;
|
|
519
|
+
}>, Schema.Struct<{
|
|
520
|
+
kind: Schema.Literal<["operationFailed"]>;
|
|
521
|
+
id: Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">;
|
|
522
|
+
to: Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">;
|
|
523
|
+
error: typeof Schema.String;
|
|
524
|
+
}>]>;
|
|
250
525
|
at: typeof Schema.DateTimeUtc;
|
|
251
526
|
}>, Schema.Struct<{
|
|
252
527
|
kind: Schema.Literal<["outbound"]>;
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
readonly type: "text";
|
|
256
|
-
readonly text: string;
|
|
257
|
-
} | {
|
|
258
|
-
readonly type: "data";
|
|
259
|
-
readonly value: JsonValue;
|
|
260
|
-
}, ...({
|
|
261
|
-
readonly type: "text";
|
|
262
|
-
readonly text: string;
|
|
263
|
-
} | {
|
|
264
|
-
readonly type: "data";
|
|
265
|
-
readonly value: JsonValue;
|
|
266
|
-
})[]], Schema.NonEmptyArray<Schema.Union<[Schema.Struct<{
|
|
267
|
-
type: Schema.Literal<["text"]>;
|
|
528
|
+
input: Schema.Union<[Schema.Struct<{
|
|
529
|
+
to: Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">;
|
|
268
530
|
text: Schema.filter<typeof Schema.String>;
|
|
531
|
+
collective: Schema.optionalWith<Schema.Union<[Schema.Struct<{
|
|
532
|
+
op: Schema.optionalWith<Schema.Literal<["multicast"]>, {
|
|
533
|
+
exact: true;
|
|
534
|
+
}>;
|
|
535
|
+
}>, Schema.Struct<{
|
|
536
|
+
op: Schema.Literal<["gather", "all_gather"]>;
|
|
537
|
+
deadline: Schema.refine<number, Schema.filter<typeof Schema.Number>>;
|
|
538
|
+
requestedSchema: Schema.Struct<{
|
|
539
|
+
$schema: Schema.optionalWith<typeof Schema.String, {
|
|
540
|
+
exact: true;
|
|
541
|
+
}>;
|
|
542
|
+
type: Schema.Literal<["object"]>;
|
|
543
|
+
properties: Schema.Record$<typeof Schema.String, Schema.Record$<typeof Schema.String, Schema.Schema<JsonValue, JsonValue, never>>>;
|
|
544
|
+
required: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
|
|
545
|
+
exact: true;
|
|
546
|
+
}>;
|
|
547
|
+
}>;
|
|
548
|
+
}>]>, {
|
|
549
|
+
exact: true;
|
|
550
|
+
}>;
|
|
269
551
|
}>, Schema.Struct<{
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
552
|
+
collectiveResponse: Schema.Union<[Schema.Struct<{
|
|
553
|
+
id: Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">;
|
|
554
|
+
action: Schema.Literal<["accept"]>;
|
|
555
|
+
content: Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, Schema.filter<typeof Schema.Number>, typeof Schema.Boolean, Schema.Array$<typeof Schema.String>]>>;
|
|
556
|
+
}>, Schema.Struct<{
|
|
557
|
+
id: Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">;
|
|
558
|
+
action: Schema.Literal<["decline", "cancel"]>;
|
|
559
|
+
}>]>;
|
|
560
|
+
}>]>;
|
|
273
561
|
outcome: Schema.Union<[Schema.Struct<{
|
|
274
|
-
kind: Schema.Literal<["
|
|
275
|
-
|
|
562
|
+
kind: Schema.Literal<["sent"]>;
|
|
563
|
+
operationId: Schema.optionalWith<Schema.brand<Schema.filter<typeof Schema.String>, "CollectiveId">, {
|
|
564
|
+
exact: true;
|
|
565
|
+
}>;
|
|
566
|
+
postIds: Schema.Array$<Schema.brand<Schema.filter<typeof Schema.String>, "PostId">>;
|
|
276
567
|
}>, Schema.Struct<{
|
|
277
568
|
kind: Schema.Literal<["failed"]>;
|
|
278
|
-
|
|
569
|
+
error: typeof Schema.String;
|
|
279
570
|
}>]>;
|
|
280
571
|
at: typeof Schema.DateTimeUtc;
|
|
281
572
|
}>, Schema.Struct<{
|
|
@@ -294,6 +585,87 @@ export declare class SendError extends SendError_base<{
|
|
|
294
585
|
}> {
|
|
295
586
|
get message(): string;
|
|
296
587
|
}
|
|
588
|
+
/**
|
|
589
|
+
* Why a collective send was refused, discriminated by `kind`: a gather or
|
|
590
|
+
* all_gather whose schema is outside the form-mode grammar or whose request
|
|
591
|
+
* post some member could not receive, or a response the member's endpoint
|
|
592
|
+
* cannot send.
|
|
593
|
+
*/
|
|
594
|
+
declare const collectiveFailure: Schema.Union<[Schema.Struct<{
|
|
595
|
+
kind: Schema.Literal<["members-unreachable"]>;
|
|
596
|
+
members: Schema.NonEmptyArray<Schema.Struct<{
|
|
597
|
+
member: Schema.brand<Schema.filter<Schema.brand<Schema.filter<typeof Schema.String>, "MessageAddressInput">>, "AgentAddress">;
|
|
598
|
+
reason: Schema.Literal<["invalid-address", "unknown-agent", "membership-invalid", "content-invalid", "not-registered", "version-mismatch", "certification-unavailable", "persistence-failed", "network-unavailable"]>;
|
|
599
|
+
}>>;
|
|
600
|
+
}>, Schema.Struct<{
|
|
601
|
+
kind: Schema.Literal<["schema-invalid"]>;
|
|
602
|
+
detail: typeof Schema.String;
|
|
603
|
+
}>, Schema.Struct<{
|
|
604
|
+
kind: Schema.Literal<["answer-invalid"]>;
|
|
605
|
+
fields: Schema.NonEmptyArray<Schema.Struct<{
|
|
606
|
+
field: typeof Schema.String;
|
|
607
|
+
reason: Schema.Literal<["missing", "unexpected", "invalid"]>;
|
|
608
|
+
detail: Schema.optionalWith<typeof Schema.String, {
|
|
609
|
+
exact: true;
|
|
610
|
+
}>;
|
|
611
|
+
}>>;
|
|
612
|
+
}>, Schema.Struct<{
|
|
613
|
+
kind: Schema.Literal<["request-unknown"]>;
|
|
614
|
+
}>, Schema.Struct<{
|
|
615
|
+
kind: Schema.Literal<["request-answered"]>;
|
|
616
|
+
}>, Schema.Struct<{
|
|
617
|
+
kind: Schema.Literal<["request-expired"]>;
|
|
618
|
+
}>]>;
|
|
619
|
+
/** A validated collective failure. */
|
|
620
|
+
export type CollectiveFailure = typeof collectiveFailure.Type;
|
|
621
|
+
/**
|
|
622
|
+
* Decode a collective failure carried across the loopback MCP boundary.
|
|
623
|
+
* @param value Untrusted failure detail from a refused send's error data.
|
|
624
|
+
* @returns The validated failure.
|
|
625
|
+
*/
|
|
626
|
+
export declare const decodeCollectiveFailure: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<{
|
|
627
|
+
readonly kind: "members-unreachable";
|
|
628
|
+
readonly members: readonly [{
|
|
629
|
+
readonly member: string & import("effect/Brand").Brand<"MessageAddressInput"> & import("effect/Brand").Brand<"AgentAddress">;
|
|
630
|
+
readonly reason: "certification-unavailable" | "content-invalid" | "invalid-address" | "membership-invalid" | "network-unavailable" | "not-registered" | "persistence-failed" | "unknown-agent" | "version-mismatch";
|
|
631
|
+
}, ...{
|
|
632
|
+
readonly member: string & import("effect/Brand").Brand<"MessageAddressInput"> & import("effect/Brand").Brand<"AgentAddress">;
|
|
633
|
+
readonly reason: "certification-unavailable" | "content-invalid" | "invalid-address" | "membership-invalid" | "network-unavailable" | "not-registered" | "persistence-failed" | "unknown-agent" | "version-mismatch";
|
|
634
|
+
}[]];
|
|
635
|
+
} | {
|
|
636
|
+
readonly kind: "schema-invalid";
|
|
637
|
+
readonly detail: string;
|
|
638
|
+
} | {
|
|
639
|
+
readonly kind: "answer-invalid";
|
|
640
|
+
readonly fields: readonly [{
|
|
641
|
+
readonly field: string;
|
|
642
|
+
readonly reason: "invalid" | "missing" | "unexpected";
|
|
643
|
+
readonly detail?: string | undefined;
|
|
644
|
+
}, ...{
|
|
645
|
+
readonly field: string;
|
|
646
|
+
readonly reason: "invalid" | "missing" | "unexpected";
|
|
647
|
+
readonly detail?: string | undefined;
|
|
648
|
+
}[]];
|
|
649
|
+
} | {
|
|
650
|
+
readonly kind: "request-unknown";
|
|
651
|
+
} | {
|
|
652
|
+
readonly kind: "request-answered";
|
|
653
|
+
} | {
|
|
654
|
+
readonly kind: "request-expired";
|
|
655
|
+
}, import("effect/ParseResult").ParseError, never>;
|
|
656
|
+
declare const CollectiveError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
657
|
+
readonly _tag: "CollectiveError";
|
|
658
|
+
} & Readonly<A>;
|
|
659
|
+
/**
|
|
660
|
+
* A collective send was refused. The message names each unreachable member or
|
|
661
|
+
* failing field, so a host can hand it to its model as the tool error.
|
|
662
|
+
*/
|
|
663
|
+
export declare class CollectiveError extends CollectiveError_base<{
|
|
664
|
+
readonly id: CollectiveId;
|
|
665
|
+
readonly failure: CollectiveFailure;
|
|
666
|
+
}> {
|
|
667
|
+
get message(): string;
|
|
668
|
+
}
|
|
297
669
|
type ListenFailure = "already-listening" | "incompatible-daemon" | "transport-failed" | "decode-failed";
|
|
298
670
|
declare const ListenError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
299
671
|
readonly _tag: "ListenError";
|
|
@@ -324,14 +696,25 @@ export declare class ConnectError extends ConnectError_base<{
|
|
|
324
696
|
}> {
|
|
325
697
|
get message(): string;
|
|
326
698
|
}
|
|
327
|
-
/** One
|
|
699
|
+
/** One inbound item plus its transport-only acknowledgment. */
|
|
328
700
|
export interface InboundDelivery {
|
|
329
|
-
readonly
|
|
701
|
+
readonly item: InboundItem;
|
|
330
702
|
readonly acknowledge: Effect.Effect<void, DeliveryAcknowledgeError>;
|
|
331
703
|
}
|
|
332
|
-
/**
|
|
704
|
+
/**
|
|
705
|
+
* Structural runtime capability owned by one scoped endpoint connection.
|
|
706
|
+
* Every send is one operation or one collective response; the stream yields
|
|
707
|
+
* inbound items.
|
|
708
|
+
*
|
|
709
|
+
* A host whose tool returns before the send completes passes
|
|
710
|
+
* `failureDelivery: "inbound"`: a refused gather, all_gather or response
|
|
711
|
+
* then completes and its error arrives as an `operationFailed` item on the
|
|
712
|
+
* stream. A multicast has no operation id, so its failure is always returned.
|
|
713
|
+
*/
|
|
333
714
|
export interface HarnessEndpoint {
|
|
334
|
-
readonly send: (input: SendInput
|
|
715
|
+
readonly send: (input: SendInput, options?: Readonly<{
|
|
716
|
+
failureDelivery?: FailureDelivery;
|
|
717
|
+
}>) => Effect.Effect<SendResult, SendError | CollectiveError>;
|
|
335
718
|
readonly messages: Stream.Stream<InboundDelivery, ListenError>;
|
|
336
719
|
}
|
|
337
720
|
export {};
|
package/dist/contract.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAI3E,OAAO,EAEL,KAAK,MAAM,EAGX,MAAM,EACN,KAAK,MAAM,EACZ,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAI3E,OAAO,EAEL,KAAK,MAAM,EAGX,MAAM,EACN,KAAK,MAAM,EACZ,MAAM,QAAQ,CAAC;AAiHhB,wEAAwE;AACxE,eAAO,MAAM,YAAY,uHAIxB,CAAC;AACF,sCAAsC;AACtC,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,IAAI,CAAC;AAEpD,0EAA0E;AAC1E,eAAO,MAAM,YAAY,uHAIxB,CAAC;AACF,wDAAwD;AACxD,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,IAAI,CAAC;AAEpD,6EAA6E;AAC7E,eAAO,MAAM,mBAAmB,0EAAe,CAAC;AAChD,8CAA8C;AAC9C,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAclE,gEAAgE;AAChE,eAAO,MAAM,MAAM,6DAOlB,CAAC;AACF,+CAA+C;AAC/C,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC,IAAI,CAAC;AASxC,gEAAgE;AAChE,MAAM,MAAM,SAAS,GACjB,IAAI,GACJ,OAAO,GACP,MAAM,GACN,MAAM,GACN,SAAS,SAAS,EAAE,GACpB;IAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,SAAS,C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