@autohq/cli 0.1.452 → 0.1.453
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 +38 -3
- package/dist/index.js +41 -6
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -30825,7 +30825,7 @@ Object.assign(lookup, {
|
|
|
30825
30825
|
// package.json
|
|
30826
30826
|
var package_default = {
|
|
30827
30827
|
name: "@autohq/cli",
|
|
30828
|
-
version: "0.1.
|
|
30828
|
+
version: "0.1.453",
|
|
30829
30829
|
license: "SEE LICENSE IN README.md",
|
|
30830
30830
|
publishConfig: {
|
|
30831
30831
|
access: "public"
|
|
@@ -31564,13 +31564,23 @@ var ConnectionListResponseSchema = external_exports.object({
|
|
|
31564
31564
|
connections: external_exports.array(ConnectionViewSchema)
|
|
31565
31565
|
});
|
|
31566
31566
|
var ConnectionRepositorySchema = external_exports.object({
|
|
31567
|
-
|
|
31567
|
+
id: external_exports.string().trim().min(1),
|
|
31568
|
+
fullName: external_exports.string().trim().min(1),
|
|
31569
|
+
defaultBranch: external_exports.string().trim().min(1),
|
|
31570
|
+
availability: external_exports.enum(["available", "needs_access", "connection_error"])
|
|
31571
|
+
});
|
|
31572
|
+
var ConnectionRepositorySourceSchema = external_exports.object({
|
|
31573
|
+
connection: external_exports.string().trim().min(1),
|
|
31574
|
+
providerGrantId: external_exports.string().trim().min(1),
|
|
31575
|
+
installationId: external_exports.string().trim().min(1)
|
|
31568
31576
|
});
|
|
31569
31577
|
var ConnectionRepositoryListResponseSchema = external_exports.object({
|
|
31578
|
+
source: ConnectionRepositorySourceSchema,
|
|
31570
31579
|
repositories: external_exports.array(ConnectionRepositorySchema),
|
|
31571
31580
|
/**
|
|
31572
31581
|
* True when the provider exposes more repositories than the listing cap;
|
|
31573
|
-
* the returned list is a prefix and clients should
|
|
31582
|
+
* the returned list is a prefix and clients should direct the user to the
|
|
31583
|
+
* provider's installation settings instead of accepting an unverified name.
|
|
31574
31584
|
*/
|
|
31575
31585
|
truncated: external_exports.boolean()
|
|
31576
31586
|
});
|
|
@@ -33482,6 +33492,28 @@ var GithubConnectionRepositorySchema = external_exports.object({
|
|
|
33482
33492
|
id: external_exports.number().int().positive().optional(),
|
|
33483
33493
|
fullName: external_exports.string().trim().min(1)
|
|
33484
33494
|
});
|
|
33495
|
+
var ProjectGithubRepositorySelectionReplaceRequestSchema = external_exports.object({
|
|
33496
|
+
connection: ConnectionNameSchema,
|
|
33497
|
+
repositoryIds: external_exports.array(external_exports.string().trim().min(1)),
|
|
33498
|
+
disableSync: external_exports.boolean().default(false)
|
|
33499
|
+
});
|
|
33500
|
+
var ProjectGithubRepositorySelectionReplaceResponseSchema = external_exports.object({
|
|
33501
|
+
connection: ConnectionNameSchema,
|
|
33502
|
+
providerGrantId: external_exports.string().trim().min(1),
|
|
33503
|
+
repositoryIds: external_exports.array(external_exports.string().trim().min(1)),
|
|
33504
|
+
changed: external_exports.boolean(),
|
|
33505
|
+
syncDisabled: external_exports.boolean()
|
|
33506
|
+
});
|
|
33507
|
+
var ProjectGithubConnectionDisconnectRequestSchema = external_exports.object({
|
|
33508
|
+
connection: ConnectionNameSchema,
|
|
33509
|
+
disableSync: external_exports.boolean().default(false)
|
|
33510
|
+
});
|
|
33511
|
+
var ProjectGithubConnectionDisconnectResponseSchema = external_exports.object({
|
|
33512
|
+
connection: ConnectionNameSchema,
|
|
33513
|
+
providerGrantId: external_exports.string().trim().min(1),
|
|
33514
|
+
disconnected: external_exports.boolean(),
|
|
33515
|
+
syncDisabled: external_exports.boolean()
|
|
33516
|
+
});
|
|
33485
33517
|
var GITHUB_CONNECTION_EVENTS = [
|
|
33486
33518
|
"push",
|
|
33487
33519
|
"pull_request",
|
|
@@ -33726,6 +33758,9 @@ var GithubSyncBindingCreateResponseSchema = external_exports.object({
|
|
|
33726
33758
|
var GithubSyncBindingListResponseSchema = external_exports.object({
|
|
33727
33759
|
bindings: external_exports.array(GithubSyncBindingSchema)
|
|
33728
33760
|
});
|
|
33761
|
+
var GithubSyncBindingDisableResponseSchema = external_exports.object({
|
|
33762
|
+
binding: GithubSyncBindingSchema.nullable()
|
|
33763
|
+
});
|
|
33729
33764
|
var GithubSyncTriggerArtifactSchema = external_exports.object({
|
|
33730
33765
|
type: external_exports.string().trim().min(1),
|
|
33731
33766
|
externalId: external_exports.string().trim().min(1),
|
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, ConnectionRepositoryListResponseSchema;
|
|
15240
|
+
var ProviderNameSchema, ExternalAccountTypeSchema, ProviderCredentialKindSchema, ProviderGrantStatusSchema, 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";
|
|
@@ -15314,13 +15314,23 @@ var init_provider_grants = __esm({
|
|
|
15314
15314
|
connections: external_exports.array(ConnectionViewSchema)
|
|
15315
15315
|
});
|
|
15316
15316
|
ConnectionRepositorySchema = external_exports.object({
|
|
15317
|
-
|
|
15317
|
+
id: external_exports.string().trim().min(1),
|
|
15318
|
+
fullName: external_exports.string().trim().min(1),
|
|
15319
|
+
defaultBranch: external_exports.string().trim().min(1),
|
|
15320
|
+
availability: external_exports.enum(["available", "needs_access", "connection_error"])
|
|
15321
|
+
});
|
|
15322
|
+
ConnectionRepositorySourceSchema = external_exports.object({
|
|
15323
|
+
connection: external_exports.string().trim().min(1),
|
|
15324
|
+
providerGrantId: external_exports.string().trim().min(1),
|
|
15325
|
+
installationId: external_exports.string().trim().min(1)
|
|
15318
15326
|
});
|
|
15319
15327
|
ConnectionRepositoryListResponseSchema = external_exports.object({
|
|
15328
|
+
source: ConnectionRepositorySourceSchema,
|
|
15320
15329
|
repositories: external_exports.array(ConnectionRepositorySchema),
|
|
15321
15330
|
/**
|
|
15322
15331
|
* True when the provider exposes more repositories than the listing cap;
|
|
15323
|
-
* the returned list is a prefix and clients should
|
|
15332
|
+
* the returned list is a prefix and clients should direct the user to the
|
|
15333
|
+
* provider's installation settings instead of accepting an unverified name.
|
|
15324
15334
|
*/
|
|
15325
15335
|
truncated: external_exports.boolean()
|
|
15326
15336
|
});
|
|
@@ -17388,7 +17398,7 @@ var init_resources = __esm({
|
|
|
17388
17398
|
});
|
|
17389
17399
|
|
|
17390
17400
|
// ../../packages/schemas/src/connections.ts
|
|
17391
|
-
var RESOURCE_KIND_CONNECTION, ConnectionNameSchema, ProviderConnectionReferenceSchema, ProjectConnectionAllocationSpecSchema, ProjectConnectionAllocationResourceSchema, GithubConnectionAccountSchema, GithubConnectionRepositorySchema, GITHUB_CONNECTION_EVENTS, GithubConnectionEventSchema, GithubConnectionSpecSchema, ConnectionSpecSchema, ConnectionResourceSchema, ConnectionApplyRequestSchema, ConnectionStartReturnToSchema, ConnectionStartRequestSchema, ConnectionProviderDescriptorSchema, ConnectionProviderListResponseSchema, ConnectionStartResponseSchema, TelegramConnectionCreateRequestSchema, TelegramManagerBotSummarySchema, TelegramConnectionCreateResponseSchema, ModelProviderConnectionCreateRequestSchema, ModelProviderConnectionCreateResponseSchema, ConnectionAllowRequestSchema, SlackConfigTokenRegisterRequestSchema, SlackConfigTokenRegisterResponseSchema, ConnectionAllowResponseSchema, ConnectionRemoveRequestSchema, ConnectionRemoveResponseSchema;
|
|
17401
|
+
var RESOURCE_KIND_CONNECTION, ConnectionNameSchema, ProviderConnectionReferenceSchema, ProjectConnectionAllocationSpecSchema, ProjectConnectionAllocationResourceSchema, GithubConnectionAccountSchema, GithubConnectionRepositorySchema, ProjectGithubRepositorySelectionReplaceRequestSchema, ProjectGithubRepositorySelectionReplaceResponseSchema, ProjectGithubConnectionDisconnectRequestSchema, ProjectGithubConnectionDisconnectResponseSchema, GITHUB_CONNECTION_EVENTS, GithubConnectionEventSchema, GithubConnectionSpecSchema, ConnectionSpecSchema, ConnectionResourceSchema, ConnectionApplyRequestSchema, ConnectionStartReturnToSchema, ConnectionStartRequestSchema, ConnectionProviderDescriptorSchema, ConnectionProviderListResponseSchema, ConnectionStartResponseSchema, TelegramConnectionCreateRequestSchema, TelegramManagerBotSummarySchema, TelegramConnectionCreateResponseSchema, ModelProviderConnectionCreateRequestSchema, ModelProviderConnectionCreateResponseSchema, ConnectionAllowRequestSchema, SlackConfigTokenRegisterRequestSchema, SlackConfigTokenRegisterResponseSchema, ConnectionAllowResponseSchema, ConnectionRemoveRequestSchema, ConnectionRemoveResponseSchema;
|
|
17392
17402
|
var init_connections = __esm({
|
|
17393
17403
|
"../../packages/schemas/src/connections.ts"() {
|
|
17394
17404
|
"use strict";
|
|
@@ -17417,6 +17427,28 @@ var init_connections = __esm({
|
|
|
17417
17427
|
id: external_exports.number().int().positive().optional(),
|
|
17418
17428
|
fullName: external_exports.string().trim().min(1)
|
|
17419
17429
|
});
|
|
17430
|
+
ProjectGithubRepositorySelectionReplaceRequestSchema = external_exports.object({
|
|
17431
|
+
connection: ConnectionNameSchema,
|
|
17432
|
+
repositoryIds: external_exports.array(external_exports.string().trim().min(1)),
|
|
17433
|
+
disableSync: external_exports.boolean().default(false)
|
|
17434
|
+
});
|
|
17435
|
+
ProjectGithubRepositorySelectionReplaceResponseSchema = external_exports.object({
|
|
17436
|
+
connection: ConnectionNameSchema,
|
|
17437
|
+
providerGrantId: external_exports.string().trim().min(1),
|
|
17438
|
+
repositoryIds: external_exports.array(external_exports.string().trim().min(1)),
|
|
17439
|
+
changed: external_exports.boolean(),
|
|
17440
|
+
syncDisabled: external_exports.boolean()
|
|
17441
|
+
});
|
|
17442
|
+
ProjectGithubConnectionDisconnectRequestSchema = external_exports.object({
|
|
17443
|
+
connection: ConnectionNameSchema,
|
|
17444
|
+
disableSync: external_exports.boolean().default(false)
|
|
17445
|
+
});
|
|
17446
|
+
ProjectGithubConnectionDisconnectResponseSchema = external_exports.object({
|
|
17447
|
+
connection: ConnectionNameSchema,
|
|
17448
|
+
providerGrantId: external_exports.string().trim().min(1),
|
|
17449
|
+
disconnected: external_exports.boolean(),
|
|
17450
|
+
syncDisabled: external_exports.boolean()
|
|
17451
|
+
});
|
|
17420
17452
|
GITHUB_CONNECTION_EVENTS = [
|
|
17421
17453
|
"push",
|
|
17422
17454
|
"pull_request",
|
|
@@ -17619,7 +17651,7 @@ var init_dormant_capabilities = __esm({
|
|
|
17619
17651
|
});
|
|
17620
17652
|
|
|
17621
17653
|
// ../../packages/schemas/src/github-sync.ts
|
|
17622
|
-
var GITHUB_SYNC_AUTO_PATH, GITHUB_SYNC_CI_WATCHDOG_DEFAULT_DELAY_MS, GithubSyncRepositoryFullNameSchema, GithubSyncProductionBranchSchema, GithubSyncCiWatchdogWorkflowSchema, GithubSyncCiWatchdogSchema, GithubSyncBindingSchema, GithubSyncBindingCreateRequestSchema, GithubSyncInitialSyncSchema, GithubSyncBindingCreateResponseSchema, GithubSyncBindingListResponseSchema, GithubSyncTriggerArtifactSchema, GithubSyncWorkflowInputSchema, GithubSyncWorkflowResultSchema;
|
|
17654
|
+
var GITHUB_SYNC_AUTO_PATH, GITHUB_SYNC_CI_WATCHDOG_DEFAULT_DELAY_MS, GithubSyncRepositoryFullNameSchema, GithubSyncProductionBranchSchema, GithubSyncCiWatchdogWorkflowSchema, GithubSyncCiWatchdogSchema, GithubSyncBindingSchema, GithubSyncBindingCreateRequestSchema, GithubSyncInitialSyncSchema, GithubSyncBindingCreateResponseSchema, GithubSyncBindingListResponseSchema, GithubSyncBindingDisableResponseSchema, GithubSyncTriggerArtifactSchema, GithubSyncWorkflowInputSchema, GithubSyncWorkflowResultSchema;
|
|
17623
17655
|
var init_github_sync = __esm({
|
|
17624
17656
|
"../../packages/schemas/src/github-sync.ts"() {
|
|
17625
17657
|
"use strict";
|
|
@@ -17684,6 +17716,9 @@ var init_github_sync = __esm({
|
|
|
17684
17716
|
GithubSyncBindingListResponseSchema = external_exports.object({
|
|
17685
17717
|
bindings: external_exports.array(GithubSyncBindingSchema)
|
|
17686
17718
|
});
|
|
17719
|
+
GithubSyncBindingDisableResponseSchema = external_exports.object({
|
|
17720
|
+
binding: GithubSyncBindingSchema.nullable()
|
|
17721
|
+
});
|
|
17687
17722
|
GithubSyncTriggerArtifactSchema = external_exports.object({
|
|
17688
17723
|
type: external_exports.string().trim().min(1),
|
|
17689
17724
|
externalId: external_exports.string().trim().min(1),
|
|
@@ -50835,7 +50870,7 @@ var init_package = __esm({
|
|
|
50835
50870
|
"package.json"() {
|
|
50836
50871
|
package_default = {
|
|
50837
50872
|
name: "@autohq/cli",
|
|
50838
|
-
version: "0.1.
|
|
50873
|
+
version: "0.1.453",
|
|
50839
50874
|
license: "SEE LICENSE IN README.md",
|
|
50840
50875
|
publishConfig: {
|
|
50841
50876
|
access: "public"
|