@autohq/cli 0.1.155 → 0.1.157
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 +48 -7
- package/dist/index.js +53 -9
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -19682,7 +19682,7 @@ var SessionIdSchema2 = OpaqueIdSchema2.brand();
|
|
|
19682
19682
|
var SessionCommandIdSchema2 = OpaqueIdSchema2.brand();
|
|
19683
19683
|
var RuntimeIdSchema2 = OpaqueIdSchema2.brand();
|
|
19684
19684
|
var RuntimeBridgeLeaseIdSchema2 = OpaqueIdSchema2.brand();
|
|
19685
|
-
var
|
|
19685
|
+
var EnvironmentSetupTemplateIdSchema = OpaqueIdSchema2.brand();
|
|
19686
19686
|
var UserIdSchema = OpaqueIdSchema2.brand();
|
|
19687
19687
|
|
|
19688
19688
|
// ../../packages/schemas/src/auth.ts
|
|
@@ -22046,6 +22046,12 @@ var ProjectApplyDiagnosticSchema = external_exports.object({
|
|
|
22046
22046
|
]),
|
|
22047
22047
|
name: external_exports.string().min(1)
|
|
22048
22048
|
});
|
|
22049
|
+
var ProjectApplyResponsePrunedSchema = external_exports.object({
|
|
22050
|
+
kind: external_exports.enum(PROJECT_RESOURCE_KINDS),
|
|
22051
|
+
name: external_exports.string().min(1),
|
|
22052
|
+
uid: external_exports.string().min(1),
|
|
22053
|
+
heartbeatScheduleIds: external_exports.array(external_exports.string().min(1)).optional()
|
|
22054
|
+
});
|
|
22049
22055
|
var ProjectApplyResponseSchema = external_exports.object({
|
|
22050
22056
|
dryRun: external_exports.boolean().default(false),
|
|
22051
22057
|
resources: external_exports.array(ProjectAppliedResourceSchema),
|
|
@@ -22059,14 +22065,49 @@ var ProjectApplyResponseSchema = external_exports.object({
|
|
|
22059
22065
|
uid: external_exports.string().min(1).optional()
|
|
22060
22066
|
})
|
|
22061
22067
|
).default([]),
|
|
22062
|
-
pruned: external_exports.array(
|
|
22068
|
+
pruned: external_exports.array(ProjectApplyResponsePrunedSchema).default([])
|
|
22069
|
+
});
|
|
22070
|
+
var ProjectResourceApplyResultSchema = ProjectApplyResponseSchema.extend({
|
|
22071
|
+
heartbeatSchedules: external_exports.array(
|
|
22063
22072
|
external_exports.object({
|
|
22064
|
-
|
|
22065
|
-
|
|
22066
|
-
|
|
22073
|
+
scheduleId: external_exports.string().trim().min(1),
|
|
22074
|
+
cron: external_exports.string().trim().min(1),
|
|
22075
|
+
timezone: external_exports.string().trim().min(1),
|
|
22076
|
+
input: HeartbeatTickWorkflowInputSchema
|
|
22067
22077
|
})
|
|
22068
|
-
).default([])
|
|
22078
|
+
).default([]),
|
|
22079
|
+
deletedHeartbeatScheduleIds: external_exports.array(external_exports.string().trim().min(1)).default([])
|
|
22080
|
+
});
|
|
22081
|
+
var ProjectResourceApplyAuditActionSchema = external_exports.enum([
|
|
22082
|
+
"project_resources.apply",
|
|
22083
|
+
"github_sync.apply"
|
|
22084
|
+
]);
|
|
22085
|
+
var ProjectResourceApplyOperationIdSchema = external_exports.string().trim().min(1).max(512);
|
|
22086
|
+
var ProjectResourceApplyWorkflowErrorSchema = external_exports.object({
|
|
22087
|
+
name: external_exports.string().trim().min(1),
|
|
22088
|
+
message: external_exports.string().trim().min(1)
|
|
22089
|
+
});
|
|
22090
|
+
var ProjectResourceApplyWorkflowInputSchema = external_exports.object({
|
|
22091
|
+
operationId: ProjectResourceApplyOperationIdSchema,
|
|
22092
|
+
request: ProjectApplyRequestSchema,
|
|
22093
|
+
organizationId: OrganizationIdSchema,
|
|
22094
|
+
projectId: ProjectIdSchema.nullable().optional(),
|
|
22095
|
+
actor: AuthActorSchema,
|
|
22096
|
+
auditAction: ProjectResourceApplyAuditActionSchema
|
|
22069
22097
|
});
|
|
22098
|
+
var ProjectResourceApplyWorkflowResultSchema = external_exports.discriminatedUnion(
|
|
22099
|
+
"status",
|
|
22100
|
+
[
|
|
22101
|
+
external_exports.object({
|
|
22102
|
+
status: external_exports.literal("applied"),
|
|
22103
|
+
result: ProjectResourceApplyResultSchema
|
|
22104
|
+
}),
|
|
22105
|
+
external_exports.object({
|
|
22106
|
+
status: external_exports.literal("failed"),
|
|
22107
|
+
error: ProjectResourceApplyWorkflowErrorSchema
|
|
22108
|
+
})
|
|
22109
|
+
]
|
|
22110
|
+
);
|
|
22070
22111
|
|
|
22071
22112
|
// ../../packages/schemas/src/session-diagnostics.ts
|
|
22072
22113
|
var SESSION_DIAGNOSTIC_REALTIME_EVENT = "session.diagnostic";
|
|
@@ -26320,7 +26361,7 @@ Object.assign(lookup, {
|
|
|
26320
26361
|
// package.json
|
|
26321
26362
|
var package_default = {
|
|
26322
26363
|
name: "@autohq/cli",
|
|
26323
|
-
version: "0.1.
|
|
26364
|
+
version: "0.1.157",
|
|
26324
26365
|
license: "SEE LICENSE IN README.md",
|
|
26325
26366
|
publishConfig: {
|
|
26326
26367
|
access: "public"
|
package/dist/index.js
CHANGED
|
@@ -16061,7 +16061,7 @@ var init_zod = __esm({
|
|
|
16061
16061
|
});
|
|
16062
16062
|
|
|
16063
16063
|
// ../../packages/schemas/src/ids.ts
|
|
16064
|
-
var OpaqueIdSchema, ProfileIdSchema, EnvironmentIdSchema, IdentityIdSchema, ConnectionIdSchema, ExternalAccountIdSchema, OrganizationIdSchema, ProjectIdSchema, ProviderGrantIdSchema, ServiceAccountIdSchema, AgentIdSchema, SessionIdSchema, SessionCommandIdSchema, RuntimeIdSchema, RuntimeBridgeLeaseIdSchema,
|
|
16064
|
+
var OpaqueIdSchema, ProfileIdSchema, EnvironmentIdSchema, IdentityIdSchema, ConnectionIdSchema, ExternalAccountIdSchema, OrganizationIdSchema, ProjectIdSchema, ProviderGrantIdSchema, ServiceAccountIdSchema, AgentIdSchema, SessionIdSchema, SessionCommandIdSchema, RuntimeIdSchema, RuntimeBridgeLeaseIdSchema, EnvironmentSetupTemplateIdSchema, UserIdSchema;
|
|
16065
16065
|
var init_ids = __esm({
|
|
16066
16066
|
"../../packages/schemas/src/ids.ts"() {
|
|
16067
16067
|
"use strict";
|
|
@@ -16081,7 +16081,7 @@ var init_ids = __esm({
|
|
|
16081
16081
|
SessionCommandIdSchema = OpaqueIdSchema.brand();
|
|
16082
16082
|
RuntimeIdSchema = OpaqueIdSchema.brand();
|
|
16083
16083
|
RuntimeBridgeLeaseIdSchema = OpaqueIdSchema.brand();
|
|
16084
|
-
|
|
16084
|
+
EnvironmentSetupTemplateIdSchema = OpaqueIdSchema.brand();
|
|
16085
16085
|
UserIdSchema = OpaqueIdSchema.brand();
|
|
16086
16086
|
}
|
|
16087
16087
|
});
|
|
@@ -18671,16 +18671,19 @@ var init_project_service_accounts = __esm({
|
|
|
18671
18671
|
});
|
|
18672
18672
|
|
|
18673
18673
|
// ../../packages/schemas/src/project-resources.ts
|
|
18674
|
-
var EnvironmentApplyDocumentSchema, IdentityApplyDocumentSchema, AgentApplyDocumentSchema, ProjectApplyResourceSchema, PROJECT_RESOURCE_APPLY_ORDER, PROJECT_RESOURCE_KINDS, PROJECT_APPLY_RESOURCE_KINDS, ProjectDeleteResourceBaseSchema, ProjectDeleteResourceSchema, AVATAR_ASSET_CONTENT_TYPES, MAX_AVATAR_ASSET_BASE64_LENGTH, ProjectApplyAssetSchema, ProjectApplyAssetsSchema, AvatarAssetUploadRequestSchema, AvatarAssetUploadResponseSchema, ProjectApplyRequestSchema, ProjectApplySystemConfigSchema, ProjectAppliedResourceSchema, ProjectApplyDiagnosticSchema, ProjectApplyResponseSchema;
|
|
18674
|
+
var EnvironmentApplyDocumentSchema, IdentityApplyDocumentSchema, AgentApplyDocumentSchema, ProjectApplyResourceSchema, PROJECT_RESOURCE_APPLY_ORDER, PROJECT_RESOURCE_KINDS, PROJECT_APPLY_RESOURCE_KINDS, ProjectDeleteResourceBaseSchema, ProjectDeleteResourceSchema, AVATAR_ASSET_CONTENT_TYPES, MAX_AVATAR_ASSET_BASE64_LENGTH, ProjectApplyAssetSchema, ProjectApplyAssetsSchema, AvatarAssetUploadRequestSchema, AvatarAssetUploadResponseSchema, ProjectApplyRequestSchema, ProjectApplySystemConfigSchema, ProjectAppliedResourceSchema, ProjectApplyDiagnosticSchema, ProjectApplyResponsePrunedSchema, ProjectApplyResponseSchema, ProjectResourceApplyResultSchema, ProjectResourceApplyAuditActionSchema, ProjectResourceApplyOperationIdSchema, ProjectResourceApplyWorkflowErrorSchema, ProjectResourceApplyWorkflowInputSchema, ProjectResourceApplyWorkflowResultSchema;
|
|
18675
18675
|
var init_project_resources = __esm({
|
|
18676
18676
|
"../../packages/schemas/src/project-resources.ts"() {
|
|
18677
18677
|
"use strict";
|
|
18678
18678
|
init_zod();
|
|
18679
18679
|
init_agents();
|
|
18680
|
+
init_auth();
|
|
18680
18681
|
init_connections();
|
|
18681
18682
|
init_environments();
|
|
18682
18683
|
init_identities();
|
|
18684
|
+
init_ids();
|
|
18683
18685
|
init_resources();
|
|
18686
|
+
init_trigger_router();
|
|
18684
18687
|
EnvironmentApplyDocumentSchema = resourceApplyDocumentSchema(
|
|
18685
18688
|
RESOURCE_KIND_ENVIRONMENT,
|
|
18686
18689
|
EnvironmentApplyRequestSchema.shape.spec
|
|
@@ -18771,6 +18774,12 @@ var init_project_resources = __esm({
|
|
|
18771
18774
|
]),
|
|
18772
18775
|
name: external_exports.string().min(1)
|
|
18773
18776
|
});
|
|
18777
|
+
ProjectApplyResponsePrunedSchema = external_exports.object({
|
|
18778
|
+
kind: external_exports.enum(PROJECT_RESOURCE_KINDS),
|
|
18779
|
+
name: external_exports.string().min(1),
|
|
18780
|
+
uid: external_exports.string().min(1),
|
|
18781
|
+
heartbeatScheduleIds: external_exports.array(external_exports.string().min(1)).optional()
|
|
18782
|
+
});
|
|
18774
18783
|
ProjectApplyResponseSchema = external_exports.object({
|
|
18775
18784
|
dryRun: external_exports.boolean().default(false),
|
|
18776
18785
|
resources: external_exports.array(ProjectAppliedResourceSchema),
|
|
@@ -18784,14 +18793,49 @@ var init_project_resources = __esm({
|
|
|
18784
18793
|
uid: external_exports.string().min(1).optional()
|
|
18785
18794
|
})
|
|
18786
18795
|
).default([]),
|
|
18787
|
-
pruned: external_exports.array(
|
|
18796
|
+
pruned: external_exports.array(ProjectApplyResponsePrunedSchema).default([])
|
|
18797
|
+
});
|
|
18798
|
+
ProjectResourceApplyResultSchema = ProjectApplyResponseSchema.extend({
|
|
18799
|
+
heartbeatSchedules: external_exports.array(
|
|
18788
18800
|
external_exports.object({
|
|
18789
|
-
|
|
18790
|
-
|
|
18791
|
-
|
|
18801
|
+
scheduleId: external_exports.string().trim().min(1),
|
|
18802
|
+
cron: external_exports.string().trim().min(1),
|
|
18803
|
+
timezone: external_exports.string().trim().min(1),
|
|
18804
|
+
input: HeartbeatTickWorkflowInputSchema
|
|
18792
18805
|
})
|
|
18793
|
-
).default([])
|
|
18806
|
+
).default([]),
|
|
18807
|
+
deletedHeartbeatScheduleIds: external_exports.array(external_exports.string().trim().min(1)).default([])
|
|
18808
|
+
});
|
|
18809
|
+
ProjectResourceApplyAuditActionSchema = external_exports.enum([
|
|
18810
|
+
"project_resources.apply",
|
|
18811
|
+
"github_sync.apply"
|
|
18812
|
+
]);
|
|
18813
|
+
ProjectResourceApplyOperationIdSchema = external_exports.string().trim().min(1).max(512);
|
|
18814
|
+
ProjectResourceApplyWorkflowErrorSchema = external_exports.object({
|
|
18815
|
+
name: external_exports.string().trim().min(1),
|
|
18816
|
+
message: external_exports.string().trim().min(1)
|
|
18794
18817
|
});
|
|
18818
|
+
ProjectResourceApplyWorkflowInputSchema = external_exports.object({
|
|
18819
|
+
operationId: ProjectResourceApplyOperationIdSchema,
|
|
18820
|
+
request: ProjectApplyRequestSchema,
|
|
18821
|
+
organizationId: OrganizationIdSchema,
|
|
18822
|
+
projectId: ProjectIdSchema.nullable().optional(),
|
|
18823
|
+
actor: AuthActorSchema,
|
|
18824
|
+
auditAction: ProjectResourceApplyAuditActionSchema
|
|
18825
|
+
});
|
|
18826
|
+
ProjectResourceApplyWorkflowResultSchema = external_exports.discriminatedUnion(
|
|
18827
|
+
"status",
|
|
18828
|
+
[
|
|
18829
|
+
external_exports.object({
|
|
18830
|
+
status: external_exports.literal("applied"),
|
|
18831
|
+
result: ProjectResourceApplyResultSchema
|
|
18832
|
+
}),
|
|
18833
|
+
external_exports.object({
|
|
18834
|
+
status: external_exports.literal("failed"),
|
|
18835
|
+
error: ProjectResourceApplyWorkflowErrorSchema
|
|
18836
|
+
})
|
|
18837
|
+
]
|
|
18838
|
+
);
|
|
18795
18839
|
}
|
|
18796
18840
|
});
|
|
18797
18841
|
|
|
@@ -21330,7 +21374,7 @@ var init_package = __esm({
|
|
|
21330
21374
|
"package.json"() {
|
|
21331
21375
|
package_default = {
|
|
21332
21376
|
name: "@autohq/cli",
|
|
21333
|
-
version: "0.1.
|
|
21377
|
+
version: "0.1.157",
|
|
21334
21378
|
license: "SEE LICENSE IN README.md",
|
|
21335
21379
|
publishConfig: {
|
|
21336
21380
|
access: "public"
|