@claudexor/schema 4.0.1 → 4.1.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/account-resources.d.ts +64 -27
- package/dist/account-resources.d.ts.map +1 -1
- package/dist/account-target.d.ts +3 -0
- package/dist/account-target.d.ts.map +1 -1
- package/dist/account-target.js +2 -0
- package/dist/account-target.js.map +1 -1
- package/dist/attachment.js +1 -1
- package/dist/attachment.js.map +1 -1
- package/dist/budget.d.ts +3 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +2 -0
- package/dist/budget.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +64 -28
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/harness-quota.d.ts +8 -3
- package/dist/harness-quota.d.ts.map +1 -1
- package/dist/harness.d.ts +17 -5
- package/dist/harness.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/model-image.d.ts +416 -0
- package/dist/model-image.d.ts.map +1 -0
- package/dist/model-image.js +77 -0
- package/dist/model-image.js.map +1 -0
- package/dist/model-operation.d.ts +143 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +22 -0
- package/dist/model-operation.js.map +1 -1
- package/dist/quota-availability.d.ts +33 -0
- package/dist/quota-availability.d.ts.map +1 -0
- package/dist/quota-availability.js +130 -0
- package/dist/quota-availability.js.map +1 -0
- package/dist/quota-read.d.ts +38 -9
- package/dist/quota-read.d.ts.map +1 -1
- package/dist/quota-read.js +5 -3
- package/dist/quota-read.js.map +1 -1
- package/dist/quota-request-kind.d.ts +9 -0
- package/dist/quota-request-kind.d.ts.map +1 -0
- package/dist/quota-request-kind.js +8 -0
- package/dist/quota-request-kind.js.map +1 -0
- package/dist/quota.d.ts +60 -49
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +17 -126
- package/dist/quota.js.map +1 -1
- package/dist/rate-limit.d.ts +3 -0
- package/dist/rate-limit.d.ts.map +1 -1
- package/dist/rate-limit.js +2 -0
- package/dist/rate-limit.js.map +1 -1
- package/generated/BudgetObservation.schema.json +11 -0
- package/generated/ControlAccountResetResponse.schema.json +14 -1
- package/generated/ControlAccountResourcesResponse.schema.json +14 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +14 -1
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +14 -1
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +14 -1
- package/generated/ControlModelSourcesAccountsResponse.schema.json +62 -0
- package/generated/ControlModelSourcesQueryResponse.schema.json +62 -0
- package/generated/ControlQuotaFreshnessResponse.schema.json +14 -1
- package/generated/ControlQuotaQueryResponse.schema.json +17 -1
- package/generated/ControlQuotaReadRequest.schema.json +15 -1
- package/generated/ControlQuotaRefreshRequest.schema.json +8 -0
- package/generated/ControlQuotaResponse.schema.json +14 -1
- package/generated/ControlUploadCreateRequest.schema.json +1 -1
- package/generated/HarnessEvent.schema.json +21 -1
- package/generated/ImageCallRequest.schema.json +145 -0
- package/generated/ImageCallResult.schema.json +415 -0
- package/package.json +2 -2
package/dist/budget.d.ts
CHANGED
|
@@ -317,6 +317,7 @@ export declare const BudgetObservation: z.ZodObject<{
|
|
|
317
317
|
kind: z.ZodEnum<["spend", "rate_limited", "quota_constraint", "cooldown"]>;
|
|
318
318
|
usd: z.ZodOptional<z.ZodNumber>;
|
|
319
319
|
constraint_id: z.ZodOptional<z.ZodString>;
|
|
320
|
+
applies_to_request_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<["text", "image"]>, "many">>;
|
|
320
321
|
applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
321
322
|
applies_to_unspecified_model: z.ZodOptional<z.ZodBoolean>;
|
|
322
323
|
used_ratio: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -333,6 +334,7 @@ export declare const BudgetObservation: z.ZodObject<{
|
|
|
333
334
|
kind: "cooldown" | "quota_constraint" | "rate_limited" | "spend";
|
|
334
335
|
usd?: number | undefined;
|
|
335
336
|
constraint_id?: string | undefined;
|
|
337
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
336
338
|
applies_to_models?: string[] | null | undefined;
|
|
337
339
|
applies_to_unspecified_model?: boolean | undefined;
|
|
338
340
|
used_ratio?: number | null | undefined;
|
|
@@ -349,6 +351,7 @@ export declare const BudgetObservation: z.ZodObject<{
|
|
|
349
351
|
kind: "cooldown" | "quota_constraint" | "rate_limited" | "spend";
|
|
350
352
|
usd?: number | undefined;
|
|
351
353
|
constraint_id?: string | undefined;
|
|
354
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
352
355
|
applies_to_models?: string[] | null | undefined;
|
|
353
356
|
applies_to_unspecified_model?: boolean | undefined;
|
|
354
357
|
used_ratio?: number | null | undefined;
|
package/dist/budget.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"budget.d.ts","sourceRoot":"","sources":["../src/budget.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"budget.d.ts","sourceRoot":"","sources":["../src/budget.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAM3B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;IAKuE,CAAC;AAC/F,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU8D,CAAC;AACxF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;EAW1B,CAAC;AACJ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,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AAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,uFAAuF;AACvF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBrB,CAAC;AACJ,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,mFAAmF;AACnF,eAAO,MAAM,iBAAiB;;IAG1B;wCACoC;;IAKpC;;;mCAG+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6ChC,CAAC;AACJ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
package/dist/budget.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { QuotaRequestKind } from "./quota.js";
|
|
1
2
|
import { z } from "zod/v3";
|
|
2
3
|
import { BillingKnowledge, CostKnowledge } from "./auth.js";
|
|
3
4
|
import { Id, Intent } from "./primitives.js";
|
|
@@ -154,6 +155,7 @@ export const BudgetObservation = z
|
|
|
154
155
|
.describe("What was observed: spend, a rate-limit hit, one independent quota constraint, or a cooldown."),
|
|
155
156
|
usd: z.number().optional().describe("Observed spend in USD, for spend observations."),
|
|
156
157
|
constraint_id: z.string().optional(),
|
|
158
|
+
applies_to_request_kinds: z.array(QuotaRequestKind).min(1).optional(),
|
|
157
159
|
applies_to_models: z
|
|
158
160
|
.array(Id)
|
|
159
161
|
.nullable()
|
package/dist/budget.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"budget.js","sourceRoot":"","sources":["../src/budget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAA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A4B,EAAE,CAAC;SAC5B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,uJAAuJ,CACxJ;IACH,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC1D,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3D,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,6CAA6C,CAAC;IAC1D,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;CAC1E,CAAC;KACD,QAAQ,CACP,4GAA4G,CAC7G,CAAC"}
|
|
@@ -1240,6 +1240,7 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1240
1240
|
applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1241
1241
|
applies_to_model_prefixes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1242
1242
|
applies_to_unspecified_model: z.ZodOptional<z.ZodBoolean>;
|
|
1243
|
+
applies_to_request_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<["text", "image"]>, "many">>;
|
|
1243
1244
|
used_ratio: z.ZodNullable<z.ZodNumber>;
|
|
1244
1245
|
window_seconds: z.ZodNullable<z.ZodNumber>;
|
|
1245
1246
|
resets_at: z.ZodNullable<z.ZodString>;
|
|
@@ -1250,6 +1251,7 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1250
1251
|
applies_to_models?: string[] | null | undefined;
|
|
1251
1252
|
applies_to_model_prefixes?: string[] | undefined;
|
|
1252
1253
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1254
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
1253
1255
|
used_ratio: number | null;
|
|
1254
1256
|
window_seconds: number | null;
|
|
1255
1257
|
resets_at: string | null;
|
|
@@ -1260,12 +1262,13 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1260
1262
|
applies_to_models?: string[] | null | undefined;
|
|
1261
1263
|
applies_to_model_prefixes?: string[] | undefined;
|
|
1262
1264
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1265
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
1263
1266
|
used_ratio: number | null;
|
|
1264
1267
|
window_seconds: number | null;
|
|
1265
1268
|
resets_at: string | null;
|
|
1266
1269
|
cooldown_until?: string | null | undefined;
|
|
1267
1270
|
}>, "many">;
|
|
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"]>;
|
|
1271
|
+
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", "codex_image_response"]>;
|
|
1269
1272
|
observed_at: z.ZodString;
|
|
1270
1273
|
freshness: z.ZodEnum<["fresh", "stale", "unknown"]>;
|
|
1271
1274
|
} & {
|
|
@@ -1324,12 +1327,13 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1324
1327
|
applies_to_models?: string[] | null | undefined;
|
|
1325
1328
|
applies_to_model_prefixes?: string[] | undefined;
|
|
1326
1329
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1330
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
1327
1331
|
used_ratio: number | null;
|
|
1328
1332
|
window_seconds: number | null;
|
|
1329
1333
|
resets_at: string | null;
|
|
1330
1334
|
cooldown_until: string | null;
|
|
1331
1335
|
}[];
|
|
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";
|
|
1336
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
1333
1337
|
observed_at: string;
|
|
1334
1338
|
freshness: "fresh" | "stale" | "unknown";
|
|
1335
1339
|
snapshot_id?: string | undefined;
|
|
@@ -1357,12 +1361,13 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1357
1361
|
applies_to_models?: string[] | null | undefined;
|
|
1358
1362
|
applies_to_model_prefixes?: string[] | undefined;
|
|
1359
1363
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1364
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
1360
1365
|
used_ratio: number | null;
|
|
1361
1366
|
window_seconds: number | null;
|
|
1362
1367
|
resets_at: string | null;
|
|
1363
1368
|
cooldown_until?: string | null | undefined;
|
|
1364
1369
|
}[];
|
|
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";
|
|
1370
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
1366
1371
|
observed_at: string;
|
|
1367
1372
|
freshness: "fresh" | "stale" | "unknown";
|
|
1368
1373
|
snapshot_id?: string | undefined;
|
|
@@ -1475,12 +1480,13 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1475
1480
|
applies_to_models?: string[] | null | undefined;
|
|
1476
1481
|
applies_to_model_prefixes?: string[] | undefined;
|
|
1477
1482
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1483
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
1478
1484
|
used_ratio: number | null;
|
|
1479
1485
|
window_seconds: number | null;
|
|
1480
1486
|
resets_at: string | null;
|
|
1481
1487
|
cooldown_until: string | null;
|
|
1482
1488
|
}[];
|
|
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";
|
|
1489
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
1484
1490
|
observed_at: string;
|
|
1485
1491
|
freshness: "fresh" | "stale" | "unknown";
|
|
1486
1492
|
snapshot_id?: string | undefined;
|
|
@@ -1533,12 +1539,13 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1533
1539
|
applies_to_models?: string[] | null | undefined;
|
|
1534
1540
|
applies_to_model_prefixes?: string[] | undefined;
|
|
1535
1541
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1542
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
1536
1543
|
used_ratio: number | null;
|
|
1537
1544
|
window_seconds: number | null;
|
|
1538
1545
|
resets_at: string | null;
|
|
1539
1546
|
cooldown_until?: string | null | undefined;
|
|
1540
1547
|
}[];
|
|
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";
|
|
1548
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
1542
1549
|
observed_at: string;
|
|
1543
1550
|
freshness: "fresh" | "stale" | "unknown";
|
|
1544
1551
|
snapshot_id?: string | undefined;
|
|
@@ -1788,12 +1795,13 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
1788
1795
|
applies_to_models?: string[] | null | undefined;
|
|
1789
1796
|
applies_to_model_prefixes?: string[] | undefined;
|
|
1790
1797
|
applies_to_unspecified_model?: boolean | undefined;
|
|
1798
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
1791
1799
|
used_ratio: number | null;
|
|
1792
1800
|
window_seconds: number | null;
|
|
1793
1801
|
resets_at: string | null;
|
|
1794
1802
|
cooldown_until: string | null;
|
|
1795
1803
|
}[];
|
|
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";
|
|
1804
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
1797
1805
|
observed_at: string;
|
|
1798
1806
|
freshness: "fresh" | "stale" | "unknown";
|
|
1799
1807
|
snapshot_id?: string | undefined;
|
|
@@ -2043,12 +2051,13 @@ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
|
|
|
2043
2051
|
applies_to_models?: string[] | null | undefined;
|
|
2044
2052
|
applies_to_model_prefixes?: string[] | undefined;
|
|
2045
2053
|
applies_to_unspecified_model?: boolean | undefined;
|
|
2054
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
2046
2055
|
used_ratio: number | null;
|
|
2047
2056
|
window_seconds: number | null;
|
|
2048
2057
|
resets_at: string | null;
|
|
2049
2058
|
cooldown_until?: string | null | undefined;
|
|
2050
2059
|
}[];
|
|
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";
|
|
2060
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
2052
2061
|
observed_at: string;
|
|
2053
2062
|
freshness: "fresh" | "stale" | "unknown";
|
|
2054
2063
|
snapshot_id?: string | undefined;
|
|
@@ -3331,6 +3340,7 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
|
|
|
3331
3340
|
applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
3332
3341
|
applies_to_model_prefixes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3333
3342
|
applies_to_unspecified_model: z.ZodOptional<z.ZodBoolean>;
|
|
3343
|
+
applies_to_request_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<["text", "image"]>, "many">>;
|
|
3334
3344
|
used_ratio: z.ZodNullable<z.ZodNumber>;
|
|
3335
3345
|
window_seconds: z.ZodNullable<z.ZodNumber>;
|
|
3336
3346
|
resets_at: z.ZodNullable<z.ZodString>;
|
|
@@ -3341,6 +3351,7 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
|
|
|
3341
3351
|
applies_to_models?: string[] | null | undefined;
|
|
3342
3352
|
applies_to_model_prefixes?: string[] | undefined;
|
|
3343
3353
|
applies_to_unspecified_model?: boolean | undefined;
|
|
3354
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
3344
3355
|
used_ratio: number | null;
|
|
3345
3356
|
window_seconds: number | null;
|
|
3346
3357
|
resets_at: string | null;
|
|
@@ -3351,12 +3362,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
|
|
|
3351
3362
|
applies_to_models?: string[] | null | undefined;
|
|
3352
3363
|
applies_to_model_prefixes?: string[] | undefined;
|
|
3353
3364
|
applies_to_unspecified_model?: boolean | undefined;
|
|
3365
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
3354
3366
|
used_ratio: number | null;
|
|
3355
3367
|
window_seconds: number | null;
|
|
3356
3368
|
resets_at: string | null;
|
|
3357
3369
|
cooldown_until?: string | null | undefined;
|
|
3358
3370
|
}>, "many">;
|
|
3359
|
-
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"]>;
|
|
3371
|
+
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", "codex_image_response"]>;
|
|
3360
3372
|
observed_at: z.ZodString;
|
|
3361
3373
|
freshness: z.ZodEnum<["fresh", "stale", "unknown"]>;
|
|
3362
3374
|
} & {
|
|
@@ -3415,12 +3427,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
|
|
|
3415
3427
|
applies_to_models?: string[] | null | undefined;
|
|
3416
3428
|
applies_to_model_prefixes?: string[] | undefined;
|
|
3417
3429
|
applies_to_unspecified_model?: boolean | undefined;
|
|
3430
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
3418
3431
|
used_ratio: number | null;
|
|
3419
3432
|
window_seconds: number | null;
|
|
3420
3433
|
resets_at: string | null;
|
|
3421
3434
|
cooldown_until: string | null;
|
|
3422
3435
|
}[];
|
|
3423
|
-
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";
|
|
3436
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
3424
3437
|
observed_at: string;
|
|
3425
3438
|
freshness: "fresh" | "stale" | "unknown";
|
|
3426
3439
|
snapshot_id?: string | undefined;
|
|
@@ -3448,12 +3461,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
|
|
|
3448
3461
|
applies_to_models?: string[] | null | undefined;
|
|
3449
3462
|
applies_to_model_prefixes?: string[] | undefined;
|
|
3450
3463
|
applies_to_unspecified_model?: boolean | undefined;
|
|
3464
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
3451
3465
|
used_ratio: number | null;
|
|
3452
3466
|
window_seconds: number | null;
|
|
3453
3467
|
resets_at: string | null;
|
|
3454
3468
|
cooldown_until?: string | null | undefined;
|
|
3455
3469
|
}[];
|
|
3456
|
-
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";
|
|
3470
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
3457
3471
|
observed_at: string;
|
|
3458
3472
|
freshness: "fresh" | "stale" | "unknown";
|
|
3459
3473
|
snapshot_id?: string | undefined;
|
|
@@ -4076,12 +4090,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
|
|
|
4076
4090
|
applies_to_models?: string[] | null | undefined;
|
|
4077
4091
|
applies_to_model_prefixes?: string[] | undefined;
|
|
4078
4092
|
applies_to_unspecified_model?: boolean | undefined;
|
|
4093
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
4079
4094
|
used_ratio: number | null;
|
|
4080
4095
|
window_seconds: number | null;
|
|
4081
4096
|
resets_at: string | null;
|
|
4082
4097
|
cooldown_until: string | null;
|
|
4083
4098
|
}[];
|
|
4084
|
-
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";
|
|
4099
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
4085
4100
|
observed_at: string;
|
|
4086
4101
|
freshness: "fresh" | "stale" | "unknown";
|
|
4087
4102
|
snapshot_id?: string | undefined;
|
|
@@ -4217,12 +4232,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
|
|
|
4217
4232
|
applies_to_models?: string[] | null | undefined;
|
|
4218
4233
|
applies_to_model_prefixes?: string[] | undefined;
|
|
4219
4234
|
applies_to_unspecified_model?: boolean | undefined;
|
|
4235
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
4220
4236
|
used_ratio: number | null;
|
|
4221
4237
|
window_seconds: number | null;
|
|
4222
4238
|
resets_at: string | null;
|
|
4223
4239
|
cooldown_until?: string | null | undefined;
|
|
4224
4240
|
}[];
|
|
4225
|
-
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";
|
|
4241
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
4226
4242
|
observed_at: string;
|
|
4227
4243
|
freshness: "fresh" | "stale" | "unknown";
|
|
4228
4244
|
snapshot_id?: string | undefined;
|
|
@@ -4555,12 +4571,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
|
|
|
4555
4571
|
applies_to_models?: string[] | null | undefined;
|
|
4556
4572
|
applies_to_model_prefixes?: string[] | undefined;
|
|
4557
4573
|
applies_to_unspecified_model?: boolean | undefined;
|
|
4574
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
4558
4575
|
used_ratio: number | null;
|
|
4559
4576
|
window_seconds: number | null;
|
|
4560
4577
|
resets_at: string | null;
|
|
4561
4578
|
cooldown_until: string | null;
|
|
4562
4579
|
}[];
|
|
4563
|
-
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";
|
|
4580
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
4564
4581
|
observed_at: string;
|
|
4565
4582
|
freshness: "fresh" | "stale" | "unknown";
|
|
4566
4583
|
snapshot_id?: string | undefined;
|
|
@@ -4893,12 +4910,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
|
|
|
4893
4910
|
applies_to_models?: string[] | null | undefined;
|
|
4894
4911
|
applies_to_model_prefixes?: string[] | undefined;
|
|
4895
4912
|
applies_to_unspecified_model?: boolean | undefined;
|
|
4913
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
4896
4914
|
used_ratio: number | null;
|
|
4897
4915
|
window_seconds: number | null;
|
|
4898
4916
|
resets_at: string | null;
|
|
4899
4917
|
cooldown_until?: string | null | undefined;
|
|
4900
4918
|
}[];
|
|
4901
|
-
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";
|
|
4919
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
4902
4920
|
observed_at: string;
|
|
4903
4921
|
freshness: "fresh" | "stale" | "unknown";
|
|
4904
4922
|
snapshot_id?: string | undefined;
|
|
@@ -6660,6 +6678,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
6660
6678
|
applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
6661
6679
|
applies_to_model_prefixes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6662
6680
|
applies_to_unspecified_model: z.ZodOptional<z.ZodBoolean>;
|
|
6681
|
+
applies_to_request_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<["text", "image"]>, "many">>;
|
|
6663
6682
|
used_ratio: z.ZodNullable<z.ZodNumber>;
|
|
6664
6683
|
window_seconds: z.ZodNullable<z.ZodNumber>;
|
|
6665
6684
|
resets_at: z.ZodNullable<z.ZodString>;
|
|
@@ -6670,6 +6689,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
6670
6689
|
applies_to_models?: string[] | null | undefined;
|
|
6671
6690
|
applies_to_model_prefixes?: string[] | undefined;
|
|
6672
6691
|
applies_to_unspecified_model?: boolean | undefined;
|
|
6692
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
6673
6693
|
used_ratio: number | null;
|
|
6674
6694
|
window_seconds: number | null;
|
|
6675
6695
|
resets_at: string | null;
|
|
@@ -6680,12 +6700,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
6680
6700
|
applies_to_models?: string[] | null | undefined;
|
|
6681
6701
|
applies_to_model_prefixes?: string[] | undefined;
|
|
6682
6702
|
applies_to_unspecified_model?: boolean | undefined;
|
|
6703
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
6683
6704
|
used_ratio: number | null;
|
|
6684
6705
|
window_seconds: number | null;
|
|
6685
6706
|
resets_at: string | null;
|
|
6686
6707
|
cooldown_until?: string | null | undefined;
|
|
6687
6708
|
}>, "many">;
|
|
6688
|
-
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"]>;
|
|
6709
|
+
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", "codex_image_response"]>;
|
|
6689
6710
|
observed_at: z.ZodString;
|
|
6690
6711
|
freshness: z.ZodEnum<["fresh", "stale", "unknown"]>;
|
|
6691
6712
|
} & {
|
|
@@ -6744,12 +6765,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
6744
6765
|
applies_to_models?: string[] | null | undefined;
|
|
6745
6766
|
applies_to_model_prefixes?: string[] | undefined;
|
|
6746
6767
|
applies_to_unspecified_model?: boolean | undefined;
|
|
6768
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
6747
6769
|
used_ratio: number | null;
|
|
6748
6770
|
window_seconds: number | null;
|
|
6749
6771
|
resets_at: string | null;
|
|
6750
6772
|
cooldown_until: string | null;
|
|
6751
6773
|
}[];
|
|
6752
|
-
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";
|
|
6774
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
6753
6775
|
observed_at: string;
|
|
6754
6776
|
freshness: "fresh" | "stale" | "unknown";
|
|
6755
6777
|
snapshot_id?: string | undefined;
|
|
@@ -6777,12 +6799,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
6777
6799
|
applies_to_models?: string[] | null | undefined;
|
|
6778
6800
|
applies_to_model_prefixes?: string[] | undefined;
|
|
6779
6801
|
applies_to_unspecified_model?: boolean | undefined;
|
|
6802
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
6780
6803
|
used_ratio: number | null;
|
|
6781
6804
|
window_seconds: number | null;
|
|
6782
6805
|
resets_at: string | null;
|
|
6783
6806
|
cooldown_until?: string | null | undefined;
|
|
6784
6807
|
}[];
|
|
6785
|
-
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";
|
|
6808
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
6786
6809
|
observed_at: string;
|
|
6787
6810
|
freshness: "fresh" | "stale" | "unknown";
|
|
6788
6811
|
snapshot_id?: string | undefined;
|
|
@@ -6895,12 +6918,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
6895
6918
|
applies_to_models?: string[] | null | undefined;
|
|
6896
6919
|
applies_to_model_prefixes?: string[] | undefined;
|
|
6897
6920
|
applies_to_unspecified_model?: boolean | undefined;
|
|
6921
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
6898
6922
|
used_ratio: number | null;
|
|
6899
6923
|
window_seconds: number | null;
|
|
6900
6924
|
resets_at: string | null;
|
|
6901
6925
|
cooldown_until: string | null;
|
|
6902
6926
|
}[];
|
|
6903
|
-
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";
|
|
6927
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
6904
6928
|
observed_at: string;
|
|
6905
6929
|
freshness: "fresh" | "stale" | "unknown";
|
|
6906
6930
|
snapshot_id?: string | undefined;
|
|
@@ -6953,12 +6977,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
6953
6977
|
applies_to_models?: string[] | null | undefined;
|
|
6954
6978
|
applies_to_model_prefixes?: string[] | undefined;
|
|
6955
6979
|
applies_to_unspecified_model?: boolean | undefined;
|
|
6980
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
6956
6981
|
used_ratio: number | null;
|
|
6957
6982
|
window_seconds: number | null;
|
|
6958
6983
|
resets_at: string | null;
|
|
6959
6984
|
cooldown_until?: string | null | undefined;
|
|
6960
6985
|
}[];
|
|
6961
|
-
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";
|
|
6986
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
6962
6987
|
observed_at: string;
|
|
6963
6988
|
freshness: "fresh" | "stale" | "unknown";
|
|
6964
6989
|
snapshot_id?: string | undefined;
|
|
@@ -7208,12 +7233,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
7208
7233
|
applies_to_models?: string[] | null | undefined;
|
|
7209
7234
|
applies_to_model_prefixes?: string[] | undefined;
|
|
7210
7235
|
applies_to_unspecified_model?: boolean | undefined;
|
|
7236
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
7211
7237
|
used_ratio: number | null;
|
|
7212
7238
|
window_seconds: number | null;
|
|
7213
7239
|
resets_at: string | null;
|
|
7214
7240
|
cooldown_until: string | null;
|
|
7215
7241
|
}[];
|
|
7216
|
-
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";
|
|
7242
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
7217
7243
|
observed_at: string;
|
|
7218
7244
|
freshness: "fresh" | "stale" | "unknown";
|
|
7219
7245
|
snapshot_id?: string | undefined;
|
|
@@ -7463,12 +7489,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
7463
7489
|
applies_to_models?: string[] | null | undefined;
|
|
7464
7490
|
applies_to_model_prefixes?: string[] | undefined;
|
|
7465
7491
|
applies_to_unspecified_model?: boolean | undefined;
|
|
7492
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
7466
7493
|
used_ratio: number | null;
|
|
7467
7494
|
window_seconds: number | null;
|
|
7468
7495
|
resets_at: string | null;
|
|
7469
7496
|
cooldown_until?: string | null | undefined;
|
|
7470
7497
|
}[];
|
|
7471
|
-
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";
|
|
7498
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
7472
7499
|
observed_at: string;
|
|
7473
7500
|
freshness: "fresh" | "stale" | "unknown";
|
|
7474
7501
|
snapshot_id?: string | undefined;
|
|
@@ -8749,6 +8776,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
8749
8776
|
applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
8750
8777
|
applies_to_model_prefixes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8751
8778
|
applies_to_unspecified_model: z.ZodOptional<z.ZodBoolean>;
|
|
8779
|
+
applies_to_request_kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<["text", "image"]>, "many">>;
|
|
8752
8780
|
used_ratio: z.ZodNullable<z.ZodNumber>;
|
|
8753
8781
|
window_seconds: z.ZodNullable<z.ZodNumber>;
|
|
8754
8782
|
resets_at: z.ZodNullable<z.ZodString>;
|
|
@@ -8759,6 +8787,7 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
8759
8787
|
applies_to_models?: string[] | null | undefined;
|
|
8760
8788
|
applies_to_model_prefixes?: string[] | undefined;
|
|
8761
8789
|
applies_to_unspecified_model?: boolean | undefined;
|
|
8790
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
8762
8791
|
used_ratio: number | null;
|
|
8763
8792
|
window_seconds: number | null;
|
|
8764
8793
|
resets_at: string | null;
|
|
@@ -8769,12 +8798,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
8769
8798
|
applies_to_models?: string[] | null | undefined;
|
|
8770
8799
|
applies_to_model_prefixes?: string[] | undefined;
|
|
8771
8800
|
applies_to_unspecified_model?: boolean | undefined;
|
|
8801
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
8772
8802
|
used_ratio: number | null;
|
|
8773
8803
|
window_seconds: number | null;
|
|
8774
8804
|
resets_at: string | null;
|
|
8775
8805
|
cooldown_until?: string | null | undefined;
|
|
8776
8806
|
}>, "many">;
|
|
8777
|
-
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"]>;
|
|
8807
|
+
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", "codex_image_response"]>;
|
|
8778
8808
|
observed_at: z.ZodString;
|
|
8779
8809
|
freshness: z.ZodEnum<["fresh", "stale", "unknown"]>;
|
|
8780
8810
|
} & {
|
|
@@ -8833,12 +8863,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
8833
8863
|
applies_to_models?: string[] | null | undefined;
|
|
8834
8864
|
applies_to_model_prefixes?: string[] | undefined;
|
|
8835
8865
|
applies_to_unspecified_model?: boolean | undefined;
|
|
8866
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
8836
8867
|
used_ratio: number | null;
|
|
8837
8868
|
window_seconds: number | null;
|
|
8838
8869
|
resets_at: string | null;
|
|
8839
8870
|
cooldown_until: string | null;
|
|
8840
8871
|
}[];
|
|
8841
|
-
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";
|
|
8872
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
8842
8873
|
observed_at: string;
|
|
8843
8874
|
freshness: "fresh" | "stale" | "unknown";
|
|
8844
8875
|
snapshot_id?: string | undefined;
|
|
@@ -8866,12 +8897,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
8866
8897
|
applies_to_models?: string[] | null | undefined;
|
|
8867
8898
|
applies_to_model_prefixes?: string[] | undefined;
|
|
8868
8899
|
applies_to_unspecified_model?: boolean | undefined;
|
|
8900
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
8869
8901
|
used_ratio: number | null;
|
|
8870
8902
|
window_seconds: number | null;
|
|
8871
8903
|
resets_at: string | null;
|
|
8872
8904
|
cooldown_until?: string | null | undefined;
|
|
8873
8905
|
}[];
|
|
8874
|
-
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";
|
|
8906
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
8875
8907
|
observed_at: string;
|
|
8876
8908
|
freshness: "fresh" | "stale" | "unknown";
|
|
8877
8909
|
snapshot_id?: string | undefined;
|
|
@@ -9494,12 +9526,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
9494
9526
|
applies_to_models?: string[] | null | undefined;
|
|
9495
9527
|
applies_to_model_prefixes?: string[] | undefined;
|
|
9496
9528
|
applies_to_unspecified_model?: boolean | undefined;
|
|
9529
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
9497
9530
|
used_ratio: number | null;
|
|
9498
9531
|
window_seconds: number | null;
|
|
9499
9532
|
resets_at: string | null;
|
|
9500
9533
|
cooldown_until: string | null;
|
|
9501
9534
|
}[];
|
|
9502
|
-
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";
|
|
9535
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
9503
9536
|
observed_at: string;
|
|
9504
9537
|
freshness: "fresh" | "stale" | "unknown";
|
|
9505
9538
|
snapshot_id?: string | undefined;
|
|
@@ -9635,12 +9668,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
9635
9668
|
applies_to_models?: string[] | null | undefined;
|
|
9636
9669
|
applies_to_model_prefixes?: string[] | undefined;
|
|
9637
9670
|
applies_to_unspecified_model?: boolean | undefined;
|
|
9671
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
9638
9672
|
used_ratio: number | null;
|
|
9639
9673
|
window_seconds: number | null;
|
|
9640
9674
|
resets_at: string | null;
|
|
9641
9675
|
cooldown_until?: string | null | undefined;
|
|
9642
9676
|
}[];
|
|
9643
|
-
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";
|
|
9677
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
9644
9678
|
observed_at: string;
|
|
9645
9679
|
freshness: "fresh" | "stale" | "unknown";
|
|
9646
9680
|
snapshot_id?: string | undefined;
|
|
@@ -9973,12 +10007,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
9973
10007
|
applies_to_models?: string[] | null | undefined;
|
|
9974
10008
|
applies_to_model_prefixes?: string[] | undefined;
|
|
9975
10009
|
applies_to_unspecified_model?: boolean | undefined;
|
|
10010
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
9976
10011
|
used_ratio: number | null;
|
|
9977
10012
|
window_seconds: number | null;
|
|
9978
10013
|
resets_at: string | null;
|
|
9979
10014
|
cooldown_until: string | null;
|
|
9980
10015
|
}[];
|
|
9981
|
-
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";
|
|
10016
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
9982
10017
|
observed_at: string;
|
|
9983
10018
|
freshness: "fresh" | "stale" | "unknown";
|
|
9984
10019
|
snapshot_id?: string | undefined;
|
|
@@ -10311,12 +10346,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
|
|
|
10311
10346
|
applies_to_models?: string[] | null | undefined;
|
|
10312
10347
|
applies_to_model_prefixes?: string[] | undefined;
|
|
10313
10348
|
applies_to_unspecified_model?: boolean | undefined;
|
|
10349
|
+
applies_to_request_kinds?: ("image" | "text")[] | undefined;
|
|
10314
10350
|
used_ratio: number | null;
|
|
10315
10351
|
window_seconds: number | null;
|
|
10316
10352
|
resets_at: string | null;
|
|
10317
10353
|
cooldown_until?: string | null | undefined;
|
|
10318
10354
|
}[];
|
|
10319
|
-
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";
|
|
10355
|
+
source: "agy_command_usage" | "claude_api_retry" | "claude_oauth_usage" | "claude_rate_limit_event" | "claude_statusline" | "codex_app_server" | "codex_app_server_event" | "codex_image_response" | "codex_rollout" | "cursor_rate_limit";
|
|
10320
10356
|
observed_at: string;
|
|
10321
10357
|
freshness: "fresh" | "stale" | "unknown";
|
|
10322
10358
|
snapshot_id?: string | undefined;
|