@knpkv/codecommit-web 0.15.0 → 0.17.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 (83) hide show
  1. package/README.md +13 -0
  2. package/dist/client/assets/index-BQbzvlT7.js +90 -0
  3. package/dist/client/assets/index-Rg2HVfx7.css +1 -0
  4. package/dist/client/assets/pr-review-workspace-B7GX-PRi.js +23 -0
  5. package/dist/client/index.html +2 -2
  6. package/dist/pull-request-coordinates.d.ts.map +1 -1
  7. package/dist/pull-request-coordinates.js +5 -4
  8. package/dist/pull-request-coordinates.js.map +1 -1
  9. package/dist/server/Api.d.ts +269 -269
  10. package/dist/server/Api.d.ts.map +1 -1
  11. package/dist/server/Api.js +3 -3
  12. package/dist/server/Api.js.map +1 -1
  13. package/dist/server/Server.d.ts +3 -3
  14. package/dist/server/Server.d.ts.map +1 -1
  15. package/dist/server/Server.js +13 -11
  16. package/dist/server/Server.js.map +1 -1
  17. package/dist/server/handlers/accounts-live.d.ts +1 -1
  18. package/dist/server/handlers/accounts-live.d.ts.map +1 -1
  19. package/dist/server/handlers/accounts-live.js +1 -1
  20. package/dist/server/handlers/accounts-live.js.map +1 -1
  21. package/dist/server/handlers/audit-live.d.ts +1 -1
  22. package/dist/server/handlers/audit-live.d.ts.map +1 -1
  23. package/dist/server/handlers/audit-live.js +1 -1
  24. package/dist/server/handlers/audit-live.js.map +1 -1
  25. package/dist/server/handlers/config-live.d.ts +1 -1
  26. package/dist/server/handlers/config-live.d.ts.map +1 -1
  27. package/dist/server/handlers/config-live.js +2 -2
  28. package/dist/server/handlers/config-live.js.map +1 -1
  29. package/dist/server/handlers/events-live.d.ts +1 -1
  30. package/dist/server/handlers/events-live.d.ts.map +1 -1
  31. package/dist/server/handlers/events-live.js +26 -8
  32. package/dist/server/handlers/events-live.js.map +1 -1
  33. package/dist/server/handlers/notifications-live.d.ts +2 -2
  34. package/dist/server/handlers/notifications-live.d.ts.map +1 -1
  35. package/dist/server/handlers/notifications-live.js +2 -2
  36. package/dist/server/handlers/notifications-live.js.map +1 -1
  37. package/dist/server/handlers/permissions-live.d.ts +1 -1
  38. package/dist/server/handlers/permissions-live.d.ts.map +1 -1
  39. package/dist/server/handlers/permissions-live.js +1 -1
  40. package/dist/server/handlers/permissions-live.js.map +1 -1
  41. package/dist/server/handlers/prs-live.d.ts +15 -15
  42. package/dist/server/handlers/prs-live.d.ts.map +1 -1
  43. package/dist/server/handlers/prs-live.js +3 -3
  44. package/dist/server/handlers/prs-live.js.map +1 -1
  45. package/dist/server/handlers/sandbox-live.d.ts +1 -1
  46. package/dist/server/handlers/sandbox-live.d.ts.map +1 -1
  47. package/dist/server/handlers/sandbox-live.js +2 -2
  48. package/dist/server/handlers/sandbox-live.js.map +1 -1
  49. package/dist/server/handlers/stats-live.d.ts +1 -1
  50. package/dist/server/handlers/stats-live.d.ts.map +1 -1
  51. package/dist/server/handlers/stats-live.js +1 -1
  52. package/dist/server/handlers/stats-live.js.map +1 -1
  53. package/dist/server/handlers/subscriptions-live.d.ts +1 -1
  54. package/dist/server/handlers/subscriptions-live.d.ts.map +1 -1
  55. package/dist/server/handlers/subscriptions-live.js +1 -1
  56. package/dist/server/handlers/subscriptions-live.js.map +1 -1
  57. package/dist/server/internal/OwnerSessionSecurity.d.ts +19 -8
  58. package/dist/server/internal/OwnerSessionSecurity.d.ts.map +1 -1
  59. package/dist/server/internal/OwnerSessionSecurity.js +109 -32
  60. package/dist/server/internal/OwnerSessionSecurity.js.map +1 -1
  61. package/dist/server/internal/PublicOrigin.d.ts +9 -0
  62. package/dist/server/internal/PublicOrigin.d.ts.map +1 -0
  63. package/dist/server/internal/PublicOrigin.js +17 -0
  64. package/dist/server/internal/PublicOrigin.js.map +1 -0
  65. package/dist/server/review/PullRequestReview.d.ts +77 -22
  66. package/dist/server/review/PullRequestReview.d.ts.map +1 -1
  67. package/dist/server/review/PullRequestReview.js +61 -18
  68. package/dist/server/review/PullRequestReview.js.map +1 -1
  69. package/dist/server/review/ReviewPromptBudget.d.ts +4 -0
  70. package/dist/server/review/ReviewPromptBudget.d.ts.map +1 -1
  71. package/dist/server/review/ReviewPromptBudget.js +4 -0
  72. package/dist/server/review/ReviewPromptBudget.js.map +1 -1
  73. package/dist/server/review/ReviewSkillCatalog.js +2 -2
  74. package/dist/tooling/authenticated-dev-proxy.d.ts +20 -5
  75. package/dist/tooling/authenticated-dev-proxy.d.ts.map +1 -1
  76. package/dist/tooling/authenticated-dev-proxy.js +25 -9
  77. package/dist/tooling/authenticated-dev-proxy.js.map +1 -1
  78. package/dist/tooling/authenticated-dev-proxy.test.js +96 -5
  79. package/dist/tooling/authenticated-dev-proxy.test.js.map +1 -1
  80. package/package.json +32 -25
  81. package/dist/client/assets/index-Ds8Muxxv.css +0 -1
  82. package/dist/client/assets/index-eLkbewLN.js +0 -90
  83. package/dist/client/assets/pr-review-workspace-CgczAXj_.js +0 -22
