@kitman-sh/sdk 0.7.5 → 0.8.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/dist/build/index.js +10 -11
- package/dist/{chunk-72z6zbfz.js → chunk-160ww64c.js} +668 -185
- package/dist/{chunk-8byx9rx2.js → chunk-36jhc745.js} +195 -76
- package/dist/loop/index.js +43 -1
- package/dist/program/index.js +7 -3
- package/package.json +3 -1
- package/types/packages/core/src/agent-capabilities.d.ts +68 -74
- package/types/packages/core/src/agent-environment.d.ts +26 -26
- package/types/packages/core/src/agent-launch-snapshot.d.ts +1 -1
- package/types/packages/core/src/agent-sandbox-policy.d.ts +15 -0
- package/types/packages/core/src/approval-queue.d.ts +4 -4
- package/types/packages/core/src/audit.d.ts +1 -1
- package/types/packages/core/src/change-delivery.d.ts +1 -1
- package/types/packages/core/src/change-request-review.d.ts +199 -7
- package/types/packages/core/src/change-request.d.ts +43 -12
- package/types/packages/core/src/connection.d.ts +1 -1
- package/types/packages/core/src/context-feedback.d.ts +8 -8
- package/types/packages/core/src/context-pack.d.ts +8 -8
- package/types/packages/core/src/crypto.d.ts +5 -0
- package/types/packages/core/src/data-lifecycle.d.ts +12 -12
- package/types/packages/core/src/decision.d.ts +2 -2
- package/types/packages/core/src/delivery-policy.d.ts +3 -3
- package/types/packages/core/src/enterprise-forge.d.ts +19 -0
- package/types/packages/core/src/epic-delivery.d.ts +1 -1
- package/types/packages/core/src/external-effect.d.ts +2 -2
- package/types/packages/core/src/global-search.d.ts +1 -1
- package/types/packages/core/src/index.d.ts +8 -2
- package/types/packages/core/src/integration.d.ts +58 -57
- package/types/packages/core/src/kit.d.ts +47 -47
- package/types/packages/core/src/live.d.ts +684 -781
- package/types/packages/core/src/loop-layers.d.ts +1 -1
- package/types/packages/core/src/loop-version.d.ts +1 -1
- package/types/packages/core/src/loop.d.ts +73 -67
- package/types/packages/core/src/marketplace.d.ts +127 -0
- package/types/packages/core/src/memory.d.ts +17 -12
- package/types/packages/core/src/my-teams.d.ts +65 -32
- package/types/packages/core/src/notification.d.ts +73 -12
- package/types/packages/core/src/owner.d.ts +15 -0
- package/types/packages/core/src/package-declarations.d.ts +73 -32
- package/types/packages/core/src/package.d.ts +22 -22
- package/types/packages/core/src/personal-development-profile.d.ts +2 -2
- package/types/packages/core/src/proposal.d.ts +25 -25
- package/types/packages/core/src/redaction.d.ts +2 -1
- package/types/packages/core/src/repo-binding.d.ts +19 -10
- package/types/packages/core/src/run-display.d.ts +1 -1
- package/types/packages/core/src/run-file.d.ts +190 -0
- package/types/packages/core/src/run-launch.d.ts +7 -5
- package/types/packages/core/src/run.d.ts +9 -9
- package/types/packages/core/src/runner-eligibility.d.ts +4 -4
- package/types/packages/core/src/runner.d.ts +339 -111
- package/types/packages/core/src/schedule.d.ts +2 -2
- package/types/packages/core/src/scope-directory.d.ts +5 -5
- package/types/packages/core/src/secret.d.ts +9 -9
- package/types/packages/core/src/session.d.ts +2 -2
- package/types/packages/core/src/step-brief.d.ts +10 -3
- package/types/packages/core/src/storage.d.ts +49 -0
- package/types/packages/core/src/sync-kit.d.ts +25 -25
- package/types/packages/core/src/task-detail.d.ts +20 -13
- package/types/packages/core/src/task-execution-record.d.ts +6 -6
- package/types/packages/core/src/task.d.ts +52 -16
- package/types/packages/core/src/team-context.d.ts +33 -0
- package/types/packages/core/src/transcript.d.ts +230 -0
- package/types/packages/core/src/trigger-dispatch.d.ts +2 -2
- package/types/packages/core/src/trust-panel.d.ts +27 -0
- package/types/packages/core/src/work-unit.d.ts +44 -18
- package/types/packages/core/src/workspace.d.ts +77 -6
- package/types/packages/live/src/rpc/runner-client.d.ts +586 -15
- package/types/packages/live/src/rpc/runner-group.d.ts +623 -267
- package/types/packages/sdk/src/loop/activities.d.ts +208 -1
- package/types/packages/sdk/src/loop/config.d.ts +1 -1
- package/types/packages/sdk/src/loop/define.d.ts +8 -2
- package/types/packages/sdk/src/loop/plan.d.ts +2 -2
- package/types/packages/sdk/src/loop/steps.d.ts +2 -2
- package/types/packages/sdk/src/loop/test-loop.d.ts +6 -1
- package/types/packages/sdk/src/program/engine.d.ts +71 -3
- package/types/packages/sdk/src/program/host.d.ts +13 -1
- package/types/packages/core/src/enterprise-code-host.d.ts +0 -18
- package/types/packages/core/src/project.d.ts +0 -66
|
@@ -17,7 +17,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
17
17
|
readonly protocol: Layer.Layer<RpcClient.Protocol>;
|
|
18
18
|
}) => Effect.Effect<{
|
|
19
19
|
claim: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
20
|
-
readonly
|
|
20
|
+
readonly teamId?: string;
|
|
21
21
|
readonly runnerReplicaId: string;
|
|
22
22
|
readonly capacitySlot: string;
|
|
23
23
|
readonly idempotencyKey: string;
|
|
@@ -30,7 +30,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
30
30
|
readonly workUnit?: {
|
|
31
31
|
readonly kind: "orchestration";
|
|
32
32
|
readonly id: string;
|
|
33
|
-
readonly
|
|
33
|
+
readonly teamId?: string;
|
|
34
34
|
readonly runId: string;
|
|
35
35
|
readonly loopDigest: string;
|
|
36
36
|
readonly input: unknown;
|
|
@@ -56,6 +56,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
56
56
|
readonly network?: "open" | {
|
|
57
57
|
readonly hosts: readonly string[];
|
|
58
58
|
};
|
|
59
|
+
readonly storageOrigin?: string;
|
|
59
60
|
readonly program: {
|
|
60
61
|
readonly loopId: string;
|
|
61
62
|
readonly credential: string;
|
|
@@ -63,7 +64,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
63
64
|
} | {
|
|
64
65
|
readonly kind: "agent_step";
|
|
65
66
|
readonly id: string;
|
|
66
|
-
readonly
|
|
67
|
+
readonly teamId?: string;
|
|
67
68
|
readonly runId: string;
|
|
68
69
|
readonly stepKey: string;
|
|
69
70
|
readonly attempt: number;
|
|
@@ -103,7 +104,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
103
104
|
readonly checkout: "none" | "read" | "write";
|
|
104
105
|
readonly repoBinding?: {
|
|
105
106
|
readonly id: string;
|
|
106
|
-
readonly provider: "generic_git" | "github" | "gitlab";
|
|
107
|
+
readonly provider: "azure-devops" | "bitbucket" | "forgejo" | "generic_git" | "gitea" | "gitee" | "github" | "gitlab";
|
|
107
108
|
readonly host: string;
|
|
108
109
|
readonly owner: string;
|
|
109
110
|
readonly name: string;
|
|
@@ -123,10 +124,11 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
123
124
|
readonly [x: string]: string;
|
|
124
125
|
};
|
|
125
126
|
readonly runBaseRevision?: string;
|
|
127
|
+
readonly storageOrigin?: string;
|
|
126
128
|
} | {
|
|
127
129
|
readonly kind: "verification";
|
|
128
130
|
readonly id: string;
|
|
129
|
-
readonly
|
|
131
|
+
readonly teamId?: string;
|
|
130
132
|
readonly runId: string;
|
|
131
133
|
readonly stepKey: string;
|
|
132
134
|
readonly lease: {
|
|
@@ -141,7 +143,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
141
143
|
};
|
|
142
144
|
readonly repoBinding: {
|
|
143
145
|
readonly id: string;
|
|
144
|
-
readonly provider: "generic_git" | "github" | "gitlab";
|
|
146
|
+
readonly provider: "azure-devops" | "bitbucket" | "forgejo" | "generic_git" | "gitea" | "gitee" | "github" | "gitlab";
|
|
145
147
|
readonly host: string;
|
|
146
148
|
readonly owner: string;
|
|
147
149
|
readonly name: string;
|
|
@@ -157,12 +159,13 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
157
159
|
readonly command: string;
|
|
158
160
|
readonly workingDirectory?: string;
|
|
159
161
|
}[];
|
|
162
|
+
readonly storageOrigin?: string;
|
|
160
163
|
};
|
|
161
164
|
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
162
165
|
readonly workUnit?: {
|
|
163
166
|
readonly kind: "orchestration";
|
|
164
167
|
readonly id: string;
|
|
165
|
-
readonly
|
|
168
|
+
readonly teamId?: string;
|
|
166
169
|
readonly runId: string;
|
|
167
170
|
readonly loopDigest: string;
|
|
168
171
|
readonly input: unknown;
|
|
@@ -188,6 +191,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
188
191
|
readonly network?: "open" | {
|
|
189
192
|
readonly hosts: readonly string[];
|
|
190
193
|
};
|
|
194
|
+
readonly storageOrigin?: string;
|
|
191
195
|
readonly program: {
|
|
192
196
|
readonly loopId: string;
|
|
193
197
|
readonly credential: string;
|
|
@@ -195,7 +199,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
195
199
|
} | {
|
|
196
200
|
readonly kind: "agent_step";
|
|
197
201
|
readonly id: string;
|
|
198
|
-
readonly
|
|
202
|
+
readonly teamId?: string;
|
|
199
203
|
readonly runId: string;
|
|
200
204
|
readonly stepKey: string;
|
|
201
205
|
readonly attempt: number;
|
|
@@ -235,7 +239,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
235
239
|
readonly checkout: "none" | "read" | "write";
|
|
236
240
|
readonly repoBinding?: {
|
|
237
241
|
readonly id: string;
|
|
238
|
-
readonly provider: "generic_git" | "github" | "gitlab";
|
|
242
|
+
readonly provider: "azure-devops" | "bitbucket" | "forgejo" | "generic_git" | "gitea" | "gitee" | "github" | "gitlab";
|
|
239
243
|
readonly host: string;
|
|
240
244
|
readonly owner: string;
|
|
241
245
|
readonly name: string;
|
|
@@ -255,10 +259,11 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
255
259
|
readonly [x: string]: string;
|
|
256
260
|
};
|
|
257
261
|
readonly runBaseRevision?: string;
|
|
262
|
+
readonly storageOrigin?: string;
|
|
258
263
|
} | {
|
|
259
264
|
readonly kind: "verification";
|
|
260
265
|
readonly id: string;
|
|
261
|
-
readonly
|
|
266
|
+
readonly teamId?: string;
|
|
262
267
|
readonly runId: string;
|
|
263
268
|
readonly stepKey: string;
|
|
264
269
|
readonly lease: {
|
|
@@ -273,7 +278,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
273
278
|
};
|
|
274
279
|
readonly repoBinding: {
|
|
275
280
|
readonly id: string;
|
|
276
|
-
readonly provider: "generic_git" | "github" | "gitlab";
|
|
281
|
+
readonly provider: "azure-devops" | "bitbucket" | "forgejo" | "generic_git" | "gitea" | "gitee" | "github" | "gitlab";
|
|
277
282
|
readonly host: string;
|
|
278
283
|
readonly owner: string;
|
|
279
284
|
readonly name: string;
|
|
@@ -289,6 +294,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
289
294
|
readonly command: string;
|
|
290
295
|
readonly workingDirectory?: string;
|
|
291
296
|
}[];
|
|
297
|
+
readonly storageOrigin?: string;
|
|
292
298
|
};
|
|
293
299
|
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
294
300
|
heartbeat: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
@@ -361,6 +367,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
361
367
|
readonly exitCode?: number;
|
|
362
368
|
readonly durationMs: number;
|
|
363
369
|
readonly outputTail: string;
|
|
370
|
+
readonly fileIds?: readonly string[];
|
|
364
371
|
}[];
|
|
365
372
|
};
|
|
366
373
|
readonly baseline?: {
|
|
@@ -373,6 +380,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
373
380
|
readonly exitCode?: number;
|
|
374
381
|
readonly durationMs: number;
|
|
375
382
|
readonly outputTail: string;
|
|
383
|
+
readonly fileIds?: readonly string[];
|
|
376
384
|
}[];
|
|
377
385
|
};
|
|
378
386
|
};
|
|
@@ -680,6 +688,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
680
688
|
readonly title: string;
|
|
681
689
|
readonly text: string;
|
|
682
690
|
readonly data?: unknown;
|
|
691
|
+
readonly fileIds?: readonly string[] | undefined;
|
|
683
692
|
}, options?: {
|
|
684
693
|
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
685
694
|
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
@@ -689,6 +698,168 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
689
698
|
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
690
699
|
readonly artifactId: string;
|
|
691
700
|
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
701
|
+
createRunFile: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
702
|
+
readonly lease: {
|
|
703
|
+
readonly workUnitId: string;
|
|
704
|
+
readonly leaseOwnerId: string;
|
|
705
|
+
readonly runnerReplicaId: string;
|
|
706
|
+
readonly leaseId: string;
|
|
707
|
+
readonly attempt: number;
|
|
708
|
+
readonly fencingToken: string;
|
|
709
|
+
readonly capacitySlot: string;
|
|
710
|
+
};
|
|
711
|
+
readonly step: string;
|
|
712
|
+
readonly name: string;
|
|
713
|
+
readonly caption?: string | undefined;
|
|
714
|
+
readonly contentType: string;
|
|
715
|
+
readonly byteSize: number;
|
|
716
|
+
readonly sha256: string;
|
|
717
|
+
}, options?: {
|
|
718
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
719
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
720
|
+
readonly discard?: Discard | undefined;
|
|
721
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
722
|
+
readonly file: {
|
|
723
|
+
readonly id: string;
|
|
724
|
+
readonly runId: string;
|
|
725
|
+
readonly step: string;
|
|
726
|
+
readonly name: string;
|
|
727
|
+
readonly caption?: string;
|
|
728
|
+
readonly contentType: string;
|
|
729
|
+
readonly kind: "html" | "image" | "other" | "text" | "video";
|
|
730
|
+
readonly byteSize: number;
|
|
731
|
+
readonly sha256: string;
|
|
732
|
+
readonly status: "available" | "expired" | "refused" | "rejected" | "removed" | "removing" | "uploading";
|
|
733
|
+
};
|
|
734
|
+
readonly upload?: {
|
|
735
|
+
readonly url: string;
|
|
736
|
+
readonly headers?: {
|
|
737
|
+
readonly [x: string]: string;
|
|
738
|
+
};
|
|
739
|
+
readonly expiresAt: string;
|
|
740
|
+
readonly kind: "single";
|
|
741
|
+
} | {
|
|
742
|
+
readonly kind: "multipart";
|
|
743
|
+
readonly partSize: number;
|
|
744
|
+
readonly parts: readonly {
|
|
745
|
+
readonly url: string;
|
|
746
|
+
readonly headers?: {
|
|
747
|
+
readonly [x: string]: string;
|
|
748
|
+
};
|
|
749
|
+
readonly expiresAt: string;
|
|
750
|
+
readonly partNumber: number;
|
|
751
|
+
}[];
|
|
752
|
+
} | undefined;
|
|
753
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("../../../core/src/index").RunFileRefused | import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
754
|
+
readonly file: {
|
|
755
|
+
readonly id: string;
|
|
756
|
+
readonly runId: string;
|
|
757
|
+
readonly step: string;
|
|
758
|
+
readonly name: string;
|
|
759
|
+
readonly caption?: string;
|
|
760
|
+
readonly contentType: string;
|
|
761
|
+
readonly kind: "html" | "image" | "other" | "text" | "video";
|
|
762
|
+
readonly byteSize: number;
|
|
763
|
+
readonly sha256: string;
|
|
764
|
+
readonly status: "available" | "expired" | "refused" | "rejected" | "removed" | "removing" | "uploading";
|
|
765
|
+
};
|
|
766
|
+
readonly upload?: {
|
|
767
|
+
readonly url: string;
|
|
768
|
+
readonly headers?: {
|
|
769
|
+
readonly [x: string]: string;
|
|
770
|
+
};
|
|
771
|
+
readonly expiresAt: string;
|
|
772
|
+
readonly kind: "single";
|
|
773
|
+
} | {
|
|
774
|
+
readonly kind: "multipart";
|
|
775
|
+
readonly partSize: number;
|
|
776
|
+
readonly parts: readonly {
|
|
777
|
+
readonly url: string;
|
|
778
|
+
readonly headers?: {
|
|
779
|
+
readonly [x: string]: string;
|
|
780
|
+
};
|
|
781
|
+
readonly expiresAt: string;
|
|
782
|
+
readonly partNumber: number;
|
|
783
|
+
}[];
|
|
784
|
+
} | undefined;
|
|
785
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("../../../core/src/index").RunFileRefused | import("./runner-group").RunnerRpcError, never>;
|
|
786
|
+
runFileParts: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
787
|
+
readonly lease: {
|
|
788
|
+
readonly workUnitId: string;
|
|
789
|
+
readonly leaseOwnerId: string;
|
|
790
|
+
readonly runnerReplicaId: string;
|
|
791
|
+
readonly leaseId: string;
|
|
792
|
+
readonly attempt: number;
|
|
793
|
+
readonly fencingToken: string;
|
|
794
|
+
readonly capacitySlot: string;
|
|
795
|
+
};
|
|
796
|
+
readonly fileId: string;
|
|
797
|
+
readonly partNumbers: readonly number[];
|
|
798
|
+
}, options?: {
|
|
799
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
800
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
801
|
+
readonly discard?: Discard | undefined;
|
|
802
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
803
|
+
readonly parts: readonly {
|
|
804
|
+
readonly url: string;
|
|
805
|
+
readonly headers?: {
|
|
806
|
+
readonly [x: string]: string;
|
|
807
|
+
};
|
|
808
|
+
readonly expiresAt: string;
|
|
809
|
+
readonly partNumber: number;
|
|
810
|
+
}[];
|
|
811
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
812
|
+
readonly parts: readonly {
|
|
813
|
+
readonly url: string;
|
|
814
|
+
readonly headers?: {
|
|
815
|
+
readonly [x: string]: string;
|
|
816
|
+
};
|
|
817
|
+
readonly expiresAt: string;
|
|
818
|
+
readonly partNumber: number;
|
|
819
|
+
}[];
|
|
820
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
821
|
+
completeRunFile: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
822
|
+
readonly lease: {
|
|
823
|
+
readonly workUnitId: string;
|
|
824
|
+
readonly leaseOwnerId: string;
|
|
825
|
+
readonly runnerReplicaId: string;
|
|
826
|
+
readonly leaseId: string;
|
|
827
|
+
readonly attempt: number;
|
|
828
|
+
readonly fencingToken: string;
|
|
829
|
+
readonly capacitySlot: string;
|
|
830
|
+
};
|
|
831
|
+
readonly fileId: string;
|
|
832
|
+
readonly parts?: readonly {
|
|
833
|
+
readonly partNumber: number;
|
|
834
|
+
readonly etag: string;
|
|
835
|
+
}[] | undefined;
|
|
836
|
+
}, options?: {
|
|
837
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
838
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
839
|
+
readonly discard?: Discard | undefined;
|
|
840
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
841
|
+
readonly id: string;
|
|
842
|
+
readonly runId: string;
|
|
843
|
+
readonly step: string;
|
|
844
|
+
readonly name: string;
|
|
845
|
+
readonly caption?: string;
|
|
846
|
+
readonly contentType: string;
|
|
847
|
+
readonly kind: "html" | "image" | "other" | "text" | "video";
|
|
848
|
+
readonly byteSize: number;
|
|
849
|
+
readonly sha256: string;
|
|
850
|
+
readonly status: "available" | "expired" | "refused" | "rejected" | "removed" | "removing" | "uploading";
|
|
851
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
852
|
+
readonly id: string;
|
|
853
|
+
readonly runId: string;
|
|
854
|
+
readonly step: string;
|
|
855
|
+
readonly name: string;
|
|
856
|
+
readonly caption?: string;
|
|
857
|
+
readonly contentType: string;
|
|
858
|
+
readonly kind: "html" | "image" | "other" | "text" | "video";
|
|
859
|
+
readonly byteSize: number;
|
|
860
|
+
readonly sha256: string;
|
|
861
|
+
readonly status: "available" | "expired" | "refused" | "rejected" | "removed" | "removing" | "uploading";
|
|
862
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
692
863
|
recordNote: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
693
864
|
readonly lease: {
|
|
694
865
|
readonly workUnitId: string;
|
|
@@ -774,6 +945,198 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
774
945
|
readonly key: string;
|
|
775
946
|
readonly taskId: string;
|
|
776
947
|
}[], Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
948
|
+
readTranscripts: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
949
|
+
readonly lease: {
|
|
950
|
+
readonly workUnitId: string;
|
|
951
|
+
readonly leaseOwnerId: string;
|
|
952
|
+
readonly runnerReplicaId: string;
|
|
953
|
+
readonly leaseId: string;
|
|
954
|
+
readonly attempt: number;
|
|
955
|
+
readonly fencingToken: string;
|
|
956
|
+
readonly capacitySlot: string;
|
|
957
|
+
};
|
|
958
|
+
readonly step: string;
|
|
959
|
+
readonly days: number;
|
|
960
|
+
}, options?: {
|
|
961
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
962
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
963
|
+
readonly discard?: Discard | undefined;
|
|
964
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
965
|
+
readonly runs: readonly {
|
|
966
|
+
readonly runId: string;
|
|
967
|
+
readonly loopId: string;
|
|
968
|
+
readonly teamId?: string;
|
|
969
|
+
readonly failure?: string;
|
|
970
|
+
readonly entries: readonly {
|
|
971
|
+
readonly stepAttemptId: string;
|
|
972
|
+
readonly sequence: number;
|
|
973
|
+
readonly kind: string;
|
|
974
|
+
readonly text: string;
|
|
975
|
+
}[];
|
|
976
|
+
}[];
|
|
977
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
978
|
+
readonly runs: readonly {
|
|
979
|
+
readonly runId: string;
|
|
980
|
+
readonly loopId: string;
|
|
981
|
+
readonly teamId?: string;
|
|
982
|
+
readonly failure?: string;
|
|
983
|
+
readonly entries: readonly {
|
|
984
|
+
readonly stepAttemptId: string;
|
|
985
|
+
readonly sequence: number;
|
|
986
|
+
readonly kind: string;
|
|
987
|
+
readonly text: string;
|
|
988
|
+
}[];
|
|
989
|
+
}[];
|
|
990
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
991
|
+
propose: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
992
|
+
readonly lease: {
|
|
993
|
+
readonly workUnitId: string;
|
|
994
|
+
readonly leaseOwnerId: string;
|
|
995
|
+
readonly runnerReplicaId: string;
|
|
996
|
+
readonly leaseId: string;
|
|
997
|
+
readonly attempt: number;
|
|
998
|
+
readonly fencingToken: string;
|
|
999
|
+
readonly capacitySlot: string;
|
|
1000
|
+
};
|
|
1001
|
+
readonly step: string;
|
|
1002
|
+
readonly proposal: {
|
|
1003
|
+
readonly kind: "memory";
|
|
1004
|
+
readonly teamId: string;
|
|
1005
|
+
readonly content: string;
|
|
1006
|
+
readonly citations: readonly [{
|
|
1007
|
+
readonly runId: string;
|
|
1008
|
+
readonly stepAttemptId: string;
|
|
1009
|
+
readonly sequence: number;
|
|
1010
|
+
}, ...{
|
|
1011
|
+
readonly runId: string;
|
|
1012
|
+
readonly stepAttemptId: string;
|
|
1013
|
+
readonly sequence: number;
|
|
1014
|
+
}[]];
|
|
1015
|
+
} | {
|
|
1016
|
+
readonly kind: "task";
|
|
1017
|
+
readonly title: string;
|
|
1018
|
+
readonly description: string;
|
|
1019
|
+
readonly teamId?: string;
|
|
1020
|
+
readonly citations: readonly [{
|
|
1021
|
+
readonly runId: string;
|
|
1022
|
+
readonly stepAttemptId: string;
|
|
1023
|
+
readonly sequence: number;
|
|
1024
|
+
}, ...{
|
|
1025
|
+
readonly runId: string;
|
|
1026
|
+
readonly stepAttemptId: string;
|
|
1027
|
+
readonly sequence: number;
|
|
1028
|
+
}[]];
|
|
1029
|
+
};
|
|
1030
|
+
}, options?: {
|
|
1031
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1032
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1033
|
+
readonly discard?: Discard | undefined;
|
|
1034
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
1035
|
+
readonly kind: "memory" | "task";
|
|
1036
|
+
readonly id: string;
|
|
1037
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1038
|
+
readonly kind: "memory" | "task";
|
|
1039
|
+
readonly id: string;
|
|
1040
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1041
|
+
readProject: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1042
|
+
readonly lease: {
|
|
1043
|
+
readonly workUnitId: string;
|
|
1044
|
+
readonly leaseOwnerId: string;
|
|
1045
|
+
readonly runnerReplicaId: string;
|
|
1046
|
+
readonly leaseId: string;
|
|
1047
|
+
readonly attempt: number;
|
|
1048
|
+
readonly fencingToken: string;
|
|
1049
|
+
readonly capacitySlot: string;
|
|
1050
|
+
};
|
|
1051
|
+
readonly step: string;
|
|
1052
|
+
readonly projectId: string;
|
|
1053
|
+
}, options?: {
|
|
1054
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1055
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1056
|
+
readonly discard?: Discard | undefined;
|
|
1057
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
1058
|
+
readonly project: {
|
|
1059
|
+
readonly id: string;
|
|
1060
|
+
readonly name: string;
|
|
1061
|
+
};
|
|
1062
|
+
readonly health?: "at_risk" | "off_track" | "on_track";
|
|
1063
|
+
readonly since?: string;
|
|
1064
|
+
readonly runs: readonly {
|
|
1065
|
+
readonly runId: string;
|
|
1066
|
+
readonly loopId: string;
|
|
1067
|
+
readonly status: string;
|
|
1068
|
+
readonly taskKey?: string;
|
|
1069
|
+
readonly taskTitle?: string;
|
|
1070
|
+
readonly summary?: string;
|
|
1071
|
+
readonly entries: readonly {
|
|
1072
|
+
readonly stepAttemptId: string;
|
|
1073
|
+
readonly sequence: number;
|
|
1074
|
+
readonly kind: string;
|
|
1075
|
+
readonly text: string;
|
|
1076
|
+
}[];
|
|
1077
|
+
}[];
|
|
1078
|
+
readonly taskChanges: readonly {
|
|
1079
|
+
readonly taskKey: string;
|
|
1080
|
+
readonly title: string;
|
|
1081
|
+
readonly change: string;
|
|
1082
|
+
readonly at: string;
|
|
1083
|
+
}[];
|
|
1084
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1085
|
+
readonly project: {
|
|
1086
|
+
readonly id: string;
|
|
1087
|
+
readonly name: string;
|
|
1088
|
+
};
|
|
1089
|
+
readonly health?: "at_risk" | "off_track" | "on_track";
|
|
1090
|
+
readonly since?: string;
|
|
1091
|
+
readonly runs: readonly {
|
|
1092
|
+
readonly runId: string;
|
|
1093
|
+
readonly loopId: string;
|
|
1094
|
+
readonly status: string;
|
|
1095
|
+
readonly taskKey?: string;
|
|
1096
|
+
readonly taskTitle?: string;
|
|
1097
|
+
readonly summary?: string;
|
|
1098
|
+
readonly entries: readonly {
|
|
1099
|
+
readonly stepAttemptId: string;
|
|
1100
|
+
readonly sequence: number;
|
|
1101
|
+
readonly kind: string;
|
|
1102
|
+
readonly text: string;
|
|
1103
|
+
}[];
|
|
1104
|
+
}[];
|
|
1105
|
+
readonly taskChanges: readonly {
|
|
1106
|
+
readonly taskKey: string;
|
|
1107
|
+
readonly title: string;
|
|
1108
|
+
readonly change: string;
|
|
1109
|
+
readonly at: string;
|
|
1110
|
+
}[];
|
|
1111
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1112
|
+
draftUpdate: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1113
|
+
readonly lease: {
|
|
1114
|
+
readonly workUnitId: string;
|
|
1115
|
+
readonly leaseOwnerId: string;
|
|
1116
|
+
readonly runnerReplicaId: string;
|
|
1117
|
+
readonly leaseId: string;
|
|
1118
|
+
readonly attempt: number;
|
|
1119
|
+
readonly fencingToken: string;
|
|
1120
|
+
readonly capacitySlot: string;
|
|
1121
|
+
};
|
|
1122
|
+
readonly step: string;
|
|
1123
|
+
readonly projectId: string;
|
|
1124
|
+
readonly health: "at_risk" | "off_track" | "on_track";
|
|
1125
|
+
readonly note: string;
|
|
1126
|
+
readonly writtenFrom: {
|
|
1127
|
+
readonly runs: number;
|
|
1128
|
+
readonly taskChanges: number;
|
|
1129
|
+
readonly since?: string;
|
|
1130
|
+
};
|
|
1131
|
+
}, options?: {
|
|
1132
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1133
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1134
|
+
readonly discard?: Discard | undefined;
|
|
1135
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
1136
|
+
readonly id: string;
|
|
1137
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1138
|
+
readonly id: string;
|
|
1139
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
777
1140
|
integrationBranch: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
778
1141
|
readonly lease: {
|
|
779
1142
|
readonly workUnitId: string;
|
|
@@ -866,6 +1229,208 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
866
1229
|
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
867
1230
|
readonly discard?: Discard | undefined;
|
|
868
1231
|
} | 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>;
|
|
1232
|
+
appendTranscript: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1233
|
+
readonly workUnitId: string;
|
|
1234
|
+
readonly entries: readonly {
|
|
1235
|
+
readonly sequence: number;
|
|
1236
|
+
readonly event: {
|
|
1237
|
+
readonly kind: "message";
|
|
1238
|
+
readonly role: "assistant" | "user";
|
|
1239
|
+
readonly text: string;
|
|
1240
|
+
} | {
|
|
1241
|
+
readonly kind: "tool_call";
|
|
1242
|
+
readonly callId: string;
|
|
1243
|
+
readonly name: string;
|
|
1244
|
+
readonly arguments: unknown;
|
|
1245
|
+
} | {
|
|
1246
|
+
readonly kind: "tool_result";
|
|
1247
|
+
readonly callId: string;
|
|
1248
|
+
readonly output: string;
|
|
1249
|
+
readonly isError?: boolean;
|
|
1250
|
+
} | {
|
|
1251
|
+
readonly kind: "file";
|
|
1252
|
+
readonly path: string;
|
|
1253
|
+
readonly change: "changed" | "read";
|
|
1254
|
+
} | {
|
|
1255
|
+
readonly kind: "question";
|
|
1256
|
+
readonly text: string;
|
|
1257
|
+
} | {
|
|
1258
|
+
readonly kind: "answer";
|
|
1259
|
+
readonly callId?: string;
|
|
1260
|
+
readonly questionId?: string;
|
|
1261
|
+
readonly text: string;
|
|
1262
|
+
} | {
|
|
1263
|
+
readonly kind: "steer";
|
|
1264
|
+
readonly messageId: string;
|
|
1265
|
+
readonly text: string;
|
|
1266
|
+
} | {
|
|
1267
|
+
readonly kind: "lifecycle";
|
|
1268
|
+
readonly state: "canceled" | "failed" | "finished" | "resumed" | "started";
|
|
1269
|
+
};
|
|
1270
|
+
}[];
|
|
1271
|
+
}, options?: {
|
|
1272
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1273
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1274
|
+
readonly discard?: Discard | undefined;
|
|
1275
|
+
} | 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>;
|
|
1276
|
+
createCheckpointFile: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1277
|
+
readonly lease: {
|
|
1278
|
+
readonly workUnitId: string;
|
|
1279
|
+
readonly leaseOwnerId: string;
|
|
1280
|
+
readonly runnerReplicaId: string;
|
|
1281
|
+
readonly leaseId: string;
|
|
1282
|
+
readonly attempt: number;
|
|
1283
|
+
readonly fencingToken: string;
|
|
1284
|
+
readonly capacitySlot: string;
|
|
1285
|
+
};
|
|
1286
|
+
readonly byteSize: number;
|
|
1287
|
+
readonly sha256: string;
|
|
1288
|
+
}, options?: {
|
|
1289
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1290
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1291
|
+
readonly discard?: Discard | undefined;
|
|
1292
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
1293
|
+
readonly file: {
|
|
1294
|
+
readonly id: string;
|
|
1295
|
+
readonly runId: string;
|
|
1296
|
+
readonly step: string;
|
|
1297
|
+
readonly name: string;
|
|
1298
|
+
readonly caption?: string;
|
|
1299
|
+
readonly contentType: string;
|
|
1300
|
+
readonly kind: "html" | "image" | "other" | "text" | "video";
|
|
1301
|
+
readonly byteSize: number;
|
|
1302
|
+
readonly sha256: string;
|
|
1303
|
+
readonly status: "available" | "expired" | "refused" | "rejected" | "removed" | "removing" | "uploading";
|
|
1304
|
+
};
|
|
1305
|
+
readonly upload?: {
|
|
1306
|
+
readonly url: string;
|
|
1307
|
+
readonly headers?: {
|
|
1308
|
+
readonly [x: string]: string;
|
|
1309
|
+
};
|
|
1310
|
+
readonly expiresAt: string;
|
|
1311
|
+
readonly kind: "single";
|
|
1312
|
+
} | {
|
|
1313
|
+
readonly kind: "multipart";
|
|
1314
|
+
readonly partSize: number;
|
|
1315
|
+
readonly parts: readonly {
|
|
1316
|
+
readonly url: string;
|
|
1317
|
+
readonly headers?: {
|
|
1318
|
+
readonly [x: string]: string;
|
|
1319
|
+
};
|
|
1320
|
+
readonly expiresAt: string;
|
|
1321
|
+
readonly partNumber: number;
|
|
1322
|
+
}[];
|
|
1323
|
+
} | undefined;
|
|
1324
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("../../../core/src/index").RunFileRefused | import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1325
|
+
readonly file: {
|
|
1326
|
+
readonly id: string;
|
|
1327
|
+
readonly runId: string;
|
|
1328
|
+
readonly step: string;
|
|
1329
|
+
readonly name: string;
|
|
1330
|
+
readonly caption?: string;
|
|
1331
|
+
readonly contentType: string;
|
|
1332
|
+
readonly kind: "html" | "image" | "other" | "text" | "video";
|
|
1333
|
+
readonly byteSize: number;
|
|
1334
|
+
readonly sha256: string;
|
|
1335
|
+
readonly status: "available" | "expired" | "refused" | "rejected" | "removed" | "removing" | "uploading";
|
|
1336
|
+
};
|
|
1337
|
+
readonly upload?: {
|
|
1338
|
+
readonly url: string;
|
|
1339
|
+
readonly headers?: {
|
|
1340
|
+
readonly [x: string]: string;
|
|
1341
|
+
};
|
|
1342
|
+
readonly expiresAt: string;
|
|
1343
|
+
readonly kind: "single";
|
|
1344
|
+
} | {
|
|
1345
|
+
readonly kind: "multipart";
|
|
1346
|
+
readonly partSize: number;
|
|
1347
|
+
readonly parts: readonly {
|
|
1348
|
+
readonly url: string;
|
|
1349
|
+
readonly headers?: {
|
|
1350
|
+
readonly [x: string]: string;
|
|
1351
|
+
};
|
|
1352
|
+
readonly expiresAt: string;
|
|
1353
|
+
readonly partNumber: number;
|
|
1354
|
+
}[];
|
|
1355
|
+
} | undefined;
|
|
1356
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("../../../core/src/index").RunFileRefused | import("./runner-group").RunnerRpcError, never>;
|
|
1357
|
+
checkpointFileParts: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1358
|
+
readonly lease: {
|
|
1359
|
+
readonly workUnitId: string;
|
|
1360
|
+
readonly leaseOwnerId: string;
|
|
1361
|
+
readonly runnerReplicaId: string;
|
|
1362
|
+
readonly leaseId: string;
|
|
1363
|
+
readonly attempt: number;
|
|
1364
|
+
readonly fencingToken: string;
|
|
1365
|
+
readonly capacitySlot: string;
|
|
1366
|
+
};
|
|
1367
|
+
readonly fileId: string;
|
|
1368
|
+
readonly partNumbers: readonly number[];
|
|
1369
|
+
}, options?: {
|
|
1370
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1371
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1372
|
+
readonly discard?: Discard | undefined;
|
|
1373
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
1374
|
+
readonly parts: readonly {
|
|
1375
|
+
readonly url: string;
|
|
1376
|
+
readonly headers?: {
|
|
1377
|
+
readonly [x: string]: string;
|
|
1378
|
+
};
|
|
1379
|
+
readonly expiresAt: string;
|
|
1380
|
+
readonly partNumber: number;
|
|
1381
|
+
}[];
|
|
1382
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1383
|
+
readonly parts: readonly {
|
|
1384
|
+
readonly url: string;
|
|
1385
|
+
readonly headers?: {
|
|
1386
|
+
readonly [x: string]: string;
|
|
1387
|
+
};
|
|
1388
|
+
readonly expiresAt: string;
|
|
1389
|
+
readonly partNumber: number;
|
|
1390
|
+
}[];
|
|
1391
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
1392
|
+
completeCheckpointFile: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
1393
|
+
readonly lease: {
|
|
1394
|
+
readonly workUnitId: string;
|
|
1395
|
+
readonly leaseOwnerId: string;
|
|
1396
|
+
readonly runnerReplicaId: string;
|
|
1397
|
+
readonly leaseId: string;
|
|
1398
|
+
readonly attempt: number;
|
|
1399
|
+
readonly fencingToken: string;
|
|
1400
|
+
readonly capacitySlot: string;
|
|
1401
|
+
};
|
|
1402
|
+
readonly fileId: string;
|
|
1403
|
+
readonly parts?: readonly {
|
|
1404
|
+
readonly partNumber: number;
|
|
1405
|
+
readonly etag: string;
|
|
1406
|
+
}[] | undefined;
|
|
1407
|
+
}, options?: {
|
|
1408
|
+
readonly headers?: import("effect/http/Headers").Input | undefined;
|
|
1409
|
+
readonly context?: import("effect/Context").Context<never> | undefined;
|
|
1410
|
+
readonly discard?: Discard | undefined;
|
|
1411
|
+
} | undefined) => Effect.Effect<Discard extends true ? void : {
|
|
1412
|
+
readonly id: string;
|
|
1413
|
+
readonly runId: string;
|
|
1414
|
+
readonly step: string;
|
|
1415
|
+
readonly name: string;
|
|
1416
|
+
readonly caption?: string;
|
|
1417
|
+
readonly contentType: string;
|
|
1418
|
+
readonly kind: "html" | "image" | "other" | "text" | "video";
|
|
1419
|
+
readonly byteSize: number;
|
|
1420
|
+
readonly sha256: string;
|
|
1421
|
+
readonly status: "available" | "expired" | "refused" | "rejected" | "removed" | "removing" | "uploading";
|
|
1422
|
+
}, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
1423
|
+
readonly id: string;
|
|
1424
|
+
readonly runId: string;
|
|
1425
|
+
readonly step: string;
|
|
1426
|
+
readonly name: string;
|
|
1427
|
+
readonly caption?: string;
|
|
1428
|
+
readonly contentType: string;
|
|
1429
|
+
readonly kind: "html" | "image" | "other" | "text" | "video";
|
|
1430
|
+
readonly byteSize: number;
|
|
1431
|
+
readonly sha256: string;
|
|
1432
|
+
readonly status: "available" | "expired" | "refused" | "rejected" | "removed" | "removing" | "uploading";
|
|
1433
|
+
}, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
869
1434
|
saveCheckpoint: (input: Parameters<<const AsQueue extends boolean = false, const Discard = false>(input: {
|
|
870
1435
|
readonly lease: {
|
|
871
1436
|
readonly workUnitId: string;
|
|
@@ -883,7 +1448,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
883
1448
|
readonly harness: string;
|
|
884
1449
|
readonly id: string;
|
|
885
1450
|
readonly name: string;
|
|
886
|
-
readonly
|
|
1451
|
+
readonly fileId: string;
|
|
887
1452
|
};
|
|
888
1453
|
};
|
|
889
1454
|
}, options?: {
|
|
@@ -912,7 +1477,10 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
912
1477
|
readonly harness: string;
|
|
913
1478
|
readonly id: string;
|
|
914
1479
|
readonly name: string;
|
|
915
|
-
readonly
|
|
1480
|
+
readonly url: string;
|
|
1481
|
+
readonly headers?: {
|
|
1482
|
+
readonly [x: string]: string;
|
|
1483
|
+
};
|
|
916
1484
|
};
|
|
917
1485
|
} | undefined, import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError | (Discard extends true ? never : import("./runner-group").RunnerRpcError), never>>[0]) => Effect.Effect<{
|
|
918
1486
|
readonly ref?: string;
|
|
@@ -921,7 +1489,10 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
921
1489
|
readonly harness: string;
|
|
922
1490
|
readonly id: string;
|
|
923
1491
|
readonly name: string;
|
|
924
|
-
readonly
|
|
1492
|
+
readonly url: string;
|
|
1493
|
+
readonly headers?: {
|
|
1494
|
+
readonly [x: string]: string;
|
|
1495
|
+
};
|
|
925
1496
|
};
|
|
926
1497
|
} | undefined, Error | import("effect/rpc/RpcClientError").RpcClientError | import("./runner-group").RunnerRpcError, never>;
|
|
927
1498
|
settledCheckpoints: Effect.Effect<readonly {
|
|
@@ -929,7 +1500,7 @@ export declare const makeRunnerRpcClient: (options: {
|
|
|
929
1500
|
readonly ref?: string;
|
|
930
1501
|
readonly repoBinding?: {
|
|
931
1502
|
readonly id: string;
|
|
932
|
-
readonly provider: "generic_git" | "github" | "gitlab";
|
|
1503
|
+
readonly provider: "azure-devops" | "bitbucket" | "forgejo" | "generic_git" | "gitea" | "gitee" | "github" | "gitlab";
|
|
933
1504
|
readonly host: string;
|
|
934
1505
|
readonly owner: string;
|
|
935
1506
|
readonly name: string;
|