@artieeez/cf-sdk 0.0.0-stage → 0.1.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.
Files changed (57) hide show
  1. package/README.md +96 -2
  2. package/dist/fragments/approval.d.ts +83 -0
  3. package/dist/fragments/approval.d.ts.map +1 -0
  4. package/dist/fragments/approval.js +170 -0
  5. package/dist/fragments/approval.js.map +1 -0
  6. package/dist/fragments/common.d.ts +65 -0
  7. package/dist/fragments/common.d.ts.map +1 -0
  8. package/dist/fragments/common.js +138 -0
  9. package/dist/fragments/common.js.map +1 -0
  10. package/dist/fragments/deliver.d.ts +178 -0
  11. package/dist/fragments/deliver.d.ts.map +1 -0
  12. package/dist/fragments/deliver.js +232 -0
  13. package/dist/fragments/deliver.js.map +1 -0
  14. package/dist/fragments/index.d.ts +6 -0
  15. package/dist/fragments/index.d.ts.map +1 -0
  16. package/dist/fragments/index.js +6 -0
  17. package/dist/fragments/index.js.map +1 -0
  18. package/dist/fragments/validated.d.ts +64 -0
  19. package/dist/fragments/validated.d.ts.map +1 -0
  20. package/dist/fragments/validated.js +95 -0
  21. package/dist/fragments/validated.js.map +1 -0
  22. package/dist/fragments/verifier-round.d.ts +128 -0
  23. package/dist/fragments/verifier-round.d.ts.map +1 -0
  24. package/dist/fragments/verifier-round.js +295 -0
  25. package/dist/fragments/verifier-round.js.map +1 -0
  26. package/dist/index.d.ts +597 -0
  27. package/dist/index.d.ts.map +1 -0
  28. package/dist/index.js +244 -0
  29. package/dist/index.js.map +1 -0
  30. package/dist/kit.d.ts +44 -0
  31. package/dist/kit.d.ts.map +1 -0
  32. package/dist/kit.js +32 -0
  33. package/dist/kit.js.map +1 -0
  34. package/dist/plugin.d.ts +126 -0
  35. package/dist/plugin.d.ts.map +1 -0
  36. package/dist/plugin.js +15 -0
  37. package/dist/plugin.js.map +1 -0
  38. package/dist/prompt.d.ts +10 -0
  39. package/dist/prompt.d.ts.map +1 -0
  40. package/dist/prompt.js +34 -0
  41. package/dist/prompt.js.map +1 -0
  42. package/dist/runner.d.ts +88 -0
  43. package/dist/runner.d.ts.map +1 -0
  44. package/dist/runner.js +224 -0
  45. package/dist/runner.js.map +1 -0
  46. package/package.json +79 -3
  47. package/src/fragments/approval.ts +267 -0
  48. package/src/fragments/common.ts +195 -0
  49. package/src/fragments/deliver.ts +447 -0
  50. package/src/fragments/index.ts +57 -0
  51. package/src/fragments/validated.ts +217 -0
  52. package/src/fragments/verifier-round.ts +442 -0
  53. package/src/index.ts +890 -0
  54. package/src/kit.ts +137 -0
  55. package/src/plugin.ts +128 -0
  56. package/src/prompt.ts +29 -0
  57. package/src/runner.ts +278 -0