@@ -19,7 +19,7 @@
19
19
  import { Account, PullRequest } from "@knpkv/codecommit-core/Domain.js";
20
20
  import { WeeklyStats } from "@knpkv/codecommit-core/StatsService/WeeklyStats.js";
21
21
  import { Schema } from "effect";
22
- import { HttpApi, HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware, HttpApiSecurity } from "effect/unstable/httpapi";
22
+ import { HttpApi, HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware, HttpApiSecurity } from "effect/http-api";
23
23
  declare const ApiError_base: Schema.Class<ApiError, Schema.TaggedStruct<"ApiError", {
24
24
  readonly message: Schema.String;
25
25
  }>, import("effect/Cause").YieldableError>;
@@ -110,9 +110,9 @@ export declare const RelayReviewProfile: Schema.Struct<{
110
110
  readonly id: Schema.String;
111
111
  readonly name: Schema.String;
112
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>;
113
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
114
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
115
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
116
116
  readonly skillIds: Schema.$Array<Schema.String>;
117
117
  }>;
118
118
  export type RelayReviewProfile = typeof RelayReviewProfile.Type;
@@ -226,9 +226,9 @@ export declare const PullRequestRelayReviewResponse: Schema.Struct<{
226
226
  readonly id: Schema.String;
227
227
  readonly name: Schema.String;
228
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>;
229
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
230
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
231
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
232
232
  readonly skillIds: Schema.$Array<Schema.String>;
233
233
  }>;
234
234
  readonly result: Schema.Struct<{
@@ -285,9 +285,9 @@ export declare const RelayReviewStreamEvent: Schema.Union<readonly [Schema.Struc
285
285
  readonly id: Schema.String;
286
286
  readonly name: Schema.String;
287
287
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
288
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
289
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
290
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
288
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
289
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
290
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
291
291
  readonly skillIds: Schema.$Array<Schema.String>;
292
292
  }>;
293
293
  readonly result: Schema.Struct<{
@@ -336,9 +336,9 @@ export declare const RelayReviewStreamRequest: Schema.Struct<{
336
336
  readonly id: Schema.String;
337
337
  readonly name: Schema.String;
338
338
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
339
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
340
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
341
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
339
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
340
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
341
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
342
342
  readonly skillIds: Schema.$Array<Schema.String>;
343
343
  }>;
344
344
  }>;
@@ -358,9 +358,9 @@ export declare const RelayReviewContinueStreamRequest: Schema.Struct<{
358
358
  readonly id: Schema.String;
359
359
  readonly name: Schema.String;
360
360
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
361
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
362
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
363
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
361
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
362
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
363
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
364
364
  readonly skillIds: Schema.$Array<Schema.String>;
365
365
  }>;
366
366
  readonly currentReview: Schema.Struct<{
@@ -536,9 +536,9 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
536
536
  readonly id: Schema.String;
537
537
  readonly name: Schema.String;
538
538
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
539
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
540
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
541
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
539
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
540
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
541
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
542
542
  readonly skillIds: Schema.$Array<Schema.String>;
543
543
  }>;
544
544
  }>>, never, Schema.toCodecJson<Schema.Struct<{
@@ -551,9 +551,9 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
551
551
  readonly id: Schema.String;
552
552
  readonly name: Schema.String;
553
553
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
554
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
555
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
556
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
554
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
555
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
556
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
557
557
  readonly skillIds: Schema.$Array<Schema.String>;
558
558
  }>;
559
559
  readonly result: Schema.Struct<{
@@ -595,9 +595,9 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
595
595
  readonly id: Schema.String;
596
596
  readonly name: Schema.String;
597
597
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
598
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
599
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
600
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
598
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
599
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
600
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
601
601
  readonly skillIds: Schema.$Array<Schema.String>;
602
602
  }>;
603
603
  readonly currentReview: Schema.Struct<{
@@ -647,9 +647,9 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
647
647
  readonly id: Schema.String;
648
648
  readonly name: Schema.String;
649
649
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
650
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
651
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
652
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
650
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
651
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
652
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
653
653
  readonly skillIds: Schema.$Array<Schema.String>;
654
654
  }>;
655
655
  }>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
@@ -719,9 +719,9 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
719
719
  readonly id: Schema.String;
720
720
  readonly name: Schema.String;
721
721
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
722
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
723
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
724
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
722
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
723
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
724
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
725
725
  readonly skillIds: Schema.$Array<Schema.String>;
726
726
  }>>;
727
727
  }>;
@@ -759,9 +759,9 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
759
759
  readonly id: Schema.String;
