@autohq/cli 0.1.560 → 0.1.561
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 +40 -6
- package/dist/index.js +51 -7
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -30870,7 +30870,7 @@ Object.assign(lookup, {
|
|
|
30870
30870
|
// package.json
|
|
30871
30871
|
var package_default = {
|
|
30872
30872
|
name: "@autohq/cli",
|
|
30873
|
-
version: "0.1.
|
|
30873
|
+
version: "0.1.561",
|
|
30874
30874
|
license: "SEE LICENSE IN README.md",
|
|
30875
30875
|
publishConfig: {
|
|
30876
30876
|
access: "public"
|
|
@@ -37898,6 +37898,40 @@ var ProviderResourceOwnershipUpdateResponseSchema = external_exports.object({
|
|
|
37898
37898
|
ownership: ProviderResourceOwnershipViewSchema
|
|
37899
37899
|
});
|
|
37900
37900
|
|
|
37901
|
+
// ../../packages/schemas/src/queued-message-force-interrupt.ts
|
|
37902
|
+
var QUEUED_MESSAGE_FORCE_INTERRUPT_NOOP_REASONS = [
|
|
37903
|
+
"command_not_pending",
|
|
37904
|
+
"command_not_deferred",
|
|
37905
|
+
"session_terminal"
|
|
37906
|
+
];
|
|
37907
|
+
var QueuedMessageForceInterruptCurrentStateSchema = external_exports.object({
|
|
37908
|
+
commandStatus: SessionCommandStatusSchema,
|
|
37909
|
+
deliveryMode: MessageDeliveryModeSchema.nullable(),
|
|
37910
|
+
sessionStatus: SessionStatusSchema
|
|
37911
|
+
}).strict();
|
|
37912
|
+
var QueuedMessageForceInterruptDispatchSchema = external_exports.object({
|
|
37913
|
+
attempted: external_exports.boolean(),
|
|
37914
|
+
succeeded: external_exports.boolean(),
|
|
37915
|
+
error: external_exports.string().optional()
|
|
37916
|
+
}).strict();
|
|
37917
|
+
var QueuedMessageForceInterruptResponseSchema = external_exports.discriminatedUnion(
|
|
37918
|
+
"outcome",
|
|
37919
|
+
[
|
|
37920
|
+
external_exports.object({
|
|
37921
|
+
outcome: external_exports.literal("promoted"),
|
|
37922
|
+
commandId: SessionCommandIdSchema2,
|
|
37923
|
+
current: QueuedMessageForceInterruptCurrentStateSchema,
|
|
37924
|
+
dispatch: QueuedMessageForceInterruptDispatchSchema
|
|
37925
|
+
}).strict(),
|
|
37926
|
+
external_exports.object({
|
|
37927
|
+
outcome: external_exports.literal("noop"),
|
|
37928
|
+
commandId: SessionCommandIdSchema2,
|
|
37929
|
+
reason: external_exports.enum(QUEUED_MESSAGE_FORCE_INTERRUPT_NOOP_REASONS),
|
|
37930
|
+
current: QueuedMessageForceInterruptCurrentStateSchema
|
|
37931
|
+
}).strict()
|
|
37932
|
+
]
|
|
37933
|
+
);
|
|
37934
|
+
|
|
37901
37935
|
// ../../packages/schemas/src/project-config.ts
|
|
37902
37936
|
var RESOURCE_KIND_CONFIG = "config";
|
|
37903
37937
|
var DashboardTextSchema = external_exports.string().trim().min(1).max(240);
|
|
@@ -39428,11 +39462,11 @@ var ProjectUsageResponseSchema = external_exports.object({
|
|
|
39428
39462
|
until: external_exports.string().datetime()
|
|
39429
39463
|
}),
|
|
39430
39464
|
totals: ProjectUsageTotalsSchema,
|
|
39431
|
-
|
|
39432
|
-
|
|
39433
|
-
|
|
39434
|
-
|
|
39435
|
-
|
|
39465
|
+
taskThroughput: external_exports.object({
|
|
39466
|
+
created: external_exports.number().int().nonnegative(),
|
|
39467
|
+
completed: external_exports.number().int().nonnegative(),
|
|
39468
|
+
dropped: external_exports.number().int().nonnegative(),
|
|
39469
|
+
costPerCompletedTaskUsd: NonNegativeUsdSchema2.nullable()
|
|
39436
39470
|
}).optional(),
|
|
39437
39471
|
byAgent: external_exports.array(ProjectUsageAgentSummarySchema),
|
|
39438
39472
|
byModel: external_exports.array(ProjectUsageModelSummarySchema),
|
package/dist/index.js
CHANGED
|
@@ -22115,6 +22115,50 @@ var init_provider_resource_ownership = __esm({
|
|
|
22115
22115
|
}
|
|
22116
22116
|
});
|
|
22117
22117
|
|
|
22118
|
+
// ../../packages/schemas/src/queued-message-force-interrupt.ts
|
|
22119
|
+
var QUEUED_MESSAGE_FORCE_INTERRUPT_NOOP_REASONS, QueuedMessageForceInterruptCurrentStateSchema, QueuedMessageForceInterruptDispatchSchema, QueuedMessageForceInterruptResponseSchema;
|
|
22120
|
+
var init_queued_message_force_interrupt = __esm({
|
|
22121
|
+
"../../packages/schemas/src/queued-message-force-interrupt.ts"() {
|
|
22122
|
+
"use strict";
|
|
22123
|
+
init_zod();
|
|
22124
|
+
init_ids();
|
|
22125
|
+
init_session_commands();
|
|
22126
|
+
init_sessions();
|
|
22127
|
+
QUEUED_MESSAGE_FORCE_INTERRUPT_NOOP_REASONS = [
|
|
22128
|
+
"command_not_pending",
|
|
22129
|
+
"command_not_deferred",
|
|
22130
|
+
"session_terminal"
|
|
22131
|
+
];
|
|
22132
|
+
QueuedMessageForceInterruptCurrentStateSchema = external_exports.object({
|
|
22133
|
+
commandStatus: SessionCommandStatusSchema,
|
|
22134
|
+
deliveryMode: MessageDeliveryModeSchema.nullable(),
|
|
22135
|
+
sessionStatus: SessionStatusSchema
|
|
22136
|
+
}).strict();
|
|
22137
|
+
QueuedMessageForceInterruptDispatchSchema = external_exports.object({
|
|
22138
|
+
attempted: external_exports.boolean(),
|
|
22139
|
+
succeeded: external_exports.boolean(),
|
|
22140
|
+
error: external_exports.string().optional()
|
|
22141
|
+
}).strict();
|
|
22142
|
+
QueuedMessageForceInterruptResponseSchema = external_exports.discriminatedUnion(
|
|
22143
|
+
"outcome",
|
|
22144
|
+
[
|
|
22145
|
+
external_exports.object({
|
|
22146
|
+
outcome: external_exports.literal("promoted"),
|
|
22147
|
+
commandId: SessionCommandIdSchema,
|
|
22148
|
+
current: QueuedMessageForceInterruptCurrentStateSchema,
|
|
22149
|
+
dispatch: QueuedMessageForceInterruptDispatchSchema
|
|
22150
|
+
}).strict(),
|
|
22151
|
+
external_exports.object({
|
|
22152
|
+
outcome: external_exports.literal("noop"),
|
|
22153
|
+
commandId: SessionCommandIdSchema,
|
|
22154
|
+
reason: external_exports.enum(QUEUED_MESSAGE_FORCE_INTERRUPT_NOOP_REASONS),
|
|
22155
|
+
current: QueuedMessageForceInterruptCurrentStateSchema
|
|
22156
|
+
}).strict()
|
|
22157
|
+
]
|
|
22158
|
+
);
|
|
22159
|
+
}
|
|
22160
|
+
});
|
|
22161
|
+
|
|
22118
22162
|
// ../../packages/schemas/src/project-config.ts
|
|
22119
22163
|
var RESOURCE_KIND_CONFIG, PROJECT_CONFIG_RESOURCE_NAME, PROJECT_CONFIG_FILE_NAME, DashboardTextSchema, DashboardViewKindSchema, DashboardViewSpecSchema, ProjectDashboardSpecSchema, ProjectConfigSpecSchema, ProjectConfigResourceSchema, ProjectConfigApplyRequestSchema, ProjectHomeAgentSchema, ProjectHomeSessionSchema, ProjectHomeResourceHealthSchema, ProjectHomeTaskSchema, ProjectHomeReadyViewSchema, ProjectHomeUnsupportedViewSchema, ProjectHomeInvalidViewSchema, ProjectHomeReadModelSchema, PROJECT_DEFAULT_AGENT_SOURCES, ProjectDefaultAgentSourceSchema, ProjectDefaultAgentSchema, UpdateProjectSettingsRequestSchema;
|
|
22120
22164
|
var init_project_config = __esm({
|
|
@@ -81197,11 +81241,11 @@ var init_usage = __esm({
|
|
|
81197
81241
|
until: external_exports.string().datetime()
|
|
81198
81242
|
}),
|
|
81199
81243
|
totals: ProjectUsageTotalsSchema,
|
|
81200
|
-
|
|
81201
|
-
|
|
81202
|
-
|
|
81203
|
-
|
|
81204
|
-
|
|
81244
|
+
taskThroughput: external_exports.object({
|
|
81245
|
+
created: external_exports.number().int().nonnegative(),
|
|
81246
|
+
completed: external_exports.number().int().nonnegative(),
|
|
81247
|
+
dropped: external_exports.number().int().nonnegative(),
|
|
81248
|
+
costPerCompletedTaskUsd: NonNegativeUsdSchema2.nullable()
|
|
81205
81249
|
}).optional(),
|
|
81206
81250
|
byAgent: external_exports.array(ProjectUsageAgentSummarySchema),
|
|
81207
81251
|
byModel: external_exports.array(ProjectUsageModelSummarySchema),
|
|
@@ -81402,6 +81446,7 @@ var init_src = __esm({
|
|
|
81402
81446
|
init_platform_usage_feed();
|
|
81403
81447
|
init_provider_grants();
|
|
81404
81448
|
init_provider_resource_ownership();
|
|
81449
|
+
init_queued_message_force_interrupt();
|
|
81405
81450
|
init_project_config();
|
|
81406
81451
|
init_project_service_accounts();
|
|
81407
81452
|
init_project_resources();
|
|
@@ -84199,7 +84244,7 @@ var init_package = __esm({
|
|
|
84199
84244
|
"package.json"() {
|
|
84200
84245
|
package_default = {
|
|
84201
84246
|
name: "@autohq/cli",
|
|
84202
|
-
version: "0.1.
|
|
84247
|
+
version: "0.1.561",
|
|
84203
84248
|
license: "SEE LICENSE IN README.md",
|
|
84204
84249
|
publishConfig: {
|
|
84205
84250
|
access: "public"
|
|
@@ -86588,7 +86633,6 @@ var VARIABLE_DECLARATIONS_FIELD, VARIABLE_NAME_PATTERN2, VARIABLE_REFERENCE_PATT
|
|
|
86588
86633
|
var init_template_variables = __esm({
|
|
86589
86634
|
"../../packages/schemas/src/project-apply-files/template-variables.ts"() {
|
|
86590
86635
|
"use strict";
|
|
86591
|
-
init_templates();
|
|
86592
86636
|
init_source();
|
|
86593
86637
|
VARIABLE_DECLARATIONS_FIELD = "variables";
|
|
86594
86638
|
VARIABLE_NAME_PATTERN2 = /^[A-Za-z_][A-Za-z0-9_]*$/;
|