@usine/orchestrator 0.2.1 → 0.3.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 +151 -52
- package/dist/board/items.d.ts +9 -1
- package/dist/board/items.d.ts.map +1 -1
- package/dist/board/items.js +16 -4
- package/dist/board/items.js.map +1 -1
- package/dist/board/projection.d.ts +7 -1
- package/dist/board/projection.d.ts.map +1 -1
- package/dist/board/projection.js +53 -14
- package/dist/board/projection.js.map +1 -1
- package/dist/board/tasks.d.ts +14 -2
- package/dist/board/tasks.d.ts.map +1 -1
- package/dist/board/tasks.js +23 -8
- package/dist/board/tasks.js.map +1 -1
- package/dist/credentials.d.ts +5 -6
- package/dist/credentials.d.ts.map +1 -1
- package/dist/credentials.js +22 -15
- package/dist/credentials.js.map +1 -1
- package/dist/current-instance/changes.d.ts +87 -0
- package/dist/current-instance/changes.d.ts.map +1 -0
- package/dist/current-instance/changes.js +138 -0
- package/dist/current-instance/changes.js.map +1 -0
- package/dist/current-instance/current-instance.d.ts +89 -0
- package/dist/current-instance/current-instance.d.ts.map +1 -0
- package/dist/current-instance/current-instance.js +163 -0
- package/dist/current-instance/current-instance.js.map +1 -0
- package/dist/exe-dev.d.ts +6 -2
- package/dist/exe-dev.d.ts.map +1 -1
- package/dist/exe-dev.js +7 -8
- package/dist/exe-dev.js.map +1 -1
- package/dist/idle-triggers.d.ts +1 -1
- package/dist/idle-triggers.d.ts.map +1 -1
- package/dist/idle-triggers.js +1 -1
- package/dist/idle-triggers.js.map +1 -1
- package/dist/label-reconciler.d.ts +5 -2
- package/dist/label-reconciler.d.ts.map +1 -1
- package/dist/label-reconciler.js.map +1 -1
- package/dist/local.d.ts +4 -18
- package/dist/local.d.ts.map +1 -1
- package/dist/local.js +7 -45
- package/dist/local.js.map +1 -1
- package/dist/loop-matches.d.ts +28 -0
- package/dist/loop-matches.d.ts.map +1 -0
- package/dist/loop-matches.js +74 -0
- package/dist/loop-matches.js.map +1 -0
- package/dist/operator/attempt.d.ts +57 -10
- package/dist/operator/attempt.d.ts.map +1 -1
- package/dist/operator/attempt.js +49 -10
- package/dist/operator/attempt.js.map +1 -1
- package/dist/operator/board.d.ts +43 -16
- package/dist/operator/board.d.ts.map +1 -1
- package/dist/operator/board.js +43 -16
- package/dist/operator/board.js.map +1 -1
- package/dist/operator/configuration.d.ts +258 -0
- package/dist/operator/configuration.d.ts.map +1 -0
- package/dist/operator/configuration.js +410 -0
- package/dist/operator/configuration.js.map +1 -0
- package/dist/operator/desk.d.ts +181 -0
- package/dist/operator/desk.d.ts.map +1 -0
- package/dist/operator/desk.js +463 -0
- package/dist/operator/desk.js.map +1 -0
- package/dist/operator/github-changes.d.ts +88 -0
- package/dist/operator/github-changes.d.ts.map +1 -0
- package/dist/operator/github-changes.js +266 -0
- package/dist/operator/github-changes.js.map +1 -0
- package/dist/operator/http.d.ts +152 -57
- package/dist/operator/http.d.ts.map +1 -1
- package/dist/operator/http.js +140 -21
- package/dist/operator/http.js.map +1 -1
- package/dist/operator/need.d.ts +44 -11
- package/dist/operator/need.d.ts.map +1 -1
- package/dist/operator/need.js +46 -9
- package/dist/operator/need.js.map +1 -1
- package/dist/operator/operator.d.ts +109 -29
- package/dist/operator/operator.d.ts.map +1 -1
- package/dist/operator/operator.js +254 -52
- package/dist/operator/operator.js.map +1 -1
- package/dist/operator/overview.d.ts +7 -7
- package/dist/operator/overview.d.ts.map +1 -1
- package/dist/operator/overview.js +5 -5
- package/dist/operator/overview.js.map +1 -1
- package/dist/operator/projection.d.ts +54 -5
- package/dist/operator/projection.d.ts.map +1 -1
- package/dist/operator/projection.js +100 -9
- package/dist/operator/projection.js.map +1 -1
- package/dist/operator/run.d.ts +71 -6
- package/dist/operator/run.d.ts.map +1 -1
- package/dist/operator/run.js +69 -6
- package/dist/operator/run.js.map +1 -1
- package/dist/operator/task.d.ts +93 -0
- package/dist/operator/task.d.ts.map +1 -0
- package/dist/operator/task.js +204 -0
- package/dist/operator/task.js.map +1 -0
- package/dist/operator/transcript.d.ts +12 -12
- package/dist/operator/transcript.d.ts.map +1 -1
- package/dist/operator/transcript.js +11 -9
- package/dist/operator/transcript.js.map +1 -1
- package/dist/operator/usage.d.ts +111 -0
- package/dist/operator/usage.d.ts.map +1 -0
- package/dist/operator/usage.js +219 -0
- package/dist/operator/usage.js.map +1 -0
- package/dist/orchestrator.d.ts +8 -5
- package/dist/orchestrator.d.ts.map +1 -1
- package/dist/orchestrator.js +4 -2
- package/dist/orchestrator.js.map +1 -1
- package/dist/polling/cycle.d.ts +28 -10
- package/dist/polling/cycle.d.ts.map +1 -1
- package/dist/polling/cycle.js +20 -6
- package/dist/polling/cycle.js.map +1 -1
- package/dist/polling/evaluation-failures.d.ts +42 -0
- package/dist/polling/evaluation-failures.d.ts.map +1 -0
- package/dist/polling/evaluation-failures.js +103 -0
- package/dist/polling/evaluation-failures.js.map +1 -0
- package/dist/polling/hints.d.ts +2 -2
- package/dist/polling/hints.d.ts.map +1 -1
- package/dist/polling/hints.js +2 -2
- package/dist/polling/hints.js.map +1 -1
- package/dist/polling/loop-evaluation.d.ts +21 -11
- package/dist/polling/loop-evaluation.d.ts.map +1 -1
- package/dist/polling/loop-evaluation.js +70 -27
- package/dist/polling/loop-evaluation.js.map +1 -1
- package/dist/polling/open-issues.d.ts +23 -0
- package/dist/polling/open-issues.d.ts.map +1 -0
- package/dist/polling/open-issues.js +77 -0
- package/dist/polling/open-issues.js.map +1 -0
- package/dist/polling/polling.d.ts +20 -11
- package/dist/polling/polling.d.ts.map +1 -1
- package/dist/polling/polling.js +201 -51
- package/dist/polling/polling.js.map +1 -1
- package/dist/polling/repository-sync.d.ts +20 -14
- package/dist/polling/repository-sync.d.ts.map +1 -1
- package/dist/polling/repository-sync.js +34 -27
- package/dist/polling/repository-sync.js.map +1 -1
- package/dist/polling-triggers.d.ts +1 -1
- package/dist/polling-triggers.d.ts.map +1 -1
- package/dist/polling-triggers.js +1 -1
- package/dist/polling-triggers.js.map +1 -1
- package/dist/reloads.d.ts +14 -0
- package/dist/reloads.d.ts.map +1 -0
- package/dist/reloads.js +7 -0
- package/dist/reloads.js.map +1 -0
- package/dist/runtime.d.ts +24 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +58 -0
- package/dist/runtime.js.map +1 -0
- package/dist/schedule-triggers.d.ts +14 -10
- package/dist/schedule-triggers.d.ts.map +1 -1
- package/dist/schedule-triggers.js +36 -31
- package/dist/schedule-triggers.js.map +1 -1
- package/dist/scheduler.d.ts +35 -4
- package/dist/scheduler.d.ts.map +1 -1
- package/dist/scheduler.js +327 -41
- package/dist/scheduler.js.map +1 -1
- package/dist/ssh.d.ts +39 -0
- package/dist/ssh.d.ts.map +1 -0
- package/dist/ssh.js +75 -0
- package/dist/ssh.js.map +1 -0
- package/dist/trigger-condition.d.ts +12 -0
- package/dist/trigger-condition.d.ts.map +1 -0
- package/dist/trigger-condition.js +88 -0
- package/dist/trigger-condition.js.map +1 -0
- package/dist/trigger-submission.d.ts +16 -13
- package/dist/trigger-submission.d.ts.map +1 -1
- package/dist/trigger-submission.js +19 -14
- package/dist/trigger-submission.js.map +1 -1
- package/dist/worker-engine.d.ts +10 -0
- package/dist/worker-engine.d.ts.map +1 -0
- package/dist/worker-engine.js +25 -0
- package/dist/worker-engine.js.map +1 -0
- package/dist/worker-status.d.ts +70 -0
- package/dist/worker-status.d.ts.map +1 -0
- package/dist/worker-status.js +55 -0
- package/dist/worker-status.js.map +1 -0
- package/package.json +31 -10
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import { AttemptId } from "@usine/core/attempt";
|
|
1
2
|
import type { LoadedInstance } from "@usine/config/instance";
|
|
2
3
|
import { CycleBudgetAskId } from "@usine/core/cycle-budget";
|
|
4
|
+
import { BoardMoves } from "@usine/engine/board-moves";
|
|
3
5
|
import { CycleBudgets, type CycleBudgetResetRejectedError } from "@usine/engine/cycle-budget";
|
|
4
6
|
import { LoopName } from "@usine/core/loop";
|
|
5
7
|
import { RunId } from "@usine/core/run";
|
|
6
|
-
import
|
|
8
|
+
import type { WorkerName } from "@usine/core/worker";
|
|
9
|
+
import type { ItemNumber } from "@usine/core/item";
|
|
10
|
+
import type { RepositoryName } from "@usine/core/repository";
|
|
11
|
+
import { type RunAgainResult, RunEngine, type EnginePersistenceError, type LeftoversDiscardRejectedError, type RunEngineError, type RunStoreError } from "@usine/engine/engine";
|
|
7
12
|
import { ItemProjectionReader } from "@usine/engine/item-projection";
|
|
8
13
|
import { LoopControl, type LoopRuntimeState } from "@usine/engine/loop-control";
|
|
9
14
|
import { RunReader } from "@usine/engine/run-reader";
|
|
@@ -16,53 +21,128 @@ import { ScheduleTriggers } from "../schedule-triggers.ts";
|
|
|
16
21
|
import { type BoardItemNotFoundError, type BoardLaneNotFoundError, type BoardLaneReadOnlyError, type BoardMove, type BoardProjectNotFoundError } from "./board.ts";
|
|
17
22
|
import { type TranscriptAttemptNotFoundError, type TranscriptRequest } from "./transcript.ts";
|
|
18
23
|
import { ReadyOverview } from "./overview.ts";
|
|
19
|
-
import { RunDetailView, EditAndRetry, SessionIntervention, RosterAgentNotFoundError } from "./run.ts";
|
|
20
|
-
|
|
21
|
-
|
|
24
|
+
import { RunDetailView, EditAndRetry, LoopNotFoundError, SessionIntervention, RosterAgentNotFoundError } from "./run.ts";
|
|
25
|
+
import { type RunGitHubChangesError, type RunGitHubChangesView } from "./github-changes.ts";
|
|
26
|
+
import { type TaskReadError, type TaskView } from "./task.ts";
|
|
27
|
+
import { type DeskView } from "./desk.ts";
|
|
28
|
+
export type BoardMoveError = BoardItemNotFoundError | BoardLaneNotFoundError | BoardLaneReadOnlyError | BoardProjectNotFoundError | EnginePersistenceError | RunStoreError | GitHubAppError;
|
|
29
|
+
export type OperatorError = LoopNotFoundError | RosterAgentNotFoundError | RunEngineError | LeftoversDiscardRejectedError | TranscriptAttemptNotFoundError | BoardMoveError | CycleBudgetResetRejectedError | RunGitHubChangesError;
|
|
22
30
|
export type OperatorObservationError = RunStoreError | TranscriptAttemptNotFoundError;
|
|
23
31
|
declare const OperatorObservation_base: Context.ServiceClass<OperatorObservation, "@usine/orchestrator/OperatorObservation", {
|
|
24
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Builds the instance's Projects, Boards, Runs, and items needing operator attention. The
|
|
34
|
+
* result is cached until the projection revision or instance changes, except for running
|
|
35
|
+
* Attempts' token usage.
|
|
36
|
+
*/
|
|
25
37
|
readonly overview: (instance: LoadedInstance) => Effect.Effect<ReadyOverview, OperatorObservationError>;
|
|
26
|
-
/**
|
|
27
|
-
|
|
38
|
+
/**
|
|
39
|
+
* Reads one Run and a bounded transcript page, where `request` selects the latest, newer, or
|
|
40
|
+
* earlier activity.
|
|
41
|
+
*/
|
|
42
|
+
readonly detail: (instance: LoadedInstance, runId: RunId, request?: TranscriptRequest) => Effect.Effect<RunDetailView, OperatorObservationError>;
|
|
43
|
+
/**
|
|
44
|
+
* Reads the Task that contains Item `item` of `repository`, with its Items, saved Runs, and
|
|
45
|
+
* harvested comments. Fails if the Item isn't among the Board's newest Items.
|
|
46
|
+
*/
|
|
47
|
+
readonly task: (instance: LoadedInstance, repository: RepositoryName, item: ItemNumber) => Effect.Effect<TaskView, TaskReadError>;
|
|
48
|
+
/**
|
|
49
|
+
* Builds the instance's desk: running Attempts, matched Items with no running Attempt, recently
|
|
50
|
+
* closed Runs, Worker slots and preflights, and poll times.
|
|
51
|
+
*/
|
|
52
|
+
readonly desk: (instance: LoadedInstance) => Effect.Effect<DeskView, OperatorObservationError>;
|
|
28
53
|
}>;
|
|
29
|
-
/** The read-only operator surface
|
|
54
|
+
/** The read-only operator surface, which needs no trigger execution. */
|
|
30
55
|
export declare class OperatorObservation extends OperatorObservation_base {
|
|
31
|
-
static readonly layer: Layer.Layer<OperatorObservation, never, CycleBudgets | ItemProjectionReader | LoopControl | PollingTriggers | RepositoryLabelProjectionReader | RunReader | ScheduleTriggers>;
|
|
56
|
+
static readonly layer: Layer.Layer<OperatorObservation, never, CycleBudgets | import("@usine/expression/expression-engine").ExpressionEngine | ItemProjectionReader | LoopControl | PollingTriggers | RepositoryLabelProjectionReader | RunReader | ScheduleTriggers | import("../worker-status.ts").WorkerStatus>;
|
|
32
57
|
}
|
|
33
58
|
declare const Operator_base: Context.ServiceClass<Operator, "@usine/orchestrator/Operator", {
|
|
34
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* Builds the instance's Projects, Boards, Runs, and items needing operator attention. The
|
|
61
|
+
* result is cached until the projection revision or instance changes, except for running
|
|
62
|
+
* Attempts' token usage.
|
|
63
|
+
*/
|
|
35
64
|
readonly overview: (instance: LoadedInstance) => Effect.Effect<ReadyOverview, OperatorObservationError>;
|
|
36
|
-
/**
|
|
37
|
-
|
|
65
|
+
/**
|
|
66
|
+
* Reads one Run and a bounded transcript page, where `request` selects the latest, newer, or
|
|
67
|
+
* earlier activity.
|
|
68
|
+
*/
|
|
69
|
+
readonly detail: (instance: LoadedInstance, runId: RunId, request?: TranscriptRequest) => Effect.Effect<RunDetailView, OperatorObservationError>;
|
|
70
|
+
/**
|
|
71
|
+
* Reads the Task that contains Item `item` of `repository`, with its Items, saved Runs, and
|
|
72
|
+
* harvested comments. Fails if the Item isn't among the Board's newest Items.
|
|
73
|
+
*/
|
|
74
|
+
readonly task: (instance: LoadedInstance, repository: RepositoryName, item: ItemNumber) => Effect.Effect<TaskView, TaskReadError>;
|
|
75
|
+
/**
|
|
76
|
+
* Builds the instance's desk: running Attempts, matched Items with no running Attempt, recently
|
|
77
|
+
* closed Runs, Worker slots and preflights, and poll times.
|
|
78
|
+
*/
|
|
79
|
+
readonly desk: (instance: LoadedInstance) => Effect.Effect<DeskView, OperatorObservationError>;
|
|
38
80
|
} & {
|
|
39
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* Answers the Item's current cycle-budget Ask. Polling refreshes its state before more Runs
|
|
83
|
+
* open.
|
|
84
|
+
*/
|
|
40
85
|
readonly resetCycleBudget: (askId: CycleBudgetAskId) => Effect.Effect<void, OperatorError>;
|
|
41
|
-
/**
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
86
|
+
/**
|
|
87
|
+
* Records the operator's approval of a waiting Run, attributed to the operator login in
|
|
88
|
+
* `usine.yaml` if one is set. Execution still waits for Worker capacity.
|
|
89
|
+
*/
|
|
90
|
+
readonly approve: (instance: LoadedInstance, runId: RunId) => Effect.Effect<void, OperatorError>;
|
|
91
|
+
/** Resolves attention for the displayed failed Attempt. Rejects stale requests. */
|
|
92
|
+
readonly resolveFailure: (runId: RunId, attemptId: AttemptId) => Effect.Effect<void, OperatorError>;
|
|
93
|
+
/** Requests a new Attempt for a failed Run with its effective task and Agent. */
|
|
94
|
+
readonly retry: (instance: LoadedInstance, runId: RunId) => Effect.Effect<void, OperatorError>;
|
|
95
|
+
/** Amends a failed Run and requests its next Attempt atomically. */
|
|
46
96
|
readonly editAndRetry: (instance: LoadedInstance, runId: RunId, edit: EditAndRetry) => Effect.Effect<void, OperatorError>;
|
|
47
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* Opens a new Run for the Item state of a succeeded or canceled Run, with the edited task and
|
|
99
|
+
* Agent and the Loop file's current settings. Returns the new Run, or the cycle-budget Ask that
|
|
100
|
+
* the Item opened instead.
|
|
101
|
+
*/
|
|
102
|
+
readonly runAgain: (instance: LoadedInstance, runId: RunId, edit: EditAndRetry) => Effect.Effect<RunAgainResult, OperatorError>;
|
|
103
|
+
/** Sends an attributed action through a live session's Attempt channel. */
|
|
48
104
|
readonly intervene: (instance: LoadedInstance, runId: RunId, input: SessionIntervention) => Effect.Effect<void, OperatorError>;
|
|
49
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Cancels an open Run and interrupts its current Attempt. Does nothing if the Run is already
|
|
107
|
+
* closed.
|
|
108
|
+
*/
|
|
50
109
|
readonly cancel: (runId: RunId) => Effect.Effect<void, OperatorError>;
|
|
51
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* Answers an `UnconfiguredWorkerNeed` so startup stops reconciling the Attempts recorded on
|
|
112
|
+
* `worker`. Fails with `LeftoversDiscardRejectedError` if `usine.yaml` declares the Worker or
|
|
113
|
+
* it still runs Attempts.
|
|
114
|
+
*/
|
|
115
|
+
readonly discardLeftovers: (worker: WorkerName) => Effect.Effect<void, OperatorError>;
|
|
116
|
+
/**
|
|
117
|
+
* Records the move, swaps lane labels on GitHub, and hints a refresh of the Item's Board
|
|
118
|
+
* position and Loop matches. If the move can't be recorded, nothing is sent to GitHub.
|
|
119
|
+
*/
|
|
52
120
|
readonly moveBoardItem: (instance: LoadedInstance, move: BoardMove) => Effect.Effect<void, BoardMoveError>;
|
|
53
|
-
/**
|
|
121
|
+
/**
|
|
122
|
+
* Reads the changes on the Run's GitHub Item during each Attempt from the Item's timeline: the
|
|
123
|
+
* Agent's label, comment, and review changes, and the operator's Board moves.
|
|
124
|
+
*/
|
|
125
|
+
readonly githubChanges: (runId: RunId) => Effect.Effect<RunGitHubChangesView, RunGitHubChangesError>;
|
|
126
|
+
/** Pauses new work for a Loop; its existing Runs continue. */
|
|
54
127
|
readonly pause: (loop: LoopName) => Effect.Effect<LoopRuntimeState, EnginePersistenceError>;
|
|
55
|
-
/**
|
|
128
|
+
/** Lets the Loop's triggers open new Runs again. */
|
|
56
129
|
readonly unpause: (loop: LoopName) => Effect.Effect<LoopRuntimeState, EnginePersistenceError>;
|
|
57
130
|
}>;
|
|
58
|
-
/**
|
|
131
|
+
/**
|
|
132
|
+
* The operator's factory view and actions for approving, retrying, canceling, and directing work.
|
|
133
|
+
*/
|
|
59
134
|
export declare class Operator extends Operator_base {
|
|
60
|
-
static readonly layer: Layer.Layer<Operator, never, CycleBudgets | GitHubItemWriter | ItemProjectionReader | LoopControl | PollingTriggers | RepositoryLabelProjectionReader | RunEngine | RunReader | ScheduleTriggers>;
|
|
135
|
+
static readonly layer: Layer.Layer<Operator, never, BoardMoves | CycleBudgets | import("@usine/expression/expression-engine").ExpressionEngine | import("@usine/github/item-history").GitHubItemHistory | GitHubItemWriter | ItemProjectionReader | LoopControl | PollingTriggers | RepositoryLabelProjectionReader | RunEngine | RunReader | ScheduleTriggers | import("../worker-status.ts").WorkerStatus>;
|
|
61
136
|
}
|
|
62
137
|
export { ProjectStatus, ProjectView, LoopView, ReadyOverview, NeedsSetupOverview, FactoryOverview, } from "./overview.ts";
|
|
63
|
-
export {
|
|
64
|
-
export {
|
|
65
|
-
export {
|
|
66
|
-
export {
|
|
138
|
+
export { LabelAddedView, LabelRemovedView, CommentedView, ReviewedView, BoardMovedView, GitHubChangeView, AttemptGitHubChangesView, RunGitHubChangesView, } from "./github-changes.ts";
|
|
139
|
+
export { ApprovalView, RunStateTag, RunView, RunDurationView, RunDetailView, EditAndRetry, LoopNotFoundError, SessionIntervention, RosterAgentNotFoundError, } from "./run.ts";
|
|
140
|
+
export { UsageCostView, SessionUsageView, PoolUsageView, RunUsageView, TaskPoolUsageView, TaskUsageView, } from "./usage.ts";
|
|
141
|
+
export { InfraFailureView, DefectFailureView, AgentFailureView, BlockedFailureView, QuestionFailureView, RunawayFailureView, ChildSessionBudgetFailureView, FailureView, SucceededAttemptView, FailedAttemptView, CanceledAttemptView, AttemptOutcomeView, LocalWorkerAccess, SshWorkerAccess, WorkerAccess, AttemptView, } from "./attempt.ts";
|
|
142
|
+
export { BoardLaneId, BoardLaneOrigin, BoardItemLink, BoardPullRequestView, BoardTaskView, WritableBoardLaneView, ReadOnlyBoardLaneView, BoardLaneView, BoardProjectionError, BoardView, LabelView, BoardMove, BoardProjectNotFoundError, BoardItemNotFoundError, BoardLaneNotFoundError, BoardLaneReadOnlyError, } from "./board.ts";
|
|
143
|
+
export { TaskItemView, TaskLaneView, TaskCommentView, TaskView, type TaskReadError, } from "./task.ts";
|
|
144
|
+
export { ApprovalNeed, CycleBudgetNeed, RunFailureNeed, PollFailureNeed, PreflightFindingNeed, BoardProjectionNeed, ScheduleFailureNeed, ConfigFileNeed, UnconfiguredWorkerNeed, NeedView, } from "./need.ts";
|
|
145
|
+
export { LoopSelectorView, LoopFileView, QuarantinedLoopView, AgentFileView, InvalidAgentView, GatewayView, WorkerSlotsView, PassedCheckView, FailedCheckView, PreflightCheckView, HarnessPreflightView, WorkerConfigurationView, RemovedWorkerView, LabelStateView, LabelLaneSourceView, StateLaneSourceView, LaneSourceView, LaneConfigurationView, RepositoryConfigurationView, SettingsView, ConfigurationView, OperatorConfiguration, } from "./configuration.ts";
|
|
146
|
+
export { WorkerSilentView, ProviderRetryingView, ConnectivityWarningView, RunningAttemptView, SuppressedForOperatorView, ClosedUnchangedView, RunFailedView, LoopPausedView, CycleBudgetUsedUpView, AwaitingApprovalView, QueuedForWorkerView, AwaitingPollView, StallReasonView, StalledItemView, ClosedRunView, WorkerView, RepositoryPollView, DeskView, } from "./desk.ts";
|
|
67
147
|
export { FailedTranscriptView, TranscriptPayload, TranscriptEventView, TranscriptPageCursor, ColdTranscriptRequest, TailTranscriptRequest, EarlierTranscriptRequest, TranscriptRequest, TranscriptAttemptNotFoundError, } from "./transcript.ts";
|
|
68
148
|
//# sourceMappingURL=operator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operator.d.ts","sourceRoot":"","sources":["../../src/operator/operator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"operator.d.ts","sourceRoot":"","sources":["../../src/operator/operator.ts"],"names":[],"mappings":"AAIA,OAAO,EAAkB,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAmB,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,KAAK,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAC9F,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,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