760
760
  readonly name: Schema.String;
761
761
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
762
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
763
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
764
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
762
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
763
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
764
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
765
765
  readonly skillIds: Schema.$Array<Schema.String>;
766
766
  }>>;
767
767
  }>;
@@ -799,9 +799,9 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
799
799
  readonly id: Schema.String;
800
800
  readonly name: Schema.String;
801
801
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
802
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
803
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
804
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
802
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
803
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
804
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
805
805
  readonly skillIds: Schema.$Array<Schema.String>;
806
806
  }>>;
807
807
  }>>;
@@ -1184,7 +1184,45 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1184
1184
  readonly permissionState: Schema.String;
1185
1185
  readonly context: Schema.String;
1186
1186
  readonly durationMs: Schema.NullOr<Schema.Number>;
1187
- }>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"config", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/config/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
1187
+ }>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"config", HttpApiEndpoint.HttpApiEndpoint<"reviewSkills", "GET", "/api/config/review-skills", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
1188
+ readonly id: Schema.String;
1189
+ readonly name: Schema.String;
1190
+ readonly description: Schema.String;
1191
+ readonly source: Schema.String;
1192
+ }>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"save", "POST", "/api/config/save", never, never, Schema.toCodecJson<Schema.Struct<{
1193
+ readonly accounts: Schema.$Array<Schema.Struct<{
1194
+ readonly profile: Schema.String;
1195
+ readonly regions: Schema.$Array<Schema.String>;
1196
+ readonly enabled: Schema.Boolean;
1197
+ }>>;
1198
+ readonly autoDetect: Schema.Boolean;
1199
+ readonly autoRefresh: Schema.Boolean;
1200
+ readonly refreshIntervalSeconds: Schema.Number;
1201
+ readonly review: Schema.optional<Schema.Struct<{
1202
+ readonly defaultProfileId: Schema.String;
1203
+ readonly profiles: Schema.$Array<Schema.Struct<{
1204
+ readonly id: Schema.String;
1205
+ readonly name: Schema.String;
1206
+ readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
1207
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
1208
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
1209
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1210
+ readonly skillIds: Schema.$Array<Schema.String>;
1211
+ }>>;
1212
+ }>>;
1213
+ readonly sandbox: Schema.optional<Schema.Struct<{
1214
+ readonly image: Schema.String;
1215
+ readonly extensions: Schema.$Array<Schema.String>;
1216
+ readonly setupCommands: Schema.$Array<Schema.String>;
1217
+ readonly env: Schema.$Record<Schema.String, Schema.String>;
1218
+ readonly volumeMounts: Schema.$Array<Schema.Struct<{
1219
+ readonly hostPath: Schema.String;
1220
+ readonly containerPath: Schema.String;
1221
+ readonly readonly: Schema.Boolean;
1222
+ }>>;
1223
+ readonly cloneDepth: Schema.Number;
1224
+ }>>;
1225
+ }>>, never, Schema.toCodecJson<Schema.Literals<readonly ["saved", "saved-refresh-failed"]>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/config/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
1188
1226
  readonly accounts: Schema.$Array<Schema.Struct<{
1189
1227
  readonly profile: Schema.String;
1190
1228
  readonly regions: Schema.$Array<Schema.String>;
@@ -1200,9 +1238,9 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1200
1238
  readonly id: Schema.String;
1201
1239
  readonly name: Schema.String;
1202
1240
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
1203
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
1204
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
1205
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1241
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
1242
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
1243
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1206
1244
  readonly skillIds: Schema.$Array<Schema.String>;
1207
1245
  }>>;
1208
1246
  }>;
@@ -1218,21 +1256,16 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1218
1256
  }>>;
1219
1257
  readonly cloneDepth: Schema.Number;
1220
1258
  }>>;
1221
- }>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"database", "GET", "/api/config/database", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
1259
+ }>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"path", "GET", "/api/config/path", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
1222
1260
  readonly path: Schema.String;
1223
- readonly sizeBytes: Schema.Number;
1224
1261
  readonly exists: Schema.Boolean;
1225
1262
  readonly modifiedAt: Schema.optional<Schema.String>;
1226
- }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"path", "GET", "/api/config/path", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
1263
+ }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"database", "GET", "/api/config/database", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
1227
1264
  readonly path: Schema.String;
1265
+ readonly sizeBytes: Schema.Number;
1228
1266
  readonly exists: Schema.Boolean;
1229
1267
  readonly modifiedAt: Schema.optional<Schema.String>;
1230
- }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reviewSkills", "GET", "/api/config/review-skills", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
1231
- readonly id: Schema.String;
1232
- readonly name: Schema.String;
1233
- readonly description: Schema.String;
1234
- readonly source: Schema.String;
1235
- }>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"validate", "GET", "/api/config/validate", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
1268
+ }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"validate", "GET", "/api/config/validate", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
1236
1269
  readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
1237
1270
  readonly path: Schema.String;
1238
1271
  readonly errors: Schema.$Array<Schema.String>;
@@ -1254,9 +1287,9 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1254
1287
  readonly id: Schema.String;
1255
1288
  readonly name: Schema.String;
1256
1289
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
1257
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
1258
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
1259
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1290
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
1291
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
1292
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1260
1293
  readonly skillIds: Schema.$Array<Schema.String>;
1261
1294
  }>>;
1262
1295
  }>;
