@amerged/ohmyhost-sdk 0.1.70 → 0.1.72
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/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/mcp-remote.gen.d.ts +2 -2
- package/dist/generated/mcp-remote.gen.d.ts.map +1 -1
- package/dist/generated/mcp-remote.gen.js +220 -3
- package/dist/generated/mcp-remote.gen.js.map +1 -1
- package/dist/generated/sdk.gen.d.ts +24 -1
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +66 -0
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +129 -0
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/package.json +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 +224 -3
- package/src/packages/sdk-ts/src/generated/sdk.gen.ts +116 -0
- package/src/packages/sdk-ts/src/generated/types.gen.ts +147 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { applyPaidProjectDomain, changeDatabaseCompute, changeProjectHandle, configureBillingRecharge, configureManagedMailDomain, configureProjectDomains, configureProjectSourceAutoDeploy, createBillingCheckout, createBillingPortal, createCloudflareDnsAuthorization, createProjectDataChange, createProjectDatabaseTable, createProjectDatabaseWatch, deactivateDatabaseWebhookSubscription, deleteEnvironmentSecret, deleteManagedMailDomain, deletePaidProjectDomain, deleteProject, deleteProjectDatabaseSchedule, deleteProjectDatabaseWatch, deleteProjectDatabaseWebhook, disableManagedMailReceiving, disconnectGithubOrganization, getBillingCheckout, getBillingRecharge, getCloudflareDnsAuthorizationStatus, getDatabaseCompute, getFeedback, getManagedMailDomain, getManagedMailMessage, getOrganizationAccount, getOrganizationCreditUsage, getOrganizationCredits, getOrganizationReferral, getPaidProjectDomain, getProjectCreditBudget, getProjectDatabaseSchedule, getProjectDatabaseWebhook, getProjectExport, getProjectHandleAvailability, getProjectPoweredByFlag, getProjectSourceAutoDeploy, listAuditEvents, listConnectionProviders, listFunctionRuns, listManagedMailMessages, listOrganizationMcpConnections, listProjectDatabaseAccess, listProjectDatabaseWatches, planPaidProjectDomain, planProjectDataChange, planProjectDeletion, queryProjectDatabase, replayProjectDatabaseWebhookDelivery, retryManagedMailMessage, revokeOrganizationMcpConnection, revokeProjectDatabaseAccess, revokeProjectDevShareLink, rotateProjectDevShareLink, runProjectDatabaseSchedule, setProjectCreditBudget, setProjectDatabaseSchedule, setProjectDevAccessMode, setProjectNotes, setProjectPoweredByFlag, submitFeedback, testProjectDatabaseWebhook, verifyManagedMailWebhook, writeProjectDatabase, } from "./sdk.gen.js";
|
|
2
|
-
export const remoteMcpContractSha256 = "
|
|
2
|
+
export const remoteMcpContractSha256 = "99da3b404be30539e086a7972dca78e3d0270117abf06d1b83522d5b095d571d";
|
|
3
3
|
export const remoteMcpContractVersion = "0.0.0";
|
|
4
|
-
export const remoteMcpReleaseVersion = "0.1.
|
|
4
|
+
export const remoteMcpReleaseVersion = "0.1.72";
|
|
5
5
|
export const remoteMcpOperations = [
|
|
6
6
|
{
|
|
7
7
|
inputSchema: {
|
|
@@ -699,6 +699,223 @@ export const remoteMcpOperations = [
|
|
|
699
699
|
},
|
|
700
700
|
},
|
|
701
701
|
},
|
|
702
|
+
{
|
|
703
|
+
inputSchema: {
|
|
704
|
+
type: "object",
|
|
705
|
+
additionalProperties: false,
|
|
706
|
+
required: [
|
|
707
|
+
"organization_id",
|
|
708
|
+
"grant_id",
|
|
709
|
+
"idempotency_key",
|
|
710
|
+
"provider_organization_id",
|
|
711
|
+
"team_id",
|
|
712
|
+
"selections",
|
|
713
|
+
],
|
|
714
|
+
properties: {
|
|
715
|
+
organization_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
716
|
+
grant_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
717
|
+
idempotency_key: {
|
|
718
|
+
type: "string",
|
|
719
|
+
minLength: 1,
|
|
720
|
+
maxLength: 128,
|
|
721
|
+
pattern: "^[A-Za-z0-9._:-]+$",
|
|
722
|
+
description: "Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.",
|
|
723
|
+
},
|
|
724
|
+
provider_organization_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
|
|
725
|
+
team_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
|
|
726
|
+
selections: {
|
|
727
|
+
type: "array",
|
|
728
|
+
minItems: 1,
|
|
729
|
+
maxItems: 64,
|
|
730
|
+
items: {
|
|
731
|
+
type: "object",
|
|
732
|
+
additionalProperties: false,
|
|
733
|
+
required: ["app_name", "app_version"],
|
|
734
|
+
anyOf: [{ required: ["module_ids"] }, { required: ["endpoint_names"] }],
|
|
735
|
+
properties: {
|
|
736
|
+
app_name: {
|
|
737
|
+
type: "string",
|
|
738
|
+
pattern: "^[A-Za-z0-9_-]{1,128}$",
|
|
739
|
+
description: "A Make standard app identifier.",
|
|
740
|
+
},
|
|
741
|
+
app_version: { type: "integer", minimum: 1, maximum: 9007199254740991 },
|
|
742
|
+
module_ids: {
|
|
743
|
+
type: "array",
|
|
744
|
+
minItems: 1,
|
|
745
|
+
maxItems: 64,
|
|
746
|
+
uniqueItems: true,
|
|
747
|
+
items: { type: "string", pattern: "^[A-Za-z0-9_.:-]{1,128}$" },
|
|
748
|
+
},
|
|
749
|
+
endpoint_names: {
|
|
750
|
+
type: "array",
|
|
751
|
+
minItems: 1,
|
|
752
|
+
maxItems: 64,
|
|
753
|
+
uniqueItems: true,
|
|
754
|
+
items: { type: "string", pattern: "^[A-Za-z0-9_-]{1,128}$" },
|
|
755
|
+
},
|
|
756
|
+
},
|
|
757
|
+
},
|
|
758
|
+
},
|
|
759
|
+
},
|
|
760
|
+
},
|
|
761
|
+
operationId: "createMakeCredentialRequest",
|
|
762
|
+
method: "POST",
|
|
763
|
+
path: "/v1/organizations/{organization_id}/connections/{grant_id}/credential-requests",
|
|
764
|
+
summary: "Create a native Make Credential Request",
|
|
765
|
+
description: "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.",
|
|
766
|
+
disposition: "named",
|
|
767
|
+
toolNames: ["integration_credential_request_create"],
|
|
768
|
+
requestBody: {
|
|
769
|
+
required: true,
|
|
770
|
+
content: {
|
|
771
|
+
"application/json": {
|
|
772
|
+
schema: {
|
|
773
|
+
type: "object",
|
|
774
|
+
additionalProperties: false,
|
|
775
|
+
required: ["provider_organization_id", "team_id", "selections"],
|
|
776
|
+
properties: {
|
|
777
|
+
provider_organization_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
|
|
778
|
+
team_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
|
|
779
|
+
selections: {
|
|
780
|
+
type: "array",
|
|
781
|
+
minItems: 1,
|
|
782
|
+
maxItems: 64,
|
|
783
|
+
items: {
|
|
784
|
+
type: "object",
|
|
785
|
+
additionalProperties: false,
|
|
786
|
+
required: ["app_name", "app_version"],
|
|
787
|
+
anyOf: [{ required: ["module_ids"] }, { required: ["endpoint_names"] }],
|
|
788
|
+
properties: {
|
|
789
|
+
app_name: {
|
|
790
|
+
type: "string",
|
|
791
|
+
pattern: "^[A-Za-z0-9_-]{1,128}$",
|
|
792
|
+
description: "A Make standard app identifier.",
|
|
793
|
+
},
|
|
794
|
+
app_version: { type: "integer", minimum: 1, maximum: 9007199254740991 },
|
|
795
|
+
module_ids: {
|
|
796
|
+
type: "array",
|
|
797
|
+
minItems: 1,
|
|
798
|
+
maxItems: 64,
|
|
799
|
+
uniqueItems: true,
|
|
800
|
+
items: { type: "string", pattern: "^[A-Za-z0-9_.:-]{1,128}$" },
|
|
801
|
+
},
|
|
802
|
+
endpoint_names: {
|
|
803
|
+
type: "array",
|
|
804
|
+
minItems: 1,
|
|
805
|
+
maxItems: 64,
|
|
806
|
+
uniqueItems: true,
|
|
807
|
+
items: { type: "string", pattern: "^[A-Za-z0-9_-]{1,128}$" },
|
|
808
|
+
},
|
|
809
|
+
},
|
|
810
|
+
},
|
|
811
|
+
},
|
|
812
|
+
},
|
|
813
|
+
},
|
|
814
|
+
},
|
|
815
|
+
},
|
|
816
|
+
},
|
|
817
|
+
parameters: [
|
|
818
|
+
{
|
|
819
|
+
name: "X-Request-Id",
|
|
820
|
+
in: "header",
|
|
821
|
+
description: "Optional caller-provided correlation identifier.",
|
|
822
|
+
required: false,
|
|
823
|
+
schema: { type: "string", minLength: 1, maxLength: 128 },
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
name: "organization_id",
|
|
827
|
+
in: "path",
|
|
828
|
+
required: true,
|
|
829
|
+
schema: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
name: "grant_id",
|
|
833
|
+
in: "path",
|
|
834
|
+
required: true,
|
|
835
|
+
schema: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
name: "Idempotency-Key",
|
|
839
|
+
in: "header",
|
|
840
|
+
description: "Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.",
|
|
841
|
+
required: true,
|
|
842
|
+
schema: { type: "string", minLength: 1, maxLength: 128, pattern: "^[A-Za-z0-9._:-]+$" },
|
|
843
|
+
},
|
|
844
|
+
],
|
|
845
|
+
outputSchema: {
|
|
846
|
+
type: "object",
|
|
847
|
+
additionalProperties: false,
|
|
848
|
+
required: ["state"],
|
|
849
|
+
properties: {
|
|
850
|
+
state: { enum: ["created", "running", "uncertain", "reconnect_required"] },
|
|
851
|
+
request_id: { type: "string", pattern: "^[a-f0-9]{64}$" },
|
|
852
|
+
provider_status: { type: "string", minLength: 1, maxLength: 64 },
|
|
853
|
+
authorization_url: {
|
|
854
|
+
type: "string",
|
|
855
|
+
format: "uri",
|
|
856
|
+
description: "Private Make link available only on create or replay.",
|
|
857
|
+
},
|
|
858
|
+
expires_at: { type: ["string", "null"], format: "date-time" },
|
|
859
|
+
},
|
|
860
|
+
},
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
inputSchema: {
|
|
864
|
+
type: "object",
|
|
865
|
+
properties: {
|
|
866
|
+
organization_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
867
|
+
grant_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
868
|
+
request_id: { type: "string", pattern: "^[a-f0-9]{64}$" },
|
|
869
|
+
},
|
|
870
|
+
required: ["organization_id", "grant_id", "request_id"],
|
|
871
|
+
additionalProperties: false,
|
|
872
|
+
},
|
|
873
|
+
operationId: "getMakeCredentialRequest",
|
|
874
|
+
method: "GET",
|
|
875
|
+
path: "/v1/organizations/{organization_id}/connections/{grant_id}/credential-requests/{request_id}",
|
|
876
|
+
summary: "Read native Make Credential Request status",
|
|
877
|
+
description: "Reads the current Make status for the owning workspace grant. The private authorization link is available in the create response.",
|
|
878
|
+
disposition: "named",
|
|
879
|
+
toolNames: ["integration_credential_request_status"],
|
|
880
|
+
parameters: [
|
|
881
|
+
{
|
|
882
|
+
name: "X-Request-Id",
|
|
883
|
+
in: "header",
|
|
884
|
+
description: "Optional caller-provided correlation identifier.",
|
|
885
|
+
required: false,
|
|
886
|
+
schema: { type: "string", minLength: 1, maxLength: 128 },
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
name: "organization_id",
|
|
890
|
+
in: "path",
|
|
891
|
+
required: true,
|
|
892
|
+
schema: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
name: "grant_id",
|
|
896
|
+
in: "path",
|
|
897
|
+
required: true,
|
|
898
|
+
schema: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
name: "request_id",
|
|
902
|
+
in: "path",
|
|
903
|
+
required: true,
|
|
904
|
+
schema: { type: "string", pattern: "^[a-f0-9]{64}$" },
|
|
905
|
+
},
|
|
906
|
+
],
|
|
907
|
+
outputSchema: {
|
|
908
|
+
type: "object",
|
|
909
|
+
additionalProperties: false,
|
|
910
|
+
required: ["state"],
|
|
911
|
+
properties: {
|
|
912
|
+
state: { enum: ["created", "running", "uncertain", "reconnect_required"] },
|
|
913
|
+
request_id: { type: "string", pattern: "^[a-f0-9]{64}$" },
|
|
914
|
+
provider_status: { type: "string", minLength: 1, maxLength: 64 },
|
|
915
|
+
expires_at: { type: ["string", "null"], format: "date-time" },
|
|
916
|
+
},
|
|
917
|
+
},
|
|
918
|
+
},
|
|
702
919
|
{
|
|
703
920
|
inputSchema: {
|
|
704
921
|
type: "object",
|
|
@@ -21540,7 +21757,7 @@ export const remoteMcpWorkflowTools = [
|
|
|
21540
21757
|
{
|
|
21541
21758
|
name: "api_reference",
|
|
21542
21759
|
title: "Read the Master Tool Contract",
|
|
21543
|
-
description: "Find documented API operations, exact schemas and remote MCP support in the deployed Master Tool Contract. This lookup never executes an API operation.",
|
|
21760
|
+
description: "Find documented API operations, exact schemas and remote MCP support in the deployed Master Tool Contract. This lookup never executes an API operation. See https://github.com/amerged-org/ohmyhost for the ohmyho.st hosting platform (OMH) and https://github.com/amerged-org/cloudflare-postgres for its PostgreSQL infrastructure (PGCF).",
|
|
21544
21761
|
annotations: {
|
|
21545
21762
|
readOnlyHint: true,
|
|
21546
21763
|
destructiveHint: false,
|