@autohq/cli 0.1.500 → 0.1.502
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 +51 -6
- package/dist/index.js +52 -7
- 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.502",
|
|
30870
30870
|
license: "SEE LICENSE IN README.md",
|
|
30871
30871
|
publishConfig: {
|
|
30872
30872
|
access: "public"
|
|
@@ -32504,6 +32504,48 @@ 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 ChatGptCodexQuotaMeasurementWindowSchema = external_exports.object({
|
|
32508
|
+
name: external_exports.enum(["primary", "secondary"]),
|
|
32509
|
+
capacity: external_exports.object({
|
|
32510
|
+
unit: external_exports.literal("percent"),
|
|
32511
|
+
used: external_exports.number().min(0).max(100),
|
|
32512
|
+
available: external_exports.number().min(0).max(100)
|
|
32513
|
+
}).strict(),
|
|
32514
|
+
windowSeconds: external_exports.number().int().positive(),
|
|
32515
|
+
resetsAt: external_exports.string().datetime()
|
|
32516
|
+
}).strict();
|
|
32517
|
+
var ChatGptCodexQuotaMeasurementUnavailableReasonSchema = external_exports.enum([
|
|
32518
|
+
"unusable_credential",
|
|
32519
|
+
"authentication_failed",
|
|
32520
|
+
"rate_limited",
|
|
32521
|
+
"timeout",
|
|
32522
|
+
"network_error",
|
|
32523
|
+
"upstream_error",
|
|
32524
|
+
"unknown_payload"
|
|
32525
|
+
]);
|
|
32526
|
+
var ChatGptCodexQuotaMeasurementResultSchema = external_exports.discriminatedUnion(
|
|
32527
|
+
"kind",
|
|
32528
|
+
[
|
|
32529
|
+
external_exports.object({
|
|
32530
|
+
kind: external_exports.literal("available"),
|
|
32531
|
+
observedAt: external_exports.string().datetime(),
|
|
32532
|
+
planType: external_exports.string().trim().min(1).nullable(),
|
|
32533
|
+
windows: external_exports.array(ChatGptCodexQuotaMeasurementWindowSchema).min(1)
|
|
32534
|
+
}).strict(),
|
|
32535
|
+
external_exports.object({
|
|
32536
|
+
kind: external_exports.literal("unavailable"),
|
|
32537
|
+
observedAt: external_exports.string().datetime(),
|
|
32538
|
+
reason: ChatGptCodexQuotaMeasurementUnavailableReasonSchema
|
|
32539
|
+
}).strict()
|
|
32540
|
+
]
|
|
32541
|
+
);
|
|
32542
|
+
var UserSubscriptionOperationalStateSchema = external_exports.object({
|
|
32543
|
+
version: external_exports.literal(1),
|
|
32544
|
+
earliestRefreshAt: external_exports.string().nullable().catch(null),
|
|
32545
|
+
latestQuota: ChatGptCodexQuotaMetadataSchema.nullable().catch(null),
|
|
32546
|
+
error: external_exports.enum(["quota_exhausted", "refresh_failed", "unusable_credential"]).nullable().catch(null),
|
|
32547
|
+
quotaExhaustedAt: external_exports.string().nullable().catch(null).default(null)
|
|
32548
|
+
}).passthrough();
|
|
32507
32549
|
var CHATGPT_CODEX_OAUTH_CLIENT_ID = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
32508
32550
|
var CHATGPT_CODEX_OAUTH_SCOPE = "openid profile email";
|
|
32509
32551
|
var ChatGptCodexRefreshRequestSchema = external_exports.object({
|
|
@@ -36170,6 +36212,7 @@ var RequesterRootOriginSchema = external_exports.discriminatedUnion("kind", [
|
|
|
36170
36212
|
]);
|
|
36171
36213
|
var RequesterRootSchema = external_exports.object({
|
|
36172
36214
|
sourceSessionId: SessionIdSchema2,
|
|
36215
|
+
sourceCommandId: SessionCommandIdSchema2.optional(),
|
|
36173
36216
|
provenance: external_exports.enum(["explicit", "asserted"]),
|
|
36174
36217
|
origin: RequesterRootOriginSchema
|
|
36175
36218
|
});
|
|
@@ -36388,7 +36431,9 @@ var TriggerDeliveryCommandMetadataSchema = external_exports.object({
|
|
|
36388
36431
|
var SessionCommandDebounceMetadataSchema = external_exports.object({
|
|
36389
36432
|
aggregatedCommandIds: external_exports.array(SessionCommandIdSchema2).optional(),
|
|
36390
36433
|
aggregatedIntoCommandId: SessionCommandIdSchema2.optional(),
|
|
36391
|
-
originalMessage: external_exports.string().optional()
|
|
36434
|
+
originalMessage: external_exports.string().optional(),
|
|
36435
|
+
// Stable requester filter keys only; no mutable display identity.
|
|
36436
|
+
mixedRequesterKeys: external_exports.array(external_exports.string().min(1)).optional()
|
|
36392
36437
|
}).strip();
|
|
36393
36438
|
var RunMessageCommandPayloadSchema = external_exports.object({
|
|
36394
36439
|
message: external_exports.string().trim().min(1),
|
|
@@ -36402,10 +36447,10 @@ var RunMessageCommandPayloadSchema = external_exports.object({
|
|
|
36402
36447
|
model: AgentModelSelectionSchema.optional(),
|
|
36403
36448
|
reasoningEffort: AgentReasoningEffortSchema.optional(),
|
|
36404
36449
|
metadata: JsonValueSchema2.optional(),
|
|
36405
|
-
// The human on whose behalf a relayed steering message is sent
|
|
36406
|
-
//
|
|
36407
|
-
//
|
|
36408
|
-
//
|
|
36450
|
+
// The human on whose behalf a relayed steering message is sent. It remains
|
|
36451
|
+
// command-scoped rather than mutating the receiving session: descendants
|
|
36452
|
+
// created during the active turn may inherit it, while the runtime delivery
|
|
36453
|
+
// payload and the session's static attribution stay unchanged.
|
|
36409
36454
|
requester: RequesterSchema.optional(),
|
|
36410
36455
|
// File uploads presigned through the session-uploads store. Optional so
|
|
36411
36456
|
// older payloads and operator messages stay valid; the /chat route
|
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, ChatGptCodexQuotaMeasurementWindowSchema, ChatGptCodexQuotaMeasurementUnavailableReasonSchema, ChatGptCodexQuotaMeasurementResultSchema, 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,48 @@ 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
|
+
ChatGptCodexQuotaMeasurementWindowSchema = external_exports.object({
|
|
16188
|
+
name: external_exports.enum(["primary", "secondary"]),
|
|
16189
|
+
capacity: external_exports.object({
|
|
16190
|
+
unit: external_exports.literal("percent"),
|
|
16191
|
+
used: external_exports.number().min(0).max(100),
|
|
16192
|
+
available: external_exports.number().min(0).max(100)
|
|
16193
|
+
}).strict(),
|
|
16194
|
+
windowSeconds: external_exports.number().int().positive(),
|
|
16195
|
+
resetsAt: external_exports.string().datetime()
|
|
16196
|
+
}).strict();
|
|
16197
|
+
ChatGptCodexQuotaMeasurementUnavailableReasonSchema = external_exports.enum([
|
|
16198
|
+
"unusable_credential",
|
|
16199
|
+
"authentication_failed",
|
|
16200
|
+
"rate_limited",
|
|
16201
|
+
"timeout",
|
|
16202
|
+
"network_error",
|
|
16203
|
+
"upstream_error",
|
|
16204
|
+
"unknown_payload"
|
|
16205
|
+
]);
|
|
16206
|
+
ChatGptCodexQuotaMeasurementResultSchema = external_exports.discriminatedUnion(
|
|
16207
|
+
"kind",
|
|
16208
|
+
[
|
|
16209
|
+
external_exports.object({
|
|
16210
|
+
kind: external_exports.literal("available"),
|
|
16211
|
+
observedAt: external_exports.string().datetime(),
|
|
16212
|
+
planType: external_exports.string().trim().min(1).nullable(),
|
|
16213
|
+
windows: external_exports.array(ChatGptCodexQuotaMeasurementWindowSchema).min(1)
|
|
16214
|
+
}).strict(),
|
|
16215
|
+
external_exports.object({
|
|
16216
|
+
kind: external_exports.literal("unavailable"),
|
|
16217
|
+
observedAt: external_exports.string().datetime(),
|
|
16218
|
+
reason: ChatGptCodexQuotaMeasurementUnavailableReasonSchema
|
|
16219
|
+
}).strict()
|
|
16220
|
+
]
|
|
16221
|
+
);
|
|
16222
|
+
UserSubscriptionOperationalStateSchema = external_exports.object({
|
|
16223
|
+
version: external_exports.literal(1),
|
|
16224
|
+
earliestRefreshAt: external_exports.string().nullable().catch(null),
|
|
16225
|
+
latestQuota: ChatGptCodexQuotaMetadataSchema.nullable().catch(null),
|
|
16226
|
+
error: external_exports.enum(["quota_exhausted", "refresh_failed", "unusable_credential"]).nullable().catch(null),
|
|
16227
|
+
quotaExhaustedAt: external_exports.string().nullable().catch(null).default(null)
|
|
16228
|
+
}).passthrough();
|
|
16187
16229
|
CHATGPT_CODEX_OAUTH_CLIENT_ID = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
16188
16230
|
CHATGPT_CODEX_OAUTH_SCOPE = "openid profile email";
|
|
16189
16231
|
ChatGptCodexRefreshRequestSchema = external_exports.object({
|
|
@@ -20224,6 +20266,7 @@ var init_requester = __esm({
|
|
|
20224
20266
|
]);
|
|
20225
20267
|
RequesterRootSchema = external_exports.object({
|
|
20226
20268
|
sourceSessionId: SessionIdSchema,
|
|
20269
|
+
sourceCommandId: SessionCommandIdSchema.optional(),
|
|
20227
20270
|
provenance: external_exports.enum(["explicit", "asserted"]),
|
|
20228
20271
|
origin: RequesterRootOriginSchema
|
|
20229
20272
|
});
|
|
@@ -20478,7 +20521,9 @@ var init_session_commands = __esm({
|
|
|
20478
20521
|
SessionCommandDebounceMetadataSchema = external_exports.object({
|
|
20479
20522
|
aggregatedCommandIds: external_exports.array(SessionCommandIdSchema).optional(),
|
|
20480
20523
|
aggregatedIntoCommandId: SessionCommandIdSchema.optional(),
|
|
20481
|
-
originalMessage: external_exports.string().optional()
|
|
20524
|
+
originalMessage: external_exports.string().optional(),
|
|
20525
|
+
// Stable requester filter keys only; no mutable display identity.
|
|
20526
|
+
mixedRequesterKeys: external_exports.array(external_exports.string().min(1)).optional()
|
|
20482
20527
|
}).strip();
|
|
20483
20528
|
RunMessageCommandPayloadSchema = external_exports.object({
|
|
20484
20529
|
message: external_exports.string().trim().min(1),
|
|
@@ -20492,10 +20537,10 @@ var init_session_commands = __esm({
|
|
|
20492
20537
|
model: AgentModelSelectionSchema.optional(),
|
|
20493
20538
|
reasoningEffort: AgentReasoningEffortSchema.optional(),
|
|
20494
20539
|
metadata: JsonValueSchema.optional(),
|
|
20495
|
-
// The human on whose behalf a relayed steering message is sent
|
|
20496
|
-
//
|
|
20497
|
-
//
|
|
20498
|
-
//
|
|
20540
|
+
// The human on whose behalf a relayed steering message is sent. It remains
|
|
20541
|
+
// command-scoped rather than mutating the receiving session: descendants
|
|
20542
|
+
// created during the active turn may inherit it, while the runtime delivery
|
|
20543
|
+
// payload and the session's static attribution stay unchanged.
|
|
20499
20544
|
requester: RequesterSchema.optional(),
|
|
20500
20545
|
// File uploads presigned through the session-uploads store. Optional so
|
|
20501
20546
|
// older payloads and operator messages stay valid; the /chat route
|
|
@@ -63610,7 +63655,7 @@ var init_package = __esm({
|
|
|
63610
63655
|
"package.json"() {
|
|
63611
63656
|
package_default = {
|
|
63612
63657
|
name: "@autohq/cli",
|
|
63613
|
-
version: "0.1.
|
|
63658
|
+
version: "0.1.502",
|
|
63614
63659
|
license: "SEE LICENSE IN README.md",
|
|
63615
63660
|
publishConfig: {
|
|
63616
63661
|
access: "public"
|