@autohq/cli 0.1.501 → 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 +44 -6
- package/dist/index.js +45 -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,41 @@ 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
|
+
);
|
|
32507
32542
|
var UserSubscriptionOperationalStateSchema = external_exports.object({
|
|
32508
32543
|
version: external_exports.literal(1),
|
|
32509
32544
|
earliestRefreshAt: external_exports.string().nullable().catch(null),
|
|
@@ -36177,6 +36212,7 @@ var RequesterRootOriginSchema = external_exports.discriminatedUnion("kind", [
|
|
|
36177
36212
|
]);
|
|
36178
36213
|
var RequesterRootSchema = external_exports.object({
|
|
36179
36214
|
sourceSessionId: SessionIdSchema2,
|
|
36215
|
+
sourceCommandId: SessionCommandIdSchema2.optional(),
|
|
36180
36216
|
provenance: external_exports.enum(["explicit", "asserted"]),
|
|
36181
36217
|
origin: RequesterRootOriginSchema
|
|
36182
36218
|
});
|
|
@@ -36395,7 +36431,9 @@ var TriggerDeliveryCommandMetadataSchema = external_exports.object({
|
|
|
36395
36431
|
var SessionCommandDebounceMetadataSchema = external_exports.object({
|
|
36396
36432
|
aggregatedCommandIds: external_exports.array(SessionCommandIdSchema2).optional(),
|
|
36397
36433
|
aggregatedIntoCommandId: SessionCommandIdSchema2.optional(),
|
|
36398
|
-
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()
|
|
36399
36437
|
}).strip();
|
|
36400
36438
|
var RunMessageCommandPayloadSchema = external_exports.object({
|
|
36401
36439
|
message: external_exports.string().trim().min(1),
|
|
@@ -36409,10 +36447,10 @@ var RunMessageCommandPayloadSchema = external_exports.object({
|
|
|
36409
36447
|
model: AgentModelSelectionSchema.optional(),
|
|
36410
36448
|
reasoningEffort: AgentReasoningEffortSchema.optional(),
|
|
36411
36449
|
metadata: JsonValueSchema2.optional(),
|
|
36412
|
-
// The human on whose behalf a relayed steering message is sent
|
|
36413
|
-
//
|
|
36414
|
-
//
|
|
36415
|
-
//
|
|
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.
|
|
36416
36454
|
requester: RequesterSchema.optional(),
|
|
36417
36455
|
// File uploads presigned through the session-uploads store. Optional so
|
|
36418
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, UserSubscriptionOperationalStateSchema, 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,41 @@ 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
|
+
);
|
|
16187
16222
|
UserSubscriptionOperationalStateSchema = external_exports.object({
|
|
16188
16223
|
version: external_exports.literal(1),
|
|
16189
16224
|
earliestRefreshAt: external_exports.string().nullable().catch(null),
|
|
@@ -20231,6 +20266,7 @@ var init_requester = __esm({
|
|
|
20231
20266
|
]);
|
|
20232
20267
|
RequesterRootSchema = external_exports.object({
|
|
20233
20268
|
sourceSessionId: SessionIdSchema,
|
|
20269
|
+
sourceCommandId: SessionCommandIdSchema.optional(),
|
|
20234
20270
|
provenance: external_exports.enum(["explicit", "asserted"]),
|
|
20235
20271
|
origin: RequesterRootOriginSchema
|
|
20236
20272
|
});
|
|
@@ -20485,7 +20521,9 @@ var init_session_commands = __esm({
|
|
|
20485
20521
|
SessionCommandDebounceMetadataSchema = external_exports.object({
|
|
20486
20522
|
aggregatedCommandIds: external_exports.array(SessionCommandIdSchema).optional(),
|
|
20487
20523
|
aggregatedIntoCommandId: SessionCommandIdSchema.optional(),
|
|
20488
|
-
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()
|
|
20489
20527
|
}).strip();
|
|
20490
20528
|
RunMessageCommandPayloadSchema = external_exports.object({
|
|
20491
20529
|
message: external_exports.string().trim().min(1),
|
|
@@ -20499,10 +20537,10 @@ var init_session_commands = __esm({
|
|
|
20499
20537
|
model: AgentModelSelectionSchema.optional(),
|
|
20500
20538
|
reasoningEffort: AgentReasoningEffortSchema.optional(),
|
|
20501
20539
|
metadata: JsonValueSchema.optional(),
|
|
20502
|
-
// The human on whose behalf a relayed steering message is sent
|
|
20503
|
-
//
|
|
20504
|
-
//
|
|
20505
|
-
//
|
|
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.
|
|
20506
20544
|
requester: RequesterSchema.optional(),
|
|
20507
20545
|
// File uploads presigned through the session-uploads store. Optional so
|
|
20508
20546
|
// older payloads and operator messages stay valid; the /chat route
|
|
@@ -63617,7 +63655,7 @@ var init_package = __esm({
|
|
|
63617
63655
|
"package.json"() {
|
|
63618
63656
|
package_default = {
|
|
63619
63657
|
name: "@autohq/cli",
|
|
63620
|
-
version: "0.1.
|
|
63658
|
+
version: "0.1.502",
|
|
63621
63659
|
license: "SEE LICENSE IN README.md",
|
|
63622
63660
|
publishConfig: {
|
|
63623
63661
|
access: "public"
|