@amerged/ohmyhost-cli 0.1.71 → 0.1.73
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/README.md +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-OMMRWO6A.js → chunk-5R7JYYZD.js} +312 -137
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/apps/product-cli/package.json +1 -1
- package/src/apps/product-cli/src/cli.ts +11 -1
- package/src/apps/product-cli/src/command.ts +86 -1
- package/src/apps/product-cli/src/product-api.ts +25 -0
- package/src/packages/contracts/src/connection-management.ts +106 -2
- package/src/packages/contracts/src/operation-failure.ts +4 -0
- package/src/packages/contracts/src/problem-policy.ts +1 -1
- package/src/packages/sdk-ts/package.json +1 -1
- package/src/packages/sdk-ts/src/generated/index.ts +16 -0
- package/src/packages/sdk-ts/src/generated/mcp-remote.gen.ts +253 -4
- package/src/packages/sdk-ts/src/generated/sdk.gen.ts +118 -2
- package/src/packages/sdk-ts/src/generated/types.gen.ts +148 -0
|
@@ -72,9 +72,9 @@ import {
|
|
|
72
72
|
writeProjectDatabase,
|
|
73
73
|
} from "./sdk.gen.js";
|
|
74
74
|
export const remoteMcpContractSha256 =
|
|
75
|
-
"
|
|
75
|
+
"1cb53afbb2abd3322167436062b0925bc9d931a34da1ab5d9bb33dff0abf8e3c";
|
|
76
76
|
export const remoteMcpContractVersion = "0.0.0";
|
|
77
|
-
export const remoteMcpReleaseVersion = "0.1.
|
|
77
|
+
export const remoteMcpReleaseVersion = "0.1.73";
|
|
78
78
|
export interface RemoteMcpOperation {
|
|
79
79
|
operationId: string;
|
|
80
80
|
method: string;
|
|
@@ -807,6 +807,227 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
807
807
|
},
|
|
808
808
|
},
|
|
809
809
|
},
|
|
810
|
+
{
|
|
811
|
+
inputSchema: {
|
|
812
|
+
type: "object",
|
|
813
|
+
additionalProperties: false,
|
|
814
|
+
required: [
|
|
815
|
+
"organization_id",
|
|
816
|
+
"grant_id",
|
|
817
|
+
"idempotency_key",
|
|
818
|
+
"provider_organization_id",
|
|
819
|
+
"team_id",
|
|
820
|
+
"selections",
|
|
821
|
+
],
|
|
822
|
+
properties: {
|
|
823
|
+
organization_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
824
|
+
grant_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
825
|
+
idempotency_key: {
|
|
826
|
+
type: "string",
|
|
827
|
+
minLength: 1,
|
|
828
|
+
maxLength: 128,
|
|
829
|
+
pattern: "^[A-Za-z0-9._:-]+$",
|
|
830
|
+
description:
|
|
831
|
+
"Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.",
|
|
832
|
+
},
|
|
833
|
+
provider_organization_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
|
|
834
|
+
team_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
|
|
835
|
+
selections: {
|
|
836
|
+
type: "array",
|
|
837
|
+
minItems: 1,
|
|
838
|
+
maxItems: 64,
|
|
839
|
+
items: {
|
|
840
|
+
type: "object",
|
|
841
|
+
additionalProperties: false,
|
|
842
|
+
required: ["app_name", "app_version"],
|
|
843
|
+
anyOf: [{ required: ["module_ids"] }, { required: ["endpoint_names"] }],
|
|
844
|
+
properties: {
|
|
845
|
+
app_name: {
|
|
846
|
+
type: "string",
|
|
847
|
+
pattern: "^[A-Za-z0-9_-]{1,128}$",
|
|
848
|
+
description: "A Make standard app identifier.",
|
|
849
|
+
},
|
|
850
|
+
app_version: { type: "integer", minimum: 1, maximum: 9007199254740991 },
|
|
851
|
+
module_ids: {
|
|
852
|
+
type: "array",
|
|
853
|
+
minItems: 1,
|
|
854
|
+
maxItems: 64,
|
|
855
|
+
uniqueItems: true,
|
|
856
|
+
items: { type: "string", pattern: "^[A-Za-z0-9_.:-]{1,128}$" },
|
|
857
|
+
},
|
|
858
|
+
endpoint_names: {
|
|
859
|
+
type: "array",
|
|
860
|
+
minItems: 1,
|
|
861
|
+
maxItems: 64,
|
|
862
|
+
uniqueItems: true,
|
|
863
|
+
items: { type: "string", pattern: "^[A-Za-z0-9_-]{1,128}$" },
|
|
864
|
+
},
|
|
865
|
+
},
|
|
866
|
+
},
|
|
867
|
+
},
|
|
868
|
+
},
|
|
869
|
+
},
|
|
870
|
+
operationId: "createMakeCredentialRequest",
|
|
871
|
+
method: "POST",
|
|
872
|
+
path: "/v1/organizations/{organization_id}/connections/{grant_id}/credential-requests",
|
|
873
|
+
summary: "Create a native Make Credential Request",
|
|
874
|
+
description:
|
|
875
|
+
"Uses the workspace owner's Make grant to create a private Make authorization link for selected standard app modules or Endpoints. Retry the same logical request with the same idempotency key and selections. Treat an uncertain result as pending investigation.",
|
|
876
|
+
disposition: "named",
|
|
877
|
+
toolNames: ["integration_credential_request_create"],
|
|
878
|
+
requestBody: {
|
|
879
|
+
required: true,
|
|
880
|
+
content: {
|
|
881
|
+
"application/json": {
|
|
882
|
+
schema: {
|
|
883
|
+
type: "object",
|
|
884
|
+
additionalProperties: false,
|
|
885
|
+
required: ["provider_organization_id", "team_id", "selections"],
|
|
886
|
+
properties: {
|
|
887
|
+
provider_organization_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
|
|
888
|
+
team_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
|
|
889
|
+
selections: {
|
|
890
|
+
type: "array",
|
|
891
|
+
minItems: 1,
|
|
892
|
+
maxItems: 64,
|
|
893
|
+
items: {
|
|
894
|
+
type: "object",
|
|
895
|
+
additionalProperties: false,
|
|
896
|
+
required: ["app_name", "app_version"],
|
|
897
|
+
anyOf: [{ required: ["module_ids"] }, { required: ["endpoint_names"] }],
|
|
898
|
+
properties: {
|
|
899
|
+
app_name: {
|
|
900
|
+
type: "string",
|
|
901
|
+
pattern: "^[A-Za-z0-9_-]{1,128}$",
|
|
902
|
+
description: "A Make standard app identifier.",
|
|
903
|
+
},
|
|
904
|
+
app_version: { type: "integer", minimum: 1, maximum: 9007199254740991 },
|
|
905
|
+
module_ids: {
|
|
906
|
+
type: "array",
|
|
907
|
+
minItems: 1,
|
|
908
|
+
maxItems: 64,
|
|
909
|
+
uniqueItems: true,
|
|
910
|
+
items: { type: "string", pattern: "^[A-Za-z0-9_.:-]{1,128}$" },
|
|
911
|
+
},
|
|
912
|
+
endpoint_names: {
|
|
913
|
+
type: "array",
|
|
914
|
+
minItems: 1,
|
|
915
|
+
maxItems: 64,
|
|
916
|
+
uniqueItems: true,
|
|
917
|
+
items: { type: "string", pattern: "^[A-Za-z0-9_-]{1,128}$" },
|
|
918
|
+
},
|
|
919
|
+
},
|
|
920
|
+
},
|
|
921
|
+
},
|
|
922
|
+
},
|
|
923
|
+
},
|
|
924
|
+
},
|
|
925
|
+
},
|
|
926
|
+
},
|
|
927
|
+
parameters: [
|
|
928
|
+
{
|
|
929
|
+
name: "X-Request-Id",
|
|
930
|
+
in: "header",
|
|
931
|
+
description: "Optional caller-provided correlation identifier.",
|
|
932
|
+
required: false,
|
|
933
|
+
schema: { type: "string", minLength: 1, maxLength: 128 },
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
name: "organization_id",
|
|
937
|
+
in: "path",
|
|
938
|
+
required: true,
|
|
939
|
+
schema: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
name: "grant_id",
|
|
943
|
+
in: "path",
|
|
944
|
+
required: true,
|
|
945
|
+
schema: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
name: "Idempotency-Key",
|
|
949
|
+
in: "header",
|
|
950
|
+
description:
|
|
951
|
+
"Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.",
|
|
952
|
+
required: true,
|
|
953
|
+
schema: { type: "string", minLength: 1, maxLength: 128, pattern: "^[A-Za-z0-9._:-]+$" },
|
|
954
|
+
},
|
|
955
|
+
],
|
|
956
|
+
outputSchema: {
|
|
957
|
+
type: "object",
|
|
958
|
+
additionalProperties: false,
|
|
959
|
+
required: ["state"],
|
|
960
|
+
properties: {
|
|
961
|
+
state: { enum: ["created", "running", "uncertain", "reconnect_required"] },
|
|
962
|
+
request_id: { type: "string", pattern: "^[a-f0-9]{64}$" },
|
|
963
|
+
provider_status: { type: "string", minLength: 1, maxLength: 64 },
|
|
964
|
+
authorization_url: {
|
|
965
|
+
type: "string",
|
|
966
|
+
format: "uri",
|
|
967
|
+
description: "Private Make link available only on create or replay.",
|
|
968
|
+
},
|
|
969
|
+
expires_at: { type: ["string", "null"], format: "date-time" },
|
|
970
|
+
},
|
|
971
|
+
},
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
inputSchema: {
|
|
975
|
+
type: "object",
|
|
976
|
+
properties: {
|
|
977
|
+
organization_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
978
|
+
grant_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
979
|
+
request_id: { type: "string", pattern: "^[a-f0-9]{64}$" },
|
|
980
|
+
},
|
|
981
|
+
required: ["organization_id", "grant_id", "request_id"],
|
|
982
|
+
additionalProperties: false,
|
|
983
|
+
},
|
|
984
|
+
operationId: "getMakeCredentialRequest",
|
|
985
|
+
method: "GET",
|
|
986
|
+
path: "/v1/organizations/{organization_id}/connections/{grant_id}/credential-requests/{request_id}",
|
|
987
|
+
summary: "Read native Make Credential Request status",
|
|
988
|
+
description:
|
|
989
|
+
"Reads the current Make status for the owning workspace grant. The private authorization link is available in the create response.",
|
|
990
|
+
disposition: "named",
|
|
991
|
+
toolNames: ["integration_credential_request_status"],
|
|
992
|
+
parameters: [
|
|
993
|
+
{
|
|
994
|
+
name: "X-Request-Id",
|
|
995
|
+
in: "header",
|
|
996
|
+
description: "Optional caller-provided correlation identifier.",
|
|
997
|
+
required: false,
|
|
998
|
+
schema: { type: "string", minLength: 1, maxLength: 128 },
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
name: "organization_id",
|
|
1002
|
+
in: "path",
|
|
1003
|
+
required: true,
|
|
1004
|
+
schema: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
name: "grant_id",
|
|
1008
|
+
in: "path",
|
|
1009
|
+
required: true,
|
|
1010
|
+
schema: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
name: "request_id",
|
|
1014
|
+
in: "path",
|
|
1015
|
+
required: true,
|
|
1016
|
+
schema: { type: "string", pattern: "^[a-f0-9]{64}$" },
|
|
1017
|
+
},
|
|
1018
|
+
],
|
|
1019
|
+
outputSchema: {
|
|
1020
|
+
type: "object",
|
|
1021
|
+
additionalProperties: false,
|
|
1022
|
+
required: ["state"],
|
|
1023
|
+
properties: {
|
|
1024
|
+
state: { enum: ["created", "running", "uncertain", "reconnect_required"] },
|
|
1025
|
+
request_id: { type: "string", pattern: "^[a-f0-9]{64}$" },
|
|
1026
|
+
provider_status: { type: "string", minLength: 1, maxLength: 64 },
|
|
1027
|
+
expires_at: { type: ["string", "null"], format: "date-time" },
|
|
1028
|
+
},
|
|
1029
|
+
},
|
|
1030
|
+
},
|
|
810
1031
|
{
|
|
811
1032
|
inputSchema: {
|
|
812
1033
|
type: "object",
|
|
@@ -6906,6 +7127,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
6906
7127
|
enum: [
|
|
6907
7128
|
"operation_failed",
|
|
6908
7129
|
"operation_abandoned",
|
|
7130
|
+
"native_auth_launch_unavailable",
|
|
6909
7131
|
"authorization_changed",
|
|
6910
7132
|
"source_commit_conflict",
|
|
6911
7133
|
"source_snapshot_invalid",
|
|
@@ -7168,6 +7390,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
7168
7390
|
enum: [
|
|
7169
7391
|
"operation_failed",
|
|
7170
7392
|
"operation_abandoned",
|
|
7393
|
+
"native_auth_launch_unavailable",
|
|
7171
7394
|
"authorization_changed",
|
|
7172
7395
|
"source_commit_conflict",
|
|
7173
7396
|
"source_snapshot_invalid",
|
|
@@ -8000,6 +8223,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
8000
8223
|
enum: [
|
|
8001
8224
|
"operation_failed",
|
|
8002
8225
|
"operation_abandoned",
|
|
8226
|
+
"native_auth_launch_unavailable",
|
|
8003
8227
|
"authorization_changed",
|
|
8004
8228
|
"source_commit_conflict",
|
|
8005
8229
|
"source_snapshot_invalid",
|
|
@@ -8420,6 +8644,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
8420
8644
|
enum: [
|
|
8421
8645
|
"operation_failed",
|
|
8422
8646
|
"operation_abandoned",
|
|
8647
|
+
"native_auth_launch_unavailable",
|
|
8423
8648
|
"authorization_changed",
|
|
8424
8649
|
"source_commit_conflict",
|
|
8425
8650
|
"source_snapshot_invalid",
|
|
@@ -8921,6 +9146,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
8921
9146
|
enum: [
|
|
8922
9147
|
"operation_failed",
|
|
8923
9148
|
"operation_abandoned",
|
|
9149
|
+
"native_auth_launch_unavailable",
|
|
8924
9150
|
"authorization_changed",
|
|
8925
9151
|
"source_commit_conflict",
|
|
8926
9152
|
"source_snapshot_invalid",
|
|
@@ -9917,6 +10143,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
9917
10143
|
enum: [
|
|
9918
10144
|
"operation_failed",
|
|
9919
10145
|
"operation_abandoned",
|
|
10146
|
+
"native_auth_launch_unavailable",
|
|
9920
10147
|
"authorization_changed",
|
|
9921
10148
|
"source_commit_conflict",
|
|
9922
10149
|
"source_snapshot_invalid",
|
|
@@ -10350,6 +10577,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
10350
10577
|
enum: [
|
|
10351
10578
|
"operation_failed",
|
|
10352
10579
|
"operation_abandoned",
|
|
10580
|
+
"native_auth_launch_unavailable",
|
|
10353
10581
|
"authorization_changed",
|
|
10354
10582
|
"source_commit_conflict",
|
|
10355
10583
|
"source_snapshot_invalid",
|
|
@@ -10982,6 +11210,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
10982
11210
|
enum: [
|
|
10983
11211
|
"operation_failed",
|
|
10984
11212
|
"operation_abandoned",
|
|
11213
|
+
"native_auth_launch_unavailable",
|
|
10985
11214
|
"authorization_changed",
|
|
10986
11215
|
"source_commit_conflict",
|
|
10987
11216
|
"source_snapshot_invalid",
|
|
@@ -11280,6 +11509,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
11280
11509
|
enum: [
|
|
11281
11510
|
"operation_failed",
|
|
11282
11511
|
"operation_abandoned",
|
|
11512
|
+
"native_auth_launch_unavailable",
|
|
11283
11513
|
"authorization_changed",
|
|
11284
11514
|
"source_commit_conflict",
|
|
11285
11515
|
"source_snapshot_invalid",
|
|
@@ -11588,6 +11818,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
11588
11818
|
enum: [
|
|
11589
11819
|
"operation_failed",
|
|
11590
11820
|
"operation_abandoned",
|
|
11821
|
+
"native_auth_launch_unavailable",
|
|
11591
11822
|
"authorization_changed",
|
|
11592
11823
|
"source_commit_conflict",
|
|
11593
11824
|
"source_snapshot_invalid",
|
|
@@ -12128,6 +12359,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
12128
12359
|
enum: [
|
|
12129
12360
|
"operation_failed",
|
|
12130
12361
|
"operation_abandoned",
|
|
12362
|
+
"native_auth_launch_unavailable",
|
|
12131
12363
|
"authorization_changed",
|
|
12132
12364
|
"source_commit_conflict",
|
|
12133
12365
|
"source_snapshot_invalid",
|
|
@@ -12469,6 +12701,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
12469
12701
|
enum: [
|
|
12470
12702
|
"operation_failed",
|
|
12471
12703
|
"operation_abandoned",
|
|
12704
|
+
"native_auth_launch_unavailable",
|
|
12472
12705
|
"authorization_changed",
|
|
12473
12706
|
"source_commit_conflict",
|
|
12474
12707
|
"source_snapshot_invalid",
|
|
@@ -13117,6 +13350,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
13117
13350
|
enum: [
|
|
13118
13351
|
"operation_failed",
|
|
13119
13352
|
"operation_abandoned",
|
|
13353
|
+
"native_auth_launch_unavailable",
|
|
13120
13354
|
"authorization_changed",
|
|
13121
13355
|
"source_commit_conflict",
|
|
13122
13356
|
"source_snapshot_invalid",
|
|
@@ -13383,6 +13617,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
13383
13617
|
enum: [
|
|
13384
13618
|
"operation_failed",
|
|
13385
13619
|
"operation_abandoned",
|
|
13620
|
+
"native_auth_launch_unavailable",
|
|
13386
13621
|
"authorization_changed",
|
|
13387
13622
|
"source_commit_conflict",
|
|
13388
13623
|
"source_snapshot_invalid",
|
|
@@ -14049,7 +14284,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
14049
14284
|
path: "/v1/projects/{project_id}/deployments:plan",
|
|
14050
14285
|
summary: "Plan a deployment",
|
|
14051
14286
|
description:
|
|
14052
|
-
"Resolves immutable inputs and estimates effects without provider mutation or billable work. An omitted `environment` selects Dev when it exists, otherwise Prod. A Prod plan builds straight into Prod, including for a project with shared data; database migrations then affect both environments when Dev exists. Managed mail requires a confirmed Paid service period; it is checked again before build reservation. Selecting the managed Better Auth bridge does not require managed mail or Paid access. An old sender configuration is not Paid authority. A commit the platform does not admit answers 409 with a nonretryable problem code; for framework_conversion_required, detail is a fixed catalog sentence that names the file, the rule and the required change whenever the refusal is typed.",
|
|
14287
|
+
"Resolves immutable inputs and estimates effects without provider mutation or billable work. An omitted `environment` selects Dev when it exists, otherwise Prod. A Prod plan builds straight into Prod, including for a project with shared data; database migrations then affect both environments when Dev exists. Managed mail requires a confirmed Paid service period; it is checked again before build reservation. Selecting the managed Better Auth bridge does not require managed mail or Paid access. An old sender configuration is not Paid authority. Native Auth requires rollout approval for this workspace and project; a missing approval returns 409 native_auth_launch_unavailable before a build is reserved. A commit the platform does not admit answers 409 with a nonretryable problem code; for framework_conversion_required, detail is a fixed catalog sentence that names the file, the rule and the required change whenever the refusal is typed.",
|
|
14053
14288
|
disposition: "named",
|
|
14054
14289
|
toolNames: ["deployment_plan"],
|
|
14055
14290
|
requestBody: {
|
|
@@ -14226,7 +14461,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
14226
14461
|
path: "/v1/projects/{project_id}/deployments",
|
|
14227
14462
|
summary: "Create a deployment",
|
|
14228
14463
|
description:
|
|
14229
|
-
"Reserves the quoted build credits from the shared organization pool and starts the exact reviewed plan as one durable operation. Insufficient available credits or an explicit project stop budget rejects before operation creation or provider work. Repeating the accepted request never reserves twice.",
|
|
14464
|
+
"Reserves the quoted build credits from the shared organization pool and starts the exact reviewed plan as one durable operation. Insufficient available credits or an explicit project stop budget rejects before operation creation or provider work. Repeating the accepted request never reserves twice. Native Auth rollout access is checked again before accepting a new request. A pre-provider loss of access during initial Native setup ends the operation with native_auth_launch_unavailable.",
|
|
14230
14465
|
disposition: "named",
|
|
14231
14466
|
toolNames: ["deployment_create"],
|
|
14232
14467
|
requestBody: {
|
|
@@ -14315,6 +14550,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
14315
14550
|
enum: [
|
|
14316
14551
|
"operation_failed",
|
|
14317
14552
|
"operation_abandoned",
|
|
14553
|
+
"native_auth_launch_unavailable",
|
|
14318
14554
|
"authorization_changed",
|
|
14319
14555
|
"source_commit_conflict",
|
|
14320
14556
|
"source_snapshot_invalid",
|
|
@@ -15044,6 +15280,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
15044
15280
|
enum: [
|
|
15045
15281
|
"operation_failed",
|
|
15046
15282
|
"operation_abandoned",
|
|
15283
|
+
"native_auth_launch_unavailable",
|
|
15047
15284
|
"authorization_changed",
|
|
15048
15285
|
"source_commit_conflict",
|
|
15049
15286
|
"source_snapshot_invalid",
|
|
@@ -15454,6 +15691,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
15454
15691
|
enum: [
|
|
15455
15692
|
"operation_failed",
|
|
15456
15693
|
"operation_abandoned",
|
|
15694
|
+
"native_auth_launch_unavailable",
|
|
15457
15695
|
"authorization_changed",
|
|
15458
15696
|
"source_commit_conflict",
|
|
15459
15697
|
"source_snapshot_invalid",
|
|
@@ -19144,6 +19382,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
19144
19382
|
enum: [
|
|
19145
19383
|
"operation_failed",
|
|
19146
19384
|
"operation_abandoned",
|
|
19385
|
+
"native_auth_launch_unavailable",
|
|
19147
19386
|
"authorization_changed",
|
|
19148
19387
|
"source_commit_conflict",
|
|
19149
19388
|
"source_snapshot_invalid",
|
|
@@ -19590,6 +19829,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
19590
19829
|
enum: [
|
|
19591
19830
|
"operation_failed",
|
|
19592
19831
|
"operation_abandoned",
|
|
19832
|
+
"native_auth_launch_unavailable",
|
|
19593
19833
|
"authorization_changed",
|
|
19594
19834
|
"source_commit_conflict",
|
|
19595
19835
|
"source_snapshot_invalid",
|
|
@@ -20398,6 +20638,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
20398
20638
|
enum: [
|
|
20399
20639
|
"operation_failed",
|
|
20400
20640
|
"operation_abandoned",
|
|
20641
|
+
"native_auth_launch_unavailable",
|
|
20401
20642
|
"authorization_changed",
|
|
20402
20643
|
"source_commit_conflict",
|
|
20403
20644
|
"source_snapshot_invalid",
|
|
@@ -22112,6 +22353,7 @@ export const remoteMcpOperations: readonly RemoteMcpOperation[] = [
|
|
|
22112
22353
|
enum: [
|
|
22113
22354
|
"operation_failed",
|
|
22114
22355
|
"operation_abandoned",
|
|
22356
|
+
"native_auth_launch_unavailable",
|
|
22115
22357
|
"authorization_changed",
|
|
22116
22358
|
"source_commit_conflict",
|
|
22117
22359
|
"source_snapshot_invalid",
|
|
@@ -23637,6 +23879,7 @@ export const remoteMcpToolDefinitions: readonly RemoteMcpToolDefinition[] = [
|
|
|
23637
23879
|
enum: [
|
|
23638
23880
|
"operation_failed",
|
|
23639
23881
|
"operation_abandoned",
|
|
23882
|
+
"native_auth_launch_unavailable",
|
|
23640
23883
|
"authorization_changed",
|
|
23641
23884
|
"source_commit_conflict",
|
|
23642
23885
|
"source_snapshot_invalid",
|
|
@@ -24001,6 +24244,7 @@ export const remoteMcpToolDefinitions: readonly RemoteMcpToolDefinition[] = [
|
|
|
24001
24244
|
enum: [
|
|
24002
24245
|
"operation_failed",
|
|
24003
24246
|
"operation_abandoned",
|
|
24247
|
+
"native_auth_launch_unavailable",
|
|
24004
24248
|
"authorization_changed",
|
|
24005
24249
|
"source_commit_conflict",
|
|
24006
24250
|
"source_snapshot_invalid",
|
|
@@ -24928,6 +25172,7 @@ export const remoteMcpToolDefinitions: readonly RemoteMcpToolDefinition[] = [
|
|
|
24928
25172
|
enum: [
|
|
24929
25173
|
"operation_failed",
|
|
24930
25174
|
"operation_abandoned",
|
|
25175
|
+
"native_auth_launch_unavailable",
|
|
24931
25176
|
"authorization_changed",
|
|
24932
25177
|
"source_commit_conflict",
|
|
24933
25178
|
"source_snapshot_invalid",
|
|
@@ -25174,6 +25419,7 @@ export const remoteMcpToolDefinitions: readonly RemoteMcpToolDefinition[] = [
|
|
|
25174
25419
|
enum: [
|
|
25175
25420
|
"operation_failed",
|
|
25176
25421
|
"operation_abandoned",
|
|
25422
|
+
"native_auth_launch_unavailable",
|
|
25177
25423
|
"authorization_changed",
|
|
25178
25424
|
"source_commit_conflict",
|
|
25179
25425
|
"source_snapshot_invalid",
|
|
@@ -25818,6 +26064,7 @@ export const remoteMcpToolDefinitions: readonly RemoteMcpToolDefinition[] = [
|
|
|
25818
26064
|
enum: [
|
|
25819
26065
|
"operation_failed",
|
|
25820
26066
|
"operation_abandoned",
|
|
26067
|
+
"native_auth_launch_unavailable",
|
|
25821
26068
|
"authorization_changed",
|
|
25822
26069
|
"source_commit_conflict",
|
|
25823
26070
|
"source_snapshot_invalid",
|
|
@@ -26162,6 +26409,7 @@ export const remoteMcpToolDefinitions: readonly RemoteMcpToolDefinition[] = [
|
|
|
26162
26409
|
enum: [
|
|
26163
26410
|
"operation_failed",
|
|
26164
26411
|
"operation_abandoned",
|
|
26412
|
+
"native_auth_launch_unavailable",
|
|
26165
26413
|
"authorization_changed",
|
|
26166
26414
|
"source_commit_conflict",
|
|
26167
26415
|
"source_snapshot_invalid",
|
|
@@ -28594,6 +28842,7 @@ export const remoteMcpToolDefinitions: readonly RemoteMcpToolDefinition[] = [
|
|
|
28594
28842
|
enum: [
|
|
28595
28843
|
"operation_failed",
|
|
28596
28844
|
"operation_abandoned",
|
|
28845
|
+
"native_auth_launch_unavailable",
|
|
28597
28846
|
"authorization_changed",
|
|
28598
28847
|
"source_commit_conflict",
|
|
28599
28848
|
"source_snapshot_invalid",
|
|
@@ -63,6 +63,8 @@ import type {
|
|
|
63
63
|
CreateDeploymentResponses,
|
|
64
64
|
CreateMakeActionBindingErrors,
|
|
65
65
|
CreateMakeActionBindingResponses,
|
|
66
|
+
CreateMakeCredentialRequestErrors,
|
|
67
|
+
CreateMakeCredentialRequestResponses,
|
|
66
68
|
CreateManagedSourceUploadErrors,
|
|
67
69
|
CreateManagedSourceUploadResponses,
|
|
68
70
|
CreateNativeAuthUserErrors,
|
|
@@ -163,6 +165,8 @@ import type {
|
|
|
163
165
|
GetFeedbackResponses,
|
|
164
166
|
GetGithubOrganizationConnectionErrors,
|
|
165
167
|
GetGithubOrganizationConnectionResponses,
|
|
168
|
+
GetMakeCredentialRequestErrors,
|
|
169
|
+
GetMakeCredentialRequestResponses,
|
|
166
170
|
GetManagedMailAttachmentErrors,
|
|
167
171
|
GetManagedMailAttachmentResponses,
|
|
168
172
|
GetManagedMailDomainErrors,
|
|
@@ -273,6 +277,7 @@ import type {
|
|
|
273
277
|
MailRevisionRequest,
|
|
274
278
|
MakeActionBindingRequest,
|
|
275
279
|
MakeActionRunRequest,
|
|
280
|
+
MakeCredentialRequestCreate,
|
|
276
281
|
ManagedMailDomainRequest,
|
|
277
282
|
ManagedMailWebhookRequest,
|
|
278
283
|
ManagedSourceBlobRequest,
|
|
@@ -861,6 +866,117 @@ export const discoverConnection = <ThrowOnError extends boolean = true>(
|
|
|
861
866
|
});
|
|
862
867
|
};
|
|
863
868
|
|
|
869
|
+
/**
|
|
870
|
+
* Create a native Make Credential Request
|
|
871
|
+
*
|
|
872
|
+
* Uses the workspace owner's Make grant to create a private Make authorization link for selected standard app modules or Endpoints. Retry the same logical request with the same idempotency key and selections. Treat an uncertain result as pending investigation.
|
|
873
|
+
*/
|
|
874
|
+
export const createMakeCredentialRequest = <ThrowOnError extends boolean = true>(
|
|
875
|
+
parameters: {
|
|
876
|
+
"X-Request-Id"?: string;
|
|
877
|
+
"Idempotency-Key": string;
|
|
878
|
+
organization_id: Ulid;
|
|
879
|
+
grant_id: Ulid;
|
|
880
|
+
makeCredentialRequestCreate: MakeCredentialRequestCreate;
|
|
881
|
+
},
|
|
882
|
+
options?: Options<never, ThrowOnError>,
|
|
883
|
+
): RequestResult<
|
|
884
|
+
CreateMakeCredentialRequestResponses,
|
|
885
|
+
CreateMakeCredentialRequestErrors,
|
|
886
|
+
ThrowOnError,
|
|
887
|
+
"data"
|
|
888
|
+
> => {
|
|
889
|
+
const params = buildClientParams(
|
|
890
|
+
[parameters],
|
|
891
|
+
[
|
|
892
|
+
{
|
|
893
|
+
args: [
|
|
894
|
+
{ in: "headers", key: "X-Request-Id" },
|
|
895
|
+
{ in: "headers", key: "Idempotency-Key" },
|
|
896
|
+
{ in: "path", key: "organization_id" },
|
|
897
|
+
{ in: "path", key: "grant_id" },
|
|
898
|
+
{ key: "makeCredentialRequestCreate", map: "body" },
|
|
899
|
+
],
|
|
900
|
+
},
|
|
901
|
+
],
|
|
902
|
+
);
|
|
903
|
+
return (options?.client ?? client).post<
|
|
904
|
+
CreateMakeCredentialRequestResponses,
|
|
905
|
+
CreateMakeCredentialRequestErrors,
|
|
906
|
+
ThrowOnError,
|
|
907
|
+
"data"
|
|
908
|
+
>({
|
|
909
|
+
responseStyle: "data",
|
|
910
|
+
security: [
|
|
911
|
+
{
|
|
912
|
+
key: "BearerAuth",
|
|
913
|
+
scheme: "bearer",
|
|
914
|
+
type: "http",
|
|
915
|
+
},
|
|
916
|
+
],
|
|
917
|
+
url: "/v1/organizations/{organization_id}/connections/{grant_id}/credential-requests",
|
|
918
|
+
...options,
|
|
919
|
+
...params,
|
|
920
|
+
headers: {
|
|
921
|
+
"Content-Type": "application/json",
|
|
922
|
+
...options?.headers,
|
|
923
|
+
...params.headers,
|
|
924
|
+
},
|
|
925
|
+
});
|
|
926
|
+
};
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Read native Make Credential Request status
|
|
930
|
+
*
|
|
931
|
+
* Reads the current Make status for the owning workspace grant. The private authorization link is available in the create response.
|
|
932
|
+
*/
|
|
933
|
+
export const getMakeCredentialRequest = <ThrowOnError extends boolean = true>(
|
|
934
|
+
parameters: {
|
|
935
|
+
"X-Request-Id"?: string;
|
|
936
|
+
organization_id: Ulid;
|
|
937
|
+
grant_id: Ulid;
|
|
938
|
+
request_id: string;
|
|
939
|
+
},
|
|
940
|
+
options?: Options<never, ThrowOnError>,
|
|
941
|
+
): RequestResult<
|
|
942
|
+
GetMakeCredentialRequestResponses,
|
|
943
|
+
GetMakeCredentialRequestErrors,
|
|
944
|
+
ThrowOnError,
|
|
945
|
+
"data"
|
|
946
|
+
> => {
|
|
947
|
+
const params = buildClientParams(
|
|
948
|
+
[parameters],
|
|
949
|
+
[
|
|
950
|
+
{
|
|
951
|
+
args: [
|
|
952
|
+
{ in: "headers", key: "X-Request-Id" },
|
|
953
|
+
{ in: "path", key: "organization_id" },
|
|
954
|
+
{ in: "path", key: "grant_id" },
|
|
955
|
+
{ in: "path", key: "request_id" },
|
|
956
|
+
],
|
|
957
|
+
},
|
|
958
|
+
],
|
|
959
|
+
);
|
|
960
|
+
return (options?.client ?? client).get<
|
|
961
|
+
GetMakeCredentialRequestResponses,
|
|
962
|
+
GetMakeCredentialRequestErrors,
|
|
963
|
+
ThrowOnError,
|
|
964
|
+
"data"
|
|
965
|
+
>({
|
|
966
|
+
responseStyle: "data",
|
|
967
|
+
security: [
|
|
968
|
+
{
|
|
969
|
+
key: "BearerAuth",
|
|
970
|
+
scheme: "bearer",
|
|
971
|
+
type: "http",
|
|
972
|
+
},
|
|
973
|
+
],
|
|
974
|
+
url: "/v1/organizations/{organization_id}/connections/{grant_id}/credential-requests/{request_id}",
|
|
975
|
+
...options,
|
|
976
|
+
...params,
|
|
977
|
+
});
|
|
978
|
+
};
|
|
979
|
+
|
|
864
980
|
/**
|
|
865
981
|
* Bind one Make action to an imported connection
|
|
866
982
|
*
|
|
@@ -6325,7 +6441,7 @@ export const applyPaidProjectDomain = <ThrowOnError extends boolean = true>(
|
|
|
6325
6441
|
/**
|
|
6326
6442
|
* Plan a deployment
|
|
6327
6443
|
*
|
|
6328
|
-
* Resolves immutable inputs and estimates effects without provider mutation or billable work. An omitted `environment` selects Dev when it exists, otherwise Prod. A Prod plan builds straight into Prod, including for a project with shared data; database migrations then affect both environments when Dev exists. Managed mail requires a confirmed Paid service period; it is checked again before build reservation. Selecting the managed Better Auth bridge does not require managed mail or Paid access. An old sender configuration is not Paid authority. A commit the platform does not admit answers 409 with a nonretryable problem code; for framework_conversion_required, detail is a fixed catalog sentence that names the file, the rule and the required change whenever the refusal is typed.
|
|
6444
|
+
* Resolves immutable inputs and estimates effects without provider mutation or billable work. An omitted `environment` selects Dev when it exists, otherwise Prod. A Prod plan builds straight into Prod, including for a project with shared data; database migrations then affect both environments when Dev exists. Managed mail requires a confirmed Paid service period; it is checked again before build reservation. Selecting the managed Better Auth bridge does not require managed mail or Paid access. An old sender configuration is not Paid authority. Native Auth requires rollout approval for this workspace and project; a missing approval returns 409 native_auth_launch_unavailable before a build is reserved. A commit the platform does not admit answers 409 with a nonretryable problem code; for framework_conversion_required, detail is a fixed catalog sentence that names the file, the rule and the required change whenever the refusal is typed.
|
|
6329
6445
|
*/
|
|
6330
6446
|
export const planDeployment = <ThrowOnError extends boolean = true>(
|
|
6331
6447
|
parameters: {
|
|
@@ -6420,7 +6536,7 @@ export const listDeployments = <ThrowOnError extends boolean = true>(
|
|
|
6420
6536
|
/**
|
|
6421
6537
|
* Create a deployment
|
|
6422
6538
|
*
|
|
6423
|
-
* Reserves the quoted build credits from the shared organization pool and starts the exact reviewed plan as one durable operation. Insufficient available credits or an explicit project stop budget rejects before operation creation or provider work. Repeating the accepted request never reserves twice.
|
|
6539
|
+
* Reserves the quoted build credits from the shared organization pool and starts the exact reviewed plan as one durable operation. Insufficient available credits or an explicit project stop budget rejects before operation creation or provider work. Repeating the accepted request never reserves twice. Native Auth rollout access is checked again before accepting a new request. A pre-provider loss of access during initial Native setup ends the operation with native_auth_launch_unavailable.
|
|
6424
6540
|
*/
|
|
6425
6541
|
export const createDeployment = <ThrowOnError extends boolean = true>(
|
|
6426
6542
|
parameters: {
|