@usine/orchestrator 0.4.1-next.325.g79174da.1.1 → 0.5.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 +4 -0
- package/dist/operator/http.d.ts +83 -83
- package/dist/operator/http.d.ts.map +1 -1
- package/dist/operator/http.js +173 -45
- package/dist/operator/http.js.map +1 -1
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -361,3 +361,7 @@ HTTP actions use the authenticated member for approvals, retries, interventions,
|
|
|
361
361
|
Polling and statistics SQLite fixtures use the shared [SQLite fixture directory helper](../../tooling/test/sqlite.mts). Local-worker tests that exercise Git hooks and executable files use the OS temporary directory.
|
|
362
362
|
|
|
363
363
|
See [Development](../../README.md#development) for temporary storage selection and worker concurrency.
|
|
364
|
+
|
|
365
|
+
## HTTP API reference
|
|
366
|
+
|
|
367
|
+
`OperatorApi` includes OpenAPI titles and descriptions alongside its route schemas. The server combines it with the sign-in contract and publicly serves the generated document at `GET /api/openapi.json`. The [operator HTTP API reference](https://docs.usine.dev/reference/operator-api/) lists paths, parameters, bodies, and responses. Regenerate `apps/docs/public/openapi.json` after changing the contract; the [docs README](../../apps/docs/README.md#operator-http-api-reference) lists the commands.
|
package/dist/operator/http.d.ts
CHANGED
|
@@ -202,9 +202,7 @@ export declare class ConfigurationRevertRefusal extends ConfigurationRevertRefus
|
|
|
202
202
|
* The operator's HTTP API contract for reads and interventions, shared by server handlers and
|
|
203
203
|
* generated clients. An action's acknowledgement only means the request was accepted.
|
|
204
204
|
*/
|
|
205
|
-
export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", 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<"
|
|
206
|
-
repository: Schema.brand<Schema.String, "RepositoryName">;
|
|
207
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.$Array<typeof RepositoryLabel>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"serverVersion", "GET", "/api/version", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"approve", "POST", "/api/runs/:runId/approve", Schema.toCodecStringTree<Schema.Struct<{
|
|
205
|
+
export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", 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<"approve", "POST", "/api/runs/:runId/approve", Schema.toCodecStringTree<Schema.Struct<{
|
|
208
206
|
runId: Schema.brand<Schema.NonEmptyString, "RunId">;
|
|
209
207
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
210
208
|
readonly ok: Schema.Literal<true>;
|
|
@@ -212,7 +210,47 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
|
|
|
212
210
|
runId: Schema.brand<Schema.NonEmptyString, "RunId">;
|
|
213
211
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
214
212
|
readonly ok: Schema.Literal<true>;
|
|
215
|
-
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
213
|
+
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"checkLoop", "POST", "/api/configuration/loops/check", never, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
|
|
214
|
+
readonly name: Schema.brand<Schema.NonEmptyString, "LoopName">;
|
|
215
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
216
|
+
readonly text: Schema.optionalKey<Schema.Never>;
|
|
217
|
+
}>, Schema.Struct<{
|
|
218
|
+
readonly name: Schema.brand<Schema.NonEmptyString, "LoopName">;
|
|
219
|
+
readonly text: Schema.String;
|
|
220
|
+
readonly value: Schema.optionalKey<Schema.Never>;
|
|
221
|
+
}>]>>, 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<typeof ConfigurationView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationCapabilities", "GET", "/api/configuration/capabilities", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
222
|
+
readonly harnesses: Schema.$Array<Schema.Literals<readonly ["claude", "codex", "pi"]>>;
|
|
223
|
+
readonly efforts: Schema.$Array<Schema.Literals<readonly ["off", "minimal", "low", "medium", "high", "xhigh", "max"]>>;
|
|
224
|
+
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationEntity", "GET", "/api/configuration/entities/:kind/:identifier", Schema.toCodecStringTree<Schema.Struct<{
|
|
225
|
+
readonly kind: Schema.String;
|
|
226
|
+
readonly identifier: Schema.brand<Schema.NonEmptyString, "ConfigurationEntityId">;
|
|
227
|
+
}>>, 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<"configurationLabels", "GET", "/api/configuration/labels/:repository", Schema.toCodecStringTree<Schema.Struct<{
|
|
228
|
+
repository: Schema.brand<Schema.String, "RepositoryName">;
|
|
229
|
+
}>>, 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<{
|
|
230
|
+
number: Schema.compose<Schema.brand<Schema.Int, "ConfigurationRevisionNumber">, Schema.FiniteFromString>;
|
|
231
|
+
}>>, 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<{
|
|
232
|
+
readonly kind: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>;
|
|
233
|
+
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>]>>>;
|
|
234
|
+
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>]>>>>;
|
|
235
|
+
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>;
|
|
236
|
+
}>>, never, never, Schema.toCodecJson<typeof ConfigurationRevisionPage>, 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<{
|
|
237
|
+
readonly kind: Schema.String;
|
|
238
|
+
readonly identifier: Schema.brand<Schema.NonEmptyString, "ConfigurationEntityId">;
|
|
239
|
+
}>>, 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<{
|
|
240
|
+
runId: Schema.brand<Schema.NonEmptyString, "RunId">;
|
|
241
|
+
}>>, Schema.toCodecStringTree<Schema.Union<readonly [Schema.decodeTo<Schema.toType<typeof ColdTranscriptRequest>, Schema.Struct<{
|
|
242
|
+
readonly after: Schema.optionalKey<Schema.Never>;
|
|
243
|
+
readonly before: Schema.optionalKey<Schema.Never>;
|
|
244
|
+
readonly attempt: Schema.optionalKey<Schema.Never>;
|
|
245
|
+
}>, never, never>, Schema.decodeTo<Schema.toType<typeof TailTranscriptRequest>, Schema.Struct<{
|
|
246
|
+
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>]>>>;
|
|
247
|
+
readonly before: Schema.optionalKey<Schema.Never>;
|
|
248
|
+
readonly attempt: Schema.optionalKey<Schema.Never>;
|
|
249
|
+
}>, never, never>, Schema.decodeTo<Schema.toType<typeof EarlierTranscriptRequest>, Schema.Struct<{
|
|
250
|
+
readonly after: Schema.optionalKey<Schema.Never>;
|
|
251
|
+
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>]>>>;
|
|
252
|
+
readonly attempt: Schema.compose<Schema.brand<Schema.NonEmptyString, "AttemptId">, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>;
|
|
253
|
+
}>, never, never>]>>, never, never, Schema.toCodecJson<typeof RunDetailView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"discardLeftovers", "POST", "/api/workers/:worker/discard-leftovers", Schema.toCodecStringTree<Schema.Struct<{
|
|
216
254
|
worker: Schema.brand<Schema.String, "WorkerName">;
|
|
217
255
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
218
256
|
readonly ok: Schema.Literal<true>;
|
|
@@ -222,7 +260,9 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
|
|
|
222
260
|
runId: Schema.brand<Schema.NonEmptyString, "RunId">;
|
|
223
261
|
}>>, never, Schema.toCodecJson<typeof EditAndRetry>, never, Schema.toCodecJson<Schema.Struct<{
|
|
224
262
|
readonly ok: Schema.Literal<true>;
|
|
225
|
-
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
263
|
+
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"githubChanges", "GET", "/api/runs/:runId/github-changes", Schema.toCodecStringTree<Schema.Struct<{
|
|
264
|
+
runId: Schema.brand<Schema.NonEmptyString, "RunId">;
|
|
265
|
+
}>>, never, never, never, Schema.toCodecJson<typeof RunGitHubChangesView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"intervene", "POST", "/api/runs/:runId/intervene", Schema.toCodecStringTree<Schema.Struct<{
|
|
226
266
|
runId: Schema.brand<Schema.NonEmptyString, "RunId">;
|
|
227
267
|
}>>, never, Schema.toCodecJson<typeof SessionIntervention>, never, Schema.toCodecJson<Schema.Struct<{
|
|
228
268
|
readonly ok: Schema.Literal<true>;
|
|
@@ -242,7 +282,7 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
|
|
|
242
282
|
readonly toLane: Schema.brand<Schema.NonEmptyString, "BoardLaneId">;
|
|
243
283
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
244
284
|
readonly ok: Schema.Literal<true>;
|
|
245
|
-
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"pause", "POST", "/api/loops/:loop/pause", Schema.toCodecStringTree<Schema.Struct<{
|
|
285
|
+
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"overview", "GET", "/api/overview", never, never, never, never, Schema.toCodecJson<Schema.Union<readonly [typeof import("./overview.ts").ReadyOverview, typeof import("./overview.ts").NeedsSetupOverview]>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"pause", "POST", "/api/loops/:loop/pause", Schema.toCodecStringTree<Schema.Struct<{
|
|
246
286
|
loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
|
|
247
287
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
248
288
|
readonly ok: Schema.Literal<true>;
|
|
@@ -251,7 +291,29 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
|
|
|
251
291
|
loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
|
|
252
292
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
253
293
|
readonly ok: Schema.Literal<true>;
|
|
254
|
-
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
294
|
+
}>>, 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<{
|
|
295
|
+
project: Schema.brand<Schema.String, "ProjectId">;
|
|
296
|
+
}>>, never, never, never, Schema.toCodecJson<typeof ProjectView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"projectTask", "GET", "/api/projects/:project/tasks/:item", Schema.toCodecStringTree<Schema.Struct<{
|
|
297
|
+
project: Schema.brand<Schema.String, "ProjectId">;
|
|
298
|
+
item: Schema.compose<Schema.brand<Schema.Int, "ItemNumber">, Schema.FiniteFromString>;
|
|
299
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
300
|
+
readonly repository: Schema.brand<Schema.String, "RepositoryName">;
|
|
301
|
+
}>>, never, never, Schema.toCodecJson<typeof TaskView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"replaceConfigurationEntity", "PUT", "/api/configuration/entities/:kind/:identifier", Schema.toCodecStringTree<Schema.Struct<{
|
|
302
|
+
readonly kind: Schema.String;
|
|
303
|
+
readonly identifier: Schema.brand<Schema.NonEmptyString, "ConfigurationEntityId">;
|
|
304
|
+
}>>, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
|
|
305
|
+
readonly expected: Schema.brand<Schema.Int, "ConfigurationRevisionNumber">;
|
|
306
|
+
readonly message: Schema.optionalKey<Schema.String>;
|
|
307
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
308
|
+
readonly text: Schema.optionalKey<Schema.Never>;
|
|
309
|
+
readonly position: Schema.optionalKey<Schema.Int>;
|
|
310
|
+
}>, Schema.Struct<{
|
|
311
|
+
readonly expected: Schema.brand<Schema.Int, "ConfigurationRevisionNumber">;
|
|
312
|
+
readonly message: Schema.optionalKey<Schema.String>;
|
|
313
|
+
readonly text: Schema.String;
|
|
314
|
+
readonly value: Schema.optionalKey<Schema.Never>;
|
|
315
|
+
readonly position: Schema.optionalKey<Schema.Int>;
|
|
316
|
+
}>]>>, 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<{
|
|
255
317
|
readonly ok: Schema.Literal<true>;
|
|
256
318
|
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"resetCycleBudget", "POST", "/api/cycle-budgets/reset", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
257
319
|
readonly askId: Schema.brand<Schema.brand<Schema.NonEmptyString, "EventId">, "CycleBudgetAskId">;
|
|
@@ -267,7 +329,19 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
|
|
|
267
329
|
runId: Schema.brand<Schema.NonEmptyString, "RunId">;
|
|
268
330
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
269
331
|
readonly ok: Schema.Literal<true>;
|
|
270
|
-
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
332
|
+
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"revertConfigurationRevision", "POST", "/api/configuration/revisions/:number/revert", Schema.toCodecStringTree<Schema.Struct<{
|
|
333
|
+
number: Schema.compose<Schema.brand<Schema.Int, "ConfigurationRevisionNumber">, Schema.FiniteFromString>;
|
|
334
|
+
}>>, 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<{
|
|
335
|
+
runId: Schema.brand<Schema.NonEmptyString, "RunId">;
|
|
336
|
+
}>>, 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<{
|
|
337
|
+
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>;
|
|
338
|
+
}>>, never, never, Schema.toCodecJson<typeof RunStatisticsView>, never, 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<{
|
|
339
|
+
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>;
|
|
340
|
+
}>>, never, never, Schema.toCodecJson<typeof StatisticsView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"task", "GET", "/api/projects/:owner/:repository/tasks/:item", Schema.toCodecStringTree<Schema.Struct<{
|
|
341
|
+
owner: Schema.String;
|
|
342
|
+
repository: Schema.String;
|
|
343
|
+
item: Schema.compose<Schema.brand<Schema.Int, "ItemNumber">, Schema.FiniteFromString>;
|
|
344
|
+
}>>, never, never, never, Schema.toCodecJson<typeof TaskView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"undoDismissNeed", "POST", "/api/attention/undo", never, never, Schema.toCodecJson<typeof AttentionKey>, never, Schema.toCodecJson<Schema.Struct<{
|
|
271
345
|
readonly ok: Schema.Literal<true>;
|
|
272
346
|
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"unpause", "POST", "/api/loops/:loop/unpause", Schema.toCodecStringTree<Schema.Struct<{
|
|
273
347
|
loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
|
|
@@ -278,79 +352,5 @@ export declare const OperatorApi: HttpApi.HttpApi<"OperatorApi", HttpApiGroup.Ht
|
|
|
278
352
|
loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
|
|
279
353
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
280
354
|
readonly ok: Schema.Literal<true>;
|
|
281
|
-
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
282
|
-
readonly harnesses: Schema.$Array<Schema.Literals<readonly ["claude", "codex", "pi"]>>;
|
|
283
|
-
readonly efforts: Schema.$Array<Schema.Literals<readonly ["off", "minimal", "low", "medium", "high", "xhigh", "max"]>>;
|
|
284
|
-
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"runAgain", "POST", "/api/runs/:runId/run-again", Schema.toCodecStringTree<Schema.Struct<{
|
|
285
|
-
runId: Schema.brand<Schema.NonEmptyString, "RunId">;
|
|
286
|
-
}>>, 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<"overview", "GET", "/api/overview", never, never, never, never, Schema.toCodecJson<Schema.Union<readonly [typeof import("./overview.ts").ReadyOverview, typeof import("./overview.ts").NeedsSetupOverview]>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"detail", "GET", "/api/runs/:runId", Schema.toCodecStringTree<Schema.Struct<{
|
|
287
|
-
runId: Schema.brand<Schema.NonEmptyString, "RunId">;
|
|
288
|
-
}>>, Schema.toCodecStringTree<Schema.Union<readonly [Schema.decodeTo<Schema.toType<typeof ColdTranscriptRequest>, Schema.Struct<{
|
|
289
|
-
readonly after: Schema.optionalKey<Schema.Never>;
|
|
290
|
-
readonly before: Schema.optionalKey<Schema.Never>;
|
|
291
|
-
readonly attempt: Schema.optionalKey<Schema.Never>;
|
|
292
|
-
}>, never, never>, Schema.decodeTo<Schema.toType<typeof TailTranscriptRequest>, Schema.Struct<{
|
|
293
|
-
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>]>>>;
|
|
294
|
-
readonly before: Schema.optionalKey<Schema.Never>;
|
|
295
|
-
readonly attempt: Schema.optionalKey<Schema.Never>;
|
|
296
|
-
}>, never, never>, Schema.decodeTo<Schema.toType<typeof EarlierTranscriptRequest>, Schema.Struct<{
|
|
297
|
-
readonly after: Schema.optionalKey<Schema.Never>;
|
|
298
|
-
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>]>>>;
|
|
299
|
-
readonly attempt: Schema.compose<Schema.brand<Schema.NonEmptyString, "AttemptId">, Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>;
|
|
300
|
-
}>, never, never>]>>, never, never, Schema.toCodecJson<typeof RunDetailView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configuration", "GET", "/api/configuration", never, never, never, never, Schema.toCodecJson<typeof ConfigurationView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"project", "GET", "/api/projects/:project", Schema.toCodecStringTree<Schema.Struct<{
|
|
301
|
-
project: Schema.brand<Schema.String, "ProjectId">;
|
|
302
|
-
}>>, never, never, never, Schema.toCodecJson<typeof ProjectView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"githubChanges", "GET", "/api/runs/:runId/github-changes", Schema.toCodecStringTree<Schema.Struct<{
|
|
303
|
-
runId: Schema.brand<Schema.NonEmptyString, "RunId">;
|
|
304
|
-
}>>, never, never, never, Schema.toCodecJson<typeof RunGitHubChangesView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"projectTask", "GET", "/api/projects/:project/tasks/:item", Schema.toCodecStringTree<Schema.Struct<{
|
|
305
|
-
project: Schema.brand<Schema.String, "ProjectId">;
|
|
306
|
-
item: Schema.compose<Schema.brand<Schema.Int, "ItemNumber">, Schema.FiniteFromString>;
|
|
307
|
-
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
308
|
-
readonly repository: Schema.brand<Schema.String, "RepositoryName">;
|
|
309
|
-
}>>, never, never, Schema.toCodecJson<typeof TaskView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"task", "GET", "/api/projects/:owner/:repository/tasks/:item", Schema.toCodecStringTree<Schema.Struct<{
|
|
310
|
-
owner: Schema.String;
|
|
311
|
-
repository: Schema.String;
|
|
312
|
-
item: Schema.compose<Schema.brand<Schema.Int, "ItemNumber">, Schema.FiniteFromString>;
|
|
313
|
-
}>>, never, never, never, Schema.toCodecJson<typeof TaskView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"desk", "GET", "/api/desk", never, never, never, never, Schema.toCodecJson<typeof DeskView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"statistics", "GET", "/api/statistics", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
314
|
-
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>;
|
|
315
|
-
}>>, never, never, Schema.toCodecJson<typeof StatisticsView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"runStatistics", "GET", "/api/statistics/runs", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
316
|
-
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>;
|
|
317
|
-
}>>, never, never, Schema.toCodecJson<typeof RunStatisticsView>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"configurationEntity", "GET", "/api/configuration/entities/:kind/:identifier", Schema.toCodecStringTree<Schema.Struct<{
|
|
318
|
-
readonly kind: Schema.String;
|
|
319
|
-
readonly identifier: Schema.brand<Schema.NonEmptyString, "ConfigurationEntityId">;
|
|
320
|
-
}>>, 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<"configurationRevisions", "GET", "/api/configuration/revisions", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
321
|
-
readonly kind: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.decodeTo<Schema.String, Schema.NonEmptyArray<Schema.String>, never, never>]>>;
|
|
322
|
-
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>]>>>;
|
|
323
|
-
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>]>>>>;
|
|
324
|
-
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>;
|
|
325
|
-
}>>, 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<{
|
|
326
|
-
number: Schema.compose<Schema.brand<Schema.Int, "ConfigurationRevisionNumber">, Schema.FiniteFromString>;
|
|
327
|
-
}>>, 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<"deleteConfigurationEntity", "DELETE", "/api/configuration/entities/:kind/:identifier", Schema.toCodecStringTree<Schema.Struct<{
|
|
328
|
-
readonly kind: Schema.String;
|
|
329
|
-
readonly identifier: Schema.brand<Schema.NonEmptyString, "ConfigurationEntityId">;
|
|
330
|
-
}>>, 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<"replaceConfigurationEntity", "PUT", "/api/configuration/entities/:kind/:identifier", Schema.toCodecStringTree<Schema.Struct<{
|
|
331
|
-
readonly kind: Schema.String;
|
|
332
|
-
readonly identifier: Schema.brand<Schema.NonEmptyString, "ConfigurationEntityId">;
|
|
333
|
-
}>>, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
|
|
334
|
-
readonly expected: Schema.brand<Schema.Int, "ConfigurationRevisionNumber">;
|
|
335
|
-
readonly message: Schema.optionalKey<Schema.String>;
|
|
336
|
-
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
337
|
-
readonly text: Schema.optionalKey<Schema.Never>;
|
|
338
|
-
readonly position: Schema.optionalKey<Schema.Int>;
|
|
339
|
-
}>, Schema.Struct<{
|
|
340
|
-
readonly expected: Schema.brand<Schema.Int, "ConfigurationRevisionNumber">;
|
|
341
|
-
readonly message: Schema.optionalKey<Schema.String>;
|
|
342
|
-
readonly text: Schema.String;
|
|
343
|
-
readonly value: Schema.optionalKey<Schema.Never>;
|
|
344
|
-
readonly position: Schema.optionalKey<Schema.Int>;
|
|
345
|
-
}>]>>, 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<{
|
|
346
|
-
number: Schema.compose<Schema.brand<Schema.Int, "ConfigurationRevisionNumber">, Schema.FiniteFromString>;
|
|
347
|
-
}>>, 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<"checkLoop", "POST", "/api/configuration/loops/check", never, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
|
|
348
|
-
readonly name: Schema.brand<Schema.NonEmptyString, "LoopName">;
|
|
349
|
-
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
350
|
-
readonly text: Schema.optionalKey<Schema.Never>;
|
|
351
|
-
}>, Schema.Struct<{
|
|
352
|
-
readonly name: Schema.brand<Schema.NonEmptyString, "LoopName">;
|
|
353
|
-
readonly text: Schema.String;
|
|
354
|
-
readonly value: Schema.optionalKey<Schema.Never>;
|
|
355
|
-
}>]>>, 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<"upgradeStatus", "GET", "/api/upgrade", never, never, never, never, Schema.toCodecJson<typeof UpgradeView>, never, OperatorHttpPolicy, never>, false>>;
|
|
355
|
+
}>>, never, OperatorHttpPolicy, never> | HttpApiEndpoint.HttpApiEndpoint<"upgradeStatus", "GET", "/api/upgrade", never, never, never, never, Schema.toCodecJson<typeof UpgradeView>, never, OperatorHttpPolicy, never>, false>>;
|
|
356
356
|
//# sourceMappingURL=http.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/operator/http.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,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,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAGL,sBAAsB,EACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,uBAAuB,EAEvB,yBAAyB,EACzB,yBAAyB,EACzB,kBAAkB,EAGnB,MAAM,0BAA0B,CAAC;AAClC,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;AAbtF,2FAA2F;AAC3F,qBAAa,sBAAuB,SAAQ,2BAgB3C;CAAG;;IAOA,+DAA+D;;IAE/D,mDAAmD;;IAEnD,yEAAyE;;IAEzE,wDAAwD;;;AAX5D,wFAAwF;AACxF,qBAAa,oBAAqB,SAAQ,yBAczC;CAAG;AAEJ,qDAAqD;AACrD,MAAM,MAAM,aAAa,GAAG,sBAAsB,GAAG,sBAAsB,GAAG,oBAAoB,CAAC;AAEnG,0FAA0F;AAC1F,eAAO,MAAM,aAAa,UAAW,mBAAmB,WAAW,MAAM,KAAG,aA+BxE,CAAC;;IAOD,+DAA+D;;IAE/D,mDAAmD;;IAEnD,+FAA+F;;IAE/F,yEAAyE;;;AAX7E,iFAAiF;AACjF,qBAAa,oBAAqB,SAAQ,yBAczC;CAAG;;IAOA,+DAA+D;;IAE/D,mDAAmD;;IAEnD,6EAA6E;;;;;;;;;AATjF,oFAAoF;AACpF,qBAAa,2BAA4B,SAAQ,gCAiBhD;CAAG;;IAOA,+DAA+D;;IAE/D,mDAAmD;;IAEnD,qEAAqE;;;AATzE,gGAAgG;AAChG,qBAAa,0BAA2B,SAAQ,+BAY/C;CAAG;AA+FJ;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+NAwcvB,CAAC"}
|
package/dist/operator/http.js
CHANGED
|
@@ -24,7 +24,7 @@ import { RunAgainResult } from "@usine/engine/engine";
|
|
|
24
24
|
import { TranscriptSequence } from "@usine/engine/transcript";
|
|
25
25
|
import { ExecutorOperation, WorkerCapability } from "@usine/executor";
|
|
26
26
|
import { Effect, Match, Record, Schema, SchemaTransformation } from "effect";
|
|
27
|
-
import { HttpApi, HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware } from "effect/http-api";
|
|
27
|
+
import { HttpApi, HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware, OpenApi, } from "effect/http-api";
|
|
28
28
|
import { RestartBlock } from "../current-instance/changes.js";
|
|
29
29
|
import { BoardLaneId } from "./board.js";
|
|
30
30
|
import { ColdTranscriptRequest, EarlierTranscriptRequest, TailTranscriptRequest, } from "./transcript.js";
|
|
@@ -75,9 +75,11 @@ const errorStatuses = {
|
|
|
75
75
|
*/
|
|
76
76
|
export class OperatorHttpError extends Schema.Error("@usine/orchestrator/OperatorHttpError")({
|
|
77
77
|
/** The domain failure tag used to select the HTTP status. */
|
|
78
|
-
error: Schema.Literals(Record.keys(errorStatuses))
|
|
78
|
+
error: Schema.Literals(Record.keys(errorStatuses)).annotate({
|
|
79
|
+
description: "Domain failure tag that selects the HTTP status.",
|
|
80
|
+
}),
|
|
79
81
|
/** The diagnostic text to show to the operator. */
|
|
80
|
-
message: Schema.String,
|
|
82
|
+
message: Schema.String.annotate({ description: "Diagnostic text safe to show to the operator." }),
|
|
81
83
|
}) {
|
|
82
84
|
/** The HTTP status for this error. */
|
|
83
85
|
get status() {
|
|
@@ -266,85 +268,168 @@ const transcriptQuery = Schema.Union([
|
|
|
266
268
|
}))),
|
|
267
269
|
]);
|
|
268
270
|
const repositoryPart = Schema.String.check(Schema.isPattern(/^[A-Za-z0-9_.-]+$/u, { message: "Expected a repository path segment" }));
|
|
269
|
-
const acknowledged = Schema.Struct({ ok: Schema.Literal(true) })
|
|
271
|
+
const acknowledged = Schema.Struct({ ok: Schema.Literal(true) }).annotate({
|
|
272
|
+
title: "Acknowledgement",
|
|
273
|
+
description: "The request was accepted. An asynchronous action may still be running.",
|
|
274
|
+
});
|
|
270
275
|
const runParams = { runId: RunId };
|
|
271
276
|
const loopParams = { loop: LoopName };
|
|
272
277
|
const statisticsQuery = Schema.Struct({
|
|
273
278
|
window: queryValue.pipe(Schema.decodeTo(StatisticsWindow), Schema.withDecodingDefaultKey(Effect.succeed("30d"))),
|
|
274
279
|
});
|
|
280
|
+
const operatorApi = HttpApi.make("OperatorApi")
|
|
281
|
+
.annotate(OpenApi.Title, "usine operator API")
|
|
282
|
+
.annotate(OpenApi.Version, "unversioned")
|
|
283
|
+
.annotate(OpenApi.Description, "Read instance state, manage configuration, and operate runs. Requests use instance bearer tokens or browser sessions. API paths remain under /api.");
|
|
275
284
|
/**
|
|
276
285
|
* The operator's HTTP API contract for reads and interventions, shared by server handlers and
|
|
277
286
|
* generated clients. An action's acknowledgement only means the request was accepted.
|
|
278
287
|
*/
|
|
279
|
-
export const OperatorApi =
|
|
280
|
-
.
|
|
288
|
+
export const OperatorApi = operatorApi.add(HttpApiGroup.make("operator")
|
|
289
|
+
.annotate(OpenApi.Title, "Operator")
|
|
290
|
+
.annotate(OpenApi.Description, "Instance reads, configuration revisions, and run actions.")
|
|
291
|
+
.add(HttpApiEndpoint.get("upgradeStatus", "/api/upgrade", { success: UpgradeView })
|
|
292
|
+
.annotate(OpenApi.Summary, "Read upgrade status")
|
|
293
|
+
.annotate(OpenApi.Description, "Returns the running release, available release, and upgrade progress."), HttpApiEndpoint.get("serverVersion", "/api/version", { success: Schema.String })
|
|
294
|
+
.annotate(OpenApi.Summary, "Read the running release")
|
|
295
|
+
.annotate(OpenApi.Description, "Public health check that returns the running release string."), HttpApiEndpoint.post("requestUpgrade", "/api/upgrade", {
|
|
281
296
|
payload: UpgradeRequest,
|
|
282
297
|
success: acknowledged,
|
|
283
|
-
})
|
|
298
|
+
})
|
|
299
|
+
.annotate(OpenApi.Summary, "Request an upgrade")
|
|
300
|
+
.annotate(OpenApi.Description, "Accepts an upgrade when idle or an immediate restart. Poll upgrade status for the outcome."), HttpApiEndpoint.get("overview", "/api/overview", { success: FactoryOverview })
|
|
301
|
+
.annotate(OpenApi.Summary, "Read the instance overview")
|
|
302
|
+
.annotate(OpenApi.Description, "Returns project boards, loops, workers, and instance readiness."), HttpApiEndpoint.post("dismissNeed", "/api/attention/dismiss", {
|
|
284
303
|
payload: AttentionKey,
|
|
285
304
|
success: acknowledged,
|
|
286
|
-
})
|
|
305
|
+
})
|
|
306
|
+
.annotate(OpenApi.Summary, "Dismiss an attention item")
|
|
307
|
+
.annotate(OpenApi.Description, "Acknowledges the current attention item until its state changes."), HttpApiEndpoint.post("undoDismissNeed", "/api/attention/undo", {
|
|
287
308
|
payload: AttentionKey,
|
|
288
309
|
success: acknowledged,
|
|
289
|
-
})
|
|
310
|
+
})
|
|
311
|
+
.annotate(OpenApi.Summary, "Undo an attention dismissal")
|
|
312
|
+
.annotate(OpenApi.Description, "Removes the acknowledgement for the supplied attention item."), HttpApiEndpoint.get("agents", "/api/agents", { success: Schema.Array(AgentName) })
|
|
313
|
+
.annotate(OpenApi.Summary, "List agents")
|
|
314
|
+
.annotate(OpenApi.Description, "Returns the names of saved agent definitions available for runs."), HttpApiEndpoint.post("editAndRetry", "/api/runs/:runId/edit-and-retry", {
|
|
290
315
|
params: runParams,
|
|
291
316
|
payload: EditAndRetry,
|
|
292
317
|
success: acknowledged,
|
|
293
|
-
})
|
|
318
|
+
})
|
|
319
|
+
.annotate(OpenApi.Summary, "Edit and retry a run")
|
|
320
|
+
.annotate(OpenApi.Description, "Retries a failed run with the supplied task or agent changes."), HttpApiEndpoint.post("runAgain", "/api/runs/:runId/run-again", {
|
|
294
321
|
params: runParams,
|
|
295
322
|
payload: EditAndRetry,
|
|
296
323
|
success: RunAgainResult,
|
|
297
|
-
})
|
|
324
|
+
})
|
|
325
|
+
.annotate(OpenApi.Summary, "Run an item again")
|
|
326
|
+
.annotate(OpenApi.Description, "Opens a new run for a succeeded or canceled run and returns the admission result."), HttpApiEndpoint.post("intervene", "/api/runs/:runId/intervene", {
|
|
298
327
|
params: runParams,
|
|
299
328
|
payload: SessionIntervention,
|
|
300
329
|
success: acknowledged,
|
|
301
|
-
})
|
|
330
|
+
})
|
|
331
|
+
.annotate(OpenApi.Summary, "Send an operator message")
|
|
332
|
+
.annotate(OpenApi.Description, "Sends a message to the selected session of a running attempt."), HttpApiEndpoint.post("resetCycleBudget", "/api/cycle-budgets/reset", {
|
|
302
333
|
payload: Schema.Struct({ askId: CycleBudgetAskId }),
|
|
303
334
|
success: acknowledged,
|
|
304
|
-
})
|
|
335
|
+
})
|
|
336
|
+
.annotate(OpenApi.Summary, "Reset an item cycle budget")
|
|
337
|
+
.annotate(OpenApi.Description, "Answers an open cycle budget ask and allows the item to run again."), HttpApiEndpoint.get("detail", "/api/runs/:runId", {
|
|
305
338
|
params: runParams,
|
|
306
339
|
query: transcriptQuery,
|
|
307
340
|
success: RunDetailView,
|
|
308
|
-
})
|
|
341
|
+
})
|
|
342
|
+
.annotate(OpenApi.Summary, "Read a run and its transcript")
|
|
343
|
+
.annotate(OpenApi.Description, "Without cursors, returns the latest transcript page. Use after for updates, or before and attempt together for earlier messages.")
|
|
344
|
+
.annotate(OpenApi.Transform, (operation) => ({
|
|
345
|
+
...operation,
|
|
346
|
+
// Effect 4.0.6 omits parameters for union query schemas.
|
|
347
|
+
parameters: [
|
|
348
|
+
...operation.parameters,
|
|
349
|
+
...[
|
|
350
|
+
{
|
|
351
|
+
name: "after",
|
|
352
|
+
schema: TranscriptSequence,
|
|
353
|
+
description: "Return messages after this sequence. Cannot be combined with before or attempt.",
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
name: "before",
|
|
357
|
+
schema: TranscriptSequence,
|
|
358
|
+
description: "Return messages before this sequence. Requires attempt; cannot be combined with after.",
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
name: "attempt",
|
|
362
|
+
schema: AttemptId,
|
|
363
|
+
description: "Attempt to read earlier messages from. Requires before; cannot be combined with after.",
|
|
364
|
+
},
|
|
365
|
+
].map(({ name, schema, description }) => ({
|
|
366
|
+
name,
|
|
367
|
+
in: "query",
|
|
368
|
+
required: false,
|
|
369
|
+
description,
|
|
370
|
+
schema: Schema.toJsonSchemaDocument(schema).schema,
|
|
371
|
+
})),
|
|
372
|
+
],
|
|
373
|
+
})), HttpApiEndpoint.get("githubChanges", "/api/runs/:runId/github-changes", {
|
|
309
374
|
params: runParams,
|
|
310
375
|
success: RunGitHubChangesView,
|
|
311
|
-
})
|
|
376
|
+
})
|
|
377
|
+
.annotate(OpenApi.Summary, "Read GitHub changes for a run")
|
|
378
|
+
.annotate(OpenApi.Description, "Returns GitHub writes grouped by attempt window."), HttpApiEndpoint.post("approve", "/api/runs/:runId/approve", {
|
|
312
379
|
params: runParams,
|
|
313
380
|
success: acknowledged,
|
|
314
|
-
})
|
|
381
|
+
})
|
|
382
|
+
.annotate(OpenApi.Summary, "Approve a waiting run")
|
|
383
|
+
.annotate(OpenApi.Description, "Records the signed-in member approval for a run waiting at a gate."), HttpApiEndpoint.post("resolveFailure", "/api/runs/:runId/resolve-failure", {
|
|
315
384
|
params: runParams,
|
|
316
385
|
payload: Schema.Struct({ attemptId: AttemptId }),
|
|
317
386
|
success: acknowledged,
|
|
318
|
-
})
|
|
387
|
+
})
|
|
388
|
+
.annotate(OpenApi.Summary, "Resolve a run failure")
|
|
389
|
+
.annotate(OpenApi.Description, "Acknowledges the supplied failed attempt only while it remains the current failure."), HttpApiEndpoint.post("retry", "/api/runs/:runId/retry", {
|
|
319
390
|
params: runParams,
|
|
320
391
|
success: acknowledged,
|
|
321
|
-
})
|
|
392
|
+
})
|
|
393
|
+
.annotate(OpenApi.Summary, "Retry a failed run")
|
|
394
|
+
.annotate(OpenApi.Description, "Starts another attempt of a failed run with its saved definitions."), HttpApiEndpoint.post("cancel", "/api/runs/:runId/cancel", {
|
|
322
395
|
params: runParams,
|
|
323
396
|
success: acknowledged,
|
|
324
|
-
})
|
|
397
|
+
})
|
|
398
|
+
.annotate(OpenApi.Summary, "Cancel a run")
|
|
399
|
+
.annotate(OpenApi.Description, "Cancels an open run and requests that any active attempt stop."), HttpApiEndpoint.get("project", "/api/projects/:project", {
|
|
325
400
|
params: { project: ProjectId },
|
|
326
401
|
success: ProjectView,
|
|
327
|
-
})
|
|
402
|
+
})
|
|
403
|
+
.annotate(OpenApi.Summary, "Read a project board")
|
|
404
|
+
.annotate(OpenApi.Description, "Returns the project and its board across member repositories."), HttpApiEndpoint.get("projectTask", "/api/projects/:project/tasks/:item", {
|
|
328
405
|
params: {
|
|
329
406
|
project: ProjectId,
|
|
330
407
|
item: Schema.FiniteFromString.pipe(Schema.decodeTo(ItemNumber)),
|
|
331
408
|
},
|
|
332
409
|
query: Schema.Struct({ repository: RepositoryName }),
|
|
333
410
|
success: TaskView,
|
|
334
|
-
})
|
|
411
|
+
})
|
|
412
|
+
.annotate(OpenApi.Summary, "Read a project task")
|
|
413
|
+
.annotate(OpenApi.Description, "Returns linked issues, pull requests, and runs for an item in a project repository."), HttpApiEndpoint.post("moveProjectItem", "/api/projects/:project/items/:item/lane", {
|
|
335
414
|
params: {
|
|
336
415
|
project: ProjectId,
|
|
337
416
|
item: Schema.FiniteFromString.pipe(Schema.decodeTo(ItemNumber)),
|
|
338
417
|
},
|
|
339
418
|
payload: Schema.Struct({ repository: RepositoryName, toLane: BoardLaneId }),
|
|
340
419
|
success: acknowledged,
|
|
341
|
-
})
|
|
420
|
+
})
|
|
421
|
+
.annotate(OpenApi.Summary, "Move a project item")
|
|
422
|
+
.annotate(OpenApi.Description, "Changes the GitHub labels of the task current item to match the destination lane."), HttpApiEndpoint.post("pauseProjectLoop", "/api/loops/:project/:loop/pause", {
|
|
342
423
|
params: { project: ProjectId, loop: LoopName },
|
|
343
424
|
success: acknowledged,
|
|
344
|
-
})
|
|
425
|
+
})
|
|
426
|
+
.annotate(OpenApi.Summary, "Pause a project loop")
|
|
427
|
+
.annotate(OpenApi.Description, "Stops the loop from opening new runs without canceling existing runs."), HttpApiEndpoint.post("unpauseProjectLoop", "/api/loops/:project/:loop/unpause", {
|
|
345
428
|
params: { project: ProjectId, loop: LoopName },
|
|
346
429
|
success: acknowledged,
|
|
347
|
-
})
|
|
430
|
+
})
|
|
431
|
+
.annotate(OpenApi.Summary, "Resume a project loop")
|
|
432
|
+
.annotate(OpenApi.Description, "Allows the loop to open runs for matching items."), HttpApiEndpoint.post("moveBoardItem", "/api/projects/:owner/:repository/items/:item/lane", {
|
|
348
433
|
params: {
|
|
349
434
|
owner: repositoryPart,
|
|
350
435
|
repository: repositoryPart,
|
|
@@ -352,16 +437,24 @@ export const OperatorApi = HttpApi.make("OperatorApi").add(HttpApiGroup.make("op
|
|
|
352
437
|
},
|
|
353
438
|
payload: Schema.Struct({ toLane: BoardLaneId }),
|
|
354
439
|
success: acknowledged,
|
|
355
|
-
})
|
|
440
|
+
})
|
|
441
|
+
.annotate(OpenApi.Summary, "Move a repository item")
|
|
442
|
+
.annotate(OpenApi.Description, "Moves the item using the lanes of the project that contains its repository."), HttpApiEndpoint.post("discardLeftovers", "/api/workers/:worker/discard-leftovers", {
|
|
356
443
|
params: { worker: WorkerName },
|
|
357
444
|
success: acknowledged,
|
|
358
|
-
})
|
|
445
|
+
})
|
|
446
|
+
.annotate(OpenApi.Summary, "Discard worker leftovers")
|
|
447
|
+
.annotate(OpenApi.Description, "Discards a removed worker only after its running attempts have ended."), HttpApiEndpoint.post("pause", "/api/loops/:loop/pause", {
|
|
359
448
|
params: loopParams,
|
|
360
449
|
success: acknowledged,
|
|
361
|
-
})
|
|
450
|
+
})
|
|
451
|
+
.annotate(OpenApi.Summary, "Pause a loop")
|
|
452
|
+
.annotate(OpenApi.Description, "Accepts a qualified project/loop name, or a short name while it is unique. Encode slashes in the path segment."), HttpApiEndpoint.post("unpause", "/api/loops/:loop/unpause", {
|
|
362
453
|
params: loopParams,
|
|
363
454
|
success: acknowledged,
|
|
364
|
-
})
|
|
455
|
+
})
|
|
456
|
+
.annotate(OpenApi.Summary, "Resume a loop")
|
|
457
|
+
.annotate(OpenApi.Description, "Accepts a qualified project/loop name, or a short name while it is unique. Encode slashes in the path segment."))
|
|
365
458
|
.add(HttpApiEndpoint.get("task", "/api/projects/:owner/:repository/tasks/:item", {
|
|
366
459
|
params: {
|
|
367
460
|
owner: repositoryPart,
|
|
@@ -369,23 +462,38 @@ export const OperatorApi = HttpApi.make("OperatorApi").add(HttpApiGroup.make("op
|
|
|
369
462
|
item: Schema.FiniteFromString.pipe(Schema.decodeTo(ItemNumber)),
|
|
370
463
|
},
|
|
371
464
|
success: TaskView,
|
|
372
|
-
})
|
|
465
|
+
})
|
|
466
|
+
.annotate(OpenApi.Summary, "Read a repository task")
|
|
467
|
+
.annotate(OpenApi.Description, "Returns linked items and runs for the repository item."))
|
|
373
468
|
.add(HttpApiEndpoint.post("checkLoop", "/api/configuration/loops/check", {
|
|
374
469
|
payload: LoopDraft,
|
|
375
470
|
success: LoopCheck,
|
|
376
471
|
error: configurationWriteErrors,
|
|
377
|
-
})
|
|
472
|
+
})
|
|
473
|
+
.annotate(OpenApi.Summary, "Check a loop definition")
|
|
474
|
+
.annotate(OpenApi.Description, "Checks the proposed loop, CEL expressions, and prompt without saving a revision."), HttpApiEndpoint.post("previewLoop", "/api/configuration/loops/preview", {
|
|
378
475
|
payload: LoopPreviewRequest,
|
|
379
476
|
success: LoopPreview,
|
|
380
477
|
error: configurationWriteErrors,
|
|
381
|
-
})
|
|
382
|
-
|
|
383
|
-
|
|
478
|
+
})
|
|
479
|
+
.annotate(OpenApi.Summary, "Preview a loop")
|
|
480
|
+
.annotate(OpenApi.Description, "Evaluates the proposed loop against stored GitHub items without making GitHub requests or saving a revision."), HttpApiEndpoint.get("configurationCapabilities", "/api/configuration/capabilities", {
|
|
481
|
+
success: Schema.Struct({
|
|
482
|
+
harnesses: Schema.Array(Harness),
|
|
483
|
+
efforts: Schema.Array(Effort),
|
|
484
|
+
}),
|
|
485
|
+
})
|
|
486
|
+
.annotate(OpenApi.Summary, "List configuration capabilities")
|
|
487
|
+
.annotate(OpenApi.Description, "Returns supported harnesses and reasoning efforts."), HttpApiEndpoint.get("configurationRepositories", "/api/configuration/repositories", {
|
|
384
488
|
success: Schema.Array(RepositoryName),
|
|
385
|
-
})
|
|
489
|
+
})
|
|
490
|
+
.annotate(OpenApi.Summary, "List installation repositories")
|
|
491
|
+
.annotate(OpenApi.Description, "Returns repositories available to the instance GitHub App installation."), HttpApiEndpoint.get("configurationLabels", "/api/configuration/labels/:repository", {
|
|
386
492
|
params: { repository: RepositoryName },
|
|
387
493
|
success: Schema.Array(RepositoryLabel),
|
|
388
|
-
})
|
|
494
|
+
})
|
|
495
|
+
.annotate(OpenApi.Summary, "List repository labels")
|
|
496
|
+
.annotate(OpenApi.Description, "Reads live GitHub labels. Encode the repository slash in the path segment."), HttpApiEndpoint.get("configurationRevisions", "/api/configuration/revisions", {
|
|
389
497
|
query: Schema.Struct({
|
|
390
498
|
kind: Schema.optionalKey(queryValue),
|
|
391
499
|
identifier: Schema.optionalKey(queryValue.pipe(Schema.decodeTo(ConfigurationEntityId))),
|
|
@@ -394,39 +502,59 @@ export const OperatorApi = HttpApi.make("OperatorApi").add(HttpApiGroup.make("op
|
|
|
394
502
|
}),
|
|
395
503
|
success: ConfigurationRevisionPage,
|
|
396
504
|
error: configurationWriteErrors,
|
|
397
|
-
})
|
|
505
|
+
})
|
|
506
|
+
.annotate(OpenApi.Summary, "List configuration revisions")
|
|
507
|
+
.annotate(OpenApi.Description, "Returns a page of revisions, newest first. Pass nextBefore as before for the next page; the default limit is 50."), HttpApiEndpoint.get("configurationRevision", "/api/configuration/revisions/:number", {
|
|
398
508
|
params: revisionParams,
|
|
399
509
|
success: ConfigurationRevisionView,
|
|
400
510
|
error: configurationWriteErrors,
|
|
401
|
-
})
|
|
511
|
+
})
|
|
512
|
+
.annotate(OpenApi.Summary, "Read a configuration revision")
|
|
513
|
+
.annotate(OpenApi.Description, "Returns each changed entity with its values before and after the revision."), HttpApiEndpoint.get("configurationEntity", "/api/configuration/entities/:kind/:identifier", {
|
|
402
514
|
params: entityParams,
|
|
403
515
|
success: ConfigurationEntityView,
|
|
404
516
|
error: configurationWriteErrors,
|
|
405
|
-
})
|
|
517
|
+
})
|
|
518
|
+
.annotate(OpenApi.Summary, "Read a configuration entity")
|
|
519
|
+
.annotate(OpenApi.Description, "Returns the current JSON value, export-format text, and revision number."), HttpApiEndpoint.put("replaceConfigurationEntity", "/api/configuration/entities/:kind/:identifier", {
|
|
406
520
|
params: entityParams,
|
|
407
521
|
payload: ConfigurationReplacement,
|
|
408
522
|
success: ConfigurationRevisionView,
|
|
409
523
|
error: configurationWriteErrors,
|
|
410
|
-
})
|
|
524
|
+
})
|
|
525
|
+
.annotate(OpenApi.Summary, "Replace a configuration entity")
|
|
526
|
+
.annotate(OpenApi.Description, "Creates or replaces an entity from value or text. The expected revision rejects stale writes."), HttpApiEndpoint.delete("deleteConfigurationEntity", "/api/configuration/entities/:kind/:identifier", {
|
|
411
527
|
params: entityParams,
|
|
412
528
|
payload: ConfigurationWrite,
|
|
413
529
|
success: ConfigurationRevisionView,
|
|
414
530
|
error: configurationWriteErrors,
|
|
415
|
-
})
|
|
531
|
+
})
|
|
532
|
+
.annotate(OpenApi.Summary, "Delete a configuration entity")
|
|
533
|
+
.annotate(OpenApi.Description, "Deletes the entity if the expected revision is current."), HttpApiEndpoint.post("revertConfigurationRevision", "/api/configuration/revisions/:number/revert", {
|
|
416
534
|
params: revisionParams,
|
|
417
535
|
payload: ConfigurationWrite,
|
|
418
536
|
success: ConfigurationRevisionView,
|
|
419
537
|
error: configurationWriteErrors,
|
|
420
|
-
})
|
|
421
|
-
.
|
|
422
|
-
.
|
|
538
|
+
})
|
|
539
|
+
.annotate(OpenApi.Summary, "Revert a configuration revision")
|
|
540
|
+
.annotate(OpenApi.Description, "Creates a revision restoring earlier values unless later edits conflict."))
|
|
541
|
+
.add(HttpApiEndpoint.get("configuration", "/api/configuration", { success: ConfigurationView })
|
|
542
|
+
.annotate(OpenApi.Summary, "Read instance configuration")
|
|
543
|
+
.annotate(OpenApi.Description, "Returns stored configuration for the configuration editor."))
|
|
544
|
+
.add(HttpApiEndpoint.get("desk", "/api/desk", { success: DeskView })
|
|
545
|
+
.annotate(OpenApi.Summary, "Read overview attention and activity")
|
|
546
|
+
.annotate(OpenApi.Description, "Returns attention items, active attempts, recent runs, and worker slots."))
|
|
423
547
|
.add(HttpApiEndpoint.get("statistics", "/api/statistics", {
|
|
424
548
|
query: statisticsQuery,
|
|
425
549
|
success: StatisticsView,
|
|
426
|
-
})
|
|
550
|
+
})
|
|
551
|
+
.annotate(OpenApi.Summary, "Read task statistics")
|
|
552
|
+
.annotate(OpenApi.Description, "Aggregates task outcomes and worker utilization for the requested window, defaulting to 30d."), HttpApiEndpoint.get("runStatistics", "/api/statistics/runs", {
|
|
427
553
|
query: statisticsQuery,
|
|
428
554
|
success: RunStatisticsView,
|
|
429
|
-
})
|
|
555
|
+
})
|
|
556
|
+
.annotate(OpenApi.Summary, "Read run statistics")
|
|
557
|
+
.annotate(OpenApi.Description, "Aggregates runs, attempts, retries, and durations for the requested window, defaulting to 30d."))
|
|
430
558
|
.annotate(HttpApi.PayloadParseOptions, { onExcessProperty: "error" })
|
|
431
559
|
.middleware(OperatorHttpPolicy));
|
|
432
560
|
//# sourceMappingURL=http.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.js","sourceRoot":"","sources":["../../src/operator/http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EACL,SAAS,EACT,SAAS,EACT,kBAAkB,EAClB,WAAW,GACZ,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,SAAS,EACT,SAAS,EACT,kBAAkB,EAClB,WAAW,GACZ,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,6BAA6B,C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CACjG,CACJ;KACA,QAAQ,CAAC,OAAO,CAAC,mBAAmB,EAAE,EAAE,gBAAgB,EAAE,OAAO,EAAE,CAAC;KACpE,UAAU,CAAC,kBAAkB,CAAC,CAClC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usine/orchestrator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.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": {
|
|
@@ -94,22 +94,22 @@
|
|
|
94
94
|
"dependencies": {
|
|
95
95
|
"@effect/platform-node": "4.0.6",
|
|
96
96
|
"@effect/platform-node-shared": "4.0.6",
|
|
97
|
-
"@usine/agents": "0.
|
|
98
|
-
"@usine/
|
|
99
|
-
"@usine/
|
|
100
|
-
"@usine/
|
|
101
|
-
"@usine/
|
|
102
|
-
"@usine/
|
|
103
|
-
"@usine/
|
|
104
|
-
"@usine/
|
|
97
|
+
"@usine/agents": "0.6.0",
|
|
98
|
+
"@usine/durable": "0.2.1",
|
|
99
|
+
"@usine/config": "0.5.0",
|
|
100
|
+
"@usine/engine": "0.6.0",
|
|
101
|
+
"@usine/core": "0.6.0",
|
|
102
|
+
"@usine/executor": "0.5.0",
|
|
103
|
+
"@usine/expression": "0.5.0",
|
|
104
|
+
"@usine/github": "0.4.0"
|
|
105
105
|
},
|
|
106
106
|
"devDependencies": {
|
|
107
107
|
"@effect/vitest": "4.0.6",
|
|
108
108
|
"effect": "4.0.6",
|
|
109
109
|
"typescript": "7.0.2",
|
|
110
110
|
"vitest": "5.0.5",
|
|
111
|
-
"@usine/
|
|
112
|
-
"@usine/
|
|
111
|
+
"@usine/gateway": "0.2.1",
|
|
112
|
+
"@usine/tsconfig": "0.0.0"
|
|
113
113
|
},
|
|
114
114
|
"peerDependencies": {
|
|
115
115
|
"effect": "4.0.6"
|