@autohq/cli 0.1.475 → 0.1.477
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 +21 -24
- package/dist/index.js +23 -26
- 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.477",
|
|
30870
30870
|
license: "SEE LICENSE IN README.md",
|
|
30871
30871
|
publishConfig: {
|
|
30872
30872
|
access: "public"
|
|
@@ -31611,7 +31611,22 @@ var ProviderCredentialKindSchema = external_exports.enum([
|
|
|
31611
31611
|
"webhook",
|
|
31612
31612
|
"internal"
|
|
31613
31613
|
]);
|
|
31614
|
-
var ProviderGrantStatusSchema = external_exports.enum([
|
|
31614
|
+
var ProviderGrantStatusSchema = external_exports.enum([
|
|
31615
|
+
"active",
|
|
31616
|
+
"suspended",
|
|
31617
|
+
"revoked",
|
|
31618
|
+
"error"
|
|
31619
|
+
]);
|
|
31620
|
+
var PROVIDER_GRANT_STATUS_REASONS = [
|
|
31621
|
+
"suspended_from_github",
|
|
31622
|
+
"uninstalled_from_github",
|
|
31623
|
+
"superseded",
|
|
31624
|
+
"disconnected",
|
|
31625
|
+
"provider_error"
|
|
31626
|
+
];
|
|
31627
|
+
var ProviderGrantStatusReasonSchema = external_exports.enum(
|
|
31628
|
+
PROVIDER_GRANT_STATUS_REASONS
|
|
31629
|
+
);
|
|
31615
31630
|
var ProviderResourceSelectionSchema = external_exports.discriminatedUnion("kind", [
|
|
31616
31631
|
external_exports.object({
|
|
31617
31632
|
kind: external_exports.literal("all")
|
|
@@ -31640,6 +31655,8 @@ var ProviderGrantSchema = external_exports.object({
|
|
|
31640
31655
|
kind: "all"
|
|
31641
31656
|
}),
|
|
31642
31657
|
status: ProviderGrantStatusSchema,
|
|
31658
|
+
statusReason: ProviderGrantStatusReasonSchema.nullable().default(null),
|
|
31659
|
+
statusDetectedAt: external_exports.coerce.date().nullable().default(null),
|
|
31643
31660
|
/**
|
|
31644
31661
|
* Scopes the server's current configuration requests that this grant has
|
|
31645
31662
|
* not granted. Computed at read time against the deployed scope list, never
|
|
@@ -33703,29 +33720,9 @@ var GithubConnectionRepositorySchema = external_exports.object({
|
|
|
33703
33720
|
id: external_exports.number().int().positive().optional(),
|
|
33704
33721
|
fullName: external_exports.string().trim().min(1)
|
|
33705
33722
|
});
|
|
33706
|
-
var ProjectGithubRepositorySelectionReplaceRequestSchema = external_exports.object({
|
|
33707
|
-
connection: ConnectionNameSchema,
|
|
33708
|
-
repositoryIds: external_exports.array(external_exports.string().trim().min(1)),
|
|
33709
|
-
disableSync: external_exports.boolean().default(false)
|
|
33710
|
-
});
|
|
33711
|
-
var ProjectGithubRepositorySelectionReplaceResponseSchema = external_exports.object({
|
|
33712
|
-
connection: ConnectionNameSchema,
|
|
33713
|
-
providerGrantId: external_exports.string().trim().min(1),
|
|
33714
|
-
repositoryIds: external_exports.array(external_exports.string().trim().min(1)),
|
|
33715
|
-
changed: external_exports.boolean(),
|
|
33716
|
-
syncDisabled: external_exports.boolean()
|
|
33717
|
-
});
|
|
33718
|
-
var ProjectGithubConnectionDisconnectRequestSchema = external_exports.object({
|
|
33719
|
-
connection: ConnectionNameSchema,
|
|
33720
|
-
disableSync: external_exports.boolean().default(false)
|
|
33721
|
-
});
|
|
33722
|
-
var ProjectGithubConnectionDisconnectResponseSchema = external_exports.object({
|
|
33723
|
-
connection: ConnectionNameSchema,
|
|
33724
|
-
providerGrantId: external_exports.string().trim().min(1),
|
|
33725
|
-
disconnected: external_exports.boolean(),
|
|
33726
|
-
syncDisabled: external_exports.boolean()
|
|
33727
|
-
});
|
|
33728
33723
|
var GITHUB_CONNECTION_EVENTS = [
|
|
33724
|
+
"installation",
|
|
33725
|
+
"installation_repositories",
|
|
33729
33726
|
"push",
|
|
33730
33727
|
"pull_request",
|
|
33731
33728
|
"check_run",
|
package/dist/index.js
CHANGED
|
@@ -15237,7 +15237,7 @@ var init_primitives = __esm({
|
|
|
15237
15237
|
});
|
|
15238
15238
|
|
|
15239
15239
|
// ../../packages/schemas/src/provider-grants.ts
|
|
15240
|
-
var ProviderNameSchema, ExternalAccountTypeSchema, ProviderCredentialKindSchema, ProviderGrantStatusSchema, ProviderResourceSelectionSchema, ExternalAccountSchema, ProviderGrantSchema, ProjectProviderAccessSchema, ConnectionViewSchema, ConnectionListResponseSchema, ConnectionRepositorySchema, ConnectionRepositorySourceSchema, ConnectionRepositoryListResponseSchema;
|
|
15240
|
+
var ProviderNameSchema, ExternalAccountTypeSchema, ProviderCredentialKindSchema, ProviderGrantStatusSchema, PROVIDER_GRANT_STATUS_REASONS, ProviderGrantStatusReasonSchema, ProviderResourceSelectionSchema, ExternalAccountSchema, ProviderGrantSchema, ProjectProviderAccessSchema, ConnectionViewSchema, ConnectionListResponseSchema, ConnectionRepositorySchema, ConnectionRepositorySourceSchema, ConnectionRepositoryListResponseSchema;
|
|
15241
15241
|
var init_provider_grants = __esm({
|
|
15242
15242
|
"../../packages/schemas/src/provider-grants.ts"() {
|
|
15243
15243
|
"use strict";
|
|
@@ -15259,7 +15259,22 @@ var init_provider_grants = __esm({
|
|
|
15259
15259
|
"webhook",
|
|
15260
15260
|
"internal"
|
|
15261
15261
|
]);
|
|
15262
|
-
ProviderGrantStatusSchema = external_exports.enum([
|
|
15262
|
+
ProviderGrantStatusSchema = external_exports.enum([
|
|
15263
|
+
"active",
|
|
15264
|
+
"suspended",
|
|
15265
|
+
"revoked",
|
|
15266
|
+
"error"
|
|
15267
|
+
]);
|
|
15268
|
+
PROVIDER_GRANT_STATUS_REASONS = [
|
|
15269
|
+
"suspended_from_github",
|
|
15270
|
+
"uninstalled_from_github",
|
|
15271
|
+
"superseded",
|
|
15272
|
+
"disconnected",
|
|
15273
|
+
"provider_error"
|
|
15274
|
+
];
|
|
15275
|
+
ProviderGrantStatusReasonSchema = external_exports.enum(
|
|
15276
|
+
PROVIDER_GRANT_STATUS_REASONS
|
|
15277
|
+
);
|
|
15263
15278
|
ProviderResourceSelectionSchema = external_exports.discriminatedUnion("kind", [
|
|
15264
15279
|
external_exports.object({
|
|
15265
15280
|
kind: external_exports.literal("all")
|
|
@@ -15288,6 +15303,8 @@ var init_provider_grants = __esm({
|
|
|
15288
15303
|
kind: "all"
|
|
15289
15304
|
}),
|
|
15290
15305
|
status: ProviderGrantStatusSchema,
|
|
15306
|
+
statusReason: ProviderGrantStatusReasonSchema.nullable().default(null),
|
|
15307
|
+
statusDetectedAt: external_exports.coerce.date().nullable().default(null),
|
|
15291
15308
|
/**
|
|
15292
15309
|
* Scopes the server's current configuration requests that this grant has
|
|
15293
15310
|
* not granted. Computed at read time against the deployed scope list, never
|
|
@@ -17507,7 +17524,7 @@ var init_resources = __esm({
|
|
|
17507
17524
|
});
|
|
17508
17525
|
|
|
17509
17526
|
// ../../packages/schemas/src/connections.ts
|
|
17510
|
-
var RESOURCE_KIND_CONNECTION, ConnectionNameSchema, ProviderConnectionReferenceSchema, ProjectConnectionAllocationSpecSchema, ProjectConnectionAllocationResourceSchema, GithubConnectionAccountSchema, GithubConnectionRepositorySchema,
|
|
17527
|
+
var RESOURCE_KIND_CONNECTION, ConnectionNameSchema, ProviderConnectionReferenceSchema, ProjectConnectionAllocationSpecSchema, ProjectConnectionAllocationResourceSchema, GithubConnectionAccountSchema, GithubConnectionRepositorySchema, GITHUB_CONNECTION_EVENTS, GithubConnectionEventSchema, GithubConnectionSpecSchema, ConnectionSpecSchema, ConnectionResourceSchema, ConnectionApplyRequestSchema, ConnectionStartReturnToSchema, GithubRepositoryPickerDestinationSchema, GithubRepositoryPickerContinuationSchema, ConnectionStartRequestSchema, ConnectionProviderDescriptorSchema, ConnectionProviderListResponseSchema, ConnectionStartResponseSchema, TelegramConnectionCreateRequestSchema, TelegramManagerBotSummarySchema, TelegramConnectionCreateResponseSchema, ModelProviderConnectionCreateRequestSchema, ModelProviderConnectionCreateResponseSchema, ConnectionAllowRequestSchema, SlackConfigTokenRegisterRequestSchema, SlackConfigTokenRegisterResponseSchema, ConnectionAllowResponseSchema, ConnectionRemoveRequestSchema, ConnectionRemoveResponseSchema;
|
|
17511
17528
|
var init_connections = __esm({
|
|
17512
17529
|
"../../packages/schemas/src/connections.ts"() {
|
|
17513
17530
|
"use strict";
|
|
@@ -17536,29 +17553,9 @@ var init_connections = __esm({
|
|
|
17536
17553
|
id: external_exports.number().int().positive().optional(),
|
|
17537
17554
|
fullName: external_exports.string().trim().min(1)
|
|
17538
17555
|
});
|
|
17539
|
-
ProjectGithubRepositorySelectionReplaceRequestSchema = external_exports.object({
|
|
17540
|
-
connection: ConnectionNameSchema,
|
|
17541
|
-
repositoryIds: external_exports.array(external_exports.string().trim().min(1)),
|
|
17542
|
-
disableSync: external_exports.boolean().default(false)
|
|
17543
|
-
});
|
|
17544
|
-
ProjectGithubRepositorySelectionReplaceResponseSchema = external_exports.object({
|
|
17545
|
-
connection: ConnectionNameSchema,
|
|
17546
|
-
providerGrantId: external_exports.string().trim().min(1),
|
|
17547
|
-
repositoryIds: external_exports.array(external_exports.string().trim().min(1)),
|
|
17548
|
-
changed: external_exports.boolean(),
|
|
17549
|
-
syncDisabled: external_exports.boolean()
|
|
17550
|
-
});
|
|
17551
|
-
ProjectGithubConnectionDisconnectRequestSchema = external_exports.object({
|
|
17552
|
-
connection: ConnectionNameSchema,
|
|
17553
|
-
disableSync: external_exports.boolean().default(false)
|
|
17554
|
-
});
|
|
17555
|
-
ProjectGithubConnectionDisconnectResponseSchema = external_exports.object({
|
|
17556
|
-
connection: ConnectionNameSchema,
|
|
17557
|
-
providerGrantId: external_exports.string().trim().min(1),
|
|
17558
|
-
disconnected: external_exports.boolean(),
|
|
17559
|
-
syncDisabled: external_exports.boolean()
|
|
17560
|
-
});
|
|
17561
17556
|
GITHUB_CONNECTION_EVENTS = [
|
|
17557
|
+
"installation",
|
|
17558
|
+
"installation_repositories",
|
|
17562
17559
|
"push",
|
|
17563
17560
|
"pull_request",
|
|
17564
17561
|
"check_run",
|
|
@@ -57687,7 +57684,7 @@ var init_package = __esm({
|
|
|
57687
57684
|
"package.json"() {
|
|
57688
57685
|
package_default = {
|
|
57689
57686
|
name: "@autohq/cli",
|
|
57690
|
-
version: "0.1.
|
|
57687
|
+
version: "0.1.477",
|
|
57691
57688
|
license: "SEE LICENSE IN README.md",
|
|
57692
57689
|
publishConfig: {
|
|
57693
57690
|
access: "public"
|