@usine/orchestrator 0.6.1-next.759.g9b9e147.1.1 → 0.7.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.
@@ -220,41 +220,21 @@ export declare class ConfigurationRevertRefusal extends ConfigurationRevertRefus
220
220
  * It returns 409 `WorkerPreflightRejectedError` while an attempt or another preflight uses
221
221
  * that worker. The result updates configuration, overview, and desk reads without a restart.
222
222
  */
223
- export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.HttpApiGroup<"conversation", HttpApiEndpoint.HttpApiEndpoint<"answerRequest", "POST", "/api/conversations/:conversation/requests/:request/answer", Schema.toCodecStringTree<Schema.Struct<{
224
- conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
225
- request: Schema.brand<Schema.NonEmptyString, "PermissionRequestId">;
226
- }>>, never, Schema.toCodecJson<Schema.Struct<{
227
- readonly answer: Schema.Literals<readonly ["once", "always", "deny"]>;
223
+ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.HttpApiGroup<"conversation", HttpApiEndpoint.HttpApiEndpoint<"startConversation", "POST", "/api/conversations", never, never, Schema.toCodecJson<Schema.Struct<{
224
+ readonly scope: Schema.Union<readonly [typeof import("@usine/core/access").InstanceScope, typeof import("@usine/core/access").ProjectScope]>;
225
+ readonly anchor: Schema.optionalKey<Schema.Struct<{
226
+ readonly kind: Schema.brand<Schema.NonEmptyString, "AnchorKind">;
227
+ readonly reference: Schema.brand<Schema.NonEmptyString, "AnchorReference">;
228
+ }>>;
229
+ readonly title: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "ConversationTitle">>;
230
+ readonly message: Schema.Struct<{
231
+ readonly body: Schema.brand<Schema.Codec<Schema.Json, Schema.Json, never, never>, "MessageBody">;
232
+ readonly format: Schema.withDecodingDefaultKey<Schema.brand<Schema.NonEmptyString, "MessageFormat">, never>;
233
+ readonly reply: Schema.withDecodingDefaultKey<Schema.Struct<{
234
+ readonly format: Schema.brand<Schema.NonEmptyString, "MessageFormat">;
235
+ }>, never>;
236
+ }>;
228
237
  }>>, never, Schema.toCodecJson<Schema.Struct<{
229
- readonly id: Schema.brand<Schema.NonEmptyString, "PermissionRequestId">;
230
- readonly conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
231
- readonly turn: Schema.brand<Schema.NonEmptyString, "TurnId">;
232
- readonly toolCall: Schema.NullOr<Schema.String>;
233
- readonly operation: Schema.brand<Schema.String, "OperationName">;
234
- readonly summary: Schema.String;
235
- readonly arguments: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
236
- readonly target: Schema.brand<Schema.NonEmptyString, "CallTarget">;
237
- readonly project: Schema.NullOr<Schema.brand<Schema.String, "ProjectId">>;
238
- readonly permission: Schema.Literals<readonly ["operate", "maintain", "admin"]>;
239
- readonly grantable: Schema.Boolean;
240
- readonly requestedAt: Schema.DateTimeUtc;
241
- readonly state: Schema.Union<readonly [typeof import("@usine/core/permission-request").RequestWaiting, typeof import("@usine/core/permission-request").RequestDenied, typeof import("@usine/core/permission-request").RequestAllowed, typeof import("@usine/core/permission-request").RequestRan, typeof import("@usine/core/permission-request").RequestFailed, typeof import("@usine/core/permission-request").RequestInterrupted]>;
242
- readonly reportedIn: Schema.NullOr<Schema.brand<Schema.NonEmptyString, "TurnId">>;
243
- readonly answerable: Schema.Boolean;
244
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"cancelTurn", "POST", "/api/conversations/:conversation/turns/:turn/cancel", Schema.toCodecStringTree<Schema.Struct<{
245
- conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
246
- turn: Schema.brand<Schema.NonEmptyString, "TurnId">;
247
- }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
248
- readonly id: Schema.brand<Schema.NonEmptyString, "TurnId">;
249
- readonly conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
250
- readonly member: typeof import("@usine/core/conversation").TurnMember;
251
- readonly message: Schema.brand<Schema.Int, "MessageSequence">;
252
- readonly reply: Schema.brand<Schema.NonEmptyString, "MessageFormat">;
253
- readonly queuedAt: Schema.DateTimeUtc;
254
- readonly state: Schema.Union<readonly [typeof import("@usine/core/conversation").Queued, typeof import("@usine/core/conversation").Running, typeof import("@usine/core/conversation").Succeeded, typeof import("@usine/core/conversation").Failed, typeof import("@usine/core/conversation").Canceled]>;
255
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"conversation", "GET", "/api/conversations/:conversation", Schema.toCodecStringTree<Schema.Struct<{
256
- conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
257
- }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
258
238
  readonly conversation: typeof import("@usine/core/conversation").Conversation;
259
239
  readonly messages: Schema.$Array<Schema.Union<readonly [typeof import("@usine/core/conversation").MemberMessage, typeof import("@usine/core/conversation").SupervisorMessage, typeof import("@usine/core/conversation").OutcomesMessage]>>;
260
240
  readonly turns: Schema.$Array<Schema.Struct<{
@@ -283,19 +263,6 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
283
263
  readonly reportedIn: Schema.NullOr<Schema.brand<Schema.NonEmptyString, "TurnId">>;
284
264
  readonly answerable: Schema.Boolean;
285
265
  }>>;
286
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"conversationEvents", "GET", "/api/conversations/:conversation/events", Schema.toCodecStringTree<Schema.Struct<{
287
- conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
288
- }>>, Schema.toCodecStringTree<Schema.Struct<{
289
- readonly after: Schema.optionalKey<Schema.compose<Schema.Union<readonly [Schema.brand<Schema.Int, "EventSequence">, Schema.Literal<0>]>, Schema.compose<Schema.FiniteFromString, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>>>;
290
- }>>, never, never, Schema.toCodecJson<Schema.Struct<{
291
- readonly events: Schema.$Array<typeof import("@usine/core/conversation").TurnEvent>;
292
- readonly next: Schema.Union<readonly [Schema.brand<Schema.Int, "EventSequence">, Schema.Literal<0>]>;
293
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"conversationStatus", "GET", "/api/conversations/status", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
294
- readonly state: Schema.Literals<readonly ["ready", "setup-required"]>;
295
- readonly reason: Schema.NullOr<Schema.String>;
296
- readonly placement: Schema.NullOr<Schema.Literals<readonly ["host", "container"]>>;
297
- readonly tools: Schema.NullOr<Schema.Literals<readonly ["read", "all"]>>;
298
- readonly refusal: Schema.NullOr<Schema.String>;
299
266
  }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"conversations", "GET", "/api/conversations", never, Schema.toCodecStringTree<Schema.Struct<{
300
267
  readonly anchor: Schema.optionalKey<Schema.compose<Schema.brand<Schema.String, "AnchorKey">, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>>;
301
268
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
@@ -315,62 +282,9 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
315
282
  readonly preview: Schema.String;
316
283
  readonly unread: Schema.NullOr<Schema.Boolean>;
317
284
  }>>;
318
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"markRead", "POST", "/api/conversations/:conversation/read", Schema.toCodecStringTree<Schema.Struct<{
319
- conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
320
- }>>, never, Schema.toCodecJson<Schema.Struct<{
321
- readonly through: Schema.brand<Schema.Int, "MessageSequence">;
322
- }>>, never, Schema.toCodecJson<Schema.Struct<{
323
- readonly conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
324
- readonly through: Schema.brand<Schema.Int, "MessageSequence">;
325
- readonly readAt: Schema.DateTimeUtc;
326
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"postMessage", "POST", "/api/conversations/:conversation/messages", Schema.toCodecStringTree<Schema.Struct<{
285
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"conversation", "GET", "/api/conversations/:conversation", Schema.toCodecStringTree<Schema.Struct<{
327
286
  conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
328
- }>>, never, Schema.toCodecJson<Schema.Struct<{
329
- readonly body: Schema.brand<Schema.Codec<Schema.Json, Schema.Json, never, never>, "MessageBody">;
330
- readonly format: Schema.withDecodingDefaultKey<Schema.brand<Schema.NonEmptyString, "MessageFormat">, never>;
331
- readonly reply: Schema.withDecodingDefaultKey<Schema.Struct<{
332
- readonly format: Schema.brand<Schema.NonEmptyString, "MessageFormat">;
333
- }>, never>;
334
- }>>, never, Schema.toCodecJson<Schema.Struct<{
335
- readonly message: typeof import("@usine/core/conversation").MemberMessage;
336
- readonly turn: Schema.Struct<{
337
- readonly id: Schema.brand<Schema.NonEmptyString, "TurnId">;
338
- readonly conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
339
- readonly member: typeof import("@usine/core/conversation").TurnMember;
340
- readonly message: Schema.brand<Schema.Int, "MessageSequence">;
341
- readonly reply: Schema.brand<Schema.NonEmptyString, "MessageFormat">;
342
- readonly queuedAt: Schema.DateTimeUtc;
343
- readonly state: Schema.Union<readonly [typeof import("@usine/core/conversation").Queued, typeof import("@usine/core/conversation").Running, typeof import("@usine/core/conversation").Succeeded, typeof import("@usine/core/conversation").Failed, typeof import("@usine/core/conversation").Canceled]>;
344
- }>;
345
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"revokeSupervisorGrant", "DELETE", "/api/supervisor/grants/:grant", Schema.toCodecStringTree<Schema.Struct<{
346
- grant: Schema.brand<Schema.NonEmptyString, "StandingGrantId">;
347
287
  }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
348
- readonly id: Schema.brand<Schema.NonEmptyString, "StandingGrantId">;
349
- readonly operation: Schema.brand<Schema.String, "OperationName">;
350
- readonly summary: Schema.String;
351
- readonly project: Schema.brand<Schema.String, "ProjectId">;
352
- readonly member: typeof import("@usine/core/conversation").TurnMember;
353
- readonly request: Schema.brand<Schema.NonEmptyString, "PermissionRequestId">;
354
- readonly createdAt: Schema.DateTimeUtc;
355
- readonly lastUsedAt: Schema.NullOr<Schema.DateTimeUtc>;
356
- readonly revoked: Schema.NullOr<typeof import("@usine/core/permission-request").GrantRevocation>;
357
- readonly applies: Schema.Boolean;
358
- readonly revocable: Schema.Boolean;
359
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"startConversation", "POST", "/api/conversations", never, never, Schema.toCodecJson<Schema.Struct<{
360
- readonly scope: Schema.Union<readonly [typeof import("@usine/core/access").InstanceScope, typeof import("@usine/core/access").ProjectScope]>;
361
- readonly anchor: Schema.optionalKey<Schema.Struct<{
362
- readonly kind: Schema.brand<Schema.NonEmptyString, "AnchorKind">;
363
- readonly reference: Schema.brand<Schema.NonEmptyString, "AnchorReference">;
364
- }>>;
365
- readonly title: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "ConversationTitle">>;
366
- readonly message: Schema.Struct<{
367
- readonly body: Schema.brand<Schema.Codec<Schema.Json, Schema.Json, never, never>, "MessageBody">;
368
- readonly format: Schema.withDecodingDefaultKey<Schema.brand<Schema.NonEmptyString, "MessageFormat">, never>;
369
- readonly reply: Schema.withDecodingDefaultKey<Schema.Struct<{
370
- readonly format: Schema.brand<Schema.NonEmptyString, "MessageFormat">;
371
- }>, never>;
372
- }>;
373
- }>>, never, Schema.toCodecJson<Schema.Struct<{
374
288
  readonly conversation: typeof import("@usine/core/conversation").Conversation;
375
289
  readonly messages: Schema.$Array<Schema.Union<readonly [typeof import("@usine/core/conversation").MemberMessage, typeof import("@usine/core/conversation").SupervisorMessage, typeof import("@usine/core/conversation").OutcomesMessage]>>;
376
290
  readonly turns: Schema.$Array<Schema.Struct<{
@@ -399,6 +313,78 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
399
313
  readonly reportedIn: Schema.NullOr<Schema.brand<Schema.NonEmptyString, "TurnId">>;
400
314
  readonly answerable: Schema.Boolean;
401
315
  }>>;
316
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"conversationEvents", "GET", "/api/conversations/:conversation/events", Schema.toCodecStringTree<Schema.Struct<{
317
+ conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
318
+ }>>, Schema.toCodecStringTree<Schema.Struct<{
319
+ readonly after: Schema.optionalKey<Schema.compose<Schema.Union<readonly [Schema.brand<Schema.Int, "EventSequence">, Schema.Literal<0>]>, Schema.compose<Schema.FiniteFromString, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>>>;
320
+ }>>, never, never, Schema.toCodecJson<Schema.Struct<{
321
+ readonly events: Schema.$Array<typeof import("@usine/core/conversation").TurnEvent>;
322
+ readonly next: Schema.Union<readonly [Schema.brand<Schema.Int, "EventSequence">, Schema.Literal<0>]>;
323
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"postMessage", "POST", "/api/conversations/:conversation/messages", Schema.toCodecStringTree<Schema.Struct<{
324
+ conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
325
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
326
+ readonly body: Schema.brand<Schema.Codec<Schema.Json, Schema.Json, never, never>, "MessageBody">;
327
+ readonly format: Schema.withDecodingDefaultKey<Schema.brand<Schema.NonEmptyString, "MessageFormat">, never>;
328
+ readonly reply: Schema.withDecodingDefaultKey<Schema.Struct<{
329
+ readonly format: Schema.brand<Schema.NonEmptyString, "MessageFormat">;
330
+ }>, never>;
331
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
332
+ readonly message: typeof import("@usine/core/conversation").MemberMessage;
333
+ readonly turn: Schema.Struct<{
334
+ readonly id: Schema.brand<Schema.NonEmptyString, "TurnId">;
335
+ readonly conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
336
+ readonly member: typeof import("@usine/core/conversation").TurnMember;
337
+ readonly message: Schema.brand<Schema.Int, "MessageSequence">;
338
+ readonly reply: Schema.brand<Schema.NonEmptyString, "MessageFormat">;
339
+ readonly queuedAt: Schema.DateTimeUtc;
340
+ readonly state: Schema.Union<readonly [typeof import("@usine/core/conversation").Queued, typeof import("@usine/core/conversation").Running, typeof import("@usine/core/conversation").Succeeded, typeof import("@usine/core/conversation").Failed, typeof import("@usine/core/conversation").Canceled]>;
341
+ }>;
342
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"markRead", "POST", "/api/conversations/:conversation/read", Schema.toCodecStringTree<Schema.Struct<{
343
+ conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
344
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
345
+ readonly through: Schema.brand<Schema.Int, "MessageSequence">;
346
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
347
+ readonly conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
348
+ readonly through: Schema.brand<Schema.Int, "MessageSequence">;
349
+ readonly readAt: Schema.DateTimeUtc;
350
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"answerRequest", "POST", "/api/conversations/:conversation/requests/:request/answer", Schema.toCodecStringTree<Schema.Struct<{
351
+ conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
352
+ request: Schema.brand<Schema.NonEmptyString, "PermissionRequestId">;
353
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
354
+ readonly answer: Schema.Literals<readonly ["once", "always", "deny"]>;
355
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
356
+ readonly id: Schema.brand<Schema.NonEmptyString, "PermissionRequestId">;
357
+ readonly conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
358
+ readonly turn: Schema.brand<Schema.NonEmptyString, "TurnId">;
359
+ readonly toolCall: Schema.NullOr<Schema.String>;
360
+ readonly operation: Schema.brand<Schema.String, "OperationName">;
361
+ readonly summary: Schema.String;
362
+ readonly arguments: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
363
+ readonly target: Schema.brand<Schema.NonEmptyString, "CallTarget">;
364
+ readonly project: Schema.NullOr<Schema.brand<Schema.String, "ProjectId">>;
365
+ readonly permission: Schema.Literals<readonly ["operate", "maintain", "admin"]>;
366
+ readonly grantable: Schema.Boolean;
367
+ readonly requestedAt: Schema.DateTimeUtc;
368
+ readonly state: Schema.Union<readonly [typeof import("@usine/core/permission-request").RequestWaiting, typeof import("@usine/core/permission-request").RequestDenied, typeof import("@usine/core/permission-request").RequestAllowed, typeof import("@usine/core/permission-request").RequestRan, typeof import("@usine/core/permission-request").RequestFailed, typeof import("@usine/core/permission-request").RequestInterrupted]>;
369
+ readonly reportedIn: Schema.NullOr<Schema.brand<Schema.NonEmptyString, "TurnId">>;
370
+ readonly answerable: Schema.Boolean;
371
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"cancelTurn", "POST", "/api/conversations/:conversation/turns/:turn/cancel", Schema.toCodecStringTree<Schema.Struct<{
372
+ conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
373
+ turn: Schema.brand<Schema.NonEmptyString, "TurnId">;
374
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
375
+ readonly id: Schema.brand<Schema.NonEmptyString, "TurnId">;
376
+ readonly conversation: Schema.brand<Schema.NonEmptyString, "ConversationId">;
377
+ readonly member: typeof import("@usine/core/conversation").TurnMember;
378
+ readonly message: Schema.brand<Schema.Int, "MessageSequence">;
379
+ readonly reply: Schema.brand<Schema.NonEmptyString, "MessageFormat">;
380
+ readonly queuedAt: Schema.DateTimeUtc;
381
+ readonly state: Schema.Union<readonly [typeof import("@usine/core/conversation").Queued, typeof import("@usine/core/conversation").Running, typeof import("@usine/core/conversation").Succeeded, typeof import("@usine/core/conversation").Failed, typeof import("@usine/core/conversation").Canceled]>;
382
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"conversationStatus", "GET", "/api/conversations/status", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
383
+ readonly state: Schema.Literals<readonly ["ready", "setup-required"]>;
384
+ readonly reason: Schema.NullOr<Schema.String>;
385
+ readonly placement: Schema.NullOr<Schema.Literals<readonly ["host", "container"]>>;
386
+ readonly tools: Schema.NullOr<Schema.Literals<readonly ["read", "all"]>>;
387
+ readonly refusal: Schema.NullOr<Schema.String>;
402
388
  }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"supervisorActions", "GET", "/api/supervisor/actions", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
403
389
  readonly actions: Schema.$Array<Schema.Struct<{
404
390
  readonly id: Schema.brand<Schema.NonEmptyString, "PermissionRequestId">;
@@ -431,40 +417,25 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
431
417
  readonly applies: Schema.Boolean;
432
418
  readonly revocable: Schema.Boolean;
433
419
  }>>;
434
- }>>, never, OperatorHttpPolicy, never>, false> | HttpApiGroup.HttpApiGroup<"operator", HttpApiEndpoint.HttpApiEndpoint<"agents", "GET", "/api/agents", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.brand<Schema.String, "AgentName">>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"applyCiLabels", "POST", "/api/runs/:runId/apply-ci-labels", Schema.toCodecStringTree<Schema.Struct<{
435
- runId: Schema.brand<Schema.NonEmptyString, "RunId">;
436
- }>>, never, Schema.toCodecJson<Schema.Struct<{
437
- readonly attemptId: Schema.brand<Schema.NonEmptyString, "AttemptId">;
438
- }>>, never, Schema.toCodecJson<Schema.Struct<{
439
- readonly ok: Schema.Literal<true>;
440
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"approve", "POST", "/api/runs/:runId/approve", Schema.toCodecStringTree<Schema.Struct<{
441
- runId: Schema.brand<Schema.NonEmptyString, "RunId">;
442
- }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
443
- readonly ok: Schema.Literal<true>;
444
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"boardLaneItems", "GET", "/api/projects/:project/lanes/:lane/items", Schema.toCodecStringTree<Schema.Struct<{
445
- project: Schema.brand<Schema.String, "ProjectId">;
446
- lane: Schema.brand<Schema.NonEmptyString, "BoardLaneId">;
447
- }>>, Schema.toCodecStringTree<Schema.Struct<{
448
- offset: Schema.optionalKey<Schema.Int>;
449
- }>>, never, never, Schema.toCodecJson<Schema.Struct<{
450
- readonly items: Schema.$Array<typeof import("./board.ts").BoardTaskView>;
451
- readonly total: Schema.Int;
452
- readonly nextOffset: Schema.NullOr<Schema.Int>;
453
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"cancel", "POST", "/api/runs/:runId/cancel", Schema.toCodecStringTree<Schema.Struct<{
454
- runId: Schema.brand<Schema.NonEmptyString, "RunId">;
420
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"revokeSupervisorGrant", "DELETE", "/api/supervisor/grants/:grant", Schema.toCodecStringTree<Schema.Struct<{
421
+ grant: Schema.brand<Schema.NonEmptyString, "StandingGrantId">;
455
422
  }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
423
+ readonly id: Schema.brand<Schema.NonEmptyString, "StandingGrantId">;
424
+ readonly operation: Schema.brand<Schema.String, "OperationName">;
425
+ readonly summary: Schema.String;
426
+ readonly project: Schema.brand<Schema.String, "ProjectId">;
427
+ readonly member: typeof import("@usine/core/conversation").TurnMember;
428
+ readonly request: Schema.brand<Schema.NonEmptyString, "PermissionRequestId">;
429
+ readonly createdAt: Schema.DateTimeUtc;
430
+ readonly lastUsedAt: Schema.NullOr<Schema.DateTimeUtc>;
431
+ readonly revoked: Schema.NullOr<typeof import("@usine/core/permission-request").GrantRevocation>;
432
+ readonly applies: Schema.Boolean;
433
+ readonly revocable: Schema.Boolean;
434
+ }>>, never, OperatorHttpPolicy, never>, false> | HttpApiGroup.HttpApiGroup<"operator", HttpApiEndpoint.HttpApiEndpoint<"agents", "GET", "/api/agents", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.brand<Schema.String, "AgentName">>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"dismissNeed", "POST", "/api/attention/dismiss", never, never, Schema.toCodecJson<typeof AttentionKey>, never, Schema.toCodecJson<Schema.Struct<{
456
435
  readonly ok: Schema.Literal<true>;
457
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"cancelUpgrade", "DELETE", "/api/upgrade", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
436
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"undoDismissNeed", "POST", "/api/attention/undo", never, never, Schema.toCodecJson<typeof AttentionKey>, never, Schema.toCodecJson<Schema.Struct<{
458
437
  readonly ok: Schema.Literal<true>;
459
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"changes", "GET", "/api/changes", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"checkLoop", "POST", "/api/configuration/loops/check", never, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
460
- readonly name: Schema.brand<Schema.NonEmptyString, "LoopName">;
461
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
462
- readonly text: Schema.optionalKey<Schema.Never>;
463
- }>, Schema.Struct<{
464
- readonly name: Schema.brand<Schema.NonEmptyString, "LoopName">;
465
- readonly text: Schema.String;
466
- readonly value: Schema.optionalKey<Schema.Never>;
467
- }>]>>, never, Schema.toCodecJson<typeof LoopCheck>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configuration", "GET", "/api/configuration", never, never, never, never, Schema.toCodecJson<Schema.Union<readonly [typeof ConfigurationSummaryView, typeof ConfigurationView]>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationCapabilities", "GET", "/api/configuration/capabilities", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
438
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"changes", "GET", "/api/changes", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configuration", "GET", "/api/configuration", never, never, never, never, Schema.toCodecJson<Schema.Union<readonly [typeof ConfigurationSummaryView, typeof ConfigurationView]>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationCapabilities", "GET", "/api/configuration/capabilities", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
468
439
  readonly harnesses: Schema.$Array<Schema.brand<Schema.String, "Harness">>;
469
440
  readonly harnessDetails: Schema.$Array<typeof HarnessPresentation>;
470
441
  /** The harnesses, in catalog order, that saving `settings.supervisor` admits. */
@@ -474,52 +445,69 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
474
445
  }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationEntity", "GET", "/api/configuration/entities/:kind/:identifier", Schema.toCodecStringTree<Schema.Struct<{
475
446
  readonly kind: Schema.String;
476
447
  readonly identifier: Schema.brand<Schema.NonEmptyString, "ConfigurationEntityId">;
477
- }>>, never, never, never, Schema.toCodecJson<typeof ConfigurationEntityView>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationHead", "GET", "/api/configuration/head", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
448
+ }>>, never, never, never, Schema.toCodecJson<typeof ConfigurationEntityView>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"replaceConfigurationEntity", "PUT", "/api/configuration/entities/:kind/:identifier", Schema.toCodecStringTree<Schema.Struct<{
449
+ readonly kind: Schema.String;
450
+ readonly identifier: Schema.brand<Schema.NonEmptyString, "ConfigurationEntityId">;
451
+ }>>, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
452
+ readonly expected: Schema.brand<Schema.Int, "ConfigurationRevisionNumber">;
453
+ readonly message: Schema.optionalKey<Schema.String>;
454
+ readonly save: Schema.optionalKey<Schema.brand<Schema.String, "ConfigurationSaveId">>;
455
+ readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
456
+ readonly text: Schema.optionalKey<Schema.Never>;
457
+ readonly position: Schema.optionalKey<Schema.Int>;
458
+ }>, Schema.Struct<{
459
+ readonly expected: Schema.brand<Schema.Int, "ConfigurationRevisionNumber">;
460
+ readonly message: Schema.optionalKey<Schema.String>;
461
+ readonly save: Schema.optionalKey<Schema.brand<Schema.String, "ConfigurationSaveId">>;
462
+ readonly text: Schema.String;
463
+ readonly value: Schema.optionalKey<Schema.Never>;
464
+ readonly position: Schema.optionalKey<Schema.Int>;
465
+ }>]>>, never, Schema.toCodecJson<typeof ConfigurationRevisionView>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"deleteConfigurationEntity", "DELETE", "/api/configuration/entities/:kind/:identifier", Schema.toCodecStringTree<Schema.Struct<{
466
+ readonly kind: Schema.String;
467
+ readonly identifier: Schema.brand<Schema.NonEmptyString, "ConfigurationEntityId">;
468
+ }>>, never, Schema.toCodecJson<typeof ConfigurationWrite>, never, Schema.toCodecJson<typeof ConfigurationRevisionView>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationHead", "GET", "/api/configuration/head", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
478
469
  readonly number: Schema.brand<Schema.Int, "ConfigurationRevisionNumber">;
479
470
  }>>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationLabels", "GET", "/api/configuration/labels/:repository", Schema.toCodecStringTree<Schema.Struct<{
480
471
  repository: Schema.brand<Schema.String, "RepositoryName">;
481
- }>>, never, never, never, Schema.toCodecJson<Schema.$Array<typeof RepositoryLabel>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationRepositories", "GET", "/api/configuration/repositories", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.brand<Schema.String, "RepositoryName">>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationRevision", "GET", "/api/configuration/revisions/:number", Schema.toCodecStringTree<Schema.Struct<{
482
- number: Schema.compose<Schema.brand<Schema.Int, "ConfigurationRevisionNumber">, Schema.FiniteFromString>;
483
- }>>, never, never, never, Schema.toCodecJson<typeof ConfigurationRevisionView>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationRevisions", "GET", "/api/configuration/revisions", never, Schema.toCodecStringTree<Schema.Struct<{
472
+ }>>, never, never, never, Schema.toCodecJson<Schema.$Array<typeof RepositoryLabel>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"checkLoop", "POST", "/api/configuration/loops/check", never, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
473
+ readonly name: Schema.brand<Schema.NonEmptyString, "LoopName">;
474
+ readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
475
+ readonly text: Schema.optionalKey<Schema.Never>;
476
+ }>, Schema.Struct<{
477
+ readonly name: Schema.brand<Schema.NonEmptyString, "LoopName">;
478
+ readonly text: Schema.String;
479
+ readonly value: Schema.optionalKey<Schema.Never>;
480
+ }>]>>, never, Schema.toCodecJson<typeof LoopCheck>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"previewLoop", "POST", "/api/configuration/loops/preview", never, never, Schema.toCodecJson<typeof LoopPreviewRequest>, never, Schema.toCodecJson<typeof LoopPreview>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationRepositories", "GET", "/api/configuration/repositories", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.brand<Schema.String, "RepositoryName">>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationRevisions", "GET", "/api/configuration/revisions", never, Schema.toCodecStringTree<Schema.Struct<{
484
481
  readonly project: Schema.optionalKey<Schema.compose<Schema.brand<Schema.String, "ProjectId">, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>>;
485
482
  readonly kind: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>;
486
483
  readonly identifier: Schema.optionalKey<Schema.compose<Schema.brand<Schema.NonEmptyString, "ConfigurationEntityId">, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>>;
487
484
  readonly before: Schema.optionalKey<Schema.compose<Schema.brand<Schema.Int, "ConfigurationRevisionNumber">, Schema.compose<Schema.FiniteFromString, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>>>;
488
485
  readonly limit: Schema.withDecodingDefaultKey<Schema.compose<Schema.Int, Schema.compose<Schema.FiniteFromString, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>>, never>;
489
- }>>, never, never, Schema.toCodecJson<typeof ConfigurationRevisionPage>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationWrites", "GET", "/api/configuration/writes", never, never, never, never, Schema.toCodecJson<Schema.$Array<typeof ConfigurationWriteProgress>>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"deleteConfigurationEntity", "DELETE", "/api/configuration/entities/:kind/:identifier", Schema.toCodecStringTree<Schema.Struct<{
490
- readonly kind: Schema.String;
491
- readonly identifier: Schema.brand<Schema.NonEmptyString, "ConfigurationEntityId">;
492
- }>>, never, Schema.toCodecJson<typeof ConfigurationWrite>, never, Schema.toCodecJson<typeof ConfigurationRevisionView>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"desk", "GET", "/api/desk", never, never, never, never, Schema.toCodecJson<typeof DeskView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"detail", "GET", "/api/runs/:runId", Schema.toCodecStringTree<Schema.Struct<{
493
- runId: Schema.brand<Schema.NonEmptyString, "RunId">;
494
- }>>, Schema.toCodecStringTree<Schema.Union<readonly [Schema.decodeTo<Schema.toType<typeof ColdTranscriptRequest>, Schema.Struct<{
495
- readonly after: Schema.optionalKey<Schema.Never>;
496
- readonly before: Schema.optionalKey<Schema.Never>;
497
- readonly attempt: Schema.optionalKey<Schema.Never>;
498
- }>, never, never>, Schema.decodeTo<Schema.toType<typeof TailTranscriptRequest>, Schema.Struct<{
499
- readonly after: Schema.compose<Schema.brand<Schema.Int, "TranscriptSequence">, Schema.compose<Schema.FiniteFromString, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>>;
500
- readonly before: Schema.optionalKey<Schema.Never>;
501
- readonly attempt: Schema.optionalKey<Schema.Never>;
502
- }>, never, never>, Schema.decodeTo<Schema.toType<typeof EarlierTranscriptRequest>, Schema.Struct<{
503
- readonly after: Schema.optionalKey<Schema.Never>;
504
- readonly before: Schema.compose<Schema.brand<Schema.Int, "TranscriptSequence">, Schema.compose<Schema.FiniteFromString, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>>;
505
- readonly attempt: Schema.compose<Schema.brand<Schema.NonEmptyString, "AttemptId">, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>;
506
- }>, never, never>]>>, never, never, Schema.toCodecJson<Schema.Union<readonly [typeof RunBriefView, typeof RunDetailView]>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"discardLeftovers", "POST", "/api/workers/:worker/discard-leftovers", Schema.toCodecStringTree<Schema.Struct<{
507
- worker: Schema.brand<Schema.String, "WorkerName">;
486
+ }>>, never, never, Schema.toCodecJson<typeof ConfigurationRevisionPage>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationRevision", "GET", "/api/configuration/revisions/:number", Schema.toCodecStringTree<Schema.Struct<{
487
+ number: Schema.compose<Schema.brand<Schema.Int, "ConfigurationRevisionNumber">, Schema.FiniteFromString>;
488
+ }>>, never, never, never, Schema.toCodecJson<typeof ConfigurationRevisionView>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"revertConfigurationRevision", "POST", "/api/configuration/revisions/:number/revert", Schema.toCodecStringTree<Schema.Struct<{
489
+ number: Schema.compose<Schema.brand<Schema.Int, "ConfigurationRevisionNumber">, Schema.FiniteFromString>;
490
+ }>>, never, Schema.toCodecJson<typeof ConfigurationWrite>, never, Schema.toCodecJson<typeof ConfigurationRevisionView>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationWrites", "GET", "/api/configuration/writes", never, never, never, never, Schema.toCodecJson<Schema.$Array<typeof ConfigurationWriteProgress>>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"resetCycleBudget", "POST", "/api/cycle-budgets/reset", never, never, Schema.toCodecJson<Schema.Struct<{
491
+ readonly askId: Schema.brand<Schema.brand<Schema.NonEmptyString, "EventId">, "CycleBudgetAskId">;
492
+ }>>, never, Schema.toCodecJson<typeof CycleBudgetResetView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"desk", "GET", "/api/desk", never, never, never, never, Schema.toCodecJson<typeof DeskView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"pause", "POST", "/api/loops/:loop/pause", Schema.toCodecStringTree<Schema.Struct<{
493
+ loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
508
494
  }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