@@ -1274,40 +1307,15 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1274
1307
  }>>;
1275
1308
  }>;
1276
1309
  readonly refreshStatus: Schema.Literals<readonly ["refreshed", "failed"]>;
1277
- }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"save", "POST", "/api/config/save", never, never, Schema.toCodecJson<Schema.Struct<{
1278
- readonly accounts: Schema.$Array<Schema.Struct<{
1279
- readonly profile: Schema.String;
1280
- readonly regions: Schema.$Array<Schema.String>;
1281
- readonly enabled: Schema.Boolean;
1282
- }>>;
1283
- readonly autoDetect: Schema.Boolean;
1284
- readonly autoRefresh: Schema.Boolean;
1285
- readonly refreshIntervalSeconds: Schema.Number;
1286
- readonly review: Schema.optional<Schema.Struct<{
1287
- readonly defaultProfileId: Schema.String;
1288
- readonly profiles: Schema.$Array<Schema.Struct<{
1289
- readonly id: Schema.String;
1290
- readonly name: Schema.String;
1291
- readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
1292
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
1293
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
1294
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1295
- readonly skillIds: Schema.$Array<Schema.String>;
1296
- }>>;
1297
- }>>;
1298
- readonly sandbox: Schema.optional<Schema.Struct<{
1299
- readonly image: Schema.String;
1300
- readonly extensions: Schema.$Array<Schema.String>;
1301
- readonly setupCommands: Schema.$Array<Schema.String>;
1302
- readonly env: Schema.$Record<Schema.String, Schema.String>;
1303
- readonly volumeMounts: Schema.$Array<Schema.Struct<{
1304
- readonly hostPath: Schema.String;
1305
- readonly containerPath: Schema.String;
1306
- readonly readonly: Schema.Boolean;
1307
- }>>;
1308
- readonly cloneDepth: Schema.Number;
1309
- }>>;
1310
- }>>, never, Schema.toCodecJson<Schema.Literals<readonly ["saved", "saved-refresh-failed"]>>, 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<{
1310
+ }>>, 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<"markRead", "POST", "/api/notifications/read", never, never, Schema.toCodecJson<Schema.Struct<{
1311
+ readonly id: Schema.Number;
1312
+ }>>, 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<{
1313
+ readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
1314
+ }>>, 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<{
1315
+ readonly id: Schema.Number;
1316
+ }>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"count", "GET", "/api/notifications/count", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
1317
+ readonly unread: Schema.Number;
1318
+ }>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
1311
1319
  readonly limit: Schema.optional<Schema.NumberFromString>;
1312
1320
  readonly cursor: Schema.optional<Schema.NumberFromString>;
1313
1321
  readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
@@ -1327,23 +1335,12 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1327
1335
  readonly read: Schema.Number;
1328
1336
  }>>;
1329
1337
  readonly nextCursor: Schema.optional<Schema.Number>;
1330
- }>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"count", "GET", "/api/notifications/count", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
1331
- readonly unread: Schema.Number;
1332
- }>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markRead", "POST", "/api/notifications/read", never, never, Schema.toCodecJson<Schema.Struct<{
1333
- readonly id: Schema.Number;
1334
- }>>, 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<{
1335
- readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
1336
- }>>, 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<{
1337
- readonly id: Schema.Number;
1338
- }>>, 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<{
1338
+ }>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"permissions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/permissions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
1339
1339
  readonly operation: Schema.String;
1340
1340
  readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
1341
1341
  readonly category: Schema.Literals<readonly ["read", "write"]>;
1342
1342
  readonly description: Schema.String;
1343
- }>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"auditSettings", "GET", "/api/permissions/audit", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
1344
- readonly enabled: Schema.Boolean;
1345
- readonly retentionDays: Schema.Number;
1346
- }>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateAuditSettings", "POST", "/api/permissions/audit", never, never, Schema.toCodecJson<Schema.Struct<{
1343
+ }>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateAuditSettings", "POST", "/api/permissions/audit", never, never, Schema.toCodecJson<Schema.Struct<{
1347
1344
  readonly enabled: Schema.optional<Schema.Boolean>;
1348
1345
  readonly retentionDays: Schema.optional<Schema.Number>;
