@knpkv/codecommit-web 0.13.0 → 0.14.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/client/assets/index-DQUoxciG.js +90 -0
- package/dist/client/assets/index-NJaNHeOS.css +1 -0
- package/dist/client/assets/pr-review-workspace-C0TVEp1y.js +22 -0
- package/dist/client/index.html +2 -2
- package/dist/server/Api.d.ts +285 -137
- package/dist/server/Api.d.ts.map +1 -1
- package/dist/server/Api.js +29 -20
- package/dist/server/Api.js.map +1 -1
- package/dist/server/handlers/prs-live.d.ts +58 -2
- package/dist/server/handlers/prs-live.d.ts.map +1 -1
- package/dist/server/handlers/prs-live.js +27 -8
- package/dist/server/handlers/prs-live.js.map +1 -1
- package/dist/server/review/PullRequestReview.d.ts +88 -5
- package/dist/server/review/PullRequestReview.d.ts.map +1 -1
- package/dist/server/review/PullRequestReview.js +31 -14
- package/dist/server/review/PullRequestReview.js.map +1 -1
- package/package.json +7 -5
- package/dist/client/assets/index-DJ8wO4ny.js +0 -90
- package/dist/client/assets/index-KjRfV-r_.css +0 -1
- package/dist/client/assets/pr-review-workspace-DPsfemKB.js +0 -22
package/dist/server/Api.d.ts
CHANGED
|
@@ -105,6 +105,17 @@ export declare const RelayReviewKind: Schema.Literals<readonly ["review", "secur
|
|
|
105
105
|
export type RelayReviewKind = typeof RelayReviewKind.Type;
|
|
106
106
|
export declare const RelayReviewSkillId: Schema.String;
|
|
107
107
|
export declare const RelayReviewSkillIds: Schema.$Array<Schema.String>;
|
|
108
|
+
/** Complete server-validated execution configuration owned by one saved profile. */
|
|
109
|
+
export declare const RelayReviewProfile: Schema.Struct<{
|
|
110
|
+
readonly id: Schema.String;
|
|
111
|
+
readonly name: Schema.String;
|
|
112
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
113
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
114
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
115
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
116
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
117
|
+
}>;
|
|
118
|
+
export type RelayReviewProfile = typeof RelayReviewProfile.Type;
|
|
108
119
|
export declare const RelayReviewFinding: Schema.Struct<{
|
|
109
120
|
readonly id: Schema.String;
|
|
110
121
|
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
@@ -127,6 +138,31 @@ export declare const RelayReviewFinding: Schema.Struct<{
|
|
|
127
138
|
}>]>;
|
|
128
139
|
}>;
|
|
129
140
|
export type RelayReviewFinding = typeof RelayReviewFinding.Type;
|
|
141
|
+
/** Native non-Explain output excludes Explain's required explanation field. */
|
|
142
|
+
export declare const RelayNativeReviewResult: Schema.Struct<{
|
|
143
|
+
readonly findings: Schema.$Array<Schema.Struct<{
|
|
144
|
+
readonly id: Schema.String;
|
|
145
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
146
|
+
readonly title: Schema.String;
|
|
147
|
+
readonly summary: Schema.String;
|
|
148
|
+
readonly details: Schema.String;
|
|
149
|
+
readonly recommendation: Schema.String;
|
|
150
|
+
readonly verification: Schema.String;
|
|
151
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
152
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
153
|
+
readonly scope: Schema.Literal<"general">;
|
|
154
|
+
}>, Schema.Struct<{
|
|
155
|
+
readonly scope: Schema.Literal<"file">;
|
|
156
|
+
readonly filePath: Schema.String;
|
|
157
|
+
}>, Schema.Struct<{
|
|
158
|
+
readonly scope: Schema.Literal<"line">;
|
|
159
|
+
readonly filePath: Schema.String;
|
|
160
|
+
readonly line: Schema.Int;
|
|
161
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
162
|
+
}>]>;
|
|
163
|
+
}>>;
|
|
164
|
+
readonly verdict: Schema.String;
|
|
165
|
+
}>;
|
|
130
166
|
export declare const RelayReviewResult: Schema.Struct<{
|
|
131
167
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
132
168
|
readonly id: Schema.String;
|
|
@@ -153,7 +189,7 @@ export declare const RelayReviewResult: Schema.Struct<{
|
|
|
153
189
|
readonly explanation: Schema.optional<Schema.String>;
|
|
154
190
|
}>;
|
|
155
191
|
export type RelayReviewResult = typeof RelayReviewResult.Type;
|
|
156
|
-
/** Explain-mode
|
|
192
|
+
/** Explain-mode native schema makes a findings-shaped response impossible. */
|
|
157
193
|
export declare const RelayExplainResult: Schema.Struct<{
|
|
158
194
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
159
195
|
readonly id: Schema.String;
|
|
@@ -177,7 +213,7 @@ export declare const RelayExplainResult: Schema.Struct<{
|
|
|
177
213
|
}>]>;
|
|
178
214
|
}>>;
|
|
179
215
|
readonly verdict: Schema.String;
|
|
180
|
-
readonly explanation: Schema.
|
|
216
|
+
readonly explanation: Schema.String;
|
|
181
217
|
}>;
|
|
182
218
|
/** One ephemeral Relay result bound to the exact diff that was reviewed. */
|
|
183
219
|
export declare const PullRequestRelayReviewResponse: Schema.Struct<{
|
|
@@ -186,6 +222,15 @@ export declare const PullRequestRelayReviewResponse: Schema.Struct<{
|
|
|
186
222
|
readonly baseCommit: Schema.String;
|
|
187
223
|
readonly headCommit: Schema.String;
|
|
188
224
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
225
|
+
readonly profile: Schema.Struct<{
|
|
226
|
+
readonly id: Schema.String;
|
|
227
|
+
readonly name: Schema.String;
|
|
228
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
229
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
230
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
231
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
232
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
233
|
+
}>;
|
|
189
234
|
readonly result: Schema.Struct<{
|
|
190
235
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
191
236
|
readonly id: Schema.String;
|
|
@@ -235,6 +280,15 @@ export declare const RelayReviewStreamEvent: Schema.Union<readonly [Schema.Struc
|
|
|
235
280
|
readonly baseCommit: Schema.String;
|
|
236
281
|
readonly headCommit: Schema.String;
|
|
237
282
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
283
|
+
readonly profile: Schema.Struct<{
|
|
284
|
+
readonly id: Schema.String;
|
|
285
|
+
readonly name: Schema.String;
|
|
286
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
287
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
288
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
289
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
290
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
291
|
+
}>;
|
|
238
292
|
readonly result: Schema.Struct<{
|
|
239
293
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
240
294
|
readonly id: Schema.String;
|
|
@@ -277,8 +331,15 @@ export declare const RelayReviewStreamRequest: Schema.Struct<{
|
|
|
277
331
|
readonly revisionId: Schema.String;
|
|
278
332
|
readonly baseCommit: Schema.String;
|
|
279
333
|
readonly headCommit: Schema.String;
|
|
280
|
-
readonly
|
|
281
|
-
|
|
334
|
+
readonly profile: Schema.Struct<{
|
|
335
|
+
readonly id: Schema.String;
|
|
336
|
+
readonly name: Schema.String;
|
|
337
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
338
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
339
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
340
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
341
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
342
|
+
}>;
|
|
282
343
|
}>;
|
|
283
344
|
export type RelayReviewStreamRequest = typeof RelayReviewStreamRequest.Type;
|
|
284
345
|
export declare const MAXIMUM_RELAY_REVIEW_TURNS = 40;
|
|
@@ -291,8 +352,15 @@ export declare const RelayReviewContinueStreamRequest: Schema.Struct<{
|
|
|
291
352
|
readonly revisionId: Schema.String;
|
|
292
353
|
readonly baseCommit: Schema.String;
|
|
293
354
|
readonly headCommit: Schema.String;
|
|
294
|
-
readonly
|
|
295
|
-
|
|
355
|
+
readonly profile: Schema.Struct<{
|
|
356
|
+
readonly id: Schema.String;
|
|
357
|
+
readonly name: Schema.String;
|
|
358
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
359
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
360
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
361
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
362
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
363
|
+
}>;
|
|
296
364
|
readonly currentReview: Schema.Struct<{
|
|
297
365
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
298
366
|
readonly id: Schema.String;
|
|
@@ -445,13 +513,30 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
445
513
|
readonly revisionId: Schema.String;
|
|
446
514
|
readonly baseCommit: Schema.String;
|
|
447
515
|
readonly headCommit: Schema.String;
|
|
448
|
-
readonly
|
|
516
|
+
readonly profile: Schema.Struct<{
|
|
517
|
+
readonly id: Schema.String;
|
|
518
|
+
readonly name: Schema.String;
|
|
519
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
520
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
521
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
522
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
523
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
524
|
+
}>;
|
|
449
525
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
450
526
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
451
527
|
readonly revisionId: Schema.String;
|
|
452
528
|
readonly baseCommit: Schema.String;
|
|
453
529
|
readonly headCommit: Schema.String;
|
|
454
530
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
531
|
+
readonly profile: Schema.Struct<{
|
|
532
|
+
readonly id: Schema.String;
|
|
533
|
+
readonly name: Schema.String;
|
|
534
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
535
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
536
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
537
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
538
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
539
|
+
}>;
|
|
455
540
|
readonly result: Schema.Struct<{
|
|
456
541
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
457
542
|
readonly id: Schema.String;
|
|
@@ -484,8 +569,15 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
484
569
|
readonly revisionId: Schema.String;
|
|
485
570
|
readonly baseCommit: Schema.String;
|
|
486
571
|
readonly headCommit: Schema.String;
|
|
487
|
-
readonly
|
|
488
|
-
|
|
572
|
+
readonly profile: Schema.Struct<{
|
|
573
|
+
readonly id: Schema.String;
|
|
574
|
+
readonly name: Schema.String;
|
|
575
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
576
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
577
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
578
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
579
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
580
|
+
}>;
|
|
489
581
|
readonly currentReview: Schema.Struct<{
|
|
490
582
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
491
583
|
readonly id: Schema.String;
|
|
@@ -525,8 +617,15 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
525
617
|
readonly revisionId: Schema.String;
|
|
526
618
|
readonly baseCommit: Schema.String;
|
|
527
619
|
readonly headCommit: Schema.String;
|
|
528
|
-
readonly
|
|
529
|
-
|
|
620
|
+
readonly profile: Schema.Struct<{
|
|
621
|
+
readonly id: Schema.String;
|
|
622
|
+
readonly name: Schema.String;
|
|
623
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
624
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
625
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
626
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
627
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
628
|
+
}>;
|
|
530
629
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
531
630
|
readonly q: Schema.String;
|
|
532
631
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
@@ -594,6 +693,9 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
|
|
|
594
693
|
readonly id: Schema.String;
|
|
595
694
|
readonly name: Schema.String;
|
|
596
695
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
696
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
697
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
698
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
597
699
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
598
700
|
}>>;
|
|
599
701
|
}>;
|
|
@@ -631,6 +733,9 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
|
|
|
631
733
|
readonly id: Schema.String;
|
|
632
734
|
readonly name: Schema.String;
|
|
633
735
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
736
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
737
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
738
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
634
739
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
635
740
|
}>>;
|
|
636
741
|
}>;
|
|
@@ -668,6 +773,9 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
|
|
|
668
773
|
readonly id: Schema.String;
|
|
669
774
|
readonly name: Schema.String;
|
|
670
775
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
776
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
777
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
778
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
671
779
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
672
780
|
}>>;
|
|
673
781
|
}>>;
|
|
@@ -993,19 +1101,7 @@ export declare class AuditGroup extends AuditGroup_base {
|
|
|
993
1101
|
}
|
|
994
1102
|
declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.HttpApiGroup<"accounts", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/accounts/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof Account>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoint.HttpApiEndpoint<"clear", "DELETE", "/api/audit/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
995
1103
|
readonly deleted: Schema.Number;
|
|
996
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
997
|
-
readonly from: Schema.optional<Schema.String>;
|
|
998
|
-
readonly to: Schema.optional<Schema.String>;
|
|
999
|
-
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1000
|
-
readonly id: Schema.Number;
|
|
1001
|
-
readonly timestamp: Schema.String;
|
|
1002
|
-
readonly operation: Schema.String;
|
|
1003
|
-
readonly accountProfile: Schema.String;
|
|
1004
|
-
readonly region: Schema.String;
|
|
1005
|
-
readonly permissionState: Schema.String;
|
|
1006
|
-
readonly context: Schema.String;
|
|
1007
|
-
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
1008
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/audit/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1104
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/audit/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1009
1105
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1010
1106
|
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
1011
1107
|
readonly operation: Schema.optional<Schema.String>;
|
|
@@ -1027,12 +1123,19 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1027
1123
|
}>>;
|
|
1028
1124
|
readonly total: Schema.Number;
|
|
1029
1125
|
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1030
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never
|
|
1031
|
-
readonly
|
|
1032
|
-
readonly
|
|
1033
|
-
|
|
1034
|
-
readonly
|
|
1035
|
-
|
|
1126
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"export", "GET", "/api/audit/export", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1127
|
+
readonly from: Schema.optional<Schema.String>;
|
|
1128
|
+
readonly to: Schema.optional<Schema.String>;
|
|
1129
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1130
|
+
readonly id: Schema.Number;
|
|
1131
|
+
readonly timestamp: Schema.String;
|
|
1132
|
+
readonly operation: Schema.String;
|
|
1133
|
+
readonly accountProfile: Schema.String;
|
|
1134
|
+
readonly region: Schema.String;
|
|
1135
|
+
readonly permissionState: Schema.String;
|
|
1136
|
+
readonly context: Schema.String;
|
|
1137
|
+
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
1138
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"config", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/config/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1036
1139
|
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
1037
1140
|
readonly profile: Schema.String;
|
|
1038
1141
|
readonly regions: Schema.$Array<Schema.String>;
|
|
@@ -1048,6 +1151,9 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1048
1151
|
readonly id: Schema.String;
|
|
1049
1152
|
readonly name: Schema.String;
|
|
1050
1153
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1154
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1155
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1156
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1051
1157
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1052
1158
|
}>>;
|
|
1053
1159
|
}>;
|
|
@@ -1063,7 +1169,12 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1063
1169
|
}>>;
|
|
1064
1170
|
readonly cloneDepth: Schema.Number;
|
|
1065
1171
|
}>>;
|
|
1066
|
-
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1172
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"database", "GET", "/api/config/database", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1173
|
+
readonly path: Schema.String;
|
|
1174
|
+
readonly sizeBytes: Schema.Number;
|
|
1175
|
+
readonly exists: Schema.Boolean;
|
|
1176
|
+
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1177
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"path", "GET", "/api/config/path", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1067
1178
|
readonly path: Schema.String;
|
|
1068
1179
|
readonly exists: Schema.Boolean;
|
|
1069
1180
|
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
@@ -1085,6 +1196,9 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1085
1196
|
readonly id: Schema.String;
|
|
1086
1197
|
readonly name: Schema.String;
|
|
1087
1198
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1199
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1200
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1201
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1088
1202
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1089
1203
|
}>>;
|
|
1090
1204
|
}>;
|
|
@@ -1122,6 +1236,9 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1122
1236
|
readonly id: Schema.String;
|
|
1123
1237
|
readonly name: Schema.String;
|
|
1124
1238
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1239
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1240
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1241
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1125
1242
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1126
1243
|
}>>;
|
|
1127
1244
|
}>>;
|
|
@@ -1141,9 +1258,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1141
1258
|
readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
|
|
1142
1259
|
readonly path: Schema.String;
|
|
1143
1260
|
readonly errors: Schema.$Array<Schema.String>;
|
|
1144
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"events", HttpApiEndpoint.HttpApiEndpoint<"stream", "GET", "/api/events/", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"notifications", HttpApiEndpoint.HttpApiEndpoint<"
|
|
1145
|
-
readonly unread: Schema.Number;
|
|
1146
|
-
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1261
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"events", HttpApiEndpoint.HttpApiEndpoint<"stream", "GET", "/api/events/", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"notifications", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1147
1262
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1148
1263
|
readonly cursor: Schema.optional<Schema.NumberFromString>;
|
|
1149
1264
|
readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
|
|
@@ -1161,57 +1276,38 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1161
1276
|
readonly read: Schema.Number;
|
|
1162
1277
|
}>>;
|
|
1163
1278
|
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1164
|
-
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1165
|
-
readonly
|
|
1166
|
-
}>>, never,
|
|
1279
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"count", "GET", "/api/notifications/count", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1280
|
+
readonly unread: Schema.Number;
|
|
1281
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markRead", "POST", "/api/notifications/read", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1167
1282
|
readonly id: Schema.Number;
|
|
1168
|
-
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogin", "POST", "/api/notifications/sso-login", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1283
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markAllRead", "POST", "/api/notifications/read-all", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogin", "POST", "/api/notifications/sso-login", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1169
1284
|
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1170
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogout", "POST", "/api/notifications/sso-logout", never, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never
|
|
1171
|
-
readonly
|
|
1172
|
-
|
|
1173
|
-
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/permissions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1285
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogout", "POST", "/api/notifications/sso-logout", never, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markUnread", "POST", "/api/notifications/unread", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1286
|
+
readonly id: Schema.Number;
|
|
1287
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"permissions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/permissions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1174
1288
|
readonly operation: Schema.String;
|
|
1175
1289
|
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1176
1290
|
readonly category: Schema.Literals<readonly ["read", "write"]>;
|
|
1177
1291
|
readonly description: Schema.String;
|
|
1178
|
-
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1292
|
+
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"auditSettings", "GET", "/api/permissions/audit", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1293
|
+
readonly enabled: Schema.Boolean;
|
|
1294
|
+
readonly retentionDays: Schema.Number;
|
|
1295
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateAuditSettings", "POST", "/api/permissions/audit", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1296
|
+
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
1297
|
+
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
1298
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reset", "POST", "/api/permissions/reset", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"respond", "POST", "/api/permissions/respond", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1179
1299
|
readonly id: Schema.String;
|
|
1180
1300
|
readonly response: Schema.Literals<readonly ["allow_once", "always_allow", "deny"]>;
|
|
1181
1301
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"update", "POST", "/api/permissions/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1182
1302
|
readonly operation: Schema.String;
|
|
1183
1303
|
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1184
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1185
|
-
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
1186
|
-
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
1187
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1188
|
-
readonly pullRequestId: Schema.String;
|
|
1189
|
-
readonly repositoryName: Schema.String;
|
|
1190
|
-
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1191
|
-
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1192
|
-
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1193
|
-
readonly filePath: Schema.optional<Schema.String>;
|
|
1194
|
-
readonly beforeCommitId: Schema.optional<Schema.String>;
|
|
1195
|
-
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
1196
|
-
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
1197
|
-
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
1198
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1304
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/prs/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof PullRequest>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1199
1305
|
readonly repositoryName: Schema.String;
|
|
1200
1306
|
readonly title: Schema.String;
|
|
1201
1307
|
readonly description: Schema.optional<Schema.String>;
|
|
1202
1308
|
readonly sourceBranch: Schema.String;
|
|
1203
1309
|
readonly destinationBranch: Schema.String;
|
|
1204
1310
|
readonly account: typeof Account;
|
|
1205
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"createApprovalRule", "POST", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1206
|
-
readonly pullRequestId: Schema.String;
|
|
1207
|
-
readonly approvalRuleName: Schema.String;
|
|
1208
|
-
readonly requiredApprovals: Schema.Number;
|
|
1209
|
-
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1210
|
-
readonly account: typeof Account;
|
|
1211
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"deleteApprovalRule", "DELETE", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1212
|
-
readonly pullRequestId: Schema.String;
|
|
1213
|
-
readonly approvalRuleName: Schema.String;
|
|
1214
|
-
readonly account: typeof Account;
|
|
1215
1311
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
1216
1312
|
readonly awsAccountId: Schema.String;
|
|
1217
1313
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
@@ -1242,43 +1338,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1242
1338
|
readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
|
|
1243
1339
|
readonly before: Schema.NullOr<Schema.String>;
|
|
1244
1340
|
readonly after: Schema.NullOr<Schema.String>;
|
|
1245
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1246
|
-
readonly profile: Schema.String;
|
|
1247
|
-
readonly link: Schema.String;
|
|
1248
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"postRelayFinding", "POST", "/api/prs/:awsAccountId/:prId/relay-review/findings/:findingId/post", Schema.toCodecStringTree<Schema.Struct<{
|
|
1249
|
-
readonly awsAccountId: Schema.String;
|
|
1250
|
-
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1251
|
-
readonly findingId: Schema.String;
|
|
1252
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1253
|
-
readonly revisionId: Schema.String;
|
|
1254
|
-
readonly baseCommit: Schema.String;
|
|
1255
|
-
readonly headCommit: Schema.String;
|
|
1256
|
-
readonly finding: Schema.Struct<{
|
|
1257
|
-
readonly id: Schema.String;
|
|
1258
|
-
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
1259
|
-
readonly title: Schema.String;
|
|
1260
|
-
readonly summary: Schema.String;
|
|
1261
|
-
readonly details: Schema.String;
|
|
1262
|
-
readonly recommendation: Schema.String;
|
|
1263
|
-
readonly verification: Schema.String;
|
|
1264
|
-
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
1265
|
-
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
1266
|
-
readonly scope: Schema.Literal<"general">;
|
|
1267
|
-
}>, Schema.Struct<{
|
|
1268
|
-
readonly scope: Schema.Literal<"file">;
|
|
1269
|
-
readonly filePath: Schema.String;
|
|
1270
|
-
}>, Schema.Struct<{
|
|
1271
|
-
readonly scope: Schema.Literal<"line">;
|
|
1272
|
-
readonly filePath: Schema.String;
|
|
1273
|
-
readonly line: Schema.Int;
|
|
1274
|
-
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
1275
|
-
}>]>;
|
|
1276
|
-
}>;
|
|
1277
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1278
|
-
readonly findingId: Schema.String;
|
|
1279
|
-
readonly operationId: Schema.String;
|
|
1280
|
-
readonly summary: Schema.String;
|
|
1281
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refresh", "POST", "/api/prs/refresh", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
|
|
1341
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
|
|
1282
1342
|
readonly awsAccountId: Schema.String;
|
|
1283
1343
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1284
1344
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -1291,13 +1351,30 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1291
1351
|
readonly revisionId: Schema.String;
|
|
1292
1352
|
readonly baseCommit: Schema.String;
|
|
1293
1353
|
readonly headCommit: Schema.String;
|
|
1294
|
-
readonly
|
|
1354
|
+
readonly profile: Schema.Struct<{
|
|
1355
|
+
readonly id: Schema.String;
|
|
1356
|
+
readonly name: Schema.String;
|
|
1357
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1358
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1359
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1360
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1361
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1362
|
+
}>;
|
|
1295
1363
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1296
1364
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1297
1365
|
readonly revisionId: Schema.String;
|
|
1298
1366
|
readonly baseCommit: Schema.String;
|
|
1299
1367
|
readonly headCommit: Schema.String;
|
|
1300
1368
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1369
|
+
readonly profile: Schema.Struct<{
|
|
1370
|
+
readonly id: Schema.String;
|
|
1371
|
+
readonly name: Schema.String;
|
|
1372
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1373
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1374
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1375
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1376
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1377
|
+
}>;
|
|
1301
1378
|
readonly result: Schema.Struct<{
|
|
1302
1379
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
1303
1380
|
readonly id: Schema.String;
|
|
@@ -1330,8 +1407,15 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1330
1407
|
readonly revisionId: Schema.String;
|
|
1331
1408
|
readonly baseCommit: Schema.String;
|
|
1332
1409
|
readonly headCommit: Schema.String;
|
|
1333
|
-
readonly
|
|
1334
|
-
|
|
1410
|
+
readonly profile: Schema.Struct<{
|
|
1411
|
+
readonly id: Schema.String;
|
|
1412
|
+
readonly name: Schema.String;
|
|
1413
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1414
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1415
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1416
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1417
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1418
|
+
}>;
|
|
1335
1419
|
readonly currentReview: Schema.Struct<{
|
|
1336
1420
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
1337
1421
|
readonly id: Schema.String;
|
|
@@ -1364,16 +1448,86 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1364
1448
|
}>>;
|
|
1365
1449
|
readonly findingId: Schema.String;
|
|
1366
1450
|
readonly message: Schema.String;
|
|
1367
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1451
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"postRelayFinding", "POST", "/api/prs/:awsAccountId/:prId/relay-review/findings/:findingId/post", Schema.toCodecStringTree<Schema.Struct<{
|
|
1368
1452
|
readonly awsAccountId: Schema.String;
|
|
1369
1453
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1454
|
+
readonly findingId: Schema.String;
|
|
1370
1455
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1371
1456
|
readonly revisionId: Schema.String;
|
|
1372
1457
|
readonly baseCommit: Schema.String;
|
|
1373
1458
|
readonly headCommit: Schema.String;
|
|
1374
|
-
readonly
|
|
1375
|
-
|
|
1376
|
-
|
|
1459
|
+
readonly finding: Schema.Struct<{
|
|
1460
|
+
readonly id: Schema.String;
|
|
1461
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
1462
|
+
readonly title: Schema.String;
|
|
1463
|
+
readonly summary: Schema.String;
|
|
1464
|
+
readonly details: Schema.String;
|
|
1465
|
+
readonly recommendation: Schema.String;
|
|
1466
|
+
readonly verification: Schema.String;
|
|
1467
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
1468
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
1469
|
+
readonly scope: Schema.Literal<"general">;
|
|
1470
|
+
}>, Schema.Struct<{
|
|
1471
|
+
readonly scope: Schema.Literal<"file">;
|
|
1472
|
+
readonly filePath: Schema.String;
|
|
1473
|
+
}>, Schema.Struct<{
|
|
1474
|
+
readonly scope: Schema.Literal<"line">;
|
|
1475
|
+
readonly filePath: Schema.String;
|
|
1476
|
+
readonly line: Schema.Int;
|
|
1477
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
1478
|
+
}>]>;
|
|
1479
|
+
}>;
|
|
1480
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1481
|
+
readonly findingId: Schema.String;
|
|
1482
|
+
readonly operationId: Schema.String;
|
|
1483
|
+
readonly summary: Schema.String;
|
|
1484
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/stream", Schema.toCodecStringTree<Schema.Struct<{
|
|
1485
|
+
readonly awsAccountId: Schema.String;
|
|
1486
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1487
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1488
|
+
readonly revisionId: Schema.String;
|
|
1489
|
+
readonly baseCommit: Schema.String;
|
|
1490
|
+
readonly headCommit: Schema.String;
|
|
1491
|
+
readonly profile: Schema.Struct<{
|
|
1492
|
+
readonly id: Schema.String;
|
|
1493
|
+
readonly name: Schema.String;
|
|
1494
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1495
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1496
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1497
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1498
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1499
|
+
}>;
|
|
1500
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"createApprovalRule", "POST", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1501
|
+
readonly pullRequestId: Schema.String;
|
|
1502
|
+
readonly approvalRuleName: Schema.String;
|
|
1503
|
+
readonly requiredApprovals: Schema.Number;
|
|
1504
|
+
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1505
|
+
readonly account: typeof Account;
|
|
1506
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateApprovalRule", "PUT", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1507
|
+
readonly pullRequestId: Schema.String;
|
|
1508
|
+
readonly approvalRuleName: Schema.String;
|
|
1509
|
+
readonly requiredApprovals: Schema.Number;
|
|
1510
|
+
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1511
|
+
readonly account: typeof Account;
|
|
1512
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"deleteApprovalRule", "DELETE", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1513
|
+
readonly pullRequestId: Schema.String;
|
|
1514
|
+
readonly approvalRuleName: Schema.String;
|
|
1515
|
+
readonly account: typeof Account;
|
|
1516
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1517
|
+
readonly pullRequestId: Schema.String;
|
|
1518
|
+
readonly repositoryName: Schema.String;
|
|
1519
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1520
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1521
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1522
|
+
readonly filePath: Schema.optional<Schema.String>;
|
|
1523
|
+
readonly beforeCommitId: Schema.optional<Schema.String>;
|
|
1524
|
+
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
1525
|
+
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
1526
|
+
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
1527
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"open", "POST", "/api/prs/open", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1528
|
+
readonly profile: Schema.String;
|
|
1529
|
+
readonly link: Schema.String;
|
|
1530
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refresh", "POST", "/api/prs/refresh", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1377
1531
|
readonly q: Schema.String;
|
|
1378
1532
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1379
1533
|
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
@@ -1400,20 +1554,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1400
1554
|
}>>;
|
|
1401
1555
|
readonly total: Schema.Number;
|
|
1402
1556
|
readonly hasMore: Schema.Boolean;
|
|
1403
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1404
|
-
readonly pullRequestId: Schema.String;
|
|
1405
|
-
readonly approvalRuleName: Schema.String;
|
|
1406
|
-
readonly requiredApprovals: Schema.Number;
|
|
1407
|
-
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1408
|
-
readonly account: typeof Account;
|
|
1409
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/sandbox/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1410
|
-
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1411
|
-
readonly awsAccountId: Schema.String;
|
|
1412
|
-
readonly repositoryName: Schema.String;
|
|
1413
|
-
readonly sourceBranch: Schema.String;
|
|
1414
|
-
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1415
|
-
readonly region: Schema.String;
|
|
1416
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1557
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/sandbox/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1417
1558
|
readonly id: Schema.String;
|
|
1418
1559
|
readonly pullRequestId: Schema.String;
|
|
1419
1560
|
readonly awsAccountId: Schema.String;
|
|
@@ -1427,15 +1568,14 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1427
1568
|
readonly error: Schema.NullOr<Schema.String>;
|
|
1428
1569
|
readonly createdAt: Schema.String;
|
|
1429
1570
|
readonly lastActivityAt: Schema.String;
|
|
1430
|
-
}
|
|
1431
|
-
readonly
|
|
1432
|
-
|
|
1433
|
-
readonly
|
|
1434
|
-
|
|
1435
|
-
readonly
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1571
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/sandbox/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1572
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1573
|
+
readonly awsAccountId: Schema.String;
|
|
1574
|
+
readonly repositoryName: Schema.String;
|
|
1575
|
+
readonly sourceBranch: Schema.String;
|
|
1576
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1577
|
+
readonly region: Schema.String;
|
|
1578
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1439
1579
|
readonly id: Schema.String;
|
|
1440
1580
|
readonly pullRequestId: Schema.String;
|
|
1441
1581
|
readonly awsAccountId: Schema.String;
|
|
@@ -1449,7 +1589,11 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1449
1589
|
readonly error: Schema.NullOr<Schema.String>;
|
|
1450
1590
|
readonly createdAt: Schema.String;
|
|
1451
1591
|
readonly lastActivityAt: Schema.String;
|
|
1452
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1592
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1593
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1594
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1595
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1596
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1453
1597
|
readonly id: Schema.String;
|
|
1454
1598
|
readonly pullRequestId: Schema.String;
|
|
1455
1599
|
readonly awsAccountId: Schema.String;
|
|
@@ -1463,7 +1607,11 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1463
1607
|
readonly error: Schema.NullOr<Schema.String>;
|
|
1464
1608
|
readonly createdAt: Schema.String;
|
|
1465
1609
|
readonly lastActivityAt: Schema.String;
|
|
1466
|
-
}
|
|
1610
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
|
|
1611
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1612
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1613
|
+
readonly password: Schema.String;
|
|
1614
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/api/sandbox/:sandboxId/restart", Schema.toCodecStringTree<Schema.Struct<{
|
|
1467
1615
|
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1468
1616
|
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"stop", "POST", "/api/sandbox/:sandboxId/stop", Schema.toCodecStringTree<Schema.Struct<{
|
|
1469
1617
|
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|