@usine/engine 0.1.0 → 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 +39 -12
- package/dist/cursor/{store.d.ts → cursor.d.ts} +9 -7
- package/dist/cursor/cursor.d.ts.map +1 -0
- package/dist/cursor/{store.js → cursor.js} +8 -7
- package/dist/cursor/cursor.js.map +1 -0
- package/dist/cycle-budget/cycle-budget.d.ts +25 -0
- package/dist/cycle-budget/cycle-budget.d.ts.map +1 -0
- package/dist/cycle-budget/cycle-budget.js +117 -0
- package/dist/cycle-budget/cycle-budget.js.map +1 -0
- package/dist/cycle-budget/model.d.ts +26 -0
- package/dist/cycle-budget/model.d.ts.map +1 -0
- package/dist/cycle-budget/model.js +20 -0
- package/dist/cycle-budget/model.js.map +1 -0
- package/dist/cycle-budget/queries.d.ts +27 -0
- package/dist/cycle-budget/queries.d.ts.map +1 -0
- package/dist/cycle-budget/queries.js +175 -0
- package/dist/cycle-budget/queries.js.map +1 -0
- package/dist/database/database.d.ts +1 -1
- package/dist/database/database.d.ts.map +1 -1
- package/dist/database/local-sqlite.d.ts +32 -12
- package/dist/database/local-sqlite.d.ts.map +1 -1
- package/dist/database/local-sqlite.js +121 -16
- package/dist/database/local-sqlite.js.map +1 -1
- package/dist/database/schema.d.ts +302 -9
- package/dist/database/schema.d.ts.map +1 -1
- package/dist/database/schema.js +69 -12
- package/dist/database/schema.js.map +1 -1
- package/dist/engine/engine.d.ts +59 -0
- package/dist/engine/engine.d.ts.map +1 -0
- package/dist/{engine.js → engine/engine.js} +80 -32
- package/dist/engine/engine.js.map +1 -0
- package/dist/engine/error.d.ts +45 -0
- package/dist/engine/error.d.ts.map +1 -0
- package/dist/engine/error.js +49 -0
- package/dist/engine/error.js.map +1 -0
- package/dist/engine/lifecycle.d.ts +112 -0
- package/dist/engine/lifecycle.d.ts.map +1 -0
- package/dist/engine/lifecycle.js +132 -0
- package/dist/engine/lifecycle.js.map +1 -0
- package/dist/engine/shutdown.d.ts +12 -0
- package/dist/engine/shutdown.d.ts.map +1 -0
- package/dist/engine/shutdown.js +10 -0
- package/dist/engine/shutdown.js.map +1 -0
- package/dist/engine/submission.d.ts +58 -0
- package/dist/engine/submission.d.ts.map +1 -0
- package/dist/engine/submission.js +54 -0
- package/dist/engine/submission.js.map +1 -0
- package/dist/item-projection/{service.d.ts → item-projection.d.ts} +6 -6
- package/dist/item-projection/item-projection.d.ts.map +1 -0
- package/dist/item-projection/{service.js → item-projection.js} +7 -5
- package/dist/item-projection/item-projection.js.map +1 -0
- package/dist/item-projection/model.d.ts +2 -5
- package/dist/item-projection/model.d.ts.map +1 -1
- package/dist/item-projection/model.js +5 -5
- package/dist/item-projection/model.js.map +1 -1
- package/dist/loop-control/loop-control.d.ts +21 -0
- package/dist/loop-control/loop-control.d.ts.map +1 -0
- package/dist/{loop-control.js → loop-control/loop-control.js} +7 -5
- package/dist/loop-control/loop-control.js.map +1 -0
- package/dist/loop-control/model.d.ts +10 -0
- package/dist/loop-control/model.d.ts.map +1 -0
- package/dist/loop-control/model.js +9 -0
- package/dist/loop-control/model.js.map +1 -0
- package/dist/repository-label-projection/model.d.ts +12 -3
- package/dist/repository-label-projection/model.d.ts.map +1 -1
- package/dist/repository-label-projection/model.js +14 -5
- package/dist/repository-label-projection/model.js.map +1 -1
- package/dist/repository-label-projection/{service.d.ts → repository-label-projection.d.ts} +5 -5
- package/dist/repository-label-projection/repository-label-projection.d.ts.map +1 -0
- package/dist/repository-label-projection/{service.js → repository-label-projection.js} +17 -7
- package/dist/repository-label-projection/repository-label-projection.js.map +1 -0
- package/dist/run-reader/model.d.ts +46 -0
- package/dist/run-reader/model.d.ts.map +1 -0
- package/dist/run-reader/model.js +44 -0
- package/dist/run-reader/model.js.map +1 -0
- package/dist/run-reader/run-reader.d.ts +29 -0
- package/dist/run-reader/run-reader.d.ts.map +1 -0
- package/dist/run-reader/run-reader.js +44 -0
- package/dist/run-reader/run-reader.js.map +1 -0
- package/dist/step-executor.d.ts +36 -12
- package/dist/step-executor.d.ts.map +1 -1
- package/dist/step-executor.js +22 -5
- package/dist/step-executor.js.map +1 -1
- package/dist/store/codec.d.ts +278 -40
- package/dist/store/codec.d.ts.map +1 -1
- package/dist/store/codec.js +72 -44
- package/dist/store/codec.js.map +1 -1
- package/dist/store/queries.d.ts +49 -16
- package/dist/store/queries.d.ts.map +1 -1
- package/dist/store/queries.js +104 -91
- package/dist/store/queries.js.map +1 -1
- package/dist/store/store.d.ts +44 -26
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +199 -128
- package/dist/store/store.js.map +1 -1
- package/dist/store/transcript.d.ts +9 -0
- package/dist/store/transcript.d.ts.map +1 -0
- package/dist/store/transcript.js +71 -0
- package/dist/store/transcript.js.map +1 -0
- package/dist/transcript.d.ts +86 -0
- package/dist/transcript.d.ts.map +1 -0
- package/dist/transcript.js +77 -0
- package/dist/transcript.js.map +1 -0
- package/dist/workflow/admission.d.ts +13 -0
- package/dist/workflow/admission.d.ts.map +1 -0
- package/dist/workflow/admission.js +55 -0
- package/dist/workflow/admission.js.map +1 -0
- package/dist/workflow/command.d.ts +13 -0
- package/dist/workflow/command.d.ts.map +1 -0
- package/dist/workflow/command.js +17 -0
- package/dist/workflow/command.js.map +1 -0
- package/dist/workflow/workflow.d.ts +18 -0
- package/dist/workflow/workflow.d.ts.map +1 -0
- package/dist/workflow/workflow.js +108 -0
- package/dist/workflow/workflow.js.map +1 -0
- package/drizzle/20260903091940_queued_approved_runs/migration.sql +3 -0
- package/drizzle/20260903091940_queued_approved_runs/snapshot.json +1147 -0
- package/drizzle/20260905150403_item_cycle_budgets/migration.sql +58 -0
- package/drizzle/20260905150403_item_cycle_budgets/snapshot.json +1417 -0
- package/drizzle/20260905174009_item_run_history/migration.sql +1 -0
- package/drizzle/20260905174009_item_run_history/snapshot.json +1431 -0
- package/drizzle/20260912111855_operator_intervention/migration.sql +42 -0
- package/drizzle/20260912111855_operator_intervention/snapshot.json +1461 -0
- package/package.json +41 -5
- package/dist/cursor/model.d.ts +0 -5
- package/dist/cursor/model.d.ts.map +0 -1
- package/dist/cursor/model.js +0 -4
- package/dist/cursor/model.js.map +0 -1
- package/dist/cursor/store.d.ts.map +0 -1
- package/dist/cursor/store.js.map +0 -1
- package/dist/engine.d.ts +0 -39
- package/dist/engine.d.ts.map +0 -1
- package/dist/engine.js.map +0 -1
- package/dist/index.d.ts +0 -20
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -20
- package/dist/index.js.map +0 -1
- package/dist/item-projection/service.d.ts.map +0 -1
- package/dist/item-projection/service.js.map +0 -1
- package/dist/loop-control.d.ts +0 -16
- package/dist/loop-control.d.ts.map +0 -1
- package/dist/loop-control.js.map +0 -1
- package/dist/model.d.ts +0 -185
- package/dist/model.d.ts.map +0 -1
- package/dist/model.js +0 -174
- package/dist/model.js.map +0 -1
- package/dist/repository-label-projection/service.d.ts.map +0 -1
- package/dist/repository-label-projection/service.js.map +0 -1
- package/dist/run-reader.d.ts +0 -20
- package/dist/run-reader.d.ts.map +0 -1
- package/dist/run-reader.js +0 -19
- package/dist/run-reader.js.map +0 -1
- package/dist/workflow.d.ts +0 -14
- package/dist/workflow.d.ts.map +0 -1
- package/dist/workflow.js +0 -105
- package/dist/workflow.js.map +0 -1
package/dist/store/codec.d.ts
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
import { Agent
|
|
1
|
+
import { Agent } from "@usine/core/agent";
|
|
2
|
+
import { BrainSpec } from "@usine/core/agent/brain";
|
|
3
|
+
import { Attempt } from "@usine/core/attempt";
|
|
4
|
+
import * as AttemptChannel from "@usine/core/attempt/channel";
|
|
5
|
+
import { Event } from "@usine/core/event";
|
|
6
|
+
import { Run } from "@usine/core/run";
|
|
7
|
+
import { Step } from "@usine/core/step";
|
|
8
|
+
import * as RunState from "@usine/core/run/state";
|
|
9
|
+
import { StepResult } from "@usine/core/step/result";
|
|
2
10
|
import { Effect, Schema } from "effect";
|
|
3
|
-
import { RunStoreError
|
|
11
|
+
import { RunStoreError } from "../engine/error.ts";
|
|
12
|
+
import { Submission } from "../engine/submission.ts";
|
|
13
|
+
import { RunSummary } from "../run-reader/model.ts";
|
|
14
|
+
import { TranscriptEntry } from "../transcript.ts";
|
|
4
15
|
export declare const EventRouteRow: Schema.Struct<{
|
|
5
16
|
readonly eventId: Schema.brand<Schema.NonEmptyString, "EventId">;
|
|
6
17
|
readonly dedupKey: Schema.brand<Schema.NonEmptyString, "DedupKey">;
|
|
@@ -10,27 +21,29 @@ export declare const EventRouteRow: Schema.Struct<{
|
|
|
10
21
|
readonly loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
|
|
11
22
|
readonly step: Schema.brand<Schema.NonEmptyString, "StepName">;
|
|
12
23
|
readonly approval: Schema.Literals<readonly ["none", "required"]>;
|
|
13
|
-
readonly
|
|
24
|
+
readonly cycleLimit: Schema.NullOr<Schema.brand<Schema.Int, "CycleLimit">>;
|
|
25
|
+
readonly cycleGeneration: Schema.brand<Schema.Int, "CycleGeneration">;
|
|
26
|
+
readonly repository: Schema.brand<Schema.String, "RepositoryName">;
|
|
14
27
|
readonly revision: Schema.brand<Schema.String, "RepositoryRevision">;
|
|
15
28
|
readonly task: Schema.brand<Schema.String, "AttemptTask">;
|
|
16
|
-
readonly agent: typeof Agent
|
|
29
|
+
readonly agent: typeof Agent;
|
|
17
30
|
readonly parentModel: Schema.NullOr<Schema.brand<Schema.String, "ModelId">>;
|
|
18
31
|
}>;
|
|
19
32
|
export type EventRouteRow = typeof EventRouteRow.Type;
|
|
20
33
|
export declare const RunRow: Schema.Struct<{
|
|
21
34
|
readonly itemKey: Schema.brand<Schema.NonEmptyString, "ItemKey">;
|
|
22
|
-
readonly repository: Schema.brand<Schema.String, "
|
|
35
|
+
readonly repository: Schema.brand<Schema.String, "RepositoryName">;
|
|
23
36
|
readonly revision: Schema.brand<Schema.String, "RepositoryRevision">;
|
|
24
37
|
readonly task: Schema.brand<Schema.String, "AttemptTask">;
|
|
25
|
-
readonly agent: typeof Agent
|
|
38
|
+
readonly agent: typeof Agent;
|
|
26
39
|
readonly parentModel: Schema.NullOr<Schema.brand<Schema.String, "ModelId">>;
|
|
27
40
|
readonly runId: Schema.brand<Schema.NonEmptyString, "RunId">;
|
|
28
41
|
readonly eventId: Schema.brand<Schema.NonEmptyString, "EventId">;
|
|
29
42
|
readonly loop: Schema.brand<Schema.NonEmptyString, "LoopName">;
|
|
30
|
-
readonly state: Schema.Union<readonly [typeof RunState.Pending, typeof RunState.Waiting, typeof RunState.Running, typeof RunState.Succeeded, typeof RunState.Failed, typeof RunState.Canceled]>;
|
|
43
|
+
readonly state: Schema.Union<readonly [typeof RunState.Pending, typeof RunState.Waiting, typeof RunState.Queued, typeof RunState.Running, typeof RunState.Succeeded, typeof RunState.Failed, typeof RunState.Canceled]>;
|
|
31
44
|
readonly openedAt: Schema.DateTimeUtcFromString;
|
|
32
45
|
readonly stepName: Schema.brand<Schema.NonEmptyString, "StepName">;
|
|
33
|
-
readonly result: Schema.NullOr<typeof StepResult
|
|
46
|
+
readonly result: Schema.NullOr<typeof StepResult>;
|
|
34
47
|
}>;
|
|
35
48
|
export type RunRow = typeof RunRow.Type;
|
|
36
49
|
export declare const AttemptRow: Schema.Struct<{
|
|
@@ -39,17 +52,50 @@ export declare const AttemptRow: Schema.Struct<{
|
|
|
39
52
|
readonly stepName: Schema.brand<Schema.NonEmptyString, "StepName">;
|
|
40
53
|
readonly worker: Schema.brand<Schema.String, "WorkerName">;
|
|
41
54
|
readonly number: Schema.brand<Schema.Int, "AttemptNumber">;
|
|
42
|
-
readonly brain: typeof
|
|
55
|
+
readonly brain: typeof BrainSpec;
|
|
56
|
+
readonly task: Schema.brand<Schema.String, "AttemptTask">;
|
|
57
|
+
readonly agent: Schema.brand<Schema.String, "AgentName">;
|
|
58
|
+
readonly operatorIntervened: Schema.Boolean;
|
|
43
59
|
readonly parentModel: Schema.NullOr<Schema.brand<Schema.String, "ModelId">>;
|
|
44
60
|
readonly startedAt: Schema.DateTimeUtcFromString;
|
|
45
|
-
readonly outcome: Schema.NullOr<Schema.Union<readonly [typeof
|
|
61
|
+
readonly outcome: Schema.NullOr<Schema.Union<readonly [typeof import("@usine/core/attempt/outcome").AttemptSucceeded, typeof import("@usine/core/attempt/outcome").AttemptFailed, typeof import("@usine/core/attempt/outcome").AttemptCanceled]>>;
|
|
46
62
|
}>;
|
|
47
63
|
export type AttemptRow = typeof AttemptRow.Type;
|
|
48
64
|
export declare const TranscriptRow: Schema.Struct<{
|
|
49
65
|
readonly sequence: Schema.brand<Schema.Int, "TranscriptSequence">;
|
|
50
66
|
readonly attemptId: Schema.brand<Schema.NonEmptyString, "AttemptId">;
|
|
51
67
|
readonly direction: Schema.Literals<readonly ["inbound", "outbound"]>;
|
|
52
|
-
readonly envelope: Schema.Union<readonly [typeof AttemptChannel.OutboundEnvelope, typeof AttemptChannel.InboundEnvelope]
|
|
68
|
+
readonly envelope: Schema.Union<readonly [Schema.Union<readonly [typeof AttemptChannel.OutboundEnvelope, typeof AttemptChannel.InboundEnvelope]>, Schema.Struct<{
|
|
69
|
+
readonly _tag: Schema.tag<"OutboundEnvelope">;
|
|
70
|
+
readonly attemptId: Schema.brand<Schema.NonEmptyString, "AttemptId">;
|
|
71
|
+
readonly sequence: Schema.brand<Schema.Int, "AttemptChannelSequence">;
|
|
72
|
+
readonly sentAt: Schema.DateTimeUtcFromString;
|
|
73
|
+
readonly payload: Schema.Union<readonly [typeof AttemptChannel.Started, typeof AttemptChannel.SessionEvent, typeof AttemptChannel.Final, typeof AttemptChannel.Failed, typeof AttemptChannel.Interrupted, typeof AttemptChannel.InterventionApplied, typeof AttemptChannel.InterventionRejected]>;
|
|
74
|
+
readonly version: Schema.Literal<5>;
|
|
75
|
+
}>, Schema.Struct<{
|
|
76
|
+
readonly _tag: Schema.tag<"InboundEnvelope">;
|
|
77
|
+
readonly attemptId: Schema.brand<Schema.NonEmptyString, "AttemptId">;
|
|
78
|
+
readonly sequence: Schema.brand<Schema.Int, "AttemptChannelSequence">;
|
|
79
|
+
readonly sentAt: Schema.DateTimeUtcFromString;
|
|
80
|
+
readonly target: Schema.withDecodingDefaultKey<Schema.Union<readonly [typeof AttemptChannel.ParentTarget, typeof AttemptChannel.ChildTarget]>, never>;
|
|
81
|
+
readonly operator: Schema.NonEmptyString;
|
|
82
|
+
readonly payload: Schema.Union<readonly [Schema.Union<readonly [typeof AttemptChannel.Steer, typeof AttemptChannel.Interrupt, typeof AttemptChannel.OperatorMessage, typeof AttemptChannel.Release]>, typeof AttemptChannel.Cancel]>;
|
|
83
|
+
readonly version: Schema.Literal<5>;
|
|
84
|
+
}>, Schema.Struct<{
|
|
85
|
+
readonly _tag: Schema.tag<"OutboundEnvelope">;
|
|
86
|
+
readonly attemptId: Schema.brand<Schema.NonEmptyString, "AttemptId">;
|
|
87
|
+
readonly sequence: Schema.brand<Schema.Int, "AttemptChannelSequence">;
|
|
88
|
+
readonly sentAt: Schema.DateTimeUtcFromString;
|
|
89
|
+
readonly payload: Schema.Union<readonly [typeof AttemptChannel.Started, typeof AttemptChannel.SessionEvent, typeof AttemptChannel.Final, typeof AttemptChannel.Failed, typeof AttemptChannel.Interrupted, typeof AttemptChannel.InterventionApplied, typeof AttemptChannel.InterventionRejected]>;
|
|
90
|
+
readonly version: Schema.Literals<readonly [3, 4]>;
|
|
91
|
+
}>, Schema.Struct<{
|
|
92
|
+
readonly _tag: Schema.Literal<"InboundEnvelope">;
|
|
93
|
+
readonly version: Schema.Literals<readonly [3, 4]>;
|
|
94
|
+
readonly attemptId: Schema.brand<Schema.NonEmptyString, "AttemptId">;
|
|
95
|
+
readonly sequence: Schema.brand<Schema.Int, "AttemptChannelSequence">;
|
|
96
|
+
readonly sentAt: Schema.DateTimeUtcFromString;
|
|
97
|
+
readonly payload: Schema.Union<readonly [typeof AttemptChannel.Steer, typeof AttemptChannel.Interrupt]>;
|
|
98
|
+
}>]>;
|
|
53
99
|
readonly receivedAt: Schema.DateTimeUtcFromString;
|
|
54
100
|
}>;
|
|
55
101
|
export type TranscriptRow = typeof TranscriptRow.Type;
|
|
@@ -67,26 +113,28 @@ export declare const decodeEventRoutes: (input: unknown, options?: import("effec
|
|
|
67
113
|
readonly loop: string & import("effect/Brand").Brand<"LoopName">;
|
|
68
114
|
readonly step: string & import("effect/Brand").Brand<"StepName">;
|
|
69
115
|
readonly approval: "none" | "required";
|
|
70
|
-
readonly
|
|
116
|
+
readonly cycleLimit: (number & import("effect/Brand").Brand<"CycleLimit">) | null;
|
|
117
|
+
readonly cycleGeneration: number & import("effect/Brand").Brand<"CycleGeneration">;
|
|
118
|
+
readonly repository: string & import("effect/Brand").Brand<"RepositoryName">;
|
|
71
119
|
readonly revision: string & import("effect/Brand").Brand<"RepositoryRevision">;
|
|
72
120
|
readonly task: string & import("effect/Brand").Brand<"AttemptTask">;
|
|
73
|
-
readonly agent: Agent
|
|
121
|
+
readonly agent: Agent;
|
|
74
122
|
readonly parentModel: (string & import("effect/Brand").Brand<"ModelId">) | null;
|
|
75
123
|
}[], Schema.SchemaError, never>;
|
|
76
124
|
export declare const decodeRunRows: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<readonly {
|
|
77
125
|
readonly itemKey: string & import("effect/Brand").Brand<"ItemKey">;
|
|
78
|
-
readonly repository: string & import("effect/Brand").Brand<"
|
|
126
|
+
readonly repository: string & import("effect/Brand").Brand<"RepositoryName">;
|
|
79
127
|
readonly revision: string & import("effect/Brand").Brand<"RepositoryRevision">;
|
|
80
128
|
readonly task: string & import("effect/Brand").Brand<"AttemptTask">;
|
|
81
|
-
readonly agent: Agent
|
|
129
|
+
readonly agent: Agent;
|
|
82
130
|
readonly parentModel: (string & import("effect/Brand").Brand<"ModelId">) | null;
|
|
83
131
|
readonly runId: string & import("effect/Brand").Brand<"RunId">;
|
|
84
132
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
85
133
|
readonly loop: string & import("effect/Brand").Brand<"LoopName">;
|
|
86
|
-
readonly state: RunState.Canceled | RunState.Failed | RunState.Pending | RunState.Running | RunState.Succeeded | RunState.Waiting;
|
|
134
|
+
readonly state: RunState.Canceled | RunState.Failed | RunState.Pending | RunState.Queued | RunState.Running | RunState.Succeeded | RunState.Waiting;
|
|
87
135
|
readonly openedAt: import("effect/DateTime").Utc;
|
|
88
136
|
readonly stepName: string & import("effect/Brand").Brand<"StepName">;
|
|
89
|
-
readonly result: StepResult
|
|
137
|
+
readonly result: StepResult | null;
|
|
90
138
|
}[], Schema.SchemaError, never>;
|
|
91
139
|
export declare const decodeAttemptRows: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<readonly {
|
|
92
140
|
readonly attemptId: string & import("effect/Brand").Brand<"AttemptId">;
|
|
@@ -94,10 +142,13 @@ export declare const decodeAttemptRows: (input: unknown, options?: import("effec
|
|
|
94
142
|
readonly stepName: string & import("effect/Brand").Brand<"StepName">;
|
|
95
143
|
readonly worker: string & import("effect/Brand").Brand<"WorkerName">;
|
|
96
144
|
readonly number: number & import("effect/Brand").Brand<"AttemptNumber">;
|
|
97
|
-
readonly brain:
|
|
145
|
+
readonly brain: BrainSpec;
|
|
146
|
+
readonly task: string & import("effect/Brand").Brand<"AttemptTask">;
|
|
147
|
+
readonly agent: string & import("effect/Brand").Brand<"AgentName">;
|
|
148
|
+
readonly operatorIntervened: boolean;
|
|
98
149
|
readonly parentModel: (string & import("effect/Brand").Brand<"ModelId">) | null;
|
|
99
150
|
readonly startedAt: import("effect/DateTime").Utc;
|
|
100
|
-
readonly outcome:
|
|
151
|
+
readonly outcome: import("@usine/core/attempt/outcome").AttemptCanceled | import("@usine/core/attempt/outcome").AttemptFailed | import("@usine/core/attempt/outcome").AttemptSucceeded | null;
|
|
101
152
|
}[], Schema.SchemaError, never>;
|
|
102
153
|
export declare const decodeRecoverableRuns: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<readonly {
|
|
103
154
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -108,13 +159,15 @@ export declare const decodeRecoverableRuns: (input: unknown, options?: import("e
|
|
|
108
159
|
readonly loop: string & import("effect/Brand").Brand<"LoopName">;
|
|
109
160
|
readonly step: string & import("effect/Brand").Brand<"StepName">;
|
|
110
161
|
readonly approval: "none" | "required";
|
|
111
|
-
readonly
|
|
162
|
+
readonly cycleLimit: (number & import("effect/Brand").Brand<"CycleLimit">) | null;
|
|
163
|
+
readonly cycleGeneration: number & import("effect/Brand").Brand<"CycleGeneration">;
|
|
164
|
+
readonly repository: string & import("effect/Brand").Brand<"RepositoryName">;
|
|
112
165
|
readonly revision: string & import("effect/Brand").Brand<"RepositoryRevision">;
|
|
113
166
|
readonly task: string & import("effect/Brand").Brand<"AttemptTask">;
|
|
114
|
-
readonly agent: Agent
|
|
167
|
+
readonly agent: Agent;
|
|
115
168
|
readonly parentModel: (string & import("effect/Brand").Brand<"ModelId">) | null;
|
|
116
169
|
readonly runId: string & import("effect/Brand").Brand<"RunId">;
|
|
117
|
-
readonly state: RunState.Canceled | RunState.Failed | RunState.Pending | RunState.Running | RunState.Succeeded | RunState.Waiting;
|
|
170
|
+
readonly state: RunState.Canceled | RunState.Failed | RunState.Pending | RunState.Queued | RunState.Running | RunState.Succeeded | RunState.Waiting;
|
|
118
171
|
}[], Schema.SchemaError, never>;
|
|
119
172
|
export declare const decodeRunIds: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<readonly {
|
|
120
173
|
readonly runId: string & import("effect/Brand").Brand<"RunId">;
|
|
@@ -133,19 +186,51 @@ export declare const decodeTranscriptRows: (input: unknown, options?: import("ef
|
|
|
133
186
|
readonly sequence: number & import("effect/Brand").Brand<"TranscriptSequence">;
|
|
134
187
|
readonly attemptId: string & import("effect/Brand").Brand<"AttemptId">;
|
|
135
188
|
readonly direction: "inbound" | "outbound";
|
|
136
|
-
readonly envelope: AttemptChannel.InboundEnvelope | AttemptChannel.OutboundEnvelope
|
|
189
|
+
readonly envelope: AttemptChannel.InboundEnvelope | AttemptChannel.OutboundEnvelope | {
|
|
190
|
+
readonly _tag: "OutboundEnvelope";
|
|
191
|
+
readonly attemptId: string & import("effect/Brand").Brand<"AttemptId">;
|
|
192
|
+
readonly sequence: number & import("effect/Brand").Brand<"AttemptChannelSequence">;
|
|
193
|
+
readonly sentAt: import("effect/DateTime").Utc;
|
|
194
|
+
readonly payload: AttemptChannel.Failed | AttemptChannel.Final | AttemptChannel.Interrupted | AttemptChannel.InterventionApplied | AttemptChannel.InterventionRejected | AttemptChannel.SessionEvent | AttemptChannel.Started;
|
|
195
|
+
readonly version: 5;
|
|
196
|
+
} | {
|
|
197
|
+
readonly _tag: "InboundEnvelope";
|
|
198
|
+
readonly attemptId: string & import("effect/Brand").Brand<"AttemptId">;
|
|
199
|
+
readonly sequence: number & import("effect/Brand").Brand<"AttemptChannelSequence">;
|
|
200
|
+
readonly sentAt: import("effect/DateTime").Utc;
|
|
201
|
+
readonly target: AttemptChannel.ChildTarget | AttemptChannel.ParentTarget;
|
|
202
|
+
readonly operator: string;
|
|
203
|
+
readonly payload: AttemptChannel.Cancel | AttemptChannel.Interrupt | AttemptChannel.OperatorMessage | AttemptChannel.Release | AttemptChannel.Steer;
|
|
204
|
+
readonly version: 5;
|
|
205
|
+
} | {
|
|
206
|
+
readonly _tag: "OutboundEnvelope";
|
|
207
|
+
readonly attemptId: string & import("effect/Brand").Brand<"AttemptId">;
|
|
208
|
+
readonly sequence: number & import("effect/Brand").Brand<"AttemptChannelSequence">;
|
|
209
|
+
readonly sentAt: import("effect/DateTime").Utc;
|
|
210
|
+
readonly payload: AttemptChannel.Failed | AttemptChannel.Final | AttemptChannel.Interrupted | AttemptChannel.InterventionApplied | AttemptChannel.InterventionRejected | AttemptChannel.SessionEvent | AttemptChannel.Started;
|
|
211
|
+
readonly version: 3 | 4;
|
|
212
|
+
} | {
|
|
213
|
+
readonly _tag: "InboundEnvelope";
|
|
214
|
+
readonly version: 3 | 4;
|
|
215
|
+
readonly attemptId: string & import("effect/Brand").Brand<"AttemptId">;
|
|
216
|
+
readonly sequence: number & import("effect/Brand").Brand<"AttemptChannelSequence">;
|
|
217
|
+
readonly sentAt: import("effect/DateTime").Utc;
|
|
218
|
+
readonly payload: AttemptChannel.Interrupt | AttemptChannel.Steer;
|
|
219
|
+
};
|
|
137
220
|
readonly receivedAt: import("effect/DateTime").Utc;
|
|
138
221
|
}[], Schema.SchemaError, never>;
|
|
139
222
|
export declare const encodePayload: (input: Schema.Json, options?: import("effect/SchemaAST").ParseOptions) => Schema.Json;
|
|
140
223
|
export declare const encodeDateTime: (input: import("effect/DateTime").Utc, options?: import("effect/SchemaAST").ParseOptions) => string;
|
|
141
|
-
export declare const encodeRunState: (input: RunState.Canceled | RunState.Failed | RunState.Pending | RunState.Running | RunState.Succeeded | RunState.Waiting, options?: import("effect/SchemaAST").ParseOptions) => {
|
|
224
|
+
export declare const encodeRunState: (input: RunState.Canceled | RunState.Failed | RunState.Pending | RunState.Queued | RunState.Running | RunState.Succeeded | RunState.Waiting, options?: import("effect/SchemaAST").ParseOptions) => {
|
|
225
|
+
readonly _tag: "Succeeded";
|
|
226
|
+
} | {
|
|
142
227
|
readonly _tag: "Pending";
|
|
143
228
|
} | {
|
|
144
229
|
readonly _tag: "Waiting";
|
|
145
230
|
} | {
|
|
146
|
-
readonly _tag: "
|
|
231
|
+
readonly _tag: "Queued";
|
|
147
232
|
} | {
|
|
148
|
-
readonly _tag: "
|
|
233
|
+
readonly _tag: "Running";
|
|
149
234
|
} | {
|
|
150
235
|
readonly _tag: "Failed";
|
|
151
236
|
} | {
|
|
@@ -159,7 +244,7 @@ export declare const encodeRunState: (input: RunState.Canceled | RunState.Failed
|
|
|
159
244
|
readonly _tag: "Revoked";
|
|
160
245
|
};
|
|
161
246
|
};
|
|
162
|
-
export declare const encodeOutcome: (input:
|
|
247
|
+
export declare const encodeOutcome: (input: import("@usine/core/attempt/outcome").AttemptCanceled | import("@usine/core/attempt/outcome").AttemptFailed | import("@usine/core/attempt/outcome").AttemptSucceeded, options?: import("effect/SchemaAST").ParseOptions) => {
|
|
163
248
|
readonly _tag: "Succeeded";
|
|
164
249
|
} | {
|
|
165
250
|
readonly _tag: "Failed";
|
|
@@ -167,17 +252,25 @@ export declare const encodeOutcome: (input: Attempt.Canceled | Attempt.Failed |
|
|
|
167
252
|
readonly _tag: "InfraFailure";
|
|
168
253
|
readonly message: string;
|
|
169
254
|
readonly cause: Schema.Json;
|
|
255
|
+
} | {
|
|
256
|
+
readonly _tag: "DefectFailure";
|
|
257
|
+
readonly message: string;
|
|
258
|
+
readonly cause: Schema.Json;
|
|
170
259
|
} | {
|
|
171
260
|
readonly _tag: "AgentFailure";
|
|
172
261
|
readonly message: string;
|
|
173
262
|
} | {
|
|
174
263
|
readonly _tag: "RunawayFailure";
|
|
175
264
|
readonly ceiling: "tokens" | "wall-clock";
|
|
265
|
+
} | {
|
|
266
|
+
readonly _tag: "ChildSessionBudgetFailure";
|
|
267
|
+
readonly maxChildren: number;
|
|
268
|
+
readonly attemptedChildren: number;
|
|
176
269
|
};
|
|
177
270
|
} | {
|
|
178
271
|
readonly _tag: "Canceled";
|
|
179
272
|
};
|
|
180
|
-
export declare const encodeStepResult: (input: StepResult
|
|
273
|
+
export declare const encodeStepResult: (input: StepResult, options?: import("effect/SchemaAST").ParseOptions) => {
|
|
181
274
|
readonly message: string;
|
|
182
275
|
readonly facts: readonly ({
|
|
183
276
|
readonly _tag: "Commit";
|
|
@@ -186,15 +279,15 @@ export declare const encodeStepResult: (input: StepResult.StepResult, options?:
|
|
|
186
279
|
} | {
|
|
187
280
|
readonly _tag: "PullRequest";
|
|
188
281
|
readonly number: number;
|
|
189
|
-
readonly url:
|
|
282
|
+
readonly url: string;
|
|
190
283
|
} | {
|
|
191
284
|
readonly _tag: "Comment";
|
|
192
|
-
readonly url:
|
|
285
|
+
readonly url: string;
|
|
193
286
|
})[];
|
|
194
287
|
};
|
|
195
288
|
export declare const encodeEnvelope: (input: AttemptChannel.InboundEnvelope | AttemptChannel.OutboundEnvelope, options?: import("effect/SchemaAST").ParseOptions) => {
|
|
196
289
|
readonly _tag: "OutboundEnvelope";
|
|
197
|
-
readonly version:
|
|
290
|
+
readonly version: 6;
|
|
198
291
|
readonly attemptId: string;
|
|
199
292
|
readonly sequence: number;
|
|
200
293
|
readonly sentAt: string;
|
|
@@ -225,6 +318,10 @@ export declare const encodeEnvelope: (input: AttemptChannel.InboundEnvelope | At
|
|
|
225
318
|
readonly effort: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
226
319
|
};
|
|
227
320
|
};
|
|
321
|
+
readonly harnessSession?: {
|
|
322
|
+
readonly id: string;
|
|
323
|
+
readonly cwd: string;
|
|
324
|
+
};
|
|
228
325
|
} | {
|
|
229
326
|
readonly _tag: "TextOutput";
|
|
230
327
|
readonly session: {
|
|
@@ -358,6 +455,73 @@ export declare const encodeEnvelope: (input: AttemptChannel.InboundEnvelope | At
|
|
|
358
455
|
readonly effort: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
359
456
|
};
|
|
360
457
|
};
|
|
458
|
+
} | {
|
|
459
|
+
readonly _tag: "SessionIdle";
|
|
460
|
+
readonly session: {
|
|
461
|
+
readonly _tag: "ParentSession";
|
|
462
|
+
readonly id: string;
|
|
463
|
+
readonly agent: string;
|
|
464
|
+
readonly brain: {
|
|
465
|
+
readonly harness: "claude" | "codex" | "pi";
|
|
466
|
+
readonly model: string;
|
|
467
|
+
readonly effort: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
468
|
+
};
|
|
469
|
+
} | {
|
|
470
|
+
readonly _tag: "ChildSession";
|
|
471
|
+
readonly id: string;
|
|
472
|
+
readonly parentId: string;
|
|
473
|
+
readonly agent: string;
|
|
474
|
+
readonly brain: {
|
|
475
|
+
readonly harness: "claude" | "codex" | "pi";
|
|
476
|
+
readonly model: string;
|
|
477
|
+
readonly effort: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
} | {
|
|
481
|
+
readonly _tag: "SessionResumed";
|
|
482
|
+
readonly session: {
|
|
483
|
+
readonly _tag: "ParentSession";
|
|
484
|
+
readonly id: string;
|
|
485
|
+
readonly agent: string;
|
|
486
|
+
readonly brain: {
|
|
487
|
+
readonly harness: "claude" | "codex" | "pi";
|
|
488
|
+
readonly model: string;
|
|
489
|
+
readonly effort: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
490
|
+
};
|
|
491
|
+
} | {
|
|
492
|
+
readonly _tag: "ChildSession";
|
|
493
|
+
readonly id: string;
|
|
494
|
+
readonly parentId: string;
|
|
495
|
+
readonly agent: string;
|
|
496
|
+
readonly brain: {
|
|
497
|
+
readonly harness: "claude" | "codex" | "pi";
|
|
498
|
+
readonly model: string;
|
|
499
|
+
readonly effort: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
} | {
|
|
503
|
+
readonly _tag: "SessionTokensUpdated";
|
|
504
|
+
readonly session: {
|
|
505
|
+
readonly _tag: "ParentSession";
|
|
506
|
+
readonly id: string;
|
|
507
|
+
readonly agent: string;
|
|
508
|
+
readonly brain: {
|
|
509
|
+
readonly harness: "claude" | "codex" | "pi";
|
|
510
|
+
readonly model: string;
|
|
511
|
+
readonly effort: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
512
|
+
};
|
|
513
|
+
} | {
|
|
514
|
+
readonly _tag: "ChildSession";
|
|
515
|
+
readonly id: string;
|
|
516
|
+
readonly parentId: string;
|
|
517
|
+
readonly agent: string;
|
|
518
|
+
readonly brain: {
|
|
519
|
+
readonly harness: "claude" | "codex" | "pi";
|
|
520
|
+
readonly model: string;
|
|
521
|
+
readonly effort: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
readonly totalTokens: number;
|
|
361
525
|
};
|
|
362
526
|
} | {
|
|
363
527
|
readonly _tag: "Final";
|
|
@@ -370,10 +534,10 @@ export declare const encodeEnvelope: (input: AttemptChannel.InboundEnvelope | At
|
|
|
370
534
|
} | {
|
|
371
535
|
readonly _tag: "PullRequest";
|
|
372
536
|
readonly number: number;
|
|
373
|
-
readonly url:
|
|
537
|
+
readonly url: string;
|
|
374
538
|
} | {
|
|
375
539
|
readonly _tag: "Comment";
|
|
376
|
-
readonly url:
|
|
540
|
+
readonly url: string;
|
|
377
541
|
})[];
|
|
378
542
|
};
|
|
379
543
|
} | {
|
|
@@ -382,30 +546,103 @@ export declare const encodeEnvelope: (input: AttemptChannel.InboundEnvelope | At
|
|
|
382
546
|
readonly _tag: "InfraFailure";
|
|
383
547
|
readonly message: string;
|
|
384
548
|
readonly cause: Schema.Json;
|
|
549
|
+
} | {
|
|
550
|
+
readonly _tag: "DefectFailure";
|
|
551
|
+
readonly message: string;
|
|
552
|
+
readonly cause: Schema.Json;
|
|
385
553
|
} | {
|
|
386
554
|
readonly _tag: "AgentFailure";
|
|
387
555
|
readonly message: string;
|
|
388
556
|
} | {
|
|
389
557
|
readonly _tag: "RunawayFailure";
|
|
390
558
|
readonly ceiling: "tokens" | "wall-clock";
|
|
559
|
+
} | {
|
|
560
|
+
readonly _tag: "ChildSessionBudgetFailure";
|
|
561
|
+
readonly maxChildren: number;
|
|
562
|
+
readonly attemptedChildren: number;
|
|
391
563
|
};
|
|
392
564
|
} | {
|
|
393
565
|
readonly _tag: "Interrupted";
|
|
566
|
+
} | {
|
|
567
|
+
readonly _tag: "InterventionApplied";
|
|
568
|
+
readonly inputSequence: number;
|
|
569
|
+
readonly intervention: {
|
|
570
|
+
readonly operator: string;
|
|
571
|
+
readonly target: {
|
|
572
|
+
readonly _tag: "Parent";
|
|
573
|
+
} | {
|
|
574
|
+
readonly _tag: "Child";
|
|
575
|
+
readonly sessionId: string;
|
|
576
|
+
};
|
|
577
|
+
readonly action: {
|
|
578
|
+
readonly _tag: "Steer";
|
|
579
|
+
readonly message: string;
|
|
580
|
+
} | {
|
|
581
|
+
readonly _tag: "Interrupt";
|
|
582
|
+
} | {
|
|
583
|
+
readonly _tag: "OperatorMessage";
|
|
584
|
+
readonly message: string;
|
|
585
|
+
} | {
|
|
586
|
+
readonly _tag: "Release";
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
readonly state: {
|
|
590
|
+
readonly held: boolean;
|
|
591
|
+
readonly paused: boolean;
|
|
592
|
+
};
|
|
593
|
+
} | {
|
|
594
|
+
readonly _tag: "InterventionRejected";
|
|
595
|
+
readonly inputSequence: number;
|
|
596
|
+
readonly intervention: {
|
|
597
|
+
readonly operator: string;
|
|
598
|
+
readonly target: {
|
|
599
|
+
readonly _tag: "Parent";
|
|
600
|
+
} | {
|
|
601
|
+
readonly _tag: "Child";
|
|
602
|
+
readonly sessionId: string;
|
|
603
|
+
};
|
|
604
|
+
readonly action: {
|
|
605
|
+
readonly _tag: "Steer";
|
|
606
|
+
readonly message: string;
|
|
607
|
+
} | {
|
|
608
|
+
readonly _tag: "Interrupt";
|
|
609
|
+
} | {
|
|
610
|
+
readonly _tag: "OperatorMessage";
|
|
611
|
+
readonly message: string;
|
|
612
|
+
} | {
|
|
613
|
+
readonly _tag: "Release";
|
|
614
|
+
};
|
|
615
|
+
};
|
|
616
|
+
readonly message: string;
|
|
394
617
|
};
|
|
395
618
|
} | {
|
|
396
619
|
readonly _tag: "InboundEnvelope";
|
|
397
|
-
readonly version:
|
|
620
|
+
readonly version: 6;
|
|
398
621
|
readonly attemptId: string;
|
|
399
622
|
readonly sequence: number;
|
|
400
623
|
readonly sentAt: string;
|
|
624
|
+
readonly target?: {
|
|
625
|
+
readonly _tag: "Parent";
|
|
626
|
+
} | {
|
|
627
|
+
readonly _tag: "Child";
|
|
628
|
+
readonly sessionId: string;
|
|
629
|
+
};
|
|
630
|
+
readonly operator: string;
|
|
401
631
|
readonly payload: {
|
|
402
632
|
readonly _tag: "Steer";
|
|
403
633
|
readonly message: string;
|
|
404
634
|
} | {
|
|
405
635
|
readonly _tag: "Interrupt";
|
|
636
|
+
} | {
|
|
637
|
+
readonly _tag: "OperatorMessage";
|
|
638
|
+
readonly message: string;
|
|
639
|
+
} | {
|
|
640
|
+
readonly _tag: "Release";
|
|
641
|
+
} | {
|
|
642
|
+
readonly _tag: "Cancel";
|
|
406
643
|
};
|
|
407
644
|
};
|
|
408
|
-
export declare const encodeAgent: (input: Agent
|
|
645
|
+
export declare const encodeAgent: (input: Agent, options?: import("effect/SchemaAST").ParseOptions) => {
|
|
409
646
|
readonly name: string;
|
|
410
647
|
readonly brain: {
|
|
411
648
|
readonly harness: "claude" | "codex" | "pi";
|
|
@@ -413,19 +650,20 @@ export declare const encodeAgent: (input: Agent.Agent, options?: import("effect/
|
|
|
413
650
|
readonly effort: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
414
651
|
};
|
|
415
652
|
readonly parentModel: string | null;
|
|
653
|
+
readonly parentEffort?: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
416
654
|
readonly persona: string;
|
|
417
655
|
};
|
|
418
|
-
export declare const encodeBrainSpec: (input:
|
|
656
|
+
export declare const encodeBrainSpec: (input: BrainSpec, options?: import("effect/SchemaAST").ParseOptions) => {
|
|
419
657
|
readonly harness: "claude" | "codex" | "pi";
|
|
420
658
|
readonly model: string;
|
|
421
659
|
readonly effort: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
422
660
|
};
|
|
423
661
|
export declare const persistence: (operation: string) => <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, RunStoreError, R>;
|
|
424
|
-
export declare const eventFromRow: (row: EventRouteRow) => Event
|
|
662
|
+
export declare const eventFromRow: (row: EventRouteRow) => Event;
|
|
425
663
|
export declare const submissionFromRow: (row: EventRouteRow) => Submission;
|
|
426
|
-
export declare const runFromRow: (row: RunRow) => Run
|
|
427
|
-
export declare const stepFromRow: (row: RunRow) => Step
|
|
428
|
-
export declare const attemptFromRow: (row: AttemptRow) => Attempt
|
|
664
|
+
export declare const runFromRow: (row: RunRow) => Run;
|
|
665
|
+
export declare const stepFromRow: (row: RunRow) => Step;
|
|
666
|
+
export declare const attemptFromRow: (row: AttemptRow) => Attempt;
|
|
429
667
|
export declare const runSummaryFromRow: (row: RunRow, storedAttempts: ReadonlyArray<AttemptRow>) => RunSummary;
|
|
430
668
|
export declare const transcriptEntryFromRow: (row: TranscriptRow) => TranscriptEntry;
|
|
431
669
|
//# sourceMappingURL=codec.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codec.d.ts","sourceRoot":"","sources":["../../src/store/codec.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"codec.d.ts","sourceRoot":"","sources":["../../src/store/codec.ts"],"names":[],"mappings":"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"}
|