1349
1346
  }>>, 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<{
@@ -1352,100 +1349,36 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1352
1349
  }>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"update", "POST", "/api/permissions/update", never, never, Schema.toCodecJson<Schema.Struct<{
1353
1350
  readonly operation: Schema.String;
1354
1351
  readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
1355
- }>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"deleteApprovalRule", "DELETE", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
1356
- readonly pullRequestId: Schema.String;
1357
- readonly approvalRuleName: Schema.String;
1358
- readonly account: typeof Account;
1359
- }>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/prs/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof PullRequest>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
1360
- readonly awsAccountId: Schema.String;
1361
- readonly prId: Schema.brand<Schema.String, "PullRequestId">;
1362
- }>>, Schema.toCodecStringTree<Schema.Struct<{
1363
- readonly repositoryName: Schema.String;
1364
- readonly region: Schema.brand<Schema.String, "AwsRegion">;
1365
- }>>, never, never, Schema.toCodecJson<Schema.Struct<{
1366
- readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
1367
- readonly revisionId: Schema.String;
1368
- readonly baseCommit: Schema.String;
1369
- readonly headCommit: Schema.String;
1370
- readonly files: Schema.$Array<Schema.Struct<{
1371
- readonly index: Schema.Int;
1372
- readonly status: Schema.Literals<readonly ["added", "modified", "deleted", "renamed"]>;
1373
- readonly path: Schema.String;
1374
- readonly previousPath: Schema.NullOr<Schema.String>;
1375
- readonly beforeMode: Schema.NullOr<Schema.String>;
1376
- readonly afterMode: Schema.NullOr<Schema.String>;
1377
- }>>;
1378
- }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diffContent", "GET", "/api/prs/:awsAccountId/:prId/diff/:fileIndex", Schema.toCodecStringTree<Schema.Struct<{
1379
- readonly awsAccountId: Schema.String;
1380
- readonly prId: Schema.brand<Schema.String, "PullRequestId">;
1381
- readonly fileIndex: Schema.NumberFromString;
1382
- }>>, Schema.toCodecStringTree<Schema.Struct<{
1383
- readonly repositoryName: Schema.String;
1384
- readonly region: Schema.brand<Schema.String, "AwsRegion">;
1385
- readonly revisionId: Schema.String;
1386
- readonly baseCommit: Schema.String;
1387
- readonly headCommit: Schema.String;
1388
- }>>, never, never, Schema.toCodecJson<Schema.Struct<{
1389
- readonly fileIndex: Schema.Int;
1390
- readonly revisionId: Schema.String;
1391
- readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
1392
- readonly before: Schema.NullOr<Schema.String>;
1393
- readonly after: Schema.NullOr<Schema.String>;
1394
- }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
1395
- readonly pullRequestId: Schema.String;
1396
- readonly repositoryName: Schema.String;
1397
- readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
1398
- readonly region: Schema.brand<Schema.String, "AwsRegion">;
1399
- }>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
1400
- readonly filePath: Schema.optional<Schema.String>;
1401
- readonly beforeCommitId: Schema.optional<Schema.String>;
1402
- readonly afterCommitId: Schema.optional<Schema.String>;
1403
- readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
1404
- readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
1405
- }>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
1406
- readonly q: Schema.String;
1407
- readonly limit: Schema.optional<Schema.NumberFromString>;
1408
- readonly offset: Schema.optional<Schema.NumberFromString>;
1409
- }>>, never, never, Schema.toCodecJson<Schema.Struct<{
1410
- readonly items: Schema.$Array<Schema.Struct<{
1411
- readonly id: Schema.String;
1412
- readonly awsAccountId: Schema.String;
1413
- readonly accountProfile: Schema.String;
1414
- readonly accountRegion: Schema.String;
1415
- readonly title: Schema.String;
1416
- readonly description: Schema.NullOr<Schema.String>;
1417
- readonly author: Schema.String;
1418
- readonly repositoryName: Schema.String;
1419
- readonly creationDate: Schema.String;
1420
- readonly lastModifiedDate: Schema.String;
1421
- readonly status: Schema.String;
1422
- readonly sourceBranch: Schema.String;
1423
- readonly destinationBranch: Schema.String;
1424
- readonly isMergeable: Schema.Number;
1425
- readonly isApproved: Schema.Number;
1426
- readonly commentCount: Schema.NullOr<Schema.Number>;
1427
- readonly link: Schema.String;
1428
- readonly fetchedAt: Schema.String;
1429
- }>>;
1430
- readonly total: Schema.Number;
1431
- readonly hasMore: Schema.Boolean;
1432
- }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
1352
+ }>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"auditSettings", "GET", "/api/permissions/audit", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
1353
+ readonly enabled: Schema.Boolean;
1354
+ readonly retentionDays: Schema.Number;
1355
+ }>>, never, 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<{
1433
1356
  readonly repositoryName: Schema.String;
1434
1357
  readonly title: Schema.String;
1435
1358
  readonly description: Schema.optional<Schema.String>;
1436
1359
  readonly sourceBranch: Schema.String;
1437
1360
  readonly destinationBranch: Schema.String;
1438
1361
  readonly account: typeof Account;
1439
- }>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
1440
- readonly awsAccountId: Schema.String;
1441
- readonly prId: Schema.brand<Schema.String, "PullRequestId">;
1442
- }>>, Schema.toCodecStringTree<Schema.Struct<{
1443
- readonly repositoryName: Schema.optional<Schema.String>;
1444
- readonly region: Schema.optional<Schema.brand<Schema.String, "AwsRegion">>;
1445
- }>>, never, never, Schema.toCodecJson<Schema.Struct<{
1446
- readonly revisionId: Schema.String;
1447
- readonly headCommit: Schema.String;
1448
- }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
1362
+ }>>, 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<{
1363
+ readonly pullRequestId: Schema.String;
1364
+ readonly approvalRuleName: Schema.String;
1365
+ readonly requiredApprovals: Schema.Number;
1366
+ readonly poolMembers: Schema.$Array<Schema.String>;
1367
+ readonly account: typeof Account;
1368
+ }>>, 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<{
1369
+ readonly pullRequestId: Schema.String;
1370
+ readonly approvalRuleName: Schema.String;
1371
+ readonly requiredApprovals: Schema.Number;
1372
+ readonly poolMembers: Schema.$Array<Schema.String>;
1373
+ readonly account: typeof Account;
1374
+ }>>, 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<{
1375
+ readonly pullRequestId: Schema.String;
1376
+ readonly approvalRuleName: Schema.String;
1377
+ readonly account: typeof Account;
1378
+ }>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"open", "POST", "/api/prs/open", never, never, Schema.toCodecJson<Schema.Struct<{
1379
+ readonly profile: Schema.String;
1380
+ readonly link: Schema.String;
1381
+ }>>, 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<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
1449
1382
  readonly awsAccountId: Schema.String;