509
495
  readonly ok: Schema.Literal<true>;
510
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"dismissNeed", "POST", "/api/attention/dismiss", never, never, Schema.toCodecJson<typeof AttentionKey>, never, Schema.toCodecJson<Schema.Struct<{
496
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"unpause", "POST", "/api/loops/:loop/unpause", Schema.toCodecStringTree<Schema.Struct<{
497
+ loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
498
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
511
499
  readonly ok: Schema.Literal<true>;
512
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"editAndRetry", "POST", "/api/runs/:runId/edit-and-retry", Schema.toCodecStringTree<Schema.Struct<{
513
- runId: Schema.brand<Schema.NonEmptyString, "RunId">;
514
- }>>, never, Schema.toCodecJson<typeof EditAndRetry>, never, Schema.toCodecJson<Schema.Struct<{
500
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"pauseProjectLoop", "POST", "/api/loops/:project/:loop/pause", Schema.toCodecStringTree<Schema.Struct<{
501
+ project: Schema.brand<Schema.String, "ProjectId">;
502
+ loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
503
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
515
504
  readonly ok: Schema.Literal<true>;
516
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"githubChanges", "GET", "/api/runs/:runId/github-changes", Schema.toCodecStringTree<Schema.Struct<{
517
- runId: Schema.brand<Schema.NonEmptyString, "RunId">;
518
- }>>, never, never, never, Schema.toCodecJson<typeof RunGitHubChangesView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"intervene", "POST", "/api/runs/:runId/intervene", Schema.toCodecStringTree<Schema.Struct<{
519
- runId: Schema.brand<Schema.NonEmptyString, "RunId">;
520
- }>>, never, Schema.toCodecJson<typeof SessionIntervention>, never, Schema.toCodecJson<Schema.Struct<{
505
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"unpauseProjectLoop", "POST", "/api/loops/:project/:loop/unpause", Schema.toCodecStringTree<Schema.Struct<{
506
+ project: Schema.brand<Schema.String, "ProjectId">;
507
+ loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
508
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
521
509
  readonly ok: Schema.Literal<true>;
522
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"item", "GET", "/api/projects/:owner/:repository/items/:item", Schema.toCodecStringTree<Schema.Struct<{
510
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"overview", "GET", "/api/overview", never, never, never, never, Schema.toCodecJson<Schema.Union<readonly [typeof import("./overview/view.ts").ReadyOverview, typeof import("./overview/view.ts").NeedsSetupOverview]>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"item", "GET", "/api/projects/:owner/:repository/items/:item", Schema.toCodecStringTree<Schema.Struct<{
523
511
  owner: Schema.String;
524
512
  repository: Schema.String;
525
513
  item: Schema.compose<Schema.brand<Schema.Int, "ItemNumber">, Schema.FiniteFromString>;
@@ -534,7 +522,23 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
534
522
  readonly toLane: Schema.brand<Schema.NonEmptyString, "BoardLaneId">;
535
523
  }>>, never, Schema.toCodecJson<Schema.Struct<{
536
524
  readonly ok: Schema.Literal<true>;
537
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"moveProjectItem", "POST", "/api/projects/:project/items/:item/lane", Schema.toCodecStringTree<Schema.Struct<{
525
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"task", "GET", "/api/projects/:owner/:repository/tasks/:item", Schema.toCodecStringTree<Schema.Struct<{
526
+ owner: Schema.String;
527
+ repository: Schema.String;
528
+ item: Schema.compose<Schema.brand<Schema.Int, "ItemNumber">, Schema.FiniteFromString>;
529
+ }>>, never, never, never, Schema.toCodecJson<typeof TaskView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"taskRuns", "GET", "/api/projects/:owner/:repository/tasks/:item/runs", Schema.toCodecStringTree<Schema.Struct<{
530
+ owner: Schema.String;
531
+ repository: Schema.String;
532
+ item: Schema.compose<Schema.brand<Schema.Int, "ItemNumber">, Schema.FiniteFromString>;
533
+ }>>, Schema.toCodecStringTree<Schema.Struct<{
534
+ offset: Schema.optionalKey<Schema.Int>;
535
+ }>>, never, never, Schema.toCodecJson<Schema.Struct<{
536
+ readonly runs: Schema.$Array<typeof import("./run.ts").RunSummaryView>;
537
+ readonly total: Schema.Int;
538
+ readonly nextOffset: Schema.NullOr<Schema.Int>;
539
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"project", "GET", "/api/projects/:project", Schema.toCodecStringTree<Schema.Struct<{
540
+ project: Schema.brand<Schema.String, "ProjectId">;
541
+ }>>, never, never, never, Schema.toCodecJson<typeof ProjectView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"moveProjectItem", "POST", "/api/projects/:project/items/:item/lane", Schema.toCodecStringTree<Schema.Struct<{
538
542
  project: Schema.brand<Schema.String, "ProjectId">;
539
543
  item: Schema.compose<Schema.brand<Schema.Int, "ItemNumber">, Schema.FiniteFromString>;
540
544
  }>>, never, Schema.toCodecJson<Schema.Struct<{
@@ -542,30 +546,16 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
542
546
  readonly toLane: Schema.brand<Schema.NonEmptyString, "BoardLaneId">;
543
547
  }>>, never, Schema.toCodecJson<Schema.Struct<{
544
548
  readonly ok: Schema.Literal<true>;
545
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"overview", "GET", "/api/overview", never, never, never, never, Schema.toCodecJson<Schema.Union<readonly [typeof import("./overview/view.ts").ReadyOverview, typeof import("./overview/view.ts").NeedsSetupOverview]>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"pause", "POST", "/api/loops/:loop/pause", Schema.toCodecStringTree<Schema.Struct<{
546
- loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
547
- }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
548
- readonly ok: Schema.Literal<true>;
549
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"pauseProjectLoop", "POST", "/api/loops/:project/:loop/pause", Schema.toCodecStringTree<Schema.Struct<{
550
- project: Schema.brand<Schema.String, "ProjectId">;
551
- loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
552
- }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
553
- readonly ok: Schema.Literal<true>;
554
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"pickOutcome", "POST", "/api/runs/:runId/pick-outcome", Schema.toCodecStringTree<Schema.Struct<{
555
- runId: Schema.brand<Schema.NonEmptyString, "RunId">;
556
- }>>, never, Schema.toCodecJson<Schema.Struct<{
557
- readonly attemptId: Schema.brand<Schema.NonEmptyString, "AttemptId">;
558
- readonly outcome: Schema.brand<Schema.String, "OutcomeName">;
559
- }>>, never, Schema.toCodecJson<Schema.Struct<{
560
- readonly ok: Schema.Literal<true>;
561
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"previewLoop", "POST", "/api/configuration/loops/preview", never, never, Schema.toCodecJson<typeof LoopPreviewRequest>, never, Schema.toCodecJson<typeof LoopPreview>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"project", "GET", "/api/projects/:project", Schema.toCodecStringTree<Schema.Struct<{
562
- project: Schema.brand<Schema.String, "ProjectId">;
563
- }>>, never, never, never, Schema.toCodecJson<typeof ProjectView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"projectTask", "GET", "/api/projects/:project/tasks/:item", Schema.toCodecStringTree<Schema.Struct<{
549
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"boardLaneItems", "GET", "/api/projects/:project/lanes/:lane/items", Schema.toCodecStringTree<Schema.Struct<{
564
550
  project: Schema.brand<Schema.String, "ProjectId">;
565
- item: Schema.compose<Schema.brand<Schema.Int, "ItemNumber">, Schema.FiniteFromString>;
551
+ lane: Schema.brand<Schema.NonEmptyString, "BoardLaneId">;
566
552
  }>>, Schema.toCodecStringTree<Schema.Struct<{
567
- readonly repository: Schema.brand<Schema.String, "RepositoryName">;
568
- }>>, never, never, Schema.toCodecJson<typeof TaskView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"pullRequestFiles", "GET", "/api/projects/:project/pull-requests/:repository/:item/files", Schema.toCodecStringTree<Schema.Struct<{
553
+ offset: Schema.optionalKey<Schema.Int>;
554
+ }>>, never, never, Schema.toCodecJson<Schema.Struct<{
555
+ readonly items: Schema.$Array<typeof import("./board.ts").BoardTaskView>;
556
+ readonly total: Schema.Int;
557
+ readonly nextOffset: Schema.NullOr<Schema.Int>;
558
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"pullRequestFiles", "GET", "/api/projects/:project/pull-requests/:repository/:item/files", Schema.toCodecStringTree<Schema.Struct<{
569
559
  readonly project: Schema.brand<Schema.String, "ProjectId">;
570
560
  readonly repository: Schema.brand<Schema.String, "RepositoryName">;
571
561
  readonly item: Schema.brand<Schema.Int, "ItemNumber">;
@@ -583,28 +573,62 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
583
573
  readonly offset: Schema.optionalKey<Schema.Int>;
584
574
  }>, {
585
575
  readonly _tag: "scope";
586
- }>]>>, never, never, Schema.toCodecJson<typeof import("@usine/github/file-changes").FileChanges>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"replaceConfigurationEntity", "PUT", "/api/configuration/entities/:kind/:identifier", Schema.toCodecStringTree<Schema.Struct<{
587
- readonly kind: Schema.String;
588
- readonly identifier: Schema.brand<Schema.NonEmptyString, "ConfigurationEntityId">;
589
- }>>, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
590
- readonly expected: Schema.brand<Schema.Int, "ConfigurationRevisionNumber">;
591
- readonly message: Schema.optionalKey<Schema.String>;
592
- readonly save: Schema.optionalKey<Schema.brand<Schema.String, "ConfigurationSaveId">>;
593
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
594
- readonly text: Schema.optionalKey<Schema.Never>;
595
- readonly position: Schema.optionalKey<Schema.Int>;
596
- }>, Schema.Struct<{
597
- readonly expected: Schema.brand<Schema.Int, "ConfigurationRevisionNumber">;
598
- readonly message: Schema.optionalKey<Schema.String>;
599
- readonly save: Schema.optionalKey<Schema.brand<Schema.String, "ConfigurationSaveId">>;
600
- readonly text: Schema.String;
601
- readonly value: Schema.optionalKey<Schema.Never>;
602
- readonly position: Schema.optionalKey<Schema.Int>;
603
- }>]>>, never, Schema.toCodecJson<typeof ConfigurationRevisionView>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"requestUpgrade", "POST", "/api/upgrade", never, never, Schema.toCodecJson<typeof UpgradeRequest>, never, Schema.toCodecJson<Schema.Struct<{
576
+ }>]>>, never, never, Schema.toCodecJson<typeof import("@usine/github/file-changes").FileChanges>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"projectTask", "GET", "/api/projects/:project/tasks/:item", Schema.toCodecStringTree<Schema.Struct<{
577
+ project: Schema.brand<Schema.String, "ProjectId">;
578
+ item: Schema.compose<Schema.brand<Schema.Int, "ItemNumber">, Schema.FiniteFromString>;
579
+ }>>, Schema.toCodecStringTree<Schema.Struct<{
580
+ readonly repository: Schema.brand<Schema.String, "RepositoryName">;
581
+ }>>, never, never, Schema.toCodecJson<typeof TaskView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"serverReady", "GET", "/api/ready", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
604
582
  readonly ok: Schema.Literal<true>;
605
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"resetCycleBudget", "POST", "/api/cycle-budgets/reset", never, never, Schema.toCodecJson<Schema.Struct<{
606
- readonly askId: Schema.brand<Schema.brand<Schema.NonEmptyString, "EventId">, "CycleBudgetAskId">;
607
- }>>, never, Schema.toCodecJson<typeof CycleBudgetResetView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"resolveFailure", "POST", "/api/runs/:runId/resolve-failure", Schema.toCodecStringTree<Schema.Struct<{
583
+ }>>, Schema.toCodecJson<Schema.Struct<{
584
+ readonly error: Schema.Literal<"Starting">;
585
+ readonly message: Schema.String;
586
+ }>>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"detail", "GET", "/api/runs/:runId", Schema.toCodecStringTree<Schema.Struct<{
587
+ runId: Schema.brand<Schema.NonEmptyString, "RunId">;
588
+ }>>, Schema.toCodecStringTree<Schema.Union<readonly [Schema.decodeTo<Schema.toType<typeof ColdTranscriptRequest>, Schema.Struct<{
589
+ readonly after: Schema.optionalKey<Schema.Never>;
590
+ readonly before: Schema.optionalKey<Schema.Never>;
591
+ readonly attempt: Schema.optionalKey<Schema.Never>;
592
+ }>, never, never>, Schema.decodeTo<Schema.toType<typeof TailTranscriptRequest>, Schema.Struct<{
593
+ readonly after: Schema.compose<Schema.brand<Schema.Int, "TranscriptSequence">, Schema.compose<Schema.FiniteFromString, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>>;
594
+ readonly before: Schema.optionalKey<Schema.Never>;
595
+ readonly attempt: Schema.optionalKey<Schema.Never>;
596
+ }>, never, never>, Schema.decodeTo<Schema.toType<typeof EarlierTranscriptRequest>, Schema.Struct<{
597
+ readonly after: Schema.optionalKey<Schema.Never>;
598
+ readonly before: Schema.compose<Schema.brand<Schema.Int, "TranscriptSequence">, Schema.compose<Schema.FiniteFromString, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>>;
599
+ readonly attempt: Schema.compose<Schema.brand<Schema.NonEmptyString, "AttemptId">, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>;
600
+ }>, never, never>]>>, never, never, Schema.toCodecJson<Schema.Union<readonly [typeof RunBriefView, typeof RunDetailView]>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"applyCiLabels", "POST", "/api/runs/:runId/apply-ci-labels", Schema.toCodecStringTree<Schema.Struct<{
601
+ runId: Schema.brand<Schema.NonEmptyString, "RunId">;
602
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
603
+ readonly attemptId: Schema.brand<Schema.NonEmptyString, "AttemptId">;
604
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
605
+ readonly ok: Schema.Literal<true>;
606
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"approve", "POST", "/api/runs/:runId/approve", Schema.toCodecStringTree<Schema.Struct<{
607
+ runId: Schema.brand<Schema.NonEmptyString, "RunId">;
608
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
609
+ readonly ok: Schema.Literal<true>;
610
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"cancel", "POST", "/api/runs/:runId/cancel", Schema.toCodecStringTree<Schema.Struct<{
611
+ runId: Schema.brand<Schema.NonEmptyString, "RunId">;
612
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
613
+ readonly ok: Schema.Literal<true>;
614
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"editAndRetry", "POST", "/api/runs/:runId/edit-and-retry", Schema.toCodecStringTree<Schema.Struct<{
615
+ runId: Schema.brand<Schema.NonEmptyString, "RunId">;
616
+ }>>, never, Schema.toCodecJson<typeof EditAndRetry>, never, Schema.toCodecJson<Schema.Struct<{
617
+ readonly ok: Schema.Literal<true>;
618
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"githubChanges", "GET", "/api/runs/:runId/github-changes", Schema.toCodecStringTree<Schema.Struct<{
619
+ runId: Schema.brand<Schema.NonEmptyString, "RunId">;
620
+ }>>, never, never, never, Schema.toCodecJson<typeof RunGitHubChangesView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"intervene", "POST", "/api/runs/:runId/intervene", Schema.toCodecStringTree<Schema.Struct<{
621
+ runId: Schema.brand<Schema.NonEmptyString, "RunId">;
622
+ }>>, never, Schema.toCodecJson<typeof SessionIntervention>, never, Schema.toCodecJson<Schema.Struct<{
623
+ readonly ok: Schema.Literal<true>;
624
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"pickOutcome", "POST", "/api/runs/:runId/pick-outcome", Schema.toCodecStringTree<Schema.Struct<{
625
+ runId: Schema.brand<Schema.NonEmptyString, "RunId">;
626
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
627
+ readonly attemptId: Schema.brand<Schema.NonEmptyString, "AttemptId">;
628
+ readonly outcome: Schema.brand<Schema.String, "OutcomeName">;
629
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
630
+ readonly ok: Schema.Literal<true>;
631
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"resolveFailure", "POST", "/api/runs/:runId/resolve-failure", Schema.toCodecStringTree<Schema.Struct<{
608
632
  runId: Schema.brand<Schema.NonEmptyString, "RunId">;
609
633
  }>>, never, Schema.toCodecJson<Schema.Struct<{
610
634
  readonly attemptId: Schema.brand<Schema.NonEmptyString, "AttemptId">;
@@ -618,13 +642,9 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
618
642
  runId: Schema.brand<Schema.NonEmptyString, "RunId">;
619
643
  }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
620
644
  readonly ok: Schema.Literal<true>;
621
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"revertConfigurationRevision", "POST", "/api/configuration/revisions/:number/revert", Schema.toCodecStringTree<Schema.Struct<{
622
- number: Schema.compose<Schema.brand<Schema.Int, "ConfigurationRevisionNumber">, Schema.FiniteFromString>;
623
- }>>, never, Schema.toCodecJson<typeof ConfigurationWrite>, never, Schema.toCodecJson<typeof ConfigurationRevisionView>, Schema.toCodecJson<typeof RestartRequiredRefusal | typeof ReloadPreflightRefusal | typeof FactoryConfigRefusal | typeof StaleRevisionRefusal | typeof ConfigurationInvalidRefusal | typeof ConfigurationRevertRefusal>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"runAgain", "POST", "/api/runs/:runId/run-again", Schema.toCodecStringTree<Schema.Struct<{
645
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"runAgain", "POST", "/api/runs/:runId/run-again", Schema.toCodecStringTree<Schema.Struct<{
624
646
  runId: Schema.brand<Schema.NonEmptyString, "RunId">;
625
- }>>, never, Schema.toCodecJson<typeof EditAndRetry>, never, Schema.toCodecJson<Schema.Union<readonly [typeof import("@usine/engine/engine").Claimed, typeof import("@usine/engine/engine").CycleBlocked]>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"runStatistics", "GET", "/api/statistics/runs", never, Schema.toCodecStringTree<Schema.Struct<{
626
- readonly window: Schema.withDecodingDefaultKey<Schema.compose<Schema.Literals<readonly ["7d", "30d", "all"]>, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>, never>;
627
- }>>, never, never, Schema.toCodecJson<typeof RunStatisticsView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"runText", "GET", "/api/runs/:runId/text/:part", Schema.toCodecStringTree<Schema.Struct<{
647
+ }>>, never, Schema.toCodecJson<typeof EditAndRetry>, never, Schema.toCodecJson<Schema.Union<readonly [typeof import("@usine/engine/engine").Claimed, typeof import("@usine/engine/engine").CycleBlocked]>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"runText", "GET", "/api/runs/:runId/text/:part", Schema.toCodecStringTree<Schema.Struct<{
628
648
  runId: Schema.brand<Schema.NonEmptyString, "RunId">;
629
649
  part: Schema.Literals<readonly ["task", "result", "report", "event"]>;
630
650
  }>>, Schema.toCodecStringTree<Schema.Struct<{
@@ -636,44 +656,24 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
636
656
  attempt: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "AttemptId">>;
637
657
  before: Schema.optionalKey<Schema.brand<Schema.Int, "TranscriptSequence">>;
638
658
  offset: Schema.optionalKey<Schema.Int>;
639
- }>>, never, never, Schema.toCodecJson<typeof RunTranscriptPageView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"runWorkerPreflight", "POST", "/api/workers/:worker/preflight", Schema.toCodecStringTree<Schema.Struct<{
640
- worker: Schema.brand<Schema.String, "WorkerName">;
641
- }>>, never, never, never, Schema.toCodecJson<typeof WorkerPreflightView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"serverReady", "GET", "/api/ready", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
642
- readonly ok: Schema.Literal<true>;
643
- }>>, Schema.toCodecJson<Schema.Struct<{
644
- readonly error: Schema.Literal<"Starting">;
645
- readonly message: Schema.String;
646
- }>>, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"serverVersion", "GET", "/api/version", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"statistics", "GET", "/api/statistics", never, Schema.toCodecStringTree<Schema.Struct<{
659
+ }>>, never, never, Schema.toCodecJson<typeof RunTranscriptPageView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"statistics", "GET", "/api/statistics", never, Schema.toCodecStringTree<Schema.Struct<{
647
660
  readonly window: Schema.withDecodingDefaultKey<Schema.compose<Schema.Literals<readonly ["7d", "30d", "all"]>, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>, never>;
648
- }>>, never, never, Schema.toCodecJson<typeof StatisticsView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"task", "GET", "/api/projects/:owner/:repository/tasks/:item", Schema.toCodecStringTree<Schema.Struct<{
649
- owner: Schema.String;
650
- repository: Schema.String;
651
- item: Schema.compose<Schema.brand<Schema.Int, "ItemNumber">, Schema.FiniteFromString>;
652
- }>>, never, never, never, Schema.toCodecJson<typeof TaskView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"taskRuns", "GET", "/api/projects/:owner/:repository/tasks/:item/runs", Schema.toCodecStringTree<Schema.Struct<{
653
- owner: Schema.String;
654
- repository: Schema.String;
655
- item: Schema.compose<Schema.brand<Schema.Int, "ItemNumber">, Schema.FiniteFromString>;
656
- }>>, Schema.toCodecStringTree<Schema.Struct<{
657
- offset: Schema.optionalKey<Schema.Int>;
658
- }>>, never, never, Schema.toCodecJson<Schema.Struct<{
659
- readonly runs: Schema.$Array<typeof import("./run.ts").RunSummaryView>;
660
- readonly total: Schema.Int;
661
- readonly nextOffset: Schema.NullOr<Schema.Int>;
662
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"undoDismissNeed", "POST", "/api/attention/undo", never, never, Schema.toCodecJson<typeof AttentionKey>, never, Schema.toCodecJson<Schema.Struct<{
661
+ }>>, never, never, Schema.toCodecJson<typeof StatisticsView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"runStatistics", "GET", "/api/statistics/runs", never, Schema.toCodecStringTree<Schema.Struct<{
662
+ readonly window: Schema.withDecodingDefaultKey<Schema.compose<Schema.Literals<readonly ["7d", "30d", "all"]>, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>, never>;
663
+ }>>, never, never, Schema.toCodecJson<typeof RunStatisticsView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"cancelUpgrade", "DELETE", "/api/upgrade", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
663
664
  readonly ok: Schema.Literal<true>;
664
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"unpause", "POST", "/api/loops/:loop/unpause", Schema.toCodecStringTree<Schema.Struct<{
665
- loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
666
- }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
665
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"upgradeStatus", "GET", "/api/upgrade", never, never, never, never, Schema.toCodecJson<typeof UpgradeView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"requestUpgrade", "POST", "/api/upgrade", never, never, Schema.toCodecJson<typeof UpgradeRequest>, never, Schema.toCodecJson<Schema.Struct<{
667
666
  readonly ok: Schema.Literal<true>;
668
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"unpauseProjectLoop", "POST", "/api/loops/:project/:loop/unpause", Schema.toCodecStringTree<Schema.Struct<{
669
- project: Schema.brand<Schema.String, "ProjectId">;
670
- loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
671
- }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
672
- readonly ok: Schema.Literal<true>;
673
- }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"upgradeStatus", "GET", "/api/upgrade", never, never, never, never, Schema.toCodecJson<typeof UpgradeView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"workers", "GET", "/api/workers", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
667
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"serverVersion", "GET", "/api/version", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"workers", "GET", "/api/workers", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
674
668
  readonly workers: Schema.$Array<typeof import("./configuration/view.ts").WorkerConfigurationView>;
675
669
  readonly removedWorkers: Schema.$Array<typeof import("./configuration/view.ts").RemovedWorkerView>;
676
- }>>, never, OperatorHttpPolicy, never>, false>>;
670
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"discardLeftovers", "POST", "/api/workers/:worker/discard-leftovers", Schema.toCodecStringTree<Schema.Struct<{
671
+ worker: Schema.brand<Schema.String, "WorkerName">;
672
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
673
+ readonly ok: Schema.Literal<true>;
674
+ }>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"runWorkerPreflight", "POST", "/api/workers/:worker/preflight", Schema.toCodecStringTree<Schema.Struct<{
675
+ worker: Schema.brand<Schema.String, "WorkerName">;
676
+ }>>, never, never, never, Schema.toCodecJson<typeof WorkerPreflightView>, never, OperatorHttpPolicy, never>, false>>;
677
677
  /** Minimum route permissions; the conversation's scope is checked when it is read. */
678
678
  export declare const conversationPermissions: {
679
679
  readonly conversationStatus: "read";
@@ -1 +1 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/operator/http.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAU5D,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAgB1D,OAAO,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,eAAe,EACf,aAAa,EACb,KAAK,eAAe,EACpB,kBAAkB,EAClB,YAAY,GACb,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAEL,SAAS,EACT,kBAAkB,EAClB,WAAW,EACZ,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,SAAS,EACT,SAAS,EACT,kBAAkB,EAClB,WAAW,GACZ,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAGL,sBAAsB,EACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,uBAAuB,EAEvB,yBAAyB,EACzB,yBAAyB,EACzB,kBAAkB,EAEnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EACzB,kBAAkB,EAClB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3D,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SAAS;gCACb,MAAM;CAI1B,CAAC"}
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/operator/http.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAU5D,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAgB1D,OAAO,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,eAAe,EACf,aAAa,EACb,KAAK,eAAe,EACpB,kBAAkB,EAClB,YAAY,GACb,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAEL,SAAS,EACT,kBAAkB,EAClB,WAAW,EACZ,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,SAAS,EACT,SAAS,EACT,kBAAkB,EAClB,WAAW,GACZ,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAGL,sBAAsB,EACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,uBAAuB,EAEvB,yBAAyB,EACzB,yBAAyB,EACzB,kBAAkB,EAEnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EACzB,kBAAkB,EAClB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,c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+BACN,MAAM;oCACD,SAAS;gCACb,MAAM;CAI1B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usine/orchestrator",
3
- "version": "0.6.1-next.759.g9b9e147.1.1",
3
+ "version": "0.7.0",
4
4
  "description": "The embeddable usine composition: the full engine as an Effect layer, startable in-process.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -134,14 +134,14 @@
134
134
  "dependencies": {
135
135
  "@effect/platform-node": "4.1.7",
136
136
  "@effect/platform-node-shared": "4.1.7",
137
- "@usine/config": "0.6.1-next.759.g9b9e147.1.1",
138
- "@usine/agents": "0.7.1-next.759.g9b9e147.1.1",
139
- "@usine/durable": "0.3.1-next.759.g9b9e147.1.1",
140
- "@usine/engine": "0.7.1-next.759.g9b9e147.1.1",
141
- "@usine/core": "0.7.1-next.759.g9b9e147.1.1",
142
- "@usine/executor": "0.6.1-next.759.g9b9e147.1.1",
143
- "@usine/github": "0.5.1-next.759.g9b9e147.1.1",
144
- "@usine/expression": "0.6.1-next.759.g9b9e147.1.1"
137
+ "@usine/agents": "0.8.0",
138
+ "@usine/config": "0.7.0",
139
+ "@usine/durable": "0.4.0",
140
+ "@usine/core": "0.8.0",
141
+ "@usine/executor": "0.7.0",
142
+ "@usine/expression": "0.7.0",
143
+ "@usine/github": "0.6.0",
144
+ "@usine/engine": "0.8.0"
145
145
  },
146
146
  "devDependencies": {
147
147
  "@effect/sql-sqlite-node": "4.1.7",
@@ -150,7 +150,7 @@
150
150
  "typescript": "7.0.2",
151
151
  "undici": "^8.14.0",
152
152
  "vitest": "5.1.2",
153
- "@usine/gateway": "0.3.1-next.759.g9b9e147.1.1",
153
+ "@usine/gateway": "0.4.0",
154
154
  "@usine/tsconfig": "0.0.0"
155
155
  },
156
156
  "peerDependencies": {