@claudexor/schema 3.19.0 → 3.22.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/agent-capabilities.d.ts +1 -1
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +1 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/continuation-admission.d.ts +41 -0
- package/dist/continuation-admission.d.ts.map +1 -0
- package/dist/continuation-admission.js +136 -0
- package/dist/continuation-admission.js.map +1 -0
- package/dist/control-gc.d.ts +9 -0
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +12 -0
- package/dist/control-gc.js.map +1 -1
- package/dist/control-operation-responses.d.ts +415 -9
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +2 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +891 -25
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-failure.d.ts +36 -6
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +1 -0
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-thread-requests.d.ts +101 -0
- package/dist/control-thread-requests.d.ts.map +1 -0
- package/dist/control-thread-requests.js +52 -0
- package/dist/control-thread-requests.js.map +1 -0
- package/dist/control.d.ts +377 -106
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +26 -45
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +172 -14
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +4 -1
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +3 -2
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +12 -0
- package/dist/decision.d.ts.map +1 -1
- package/dist/effort.d.ts +33 -12
- package/dist/effort.d.ts.map +1 -1
- package/dist/effort.js +43 -13
- package/dist/effort.js.map +1 -1
- package/dist/events.d.ts +7 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +11 -0
- package/dist/events.js.map +1 -1
- package/dist/harness-input.d.ts +20 -2
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +17 -6
- package/dist/harness-input.js.map +1 -1
- package/dist/harness.d.ts +57 -20
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +5 -5
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +253 -14
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +38 -0
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/quota.d.ts +507 -12
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +111 -15
- package/dist/quota.js.map +1 -1
- package/dist/raw.d.ts +1 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +0 -1
- package/dist/raw.js.map +1 -1
- package/dist/run-continuation.d.ts +166 -0
- package/dist/run-continuation.d.ts.map +1 -0
- package/dist/run-continuation.js +65 -0
- package/dist/run-continuation.js.map +1 -0
- package/dist/run-continuity.d.ts +215 -0
- package/dist/run-continuity.d.ts.map +1 -0
- package/dist/run-continuity.js +170 -0
- package/dist/run-continuity.js.map +1 -0
- package/dist/run-facts.d.ts +7 -0
- package/dist/run-facts.d.ts.map +1 -1
- package/dist/setup-login.d.ts +35 -0
- package/dist/setup-login.d.ts.map +1 -1
- package/dist/setup-login.js +10 -0
- package/dist/setup-login.js.map +1 -1
- package/dist/status-projection.d.ts +8 -1
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +22 -1
- package/dist/status-projection.js.map +1 -1
- package/dist/telemetry.d.ts +109 -7
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +3 -3
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +4 -0
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +10 -1
- package/dist/thread.js.map +1 -1
- package/dist/work-report.d.ts +18 -4
- package/dist/work-report.d.ts.map +1 -1
- package/dist/work-report.js +26 -5
- package/dist/work-report.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +1 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +29 -7
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +29 -7
- package/generated/ControlGcReceipt.schema.json +14 -0
- package/generated/ControlGcRequest.schema.json +4 -0
- package/generated/ControlHarnessListResponse.schema.json +1 -1
- package/generated/ControlHarnessSettingsPatch.schema.json +1 -1
- package/generated/ControlQuotaResponse.schema.json +28 -6
- package/generated/ControlRetainedEnvelope.schema.json +63 -0
- package/generated/ControlRunAgainDraft.schema.json +16 -0
- package/generated/ControlRunDetail.schema.json +503 -54
- package/generated/ControlRunListResponse.schema.json +503 -54
- package/generated/ControlRunStartRequest.schema.json +16 -0
- package/generated/ControlRunSummary.schema.json +503 -54
- package/generated/ControlSettingsSnapshot.schema.json +1 -1
- package/generated/ControlSettingsUpdateRequest.schema.json +1 -1
- package/generated/ControlThread.schema.json +16 -1
- package/generated/ControlThreadCreateRequest.schema.json +6 -0
- package/generated/ControlThreadDetail.schema.json +30 -2
- package/generated/ControlThreadListResponse.schema.json +16 -1
- package/generated/ControlThreadTurnRequest.schema.json +4 -0
- package/generated/ControlThreadUpdateRequest.schema.json +15 -1
- package/generated/DecisionRecord.schema.json +14 -1
- package/generated/EnvelopeCustody.schema.json +195 -0
- package/generated/GlobalConfig.schema.json +1 -1
- package/generated/HarnessEvent.schema.json +114 -56
- package/generated/HarnessManifest.schema.json +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/McpRunHandleResult.schema.json +214 -54
- package/generated/McpRunToolResult.schema.json +119 -54
- package/generated/RunContinuityReceipt.schema.json +182 -0
- package/generated/RunEvent.schema.json +3 -1
- package/generated/RunFacts.schema.json +14 -1
- package/generated/RunFailure.schema.json +105 -53
- package/generated/RunResumable.schema.json +153 -0
- package/generated/RunTelemetry.schema.json +118 -54
- package/generated/SessionCapsule.schema.json +78 -0
- package/generated/TaskContract.schema.json +1 -1
- package/generated/Thread.schema.json +16 -1
- package/package.json +2 -2
|
@@ -1238,6 +1238,7 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1238
1238
|
id: z.ZodString;
|
|
1239
1239
|
label: z.ZodString;
|
|
1240
1240
|
applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1241
|
+
applies_to_model_prefixes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1241
1242
|
applies_to_unspecified_model: z.ZodOptional<z.ZodBoolean>;
|
|
1242
1243
|
used_ratio: z.ZodNullable<z.ZodNumber>;
|
|
1243
1244
|
window_seconds: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1247,6 +1248,7 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1247
1248
|
id: string;
|
|
1248
1249
|
label: string;
|
|
1249
1250
|
applies_to_models?: string[] | null | undefined;
|
|
1251
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1250
1252
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1251
1253
|
used_ratio: number | null;
|
|
1252
1254
|
window_seconds: number | null;
|
|
@@ -1256,16 +1258,18 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1256
1258
|
id: string;
|
|
1257
1259
|
label: string;
|
|
1258
1260
|
applies_to_models?: string[] | null | undefined;
|
|
1261
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1259
1262
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1260
1263
|
used_ratio: number | null;
|
|
1261
1264
|
window_seconds: number | null;
|
|
1262
1265
|
resets_at: string | null;
|
|
1263
1266
|
cooldown_until?: string | null | undefined;
|
|
1264
1267
|
}>, "many">;
|
|
1265
|
-
source: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage", "agy_command_usage", "cursor_rate_limit"]>;
|
|
1268
|
+
source: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage", "agy_command_usage", "cursor_rate_limit", "claude_rate_limit_event", "codex_app_server_event"]>;
|
|
1266
1269
|
observed_at: z.ZodString;
|
|
1267
1270
|
freshness: z.ZodEnum<["fresh", "stale", "unknown"]>;
|
|
1268
1271
|
} & {
|
|
1272
|
+
snapshot_id: z.ZodOptional<z.ZodString>;
|
|
1269
1273
|
availability: z.ZodOptional<z.ZodObject<{
|
|
1270
1274
|
state: z.ZodEnum<["available", "exhausted", "cooldown"]>;
|
|
1271
1275
|
blocking_constraints: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1273,14 +1277,17 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1273
1277
|
model_scoped_exhaustions: z.ZodArray<z.ZodObject<{
|
|
1274
1278
|
constraint_id: z.ZodString;
|
|
1275
1279
|
applies_to_models: z.ZodArray<z.ZodString, "many">;
|
|
1280
|
+
applies_to_model_prefixes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1276
1281
|
resets_at: z.ZodNullable<z.ZodString>;
|
|
1277
1282
|
}, "strict", z.ZodTypeAny, {
|
|
1278
1283
|
constraint_id: string;
|
|
1279
1284
|
applies_to_models: string[];
|
|
1285
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1280
1286
|
resets_at: string | null;
|
|
1281
1287
|
}, {
|
|
1282
1288
|
constraint_id: string;
|
|
1283
1289
|
applies_to_models: string[];
|
|
1290
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1284
1291
|
resets_at: string | null;
|
|
1285
1292
|
}>, "many">;
|
|
1286
1293
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1290,6 +1297,7 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1290
1297
|
model_scoped_exhaustions: {
|
|
1291
1298
|
constraint_id: string;
|
|
1292
1299
|
applies_to_models: string[];
|
|
1300
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1293
1301
|
resets_at: string | null;
|
|
1294
1302
|
}[];
|
|
1295
1303
|
}, {
|
|
@@ -1299,6 +1307,7 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1299
1307
|
model_scoped_exhaustions: {
|
|
1300
1308
|
constraint_id: string;
|
|
1301
1309
|
applies_to_models: string[];
|
|
1310
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1302
1311
|
resets_at: string | null;
|
|
1303
1312
|
}[];
|
|
1304
1313
|
}>>;
|
|
@@ -1313,15 +1322,17 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1313
1322
|
id: string;
|
|
1314
1323
|
label: string;
|
|
1315
1324
|
applies_to_models?: string[] | null | undefined;
|
|
1325
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1316
1326
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1317
1327
|
used_ratio: number | null;
|
|
1318
1328
|
window_seconds: number | null;
|
|
1319
1329
|
resets_at: string | null;
|
|
1320
1330
|
cooldown_until: string | null;
|
|
1321
1331
|
}[];
|
|
1322
|
-
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout" | "cursor_rate_limit";
|
|
1332
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_rollout" | "cursor_rate_limit";
|
|
1323
1333
|
observed_at: string;
|
|
1324
1334
|
freshness: "fresh" | "stale" | "unknown";
|
|
1335
|
+
snapshot_id?: string | undefined;
|
|
1325
1336
|
availability?: {
|
|
1326
1337
|
state: "available" | "cooldown" | "exhausted";
|
|
1327
1338
|
blocking_constraints: string[];
|
|
@@ -1329,6 +1340,7 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1329
1340
|
model_scoped_exhaustions: {
|
|
1330
1341
|
constraint_id: string;
|
|
1331
1342
|
applies_to_models: string[];
|
|
1343
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1332
1344
|
resets_at: string | null;
|
|
1333
1345
|
}[];
|
|
1334
1346
|
} | undefined;
|
|
@@ -1343,15 +1355,17 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1343
1355
|
id: string;
|
|
1344
1356
|
label: string;
|
|
1345
1357
|
applies_to_models?: string[] | null | undefined;
|
|
1358
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1346
1359
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1347
1360
|
used_ratio: number | null;
|
|
1348
1361
|
window_seconds: number | null;
|
|
1349
1362
|
resets_at: string | null;
|
|
1350
1363
|
cooldown_until?: string | null | undefined;
|
|
1351
1364
|
}[];
|
|
1352
|
-
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout" | "cursor_rate_limit";
|
|
1365
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_rollout" | "cursor_rate_limit";
|
|
1353
1366
|
observed_at: string;
|
|
1354
1367
|
freshness: "fresh" | "stale" | "unknown";
|
|
1368
|
+
snapshot_id?: string | undefined;
|
|
1355
1369
|
availability?: {
|
|
1356
1370
|
state: "available" | "cooldown" | "exhausted";
|
|
1357
1371
|
blocking_constraints: string[];
|
|
@@ -1359,6 +1373,7 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1359
1373
|
model_scoped_exhaustions: {
|
|
1360
1374
|
constraint_id: string;
|
|
1361
1375
|
applies_to_models: string[];
|
|
1376
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1362
1377
|
resets_at: string | null;
|
|
1363
1378
|
}[];
|
|
1364
1379
|
} | undefined;
|
|
@@ -1410,12 +1425,40 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1410
1425
|
refreshed_at: z.ZodNullable<z.ZodString>;
|
|
1411
1426
|
refresh_skipped: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1412
1427
|
vendor: z.ZodString;
|
|
1428
|
+
subject: z.ZodOptional<z.ZodObject<{
|
|
1429
|
+
harness: z.ZodString;
|
|
1430
|
+
credential_route: z.ZodEnum<["vendor_native", "managed_api_key", "local"]>;
|
|
1431
|
+
plan_label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1432
|
+
subject_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1433
|
+
}, "strict", z.ZodTypeAny, {
|
|
1434
|
+
harness: string;
|
|
1435
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
1436
|
+
plan_label: string | null;
|
|
1437
|
+
subject_id: string | null;
|
|
1438
|
+
}, {
|
|
1439
|
+
harness: string;
|
|
1440
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
1441
|
+
plan_label?: string | null | undefined;
|
|
1442
|
+
subject_id?: string | null | undefined;
|
|
1443
|
+
}>>;
|
|
1413
1444
|
not_before: z.ZodString;
|
|
1414
1445
|
}, "strict", z.ZodTypeAny, {
|
|
1415
1446
|
vendor: string;
|
|
1447
|
+
subject?: {
|
|
1448
|
+
harness: string;
|
|
1449
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
1450
|
+
plan_label: string | null;
|
|
1451
|
+
subject_id: string | null;
|
|
1452
|
+
} | undefined;
|
|
1416
1453
|
not_before: string;
|
|
1417
1454
|
}, {
|
|
1418
1455
|
vendor: string;
|
|
1456
|
+
subject?: {
|
|
1457
|
+
harness: string;
|
|
1458
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
1459
|
+
plan_label?: string | null | undefined;
|
|
1460
|
+
subject_id?: string | null | undefined;
|
|
1461
|
+
} | undefined;
|
|
1419
1462
|
not_before: string;
|
|
1420
1463
|
}>, "many">>;
|
|
1421
1464
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1430,15 +1473,17 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1430
1473
|
id: string;
|
|
1431
1474
|
label: string;
|
|
1432
1475
|
applies_to_models?: string[] | null | undefined;
|
|
1476
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1433
1477
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1434
1478
|
used_ratio: number | null;
|
|
1435
1479
|
window_seconds: number | null;
|
|
1436
1480
|
resets_at: string | null;
|
|
1437
1481
|
cooldown_until: string | null;
|
|
1438
1482
|
}[];
|
|
1439
|
-
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout" | "cursor_rate_limit";
|
|
1483
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_rollout" | "cursor_rate_limit";
|
|
1440
1484
|
observed_at: string;
|
|
1441
1485
|
freshness: "fresh" | "stale" | "unknown";
|
|
1486
|
+
snapshot_id?: string | undefined;
|
|
1442
1487
|
availability?: {
|
|
1443
1488
|
state: "available" | "cooldown" | "exhausted";
|
|
1444
1489
|
blocking_constraints: string[];
|
|
@@ -1446,6 +1491,7 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1446
1491
|
model_scoped_exhaustions: {
|
|
1447
1492
|
constraint_id: string;
|
|
1448
1493
|
applies_to_models: string[];
|
|
1494
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1449
1495
|
resets_at: string | null;
|
|
1450
1496
|
}[];
|
|
1451
1497
|
} | undefined;
|
|
@@ -1465,6 +1511,12 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1465
1511
|
refreshed_at: string | null;
|
|
1466
1512
|
refresh_skipped?: {
|
|
1467
1513
|
vendor: string;
|
|
1514
|
+
subject?: {
|
|
1515
|
+
harness: string;
|
|
1516
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
1517
|
+
plan_label: string | null;
|
|
1518
|
+
subject_id: string | null;
|
|
1519
|
+
} | undefined;
|
|
1468
1520
|
not_before: string;
|
|
1469
1521
|
}[] | undefined;
|
|
1470
1522
|
}, {
|
|
@@ -1479,15 +1531,17 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1479
1531
|
id: string;
|
|
1480
1532
|
label: string;
|
|
1481
1533
|
applies_to_models?: string[] | null | undefined;
|
|
1534
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1482
1535
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1483
1536
|
used_ratio: number | null;
|
|
1484
1537
|
window_seconds: number | null;
|
|
1485
1538
|
resets_at: string | null;
|
|
1486
1539
|
cooldown_until?: string | null | undefined;
|
|
1487
1540
|
}[];
|
|
1488
|
-
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout" | "cursor_rate_limit";
|
|
1541
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_rollout" | "cursor_rate_limit";
|
|
1489
1542
|
observed_at: string;
|
|
1490
1543
|
freshness: "fresh" | "stale" | "unknown";
|
|
1544
|
+
snapshot_id?: string | undefined;
|
|
1491
1545
|
availability?: {
|
|
1492
1546
|
state: "available" | "cooldown" | "exhausted";
|
|
1493
1547
|
blocking_constraints: string[];
|
|
@@ -1495,6 +1549,7 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1495
1549
|
model_scoped_exhaustions: {
|
|
1496
1550
|
constraint_id: string;
|
|
1497
1551
|
applies_to_models: string[];
|
|
1552
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1498
1553
|
resets_at: string | null;
|
|
1499
1554
|
}[];
|
|
1500
1555
|
} | undefined;
|
|
@@ -1514,6 +1569,12 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1514
1569
|
refreshed_at: string | null;
|
|
1515
1570
|
refresh_skipped?: {
|
|
1516
1571
|
vendor: string;
|
|
1572
|
+
subject?: {
|
|
1573
|
+
harness: string;
|
|
1574
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
1575
|
+
plan_label?: string | null | undefined;
|
|
1576
|
+
subject_id?: string | null | undefined;
|
|
1577
|
+
} | undefined;
|
|
1517
1578
|
not_before: string;
|
|
1518
1579
|
}[] | undefined;
|
|
1519
1580
|
}>;
|
|
@@ -1725,15 +1786,17 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1725
1786
|
id: string;
|
|
1726
1787
|
label: string;
|
|
1727
1788
|
applies_to_models?: string[] | null | undefined;
|
|
1789
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1728
1790
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1729
1791
|
used_ratio: number | null;
|
|
1730
1792
|
window_seconds: number | null;
|
|
1731
1793
|
resets_at: string | null;
|
|
1732
1794
|
cooldown_until: string | null;
|
|
1733
1795
|
}[];
|
|
1734
|
-
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout" | "cursor_rate_limit";
|
|
1796
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_rollout" | "cursor_rate_limit";
|
|
1735
1797
|
observed_at: string;
|
|
1736
1798
|
freshness: "fresh" | "stale" | "unknown";
|
|
1799
|
+
snapshot_id?: string | undefined;
|
|
1737
1800
|
availability?: {
|
|
1738
1801
|
state: "available" | "cooldown" | "exhausted";
|
|
1739
1802
|
blocking_constraints: string[];
|
|
@@ -1741,6 +1804,7 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1741
1804
|
model_scoped_exhaustions: {
|
|
1742
1805
|
constraint_id: string;
|
|
1743
1806
|
applies_to_models: string[];
|
|
1807
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1744
1808
|
resets_at: string | null;
|
|
1745
1809
|
}[];
|
|
1746
1810
|
} | undefined;
|
|
@@ -1760,6 +1824,12 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1760
1824
|
refreshed_at: string | null;
|
|
1761
1825
|
refresh_skipped?: {
|
|
1762
1826
|
vendor: string;
|
|
1827
|
+
subject?: {
|
|
1828
|
+
harness: string;
|
|
1829
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
1830
|
+
plan_label: string | null;
|
|
1831
|
+
subject_id: string | null;
|
|
1832
|
+
} | undefined;
|
|
1763
1833
|
not_before: string;
|
|
1764
1834
|
}[] | undefined;
|
|
1765
1835
|
};
|
|
@@ -1971,15 +2041,17 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1971
2041
|
id: string;
|
|
1972
2042
|
label: string;
|
|
1973
2043
|
applies_to_models?: string[] | null | undefined;
|
|
2044
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1974
2045
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1975
2046
|
used_ratio: number | null;
|
|
1976
2047
|
window_seconds: number | null;
|
|
1977
2048
|
resets_at: string | null;
|
|
1978
2049
|
cooldown_until?: string | null | undefined;
|
|
1979
2050
|
}[];
|
|
1980
|
-
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout" | "cursor_rate_limit";
|
|
2051
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_rollout" | "cursor_rate_limit";
|
|
1981
2052
|
observed_at: string;
|
|
1982
2053
|
freshness: "fresh" | "stale" | "unknown";
|
|
2054
|
+
snapshot_id?: string | undefined;
|
|
1983
2055
|
availability?: {
|
|
1984
2056
|
state: "available" | "cooldown" | "exhausted";
|
|
1985
2057
|
blocking_constraints: string[];
|
|
@@ -1987,6 +2059,7 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1987
2059
|
model_scoped_exhaustions: {
|
|
1988
2060
|
constraint_id: string;
|
|
1989
2061
|
applies_to_models: string[];
|
|
2062
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
1990
2063
|
resets_at: string | null;
|
|
1991
2064
|
}[];
|
|
1992
2065
|
} | undefined;
|
|
@@ -2006,6 +2079,12 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
2006
2079
|
refreshed_at: string | null;
|
|
2007
2080
|
refresh_skipped?: {
|
|
2008
2081
|
vendor: string;
|
|
2082
|
+
subject?: {
|
|
2083
|
+
harness: string;
|
|
2084
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
2085
|
+
plan_label?: string | null | undefined;
|
|
2086
|
+
subject_id?: string | null | undefined;
|
|
2087
|
+
} | undefined;
|
|
2009
2088
|
not_before: string;
|
|
2010
2089
|
}[] | undefined;
|
|
2011
2090
|
};
|
|
@@ -3648,6 +3727,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3648
3727
|
id: z.ZodString;
|
|
3649
3728
|
label: z.ZodString;
|
|
3650
3729
|
applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
3730
|
+
applies_to_model_prefixes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3651
3731
|
applies_to_unspecified_model: z.ZodOptional<z.ZodBoolean>;
|
|
3652
3732
|
used_ratio: z.ZodNullable<z.ZodNumber>;
|
|
3653
3733
|
window_seconds: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3657,6 +3737,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3657
3737
|
id: string;
|
|
3658
3738
|
label: string;
|
|
3659
3739
|
applies_to_models?: string[] | null | undefined;
|
|
3740
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3660
3741
|
applies_to_unspecified_model?: boolean | undefined;
|
|
3661
3742
|
used_ratio: number | null;
|
|
3662
3743
|
window_seconds: number | null;
|
|
@@ -3666,16 +3747,18 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3666
3747
|
id: string;
|
|
3667
3748
|
label: string;
|
|
3668
3749
|
applies_to_models?: string[] | null | undefined;
|
|
3750
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3669
3751
|
applies_to_unspecified_model?: boolean | undefined;
|
|
3670
3752
|
used_ratio: number | null;
|
|
3671
3753
|
window_seconds: number | null;
|
|
3672
3754
|
resets_at: string | null;
|
|
3673
3755
|
cooldown_until?: string | null | undefined;
|
|
3674
3756
|
}>, "many">;
|
|
3675
|
-
source: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage", "agy_command_usage", "cursor_rate_limit"]>;
|
|
3757
|
+
source: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage", "agy_command_usage", "cursor_rate_limit", "claude_rate_limit_event", "codex_app_server_event"]>;
|
|
3676
3758
|
observed_at: z.ZodString;
|
|
3677
3759
|
freshness: z.ZodEnum<["fresh", "stale", "unknown"]>;
|
|
3678
3760
|
} & {
|
|
3761
|
+
snapshot_id: z.ZodOptional<z.ZodString>;
|
|
3679
3762
|
availability: z.ZodOptional<z.ZodObject<{
|
|
3680
3763
|
state: z.ZodEnum<["available", "exhausted", "cooldown"]>;
|
|
3681
3764
|
blocking_constraints: z.ZodArray<z.ZodString, "many">;
|
|
@@ -3683,14 +3766,17 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3683
3766
|
model_scoped_exhaustions: z.ZodArray<z.ZodObject<{
|
|
3684
3767
|
constraint_id: z.ZodString;
|
|
3685
3768
|
applies_to_models: z.ZodArray<z.ZodString, "many">;
|
|
3769
|
+
applies_to_model_prefixes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3686
3770
|
resets_at: z.ZodNullable<z.ZodString>;
|
|
3687
3771
|
}, "strict", z.ZodTypeAny, {
|
|
3688
3772
|
constraint_id: string;
|
|
3689
3773
|
applies_to_models: string[];
|
|
3774
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3690
3775
|
resets_at: string | null;
|
|
3691
3776
|
}, {
|
|
3692
3777
|
constraint_id: string;
|
|
3693
3778
|
applies_to_models: string[];
|
|
3779
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3694
3780
|
resets_at: string | null;
|
|
3695
3781
|
}>, "many">;
|
|
3696
3782
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -3700,6 +3786,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3700
3786
|
model_scoped_exhaustions: {
|
|
3701
3787
|
constraint_id: string;
|
|
3702
3788
|
applies_to_models: string[];
|
|
3789
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3703
3790
|
resets_at: string | null;
|
|
3704
3791
|
}[];
|
|
3705
3792
|
}, {
|
|
@@ -3709,6 +3796,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3709
3796
|
model_scoped_exhaustions: {
|
|
3710
3797
|
constraint_id: string;
|
|
3711
3798
|
applies_to_models: string[];
|
|
3799
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3712
3800
|
resets_at: string | null;
|
|
3713
3801
|
}[];
|
|
3714
3802
|
}>>;
|
|
@@ -3723,15 +3811,17 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3723
3811
|
id: string;
|
|
3724
3812
|
label: string;
|
|
3725
3813
|
applies_to_models?: string[] | null | undefined;
|
|
3814
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3726
3815
|
applies_to_unspecified_model?: boolean | undefined;
|
|
3727
3816
|
used_ratio: number | null;
|
|
3728
3817
|
window_seconds: number | null;
|
|
3729
3818
|
resets_at: string | null;
|
|
3730
3819
|
cooldown_until: string | null;
|
|
3731
3820
|
}[];
|
|
3732
|
-
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout" | "cursor_rate_limit";
|
|
3821
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_rollout" | "cursor_rate_limit";
|
|
3733
3822
|
observed_at: string;
|
|
3734
3823
|
freshness: "fresh" | "stale" | "unknown";
|
|
3824
|
+
snapshot_id?: string | undefined;
|
|
3735
3825
|
availability?: {
|
|
3736
3826
|
state: "available" | "cooldown" | "exhausted";
|
|
3737
3827
|
blocking_constraints: string[];
|
|
@@ -3739,6 +3829,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3739
3829
|
model_scoped_exhaustions: {
|
|
3740
3830
|
constraint_id: string;
|
|
3741
3831
|
applies_to_models: string[];
|
|
3832
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3742
3833
|
resets_at: string | null;
|
|
3743
3834
|
}[];
|
|
3744
3835
|
} | undefined;
|
|
@@ -3753,15 +3844,17 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3753
3844
|
id: string;
|
|
3754
3845
|
label: string;
|
|
3755
3846
|
applies_to_models?: string[] | null | undefined;
|
|
3847
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3756
3848
|
applies_to_unspecified_model?: boolean | undefined;
|
|
3757
3849
|
used_ratio: number | null;
|
|
3758
3850
|
window_seconds: number | null;
|
|
3759
3851
|
resets_at: string | null;
|
|
3760
3852
|
cooldown_until?: string | null | undefined;
|
|
3761
3853
|
}[];
|
|
3762
|
-
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout" | "cursor_rate_limit";
|
|
3854
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_rollout" | "cursor_rate_limit";
|
|
3763
3855
|
observed_at: string;
|
|
3764
3856
|
freshness: "fresh" | "stale" | "unknown";
|
|
3857
|
+
snapshot_id?: string | undefined;
|
|
3765
3858
|
availability?: {
|
|
3766
3859
|
state: "available" | "cooldown" | "exhausted";
|
|
3767
3860
|
blocking_constraints: string[];
|
|
@@ -3769,6 +3862,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3769
3862
|
model_scoped_exhaustions: {
|
|
3770
3863
|
constraint_id: string;
|
|
3771
3864
|
applies_to_models: string[];
|
|
3865
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3772
3866
|
resets_at: string | null;
|
|
3773
3867
|
}[];
|
|
3774
3868
|
} | undefined;
|
|
@@ -3820,12 +3914,40 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3820
3914
|
refreshed_at: z.ZodNullable<z.ZodString>;
|
|
3821
3915
|
refresh_skipped: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3822
3916
|
vendor: z.ZodString;
|
|
3917
|
+
subject: z.ZodOptional<z.ZodObject<{
|
|
3918
|
+
harness: z.ZodString;
|
|
3919
|
+
credential_route: z.ZodEnum<["vendor_native", "managed_api_key", "local"]>;
|
|
3920
|
+
plan_label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3921
|
+
subject_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3922
|
+
}, "strict", z.ZodTypeAny, {
|
|
3923
|
+
harness: string;
|
|
3924
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
3925
|
+
plan_label: string | null;
|
|
3926
|
+
subject_id: string | null;
|
|
3927
|
+
}, {
|
|
3928
|
+
harness: string;
|
|
3929
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
3930
|
+
plan_label?: string | null | undefined;
|
|
3931
|
+
subject_id?: string | null | undefined;
|
|
3932
|
+
}>>;
|
|
3823
3933
|
not_before: z.ZodString;
|
|
3824
3934
|
}, "strict", z.ZodTypeAny, {
|
|
3825
3935
|
vendor: string;
|
|
3936
|
+
subject?: {
|
|
3937
|
+
harness: string;
|
|
3938
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
3939
|
+
plan_label: string | null;
|
|
3940
|
+
subject_id: string | null;
|
|
3941
|
+
} | undefined;
|
|
3826
3942
|
not_before: string;
|
|
3827
3943
|
}, {
|
|
3828
3944
|
vendor: string;
|
|
3945
|
+
subject?: {
|
|
3946
|
+
harness: string;
|
|
3947
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
3948
|
+
plan_label?: string | null | undefined;
|
|
3949
|
+
subject_id?: string | null | undefined;
|
|
3950
|
+
} | undefined;
|
|
3829
3951
|
not_before: string;
|
|
3830
3952
|
}>, "many">>;
|
|
3831
3953
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -3840,15 +3962,17 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3840
3962
|
id: string;
|
|
3841
3963
|
label: string;
|
|
3842
3964
|
applies_to_models?: string[] | null | undefined;
|
|
3965
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3843
3966
|
applies_to_unspecified_model?: boolean | undefined;
|
|
3844
3967
|
used_ratio: number | null;
|
|
3845
3968
|
window_seconds: number | null;
|
|
3846
3969
|
resets_at: string | null;
|
|
3847
3970
|
cooldown_until: string | null;
|
|
3848
3971
|
}[];
|
|
3849
|
-
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout" | "cursor_rate_limit";
|
|
3972
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_rollout" | "cursor_rate_limit";
|
|
3850
3973
|
observed_at: string;
|
|
3851
3974
|
freshness: "fresh" | "stale" | "unknown";
|
|
3975
|
+
snapshot_id?: string | undefined;
|
|
3852
3976
|
availability?: {
|
|
3853
3977
|
state: "available" | "cooldown" | "exhausted";
|
|
3854
3978
|
blocking_constraints: string[];
|
|
@@ -3856,6 +3980,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3856
3980
|
model_scoped_exhaustions: {
|
|
3857
3981
|
constraint_id: string;
|
|
3858
3982
|
applies_to_models: string[];
|
|
3983
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3859
3984
|
resets_at: string | null;
|
|
3860
3985
|
}[];
|
|
3861
3986
|
} | undefined;
|
|
@@ -3875,6 +4000,12 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3875
4000
|
refreshed_at: string | null;
|
|
3876
4001
|
refresh_skipped?: {
|
|
3877
4002
|
vendor: string;
|
|
4003
|
+
subject?: {
|
|
4004
|
+
harness: string;
|
|
4005
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
4006
|
+
plan_label: string | null;
|
|
4007
|
+
subject_id: string | null;
|
|
4008
|
+
} | undefined;
|
|
3878
4009
|
not_before: string;
|
|
3879
4010
|
}[] | undefined;
|
|
3880
4011
|
}, {
|
|
@@ -3889,15 +4020,17 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3889
4020
|
id: string;
|
|
3890
4021
|
label: string;
|
|
3891
4022
|
applies_to_models?: string[] | null | undefined;
|
|
4023
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3892
4024
|
applies_to_unspecified_model?: boolean | undefined;
|
|
3893
4025
|
used_ratio: number | null;
|
|
3894
4026
|
window_seconds: number | null;
|
|
3895
4027
|
resets_at: string | null;
|
|
3896
4028
|
cooldown_until?: string | null | undefined;
|
|
3897
4029
|
}[];
|
|
3898
|
-
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout" | "cursor_rate_limit";
|
|
4030
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_rollout" | "cursor_rate_limit";
|
|
3899
4031
|
observed_at: string;
|
|
3900
4032
|
freshness: "fresh" | "stale" | "unknown";
|
|
4033
|
+
snapshot_id?: string | undefined;
|
|
3901
4034
|
availability?: {
|
|
3902
4035
|
state: "available" | "cooldown" | "exhausted";
|
|
3903
4036
|
blocking_constraints: string[];
|
|
@@ -3905,6 +4038,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3905
4038
|
model_scoped_exhaustions: {
|
|
3906
4039
|
constraint_id: string;
|
|
3907
4040
|
applies_to_models: string[];
|
|
4041
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
3908
4042
|
resets_at: string | null;
|
|
3909
4043
|
}[];
|
|
3910
4044
|
} | undefined;
|
|
@@ -3924,6 +4058,12 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
3924
4058
|
refreshed_at: string | null;
|
|
3925
4059
|
refresh_skipped?: {
|
|
3926
4060
|
vendor: string;
|
|
4061
|
+
subject?: {
|
|
4062
|
+
harness: string;
|
|
4063
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
4064
|
+
plan_label?: string | null | undefined;
|
|
4065
|
+
subject_id?: string | null | undefined;
|
|
4066
|
+
} | undefined;
|
|
3927
4067
|
not_before: string;
|
|
3928
4068
|
}[] | undefined;
|
|
3929
4069
|
}>;
|
|
@@ -4135,15 +4275,17 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
4135
4275
|
id: string;
|
|
4136
4276
|
label: string;
|
|
4137
4277
|
applies_to_models?: string[] | null | undefined;
|
|
4278
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
4138
4279
|
applies_to_unspecified_model?: boolean | undefined;
|
|
4139
4280
|
used_ratio: number | null;
|
|
4140
4281
|
window_seconds: number | null;
|
|
4141
4282
|
resets_at: string | null;
|
|
4142
4283
|
cooldown_until: string | null;
|
|
4143
4284
|
}[];
|
|
4144
|
-
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout" | "cursor_rate_limit";
|
|
4285
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_rollout" | "cursor_rate_limit";
|
|
4145
4286
|
observed_at: string;
|
|
4146
4287
|
freshness: "fresh" | "stale" | "unknown";
|
|
4288
|
+
snapshot_id?: string | undefined;
|
|
4147
4289
|
availability?: {
|
|
4148
4290
|
state: "available" | "cooldown" | "exhausted";
|
|
4149
4291
|
blocking_constraints: string[];
|
|
@@ -4151,6 +4293,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
4151
4293
|
model_scoped_exhaustions: {
|
|
4152
4294
|
constraint_id: string;
|
|
4153
4295
|
applies_to_models: string[];
|
|
4296
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
4154
4297
|
resets_at: string | null;
|
|
4155
4298
|
}[];
|
|
4156
4299
|
} | undefined;
|
|
@@ -4170,6 +4313,12 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
4170
4313
|
refreshed_at: string | null;
|
|
4171
4314
|
refresh_skipped?: {
|
|
4172
4315
|
vendor: string;
|
|
4316
|
+
subject?: {
|
|
4317
|
+
harness: string;
|
|
4318
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
4319
|
+
plan_label: string | null;
|
|
4320
|
+
subject_id: string | null;
|
|
4321
|
+
} | undefined;
|
|
4173
4322
|
not_before: string;
|
|
4174
4323
|
}[] | undefined;
|
|
4175
4324
|
};
|
|
@@ -4381,15 +4530,17 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
4381
4530
|
id: string;
|
|
4382
4531
|
label: string;
|
|
4383
4532
|
applies_to_models?: string[] | null | undefined;
|
|
4533
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
4384
4534
|
applies_to_unspecified_model?: boolean | undefined;
|
|
4385
4535
|
used_ratio: number | null;
|
|
4386
4536
|
window_seconds: number | null;
|
|
4387
4537
|
resets_at: string | null;
|
|
4388
4538
|
cooldown_until?: string | null | undefined;
|
|
4389
4539
|
}[];
|
|
4390
|
-
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout" | "cursor_rate_limit";
|
|
4540
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_rollout" | "cursor_rate_limit";
|
|
4391
4541
|
observed_at: string;
|
|
4392
4542
|
freshness: "fresh" | "stale" | "unknown";
|
|
4543
|
+
snapshot_id?: string | undefined;
|
|
4393
4544
|
availability?: {
|
|
4394
4545
|
state: "available" | "cooldown" | "exhausted";
|
|
4395
4546
|
blocking_constraints: string[];
|
|
@@ -4397,6 +4548,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
4397
4548
|
model_scoped_exhaustions: {
|
|
4398
4549
|
constraint_id: string;
|
|
4399
4550
|
applies_to_models: string[];
|
|
4551
|
+
applies_to_model_prefixes?: string[] | undefined;
|
|
4400
4552
|
resets_at: string | null;
|
|
4401
4553
|
}[];
|
|
4402
4554
|
} | undefined;
|
|
@@ -4416,6 +4568,12 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
4416
4568
|
refreshed_at: string | null;
|
|
4417
4569
|
refresh_skipped?: {
|
|
4418
4570
|
vendor: string;
|
|
4571
|
+
subject?: {
|
|
4572
|
+
harness: string;
|
|
4573
|
+
credential_route: "local" | "managed_api_key" | "vendor_native";
|
|
4574
|
+
plan_label?: string | null | undefined;
|
|
4575
|
+
subject_id?: string | null | undefined;
|
|
4576
|
+
} | undefined;
|
|
4419
4577
|
not_before: string;
|
|
4420
4578
|
}[] | undefined;
|
|
4421
4579
|
};
|