@kitman-sh/sdk 0.9.0 → 0.10.53
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/dist/build/index.js +531 -116
- package/dist/{chunk-36jhc745.js → chunk-tcbgb4wm.js} +1841 -1574
- package/dist/{chunk-e1tqypyy.js → chunk-zvzw3zs4.js} +824 -419
- package/dist/loop/index.js +117 -3
- package/dist/program/index.js +8 -4
- package/package.json +6 -6
- package/types/packages/core/src/agent-capabilities.d.ts +6 -0
- package/types/packages/core/src/agent-environment.d.ts +32 -216
- package/types/packages/core/src/agent-sandbox-policy.d.ts +17 -3
- package/types/packages/core/src/change-request-review.d.ts +20 -5
- package/types/packages/core/src/change-request.d.ts +33 -208
- package/types/packages/core/src/crypto.d.ts +2 -0
- package/types/packages/core/src/index.d.ts +8 -4
- package/types/packages/core/src/{package-declarations.d.ts → kit-declarations.d.ts} +84 -180
- package/types/packages/core/src/kit-install.d.ts +130 -0
- package/types/packages/core/src/kit-setup.d.ts +316 -0
- package/types/packages/core/src/kit.d.ts +302 -1444
- package/types/packages/core/src/loop-layers.d.ts +33 -4
- package/types/packages/core/src/loop.d.ts +325 -55
- package/types/packages/core/src/marketplace.d.ts +51 -10
- package/types/packages/core/src/my-teams.d.ts +135 -20
- package/types/packages/core/src/network-host.d.ts +41 -0
- package/types/packages/core/src/notification.d.ts +8 -0
- package/types/packages/core/src/npm-registry.d.ts +65 -0
- package/types/packages/core/src/proposal.d.ts +0 -76
- package/types/packages/core/src/push.d.ts +68 -0
- package/types/packages/core/src/question-recommendation.d.ts +28 -0
- package/types/packages/core/src/redaction.d.ts +15 -3
- package/types/packages/core/src/resource-claim.d.ts +79 -0
- package/types/packages/core/src/run-display.d.ts +7 -1
- package/types/packages/core/src/run-graph.d.ts +1 -1
- package/types/packages/core/src/run-launch.d.ts +15 -2
- package/types/packages/core/src/run-queue.d.ts +28 -0
- package/types/packages/core/src/runner-eligibility.d.ts +21 -2
- package/types/packages/core/src/runner.d.ts +46 -15
- package/types/packages/core/src/secret.d.ts +18 -1
- package/types/packages/core/src/step-brief.d.ts +21 -7
- package/types/packages/core/src/sync-kit.d.ts +8 -0
- package/types/packages/core/src/task-detail.d.ts +15 -2
- package/types/packages/core/src/task.d.ts +9 -0
- package/types/packages/core/src/transcript.d.ts +24 -4
- package/types/packages/core/src/trust-panel.d.ts +1 -1
- package/types/packages/core/src/waiting-on.d.ts +14 -0
- package/types/packages/core/src/work-unit.d.ts +339 -8
- package/types/packages/live/src/rpc/runner-client.d.ts +505 -10
- package/types/packages/live/src/rpc/runner-group.d.ts +958 -28
- package/types/packages/sdk/src/build/index.d.ts +45 -9
- package/types/packages/sdk/src/loop/activities.d.ts +382 -2
- package/types/packages/sdk/src/loop/claims.d.ts +57 -0
- package/types/packages/sdk/src/loop/config.d.ts +38 -31
- package/types/packages/sdk/src/loop/continuing.d.ts +22 -0
- package/types/packages/sdk/src/loop/define.d.ts +30 -5
- package/types/packages/sdk/src/loop/evidence.d.ts +18 -3
- package/types/packages/sdk/src/loop/index.d.ts +4 -0
- package/types/packages/sdk/src/loop/measure.d.ts +132 -0
- package/types/packages/sdk/src/loop/plan.d.ts +2 -2
- package/types/packages/sdk/src/loop/steps.d.ts +127 -17
- package/types/packages/sdk/src/loop/sync.d.ts +53 -0
- package/types/packages/sdk/src/loop/test-loop.d.ts +25 -5
- package/types/packages/sdk/src/program/engine.d.ts +95 -3
- package/types/packages/sdk/src/program/host.d.ts +198 -36
- package/types/packages/core/src/engineering-resources.d.ts +0 -24
- package/types/packages/core/src/package.d.ts +0 -369
|
@@ -79,6 +79,7 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
79
79
|
readonly leaseExpiresAt: string;
|
|
80
80
|
readonly lastHeartbeatAt: string;
|
|
81
81
|
};
|
|
82
|
+
readonly deadlineAt?: string;
|
|
82
83
|
readonly brief: {
|
|
83
84
|
readonly stepAttemptId: string;
|
|
84
85
|
readonly harness: string;
|
|
@@ -93,13 +94,14 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
93
94
|
readonly outputSchema: {
|
|
94
95
|
readonly [x: string]: import("effect/Schema").Json;
|
|
95
96
|
};
|
|
96
|
-
readonly
|
|
97
|
+
readonly kits?: readonly {
|
|
97
98
|
readonly name: string;
|
|
98
|
-
readonly
|
|
99
|
-
|
|
100
|
-
};
|
|
99
|
+
readonly version: string;
|
|
100
|
+
readonly setupDigest: string;
|
|
101
101
|
}[];
|
|
102
102
|
readonly toolless?: true;
|
|
103
|
+
readonly tools?: readonly ("artifacts" | "browser" | "subagents" | "web")[];
|
|
104
|
+
readonly listedSkills?: readonly string[];
|
|
103
105
|
};
|
|
104
106
|
readonly stepCredential: string;
|
|
105
107
|
readonly checkout: "none" | "read" | "write";
|
|
@@ -120,11 +122,22 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
120
122
|
readonly network?: "open" | {
|
|
121
123
|
readonly hosts: readonly string[];
|
|
122
124
|
};
|
|
125
|
+
readonly hosts?: readonly string[];
|
|
123
126
|
readonly sandbox?: "docker";
|
|
124
127
|
readonly secrets?: {
|
|
125
128
|
readonly [x: string]: string;
|
|
126
129
|
};
|
|
130
|
+
readonly secretDestinations?: {
|
|
131
|
+
readonly [x: string]: {
|
|
132
|
+
readonly scope: "team" | "workspace";
|
|
133
|
+
readonly hosts: readonly string[];
|
|
134
|
+
readonly version: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
127
137
|
readonly runBaseRevision?: string;
|
|
138
|
+
readonly mergeTarget?: string;
|
|
139
|
+
readonly resumeNotes?: readonly string[];
|
|
140
|
+
readonly transcriptSequence?: number;
|
|
128
141
|
readonly storageOrigin?: string;
|
|
129
142
|
} | {
|
|
130
143
|
readonly kind: "verification";
|
|
@@ -155,11 +168,32 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
155
168
|
readonly expectedCommitSha?: string;
|
|
156
169
|
};
|
|
157
170
|
readonly revision: string;
|
|
171
|
+
readonly baseline?: string;
|
|
158
172
|
readonly checks: readonly {
|
|
159
173
|
readonly name: string;
|
|
160
174
|
readonly command: string;
|
|
161
175
|
readonly workingDirectory?: string;
|
|
176
|
+
readonly suggested?: boolean;
|
|
177
|
+
readonly pipeline?: boolean;
|
|
162
178
|
}[];
|
|
179
|
+
readonly measure?: {
|
|
180
|
+
readonly base: string;
|
|
181
|
+
readonly plan: {
|
|
182
|
+
readonly command: string;
|
|
183
|
+
readonly prepare?: string;
|
|
184
|
+
readonly workingDirectory?: string;
|
|
185
|
+
readonly warmup?: number;
|
|
186
|
+
readonly metrics: readonly {
|
|
187
|
+
readonly name: string;
|
|
188
|
+
readonly direction: "higher" | "lower";
|
|
189
|
+
readonly role: "guardrail" | "primary";
|
|
190
|
+
readonly lowVariance?: boolean;
|
|
191
|
+
}[];
|
|
192
|
+
};
|
|
193
|
+
readonly samples: number;
|
|
194
|
+
readonly calibrate: boolean;
|
|
195
|
+
};
|
|
196
|
+
readonly hosts?: readonly string[];
|
|
163
197
|
readonly storageOrigin?: string;
|
|
164
198
|
};
|
|
165
199
|
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
@@ -214,6 +248,7 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
214
248
|
readonly leaseExpiresAt: string;
|
|
215
249
|
readonly lastHeartbeatAt: string;
|
|
216
250
|
};
|
|
251
|
+
readonly deadlineAt?: string;
|
|
217
252
|
readonly brief: {
|
|
218
253
|
readonly stepAttemptId: string;
|
|
219
254
|
readonly harness: string;
|
|
@@ -228,13 +263,14 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
228
263
|
readonly outputSchema: {
|
|
229
264
|
readonly [x: string]: import("effect/Schema").Json;
|
|
230
265
|
};
|
|
231
|
-
readonly
|
|
266
|
+
readonly kits?: readonly {
|
|
232
267
|
readonly name: string;
|
|
233
|
-
readonly
|
|
234
|
-
|
|
235
|
-
};
|
|
268
|
+
readonly version: string;
|
|
269
|
+
readonly setupDigest: string;
|
|
236
270
|
}[];
|
|
237
271
|
readonly toolless?: true;
|
|
272
|
+
readonly tools?: readonly ("artifacts" | "browser" | "subagents" | "web")[];
|
|
273
|
+
readonly listedSkills?: readonly string[];
|
|
238
274
|
};
|
|
239
275
|
readonly stepCredential: string;
|
|
240
276
|
readonly checkout: "none" | "read" | "write";
|
|
@@ -255,11 +291,22 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
255
291
|
readonly network?: "open" | {
|
|
256
292
|
readonly hosts: readonly string[];
|
|
257
293
|
};
|
|
294
|
+
readonly hosts?: readonly string[];
|
|
258
295
|
readonly sandbox?: "docker";
|
|
259
296
|
readonly secrets?: {
|
|
260
297
|
readonly [x: string]: string;
|
|
261
298
|
};
|
|
299
|
+
readonly secretDestinations?: {
|
|
300
|
+
readonly [x: string]: {
|
|
301
|
+
readonly scope: "team" | "workspace";
|
|
302
|
+
readonly hosts: readonly string[];
|
|
303
|
+
readonly version: string;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
262
306
|
readonly runBaseRevision?: string;
|
|
307
|
+
readonly mergeTarget?: string;
|
|
308
|
+
readonly resumeNotes?: readonly string[];
|
|
309
|
+
readonly transcriptSequence?: number;
|
|
263
310
|
readonly storageOrigin?: string;
|
|
264
311
|
} | {
|
|
265
312
|
readonly kind: "verification";
|
|
@@ -290,11 +337,32 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
290
337
|
readonly expectedCommitSha?: string;
|
|
291
338
|
};
|
|
292
339
|
readonly revision: string;
|
|
340
|
+
readonly baseline?: string;
|
|
293
341
|
readonly checks: readonly {
|
|
294
342
|
readonly name: string;
|
|
295
343
|
readonly command: string;
|
|
296
344
|
readonly workingDirectory?: string;
|
|
345
|
+
readonly suggested?: boolean;
|
|
346
|
+
readonly pipeline?: boolean;
|
|
297
347
|
}[];
|
|
348
|
+
readonly measure?: {
|
|
349
|
+
readonly base: string;
|
|
350
|
+
readonly plan: {
|
|
351
|
+
readonly command: string;
|
|
352
|
+
readonly prepare?: string;
|
|
353
|
+
readonly workingDirectory?: string;
|
|
354
|
+
readonly warmup?: number;
|
|
355
|
+
readonly metrics: readonly {
|
|
356
|
+
readonly name: string;
|
|
357
|
+
readonly direction: "higher" | "lower";
|
|
358
|
+
readonly role: "guardrail" | "primary";
|
|
359
|
+
readonly lowVariance?: boolean;
|
|
360
|
+
}[];
|
|
361
|
+
};
|
|
362
|
+
readonly samples: number;
|
|
363
|
+
readonly calibrate: boolean;
|
|
364
|
+
};
|
|
365
|
+
readonly hosts?: readonly string[];
|
|
298
366
|
readonly storageOrigin?: string;
|
|
299
367
|
};
|
|
300
368
|
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
@@ -309,6 +377,10 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
309
377
|
readonly capacitySlot: string;
|
|
310
378
|
};
|
|
311
379
|
readonly leaseDurationSeconds?: number;
|
|
380
|
+
readonly secrets?: readonly {
|
|
381
|
+
readonly name: string;
|
|
382
|
+
readonly version: string;
|
|
383
|
+
}[];
|
|
312
384
|
}, options?: {
|
|
313
385
|
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
314
386
|
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
@@ -316,9 +388,15 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
316
388
|
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
317
389
|
readonly settled: boolean;
|
|
318
390
|
readonly outputSubmitted?: boolean;
|
|
391
|
+
readonly outputMerged?: boolean;
|
|
392
|
+
readonly questionOpen?: boolean;
|
|
393
|
+
readonly revokedSecrets?: readonly string[];
|
|
319
394
|
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
320
395
|
readonly settled: boolean;
|
|
321
396
|
readonly outputSubmitted?: boolean;
|
|
397
|
+
readonly outputMerged?: boolean;
|
|
398
|
+
readonly questionOpen?: boolean;
|
|
399
|
+
readonly revokedSecrets?: readonly string[];
|
|
322
400
|
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
323
401
|
complete: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
324
402
|
readonly workUnitId: string;
|
|
@@ -384,6 +462,17 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
384
462
|
readonly fileIds?: readonly string[];
|
|
385
463
|
}[];
|
|
386
464
|
};
|
|
465
|
+
readonly measurement?: {
|
|
466
|
+
readonly base: readonly {
|
|
467
|
+
readonly [x: string]: number;
|
|
468
|
+
}[];
|
|
469
|
+
readonly head: readonly {
|
|
470
|
+
readonly [x: string]: number;
|
|
471
|
+
}[];
|
|
472
|
+
readonly baseAgain?: readonly {
|
|
473
|
+
readonly [x: string]: number;
|
|
474
|
+
}[];
|
|
475
|
+
};
|
|
387
476
|
};
|
|
388
477
|
readonly boundary?: {
|
|
389
478
|
readonly kind: "change";
|
|
@@ -397,6 +486,22 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
397
486
|
}[];
|
|
398
487
|
readonly truncated: boolean;
|
|
399
488
|
};
|
|
489
|
+
readonly catchUp?: {
|
|
490
|
+
readonly from: string;
|
|
491
|
+
readonly head: string;
|
|
492
|
+
readonly conflicted: readonly string[];
|
|
493
|
+
readonly rewritten: readonly string[];
|
|
494
|
+
readonly changed: readonly string[];
|
|
495
|
+
readonly truncated: boolean;
|
|
496
|
+
};
|
|
497
|
+
readonly harnessHold?: {
|
|
498
|
+
readonly reason: "failed_to_start" | "out_of_quota";
|
|
499
|
+
readonly until?: string;
|
|
500
|
+
readonly scope?: "step";
|
|
501
|
+
};
|
|
502
|
+
readonly restart?: {
|
|
503
|
+
readonly reason: "login_revoked";
|
|
504
|
+
};
|
|
400
505
|
readonly failureSummary?: string;
|
|
401
506
|
};
|
|
402
507
|
}, options?: {
|
|
@@ -414,6 +519,9 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
414
519
|
readonly fencingToken: string;
|
|
415
520
|
readonly capacitySlot: string;
|
|
416
521
|
};
|
|
522
|
+
readonly crashed?: {
|
|
523
|
+
readonly reason: string;
|
|
524
|
+
};
|
|
417
525
|
}, options?: {
|
|
418
526
|
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
419
527
|
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
@@ -652,9 +760,14 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
652
760
|
readonly kind: "steer";
|
|
653
761
|
readonly messageId: string;
|
|
654
762
|
readonly text: string;
|
|
763
|
+
} | {
|
|
764
|
+
readonly kind: "secret_refused";
|
|
765
|
+
readonly reference?: string;
|
|
766
|
+
readonly host: string;
|
|
767
|
+
readonly reason: string;
|
|
655
768
|
} | {
|
|
656
769
|
readonly kind: "lifecycle";
|
|
657
|
-
readonly state: "canceled" | "failed" | "finished" | "resumed" | "started";
|
|
770
|
+
readonly state: "canceled" | "failed" | "finished" | "parked" | "resumed" | "started";
|
|
658
771
|
};
|
|
659
772
|
}[];
|
|
660
773
|
}, options?: {
|
|
@@ -901,6 +1014,10 @@ export declare const makeRunnerRpcClient: (options: ConnectionOptions) => Effect
|
|
|
901
1014
|
};
|
|
902
1015
|
}[], Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
903
1016
|
forgetCheckpoints: (stepAttemptIds: readonly string[]) => Effect.Effect<void, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1017
|
+
gitCredential: (repoBindingId: string) => Effect.Effect<{
|
|
1018
|
+
readonly username: string;
|
|
1019
|
+
readonly password: string;
|
|
1020
|
+
} | undefined, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
904
1021
|
/** Delivers the replica's signals until the stream ends or fails. */
|
|
905
1022
|
listen: (runnerReplicaId: string, onSignal: (signal: RunnerSignal) => Effect.Effect<void>) => Effect.Effect<void, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
906
1023
|
}, never, import("effect/Scope").Scope>;
|
|
@@ -1010,11 +1127,19 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1010
1127
|
readonly step: string;
|
|
1011
1128
|
readonly prompt: string;
|
|
1012
1129
|
readonly options?: readonly string[] | undefined;
|
|
1130
|
+
readonly optionDescriptions?: {
|
|
1131
|
+
readonly [x: string]: string;
|
|
1132
|
+
} | undefined;
|
|
1133
|
+
readonly recommended?: string | undefined;
|
|
1134
|
+
readonly recommendationReason?: string | undefined;
|
|
1135
|
+
readonly informationOnly?: boolean | undefined;
|
|
1013
1136
|
readonly verification?: {
|
|
1014
1137
|
readonly name: string;
|
|
1015
1138
|
readonly command: string;
|
|
1016
1139
|
readonly workingDirectory?: string | undefined;
|
|
1017
1140
|
} | undefined;
|
|
1141
|
+
readonly default?: string | undefined;
|
|
1142
|
+
readonly timeoutMillis?: number | undefined;
|
|
1018
1143
|
readonly deferredName: string;
|
|
1019
1144
|
}, options?: {
|
|
1020
1145
|
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
@@ -1059,8 +1184,11 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1059
1184
|
readonly role: string;
|
|
1060
1185
|
readonly agentId: string;
|
|
1061
1186
|
readonly prompt: string;
|
|
1187
|
+
readonly skill?: string;
|
|
1062
1188
|
readonly outputSchema: unknown;
|
|
1063
1189
|
readonly secrets?: readonly string[];
|
|
1190
|
+
readonly timeoutMillis?: number;
|
|
1191
|
+
readonly mergeTarget?: string;
|
|
1064
1192
|
}, options?: {
|
|
1065
1193
|
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1066
1194
|
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
@@ -1084,6 +1212,29 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1084
1212
|
readonly deferredName: string;
|
|
1085
1213
|
readonly revision?: string;
|
|
1086
1214
|
readonly checks?: readonly string[] | undefined;
|
|
1215
|
+
readonly suggested?: readonly {
|
|
1216
|
+
readonly name: string;
|
|
1217
|
+
readonly command: string;
|
|
1218
|
+
readonly workingDirectory?: string;
|
|
1219
|
+
readonly suggested?: boolean;
|
|
1220
|
+
}[];
|
|
1221
|
+
readonly measure?: {
|
|
1222
|
+
readonly base?: string;
|
|
1223
|
+
readonly plan: {
|
|
1224
|
+
readonly command: string;
|
|
1225
|
+
readonly prepare?: string;
|
|
1226
|
+
readonly workingDirectory?: string;
|
|
1227
|
+
readonly warmup?: number;
|
|
1228
|
+
readonly metrics: readonly {
|
|
1229
|
+
readonly name: string;
|
|
1230
|
+
readonly direction: "higher" | "lower";
|
|
1231
|
+
readonly role: "guardrail" | "primary";
|
|
1232
|
+
readonly lowVariance?: boolean;
|
|
1233
|
+
}[];
|
|
1234
|
+
};
|
|
1235
|
+
readonly samples: number;
|
|
1236
|
+
readonly calibrate: boolean;
|
|
1237
|
+
};
|
|
1087
1238
|
}, options?: {
|
|
1088
1239
|
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1089
1240
|
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
@@ -1110,6 +1261,33 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1110
1261
|
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | null)[] | null;
|
|
1111
1262
|
} | undefined;
|
|
1112
1263
|
readonly timeoutMillis: number;
|
|
1264
|
+
readonly since?: string;
|
|
1265
|
+
readonly or?: readonly {
|
|
1266
|
+
readonly event: string;
|
|
1267
|
+
readonly filter?: {
|
|
1268
|
+
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | null)[] | null;
|
|
1269
|
+
};
|
|
1270
|
+
readonly since?: string;
|
|
1271
|
+
}[];
|
|
1272
|
+
}, options?: {
|
|
1273
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1274
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1275
|
+
readonly discard?: Discard | undefined;
|
|
1276
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : void, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<void, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1277
|
+
claimResource: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1278
|
+
readonly lease: {
|
|
1279
|
+
readonly workUnitId: string;
|
|
1280
|
+
readonly leaseOwnerId: string;
|
|
1281
|
+
readonly runnerReplicaId: string;
|
|
1282
|
+
readonly leaseId: string;
|
|
1283
|
+
readonly attempt: number;
|
|
1284
|
+
readonly fencingToken: string;
|
|
1285
|
+
readonly capacitySlot: string;
|
|
1286
|
+
};
|
|
1287
|
+
readonly step: string;
|
|
1288
|
+
readonly deferredName: string;
|
|
1289
|
+
readonly resource: string;
|
|
1290
|
+
readonly action: "claim" | "let_go" | "take_over";
|
|
1113
1291
|
}, options?: {
|
|
1114
1292
|
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1115
1293
|
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
@@ -1358,6 +1536,13 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1358
1536
|
readonly kind: "post_comment";
|
|
1359
1537
|
readonly changeRequestId: string;
|
|
1360
1538
|
readonly body: string;
|
|
1539
|
+
readonly threadId?: string;
|
|
1540
|
+
readonly summary?: string;
|
|
1541
|
+
readonly anchors?: readonly {
|
|
1542
|
+
readonly file: string;
|
|
1543
|
+
readonly line: number;
|
|
1544
|
+
readonly body: string;
|
|
1545
|
+
}[];
|
|
1361
1546
|
} | {
|
|
1362
1547
|
readonly kind: "change_request";
|
|
1363
1548
|
readonly title: string;
|
|
@@ -1391,13 +1576,14 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1391
1576
|
readonly fencingToken: string;
|
|
1392
1577
|
readonly capacitySlot: string;
|
|
1393
1578
|
};
|
|
1579
|
+
readonly projectId?: string;
|
|
1394
1580
|
readonly tickets: readonly {
|
|
1395
1581
|
readonly key: string;
|
|
1396
1582
|
readonly title: string;
|
|
1397
1583
|
readonly body: string;
|
|
1398
1584
|
readonly acceptanceCriteria: readonly string[];
|
|
1399
1585
|
readonly blockedBy: readonly string[];
|
|
1400
|
-
readonly outcome?: "bug" | "docs" | "feature" | "investigation" | "migration" | "refactor";
|
|
1586
|
+
readonly outcome?: "bug" | "docs" | "feature" | "investigation" | "migration" | "performance" | "refactor";
|
|
1401
1587
|
}[];
|
|
1402
1588
|
}, options?: {
|
|
1403
1589
|
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
@@ -1410,6 +1596,43 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1410
1596
|
readonly key: string;
|
|
1411
1597
|
readonly taskId: string;
|
|
1412
1598
|
}[], Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1599
|
+
alertTask: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1600
|
+
readonly lease: {
|
|
1601
|
+
readonly workUnitId: string;
|
|
1602
|
+
readonly leaseOwnerId: string;
|
|
1603
|
+
readonly runnerReplicaId: string;
|
|
1604
|
+
readonly leaseId: string;
|
|
1605
|
+
readonly attempt: number;
|
|
1606
|
+
readonly fencingToken: string;
|
|
1607
|
+
readonly capacitySlot: string;
|
|
1608
|
+
};
|
|
1609
|
+
readonly step: string;
|
|
1610
|
+
readonly fingerprint: string;
|
|
1611
|
+
readonly title: string;
|
|
1612
|
+
readonly windowHours: number;
|
|
1613
|
+
readonly resolved?: boolean;
|
|
1614
|
+
readonly priority?: "high" | "low" | "medium" | "urgent";
|
|
1615
|
+
}, options?: {
|
|
1616
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1617
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1618
|
+
readonly discard?: Discard | undefined;
|
|
1619
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
1620
|
+
readonly taskId?: string;
|
|
1621
|
+
readonly created: boolean;
|
|
1622
|
+
readonly resolved?: boolean;
|
|
1623
|
+
readonly joined?: {
|
|
1624
|
+
readonly kind: "recent" | "run";
|
|
1625
|
+
readonly runId: string;
|
|
1626
|
+
};
|
|
1627
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1628
|
+
readonly taskId?: string;
|
|
1629
|
+
readonly created: boolean;
|
|
1630
|
+
readonly resolved?: boolean;
|
|
1631
|
+
readonly joined?: {
|
|
1632
|
+
readonly kind: "recent" | "run";
|
|
1633
|
+
readonly runId: string;
|
|
1634
|
+
};
|
|
1635
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1413
1636
|
readTranscripts: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1414
1637
|
readonly lease: {
|
|
1415
1638
|
readonly workUnitId: string;
|
|
@@ -1430,8 +1653,10 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1430
1653
|
readonly runs: readonly {
|
|
1431
1654
|
readonly runId: string;
|
|
1432
1655
|
readonly loopId: string;
|
|
1656
|
+
readonly status?: "canceled" | "completed" | "expired" | "failed";
|
|
1433
1657
|
readonly teamId?: string;
|
|
1434
1658
|
readonly failure?: string;
|
|
1659
|
+
readonly retried?: boolean;
|
|
1435
1660
|
readonly entries: readonly {
|
|
1436
1661
|
readonly stepAttemptId: string;
|
|
1437
1662
|
readonly sequence: number;
|
|
@@ -1443,8 +1668,10 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1443
1668
|
readonly runs: readonly {
|
|
1444
1669
|
readonly runId: string;
|
|
1445
1670
|
readonly loopId: string;
|
|
1671
|
+
readonly status?: "canceled" | "completed" | "expired" | "failed";
|
|
1446
1672
|
readonly teamId?: string;
|
|
1447
1673
|
readonly failure?: string;
|
|
1674
|
+
readonly retried?: boolean;
|
|
1448
1675
|
readonly entries: readonly {
|
|
1449
1676
|
readonly stepAttemptId: string;
|
|
1450
1677
|
readonly sequence: number;
|
|
@@ -1453,6 +1680,181 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1453
1680
|
}[];
|
|
1454
1681
|
}[];
|
|
1455
1682
|
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1683
|
+
pipelineStatus: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1684
|
+
readonly lease: {
|
|
1685
|
+
readonly workUnitId: string;
|
|
1686
|
+
readonly leaseOwnerId: string;
|
|
1687
|
+
readonly runnerReplicaId: string;
|
|
1688
|
+
readonly leaseId: string;
|
|
1689
|
+
readonly attempt: number;
|
|
1690
|
+
readonly fencingToken: string;
|
|
1691
|
+
readonly capacitySlot: string;
|
|
1692
|
+
};
|
|
1693
|
+
readonly step: string;
|
|
1694
|
+
readonly changeRequestId: string;
|
|
1695
|
+
}, options?: {
|
|
1696
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1697
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1698
|
+
readonly discard?: Discard | undefined;
|
|
1699
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
1700
|
+
readonly head: string;
|
|
1701
|
+
readonly status: "canceled" | "failed" | "none" | "running" | "success";
|
|
1702
|
+
readonly source: "forge" | "reported";
|
|
1703
|
+
readonly jobs: readonly {
|
|
1704
|
+
readonly name: string;
|
|
1705
|
+
readonly status: "failed" | "running" | "skipped" | "success";
|
|
1706
|
+
readonly url?: string;
|
|
1707
|
+
readonly logTail?: string;
|
|
1708
|
+
}[];
|
|
1709
|
+
readonly readAt?: string;
|
|
1710
|
+
readonly runnerChecks?: readonly string[];
|
|
1711
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1712
|
+
readonly head: string;
|
|
1713
|
+
readonly status: "canceled" | "failed" | "none" | "running" | "success";
|
|
1714
|
+
readonly source: "forge" | "reported";
|
|
1715
|
+
readonly jobs: readonly {
|
|
1716
|
+
readonly name: string;
|
|
1717
|
+
readonly status: "failed" | "running" | "skipped" | "success";
|
|
1718
|
+
readonly url?: string;
|
|
1719
|
+
readonly logTail?: string;
|
|
1720
|
+
}[];
|
|
1721
|
+
readonly readAt?: string;
|
|
1722
|
+
readonly runnerChecks?: readonly string[];
|
|
1723
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1724
|
+
reportPipeline: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1725
|
+
readonly lease: {
|
|
1726
|
+
readonly workUnitId: string;
|
|
1727
|
+
readonly leaseOwnerId: string;
|
|
1728
|
+
readonly runnerReplicaId: string;
|
|
1729
|
+
readonly leaseId: string;
|
|
1730
|
+
readonly attempt: number;
|
|
1731
|
+
readonly fencingToken: string;
|
|
1732
|
+
readonly capacitySlot: string;
|
|
1733
|
+
};
|
|
1734
|
+
readonly step: string;
|
|
1735
|
+
readonly changeRequestId: string;
|
|
1736
|
+
readonly verification: string;
|
|
1737
|
+
}, options?: {
|
|
1738
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1739
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1740
|
+
readonly discard?: Discard | undefined;
|
|
1741
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
1742
|
+
readonly head: string;
|
|
1743
|
+
readonly status: "failed" | "success";
|
|
1744
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1745
|
+
readonly head: string;
|
|
1746
|
+
readonly status: "failed" | "success";
|
|
1747
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1748
|
+
reviewThreads: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1749
|
+
readonly lease: {
|
|
1750
|
+
readonly workUnitId: string;
|
|
1751
|
+
readonly leaseOwnerId: string;
|
|
1752
|
+
readonly runnerReplicaId: string;
|
|
1753
|
+
readonly leaseId: string;
|
|
1754
|
+
readonly attempt: number;
|
|
1755
|
+
readonly fencingToken: string;
|
|
1756
|
+
readonly capacitySlot: string;
|
|
1757
|
+
};
|
|
1758
|
+
readonly step: string;
|
|
1759
|
+
readonly changeRequestId: string;
|
|
1760
|
+
}, options?: {
|
|
1761
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1762
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1763
|
+
readonly discard?: Discard | undefined;
|
|
1764
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
1765
|
+
readonly threads: readonly {
|
|
1766
|
+
readonly id: string;
|
|
1767
|
+
readonly path?: string;
|
|
1768
|
+
readonly line?: number;
|
|
1769
|
+
readonly outdated?: boolean;
|
|
1770
|
+
readonly comments: readonly {
|
|
1771
|
+
readonly author?: string;
|
|
1772
|
+
readonly body: string;
|
|
1773
|
+
}[];
|
|
1774
|
+
}[];
|
|
1775
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1776
|
+
readonly threads: readonly {
|
|
1777
|
+
readonly id: string;
|
|
1778
|
+
readonly path?: string;
|
|
1779
|
+
readonly line?: number;
|
|
1780
|
+
readonly outdated?: boolean;
|
|
1781
|
+
readonly comments: readonly {
|
|
1782
|
+
readonly author?: string;
|
|
1783
|
+
readonly body: string;
|
|
1784
|
+
}[];
|
|
1785
|
+
}[];
|
|
1786
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1787
|
+
openChangeRequests: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1788
|
+
readonly lease: {
|
|
1789
|
+
readonly workUnitId: string;
|
|
1790
|
+
readonly leaseOwnerId: string;
|
|
1791
|
+
readonly runnerReplicaId: string;
|
|
1792
|
+
readonly leaseId: string;
|
|
1793
|
+
readonly attempt: number;
|
|
1794
|
+
readonly fencingToken: string;
|
|
1795
|
+
readonly capacitySlot: string;
|
|
1796
|
+
};
|
|
1797
|
+
readonly step: string;
|
|
1798
|
+
readonly authors: readonly [string, ...string[]];
|
|
1799
|
+
}, options?: {
|
|
1800
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1801
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1802
|
+
readonly discard?: Discard | undefined;
|
|
1803
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
1804
|
+
readonly changeRequests: readonly {
|
|
1805
|
+
readonly number: string;
|
|
1806
|
+
readonly title: string;
|
|
1807
|
+
readonly body: string;
|
|
1808
|
+
readonly url: string;
|
|
1809
|
+
readonly author: string;
|
|
1810
|
+
readonly sourceBranch: string;
|
|
1811
|
+
readonly head: string;
|
|
1812
|
+
}[];
|
|
1813
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1814
|
+
readonly changeRequests: readonly {
|
|
1815
|
+
readonly number: string;
|
|
1816
|
+
readonly title: string;
|
|
1817
|
+
readonly body: string;
|
|
1818
|
+
readonly url: string;
|
|
1819
|
+
readonly author: string;
|
|
1820
|
+
readonly sourceBranch: string;
|
|
1821
|
+
readonly head: string;
|
|
1822
|
+
}[];
|
|
1823
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1824
|
+
ownChangeRequests: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1825
|
+
readonly lease: {
|
|
1826
|
+
readonly workUnitId: string;
|
|
1827
|
+
readonly leaseOwnerId: string;
|
|
1828
|
+
readonly runnerReplicaId: string;
|
|
1829
|
+
readonly leaseId: string;
|
|
1830
|
+
readonly attempt: number;
|
|
1831
|
+
readonly fencingToken: string;
|
|
1832
|
+
readonly capacitySlot: string;
|
|
1833
|
+
};
|
|
1834
|
+
readonly step: string;
|
|
1835
|
+
}, options?: {
|
|
1836
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1837
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1838
|
+
readonly discard?: Discard | undefined;
|
|
1839
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
1840
|
+
readonly changeRequests: readonly {
|
|
1841
|
+
readonly id: string;
|
|
1842
|
+
readonly number: string;
|
|
1843
|
+
readonly url: string;
|
|
1844
|
+
readonly title: string;
|
|
1845
|
+
readonly sourceBranch: string;
|
|
1846
|
+
readonly body: string;
|
|
1847
|
+
}[];
|
|
1848
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1849
|
+
readonly changeRequests: readonly {
|
|
1850
|
+
readonly id: string;
|
|
1851
|
+
readonly number: string;
|
|
1852
|
+
readonly url: string;
|
|
1853
|
+
readonly title: string;
|
|
1854
|
+
readonly sourceBranch: string;
|
|
1855
|
+
readonly body: string;
|
|
1856
|
+
}[];
|
|
1857
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1456
1858
|
propose: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1457
1859
|
readonly lease: {
|
|
1458
1860
|
readonly workUnitId: string;
|
|
@@ -1482,6 +1884,7 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1482
1884
|
readonly title: string;
|
|
1483
1885
|
readonly description: string;
|
|
1484
1886
|
readonly teamId?: string;
|
|
1887
|
+
readonly key?: string;
|
|
1485
1888
|
readonly citations: readonly [{
|
|
1486
1889
|
readonly runId: string;
|
|
1487
1890
|
readonly stepAttemptId: string;
|
|
@@ -1499,9 +1902,11 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1499
1902
|
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
1500
1903
|
readonly kind: "memory" | "task";
|
|
1501
1904
|
readonly id: string;
|
|
1905
|
+
readonly matched?: boolean;
|
|
1502
1906
|
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1503
1907
|
readonly kind: "memory" | "task";
|
|
1504
1908
|
readonly id: string;
|
|
1909
|
+
readonly matched?: boolean;
|
|
1505
1910
|
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1506
1911
|
readProject: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1507
1912
|
readonly lease: {
|
|
@@ -1638,6 +2043,7 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1638
2043
|
};
|
|
1639
2044
|
readonly step: string;
|
|
1640
2045
|
readonly changeRequestId: string;
|
|
2046
|
+
readonly head?: string;
|
|
1641
2047
|
}, options?: {
|
|
1642
2048
|
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1643
2049
|
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
@@ -1647,11 +2053,100 @@ export declare const makeProgramRpcClient: (options: ConnectionOptions) => Effec
|
|
|
1647
2053
|
readonly revision: string;
|
|
1648
2054
|
} | {
|
|
1649
2055
|
readonly status: "conflict";
|
|
2056
|
+
} | {
|
|
2057
|
+
readonly status: "moved";
|
|
2058
|
+
readonly head: string;
|
|
1650
2059
|
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1651
2060
|
readonly status: "merged";
|
|
1652
2061
|
readonly revision: string;
|
|
1653
2062
|
} | {
|
|
1654
2063
|
readonly status: "conflict";
|
|
2064
|
+
} | {
|
|
2065
|
+
readonly status: "moved";
|
|
2066
|
+
readonly head: string;
|
|
2067
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
2068
|
+
closeChangeRequest: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
2069
|
+
readonly lease: {
|
|
2070
|
+
readonly workUnitId: string;
|
|
2071
|
+
readonly leaseOwnerId: string;
|
|
2072
|
+
readonly runnerReplicaId: string;
|
|
2073
|
+
readonly leaseId: string;
|
|
2074
|
+
readonly attempt: number;
|
|
2075
|
+
readonly fencingToken: string;
|
|
2076
|
+
readonly capacitySlot: string;
|
|
2077
|
+
};
|
|
2078
|
+
readonly step: string;
|
|
2079
|
+
readonly number: string;
|
|
2080
|
+
readonly head: string;
|
|
2081
|
+
readonly note: string;
|
|
2082
|
+
}, options?: {
|
|
2083
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
2084
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
2085
|
+
readonly discard?: Discard | undefined;
|
|
2086
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
2087
|
+
readonly closed: boolean;
|
|
2088
|
+
readonly head?: string;
|
|
2089
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
2090
|
+
readonly closed: boolean;
|
|
2091
|
+
readonly head?: string;
|
|
2092
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
2093
|
+
approveChangeRequest: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
2094
|
+
readonly lease: {
|
|
2095
|
+
readonly workUnitId: string;
|
|
2096
|
+
readonly leaseOwnerId: string;
|
|
2097
|
+
readonly runnerReplicaId: string;
|
|
2098
|
+
readonly leaseId: string;
|
|
2099
|
+
readonly attempt: number;
|
|
2100
|
+
readonly fencingToken: string;
|
|
2101
|
+
readonly capacitySlot: string;
|
|
2102
|
+
};
|
|
2103
|
+
readonly step: string;
|
|
2104
|
+
readonly changeRequestId: string;
|
|
2105
|
+
readonly head: string;
|
|
2106
|
+
readonly summary: string;
|
|
2107
|
+
readonly review?: string;
|
|
2108
|
+
readonly carries?: string;
|
|
2109
|
+
}, options?: {
|
|
2110
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
2111
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
2112
|
+
readonly discard?: Discard | undefined;
|
|
2113
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
2114
|
+
readonly approved: true;
|
|
2115
|
+
readonly reviewId: string;
|
|
2116
|
+
} | {
|
|
2117
|
+
readonly approved: false;
|
|
2118
|
+
readonly reason: string;
|
|
2119
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
2120
|
+
readonly approved: true;
|
|
2121
|
+
readonly reviewId: string;
|
|
2122
|
+
} | {
|
|
2123
|
+
readonly approved: false;
|
|
2124
|
+
readonly reason: string;
|
|
2125
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
2126
|
+
rerunPipeline: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
2127
|
+
readonly lease: {
|
|
2128
|
+
readonly workUnitId: string;
|
|
2129
|
+
readonly leaseOwnerId: string;
|
|
2130
|
+
readonly runnerReplicaId: string;
|
|
2131
|
+
readonly leaseId: string;
|
|
2132
|
+
readonly attempt: number;
|
|
2133
|
+
readonly fencingToken: string;
|
|
2134
|
+
readonly capacitySlot: string;
|
|
2135
|
+
};
|
|
2136
|
+
readonly step: string;
|
|
2137
|
+
readonly changeRequestId?: string;
|
|
2138
|
+
readonly ref?: string;
|
|
2139
|
+
readonly all?: boolean;
|
|
2140
|
+
}, options?: {
|
|
2141
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
2142
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
2143
|
+
readonly discard?: Discard | undefined;
|
|
2144
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
2145
|
+
readonly head: string;
|
|
2146
|
+
readonly pipelines: number;
|
|
2147
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
2148
|
+
readonly head: string;
|
|
2149
|
+
readonly pipelines: number;
|
|
1655
2150
|
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1656
2151
|
publishRelease: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1657
2152
|
readonly lease: {
|