@autohq/cli 0.1.499 → 0.1.501
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-bridge.js +10 -2
- package/dist/index.js +12 -4
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -30866,7 +30866,7 @@ Object.assign(lookup, {
|
|
|
30866
30866
|
// package.json
|
|
30867
30867
|
var package_default = {
|
|
30868
30868
|
name: "@autohq/cli",
|
|
30869
|
-
version: "0.1.
|
|
30869
|
+
version: "0.1.501",
|
|
30870
30870
|
license: "SEE LICENSE IN README.md",
|
|
30871
30871
|
publishConfig: {
|
|
30872
30872
|
access: "public"
|
|
@@ -32504,6 +32504,13 @@ var ChatGptCodexQuotaMetadataSchema = external_exports.object({
|
|
|
32504
32504
|
secondary: ChatGptCodexQuotaWindowSchema.nullable(),
|
|
32505
32505
|
credits: external_exports.record(external_exports.string().startsWith("x-codex-credits-"), external_exports.string()).default({})
|
|
32506
32506
|
}).strict();
|
|
32507
|
+
var UserSubscriptionOperationalStateSchema = external_exports.object({
|
|
32508
|
+
version: external_exports.literal(1),
|
|
32509
|
+
earliestRefreshAt: external_exports.string().nullable().catch(null),
|
|
32510
|
+
latestQuota: ChatGptCodexQuotaMetadataSchema.nullable().catch(null),
|
|
32511
|
+
error: external_exports.enum(["quota_exhausted", "refresh_failed", "unusable_credential"]).nullable().catch(null),
|
|
32512
|
+
quotaExhaustedAt: external_exports.string().nullable().catch(null).default(null)
|
|
32513
|
+
}).passthrough();
|
|
32507
32514
|
var CHATGPT_CODEX_OAUTH_CLIENT_ID = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
32508
32515
|
var CHATGPT_CODEX_OAUTH_SCOPE = "openid profile email";
|
|
32509
32516
|
var ChatGptCodexRefreshRequestSchema = external_exports.object({
|
|
@@ -38401,8 +38408,9 @@ var SessionSpendCapRuntimeStatusSchema = external_exports.object({
|
|
|
38401
38408
|
park: SessionParkRecordSchema.nullable(),
|
|
38402
38409
|
organizationCreditsExhausted: external_exports.boolean()
|
|
38403
38410
|
});
|
|
38411
|
+
var SESSION_SPEND_CAP_BATCH_MAX_SESSION_IDS = 50;
|
|
38404
38412
|
var SessionSpendCapBatchRequestSchema = external_exports.object({
|
|
38405
|
-
sessionIds: external_exports.array(SessionIdSchema2).max(
|
|
38413
|
+
sessionIds: external_exports.array(SessionIdSchema2).max(SESSION_SPEND_CAP_BATCH_MAX_SESSION_IDS)
|
|
38406
38414
|
});
|
|
38407
38415
|
var SessionSpendCapBatchResponseSchema = external_exports.object({
|
|
38408
38416
|
statuses: external_exports.array(
|
package/dist/index.js
CHANGED
|
@@ -16127,7 +16127,7 @@ var init_chat = __esm({
|
|
|
16127
16127
|
});
|
|
16128
16128
|
|
|
16129
16129
|
// ../../packages/schemas/src/chatgpt-codex.ts
|
|
16130
|
-
var CHATGPT_CODEX_BACKEND_BASE_URL, CHATGPT_CODEX_RESPONSES_ENDPOINT, CHATGPT_CODEX_SSE_EVENT_SEQUENCE, ChatGptCodexSseEventSchema, ChatGptCodexStreamingRequestSchema, CHATGPT_CODEX_ELIGIBLE_MODELS, ChatGptCodexEligibleModelSchema, ChatGptCodexCompletionUsageSchema, ChatGptCodexErrorResponseSchema, CHATGPT_CODEX_ERROR_KINDS, ChatGptCodexErrorKindSchema, ChatGptCodexQuotaWindowSchema, ChatGptCodexQuotaMetadataSchema, CHATGPT_CODEX_OAUTH_CLIENT_ID, CHATGPT_CODEX_OAUTH_SCOPE, ChatGptCodexRefreshRequestSchema, ChatGptCodexRefreshResponseSchema, ChatGptCodexAccessTokenAuthClaimSchema;
|
|
16130
|
+
var CHATGPT_CODEX_BACKEND_BASE_URL, CHATGPT_CODEX_RESPONSES_ENDPOINT, CHATGPT_CODEX_SSE_EVENT_SEQUENCE, ChatGptCodexSseEventSchema, ChatGptCodexStreamingRequestSchema, CHATGPT_CODEX_ELIGIBLE_MODELS, ChatGptCodexEligibleModelSchema, ChatGptCodexCompletionUsageSchema, ChatGptCodexErrorResponseSchema, CHATGPT_CODEX_ERROR_KINDS, ChatGptCodexErrorKindSchema, ChatGptCodexQuotaWindowSchema, ChatGptCodexQuotaMetadataSchema, UserSubscriptionOperationalStateSchema, CHATGPT_CODEX_OAUTH_CLIENT_ID, CHATGPT_CODEX_OAUTH_SCOPE, ChatGptCodexRefreshRequestSchema, ChatGptCodexRefreshResponseSchema, ChatGptCodexAccessTokenAuthClaimSchema;
|
|
16131
16131
|
var init_chatgpt_codex = __esm({
|
|
16132
16132
|
"../../packages/schemas/src/chatgpt-codex.ts"() {
|
|
16133
16133
|
"use strict";
|
|
@@ -16184,6 +16184,13 @@ var init_chatgpt_codex = __esm({
|
|
|
16184
16184
|
secondary: ChatGptCodexQuotaWindowSchema.nullable(),
|
|
16185
16185
|
credits: external_exports.record(external_exports.string().startsWith("x-codex-credits-"), external_exports.string()).default({})
|
|
16186
16186
|
}).strict();
|
|
16187
|
+
UserSubscriptionOperationalStateSchema = external_exports.object({
|
|
16188
|
+
version: external_exports.literal(1),
|
|
16189
|
+
earliestRefreshAt: external_exports.string().nullable().catch(null),
|
|
16190
|
+
latestQuota: ChatGptCodexQuotaMetadataSchema.nullable().catch(null),
|
|
16191
|
+
error: external_exports.enum(["quota_exhausted", "refresh_failed", "unusable_credential"]).nullable().catch(null),
|
|
16192
|
+
quotaExhaustedAt: external_exports.string().nullable().catch(null).default(null)
|
|
16193
|
+
}).passthrough();
|
|
16187
16194
|
CHATGPT_CODEX_OAUTH_CLIENT_ID = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
16188
16195
|
CHATGPT_CODEX_OAUTH_SCOPE = "openid profile email";
|
|
16189
16196
|
ChatGptCodexRefreshRequestSchema = external_exports.object({
|
|
@@ -22757,7 +22764,7 @@ var init_runtimes = __esm({
|
|
|
22757
22764
|
});
|
|
22758
22765
|
|
|
22759
22766
|
// ../../packages/schemas/src/spend-cap-runtime.ts
|
|
22760
|
-
var SpendCapOverrideStateSchema, SpendCapOverrideUpdateRequestSchema, SPEND_CAP_LIMIT_KINDS, SpendCapLimitKindSchema, EffectiveSpendCapHitSchema, SessionSpendCapRuntimeStatusSchema, SessionSpendCapBatchRequestSchema, SessionSpendCapBatchResponseSchema, AgentSpendCapRuntimeStatusSchema, SessionCreationSpendCapDecisionSchema, SPEND_CAP_RUNTIME_ERROR_CODES, SpendCapRuntimeErrorResponseSchema;
|
|
22767
|
+
var SpendCapOverrideStateSchema, SpendCapOverrideUpdateRequestSchema, SPEND_CAP_LIMIT_KINDS, SpendCapLimitKindSchema, EffectiveSpendCapHitSchema, SessionSpendCapRuntimeStatusSchema, SESSION_SPEND_CAP_BATCH_MAX_SESSION_IDS, SessionSpendCapBatchRequestSchema, SessionSpendCapBatchResponseSchema, AgentSpendCapRuntimeStatusSchema, SessionCreationSpendCapDecisionSchema, SPEND_CAP_RUNTIME_ERROR_CODES, SpendCapRuntimeErrorResponseSchema;
|
|
22761
22768
|
var init_spend_cap_runtime = __esm({
|
|
22762
22769
|
"../../packages/schemas/src/spend-cap-runtime.ts"() {
|
|
22763
22770
|
"use strict";
|
|
@@ -22805,8 +22812,9 @@ var init_spend_cap_runtime = __esm({
|
|
|
22805
22812
|
park: SessionParkRecordSchema.nullable(),
|
|
22806
22813
|
organizationCreditsExhausted: external_exports.boolean()
|
|
22807
22814
|
});
|
|
22815
|
+
SESSION_SPEND_CAP_BATCH_MAX_SESSION_IDS = 50;
|
|
22808
22816
|
SessionSpendCapBatchRequestSchema = external_exports.object({
|
|
22809
|
-
sessionIds: external_exports.array(SessionIdSchema).max(
|
|
22817
|
+
sessionIds: external_exports.array(SessionIdSchema).max(SESSION_SPEND_CAP_BATCH_MAX_SESSION_IDS)
|
|
22810
22818
|
});
|
|
22811
22819
|
SessionSpendCapBatchResponseSchema = external_exports.object({
|
|
22812
22820
|
statuses: external_exports.array(
|
|
@@ -63609,7 +63617,7 @@ var init_package = __esm({
|
|
|
63609
63617
|
"package.json"() {
|
|
63610
63618
|
package_default = {
|
|
63611
63619
|
name: "@autohq/cli",
|
|
63612
|
-
version: "0.1.
|
|
63620
|
+
version: "0.1.501",
|
|
63613
63621
|
license: "SEE LICENSE IN README.md",
|
|
63614
63622
|
publishConfig: {
|
|
63615
63623
|
access: "public"
|