@wardby/cli 0.4.0 → 0.5.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/.env.example +8 -1
- package/README.md +3 -1
- package/deploy/local/docker-compose.quickstart-coding.yml +27 -0
- package/dist/claude-coding-worker/driver.d.ts +2 -0
- package/dist/claude-coding-worker/driver.js +19 -3
- package/dist/claude-coding-worker/sdk.js +1 -1
- package/dist/cli.js +41 -22
- package/dist/coding/continuation-wording.d.ts +10 -0
- package/dist/coding/continuation-wording.js +13 -0
- package/dist/coding/docker-preflight.d.ts +12 -0
- package/dist/coding/docker-preflight.js +40 -0
- package/dist/coding/local-git.d.ts +22 -0
- package/dist/coding/local-git.js +102 -0
- package/dist/coding/local-repo-status.d.ts +7 -0
- package/dist/coding/local-repo-status.js +56 -0
- package/dist/coding/local-repo.d.ts +17 -0
- package/dist/coding/local-repo.js +65 -0
- package/dist/coding/observability.d.ts +1 -1
- package/dist/coding/observability.js +1 -0
- package/dist/coding/profile.d.ts +6 -0
- package/dist/coding/profile.js +13 -4
- package/dist/coding/protocol.d.ts +32 -7
- package/dist/coding/protocol.js +66 -4
- package/dist/coding-worker/artifact.d.ts +1 -0
- package/dist/coding-worker/errors.js +2 -0
- package/dist/config/providers.d.ts +13 -0
- package/dist/config/providers.js +21 -9
- package/dist/core/attribution.d.ts +13 -0
- package/dist/core/attribution.js +30 -0
- package/dist/core/budget-groups.d.ts +3 -1
- package/dist/core/budget-groups.js +53 -5
- package/dist/core/ci-context.d.ts +8 -0
- package/dist/core/ci-context.js +59 -0
- package/dist/core/delegation-siblings.d.ts +22 -0
- package/dist/core/delegation-siblings.js +40 -0
- package/dist/core/dispatch.d.ts +28 -4
- package/dist/core/dispatch.js +57 -15
- package/dist/core/engine-native.d.ts +16 -0
- package/dist/core/engine-native.js +49 -2
- package/dist/core/host-events.d.ts +25 -2
- package/dist/core/host-events.js +361 -19
- package/dist/core/host-status.d.ts +8 -3
- package/dist/core/host-status.js +38 -7
- package/dist/core/issue-events.d.ts +2 -6
- package/dist/core/issue-events.js +13 -19
- package/dist/core/pull-request-state-sync.d.ts +17 -0
- package/dist/core/pull-request-state-sync.js +53 -0
- package/dist/core/reconciler.d.ts +10 -1
- package/dist/core/reconciler.js +15 -2
- package/dist/core/related-pull-requests.d.ts +95 -0
- package/dist/core/related-pull-requests.js +338 -0
- package/dist/core/repo-access.d.ts +5 -1
- package/dist/core/repo-access.js +17 -1
- package/dist/core/review-fix-ledger.d.ts +20 -0
- package/dist/core/review-fix-ledger.js +41 -0
- package/dist/core/review-fix.d.ts +60 -0
- package/dist/core/review-fix.js +155 -0
- package/dist/core/review-host-tools.d.ts +13 -2
- package/dist/core/review-host-tools.js +72 -11
- package/dist/core/runner.d.ts +2 -2
- package/dist/core/runner.js +379 -184
- package/dist/core/serial-gate.d.ts +11 -0
- package/dist/core/serial-gate.js +19 -0
- package/dist/core/timing.d.ts +7 -0
- package/dist/core/timing.js +7 -0
- package/dist/env.js +6 -1
- package/dist/generated/prisma/browser.d.ts +23 -0
- package/dist/generated/prisma/client.d.ts +23 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +22 -0
- package/dist/generated/prisma/internal/class.d.ts +33 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +274 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +47 -2
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +48 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +47 -2
- package/dist/generated/prisma/models/Agent.d.ts +422 -1
- package/dist/generated/prisma/models/AgentRepository.d.ts +120 -2
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +42 -1
- package/dist/generated/prisma/models/CodingRun.d.ts +205 -1
- package/dist/generated/prisma/models/DeferredReview.d.ts +1336 -0
- package/dist/generated/prisma/models/DeferredReview.js +1 -0
- package/dist/generated/prisma/models/LocalPullRequest.d.ts +1384 -0
- package/dist/generated/prisma/models/LocalPullRequest.js +1 -0
- package/dist/generated/prisma/models/LocalReview.d.ts +1315 -0
- package/dist/generated/prisma/models/LocalReview.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +223 -0
- package/dist/generated/prisma/models/RunHostCheck.d.ts +148 -1
- package/dist/generated/prisma/models.d.ts +3 -0
- package/dist/help-index.json +476 -37
- package/dist/import/neutral-schema.d.ts +2 -2
- package/dist/mcp/auth/access.d.ts +3 -1
- package/dist/mcp/auth/host-account-cli.js +2 -2
- package/dist/mcp/auth/repo-authorization.d.ts +6 -7
- package/dist/mcp/auth/repo-authorization.js +21 -0
- package/dist/mcp/index.js +4 -1
- package/dist/mcp/tools/agents.js +46 -4
- package/dist/mcp/tools/host-accounts.js +2 -2
- package/dist/mcp/tools/repositories.js +71 -12
- package/dist/mcp/tools/runs.js +23 -0
- package/dist/mcp/tools/trigger.js +153 -24
- package/dist/providers/engine/types.d.ts +11 -0
- package/dist/providers/executor/composition.js +12 -7
- package/dist/providers/executor/container.d.ts +40 -3
- package/dist/providers/executor/container.js +140 -9
- package/dist/providers/executor/types.d.ts +1 -1
- package/dist/providers/jobs/fake-kubernetes-api.d.ts +3 -2
- package/dist/providers/jobs/fake-kubernetes-api.js +3 -0
- package/dist/providers/jobs/kubernetes-api.d.ts +3 -1
- package/dist/providers/jobs/kubernetes-client.d.ts +2 -1
- package/dist/providers/jobs/kubernetes-client.js +3 -0
- package/dist/providers/jobs/kubernetes-isolation.d.ts +7 -0
- package/dist/providers/jobs/kubernetes-isolation.js +8 -3
- package/dist/providers/jobs/kubernetes-preflight.d.ts +8 -0
- package/dist/providers/jobs/kubernetes-preflight.js +7 -0
- package/dist/providers/jobs/kubernetes-quota.d.ts +31 -0
- package/dist/providers/jobs/kubernetes-quota.js +110 -0
- package/dist/providers/jobs/kubernetes.d.ts +9 -0
- package/dist/providers/jobs/kubernetes.js +50 -0
- package/dist/providers/jobs/types.d.ts +7 -0
- package/dist/providers/review-host/ci.d.ts +7 -0
- package/dist/providers/review-host/ci.js +20 -0
- package/dist/providers/review-host/github-events.d.ts +7 -0
- package/dist/providers/review-host/github-events.js +31 -7
- package/dist/providers/review-host/github.d.ts +19 -2
- package/dist/providers/review-host/github.js +145 -2
- package/dist/providers/review-host/index.d.ts +8 -2
- package/dist/providers/review-host/index.js +14 -3
- package/dist/providers/review-host/local.d.ts +72 -0
- package/dist/providers/review-host/local.js +434 -0
- package/dist/providers/review-host/types.d.ts +65 -3
- package/dist/providers/review-host/types.js +5 -3
- package/dist/providers/vcs/git.d.ts +10 -20
- package/dist/providers/vcs/git.js +71 -127
- package/dist/providers/vcs/github-remote.d.ts +67 -0
- package/dist/providers/vcs/github-remote.js +201 -0
- package/dist/providers/vcs/github.d.ts +81 -0
- package/dist/providers/vcs/github.js +203 -6
- package/dist/providers/vcs/index.d.ts +16 -1
- package/dist/providers/vcs/index.js +43 -15
- package/dist/providers/vcs/local-remote.d.ts +44 -0
- package/dist/providers/vcs/local-remote.js +108 -0
- package/dist/providers/vcs/remote.d.ts +58 -0
- package/dist/providers/vcs/remote.js +1 -0
- package/dist/providers/vcs/routing.d.ts +33 -0
- package/dist/providers/vcs/routing.js +52 -0
- package/dist/providers/vcs/types.d.ts +12 -1
- package/dist/quickstart/coding-db.d.ts +11 -0
- package/dist/quickstart/coding-db.js +75 -0
- package/dist/quickstart/coding-doctor.d.ts +13 -0
- package/dist/quickstart/coding-doctor.js +88 -0
- package/dist/quickstart/coding-images.d.ts +15 -0
- package/dist/quickstart/coding-images.js +79 -0
- package/dist/quickstart/coding-seed.d.ts +63 -0
- package/dist/quickstart/coding-seed.js +85 -0
- package/dist/quickstart/coding.d.ts +66 -0
- package/dist/quickstart/coding.js +430 -0
- package/dist/quickstart/images.d.ts +19 -0
- package/dist/quickstart/images.js +63 -0
- package/dist/quickstart/index.d.ts +6 -0
- package/dist/quickstart/index.js +72 -40
- package/dist/quickstart/starter-services.d.ts +45 -0
- package/dist/quickstart/starter-services.js +186 -0
- package/dist/quickstart-images.json +1 -0
- package/dist/serve.js +14 -1
- package/dist/viewer/api-schema.d.ts +176 -0
- package/dist/viewer/api-schema.js +27 -2
- package/dist/viewer/graph.d.ts +7 -2
- package/dist/viewer/graph.js +25 -11
- package/dist/viewer/http.d.ts +7 -1
- package/dist/viewer/http.js +8 -3
- package/dist/viewer/infra.d.ts +2 -0
- package/dist/viewer/infra.js +23 -0
- package/dist/viewer/run-detail.d.ts +2 -1
- package/dist/viewer/run-detail.js +2 -2
- package/docs/agent-recipes.md +123 -2
- package/docs/code-review-agents.md +293 -38
- package/docs/coding-agent-setup.md +141 -2
- package/docs/coding-packages.md +21 -0
- package/docs/coding-services.md +3 -0
- package/docs/coding-worker-isolation.md +87 -24
- package/docs/getting-started-gke.md +24 -0
- package/docs/getting-started.md +82 -8
- package/docs/jira-agents.md +26 -5
- package/docs/security-deployment.md +9 -0
- package/docs/viewer-api.md +21 -2
- package/help/admin-viewer.md +11 -1
- package/help/agent-recipes.md +25 -1
- package/help/builder-agent.md +4 -0
- package/help/code-review-agents.md +82 -2
- package/help/coding-packages.md +12 -1
- package/help/coding-services.md +4 -0
- package/help/cost-attribution.md +3 -1
- package/help/creating-agents.md +3 -0
- package/help/deploy-gke.md +2 -1
- package/help/errors/coding-provider-not-configured.md +60 -0
- package/help/errors/coding-turn-limit.md +25 -0
- package/help/errors/continuation-closed.md +75 -0
- package/help/errors/local-branch-conflict.md +37 -0
- package/help/errors/local-path-invalid.md +30 -0
- package/help/errors/local-ref-invalid.md +36 -0
- package/help/errors/local-ref-not-found.md +41 -0
- package/help/errors/local-repo-not-allowed.md +46 -0
- package/help/errors/local-repo-not-found.md +39 -0
- package/help/errors/model-unavailable.md +7 -6
- package/help/errors/vcs-github-not-configured.md +34 -0
- package/help/getting-started.md +4 -0
- package/help/github.md +22 -5
- package/help/jira.md +9 -2
- package/help/local-repositories.md +182 -0
- package/help/related-pull-requests.md +89 -0
- package/help/review-fix-rounds.md +69 -0
- package/help/troubleshooting/budgets.md +11 -0
- package/help/troubleshooting/coding-workers.md +22 -0
- package/help/troubleshooting/repository-access.md +5 -0
- package/package.json +5 -3
- package/prisma/migrations/20261004100000_delegations_and_coding_turns/migration.sql +12 -0
- package/prisma/migrations/20261005000000_review_fix_rounds/migration.sql +5 -0
- package/prisma/migrations/20261006000000_parallel_delegations/migration.sql +6 -0
- package/prisma/migrations/20261007000000_ci_rereview/migration.sql +4 -0
- package/prisma/migrations/20261008000000_review_after_ci/migration.sql +33 -0
- package/prisma/migrations/20261009000001_coding_run_local_branch/migration.sql +7 -0
- package/prisma/migrations/20261009000002_local_review/migration.sql +50 -0
- package/prisma/schema.prisma +98 -1
|
@@ -27,6 +27,10 @@ export type RunHostCheckMinAggregateOutputType = {
|
|
|
27
27
|
headSha: string | null;
|
|
28
28
|
prNumber: number | null;
|
|
29
29
|
completedAt: Date | null;
|
|
30
|
+
verdict: string | null;
|
|
31
|
+
reviewBody: string | null;
|
|
32
|
+
ciPendingAtReview: boolean | null;
|
|
33
|
+
ciRereviewAt: Date | null;
|
|
30
34
|
};
|
|
31
35
|
export type RunHostCheckMaxAggregateOutputType = {
|
|
32
36
|
runId: string | null;
|
|
@@ -36,6 +40,10 @@ export type RunHostCheckMaxAggregateOutputType = {
|
|
|
36
40
|
headSha: string | null;
|
|
37
41
|
prNumber: number | null;
|
|
38
42
|
completedAt: Date | null;
|
|
43
|
+
verdict: string | null;
|
|
44
|
+
reviewBody: string | null;
|
|
45
|
+
ciPendingAtReview: boolean | null;
|
|
46
|
+
ciRereviewAt: Date | null;
|
|
39
47
|
};
|
|
40
48
|
export type RunHostCheckCountAggregateOutputType = {
|
|
41
49
|
runId: number;
|
|
@@ -45,6 +53,10 @@ export type RunHostCheckCountAggregateOutputType = {
|
|
|
45
53
|
headSha: number;
|
|
46
54
|
prNumber: number;
|
|
47
55
|
completedAt: number;
|
|
56
|
+
verdict: number;
|
|
57
|
+
reviewBody: number;
|
|
58
|
+
ciPendingAtReview: number;
|
|
59
|
+
ciRereviewAt: number;
|
|
48
60
|
_all: number;
|
|
49
61
|
};
|
|
50
62
|
export type RunHostCheckAvgAggregateInputType = {
|
|
@@ -61,6 +73,10 @@ export type RunHostCheckMinAggregateInputType = {
|
|
|
61
73
|
headSha?: true;
|
|
62
74
|
prNumber?: true;
|
|
63
75
|
completedAt?: true;
|
|
76
|
+
verdict?: true;
|
|
77
|
+
reviewBody?: true;
|
|
78
|
+
ciPendingAtReview?: true;
|
|
79
|
+
ciRereviewAt?: true;
|
|
64
80
|
};
|
|
65
81
|
export type RunHostCheckMaxAggregateInputType = {
|
|
66
82
|
runId?: true;
|
|
@@ -70,6 +86,10 @@ export type RunHostCheckMaxAggregateInputType = {
|
|
|
70
86
|
headSha?: true;
|
|
71
87
|
prNumber?: true;
|
|
72
88
|
completedAt?: true;
|
|
89
|
+
verdict?: true;
|
|
90
|
+
reviewBody?: true;
|
|
91
|
+
ciPendingAtReview?: true;
|
|
92
|
+
ciRereviewAt?: true;
|
|
73
93
|
};
|
|
74
94
|
export type RunHostCheckCountAggregateInputType = {
|
|
75
95
|
runId?: true;
|
|
@@ -79,6 +99,10 @@ export type RunHostCheckCountAggregateInputType = {
|
|
|
79
99
|
headSha?: true;
|
|
80
100
|
prNumber?: true;
|
|
81
101
|
completedAt?: true;
|
|
102
|
+
verdict?: true;
|
|
103
|
+
reviewBody?: true;
|
|
104
|
+
ciPendingAtReview?: true;
|
|
105
|
+
ciRereviewAt?: true;
|
|
82
106
|
_all?: true;
|
|
83
107
|
};
|
|
84
108
|
export type RunHostCheckAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -165,6 +189,10 @@ export type RunHostCheckGroupByOutputType = {
|
|
|
165
189
|
headSha: string;
|
|
166
190
|
prNumber: number | null;
|
|
167
191
|
completedAt: Date | null;
|
|
192
|
+
verdict: string | null;
|
|
193
|
+
reviewBody: string | null;
|
|
194
|
+
ciPendingAtReview: boolean | null;
|
|
195
|
+
ciRereviewAt: Date | null;
|
|
168
196
|
_count: RunHostCheckCountAggregateOutputType | null;
|
|
169
197
|
_avg: RunHostCheckAvgAggregateOutputType | null;
|
|
170
198
|
_sum: RunHostCheckSumAggregateOutputType | null;
|
|
@@ -185,6 +213,10 @@ export type RunHostCheckWhereInput = {
|
|
|
185
213
|
headSha?: Prisma.StringFilter<"RunHostCheck"> | string;
|
|
186
214
|
prNumber?: Prisma.IntNullableFilter<"RunHostCheck"> | number | null;
|
|
187
215
|
completedAt?: Prisma.DateTimeNullableFilter<"RunHostCheck"> | Date | string | null;
|
|
216
|
+
verdict?: Prisma.StringNullableFilter<"RunHostCheck"> | string | null;
|
|
217
|
+
reviewBody?: Prisma.StringNullableFilter<"RunHostCheck"> | string | null;
|
|
218
|
+
ciPendingAtReview?: Prisma.BoolNullableFilter<"RunHostCheck"> | boolean | null;
|
|
219
|
+
ciRereviewAt?: Prisma.DateTimeNullableFilter<"RunHostCheck"> | Date | string | null;
|
|
188
220
|
run?: Prisma.XOR<Prisma.RunScalarRelationFilter, Prisma.RunWhereInput>;
|
|
189
221
|
};
|
|
190
222
|
export type RunHostCheckOrderByWithRelationInput = {
|
|
@@ -195,6 +227,10 @@ export type RunHostCheckOrderByWithRelationInput = {
|
|
|
195
227
|
headSha?: Prisma.SortOrder;
|
|
196
228
|
prNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
197
229
|
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
230
|
+
verdict?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
231
|
+
reviewBody?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
232
|
+
ciPendingAtReview?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
233
|
+
ciRereviewAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
198
234
|
run?: Prisma.RunOrderByWithRelationInput;
|
|
199
235
|
};
|
|
200
236
|
export type RunHostCheckWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -208,6 +244,10 @@ export type RunHostCheckWhereUniqueInput = Prisma.AtLeast<{
|
|
|
208
244
|
headSha?: Prisma.StringFilter<"RunHostCheck"> | string;
|
|
209
245
|
prNumber?: Prisma.IntNullableFilter<"RunHostCheck"> | number | null;
|
|
210
246
|
completedAt?: Prisma.DateTimeNullableFilter<"RunHostCheck"> | Date | string | null;
|
|
247
|
+
verdict?: Prisma.StringNullableFilter<"RunHostCheck"> | string | null;
|
|
248
|
+
reviewBody?: Prisma.StringNullableFilter<"RunHostCheck"> | string | null;
|
|
249
|
+
ciPendingAtReview?: Prisma.BoolNullableFilter<"RunHostCheck"> | boolean | null;
|
|
250
|
+
ciRereviewAt?: Prisma.DateTimeNullableFilter<"RunHostCheck"> | Date | string | null;
|
|
211
251
|
run?: Prisma.XOR<Prisma.RunScalarRelationFilter, Prisma.RunWhereInput>;
|
|
212
252
|
}, "runId">;
|
|
213
253
|
export type RunHostCheckOrderByWithAggregationInput = {
|
|
@@ -218,6 +258,10 @@ export type RunHostCheckOrderByWithAggregationInput = {
|
|
|
218
258
|
headSha?: Prisma.SortOrder;
|
|
219
259
|
prNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
220
260
|
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
261
|
+
verdict?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
262
|
+
reviewBody?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
263
|
+
ciPendingAtReview?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
264
|
+
ciRereviewAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
221
265
|
_count?: Prisma.RunHostCheckCountOrderByAggregateInput;
|
|
222
266
|
_avg?: Prisma.RunHostCheckAvgOrderByAggregateInput;
|
|
223
267
|
_max?: Prisma.RunHostCheckMaxOrderByAggregateInput;
|
|
@@ -235,6 +279,10 @@ export type RunHostCheckScalarWhereWithAggregatesInput = {
|
|
|
235
279
|
headSha?: Prisma.StringWithAggregatesFilter<"RunHostCheck"> | string;
|
|
236
280
|
prNumber?: Prisma.IntNullableWithAggregatesFilter<"RunHostCheck"> | number | null;
|
|
237
281
|
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"RunHostCheck"> | Date | string | null;
|
|
282
|
+
verdict?: Prisma.StringNullableWithAggregatesFilter<"RunHostCheck"> | string | null;
|
|
283
|
+
reviewBody?: Prisma.StringNullableWithAggregatesFilter<"RunHostCheck"> | string | null;
|
|
284
|
+
ciPendingAtReview?: Prisma.BoolNullableWithAggregatesFilter<"RunHostCheck"> | boolean | null;
|
|
285
|
+
ciRereviewAt?: Prisma.DateTimeNullableWithAggregatesFilter<"RunHostCheck"> | Date | string | null;
|
|
238
286
|
};
|
|
239
287
|
export type RunHostCheckCreateInput = {
|
|
240
288
|
provider: string;
|
|
@@ -243,6 +291,10 @@ export type RunHostCheckCreateInput = {
|
|
|
243
291
|
headSha: string;
|
|
244
292
|
prNumber?: number | null;
|
|
245
293
|
completedAt?: Date | string | null;
|
|
294
|
+
verdict?: string | null;
|
|
295
|
+
reviewBody?: string | null;
|
|
296
|
+
ciPendingAtReview?: boolean | null;
|
|
297
|
+
ciRereviewAt?: Date | string | null;
|
|
246
298
|
run: Prisma.RunCreateNestedOneWithoutHostCheckInput;
|
|
247
299
|
};
|
|
248
300
|
export type RunHostCheckUncheckedCreateInput = {
|
|
@@ -253,6 +305,10 @@ export type RunHostCheckUncheckedCreateInput = {
|
|
|
253
305
|
headSha: string;
|
|
254
306
|
prNumber?: number | null;
|
|
255
307
|
completedAt?: Date | string | null;
|
|
308
|
+
verdict?: string | null;
|
|
309
|
+
reviewBody?: string | null;
|
|
310
|
+
ciPendingAtReview?: boolean | null;
|
|
311
|
+
ciRereviewAt?: Date | string | null;
|
|
256
312
|
};
|
|
257
313
|
export type RunHostCheckUpdateInput = {
|
|
258
314
|
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -261,6 +317,10 @@ export type RunHostCheckUpdateInput = {
|
|
|
261
317
|
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
262
318
|
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
263
319
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
320
|
+
verdict?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
321
|
+
reviewBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
322
|
+
ciPendingAtReview?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
323
|
+
ciRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
264
324
|
run?: Prisma.RunUpdateOneRequiredWithoutHostCheckNestedInput;
|
|
265
325
|
};
|
|
266
326
|
export type RunHostCheckUncheckedUpdateInput = {
|
|
@@ -271,6 +331,10 @@ export type RunHostCheckUncheckedUpdateInput = {
|
|
|
271
331
|
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
272
332
|
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
273
333
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
334
|
+
verdict?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
335
|
+
reviewBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
336
|
+
ciPendingAtReview?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
337
|
+
ciRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
274
338
|
};
|
|
275
339
|
export type RunHostCheckCreateManyInput = {
|
|
276
340
|
runId: string;
|
|
@@ -280,6 +344,10 @@ export type RunHostCheckCreateManyInput = {
|
|
|
280
344
|
headSha: string;
|
|
281
345
|
prNumber?: number | null;
|
|
282
346
|
completedAt?: Date | string | null;
|
|
347
|
+
verdict?: string | null;
|
|
348
|
+
reviewBody?: string | null;
|
|
349
|
+
ciPendingAtReview?: boolean | null;
|
|
350
|
+
ciRereviewAt?: Date | string | null;
|
|
283
351
|
};
|
|
284
352
|
export type RunHostCheckUpdateManyMutationInput = {
|
|
285
353
|
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -288,6 +356,10 @@ export type RunHostCheckUpdateManyMutationInput = {
|
|
|
288
356
|
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
289
357
|
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
290
358
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
359
|
+
verdict?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
360
|
+
reviewBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
361
|
+
ciPendingAtReview?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
362
|
+
ciRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
291
363
|
};
|
|
292
364
|
export type RunHostCheckUncheckedUpdateManyInput = {
|
|
293
365
|
runId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -297,6 +369,10 @@ export type RunHostCheckUncheckedUpdateManyInput = {
|
|
|
297
369
|
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
298
370
|
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
299
371
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
372
|
+
verdict?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
373
|
+
reviewBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
374
|
+
ciPendingAtReview?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
375
|
+
ciRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
300
376
|
};
|
|
301
377
|
export type RunHostCheckNullableScalarRelationFilter = {
|
|
302
378
|
is?: Prisma.RunHostCheckWhereInput | null;
|
|
@@ -310,6 +386,10 @@ export type RunHostCheckCountOrderByAggregateInput = {
|
|
|
310
386
|
headSha?: Prisma.SortOrder;
|
|
311
387
|
prNumber?: Prisma.SortOrder;
|
|
312
388
|
completedAt?: Prisma.SortOrder;
|
|
389
|
+
verdict?: Prisma.SortOrder;
|
|
390
|
+
reviewBody?: Prisma.SortOrder;
|
|
391
|
+
ciPendingAtReview?: Prisma.SortOrder;
|
|
392
|
+
ciRereviewAt?: Prisma.SortOrder;
|
|
313
393
|
};
|
|
314
394
|
export type RunHostCheckAvgOrderByAggregateInput = {
|
|
315
395
|
prNumber?: Prisma.SortOrder;
|
|
@@ -322,6 +402,10 @@ export type RunHostCheckMaxOrderByAggregateInput = {
|
|
|
322
402
|
headSha?: Prisma.SortOrder;
|
|
323
403
|
prNumber?: Prisma.SortOrder;
|
|
324
404
|
completedAt?: Prisma.SortOrder;
|
|
405
|
+
verdict?: Prisma.SortOrder;
|
|
406
|
+
reviewBody?: Prisma.SortOrder;
|
|
407
|
+
ciPendingAtReview?: Prisma.SortOrder;
|
|
408
|
+
ciRereviewAt?: Prisma.SortOrder;
|
|
325
409
|
};
|
|
326
410
|
export type RunHostCheckMinOrderByAggregateInput = {
|
|
327
411
|
runId?: Prisma.SortOrder;
|
|
@@ -331,6 +415,10 @@ export type RunHostCheckMinOrderByAggregateInput = {
|
|
|
331
415
|
headSha?: Prisma.SortOrder;
|
|
332
416
|
prNumber?: Prisma.SortOrder;
|
|
333
417
|
completedAt?: Prisma.SortOrder;
|
|
418
|
+
verdict?: Prisma.SortOrder;
|
|
419
|
+
reviewBody?: Prisma.SortOrder;
|
|
420
|
+
ciPendingAtReview?: Prisma.SortOrder;
|
|
421
|
+
ciRereviewAt?: Prisma.SortOrder;
|
|
334
422
|
};
|
|
335
423
|
export type RunHostCheckSumOrderByAggregateInput = {
|
|
336
424
|
prNumber?: Prisma.SortOrder;
|
|
@@ -363,6 +451,9 @@ export type RunHostCheckUncheckedUpdateOneWithoutRunNestedInput = {
|
|
|
363
451
|
connect?: Prisma.RunHostCheckWhereUniqueInput;
|
|
364
452
|
update?: Prisma.XOR<Prisma.XOR<Prisma.RunHostCheckUpdateToOneWithWhereWithoutRunInput, Prisma.RunHostCheckUpdateWithoutRunInput>, Prisma.RunHostCheckUncheckedUpdateWithoutRunInput>;
|
|
365
453
|
};
|
|
454
|
+
export type NullableBoolFieldUpdateOperationsInput = {
|
|
455
|
+
set?: boolean | null;
|
|
456
|
+
};
|
|
366
457
|
export type RunHostCheckCreateWithoutRunInput = {
|
|
367
458
|
provider: string;
|
|
368
459
|
repository: string;
|
|
@@ -370,6 +461,10 @@ export type RunHostCheckCreateWithoutRunInput = {
|
|
|
370
461
|
headSha: string;
|
|
371
462
|
prNumber?: number | null;
|
|
372
463
|
completedAt?: Date | string | null;
|
|
464
|
+
verdict?: string | null;
|
|
465
|
+
reviewBody?: string | null;
|
|
466
|
+
ciPendingAtReview?: boolean | null;
|
|
467
|
+
ciRereviewAt?: Date | string | null;
|
|
373
468
|
};
|
|
374
469
|
export type RunHostCheckUncheckedCreateWithoutRunInput = {
|
|
375
470
|
provider: string;
|
|
@@ -378,6 +473,10 @@ export type RunHostCheckUncheckedCreateWithoutRunInput = {
|
|
|
378
473
|
headSha: string;
|
|
379
474
|
prNumber?: number | null;
|
|
380
475
|
completedAt?: Date | string | null;
|
|
476
|
+
verdict?: string | null;
|
|
477
|
+
reviewBody?: string | null;
|
|
478
|
+
ciPendingAtReview?: boolean | null;
|
|
479
|
+
ciRereviewAt?: Date | string | null;
|
|
381
480
|
};
|
|
382
481
|
export type RunHostCheckCreateOrConnectWithoutRunInput = {
|
|
383
482
|
where: Prisma.RunHostCheckWhereUniqueInput;
|
|
@@ -399,6 +498,10 @@ export type RunHostCheckUpdateWithoutRunInput = {
|
|
|
399
498
|
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
400
499
|
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
401
500
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
501
|
+
verdict?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
502
|
+
reviewBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
503
|
+
ciPendingAtReview?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
504
|
+
ciRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
402
505
|
};
|
|
403
506
|
export type RunHostCheckUncheckedUpdateWithoutRunInput = {
|
|
404
507
|
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -407,6 +510,10 @@ export type RunHostCheckUncheckedUpdateWithoutRunInput = {
|
|
|
407
510
|
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
408
511
|
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
409
512
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
513
|
+
verdict?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
514
|
+
reviewBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
515
|
+
ciPendingAtReview?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
516
|
+
ciRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
410
517
|
};
|
|
411
518
|
export type RunHostCheckSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
412
519
|
runId?: boolean;
|
|
@@ -416,6 +523,10 @@ export type RunHostCheckSelect<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
416
523
|
headSha?: boolean;
|
|
417
524
|
prNumber?: boolean;
|
|
418
525
|
completedAt?: boolean;
|
|
526
|
+
verdict?: boolean;
|
|
527
|
+
reviewBody?: boolean;
|
|
528
|
+
ciPendingAtReview?: boolean;
|
|
529
|
+
ciRereviewAt?: boolean;
|
|
419
530
|
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
420
531
|
}, ExtArgs["result"]["runHostCheck"]>;
|
|
421
532
|
export type RunHostCheckSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
@@ -426,6 +537,10 @@ export type RunHostCheckSelectCreateManyAndReturn<ExtArgs extends runtime.Types.
|
|
|
426
537
|
headSha?: boolean;
|
|
427
538
|
prNumber?: boolean;
|
|
428
539
|
completedAt?: boolean;
|
|
540
|
+
verdict?: boolean;
|
|
541
|
+
reviewBody?: boolean;
|
|
542
|
+
ciPendingAtReview?: boolean;
|
|
543
|
+
ciRereviewAt?: boolean;
|
|
429
544
|
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
430
545
|
}, ExtArgs["result"]["runHostCheck"]>;
|
|
431
546
|
export type RunHostCheckSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
@@ -436,6 +551,10 @@ export type RunHostCheckSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.
|
|
|
436
551
|
headSha?: boolean;
|
|
437
552
|
prNumber?: boolean;
|
|
438
553
|
completedAt?: boolean;
|
|
554
|
+
verdict?: boolean;
|
|
555
|
+
reviewBody?: boolean;
|
|
556
|
+
ciPendingAtReview?: boolean;
|
|
557
|
+
ciRereviewAt?: boolean;
|
|
439
558
|
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
440
559
|
}, ExtArgs["result"]["runHostCheck"]>;
|
|
441
560
|
export type RunHostCheckSelectScalar = {
|
|
@@ -446,8 +565,12 @@ export type RunHostCheckSelectScalar = {
|
|
|
446
565
|
headSha?: boolean;
|
|
447
566
|
prNumber?: boolean;
|
|
448
567
|
completedAt?: boolean;
|
|
568
|
+
verdict?: boolean;
|
|
569
|
+
reviewBody?: boolean;
|
|
570
|
+
ciPendingAtReview?: boolean;
|
|
571
|
+
ciRereviewAt?: boolean;
|
|
449
572
|
};
|
|
450
|
-
export type RunHostCheckOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"runId" | "provider" | "repository" | "checkId" | "headSha" | "prNumber" | "completedAt", ExtArgs["result"]["runHostCheck"]>;
|
|
573
|
+
export type RunHostCheckOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"runId" | "provider" | "repository" | "checkId" | "headSha" | "prNumber" | "completedAt" | "verdict" | "reviewBody" | "ciPendingAtReview" | "ciRereviewAt", ExtArgs["result"]["runHostCheck"]>;
|
|
451
574
|
export type RunHostCheckInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
452
575
|
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
453
576
|
};
|
|
@@ -475,6 +598,26 @@ export type $RunHostCheckPayload<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
475
598
|
*/
|
|
476
599
|
prNumber: number | null;
|
|
477
600
|
completedAt: Date | null;
|
|
601
|
+
/**
|
|
602
|
+
* The verdict the run published on its own check ("APPROVE",
|
|
603
|
+
* "CHANGES_REQUESTED", "COMMENT"); null until then, or when the check was
|
|
604
|
+
* closed without one (superseded, or by the finalizer).
|
|
605
|
+
*/
|
|
606
|
+
verdict: string | null;
|
|
607
|
+
/**
|
|
608
|
+
* The published review's summary and body (capped), kept for an automatic
|
|
609
|
+
* fix round started when the run finishes.
|
|
610
|
+
*/
|
|
611
|
+
reviewBody: string | null;
|
|
612
|
+
/**
|
|
613
|
+
* The run published COMMENT while CI on its head was still running or had
|
|
614
|
+
* not reported yet. CI finishing on that head later re-runs the review.
|
|
615
|
+
*/
|
|
616
|
+
ciPendingAtReview: boolean | null;
|
|
617
|
+
/**
|
|
618
|
+
* When CI finishing on this head re-ran the review: at most once per head.
|
|
619
|
+
*/
|
|
620
|
+
ciRereviewAt: Date | null;
|
|
478
621
|
}, ExtArgs["result"]["runHostCheck"]>;
|
|
479
622
|
composites: {};
|
|
480
623
|
};
|
|
@@ -837,6 +980,10 @@ export interface RunHostCheckFieldRefs {
|
|
|
837
980
|
readonly headSha: Prisma.FieldRef<"RunHostCheck", 'String'>;
|
|
838
981
|
readonly prNumber: Prisma.FieldRef<"RunHostCheck", 'Int'>;
|
|
839
982
|
readonly completedAt: Prisma.FieldRef<"RunHostCheck", 'DateTime'>;
|
|
983
|
+
readonly verdict: Prisma.FieldRef<"RunHostCheck", 'String'>;
|
|
984
|
+
readonly reviewBody: Prisma.FieldRef<"RunHostCheck", 'String'>;
|
|
985
|
+
readonly ciPendingAtReview: Prisma.FieldRef<"RunHostCheck", 'Boolean'>;
|
|
986
|
+
readonly ciRereviewAt: Prisma.FieldRef<"RunHostCheck", 'DateTime'>;
|
|
840
987
|
}
|
|
841
988
|
/**
|
|
842
989
|
* RunHostCheck findUnique
|
|
@@ -38,6 +38,7 @@ export type * from './models/OAuthAuthorizationCode.js';
|
|
|
38
38
|
export type * from './models/OAuthFamily.js';
|
|
39
39
|
export type * from './models/AuthRateLimit.js';
|
|
40
40
|
export type * from './models/AgentRepository.js';
|
|
41
|
+
export type * from './models/DeferredReview.js';
|
|
41
42
|
export type * from './models/RunHostCheck.js';
|
|
42
43
|
export type * from './models/RunHostStatus.js';
|
|
43
44
|
export type * from './models/HostEventDelivery.js';
|
|
@@ -51,4 +52,6 @@ export type * from './models/WorkItem.js';
|
|
|
51
52
|
export type * from './models/RunAttribution.js';
|
|
52
53
|
export type * from './models/RunModelUsage.js';
|
|
53
54
|
export type * from './models/ModelCatalogEntry.js';
|
|
55
|
+
export type * from './models/LocalPullRequest.js';
|
|
56
|
+
export type * from './models/LocalReview.js';
|
|
54
57
|
export type * from './commonInputTypes.js';
|