1450
1383
  readonly prId: Schema.brand<Schema.String, "PullRequestId">;
1451
1384
  }>>, Schema.toCodecStringTree<Schema.Struct<{
@@ -1459,27 +1392,12 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1459
1392
  readonly id: Schema.String;
1460
1393
  readonly name: Schema.String;
1461
1394
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
1462
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
1463
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
1464
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1395
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
1396
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
1397
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1465
1398
  readonly skillIds: Schema.$Array<Schema.String>;
1466
1399
  }>;
1467
- }>>, never, Schema.toCodecJson<Schema.Struct<{
1468
- readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
1469
- readonly revisionId: Schema.String;
1470
- readonly baseCommit: Schema.String;
1471
- readonly headCommit: Schema.String;
1472
- readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
1473
- readonly profile: Schema.Struct<{
1474
- readonly id: Schema.String;
1475
- readonly name: Schema.String;
1476
- readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
1477
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
1478
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
1479
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1480
- readonly skillIds: Schema.$Array<Schema.String>;
1481
- }>;
1482
- readonly result: Schema.Struct<{
1400
+ readonly currentReview: Schema.Struct<{
1483
1401
  readonly findings: Schema.$Array<Schema.Struct<{
1484
1402
  readonly id: Schema.String;
1485
1403
  readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
@@ -1504,7 +1422,15 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1504
1422
  readonly verdict: Schema.String;
1505
1423
  readonly explanation: Schema.optional<Schema.String>;
1506
1424
  }>;
1507
- }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
1425
+ readonly turns: Schema.$Array<Schema.Struct<{
1426
+ readonly id: Schema.optional<Schema.String>;
1427
+ readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
1428
+ readonly role: Schema.Literals<readonly ["user", "assistant"]>;
1429
+ readonly message: Schema.String;
1430
+ }>>;
1431
+ readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
1432
+ readonly message: Schema.String;
1433
+ }>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/stream", Schema.toCodecStringTree<Schema.Struct<{
1508
1434
  readonly awsAccountId: Schema.String;
1509
1435
  readonly prId: Schema.brand<Schema.String, "PullRequestId">;
1510
1436
  }>>, Schema.toCodecStringTree<Schema.Struct<{
@@ -1518,12 +1444,65 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1518
1444
  readonly id: Schema.String;
1519
1445
  readonly name: Schema.String;
1520
1446
  readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
1521
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
1522
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
1523
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1447
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
1448
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
1449
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1524
1450
  readonly skillIds: Schema.$Array<Schema.String>;
1525
1451
  }>;
1526
- readonly currentReview: Schema.Struct<{
1452
+ }>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
1453
+ readonly awsAccountId: Schema.String;
1454
+ readonly prId: Schema.brand<Schema.String, "PullRequestId">;
1455
+ }>>, Schema.toCodecStringTree<Schema.Struct<{
1456
+ readonly repositoryName: Schema.String;
1457
+ readonly region: Schema.brand<Schema.String, "AwsRegion">;
1458
+ }>>, never, never, Schema.toCodecJson<Schema.Struct<{
1459
+ readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
1460
+ readonly revisionId: Schema.String;
1461
+ readonly baseCommit: Schema.String;
1462
+ readonly headCommit: Schema.String;
1463
+ readonly files: Schema.$Array<Schema.Struct<{
1464
+ readonly index: Schema.Int;
1465
+ readonly status: Schema.Literals<readonly ["added", "modified", "deleted", "renamed"]>;
1466
+ readonly path: Schema.String;
1467
+ readonly previousPath: Schema.NullOr<Schema.String>;
1468
+ readonly beforeMode: Schema.NullOr<Schema.String>;
1469
+ readonly afterMode: Schema.NullOr<Schema.String>;
1470
+ }>>;
1471
+ }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
1472
+ readonly awsAccountId: Schema.String;
1473
+ readonly prId: Schema.brand<Schema.String, "PullRequestId">;
1474
+ }>>, Schema.toCodecStringTree<Schema.Struct<{
1475
+ readonly repositoryName: Schema.String;
1476
+ readonly region: Schema.brand<Schema.String, "AwsRegion">;
1477
+ }>>, Schema.toCodecJson<Schema.Struct<{
1478
+ readonly revisionId: Schema.String;
1479
+ readonly baseCommit: Schema.String;
1480
+ readonly headCommit: Schema.String;
1481
+ readonly profile: Schema.Struct<{
1482
+ readonly id: Schema.String;
1483
+ readonly name: Schema.String;
1484
+ readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
1485
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
1486
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
1487
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1488
+ readonly skillIds: Schema.$Array<Schema.String>;
1489
+ }>;
1490
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
1491
+ readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
1492
+ readonly revisionId: Schema.String;
1493
+ readonly baseCommit: Schema.String;
1494
+ readonly headCommit: Schema.String;
1495
+ readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
1496
+ readonly profile: Schema.Struct<{
1497
+ readonly id: Schema.String;
1498
+ readonly name: Schema.String;
1499
+ readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
1500
+ readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
1501
+ readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
1502
+ readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1503
+ readonly skillIds: Schema.$Array<Schema.String>;
1504
+ }>;
1505
+ readonly result: Schema.Struct<{
1527
1506
  readonly findings: Schema.$Array<Schema.Struct<{
1528
1507
  readonly id: Schema.String;
1529
1508
  readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
@@ -1548,15 +1527,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1548
1527
  readonly verdict: Schema.String;
1549
1528
  readonly explanation: Schema.optional<Schema.String>;
1550
1529
  }>;
1551
- readonly turns: Schema.$Array<Schema.Struct<{
1552
- readonly id: Schema.optional<Schema.String>;
1553
- readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
1554
- readonly role: Schema.Literals<readonly ["user", "assistant"]>;
1555
- readonly message: Schema.String;
1556
- }>>;
1557
- readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
1558
- readonly message: Schema.String;
1559
- }>>, 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<{
1530
+ }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"postRelayFinding", "POST", "/api/prs/:awsAccountId/:prId/relay-review/findings/:findingId/post", Schema.toCodecStringTree<Schema.Struct<{
1560
1531
  readonly awsAccountId: Schema.String;
1561
1532
  readonly prId: Schema.brand<Schema.String, "PullRequestId">;
1562
1533
  readonly findingId: Schema.String;
@@ -1592,43 +1563,70 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1592
1563
  readonly findingId: Schema.String;
1593
1564
  readonly operationId: Schema.String;
1594
1565
  readonly summary: Schema.String;
1595
- }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/stream", Schema.toCodecStringTree<Schema.Struct<{
1566
+ }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
1596
1567
  readonly awsAccountId: Schema.String;