@@ -0,0 +1,447 @@
1
+ import { z } from 'zod';
2
+ import {
3
+ ref,
4
+ wait,
5
+ type AnyStep,
6
+ type Duration,
7
+ type HumanStep,
8
+ type NoEvents,
9
+ type PluginApis,
10
+ type Ref,
11
+ type Settings,
12
+ type TaskContext,
13
+ type TaskStep,
14
+ type WaitEvent,
15
+ type WaitStep,
16
+ } from '../index.ts';
17
+ import { assertPositiveInt, assertSlug, stepId } from './common.ts';
18
+
19
+ /** Structural argument shape of a forge `comment` server action (matches `@artieeez/cf-plugin-github`, AD-049). */
20
+ export interface ForgeCommentArgs {
21
+ repo: string;
22
+ number: number;
23
+ body: string;
24
+ }
25
+
26
+ /** Structural argument shape of a tracker `linkUrl` server action (matches `@artieeez/cf-plugin-linear`, AD-062). */
27
+ export interface TrackerLinkArgs {
28
+ url: string;
29
+ title: string;
30
+ }
31
+
32
+ /** Keys of `P` whose plugin exposes a forge-shaped `comment({ repo, number, body })` action. */
33
+ export type ForgeSlotName<P extends PluginApis> = string extends keyof P
34
+ ? string
35
+ : {
36
+ [K in keyof P & string]: P[K] extends { comment(args: ForgeCommentArgs): Promise<unknown> }
37
+ ? K
38
+ : never;
39
+ }[keyof P & string];
40
+
41
+ /** Keys of `P` whose plugin exposes tracker-shaped `linkUrl` and `comment` actions. */
42
+ export type TrackerSlotName<P extends PluginApis> = string extends keyof P
43
+ ? string
44
+ : {
45
+ [K in keyof P & string]: P[K] extends {
46
+ linkUrl(issueId: string, link: TrackerLinkArgs): Promise<unknown>;
47
+ comment(issueId: string, body: string): Promise<unknown>;
48
+ }
49
+ ? K
50
+ : never;
51
+ }[keyof P & string];
52
+
53
+ /** Target commit/branch/PR metadata resolved before pushing. */
54
+ export interface DeliverTarget {
55
+ repo: string;
56
+ dir: string;
57
+ sha: string;
58
+ branch: string;
59
+ base: string;
60
+ title: string;
61
+ body: string;
62
+ draft?: boolean;
63
+ }
64
+
65
+ /** PR details passed to `forge.comment`, `tracker.link`, and `tracker.comment`. */
66
+ export interface OpenedPr {
67
+ repo: string;
68
+ branch: string;
69
+ base: string;
70
+ sha: string;
71
+ title: string;
72
+ number: number;
73
+ url: string;
74
+ created: boolean;
75
+ }
76
+
77
+ /** Output schema of `<id>-push` (AD-031). */
78
+ export const DeliverOutput = z.strictObject({
79
+ repo: z.string(),
80
+ branch: z.string(),
81
+ base: z.string(),
82
+ sha: z.string(),
83
+ prNumber: z.number().int(),
84
+ prUrl: z.string(),
85
+ prCreated: z.boolean(),
86
+ forgeCommentUrl: z.string().optional(),
87
+ trackerLinkUrl: z.string().optional(),
88
+ trackerCommentUrl: z.string().optional(),
89
+ });
90
+ export type DeliverOutput = z.infer<typeof DeliverOutput>;
91
+
92
+ /** Structural CI check result (matches `@artieeez/cf-plugin-github` `CiResult`, AD-021). */
93
+ export interface DeliverCiResult {
94
+ status: string;
95
+ [key: string]: unknown;
96
+ }
97
+
98
+ /** Optional `approvePush` customization. */
99
+ export interface ApprovePushOptions<F extends z.ZodObject | undefined = undefined> {
100
+ title?: string;
101
+ form?: F;
102
+ about?: Ref | Record<string, Ref>;
103
+ bind?: Ref;
104
+ onRejected?: string;
105
+ maxVisits?: number;
106
+ onExhausted?: string;
107
+ timeout?: { after: Duration; outcome: 'approved' | 'rejected' };
108
+ remind?: { every: Duration };
109
+ }
110
+
111
+ /** Optional CI watch configuration wired as `<id>-ci-check ⇄ <id>-ci-wait`. */
112
+ export interface DeliverCiOptions<I, P extends PluginApis, S, E> {
113
+ check(
114
+ ctx: TaskContext<I, P, S, E>,
115
+ params: { repo: string; sha: string },
116
+ ): Promise<DeliverCiResult> | DeliverCiResult;
117
+ event: WaitEvent | ((refs: { slot: string; repo: Ref; sha: Ref }) => WaitEvent);
118
+ timeout?: Duration;
119
+ maxVisits?: number;
120
+ onRed?: string;
121
+ onExhausted?: string;
122
+ }
123
+
124
+ /** Forge operations for `deliver` (structural so `@artieeez/cf-sdk` stays plugin-free). */
125
+ export interface DeliverForgeOptions<I, P extends PluginApis, S, E> {
126
+ /** Forge plugin slot name; required when `comment` or `ci` is configured. */
127
+ slot?: ForgeSlotName<P>;
128
+ /** Computes target repo, dir, sha, branch, base, title, body, and draft flag. */
129
+ target(ctx: TaskContext<I, P, S, E>): Promise<DeliverTarget> | DeliverTarget;
130
+ /** Pushes the commit to the remote branch (e.g. `github.git.push`). */
131
+ push(
132
+ ctx: TaskContext<I, P, S, E>,
133
+ params: { repo: string; dir: string; sha: string; branch: string },
134
+ ): Promise<{ pushed: true; remoteSha: string } | void>;
135
+ /** Opens or reuses the pull request (e.g. `github.pr.open`, AD-062). */
136
+ openPr(
137
+ ctx: TaskContext<I, P, S, E>,
138
+ params: {
139
+ repo: string;
140
+ head: string;
141
+ base: string;
142
+ title: string;
143
+ body: string;
144
+ draft?: boolean;
145
+ },
146
+ ): Promise<{ number: number; url: string; created: boolean }>;
147
+ /** Optional PR comment posted via `ctx.plugins[slot].comment` (AD-049). */
148
+ comment?:
149
+ | string
150
+ | ((ctx: TaskContext<I, P, S, E>, pr: OpenedPr) => Promise<string | undefined> | string | undefined);
151
+ /** Optional CI watch loop (`<id>-ci-check ⇄ <id>-ci-wait`). */
152
+ ci?: DeliverCiOptions<I, P, S, E>;
153
+ }
154
+
155
+ /** Optional tracker write-back (`linkUrl` and/or `comment`) for `deliver`. */
156
+ export interface DeliverTrackerOptions<I, P extends PluginApis, S, E> {
157
+ slot: TrackerSlotName<P>;
158
+ issueId: string | ((ctx: TaskContext<I, P, S, E>) => Promise<string | undefined> | string | undefined);
159
+ /** Links the PR URL on the issue (`false` skips linking; string/fn sets title; default `pr.title`). */
160
+ link?:
161
+ | boolean
162
+ | string
163
+ | ((ctx: TaskContext<I, P, S, E>, pr: OpenedPr) => Promise<string> | string);
164
+ /** Optional comment posted on the issue via `ctx.plugins[slot].comment`. */
165
+ comment?:
166
+ | string
167
+ | ((ctx: TaskContext<I, P, S, E>, pr: OpenedPr) => Promise<string | undefined> | string | undefined);
168
+ }
169
+
170
+ /** Options for `deliver(opts)`. */
171
+ export interface DeliverOptions<
172
+ Id extends string = 'deliver',
173
+ I = unknown,
174
+ P extends PluginApis = PluginApis,
175
+ S = Settings,
176
+ E = NoEvents,
177
+ > {
178
+ /** Slug prefix for all steps in this fragment; default `'deliver'`. */
179
+ id?: Id;
180
+ /** Human approval before pushing (rule 8); default `true`. Pass `false` to skip. */
181
+ approvePush?: boolean | ApprovePushOptions<z.ZodObject | undefined>;
182
+ forge: DeliverForgeOptions<I, P, S, E>;
183
+ tracker?: DeliverTrackerOptions<I, P, S, E>;
184
+ /** Target step after delivery (and optional CI watch) succeeds. */
185
+ next: string;
186
+ /** Working directory for `<id>-push` and `<id>-ci-check`. */
187
+ wd?: string;
188
+ }
189
+
190
+ /** What `deliver(opts)` returns: entry id, step handles, and spreadable `steps`. */
191
+ export interface DeliverFragment<
192
+ Id extends string,
193
+ I,
194
+ P extends PluginApis,
195
+ S,
196
+ E,
197
+ > {
198
+ start: `${Id}-approve-push` | `${Id}-push`;
199
+ ids: {
200
+ approvePush?: `${Id}-approve-push`;
201
+ push: `${Id}-push`;
202
+ ciCheck?: `${Id}-ci-check`;
203
+ ciWait?: `${Id}-ci-wait`;
204
+ };
205
+ approvePush?: HumanStep<'approved' | 'rejected', z.ZodObject | undefined>;
206
+ push: TaskStep<I, 'ok', P, typeof DeliverOutput, S, E>;
207
+ ciCheck?: TaskStep<I, 'wait' | 'green' | 'red', P, undefined, S, E>;
208
+ ciWait?: WaitStep<'fired' | 'timeout'>;
209
+ steps: Record<string, AnyStep>;
210
+ }
211
+
212
+ /**
213
+ * Builds the delivery sub-graph:
214
+ * optional `<id>-approve-push` (default on) -> `<id>-push` (target -> push -> openPr -> optional
215
+ * forge comment -> optional tracker linkUrl/comment) -> optional `<id>-ci-check ⇄ <id>-ci-wait`.
216
+ */
217
+ export function deliver<
218
+ const Id extends string = 'deliver',
219
+ I = unknown,
220
+ P extends PluginApis = PluginApis,
221
+ S = Settings,
222
+ E = NoEvents,
223
+ >(opts: DeliverOptions<Id, I, P, S, E>): DeliverFragment<Id, I, P, S, E> {
224
+ const prefix = (opts.id ?? 'deliver') as Id;
225
+ assertSlug(prefix, 'deliver');
226
+
227
+ const forgeSlot = opts.forge.slot;
228
+ if ((opts.forge.comment !== undefined || opts.forge.ci !== undefined) && (forgeSlot === undefined || forgeSlot === '')) {
229
+ throw new Error(`deliver(${prefix}): forge.slot is required when forge.comment or forge.ci is configured`);
230
+ }
231
+ if (opts.forge.ci?.maxVisits !== undefined) {
232
+ assertPositiveInt(opts.forge.ci.maxVisits, `deliver(${prefix}) ci.maxVisits`);
233
+ }
234
+ if (typeof opts.approvePush === 'object' && opts.approvePush.maxVisits !== undefined) {
235
+ assertPositiveInt(opts.approvePush.maxVisits, `deliver(${prefix}) approvePush.maxVisits`);
236
+ }
237
+
238
+ const approvePushId = stepId(prefix, 'approve-push');
239
+ const pushId = stepId(prefix, 'push');
240
+ const ciCheckId = stepId(prefix, 'ci-check');
241
+ const ciWaitId = stepId(prefix, 'ci-wait');
242
+
243
+ const hasApprove = opts.approvePush !== false;
244
+ const hasCi = opts.forge.ci !== undefined;
245
+
246
+ let approvePush: HumanStep<'approved' | 'rejected', z.ZodObject | undefined> | undefined;
247
+ if (hasApprove) {
248
+ const cfg = typeof opts.approvePush === 'object' ? opts.approvePush : undefined;
249
+ approvePush = {
250
+ kind: 'human',
251
+ title: cfg?.title ?? 'Approve push and pull request',
252
+ ...(cfg?.form !== undefined ? { form: cfg.form } : {}),
253
+ ...(cfg?.about !== undefined ? { about: cfg.about } : {}),
254
+ ...(cfg?.bind !== undefined ? { bind: cfg.bind } : {}),
255
+ outcomes: ['approved', 'rejected'] as const,
256
+ next: { approved: pushId, rejected: cfg?.onRejected ?? '$fail' },
257
+ ...(cfg?.maxVisits !== undefined
258
+ ? { maxVisits: cfg.maxVisits, onExhausted: cfg.onExhausted ?? '$fail' }
259
+ : {}),
260
+ ...(cfg?.timeout !== undefined ? { timeout: cfg.timeout } : {}),
261
+ ...(cfg?.remind !== undefined ? { remind: cfg.remind } : {}),
262
+ };
263
+ }
264
+
265
+ const push: TaskStep<I, 'ok', P, typeof DeliverOutput, S, E> = {
266
+ kind: 'task',
267
+ outcomes: ['ok'] as const,
268
+ next: { ok: hasCi ? ciCheckId : opts.next },
269
+ ...(opts.wd !== undefined ? { wd: opts.wd } : {}),
270
+ output: DeliverOutput,
271
+ async run(ctx) {
272
+ const target = await opts.forge.target(ctx);
273
+ await opts.forge.push(ctx, {
274
+ repo: target.repo,
275
+ dir: target.dir,
276
+ sha: target.sha,
277
+ branch: target.branch,
278
+ });
279
+ const pr = await opts.forge.openPr(ctx, {
280
+ repo: target.repo,
281
+ head: target.branch,
282
+ base: target.base,
283
+ title: target.title,
284
+ body: target.body,
285
+ ...(target.draft !== undefined ? { draft: target.draft } : {}),
286
+ });
287
+
288
+ const openedPr: OpenedPr = {
289
+ repo: target.repo,
290
+ branch: target.branch,
291
+ base: target.base,
292
+ sha: target.sha,
293
+ title: target.title,
294
+ number: pr.number,
295
+ url: pr.url,
296
+ created: pr.created,
297
+ };
298
+
299
+ let forgeCommentUrl: string | undefined;
300
+ if (opts.forge.comment !== undefined) {
301
+ const body =
302
+ typeof opts.forge.comment === 'function'
303
+ ? await opts.forge.comment(ctx, openedPr)
304
+ : opts.forge.comment;
305
+ if (body !== undefined && body !== '') {
306
+ const slotApi = ctx.plugins[forgeSlot!];
307
+ const commentAction = slotApi?.['comment'];
308
+ if (typeof commentAction !== 'function') {
309
+ throw new Error(`deliver(${prefix}): plugin slot "${forgeSlot}" has no comment action`);
310
+ }
311
+ const res = (await commentAction({
312
+ repo: target.repo,
313
+ number: pr.number,
314
+ body,
315
+ })) as { url?: string } | undefined;
316
+ if (typeof res?.url === 'string') forgeCommentUrl = res.url;
317
+ }
318
+ }
319
+
320
+ let trackerLinkUrl: string | undefined;
321
+ let trackerCommentUrl: string | undefined;
322
+ if (opts.tracker !== undefined) {
323
+ const issueId =
324
+ typeof opts.tracker.issueId === 'function'
325
+ ? await opts.tracker.issueId(ctx)
326
+ : opts.tracker.issueId;
327
+ if (issueId !== undefined && issueId !== '') {
328
+ const trackerApi = ctx.plugins[opts.tracker.slot];
329
+ if (trackerApi === undefined) {
330
+ throw new Error(`deliver(${prefix}): plugin slot "${opts.tracker.slot}" is not bound`);
331
+ }
332
+ if (opts.tracker.link !== false) {
333
+ const linkAction = trackerApi['linkUrl'];
334
+ if (typeof linkAction !== 'function') {
335
+ throw new Error(`deliver(${prefix}): plugin slot "${opts.tracker.slot}" has no linkUrl action`);
336
+ }
337
+ const title =
338
+ typeof opts.tracker.link === 'function'
339
+ ? await opts.tracker.link(ctx, openedPr)
340
+ : typeof opts.tracker.link === 'string'
341
+ ? opts.tracker.link
342
+ : target.title;
343
+ const linkRes = (await linkAction(issueId, { url: pr.url, title })) as { url?: string } | undefined;
344
+ if (typeof linkRes?.url === 'string') trackerLinkUrl = linkRes.url;
345
+ }
346
+ if (opts.tracker.comment !== undefined) {
347
+ const body =
348
+ typeof opts.tracker.comment === 'function'
349
+ ? await opts.tracker.comment(ctx, openedPr)
350
+ : opts.tracker.comment;
351
+ if (body !== undefined && body !== '') {
352
+ const commentAction = trackerApi['comment'];
353
+ if (typeof commentAction !== 'function') {
354
+ throw new Error(`deliver(${prefix}): plugin slot "${opts.tracker.slot}" has no comment action`);
355
+ }
356
+ const commentRes = (await commentAction(issueId, body)) as { url?: string } | undefined;
357
+ if (typeof commentRes?.url === 'string') trackerCommentUrl = commentRes.url;
358
+ }
359
+ }
360
+ }
361
+ }
362
+
363
+ return {
364
+ outcome: 'ok',
365
+ output: {
366
+ repo: target.repo,
367
+ branch: target.branch,
368
+ base: target.base,
369
+ sha: target.sha,
370
+ prNumber: pr.number,
371
+ prUrl: pr.url,
372
+ prCreated: pr.created,
373
+ ...(forgeCommentUrl !== undefined ? { forgeCommentUrl } : {}),
374
+ ...(trackerLinkUrl !== undefined ? { trackerLinkUrl } : {}),
375
+ ...(trackerCommentUrl !== undefined ? { trackerCommentUrl } : {}),
376
+ },
377
+ };
378
+ },
379
+ };
380
+
381
+ let ciCheck: TaskStep<I, 'wait' | 'green' | 'red', P, undefined, S, E> | undefined;
382
+ let ciWait: WaitStep<'fired' | 'timeout'> | undefined;
383
+ if (opts.forge.ci !== undefined) {
384
+ const ci = opts.forge.ci;
385
+ const ciMaxVisits = ci.maxVisits ?? 20;
386
+ const ciExhausted = ci.onExhausted ?? '$fail';
387
+ ciCheck = {
388
+ kind: 'task',
389
+ outcomes: ['wait', 'green', 'red'] as const,
390
+ next: { wait: ciWaitId, green: opts.next, red: ci.onRed ?? '$fail' },
391
+ maxVisits: ciMaxVisits,
392
+ onExhausted: ciExhausted,
393
+ ...(opts.wd !== undefined ? { wd: opts.wd } : {}),
394
+ async run(ctx) {
395
+ const pushed = ctx.output(push);
396
+ if (pushed === undefined) {
397
+ throw new Error(`deliver(${prefix}): ${pushId} has no output`);
398
+ }
399
+ const result = await ci.check(ctx, { repo: pushed.repo, sha: pushed.sha });
400
+ const outcome =
401
+ result.status === 'pending' || result.status === 'retrying'
402
+ ? 'wait'
403
+ : result.status === 'success'
404
+ ? 'green'
405
+ : 'red';
406
+ return { outcome, output: result };
407
+ },
408
+ };
409
+ const event =
410
+ typeof ci.event === 'function'
411
+ ? ci.event({
412
+ slot: forgeSlot!,
413
+ repo: ref(`${pushId}.output.repo`),
414
+ sha: ref(`${pushId}.output.sha`),
415
+ })
416
+ : ci.event;
417
+ ciWait = wait({
418
+ event,
419
+ timeout: ci.timeout ?? '5m',
420
+ next: { fired: ciCheckId, timeout: ciCheckId },
421
+ maxVisits: ciMaxVisits,
422
+ onExhausted: ciExhausted,
423
+ });
424
+ }
425
+
426
+ const steps: Record<string, AnyStep> = {
427
+ ...(approvePush !== undefined ? { [approvePushId]: approvePush } : {}),
428
+ [pushId]: push,
429
+ ...(ciCheck !== undefined ? { [ciCheckId]: ciCheck } : {}),
430
+ ...(ciWait !== undefined ? { [ciWaitId]: ciWait } : {}),
431
+ };
432
+
433
+ return {
434
+ start: hasApprove ? approvePushId : pushId,
435
+ ids: {
436
+ ...(approvePush !== undefined ? { approvePush: approvePushId } : {}),
437
+ push: pushId,
438
+ ...(ciCheck !== undefined ? { ciCheck: ciCheckId } : {}),
439
+ ...(ciWait !== undefined ? { ciWait: ciWaitId } : {}),
440
+ },
441
+ ...(approvePush !== undefined ? { approvePush } : {}),
442
+ push,
443
+ ...(ciCheck !== undefined ? { ciCheck } : {}),
444
+ ...(ciWait !== undefined ? { ciWait } : {}),
445
+ steps,
446
+ };
447
+ }
@@ -0,0 +1,57 @@
1
+ export {
2
+ DEFAULT_MAX_OUTPUT_CHARS,
3
+ ValidationOutput,
4
+ assertPositiveInt,
5
+ assertSlug,
6
+ sliceSurrogateSafe,
7
+ stepId,
8
+ type CommandSpec,
9
+ type ValidationCheckResult,
10
+ type ValidationScript,
11
+ } from './common.ts';
12
+ export {
13
+ validated,
14
+ type DefaultValidateOutcome,
15
+ type ValidatedAgentInline,
16
+ type ValidatedFragment,
17
+ type ValidatedOptions,
18
+ } from './validated.ts';
19
+ export {
20
+ ApprovalForm,
21
+ ApprovalRecordOutput,
22
+ applyApprovalLine,
23
+ approval,
24
+ type ApprovalFormData,
25
+ type ApprovalFragment,
26
+ type ApprovalOptions,
27
+ type ApprovalRecordInfo,
28
+ } from './approval.ts';
29
+ export {
30
+ EscalateForm,
31
+ FindingsOutput,
32
+ ReviewResultSchema,
33
+ ScreensResultSchema,
34
+ verifierRound,
35
+ type ReviewResult,
36
+ type ScreensResult,
37
+ type ScreensRoundInfo,
38
+ type VerifierRoundFragment,
39
+ type VerifierRoundOptions,
40
+ } from './verifier-round.ts';
41
+ export {
42
+ DeliverOutput,
43
+ deliver,
44
+ type ApprovePushOptions,
45
+ type DeliverCiOptions,
46
+ type DeliverCiResult,
47
+ type DeliverForgeOptions,
48
+ type DeliverFragment,
49
+ type DeliverOptions,
50
+ type DeliverTarget,
51
+ type DeliverTrackerOptions,
52
+ type ForgeCommentArgs,
53
+ type ForgeSlotName,
54
+ type OpenedPr,
55
+ type TrackerLinkArgs,
56
+ type TrackerSlotName,
57
+ } from './deliver.ts';