@knpkv/codecommit-web 0.18.0 → 0.19.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/server/Api.d.ts +403 -403
- package/dist/server/Server.d.ts.map +1 -1
- package/dist/server/Server.js +7 -62
- package/dist/server/Server.js.map +1 -1
- package/dist/server/internal/StaticClient.d.ts +7 -0
- package/dist/server/internal/StaticClient.d.ts.map +1 -0
- package/dist/server/internal/StaticClient.js +8 -0
- package/dist/server/internal/StaticClient.js.map +1 -0
- package/package.json +3 -3
package/dist/server/Api.d.ts
CHANGED
|
@@ -1148,7 +1148,116 @@ declare const AuditGroup_base: HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoin
|
|
|
1148
1148
|
}>>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
1149
1149
|
export declare class AuditGroup extends AuditGroup_base {
|
|
1150
1150
|
}
|
|
1151
|
-
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<"
|
|
1151
|
+
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<"events", HttpApiEndpoint.HttpApiEndpoint<"stream", "GET", "/api/events/", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/stats/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1152
|
+
readonly week: Schema.String;
|
|
1153
|
+
readonly repo: Schema.optional<Schema.String>;
|
|
1154
|
+
readonly author: Schema.optional<Schema.String>;
|
|
1155
|
+
readonly account: Schema.optional<Schema.String>;
|
|
1156
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1157
|
+
readonly week: Schema.String;
|
|
1158
|
+
readonly weekStart: Schema.String;
|
|
1159
|
+
readonly weekEnd: Schema.String;
|
|
1160
|
+
readonly dataAvailableSince: Schema.NullOr<Schema.String>;
|
|
1161
|
+
readonly prsCreated: Schema.Number;
|
|
1162
|
+
readonly prsMerged: Schema.Number;
|
|
1163
|
+
readonly prsClosed: Schema.Number;
|
|
1164
|
+
readonly totalComments: Schema.Number;
|
|
1165
|
+
readonly topContributors: Schema.$Array<Schema.Struct<{
|
|
1166
|
+
readonly author: Schema.String;
|
|
1167
|
+
readonly prCount: Schema.Number;
|
|
1168
|
+
}>>;
|
|
1169
|
+
readonly topReviewers: Schema.$Array<Schema.Struct<{
|
|
1170
|
+
readonly author: Schema.String;
|
|
1171
|
+
readonly commentCount: Schema.Number;
|
|
1172
|
+
}>>;
|
|
1173
|
+
readonly topApprovers: Schema.$Array<Schema.Struct<{
|
|
1174
|
+
readonly author: Schema.String;
|
|
1175
|
+
readonly approvalCount: Schema.Number;
|
|
1176
|
+
}>>;
|
|
1177
|
+
readonly medianTimeToMerge: Schema.NullOr<Schema.Number>;
|
|
1178
|
+
readonly medianTimeToFirstReview: Schema.NullOr<Schema.Number>;
|
|
1179
|
+
readonly medianTimeToAddressFeedback: Schema.NullOr<Schema.Number>;
|
|
1180
|
+
readonly mergeTimeDetails: Schema.$Array<Schema.Struct<{
|
|
1181
|
+
readonly prId: Schema.String;
|
|
1182
|
+
readonly prTitle: Schema.String;
|
|
1183
|
+
readonly author: Schema.String;
|
|
1184
|
+
readonly repositoryName: Schema.String;
|
|
1185
|
+
readonly accountRegion: Schema.String;
|
|
1186
|
+
readonly awsAccountId: Schema.String;
|
|
1187
|
+
readonly durationMs: Schema.Number;
|
|
1188
|
+
readonly fromLabel: Schema.String;
|
|
1189
|
+
readonly toLabel: Schema.String;
|
|
1190
|
+
}>>;
|
|
1191
|
+
readonly firstReviewDetails: Schema.$Array<Schema.Struct<{
|
|
1192
|
+
readonly prId: Schema.String;
|
|
1193
|
+
readonly prTitle: Schema.String;
|
|
1194
|
+
readonly author: Schema.String;
|
|
1195
|
+
readonly repositoryName: Schema.String;
|
|
1196
|
+
readonly accountRegion: Schema.String;
|
|
1197
|
+
readonly awsAccountId: Schema.String;
|
|
1198
|
+
readonly durationMs: Schema.Number;
|
|
1199
|
+
readonly fromLabel: Schema.String;
|
|
1200
|
+
readonly toLabel: Schema.String;
|
|
1201
|
+
}>>;
|
|
1202
|
+
readonly feedbackDetails: Schema.$Array<Schema.Struct<{
|
|
1203
|
+
readonly prId: Schema.String;
|
|
1204
|
+
readonly prTitle: Schema.String;
|
|
1205
|
+
readonly author: Schema.String;
|
|
1206
|
+
readonly repositoryName: Schema.String;
|
|
1207
|
+
readonly accountRegion: Schema.String;
|
|
1208
|
+
readonly awsAccountId: Schema.String;
|
|
1209
|
+
readonly durationMs: Schema.Number;
|
|
1210
|
+
readonly fromLabel: Schema.String;
|
|
1211
|
+
readonly toLabel: Schema.String;
|
|
1212
|
+
}>>;
|
|
1213
|
+
readonly mostActivePRs: Schema.$Array<Schema.Struct<{
|
|
1214
|
+
readonly id: Schema.String;
|
|
1215
|
+
readonly title: Schema.String;
|
|
1216
|
+
readonly author: Schema.String;
|
|
1217
|
+
readonly repositoryName: Schema.String;
|
|
1218
|
+
readonly accountRegion: Schema.String;
|
|
1219
|
+
readonly commentCount: Schema.Number;
|
|
1220
|
+
readonly awsAccountId: Schema.String;
|
|
1221
|
+
}>>;
|
|
1222
|
+
readonly prSizeDistribution: Schema.Struct<{
|
|
1223
|
+
readonly small: Schema.Number;
|
|
1224
|
+
readonly medium: Schema.Number;
|
|
1225
|
+
readonly large: Schema.Number;
|
|
1226
|
+
readonly extraLarge: Schema.Number;
|
|
1227
|
+
}>;
|
|
1228
|
+
readonly avgDiffSize: Schema.NullOr<Schema.Struct<{
|
|
1229
|
+
readonly filesAdded: Schema.Number;
|
|
1230
|
+
readonly filesModified: Schema.Number;
|
|
1231
|
+
readonly filesDeleted: Schema.Number;
|
|
1232
|
+
}>>;
|
|
1233
|
+
readonly diffSizeByContributor: Schema.$Array<Schema.Struct<{
|
|
1234
|
+
readonly author: Schema.String;
|
|
1235
|
+
readonly avgFilesChanged: Schema.Number;
|
|
1236
|
+
readonly prCount: Schema.Number;
|
|
1237
|
+
}>>;
|
|
1238
|
+
readonly stalePRs: Schema.$Array<Schema.Struct<{
|
|
1239
|
+
readonly id: Schema.String;
|
|
1240
|
+
readonly title: Schema.String;
|
|
1241
|
+
readonly author: Schema.String;
|
|
1242
|
+
readonly repositoryName: Schema.String;
|
|
1243
|
+
readonly accountRegion: Schema.String;
|
|
1244
|
+
readonly daysSinceActivity: Schema.Number;
|
|
1245
|
+
readonly awsAccountId: Schema.String;
|
|
1246
|
+
}>>;
|
|
1247
|
+
readonly reviewCoverage: Schema.NullOr<Schema.Number>;
|
|
1248
|
+
readonly approvalRate: Schema.NullOr<Schema.Number>;
|
|
1249
|
+
readonly busFactor: Schema.NullOr<Schema.Struct<{
|
|
1250
|
+
readonly topContributorShare: Schema.Number;
|
|
1251
|
+
readonly uniqueContributors: Schema.Number;
|
|
1252
|
+
}>>;
|
|
1253
|
+
readonly availableRepos: Schema.$Array<Schema.String>;
|
|
1254
|
+
readonly availableAuthors: Schema.$Array<Schema.String>;
|
|
1255
|
+
readonly availableAccounts: Schema.$Array<Schema.String>;
|
|
1256
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"sync", "POST", "/api/stats/sync", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1257
|
+
readonly week: Schema.String;
|
|
1258
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoint.HttpApiEndpoint<"clear", "DELETE", "/api/audit/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1259
|
+
readonly deleted: Schema.Number;
|
|
1260
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"export", "GET", "/api/audit/export", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1152
1261
|
readonly from: Schema.optional<Schema.String>;
|
|
1153
1262
|
readonly to: Schema.optional<Schema.String>;
|
|
1154
1263
|
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
@@ -1182,47 +1291,136 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1182
1291
|
}>>;
|
|
1183
1292
|
readonly total: Schema.Number;
|
|
1184
1293
|
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1185
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1186
|
-
readonly
|
|
1187
|
-
|
|
1188
|
-
readonly
|
|
1189
|
-
readonly
|
|
1294
|
+
}>>, 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<{
|
|
1295
|
+
readonly awsAccountId: Schema.String;
|
|
1296
|
+
readonly pullRequestId: Schema.String;
|
|
1297
|
+
readonly repositoryName: Schema.NullOr<Schema.String>;
|
|
1298
|
+
readonly accountRegion: Schema.NullOr<Schema.String>;
|
|
1299
|
+
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"subscribe", "POST", "/api/subscriptions/subscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1300
|
+
readonly awsAccountId: Schema.String;
|
|
1301
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1302
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1303
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
1304
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribe", "POST", "/api/subscriptions/unsubscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1305
|
+
readonly awsAccountId: Schema.String;
|
|
1306
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1307
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1308
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
1309
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"permissions", HttpApiEndpoint.HttpApiEndpoint<"auditSettings", "GET", "/api/permissions/audit", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1310
|
+
readonly enabled: Schema.Boolean;
|
|
1311
|
+
readonly retentionDays: Schema.Number;
|
|
1312
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/permissions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1313
|
+
readonly operation: Schema.String;
|
|
1314
|
+
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1315
|
+
readonly category: Schema.Literals<readonly ["read", "write"]>;
|
|
1190
1316
|
readonly description: Schema.String;
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
readonly
|
|
1317
|
+
}>>>, never, 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<{
|
|
1318
|
+
readonly id: Schema.String;
|
|
1319
|
+
readonly response: Schema.Literals<readonly ["allow_once", "always_allow", "deny"]>;
|
|
1320
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"update", "POST", "/api/permissions/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1321
|
+
readonly operation: Schema.String;
|
|
1322
|
+
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1323
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateAuditSettings", "POST", "/api/permissions/audit", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1324
|
+
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
1325
|
+
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
1326
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"notifications", HttpApiEndpoint.HttpApiEndpoint<"count", "GET", "/api/notifications/count", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1327
|
+
readonly unread: Schema.Number;
|
|
1328
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1329
|
+
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1330
|
+
readonly cursor: Schema.optional<Schema.NumberFromString>;
|
|
1331
|
+
readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
|
|
1332
|
+
readonly unreadOnly: Schema.optional<Schema.NumberFromString>;
|
|
1333
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1334
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1335
|
+
readonly id: Schema.Number;
|
|
1336
|
+
readonly pullRequestId: Schema.String;
|
|
1337
|
+
readonly awsAccountId: Schema.String;
|
|
1338
|
+
readonly type: Schema.String;
|
|
1339
|
+
readonly title: Schema.String;
|
|
1194
1340
|
readonly profile: Schema.String;
|
|
1195
|
-
readonly
|
|
1196
|
-
readonly
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
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;
|
|
1341
|
+
readonly repositoryName: Schema.String;
|
|
1342
|
+
readonly accountRegion: Schema.String;
|
|
1343
|
+
readonly message: Schema.String;
|
|
1344
|
+
readonly createdAt: Schema.String;
|
|
1345
|
+
readonly read: Schema.Number;
|
|
1224
1346
|
}>>;
|
|
1225
|
-
|
|
1347
|
+
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1348
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markAllRead", "POST", "/api/notifications/read-all", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markRead", "POST", "/api/notifications/read", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1349
|
+
readonly id: Schema.Number;
|
|
1350
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markUnread", "POST", "/api/notifications/unread", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1351
|
+
readonly id: Schema.Number;
|
|
1352
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogin", "POST", "/api/notifications/sso-login", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1353
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1354
|
+
}>>, 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>, false> | HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/sandbox/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1355
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1356
|
+
readonly awsAccountId: Schema.String;
|
|
1357
|
+
readonly repositoryName: Schema.String;
|
|
1358
|
+
readonly sourceBranch: Schema.String;
|
|
1359
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1360
|
+
readonly region: Schema.String;
|
|
1361
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1362
|
+
readonly id: Schema.String;
|
|
1363
|
+
readonly pullRequestId: Schema.String;
|
|
1364
|
+
readonly awsAccountId: Schema.String;
|
|
1365
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1366
|
+
readonly repositoryName: Schema.String;
|
|
1367
|
+
readonly sourceBranch: Schema.String;
|
|
1368
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1369
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1370
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1371
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1372
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1373
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1374
|
+
readonly createdAt: Schema.String;
|
|
1375
|
+
readonly lastActivityAt: Schema.String;
|
|
1376
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
|
|
1377
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1378
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1379
|
+
readonly password: Schema.String;
|
|
1380
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1381
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1382
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1383
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1384
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1385
|
+
readonly id: Schema.String;
|
|
1386
|
+
readonly pullRequestId: Schema.String;
|
|
1387
|
+
readonly awsAccountId: Schema.String;
|
|
1388
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1389
|
+
readonly repositoryName: Schema.String;
|
|
1390
|
+
readonly sourceBranch: Schema.String;
|
|
1391
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1392
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1393
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1394
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1395
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1396
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1397
|
+
readonly createdAt: Schema.String;
|
|
1398
|
+
readonly lastActivityAt: Schema.String;
|
|
1399
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/sandbox/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1400
|
+
readonly id: Schema.String;
|
|
1401
|
+
readonly pullRequestId: Schema.String;
|
|
1402
|
+
readonly awsAccountId: Schema.String;
|
|
1403
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1404
|
+
readonly repositoryName: Schema.String;
|
|
1405
|
+
readonly sourceBranch: Schema.String;
|
|
1406
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1407
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1408
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1409
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1410
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1411
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1412
|
+
readonly createdAt: Schema.String;
|
|
1413
|
+
readonly lastActivityAt: Schema.String;
|
|
1414
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/api/sandbox/:sandboxId/restart", Schema.toCodecStringTree<Schema.Struct<{
|
|
1415
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1416
|
+
}>>, 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<{
|
|
1417
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1418
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"config", HttpApiEndpoint.HttpApiEndpoint<"database", "GET", "/api/config/database", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1419
|
+
readonly path: Schema.String;
|
|
1420
|
+
readonly sizeBytes: Schema.Number;
|
|
1421
|
+
readonly exists: Schema.Boolean;
|
|
1422
|
+
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1423
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/config/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1226
1424
|
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
1227
1425
|
readonly profile: Schema.String;
|
|
1228
1426
|
readonly regions: Schema.$Array<Schema.String>;
|
|
@@ -1260,15 +1458,6 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1260
1458
|
readonly path: Schema.String;
|
|
1261
1459
|
readonly exists: Schema.Boolean;
|
|
1262
1460
|
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1263
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"database", "GET", "/api/config/database", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1264
|
-
readonly path: Schema.String;
|
|
1265
|
-
readonly sizeBytes: Schema.Number;
|
|
1266
|
-
readonly exists: Schema.Boolean;
|
|
1267
|
-
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1268
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"validate", "GET", "/api/config/validate", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1269
|
-
readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
|
|
1270
|
-
readonly path: Schema.String;
|
|
1271
|
-
readonly errors: Schema.$Array<Schema.String>;
|
|
1272
1461
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reset", "POST", "/api/config/reset", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1273
1462
|
readonly backupPath: Schema.optional<Schema.String>;
|
|
1274
1463
|
readonly config: Schema.Struct<{
|
|
@@ -1307,52 +1496,49 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1307
1496
|
}>>;
|
|
1308
1497
|
}>;
|
|
1309
1498
|
readonly refreshStatus: Schema.Literals<readonly ["refreshed", "failed"]>;
|
|
1310
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never
|
|
1311
|
-
readonly id: Schema.
|
|
1312
|
-
|
|
1313
|
-
readonly
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1318
|
-
readonly cursor: Schema.optional<Schema.NumberFromString>;
|
|
1319
|
-
readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
|
|
1320
|
-
readonly unreadOnly: Schema.optional<Schema.NumberFromString>;
|
|
1321
|
-
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1322
|
-
readonly items: Schema.$Array<Schema.Struct<{
|
|
1323
|
-
readonly id: Schema.Number;
|
|
1324
|
-
readonly pullRequestId: Schema.String;
|
|
1325
|
-
readonly awsAccountId: Schema.String;
|
|
1326
|
-
readonly type: Schema.String;
|
|
1327
|
-
readonly title: Schema.String;
|
|
1499
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reviewSkills", "GET", "/api/config/review-skills", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1500
|
+
readonly id: Schema.String;
|
|
1501
|
+
readonly name: Schema.String;
|
|
1502
|
+
readonly description: Schema.String;
|
|
1503
|
+
readonly source: Schema.String;
|
|
1504
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"save", "POST", "/api/config/save", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1505
|
+
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
1328
1506
|
readonly profile: Schema.String;
|
|
1329
|
-
readonly
|
|
1330
|
-
readonly
|
|
1331
|
-
readonly message: Schema.String;
|
|
1332
|
-
readonly createdAt: Schema.String;
|
|
1333
|
-
readonly read: Schema.Number;
|
|
1507
|
+
readonly regions: Schema.$Array<Schema.String>;
|
|
1508
|
+
readonly enabled: Schema.Boolean;
|
|
1334
1509
|
}>>;
|
|
1335
|
-
readonly
|
|
1336
|
-
|
|
1337
|
-
readonly
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
}
|
|
1350
|
-
readonly
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1510
|
+
readonly autoDetect: Schema.Boolean;
|
|
1511
|
+
readonly autoRefresh: Schema.Boolean;
|
|
1512
|
+
readonly refreshIntervalSeconds: Schema.Number;
|
|
1513
|
+
readonly review: Schema.optional<Schema.Struct<{
|
|
1514
|
+
readonly defaultProfileId: Schema.String;
|
|
1515
|
+
readonly profiles: Schema.$Array<Schema.Struct<{
|
|
1516
|
+
readonly id: Schema.String;
|
|
1517
|
+
readonly name: Schema.String;
|
|
1518
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1519
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1520
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1521
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1522
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1523
|
+
}>>;
|
|
1524
|
+
}>>;
|
|
1525
|
+
readonly sandbox: Schema.optional<Schema.Struct<{
|
|
1526
|
+
readonly image: Schema.String;
|
|
1527
|
+
readonly extensions: Schema.$Array<Schema.String>;
|
|
1528
|
+
readonly setupCommands: Schema.$Array<Schema.String>;
|
|
1529
|
+
readonly env: Schema.$Record<Schema.String, Schema.String>;
|
|
1530
|
+
readonly volumeMounts: Schema.$Array<Schema.Struct<{
|
|
1531
|
+
readonly hostPath: Schema.String;
|
|
1532
|
+
readonly containerPath: Schema.String;
|
|
1533
|
+
readonly readonly: Schema.Boolean;
|
|
1534
|
+
}>>;
|
|
1535
|
+
readonly cloneDepth: Schema.Number;
|
|
1536
|
+
}>>;
|
|
1537
|
+
}>>, never, Schema.toCodecJson<Schema.Literals<readonly ["saved", "saved-refresh-failed"]>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"validate", "GET", "/api/config/validate", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1538
|
+
readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
|
|
1539
|
+
readonly path: Schema.String;
|
|
1540
|
+
readonly errors: Schema.$Array<Schema.String>;
|
|
1541
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1356
1542
|
readonly pullRequestId: Schema.String;
|
|
1357
1543
|
readonly repositoryName: Schema.String;
|
|
1358
1544
|
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
@@ -1363,7 +1549,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1363
1549
|
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
1364
1550
|
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
1365
1551
|
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
1366
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1552
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1367
1553
|
readonly repositoryName: Schema.String;
|
|
1368
1554
|
readonly title: Schema.String;
|
|
1369
1555
|
readonly description: Schema.optional<Schema.String>;
|
|
@@ -1380,106 +1566,81 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1380
1566
|
readonly pullRequestId: Schema.String;
|
|
1381
1567
|
readonly approvalRuleName: Schema.String;
|
|
1382
1568
|
readonly account: typeof Account;
|
|
1383
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1384
|
-
readonly profile: Schema.String;
|
|
1385
|
-
readonly link: Schema.String;
|
|
1386
|
-
}>>, 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<{
|
|
1569
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
1387
1570
|
readonly awsAccountId: Schema.String;
|
|
1388
1571
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1389
1572
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1390
1573
|
readonly repositoryName: Schema.String;
|
|
1391
1574
|
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1392
|
-
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1575
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1576
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1393
1577
|
readonly revisionId: Schema.String;
|
|
1394
1578
|
readonly baseCommit: Schema.String;
|
|
1395
1579
|
readonly headCommit: Schema.String;
|
|
1396
|
-
readonly
|
|
1397
|
-
readonly
|
|
1398
|
-
readonly
|
|
1399
|
-
readonly
|
|
1400
|
-
readonly
|
|
1401
|
-
readonly
|
|
1402
|
-
readonly
|
|
1403
|
-
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1404
|
-
}>;
|
|
1405
|
-
readonly currentReview: Schema.Struct<{
|
|
1406
|
-
readonly findings: Schema.$Array<Schema.Struct<{
|
|
1407
|
-
readonly id: Schema.String;
|
|
1408
|
-
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
1409
|
-
readonly title: Schema.String;
|
|
1410
|
-
readonly summary: Schema.String;
|
|
1411
|
-
readonly details: Schema.String;
|
|
1412
|
-
readonly recommendation: Schema.String;
|
|
1413
|
-
readonly verification: Schema.String;
|
|
1414
|
-
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
1415
|
-
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
1416
|
-
readonly scope: Schema.Literal<"general">;
|
|
1417
|
-
}>, Schema.Struct<{
|
|
1418
|
-
readonly scope: Schema.Literal<"file">;
|
|
1419
|
-
readonly filePath: Schema.String;
|
|
1420
|
-
}>, Schema.Struct<{
|
|
1421
|
-
readonly scope: Schema.Literal<"line">;
|
|
1422
|
-
readonly filePath: Schema.String;
|
|
1423
|
-
readonly line: Schema.Int;
|
|
1424
|
-
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
1425
|
-
}>]>;
|
|
1426
|
-
}>>;
|
|
1427
|
-
readonly verdict: Schema.String;
|
|
1428
|
-
readonly explanation: Schema.optional<Schema.String>;
|
|
1429
|
-
}>;
|
|
1430
|
-
readonly turns: Schema.$Array<Schema.Struct<{
|
|
1431
|
-
readonly id: Schema.optional<Schema.String>;
|
|
1432
|
-
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
1433
|
-
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
1434
|
-
readonly message: Schema.String;
|
|
1580
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
1581
|
+
readonly index: Schema.Int;
|
|
1582
|
+
readonly status: Schema.Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
1583
|
+
readonly path: Schema.String;
|
|
1584
|
+
readonly previousPath: Schema.NullOr<Schema.String>;
|
|
1585
|
+
readonly beforeMode: Schema.NullOr<Schema.String>;
|
|
1586
|
+
readonly afterMode: Schema.NullOr<Schema.String>;
|
|
1435
1587
|
}>>;
|
|
1436
|
-
|
|
1437
|
-
readonly message: Schema.String;
|
|
1438
|
-
}>>, 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<{
|
|
1588
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diffContent", "GET", "/api/prs/:awsAccountId/:prId/diff/:fileIndex", Schema.toCodecStringTree<Schema.Struct<{
|
|
1439
1589
|
readonly awsAccountId: Schema.String;
|
|
1440
1590
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1591
|
+
readonly fileIndex: Schema.NumberFromString;
|
|
1441
1592
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1442
1593
|
readonly repositoryName: Schema.String;
|
|
1443
1594
|
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1444
|
-
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1445
1595
|
readonly revisionId: Schema.String;
|
|
1446
1596
|
readonly baseCommit: Schema.String;
|
|
1447
1597
|
readonly headCommit: Schema.String;
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1458
|
-
readonly pullRequestId: Schema.String;
|
|
1459
|
-
readonly approvalRuleName: Schema.String;
|
|
1460
|
-
readonly requiredApprovals: Schema.Number;
|
|
1461
|
-
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1462
|
-
readonly account: typeof Account;
|
|
1463
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
1598
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1599
|
+
readonly fileIndex: Schema.Int;
|
|
1600
|
+
readonly revisionId: Schema.String;
|
|
1601
|
+
readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
|
|
1602
|
+
readonly before: Schema.NullOr<Schema.String>;
|
|
1603
|
+
readonly after: Schema.NullOr<Schema.String>;
|
|
1604
|
+
}>>, 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<"open", "POST", "/api/prs/open", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1605
|
+
readonly profile: Schema.String;
|
|
1606
|
+
readonly link: Schema.String;
|
|
1607
|
+
}>>, 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<{
|
|
1464
1608
|
readonly awsAccountId: Schema.String;
|
|
1465
1609
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1610
|
+
readonly findingId: Schema.String;
|
|
1466
1611
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1467
1612
|
readonly repositoryName: Schema.String;
|
|
1468
1613
|
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1469
|
-
}>>,
|
|
1470
|
-
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1614
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1471
1615
|
readonly revisionId: Schema.String;
|
|
1472
1616
|
readonly baseCommit: Schema.String;
|
|
1473
1617
|
readonly headCommit: Schema.String;
|
|
1474
|
-
readonly
|
|
1475
|
-
readonly
|
|
1476
|
-
readonly
|
|
1477
|
-
readonly
|
|
1478
|
-
readonly
|
|
1479
|
-
readonly
|
|
1480
|
-
readonly
|
|
1481
|
-
|
|
1482
|
-
|
|
1618
|
+
readonly finding: Schema.Struct<{
|
|
1619
|
+
readonly id: Schema.String;
|
|
1620
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
1621
|
+
readonly title: Schema.String;
|
|
1622
|
+
readonly summary: Schema.String;
|
|
1623
|
+
readonly details: Schema.String;
|
|
1624
|
+
readonly recommendation: Schema.String;
|
|
1625
|
+
readonly verification: Schema.String;
|
|
1626
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
1627
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
1628
|
+
readonly scope: Schema.Literal<"general">;
|
|
1629
|
+
}>, Schema.Struct<{
|
|
1630
|
+
readonly scope: Schema.Literal<"file">;
|
|
1631
|
+
readonly filePath: Schema.String;
|
|
1632
|
+
}>, Schema.Struct<{
|
|
1633
|
+
readonly scope: Schema.Literal<"line">;
|
|
1634
|
+
readonly filePath: Schema.String;
|
|
1635
|
+
readonly line: Schema.Int;
|
|
1636
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
1637
|
+
}>]>;
|
|
1638
|
+
}>;
|
|
1639
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1640
|
+
readonly findingId: Schema.String;
|
|
1641
|
+
readonly operationId: Schema.String;
|
|
1642
|
+
readonly summary: Schema.String;
|
|
1643
|
+
}>>, 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<{
|
|
1483
1644
|
readonly awsAccountId: Schema.String;
|
|
1484
1645
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1485
1646
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -1488,23 +1649,66 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1488
1649
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1489
1650
|
readonly revisionId: Schema.String;
|
|
1490
1651
|
readonly headCommit: Schema.String;
|
|
1491
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1652
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
|
|
1492
1653
|
readonly awsAccountId: Schema.String;
|
|
1493
1654
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1494
|
-
readonly fileIndex: Schema.NumberFromString;
|
|
1495
1655
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1496
1656
|
readonly repositoryName: Schema.String;
|
|
1497
1657
|
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1658
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1498
1659
|
readonly revisionId: Schema.String;
|
|
1499
1660
|
readonly baseCommit: Schema.String;
|
|
1500
1661
|
readonly headCommit: Schema.String;
|
|
1501
|
-
|
|
1502
|
-
|
|
1662
|
+
readonly profile: Schema.Struct<{
|
|
1663
|
+
readonly id: Schema.String;
|
|
1664
|
+
readonly name: Schema.String;
|
|
1665
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1666
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1667
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1668
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1669
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1670
|
+
}>;
|
|
1671
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1672
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1503
1673
|
readonly revisionId: Schema.String;
|
|
1504
|
-
readonly
|
|
1505
|
-
readonly
|
|
1506
|
-
readonly
|
|
1507
|
-
|
|
1674
|
+
readonly baseCommit: Schema.String;
|
|
1675
|
+
readonly headCommit: Schema.String;
|
|
1676
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1677
|
+
readonly profile: Schema.Struct<{
|
|
1678
|
+
readonly id: Schema.String;
|
|
1679
|
+
readonly name: Schema.String;
|
|
1680
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1681
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1682
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1683
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1684
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1685
|
+
}>;
|
|
1686
|
+
readonly result: Schema.Struct<{
|
|
1687
|
+
readonly findings: Schema.$Array<Schema.Struct<{
|
|
1688
|
+
readonly id: Schema.String;
|
|
1689
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
1690
|
+
readonly title: Schema.String;
|
|
1691
|
+
readonly summary: Schema.String;
|
|
1692
|
+
readonly details: Schema.String;
|
|
1693
|
+
readonly recommendation: Schema.String;
|
|
1694
|
+
readonly verification: Schema.String;
|
|
1695
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
1696
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
1697
|
+
readonly scope: Schema.Literal<"general">;
|
|
1698
|
+
}>, Schema.Struct<{
|
|
1699
|
+
readonly scope: Schema.Literal<"file">;
|
|
1700
|
+
readonly filePath: Schema.String;
|
|
1701
|
+
}>, Schema.Struct<{
|
|
1702
|
+
readonly scope: Schema.Literal<"line">;
|
|
1703
|
+
readonly filePath: Schema.String;
|
|
1704
|
+
readonly line: Schema.Int;
|
|
1705
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
1706
|
+
}>]>;
|
|
1707
|
+
}>>;
|
|
1708
|
+
readonly verdict: Schema.String;
|
|
1709
|
+
readonly explanation: Schema.optional<Schema.String>;
|
|
1710
|
+
}>;
|
|
1711
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
|
|
1508
1712
|
readonly awsAccountId: Schema.String;
|
|
1509
1713
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1510
1714
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -1523,22 +1727,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1523
1727
|
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1524
1728
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1525
1729
|
}>;
|
|
1526
|
-
|
|
1527
|
-
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1528
|
-
readonly revisionId: Schema.String;
|
|
1529
|
-
readonly baseCommit: Schema.String;
|
|
1530
|
-
readonly headCommit: Schema.String;
|
|
1531
|
-
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1532
|
-
readonly profile: Schema.Struct<{
|
|
1533
|
-
readonly id: Schema.String;
|
|
1534
|
-
readonly name: Schema.String;
|
|
1535
|
-
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1536
|
-
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1537
|
-
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1538
|
-
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1539
|
-
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1540
|
-
}>;
|
|
1541
|
-
readonly result: Schema.Struct<{
|
|
1730
|
+
readonly currentReview: Schema.Struct<{
|
|
1542
1731
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
1543
1732
|
readonly id: Schema.String;
|
|
1544
1733
|
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
@@ -1563,10 +1752,17 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1563
1752
|
readonly verdict: Schema.String;
|
|
1564
1753
|
readonly explanation: Schema.optional<Schema.String>;
|
|
1565
1754
|
}>;
|
|
1566
|
-
|
|
1755
|
+
readonly turns: Schema.$Array<Schema.Struct<{
|
|
1756
|
+
readonly id: Schema.optional<Schema.String>;
|
|
1757
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
1758
|
+
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
1759
|
+
readonly message: Schema.String;
|
|
1760
|
+
}>>;
|
|
1761
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
1762
|
+
readonly message: Schema.String;
|
|
1763
|
+
}>>, 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<{
|
|
1567
1764
|
readonly awsAccountId: Schema.String;
|
|
1568
1765
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1569
|
-
readonly findingId: Schema.String;
|
|
1570
1766
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1571
1767
|
readonly repositoryName: Schema.String;
|
|
1572
1768
|
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
@@ -1574,32 +1770,16 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1574
1770
|
readonly revisionId: Schema.String;
|
|
1575
1771
|
readonly baseCommit: Schema.String;
|
|
1576
1772
|
readonly headCommit: Schema.String;
|
|
1577
|
-
readonly
|
|
1773
|
+
readonly profile: Schema.Struct<{
|
|
1578
1774
|
readonly id: Schema.String;
|
|
1579
|
-
readonly
|
|
1580
|
-
readonly
|
|
1581
|
-
readonly
|
|
1582
|
-
readonly
|
|
1583
|
-
readonly
|
|
1584
|
-
readonly
|
|
1585
|
-
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
1586
|
-
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
1587
|
-
readonly scope: Schema.Literal<"general">;
|
|
1588
|
-
}>, Schema.Struct<{
|
|
1589
|
-
readonly scope: Schema.Literal<"file">;
|
|
1590
|
-
readonly filePath: Schema.String;
|
|
1591
|
-
}>, Schema.Struct<{
|
|
1592
|
-
readonly scope: Schema.Literal<"line">;
|
|
1593
|
-
readonly filePath: Schema.String;
|
|
1594
|
-
readonly line: Schema.Int;
|
|
1595
|
-
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
1596
|
-
}>]>;
|
|
1775
|
+
readonly name: Schema.String;
|
|
1776
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1777
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1778
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1779
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1780
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1597
1781
|
}>;
|
|
1598
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1599
|
-
readonly findingId: Schema.String;
|
|
1600
|
-
readonly operationId: Schema.String;
|
|
1601
|
-
readonly summary: Schema.String;
|
|
1602
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1782
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1603
1783
|
readonly q: Schema.String;
|
|
1604
1784
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1605
1785
|
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
@@ -1626,192 +1806,12 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1626
1806
|
}>>;
|
|
1627
1807
|
readonly total: Schema.Number;
|
|
1628
1808
|
readonly hasMore: Schema.Boolean;
|
|
1629
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never
|
|
1630
|
-
readonly id: Schema.String;
|
|
1631
|
-
readonly pullRequestId: Schema.String;
|
|
1632
|
-
readonly awsAccountId: Schema.String;
|
|
1633
|
-
readonly region: Schema.NullOr<Schema.String>;
|
|
1634
|
-
readonly repositoryName: Schema.String;
|
|
1635
|
-
readonly sourceBranch: Schema.String;
|
|
1636
|
-
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1637
|
-
readonly port: Schema.NullOr<Schema.Number>;
|
|
1638
|
-
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1639
|
-
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1640
|
-
readonly logs: Schema.NullOr<Schema.String>;
|
|
1641
|
-
readonly error: Schema.NullOr<Schema.String>;
|
|
1642
|
-
readonly createdAt: Schema.String;
|
|
1643
|
-
readonly lastActivityAt: Schema.String;
|
|
1644
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1645
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
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<{
|
|
1658
|
-
readonly id: Schema.String;
|
|
1659
|
-
readonly pullRequestId: Schema.String;
|
|
1660
|
-
readonly awsAccountId: Schema.String;
|
|
1661
|
-
readonly region: Schema.NullOr<Schema.String>;
|
|
1662
|
-
readonly repositoryName: Schema.String;
|
|
1663
|
-
readonly sourceBranch: Schema.String;
|
|
1664
|
-
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1665
|
-
readonly port: Schema.NullOr<Schema.Number>;
|
|
1666
|
-
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1667
|
-
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1668
|
-
readonly logs: Schema.NullOr<Schema.String>;
|
|
1669
|
-
readonly error: Schema.NullOr<Schema.String>;
|
|
1670
|
-
readonly createdAt: Schema.String;
|
|
1671
|
-
readonly lastActivityAt: Schema.String;
|
|
1672
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1673
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1674
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1675
|
-
readonly id: Schema.String;
|
|
1676
|
-
readonly pullRequestId: Schema.String;
|
|
1677
|
-
readonly awsAccountId: Schema.String;
|
|
1678
|
-
readonly region: Schema.NullOr<Schema.String>;
|
|
1679
|
-
readonly repositoryName: Schema.String;
|
|
1680
|
-
readonly sourceBranch: Schema.String;
|
|
1681
|
-
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1682
|
-
readonly port: Schema.NullOr<Schema.Number>;
|
|
1683
|
-
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1684
|
-
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1685
|
-
readonly logs: Schema.NullOr<Schema.String>;
|
|
1686
|
-
readonly error: Schema.NullOr<Schema.String>;
|
|
1687
|
-
readonly createdAt: Schema.String;
|
|
1688
|
-
readonly lastActivityAt: Schema.String;
|
|
1689
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
|
|
1690
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
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<{
|
|
1696
|
-
readonly week: Schema.String;
|
|
1697
|
-
readonly repo: Schema.optional<Schema.String>;
|
|
1698
|
-
readonly author: Schema.optional<Schema.String>;
|
|
1699
|
-
readonly account: Schema.optional<Schema.String>;
|
|
1700
|
-
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1701
|
-
readonly week: Schema.String;
|
|
1702
|
-
readonly weekStart: Schema.String;
|
|
1703
|
-
readonly weekEnd: Schema.String;
|
|
1704
|
-
readonly dataAvailableSince: Schema.NullOr<Schema.String>;
|
|
1705
|
-
readonly prsCreated: Schema.Number;
|
|
1706
|
-
readonly prsMerged: Schema.Number;
|
|
1707
|
-
readonly prsClosed: Schema.Number;
|
|
1708
|
-
readonly totalComments: Schema.Number;
|
|
1709
|
-
readonly topContributors: Schema.$Array<Schema.Struct<{
|
|
1710
|
-
readonly author: Schema.String;
|
|
1711
|
-
readonly prCount: Schema.Number;
|
|
1712
|
-
}>>;
|
|
1713
|
-
readonly topReviewers: Schema.$Array<Schema.Struct<{
|
|
1714
|
-
readonly author: Schema.String;
|
|
1715
|
-
readonly commentCount: Schema.Number;
|
|
1716
|
-
}>>;
|
|
1717
|
-
readonly topApprovers: Schema.$Array<Schema.Struct<{
|
|
1718
|
-
readonly author: Schema.String;
|
|
1719
|
-
readonly approvalCount: Schema.Number;
|
|
1720
|
-
}>>;
|
|
1721
|
-
readonly medianTimeToMerge: Schema.NullOr<Schema.Number>;
|
|
1722
|
-
readonly medianTimeToFirstReview: Schema.NullOr<Schema.Number>;
|
|
1723
|
-
readonly medianTimeToAddressFeedback: Schema.NullOr<Schema.Number>;
|
|
1724
|
-
readonly mergeTimeDetails: Schema.$Array<Schema.Struct<{
|
|
1725
|
-
readonly prId: Schema.String;
|
|
1726
|
-
readonly prTitle: Schema.String;
|
|
1727
|
-
readonly author: Schema.String;
|
|
1728
|
-
readonly repositoryName: Schema.String;
|
|
1729
|
-
readonly accountRegion: Schema.String;
|
|
1730
|
-
readonly awsAccountId: Schema.String;
|
|
1731
|
-
readonly durationMs: Schema.Number;
|
|
1732
|
-
readonly fromLabel: Schema.String;
|
|
1733
|
-
readonly toLabel: Schema.String;
|
|
1734
|
-
}>>;
|
|
1735
|
-
readonly firstReviewDetails: Schema.$Array<Schema.Struct<{
|
|
1736
|
-
readonly prId: Schema.String;
|
|
1737
|
-
readonly prTitle: Schema.String;
|
|
1738
|
-
readonly author: Schema.String;
|
|
1739
|
-
readonly repositoryName: Schema.String;
|
|
1740
|
-
readonly accountRegion: Schema.String;
|
|
1741
|
-
readonly awsAccountId: Schema.String;
|
|
1742
|
-
readonly durationMs: Schema.Number;
|
|
1743
|
-
readonly fromLabel: Schema.String;
|
|
1744
|
-
readonly toLabel: Schema.String;
|
|
1745
|
-
}>>;
|
|
1746
|
-
readonly feedbackDetails: Schema.$Array<Schema.Struct<{
|
|
1747
|
-
readonly prId: Schema.String;
|
|
1748
|
-
readonly prTitle: Schema.String;
|
|
1749
|
-
readonly author: Schema.String;
|
|
1750
|
-
readonly repositoryName: Schema.String;
|
|
1751
|
-
readonly accountRegion: Schema.String;
|
|
1752
|
-
readonly awsAccountId: Schema.String;
|
|
1753
|
-
readonly durationMs: Schema.Number;
|
|
1754
|
-
readonly fromLabel: Schema.String;
|
|
1755
|
-
readonly toLabel: Schema.String;
|
|
1756
|
-
}>>;
|
|
1757
|
-
readonly mostActivePRs: Schema.$Array<Schema.Struct<{
|
|
1758
|
-
readonly id: Schema.String;
|
|
1759
|
-
readonly title: Schema.String;
|
|
1760
|
-
readonly author: Schema.String;
|
|
1761
|
-
readonly repositoryName: Schema.String;
|
|
1762
|
-
readonly accountRegion: Schema.String;
|
|
1763
|
-
readonly commentCount: Schema.Number;
|
|
1764
|
-
readonly awsAccountId: Schema.String;
|
|
1765
|
-
}>>;
|
|
1766
|
-
readonly prSizeDistribution: Schema.Struct<{
|
|
1767
|
-
readonly small: Schema.Number;
|
|
1768
|
-
readonly medium: Schema.Number;
|
|
1769
|
-
readonly large: Schema.Number;
|
|
1770
|
-
readonly extraLarge: Schema.Number;
|
|
1771
|
-
}>;
|
|
1772
|
-
readonly avgDiffSize: Schema.NullOr<Schema.Struct<{
|
|
1773
|
-
readonly filesAdded: Schema.Number;
|
|
1774
|
-
readonly filesModified: Schema.Number;
|
|
1775
|
-
readonly filesDeleted: Schema.Number;
|
|
1776
|
-
}>>;
|
|
1777
|
-
readonly diffSizeByContributor: Schema.$Array<Schema.Struct<{
|
|
1778
|
-
readonly author: Schema.String;
|
|
1779
|
-
readonly avgFilesChanged: Schema.Number;
|
|
1780
|
-
readonly prCount: Schema.Number;
|
|
1781
|
-
}>>;
|
|
1782
|
-
readonly stalePRs: Schema.$Array<Schema.Struct<{
|
|
1783
|
-
readonly id: Schema.String;
|
|
1784
|
-
readonly title: Schema.String;
|
|
1785
|
-
readonly author: Schema.String;
|
|
1786
|
-
readonly repositoryName: Schema.String;
|
|
1787
|
-
readonly accountRegion: Schema.String;
|
|
1788
|
-
readonly daysSinceActivity: Schema.Number;
|
|
1789
|
-
readonly awsAccountId: Schema.String;
|
|
1790
|
-
}>>;
|
|
1791
|
-
readonly reviewCoverage: Schema.NullOr<Schema.Number>;
|
|
1792
|
-
readonly approvalRate: Schema.NullOr<Schema.Number>;
|
|
1793
|
-
readonly busFactor: Schema.NullOr<Schema.Struct<{
|
|
1794
|
-
readonly topContributorShare: Schema.Number;
|
|
1795
|
-
readonly uniqueContributors: Schema.Number;
|
|
1796
|
-
}>>;
|
|
1797
|
-
readonly availableRepos: Schema.$Array<Schema.String>;
|
|
1798
|
-
readonly availableAuthors: Schema.$Array<Schema.String>;
|
|
1799
|
-
readonly availableAccounts: Schema.$Array<Schema.String>;
|
|
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
|
-
readonly awsAccountId: Schema.String;
|
|
1809
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateApprovalRule", "PUT", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1802
1810
|
readonly pullRequestId: Schema.String;
|
|
1803
|
-
readonly
|
|
1804
|
-
readonly
|
|
1805
|
-
|
|
1806
|
-
readonly
|
|
1807
|
-
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1808
|
-
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1809
|
-
readonly region: Schema.optional<Schema.Trim>;
|
|
1810
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribe", "POST", "/api/subscriptions/unsubscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1811
|
-
readonly awsAccountId: Schema.String;
|
|
1812
|
-
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1813
|
-
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1814
|
-
readonly region: Schema.optional<Schema.Trim>;
|
|
1811
|
+
readonly approvalRuleName: Schema.String;
|
|
1812
|
+
readonly requiredApprovals: Schema.Number;
|
|
1813
|
+
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1814
|
+
readonly account: typeof Account;
|
|
1815
1815
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false>>;
|
|
1816
1816
|
export declare class CodeCommitApi extends CodeCommitApi_base {
|
|
1817
1817
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Server.d.ts","sourceRoot":"","sources":["../../src/server/Server.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,YAAY,MAAM,sCAAsC,CAAA;AAmBpE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAS,KAAK,EAAkC,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"Server.d.ts","sourceRoot":"","sources":["../../src/server/Server.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,YAAY,MAAM,sCAAsC,CAAA;AAmBpE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAS,KAAK,EAAkC,MAAM,QAAQ,CAAA;AAI/F,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAuBrC,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAA;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAkN7D,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,4EAA4E;IAC5E,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAC9B,qEAAqE;IACrE,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAA;IAC1C,QAAQ,CAAC,QAAQ,EAAE,YAAY,CAAC,mBAAmB,CAAA;CACpD;AAED,eAAO,MAAM,UAAU,YAAa,uBAAuB,wOA8B1D,CAAA;AAED,eAAO,MAAM,oBAAoB,SAAU,MAAM,YAAY,YAAY,CAAC,mBAAmB,wOAC7D,CAAA;AAEhC,eAAO,MAAM,IAAI,uBAAoD,CAAA;AAqBrE,eAAO,MAAM,oBAAoB,8XAmC/B,CAAA"}
|
package/dist/server/Server.js
CHANGED
|
@@ -5,8 +5,7 @@ import { AwsClientGatedLive, InnerAwsClient } from "@knpkv/codecommit-core/AwsCl
|
|
|
5
5
|
import { AuditLogRepo } from "@knpkv/codecommit-core/PermissionService/AuditLog.js";
|
|
6
6
|
import { PermissionGateLiveLayer, PermissionGateLiveTag } from "@knpkv/codecommit-core/PermissionService/PermissionGateLive.js";
|
|
7
7
|
import { Config, Deferred, Effect, Fiber, Layer, Option, Predicate, Ref, Stream } from "effect";
|
|
8
|
-
import
|
|
9
|
-
import { Etag, FetchHttpClient, HttpPlatform, HttpRouter, HttpServerRequest, HttpServerResponse } from "effect/http";
|
|
8
|
+
import { Etag, FetchHttpClient, HttpPlatform, HttpRouter } from "effect/http";
|
|
10
9
|
import { HttpApiBuilder } from "effect/http-api";
|
|
11
10
|
import * as Path from "effect/Path";
|
|
12
11
|
import * as Stdio from "effect/Stdio";
|
|
@@ -18,67 +17,10 @@ import { autoRefreshLayer, sandboxStartupLayer } from "./internal/BackgroundWork
|
|
|
18
17
|
import { makeOwnerSession, ownerSessionAuthLayer } from "./internal/OwnerSession.js";
|
|
19
18
|
import { InnerCodeCommitReadClient, makePermissionedReadClient } from "./internal/PermissionedReadClient.js";
|
|
20
19
|
import { resolveCodeCommitPublicOriginForBind } from "./internal/PublicOrigin.js";
|
|
20
|
+
import { staticClient } from "./internal/StaticClient.js";
|
|
21
21
|
import { makeRelayFindingPublisher, RelayFindingPublisher } from "./review/RelayFindingPublisher.js";
|
|
22
22
|
export { loopbackOrigin, requireLoopbackHostname } from "@knpkv/browser-pairing/owner-session";
|
|
23
23
|
export { makeOwnerSession } from "./internal/OwnerSession.js";
|
|
24
|
-
const mimeTypes = {
|
|
25
|
-
".html": "text/html",
|
|
26
|
-
".js": "application/javascript",
|
|
27
|
-
".css": "text/css",
|
|
28
|
-
".json": "application/json",
|
|
29
|
-
".png": "image/png",
|
|
30
|
-
".jpg": "image/jpeg",
|
|
31
|
-
".svg": "image/svg+xml",
|
|
32
|
-
".ico": "image/x-icon",
|
|
33
|
-
".wasm": "application/wasm",
|
|
34
|
-
".map": "application/json",
|
|
35
|
-
".woff2": "font/woff2",
|
|
36
|
-
".ttf": "font/ttf"
|
|
37
|
-
};
|
|
38
|
-
// Static file serving — async Effect FileSystem, no sync node:fs
|
|
39
|
-
const serveStatic = Effect.gen(function* () {
|
|
40
|
-
const req = yield* HttpServerRequest.HttpServerRequest;
|
|
41
|
-
const fileSystem = yield* FileSystem.FileSystem;
|
|
42
|
-
const path = yield* Path.Path;
|
|
43
|
-
const url = new URL(req.url, "http://localhost");
|
|
44
|
-
let filePath = decodeURIComponent(url.pathname);
|
|
45
|
-
// Remove leading slash
|
|
46
|
-
if (filePath.startsWith("/")) {
|
|
47
|
-
filePath = filePath.slice(1);
|
|
48
|
-
}
|
|
49
|
-
if (filePath === "") {
|
|
50
|
-
filePath = "index.html";
|
|
51
|
-
}
|
|
52
|
-
const __dirname = yield* path.fromFileUrl(new URL(".", import.meta.url));
|
|
53
|
-
const staticDir = path.resolve(__dirname, "../../dist/client");
|
|
54
|
-
const fullPath = path.resolve(staticDir, filePath);
|
|
55
|
-
// Path traversal guard — resolved path must stay within staticDir
|
|
56
|
-
if (!fullPath.startsWith(staticDir)) {
|
|
57
|
-
return HttpServerResponse.text("Forbidden", { status: 403 });
|
|
58
|
-
}
|
|
59
|
-
if (yield* fileSystem.exists(fullPath)) {
|
|
60
|
-
const stat = yield* fileSystem.stat(fullPath);
|
|
61
|
-
if (stat.type === "File") {
|
|
62
|
-
const content = yield* fileSystem.readFile(fullPath);
|
|
63
|
-
const ext = path.extname(fullPath);
|
|
64
|
-
const contentType = mimeTypes[ext] || "application/octet-stream";
|
|
65
|
-
return HttpServerResponse.uint8Array(content, {
|
|
66
|
-
status: 200,
|
|
67
|
-
headers: { "content-type": contentType }
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
// SPA Fallback
|
|
72
|
-
const index = path.join(staticDir, "index.html");
|
|
73
|
-
if (yield* fileSystem.exists(index)) {
|
|
74
|
-
const content = yield* fileSystem.readFile(index);
|
|
75
|
-
return HttpServerResponse.uint8Array(content, {
|
|
76
|
-
status: 200,
|
|
77
|
-
headers: { "content-type": "text/html" }
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
return HttpServerResponse.text("Not Found", { status: 404 });
|
|
81
|
-
});
|
|
82
24
|
// API handlers layer
|
|
83
25
|
const HandlersLive = Layer.mergeAll(PrsLive, ConfigLive, AccountsLive, EventsLive, NotificationsLive, SubscriptionsLive, SandboxLive, StatsLive, PermissionsLive, AuditLive).pipe(Layer.provideMerge(BackgroundScopeLive));
|
|
84
26
|
// Platform dependencies
|
|
@@ -129,8 +71,11 @@ const AuditPrune = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
129
71
|
}));
|
|
130
72
|
// API router with handlers — AutoRefresh shares AllServicesLive with handlers
|
|
131
73
|
const ApiLive = Layer.mergeAll(HttpApiBuilder.layer(CodeCommitApi).pipe(Layer.provide(HandlersLive.pipe(Layer.provide(RelayFindingPublisherLive)))), autoRefreshLayer, AuditPrune, sandboxStartupLayer).pipe(Layer.provide(ownerSessionAuthLayer), Layer.provide(AllServicesLive), Layer.provide(FetchHttpClient.layer));
|
|
132
|
-
|
|
133
|
-
const StaticRouter =
|
|
74
|
+
/** The client `vite build` writes next to the compiled server. */
|
|
75
|
+
const StaticRouter = Layer.unwrap(Effect.gen(function* () {
|
|
76
|
+
const path = yield* Path.Path;
|
|
77
|
+
return staticClient(yield* path.fromFileUrl(new URL("../../dist/client", import.meta.url)));
|
|
78
|
+
}));
|
|
134
79
|
const AllowedOrigins = Config.String("ALLOWED_ORIGINS").pipe(Config.map((s) => s.split(",")), Config.withDefault(["http://localhost:3000", "http://127.0.0.1:3000"]));
|
|
135
80
|
// CORS layer via Effect Config — consistent with Port config
|
|
136
81
|
const CorsLive = Layer.unwrap(Effect.map(AllowedOrigins, (allowedOrigins) => HttpRouter.cors({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Server.js","sourceRoot":"","sources":["../../src/server/Server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAChF,OAAO,KAAK,YAAY,MAAM,sCAAsC,CAAA;AACpE,OAAO,EACL,SAAS,EACT,eAAe,EACf,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,YAAY,EACZ,cAAc,EACd,YAAY,EACb,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAA;AACvG,OAAO,EAAE,YAAY,EAAE,MAAM,sDAAsD,CAAA;AACnF,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,gEAAgE,CAAA;AACvE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,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GAAG,KAAK,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,IAAI,CAClG,MAAM,CAAC,SAAS,CAAC,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC,CAC7C,CAAA;QACD,8FAA8F;QAC9F,MAAM,YAAY,GAAG,KAAK,CAAC,CAAC,MAAM,CAAC,SAAS,CAC1C,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,EACrB,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAC3D,CAAA;QACD,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,iCAAiC,YAAY,EAAE,CAAC,CAAA;QACtE,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,gCAAgC,YAAY,IAAI,CAAC,CAAC,IAAI,CACvE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAC3B,CAAA;QACD,OAAO,KAAK,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;IACvC,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CACnD,CAAA;AACH,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Serves the built client at `root` for every non-API route. Extensionless HTML navigations fall back
|
|
3
|
+
* to `index.html`; `no-cache` makes the browser revalidate, so a rebuilt `index.html` never points at
|
|
4
|
+
* hashed assets that no longer exist.
|
|
5
|
+
*/
|
|
6
|
+
export declare const staticClient: (root: string) => import("effect/Layer").Layer<never, import("effect/PlatformError").PlatformError, import("effect/FileSystem").FileSystem | import("effect/http/HttpPlatform").HttpPlatform | import("effect/http/HttpRouter").HttpRouter | import("effect/Path").Path>;
|
|
7
|
+
//# sourceMappingURL=StaticClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StaticClient.d.ts","sourceRoot":"","sources":["../../../src/server/internal/StaticClient.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,YAAY,SAAU,MAAM,2PAA0E,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HttpStaticServer } from "effect/http";
|
|
2
|
+
/**
|
|
3
|
+
* Serves the built client at `root` for every non-API route. Extensionless HTML navigations fall back
|
|
4
|
+
* to `index.html`; `no-cache` makes the browser revalidate, so a rebuilt `index.html` never points at
|
|
5
|
+
* hashed assets that no longer exist.
|
|
6
|
+
*/
|
|
7
|
+
export const staticClient = (root) => HttpStaticServer.layer({ cacheControl: "no-cache", root, spa: true });
|
|
8
|
+
//# sourceMappingURL=StaticClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StaticClient.js","sourceRoot":"","sources":["../../../src/server/internal/StaticClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knpkv/codecommit-web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Web server and frontend for CodeCommit PR browser",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"tailwind-merge": "^3.7.0",
|
|
38
38
|
"tailwindcss": "^4.3.3",
|
|
39
39
|
"tw-animate-css": "^1.4.0",
|
|
40
|
-
"@knpkv/ai-claude": "^0.4.
|
|
41
|
-
"@knpkv/ai-codex": "^0.5.
|
|
40
|
+
"@knpkv/ai-claude": "^0.4.1",
|
|
41
|
+
"@knpkv/ai-codex": "^0.5.1",
|
|
42
42
|
"@knpkv/browser-pairing": "^0.3.0",
|
|
43
43
|
"@knpkv/codecommit-core": "^0.17.0",
|
|
44
44
|
"@knpkv/relay-product": "^0.2.0",
|