1597
1568
  readonly prId: Schema.brand<Schema.String, "PullRequestId">;
1569
+ }>>, Schema.toCodecStringTree<Schema.Struct<{
1570
+ readonly repositoryName: Schema.optional<Schema.String>;
1571
+ readonly region: Schema.optional<Schema.brand<Schema.String, "AwsRegion">>;
1572
+ }>>, never, never, Schema.toCodecJson<Schema.Struct<{
1573
+ readonly revisionId: Schema.String;
1574
+ readonly headCommit: Schema.String;
1575
+ }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
1576
+ readonly q: Schema.String;
1577
+ readonly limit: Schema.optional<Schema.NumberFromString>;
1578
+ readonly offset: Schema.optional<Schema.NumberFromString>;
1579
+ }>>, never, never, Schema.toCodecJson<Schema.Struct<{
1580
+ readonly items: Schema.$Array<Schema.Struct<{
1581
+ readonly id: Schema.String;
1582
+ readonly awsAccountId: Schema.String;
1583
+ readonly accountProfile: Schema.String;
1584
+ readonly accountRegion: Schema.String;
1585
+ readonly title: Schema.String;
1586
+ readonly description: Schema.NullOr<Schema.String>;
1587
+ readonly author: Schema.String;
1588
+ readonly repositoryName: Schema.String;
1589
+ readonly creationDate: Schema.String;
1590
+ readonly lastModifiedDate: Schema.String;
1591
+ readonly status: Schema.String;
1592
+ readonly sourceBranch: Schema.String;
1593
+ readonly destinationBranch: Schema.String;
1594
+ readonly isMergeable: Schema.Number;
1595
+ readonly isApproved: Schema.Number;
1596
+ readonly commentCount: Schema.NullOr<Schema.Number>;
1597
+ readonly link: Schema.String;
1598
+ readonly fetchedAt: Schema.String;
1599
+ }>>;
1600
+ readonly total: Schema.Number;
1601
+ readonly hasMore: Schema.Boolean;
1602
+ }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
1603
+ readonly pullRequestId: Schema.String;
1604
+ readonly repositoryName: Schema.String;
1605
+ readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
1606
+ readonly region: Schema.brand<Schema.String, "AwsRegion">;
1607
+ }>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
1608
+ readonly filePath: Schema.optional<Schema.String>;
1609
+ readonly beforeCommitId: Schema.optional<Schema.String>;
1610
+ readonly afterCommitId: Schema.optional<Schema.String>;
1611
+ readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
1612
+ readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
1613
+ }>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diffContent", "GET", "/api/prs/:awsAccountId/:prId/diff/:fileIndex", Schema.toCodecStringTree<Schema.Struct<{
1614
+ readonly awsAccountId: Schema.String;
1615
+ readonly prId: Schema.brand<Schema.String, "PullRequestId">;
1616
+ readonly fileIndex: Schema.NumberFromString;
1598
1617
  }>>, Schema.toCodecStringTree<Schema.Struct<{
1599
1618
  readonly repositoryName: Schema.String;
1600
1619
  readonly region: Schema.brand<Schema.String, "AwsRegion">;
1601
- }>>, Schema.toCodecJson<Schema.Struct<{
1602
1620
  readonly revisionId: Schema.String;
1603
1621
  readonly baseCommit: Schema.String;
1604
1622
  readonly headCommit: Schema.String;
1605
- readonly profile: Schema.Struct<{
1606
- readonly id: Schema.String;
1607
- readonly name: Schema.String;
1608
- readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
1609
- readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
1610
- readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
1611
- readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
1612
- readonly skillIds: Schema.$Array<Schema.String>;
1613
- }>;
1614
- }>>, 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<{
1615
- readonly pullRequestId: Schema.String;
1616
- readonly approvalRuleName: Schema.String;
1617
- readonly requiredApprovals: Schema.Number;
1618
- readonly poolMembers: Schema.$Array<Schema.String>;
1619
- readonly account: typeof Account;
1620
- }>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"open", "POST", "/api/prs/open", never, never, Schema.toCodecJson<Schema.Struct<{
1621
- readonly profile: Schema.String;
1622
- readonly link: Schema.String;
1623
- }>>, 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<"updateApprovalRule", "PUT", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
1624
- readonly pullRequestId: Schema.String;
1625
- readonly approvalRuleName: Schema.String;
1626
- readonly requiredApprovals: Schema.Number;
1627
- readonly poolMembers: Schema.$Array<Schema.String>;
1628
- readonly account: typeof Account;
1629
- }>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
1630
- readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
1631
- }>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/sandbox/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
1623
+ }>>, never, never, Schema.toCodecJson<Schema.Struct<{
1624
+ readonly fileIndex: Schema.Int;
1625
+ readonly revisionId: Schema.String;
1626
+ readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
1627
+ readonly before: Schema.NullOr<Schema.String>;
1628
+ readonly after: Schema.NullOr<Schema.String>;
1629
+ }>>, 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<{
1632
1630
  readonly id: Schema.String;
1633
1631
  readonly pullRequestId: Schema.String;
1634
1632
  readonly awsAccountId: Schema.String;
@@ -1643,9 +1641,20 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1643
1641
  readonly error: Schema.NullOr<Schema.String>;
1644
1642
  readonly createdAt: Schema.String;
1645
1643
  readonly lastActivityAt: Schema.String;
1646
- }>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
1644
+ }>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
1647
1645
  readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
