@amerged/ohmyhost-sdk 0.1.68 → 0.1.70

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.
@@ -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 = "169544a84c5bf8e63c5261d2aa895adccfd1a34807db4e57d7e94fdd8817ba09";
2
+ export const remoteMcpContractSha256 = "16c2ec672b854abcb397067464e93b6e38c85e00d0b6ba806dc0037d60499d3a";
3
3
  export const remoteMcpContractVersion = "0.0.0";
4
- export const remoteMcpReleaseVersion = "0.1.68";
4
+ export const remoteMcpReleaseVersion = "0.1.70";
5
5
  export const remoteMcpOperations = [
6
6
  {
7
7
  inputSchema: {
@@ -699,6 +699,217 @@ export const remoteMcpOperations = [
699
699
  },
700
700
  },
701
701
  },
702
+ {
703
+ inputSchema: {
704
+ type: "object",
705
+ additionalProperties: false,
706
+ required: [
707
+ "organization_id",
708
+ "idempotency_key",
709
+ "project_id",
710
+ "environment_id",
711
+ "import_id",
712
+ "action",
713
+ ],
714
+ properties: {
715
+ organization_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
716
+ idempotency_key: {
717
+ type: "string",
718
+ minLength: 1,
719
+ maxLength: 128,
720
+ pattern: "^[A-Za-z0-9._:-]+$",
721
+ description: "Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.",
722
+ },
723
+ project_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
724
+ environment_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
725
+ import_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
726
+ action: {
727
+ oneOf: [
728
+ {
729
+ type: "object",
730
+ additionalProperties: false,
731
+ required: ["kind", "app_name", "app_version", "endpoint_name"],
732
+ properties: {
733
+ kind: { const: "endpoint" },
734
+ app_name: { type: "string", pattern: "^[A-Za-z0-9_-]{1,128}$" },
735
+ app_version: { type: "integer", minimum: 1, maximum: 9007199254740991 },
736
+ endpoint_name: { type: "string", pattern: "^[A-Za-z0-9_-]{1,128}$" },
737
+ },
738
+ },
739
+ {
740
+ type: "object",
741
+ additionalProperties: false,
742
+ required: ["kind", "scenario_id", "method", "path_prefix"],
743
+ properties: {
744
+ kind: { const: "scenario" },
745
+ scenario_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
746
+ method: { type: "string", enum: ["GET", "POST", "PUT", "PATCH", "DELETE"] },
747
+ path_prefix: {
748
+ type: "string",
749
+ minLength: 1,
750
+ maxLength: 2048,
751
+ description: "Origin-relative path prefix the owner permits on the bound Make API Shell.",
752
+ },
753
+ },
754
+ },
755
+ ],
756
+ },
757
+ },
758
+ },
759
+ operationId: "createMakeActionBinding",
760
+ method: "POST",
761
+ path: "/v1/organizations/{organization_id}/connections/action-bindings",
762
+ summary: "Bind one Make action to an imported connection",
763
+ description: "Requires an authenticated human with permission to manage integrations. Give the returned execution key to the owner or agent through a secure setup flow. It grants access to this one action and must be kept secret; it is not a Make token or a generic process capability.",
764
+ disposition: "excluded",
765
+ toolNames: [],
766
+ reason: "The response contains an action capability secret and must not be exposed through MCP.",
767
+ requestBody: {
768
+ required: true,
769
+ content: {
770
+ "application/json": {
771
+ schema: {
772
+ type: "object",
773
+ additionalProperties: false,
774
+ required: ["project_id", "environment_id", "import_id", "action"],
775
+ properties: {
776
+ project_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
777
+ environment_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
778
+ import_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
779
+ action: {
780
+ oneOf: [
781
+ {
782
+ type: "object",
783
+ additionalProperties: false,
784
+ required: ["kind", "app_name", "app_version", "endpoint_name"],
785
+ properties: {
786
+ kind: { const: "endpoint" },
787
+ app_name: { type: "string", pattern: "^[A-Za-z0-9_-]{1,128}$" },
788
+ app_version: { type: "integer", minimum: 1, maximum: 9007199254740991 },
789
+ endpoint_name: { type: "string", pattern: "^[A-Za-z0-9_-]{1,128}$" },
790
+ },
791
+ },
792
+ {
793
+ type: "object",
794
+ additionalProperties: false,
795
+ required: ["kind", "scenario_id", "method", "path_prefix"],
796
+ properties: {
797
+ kind: { const: "scenario" },
798
+ scenario_id: { type: "integer", minimum: 1, maximum: 9007199254740991 },
799
+ method: { type: "string", enum: ["GET", "POST", "PUT", "PATCH", "DELETE"] },
800
+ path_prefix: {
801
+ type: "string",
802
+ minLength: 1,
803
+ maxLength: 2048,
804
+ description: "Origin-relative path prefix the owner permits on the bound Make API Shell.",
805
+ },
806
+ },
807
+ },
808
+ ],
809
+ },
810
+ },
811
+ },
812
+ },
813
+ },
814
+ },
815
+ parameters: [
816
+ {
817
+ name: "X-Request-Id",
818
+ in: "header",
819
+ description: "Optional caller-provided correlation identifier.",
820
+ required: false,
821
+ schema: { type: "string", minLength: 1, maxLength: 128 },
822
+ },
823
+ {
824
+ name: "organization_id",
825
+ in: "path",
826
+ required: true,
827
+ schema: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
828
+ },
829
+ {
830
+ name: "Idempotency-Key",
831
+ in: "header",
832
+ description: "Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.",
833
+ required: true,
834
+ schema: { type: "string", minLength: 1, maxLength: 128, pattern: "^[A-Za-z0-9._:-]+$" },
835
+ },
836
+ ],
837
+ outputSchema: {
838
+ type: "object",
839
+ additionalProperties: false,
840
+ required: ["binding_id", "execution_key"],
841
+ properties: {
842
+ binding_id: { type: "string", pattern: "^[0-9A-HJKMNP-TV-Z]{26}$" },
843
+ execution_key: { type: "string", description: "Secret capability for this action." },
844
+ },
845
+ },
846
+ },
847
+ {
848
+ inputSchema: {
849
+ type: "object",
850
+ additionalProperties: false,
851
+ required: ["idempotency_key", "input"],
852
+ properties: {
853
+ idempotency_key: {
854
+ type: "string",
855
+ minLength: 1,
856
+ maxLength: 128,
857
+ pattern: "^[A-Za-z0-9._:-]+$",
858
+ description: "Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.",
859
+ },
860
+ input: { type: "object", additionalProperties: true },
861
+ },
862
+ },
863
+ operationId: "runMakeAction",
864
+ method: "POST",
865
+ path: "/v1/make/actions/run",
866
+ summary: "Run a bound Make action",
867
+ description: "Uses the action execution key as its bearer credential. Supply a stable idempotency key for each logical invocation. An uncertain result may mean that the action was dispatched; do not create a new invocation solely to retry it.",
868
+ disposition: "excluded",
869
+ toolNames: [],
870
+ reason: "The operation uses an action capability secret that must not be exposed through MCP.",
871
+ requestBody: {
872
+ required: true,
873
+ content: {
874
+ "application/json": {
875
+ schema: {
876
+ type: "object",
877
+ additionalProperties: false,
878
+ required: ["input"],
879
+ properties: { input: { type: "object", additionalProperties: true } },
880
+ },
881
+ },
882
+ },
883
+ },
884
+ parameters: [
885
+ {
886
+ name: "Idempotency-Key",
887
+ in: "header",
888
+ description: "Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.",
889
+ required: true,
890
+ schema: { type: "string", minLength: 1, maxLength: 128, pattern: "^[A-Za-z0-9._:-]+$" },
891
+ },
892
+ ],
893
+ outputSchema: {
894
+ oneOf: [
895
+ {
896
+ type: "object",
897
+ additionalProperties: false,
898
+ required: ["state", "output"],
899
+ properties: {
900
+ state: { const: "completed" },
901
+ output: { description: "Bounded JSON response envelope returned by Make." },
902
+ },
903
+ },
904
+ {
905
+ type: "object",
906
+ additionalProperties: false,
907
+ required: ["state"],
908
+ properties: { state: { const: "already_completed" } },
909
+ },
910
+ ],
911
+ },
912
+ },
702
913
  {
703
914
  inputSchema: {
704
915
  type: "object",
@@ -6578,7 +6789,7 @@ export const remoteMcpOperations = [
6578
6789
  operationId: "getProjectExport",
6579
6790
  method: "GET",
6580
6791
  path: "/v1/projects/{project_id}/exports/{export_id}",
6581
- summary: "Read export progress and its verified 24-hour download capability",
6792
+ summary: "Read encrypted database export status",
6582
6793
  description: "Owner-only, including at zero credits. Poll queued/running jobs after next_poll_after_seconds. A verified SQL ZIP is retained seven days. This read never signs a download URL, so download_url and download_expires_at are always null here. Request a link with POST download-links. Neither the password nor any permanent storage credential can be retrieved. Generic operation reads never contain a download capability.",
6583
6794
  disposition: "named",
6584
6795
  toolNames: ["project_export_get"],
@@ -22538,7 +22749,7 @@ export const remoteMcpToolDefinitions = [
22538
22749
  },
22539
22750
  {
22540
22751
  name: "project_export_get",
22541
- title: "Read export progress and its verified 24-hour download capability",
22752
+ title: "Read encrypted database export status",
22542
22753
  description: "Owner-only: read the original encrypted SQL ZIP export's progress and error, never its password or a download URL. While queued or running, follow next_poll_after_seconds and poll this same project_id and export_id; do not create another export to poll. Once succeeded, obtaining a private download link requires the authorized direct CLI/REST export workflow outside this remote catalog. Available at zero credits.",
22543
22754
  annotations: {
22544
22755
  readOnlyHint: true,
@@ -23310,12 +23521,12 @@ export const remoteMcpToolDefinitions = [
23310
23521
  {
23311
23522
  name: "project_dev_access_mode_set",
23312
23523
  title: "Select public or protected Dev access",
23313
- description: "Owner only: choose public Dev (no platform token) or protected Dev (share link required). A switch takes effect on the next request; switching back creates a new link.",
23524
+ description: "Owner only: anyone with the URL can reach public Dev without platform authentication. Switching Dev back to protected issues a fresh share link and invalidates earlier sessions. The change takes effect on the next request.",
23314
23525
  annotations: {
23315
23526
  readOnlyHint: false,
23316
23527
  destructiveHint: true,
23317
23528
  idempotentHint: true,
23318
- openWorldHint: false,
23529
+ openWorldHint: true,
23319
23530
  },
23320
23531
  operationId: "setProjectDevAccessMode",
23321
23532
  inputSchema: {
@@ -23765,7 +23976,7 @@ export const remoteMcpToolDefinitions = [
23765
23976
  readOnlyHint: false,
23766
23977
  destructiveHint: true,
23767
23978
  idempotentHint: true,
23768
- openWorldHint: false,
23979
+ openWorldHint: true,
23769
23980
  },
23770
23981
  operationId: "changeProjectHandle",
23771
23982
  inputSchema: {