1648
- }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
1646
+ }>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/api/sandbox/:sandboxId/restart", Schema.toCodecStringTree<Schema.Struct<{
1647
+ readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
1648
+ }>>, 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<{
1649
+ readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
1650
+ }>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/sandbox/", never, never, Schema.toCodecJson<Schema.Struct<{
1651
+ readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
1652
+ readonly awsAccountId: Schema.String;
1653
+ readonly repositoryName: Schema.String;
1654
+ readonly sourceBranch: Schema.String;
1655
+ readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
1656
+ readonly region: Schema.String;
1657
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
1649
1658
  readonly id: Schema.String;
1650
1659
  readonly pullRequestId: Schema.String;
1651
1660
  readonly awsAccountId: Schema.String;
@@ -1660,18 +1669,9 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1660
1669
  readonly error: Schema.NullOr<Schema.String>;
1661
1670
  readonly createdAt: Schema.String;
1662
1671
  readonly lastActivityAt: Schema.String;
1663
- }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
1672
+ }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
1664
1673
  readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
1665
1674
  }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
1666
- readonly password: Schema.String;
1667
- }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/sandbox/", never, never, Schema.toCodecJson<Schema.Struct<{
1668
- readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
1669
- readonly awsAccountId: Schema.String;
1670
- readonly repositoryName: Schema.String;
1671
- readonly sourceBranch: Schema.String;
1672
- readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
1673
- readonly region: Schema.String;
1674
- }>>, never, Schema.toCodecJson<Schema.Struct<{
1675
1675
  readonly id: Schema.String;
1676
1676
  readonly pullRequestId: Schema.String;
1677
1677
  readonly awsAccountId: Schema.String;
@@ -1686,11 +1686,13 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1686
1686
  readonly error: Schema.NullOr<Schema.String>;
1687
1687
  readonly createdAt: Schema.String;
1688
1688
  readonly lastActivityAt: Schema.String;
1689
- }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/api/sandbox/:sandboxId/restart", Schema.toCodecStringTree<Schema.Struct<{
1690
- readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
1691
- }>>, 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<{
1689
+ }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
1692
1690
  readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
1693
- }>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/stats/", never, Schema.toCodecStringTree<Schema.Struct<{
1691
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
1692
+ readonly password: Schema.String;
1693
+ }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoint.HttpApiEndpoint<"sync", "POST", "/api/stats/sync", never, never, Schema.toCodecJson<Schema.Struct<{
1694
+ readonly week: Schema.String;
1695
+ }>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/stats/", never, Schema.toCodecStringTree<Schema.Struct<{
1694
1696
  readonly week: Schema.String;
1695
1697
  readonly repo: Schema.optional<Schema.String>;
1696
1698
  readonly author: Schema.optional<Schema.String>;
@@ -1795,9 +1797,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
1795
1797
  readonly availableRepos: Schema.$Array<Schema.String>;
1796
1798
  readonly availableAuthors: Schema.$Array<Schema.String>;
1797
1799
  readonly availableAccounts: Schema.$Array<Schema.String>;
1798
- }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"sync", "POST", "/api/stats/sync", never, never, Schema.toCodecJson<Schema.Struct<{
1799
- readonly week: Schema.String;
1800
- }>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"subscriptions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/subscriptions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
1800
+ }>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"subscriptions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/subscriptions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
1801
1801
  readonly awsAccountId: Schema.String;
1802
1802
  readonly pullRequestId: Schema.String;
1803
1803
  readonly repositoryName: Schema.NullOr<Schema.String>;