@settlemint/sdk-mcp 2.4.0-pr370892bd → 2.4.0-pr39f66e87

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/mcp.js CHANGED
@@ -73554,9 +73554,9 @@ ${formattedErrors}`);
73554
73554
  throw error$37;
73555
73555
  }
73556
73556
  }
73557
- var ApplicationAccessTokenSchema = string$1().regex(/^sm_aat_.+$/);
73558
- var PersonalAccessTokenSchema = string$1().regex(/^sm_pat_.+$/);
73559
- var AccessTokenSchema = string$1().regex(/^(sm_pat_.+|sm_aat_.+)$/);
73557
+ var ApplicationAccessTokenSchema = string$1().regex(/^sm_aat_.*$/);
73558
+ var PersonalAccessTokenSchema = string$1().regex(/^sm_pat_.*$/);
73559
+ var AccessTokenSchema = string$1().regex(/^sm_pat_.*|sm_aat_.*$/);
73560
73560
  function tryParseJson(value, defaultValue = null) {
73561
73561
  try {
73562
73562
  const parsed = JSON.parse(value);
@@ -73564,7 +73564,7 @@ function tryParseJson(value, defaultValue = null) {
73564
73564
  return defaultValue;
73565
73565
  }
73566
73566
  return parsed;
73567
- } catch (_err) {
73567
+ } catch (err) {
73568
73568
  return defaultValue;
73569
73569
  }
73570
73570
  }
@@ -90295,9 +90295,9 @@ ${formattedErrors}`);
90295
90295
  throw error$372;
90296
90296
  }
90297
90297
  }
90298
- var ApplicationAccessTokenSchema2 = string$12().regex(/^sm_aat_.+$/);
90299
- var PersonalAccessTokenSchema2 = string$12().regex(/^sm_pat_.+$/);
90300
- var AccessTokenSchema2 = string$12().regex(/^(sm_pat_.+|sm_aat_.+)$/);
90298
+ var ApplicationAccessTokenSchema2 = string$12().regex(/^sm_aat_.*$/);
90299
+ var PersonalAccessTokenSchema2 = string$12().regex(/^sm_pat_.*$/);
90300
+ var AccessTokenSchema2 = string$12().regex(/^sm_pat_.*|sm_aat_.*$/);
90301
90301
  function tryParseJson2(value, defaultValue = null) {
90302
90302
  try {
90303
90303
  const parsed = JSON.parse(value);
@@ -90305,7 +90305,7 @@ function tryParseJson2(value, defaultValue = null) {
90305
90305
  return defaultValue;
90306
90306
  }
90307
90307
  return parsed;
90308
- } catch (_err) {
90308
+ } catch (err) {
90309
90309
  return defaultValue;
90310
90310
  }
90311
90311
  }
@@ -90389,7 +90389,7 @@ var {
90389
90389
  var package_default = {
90390
90390
  name: "@settlemint/sdk-mcp",
90391
90391
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
90392
- version: "2.4.0-pr370892bd",
90392
+ version: "2.4.0-pr39f66e87",
90393
90393
  type: "module",
90394
90394
  private: false,
90395
90395
  license: "FSL-1.1-MIT",
@@ -90408,9 +90408,7 @@ var package_default = {
90408
90408
  url: "https://github.com/settlemint/sdk/issues",
90409
90409
  email: "support@settlemint.com"
90410
90410
  },
90411
- files: [
90412
- "dist"
90413
- ],
90411
+ files: ["dist"],
90414
90412
  exports: {
90415
90413
  "./*": {
90416
90414
  types: "./dist/*.d.ts",
@@ -90432,9 +90430,9 @@ var package_default = {
90432
90430
  dependencies: {
90433
90431
  "@graphql-tools/load": "8.1.0",
90434
90432
  "@graphql-tools/url-loader": "8.0.31",
90435
- "@modelcontextprotocol/sdk": "1.13.1",
90436
- "@settlemint/sdk-js": "2.4.0-pr370892bd",
90437
- "@settlemint/sdk-utils": "2.4.0-pr370892bd",
90433
+ "@modelcontextprotocol/sdk": "1.13.0",
90434
+ "@settlemint/sdk-js": "2.4.0-pr39f66e87",
90435
+ "@settlemint/sdk-utils": "2.4.0-pr39f66e87",
90438
90436
  "@commander-js/extra-typings": "14.0.0",
90439
90437
  commander: "14.0.0",
90440
90438
  zod: "^3.25.0"
@@ -91265,7 +91263,7 @@ var processFieldTypes = (fields2, schema, collectedTypes) => {
91265
91263
  }
91266
91264
  };
91267
91265
  var collectCustomTypes = (type, schema, collectedTypes = new Set) => {
91268
- const typeName = type.toString().replace(/[[\]!]/g, "");
91266
+ const typeName = type.toString().replace(/[\[\]!]/g, "");
91269
91267
  if (collectedTypes.has(typeName) || ["String", "Int", "Float", "Boolean", "ID"].includes(typeName)) {
91270
91268
  return collectedTypes;
91271
91269
  }
@@ -103896,20 +103894,6 @@ var restartBlockchainNetwork = graphql(`
103896
103894
  }
103897
103895
  }
103898
103896
  `, [BlockchainNetworkFragment]);
103899
- var pauseBlockchainNetwork = graphql(`
103900
- mutation PauseBlockchainNetwork($uniqueName: String!) {
103901
- pauseBlockchainNetworkByUniqueName(uniqueName: $uniqueName) {
103902
- ...BlockchainNetwork
103903
- }
103904
- }
103905
- `, [BlockchainNetworkFragment]);
103906
- var resumeBlockchainNetwork = graphql(`
103907
- mutation ResumeBlockchainNetwork($uniqueName: String!) {
103908
- resumeBlockchainNetworkByUniqueName(uniqueName: $uniqueName) {
103909
- ...BlockchainNetwork
103910
- }
103911
- }
103912
- `, [BlockchainNetworkFragment]);
103913
103897
  var blockchainNetworkList = (gqlClient) => {
103914
103898
  return async (applicationUniqueName) => {
103915
103899
  const { blockchainNetworksByUniqueName: { items } } = await gqlClient.request(getBlockchainNetworks, { applicationUniqueName });
@@ -103944,14 +103928,6 @@ var blockchainNetworkRestart = (gqlClient) => async (blockchainNetworkUniqueName
103944
103928
  const { restartBlockchainNetworkByUniqueName: blockchainNetwork } = await gqlClient.request(restartBlockchainNetwork, { uniqueName: blockchainNetworkUniqueName });
103945
103929
  return blockchainNetwork;
103946
103930
  };
103947
- var blockchainNetworkPause = (gqlClient) => async (blockchainNetworkUniqueName) => {
103948
- const { pauseBlockchainNetworkByUniqueName: blockchainNetwork } = await gqlClient.request(pauseBlockchainNetwork, { uniqueName: blockchainNetworkUniqueName });
103949
- return blockchainNetwork;
103950
- };
103951
- var blockchainNetworkResume = (gqlClient) => async (blockchainNetworkUniqueName) => {
103952
- const { resumeBlockchainNetworkByUniqueName: blockchainNetwork } = await gqlClient.request(resumeBlockchainNetwork, { uniqueName: blockchainNetworkUniqueName });
103953
- return blockchainNetwork;
103954
- };
103955
103931
  var BlockchainNodeFragment = graphql(`
103956
103932
  fragment BlockchainNode on BlockchainNode {
103957
103933
  __typename
@@ -104085,20 +104061,6 @@ var restartBlockchainNode = graphql(`
104085
104061
  }
104086
104062
  }
104087
104063
  `, [BlockchainNodeFragment]);
104088
- var pauseBlockchainNode = graphql(`
104089
- mutation PauseBlockchainNode($uniqueName: String!) {
104090
- pauseBlockchainNodeByUniqueName(uniqueName: $uniqueName) {
104091
- ...BlockchainNode
104092
- }
104093
- }
104094
- `, [BlockchainNodeFragment]);
104095
- var resumeBlockchainNode = graphql(`
104096
- mutation ResumeBlockchainNode($uniqueName: String!) {
104097
- resumeBlockchainNodeByUniqueName(uniqueName: $uniqueName) {
104098
- ...BlockchainNode
104099
- }
104100
- }
104101
- `, [BlockchainNodeFragment]);
104102
104064
  var blockchainNodeList = (gqlClient) => {
104103
104065
  return async (applicationUniqueName) => {
104104
104066
  const { blockchainNodesByUniqueName: { items } } = await gqlClient.request(getBlockchainNodes, { applicationUniqueName });
@@ -104127,14 +104089,6 @@ var blockchainNodeRestart = (gqlClient) => async (blockchainNodeUniqueName) => {
104127
104089
  const { restartBlockchainNodeByUniqueName: blockchainNode } = await gqlClient.request(restartBlockchainNode, { uniqueName: blockchainNodeUniqueName });
104128
104090
  return blockchainNode;
104129
104091
  };
104130
- var blockchainNodePause = (gqlClient) => async (blockchainNodeUniqueName) => {
104131
- const { pauseBlockchainNodeByUniqueName: blockchainNode } = await gqlClient.request(pauseBlockchainNode, { uniqueName: blockchainNodeUniqueName });
104132
- return blockchainNode;
104133
- };
104134
- var blockchainNodeResume = (gqlClient) => async (blockchainNodeUniqueName) => {
104135
- const { resumeBlockchainNodeByUniqueName: blockchainNode } = await gqlClient.request(resumeBlockchainNode, { uniqueName: blockchainNodeUniqueName });
104136
- return blockchainNode;
104137
- };
104138
104092
  var CustomDeploymentFragment = graphql(`
104139
104093
  fragment CustomDeployment on CustomDeployment {
104140
104094
  id
@@ -104217,20 +104171,6 @@ var restartCustomDeployment = graphql(`
104217
104171
  }
104218
104172
  }
104219
104173
  `, [CustomDeploymentFragment]);
104220
- var pauseCustomDeployment = graphql(`
104221
- mutation PauseCustomDeployment($uniqueName: String!) {
104222
- pauseCustomDeploymentByUniqueName(uniqueName: $uniqueName) {
104223
- ...CustomDeployment
104224
- }
104225
- }
104226
- `, [CustomDeploymentFragment]);
104227
- var resumeCustomDeployment = graphql(`
104228
- mutation ResumeCustomDeployment($uniqueName: String!) {
104229
- resumeCustomDeploymentByUniqueName(uniqueName: $uniqueName) {
104230
- ...CustomDeployment
104231
- }
104232
- }
104233
- `, [CustomDeploymentFragment]);
104234
104174
  var customdeploymentList = (gqlClient) => {
104235
104175
  return async (applicationUniqueName) => {
104236
104176
  const { customDeploymentsByUniqueName: { items } } = await gqlClient.request(getCustomDeployments, { applicationUniqueName });
@@ -104267,14 +104207,6 @@ var customDeploymentRestart = (gqlClient) => async (customDeploymentUniqueName)
104267
104207
  const { restartCustomDeploymentByUniqueName: customDeployment } = await gqlClient.request(restartCustomDeployment, { uniqueName: customDeploymentUniqueName });
104268
104208
  return customDeployment;
104269
104209
  };
104270
- var customDeploymentPause = (gqlClient) => async (customDeploymentUniqueName) => {
104271
- const { pauseCustomDeploymentByUniqueName: customDeployment } = await gqlClient.request(pauseCustomDeployment, { uniqueName: customDeploymentUniqueName });
104272
- return customDeployment;
104273
- };
104274
- var customDeploymentResume = (gqlClient) => async (customDeploymentUniqueName) => {
104275
- const { resumeCustomDeploymentByUniqueName: customDeployment } = await gqlClient.request(resumeCustomDeployment, { uniqueName: customDeploymentUniqueName });
104276
- return customDeployment;
104277
- };
104278
104210
  var getFoundryEnvConfig = graphql(`
104279
104211
  query GetFoundryEnvConfig($blockchainNodeUniqueName: String!) {
104280
104212
  foundryEnvConfigByUniqueName(blockchainNodeUniqueName: $blockchainNodeUniqueName)
@@ -104351,20 +104283,6 @@ var restartLoadBalancer = graphql(`
104351
104283
  }
104352
104284
  }
104353
104285
  `, [LoadBalancerFragment]);
104354
- var pauseLoadBalancer = graphql(`
104355
- mutation PauseLoadBalancer($uniqueName: String!) {
104356
- pauseLoadBalancerByUniqueName(uniqueName: $uniqueName) {
104357
- ...LoadBalancer
104358
- }
104359
- }
104360
- `, [LoadBalancerFragment]);
104361
- var resumeLoadBalancer = graphql(`
104362
- mutation ResumeLoadBalancer($uniqueName: String!) {
104363
- resumeLoadBalancerByUniqueName(uniqueName: $uniqueName) {
104364
- ...LoadBalancer
104365
- }
104366
- }
104367
- `, [LoadBalancerFragment]);
104368
104286
  var loadBalancerRead = (gqlClient) => {
104369
104287
  return async (loadBalancerUniqueName) => {
104370
104288
  const { loadBalancerByUniqueName: loadBalancer } = await gqlClient.request(getLoadBalancer, { uniqueName: loadBalancerUniqueName });
@@ -104398,14 +104316,6 @@ var loadBalancerRestart = (gqlClient) => async (loadBalancerUniqueName) => {
104398
104316
  const { restartLoadBalancerByUniqueName: loadBalancer } = await gqlClient.request(restartLoadBalancer, { uniqueName: loadBalancerUniqueName });
104399
104317
  return loadBalancer;
104400
104318
  };
104401
- var loadBalancerPause = (gqlClient) => async (loadBalancerUniqueName) => {
104402
- const { pauseLoadBalancerByUniqueName: loadBalancer } = await gqlClient.request(pauseLoadBalancer, { uniqueName: loadBalancerUniqueName });
104403
- return loadBalancer;
104404
- };
104405
- var loadBalancerResume = (gqlClient) => async (loadBalancerUniqueName) => {
104406
- const { resumeLoadBalancerByUniqueName: loadBalancer } = await gqlClient.request(resumeLoadBalancer, { uniqueName: loadBalancerUniqueName });
104407
- return loadBalancer;
104408
- };
104409
104319
  var InsightsFragment = graphql(`
104410
104320
  fragment Insights on Insights {
104411
104321
  __typename
@@ -104479,20 +104389,6 @@ var restartInsights = graphql(`
104479
104389
  }
104480
104390
  }
104481
104391
  `, [InsightsFragment]);
104482
- var pauseInsights = graphql(`
104483
- mutation PauseInsights($uniqueName: String!) {
104484
- pauseInsightsByUniqueName(uniqueName: $uniqueName) {
104485
- ...Insights
104486
- }
104487
- }
104488
- `, [InsightsFragment]);
104489
- var resumeInsights = graphql(`
104490
- mutation ResumeInsights($uniqueName: String!) {
104491
- resumeInsightsByUniqueName(uniqueName: $uniqueName) {
104492
- ...Insights
104493
- }
104494
- }
104495
- `, [InsightsFragment]);
104496
104392
  var insightsList = (gqlClient) => {
104497
104393
  return async (applicationUniqueName) => {
104498
104394
  const { insightsListByUniqueName: { items } } = await gqlClient.request(getInsights, { applicationUniqueName });
@@ -104526,14 +104422,6 @@ var insightsRestart = (gqlClient) => async (insightsUniqueName) => {
104526
104422
  const { restartInsightsByUniqueName: insights } = await gqlClient.request(restartInsights, { uniqueName: insightsUniqueName });
104527
104423
  return insights;
104528
104424
  };
104529
- var insightsPause = (gqlClient) => async (insightsUniqueName) => {
104530
- const { pauseInsightsByUniqueName: insights } = await gqlClient.request(pauseInsights, { uniqueName: insightsUniqueName });
104531
- return insights;
104532
- };
104533
- var insightsResume = (gqlClient) => async (insightsUniqueName) => {
104534
- const { resumeInsightsByUniqueName: insights } = await gqlClient.request(resumeInsights, { uniqueName: insightsUniqueName });
104535
- return insights;
104536
- };
104537
104425
  var IntegrationFragment = graphql(`
104538
104426
  fragment Integration on Integration {
104539
104427
  __typename
@@ -104603,20 +104491,6 @@ var restartIntegrationTool = graphql(`
104603
104491
  }
104604
104492
  }
104605
104493
  `, [IntegrationFragment]);
104606
- var pauseIntegrationTool = graphql(`
104607
- mutation PauseIntegrationTool($uniqueName: String!) {
104608
- pauseIntegrationByUniqueName(uniqueName: $uniqueName) {
104609
- ...Integration
104610
- }
104611
- }
104612
- `, [IntegrationFragment]);
104613
- var resumeIntegrationTool = graphql(`
104614
- mutation ResumeIntegrationTool($uniqueName: String!) {
104615
- resumeIntegrationByUniqueName(uniqueName: $uniqueName) {
104616
- ...Integration
104617
- }
104618
- }
104619
- `, [IntegrationFragment]);
104620
104494
  var integrationToolList = (gqlClient) => {
104621
104495
  return async (applicationUniqueName) => {
104622
104496
  const { integrationsByUniqueName: { items } } = await gqlClient.request(getIntegrations, { applicationUniqueName });
@@ -104644,14 +104518,6 @@ var integrationToolRestart = (gqlClient) => async (integrationUniqueName) => {
104644
104518
  const { restartIntegrationByUniqueName: integration } = await gqlClient.request(restartIntegrationTool, { uniqueName: integrationUniqueName });
104645
104519
  return integration;
104646
104520
  };
104647
- var integrationToolPause = (gqlClient) => async (integrationUniqueName) => {
104648
- const { pauseIntegrationByUniqueName: integration } = await gqlClient.request(pauseIntegrationTool, { uniqueName: integrationUniqueName });
104649
- return integration;
104650
- };
104651
- var integrationToolResume = (gqlClient) => async (integrationUniqueName) => {
104652
- const { resumeIntegrationByUniqueName: integration } = await gqlClient.request(resumeIntegrationTool, { uniqueName: integrationUniqueName });
104653
- return integration;
104654
- };
104655
104521
  var StorageFragment = graphql(`
104656
104522
  fragment Storage on Storage {
104657
104523
  __typename
@@ -104721,20 +104587,6 @@ var restartStorage = graphql(`
104721
104587
  }
104722
104588
  }
104723
104589
  `, [StorageFragment]);
104724
- var pauseStorage = graphql(`
104725
- mutation PauseStorage($uniqueName: String!) {
104726
- pauseStorageByUniqueName(uniqueName: $uniqueName) {
104727
- ...Storage
104728
- }
104729
- }
104730
- `, [StorageFragment]);
104731
- var resumeStorage = graphql(`
104732
- mutation ResumeStorage($uniqueName: String!) {
104733
- resumeStorageByUniqueName(uniqueName: $uniqueName) {
104734
- ...Storage
104735
- }
104736
- }
104737
- `, [StorageFragment]);
104738
104590
  var storageList = (gqlClient) => {
104739
104591
  return async (applicationUniqueName) => {
104740
104592
  const { storagesByUniqueName: { items } } = await gqlClient.request(getStorages, { applicationUniqueName });
@@ -104762,14 +104614,6 @@ var storageRestart = (gqlClient) => async (storageUniqueName) => {
104762
104614
  const { restartStorageByUniqueName: storage } = await gqlClient.request(restartStorage, { uniqueName: storageUniqueName });
104763
104615
  return storage;
104764
104616
  };
104765
- var storagePause = (gqlClient) => async (storageUniqueName) => {
104766
- const { pauseStorageByUniqueName: storage } = await gqlClient.request(pauseStorage, { uniqueName: storageUniqueName });
104767
- return storage;
104768
- };
104769
- var storageResume = (gqlClient) => async (storageUniqueName) => {
104770
- const { resumeStorageByUniqueName: storage } = await gqlClient.request(resumeStorage, { uniqueName: storageUniqueName });
104771
- return storage;
104772
- };
104773
104617
  var MiddlewareFragment = graphql(`
104774
104618
  fragment Middleware on Middleware {
104775
104619
  __typename
@@ -104870,20 +104714,6 @@ var restartMiddleware = graphql(`
104870
104714
  }
104871
104715
  }
104872
104716
  `, [MiddlewareFragment]);
104873
- var pauseMiddleware = graphql(`
104874
- mutation PauseMiddleware($uniqueName: String!) {
104875
- pauseMiddlewareByUniqueName(uniqueName: $uniqueName) {
104876
- ...Middleware
104877
- }
104878
- }
104879
- `, [MiddlewareFragment]);
104880
- var resumeMiddleware = graphql(`
104881
- mutation ResumeMiddleware($uniqueName: String!) {
104882
- resumeMiddlewareByUniqueName(uniqueName: $uniqueName) {
104883
- ...Middleware
104884
- }
104885
- }
104886
- `, [MiddlewareFragment]);
104887
104717
  var middlewareList = (gqlClient) => {
104888
104718
  return async (applicationUniqueName) => {
104889
104719
  const { middlewaresByUniqueName: { items } } = await gqlClient.request(getMiddlewares, { applicationUniqueName });
@@ -104928,14 +104758,6 @@ var middlewareRestart = (gqlClient) => async (middlewareUniqueName) => {
104928
104758
  const { restartMiddlewareByUniqueName: middleware } = await gqlClient.request(restartMiddleware, { uniqueName: middlewareUniqueName });
104929
104759
  return middleware;
104930
104760
  };
104931
- var middlewarePause = (gqlClient) => async (middlewareUniqueName) => {
104932
- const { pauseMiddlewareByUniqueName: middleware } = await gqlClient.request(pauseMiddleware, { uniqueName: middlewareUniqueName });
104933
- return middleware;
104934
- };
104935
- var middlewareResume = (gqlClient) => async (middlewareUniqueName) => {
104936
- const { resumeMiddlewareByUniqueName: middleware } = await gqlClient.request(resumeMiddleware, { uniqueName: middlewareUniqueName });
104937
- return middleware;
104938
- };
104939
104761
  var getPlatformConfigQuery = graphql(`
104940
104762
  query platformConfig {
104941
104763
  config {
@@ -105068,20 +104890,6 @@ var restartPrivateKey = graphql(`
105068
104890
  }
105069
104891
  }
105070
104892
  `, [PrivateKeyFragment]);
105071
- var pausePrivateKey = graphql(`
105072
- mutation PausePrivateKey($uniqueName: String!) {
105073
- pausePrivateKeyByUniqueName(uniqueName: $uniqueName) {
105074
- ...PrivateKey
105075
- }
105076
- }
105077
- `, [PrivateKeyFragment]);
105078
- var resumePrivateKey = graphql(`
105079
- mutation ResumePrivateKey($uniqueName: String!) {
105080
- resumePrivateKeyByUniqueName(uniqueName: $uniqueName) {
105081
- ...PrivateKey
105082
- }
105083
- }
105084
- `, [PrivateKeyFragment]);
105085
104893
  var privateKeyList = (gqlClient) => {
105086
104894
  return async (applicationUniqueName) => {
105087
104895
  const { privateKeysByUniqueName: { items } } = await gqlClient.request(getPrivateKeys, { applicationUniqueName });
@@ -105120,14 +104928,6 @@ var privateKeyRestart = (gqlClient) => async (privateKeyUniqueName) => {
105120
104928
  const { restartPrivateKeyByUniqueName: privateKey } = await gqlClient.request(restartPrivateKey, { uniqueName: privateKeyUniqueName });
105121
104929
  return privateKey;
105122
104930
  };
105123
- var privateKeyPause = (gqlClient) => async (privateKeyUniqueName) => {
105124
- const { pausePrivateKeyByUniqueName: privateKey } = await gqlClient.request(pausePrivateKey, { uniqueName: privateKeyUniqueName });
105125
- return privateKey;
105126
- };
105127
- var privateKeyResume = (gqlClient) => async (privateKeyUniqueName) => {
105128
- const { resumePrivateKeyByUniqueName: privateKey } = await gqlClient.request(resumePrivateKey, { uniqueName: privateKeyUniqueName });
105129
- return privateKey;
105130
- };
105131
104931
  var ClientOptionsSchema = exports_external2.object({
105132
104932
  accessToken: AccessTokenSchema2,
105133
104933
  instance: UrlSchema2
@@ -105207,75 +105007,57 @@ function createSettleMintClient(options) {
105207
105007
  read: blockchainNetworkRead(gqlClient),
105208
105008
  create: blockchainNetworkCreate(gqlClient),
105209
105009
  delete: blockchainNetworkDelete(gqlClient),
105210
- restart: blockchainNetworkRestart(gqlClient),
105211
- pause: blockchainNetworkPause(gqlClient),
105212
- resume: blockchainNetworkResume(gqlClient)
105010
+ restart: blockchainNetworkRestart(gqlClient)
105213
105011
  },
105214
105012
  blockchainNode: {
105215
105013
  list: blockchainNodeList(gqlClient),
105216
105014
  read: blockchainNodeRead(gqlClient),
105217
105015
  create: blockchainNodeCreate(gqlClient),
105218
- restart: blockchainNodeRestart(gqlClient),
105219
- pause: blockchainNodePause(gqlClient),
105220
- resume: blockchainNodeResume(gqlClient)
105016
+ restart: blockchainNodeRestart(gqlClient)
105221
105017
  },
105222
105018
  loadBalancer: {
105223
105019
  list: loadBalancerList(gqlClient),
105224
105020
  read: loadBalancerRead(gqlClient),
105225
105021
  create: loadBalancerCreate(gqlClient),
105226
- restart: loadBalancerRestart(gqlClient),
105227
- pause: loadBalancerPause(gqlClient),
105228
- resume: loadBalancerResume(gqlClient)
105022
+ restart: loadBalancerRestart(gqlClient)
105229
105023
  },
105230
105024
  middleware: {
105231
105025
  list: middlewareList(gqlClient),
105232
105026
  read: middlewareRead(gqlClient),
105233
105027
  graphSubgraphs: graphMiddlewareSubgraphs(gqlClient),
105234
105028
  create: middlewareCreate(gqlClient),
105235
- restart: middlewareRestart(gqlClient),
105236
- pause: middlewarePause(gqlClient),
105237
- resume: middlewareResume(gqlClient)
105029
+ restart: middlewareRestart(gqlClient)
105238
105030
  },
105239
105031
  integrationTool: {
105240
105032
  list: integrationToolList(gqlClient),
105241
105033
  read: integrationToolRead(gqlClient),
105242
105034
  create: integrationToolCreate(gqlClient),
105243
- restart: integrationToolRestart(gqlClient),
105244
- pause: integrationToolPause(gqlClient),
105245
- resume: integrationToolResume(gqlClient)
105035
+ restart: integrationToolRestart(gqlClient)
105246
105036
  },
105247
105037
  storage: {
105248
105038
  list: storageList(gqlClient),
105249
105039
  read: storageRead(gqlClient),
105250
105040
  create: storageCreate(gqlClient),
105251
- restart: storageRestart(gqlClient),
105252
- pause: storagePause(gqlClient),
105253
- resume: storageResume(gqlClient)
105041
+ restart: storageRestart(gqlClient)
105254
105042
  },
105255
105043
  privateKey: {
105256
105044
  list: privateKeyList(gqlClient),
105257
105045
  read: privatekeyRead(gqlClient),
105258
105046
  create: privateKeyCreate(gqlClient),
105259
- restart: privateKeyRestart(gqlClient),
105260
- pause: privateKeyPause(gqlClient),
105261
- resume: privateKeyResume(gqlClient)
105047
+ restart: privateKeyRestart(gqlClient)
105262
105048
  },
105263
105049
  insights: {
105264
105050
  list: insightsList(gqlClient),
105265
105051
  read: insightsRead(gqlClient),
105266
105052
  create: insightsCreate(gqlClient),
105267
- restart: insightsRestart(gqlClient),
105268
- pause: insightsPause(gqlClient),
105269
- resume: insightsResume(gqlClient)
105053
+ restart: insightsRestart(gqlClient)
105270
105054
  },
105271
105055
  customDeployment: {
105272
105056
  list: customdeploymentList(gqlClient),
105273
105057
  read: customdeploymentRead(gqlClient),
105274
105058
  create: customdeploymentCreate(gqlClient),
105275
105059
  update: customdeploymentUpdate(gqlClient),
105276
- restart: customDeploymentRestart(gqlClient),
105277
- pause: customDeploymentPause(gqlClient),
105278
- resume: customDeploymentResume(gqlClient)
105060
+ restart: customDeploymentRestart(gqlClient)
105279
105061
  },
105280
105062
  foundry: { env: getEnv(gqlClient) },
105281
105063
  applicationAccessToken: { create: applicationAccessTokenCreate(gqlClient) },
@@ -106807,6 +106589,21 @@ var promptsGet = (server, _env) => {
106807
106589
  try {
106808
106590
  const promptsDir = path2.resolve(__dirname, "../../prompts");
106809
106591
  const promptPath = path2.join(promptsDir, category, `${name2}.ts`);
106592
+ try {
106593
+ await fs.access(promptPath);
106594
+ } catch (error41) {
106595
+ return {
106596
+ content: [
106597
+ {
106598
+ type: "text",
106599
+ name: "Prompt Not Found",
106600
+ description: `Prompt '${name2}' in category '${category}' not found`,
106601
+ mimeType: "text/plain",
106602
+ text: `Prompt '${name2}' in category '${category}' does not exist. Use the prompts-list tool to see available prompts.`
106603
+ }
106604
+ ]
106605
+ };
106606
+ }
106810
106607
  const fileContent = await fs.readFile(promptPath, "utf-8");
106811
106608
  return {
106812
106609
  content: [
@@ -106820,19 +106617,6 @@ var promptsGet = (server, _env) => {
106820
106617
  ]
106821
106618
  };
106822
106619
  } catch (error41) {
106823
- if (error41 instanceof Error && "code" in error41 && error41.code === "ENOENT") {
106824
- return {
106825
- content: [
106826
- {
106827
- type: "text",
106828
- name: "Prompt Not Found",
106829
- description: `Prompt '${name2}' in category '${category}' not found`,
106830
- mimeType: "text/plain",
106831
- text: `Prompt '${name2}' in category '${category}' does not exist. Use the prompts-list tool to see available prompts.`
106832
- }
106833
- ]
106834
- };
106835
- }
106836
106620
  return {
106837
106621
  content: [
106838
106622
  {
@@ -106923,6 +106707,21 @@ var resourcesGet = (server, _env) => {
106923
106707
  try {
106924
106708
  const resourcesDir = path4.resolve(__dirname, "../../resources");
106925
106709
  const resourcePath = path4.join(resourcesDir, `${name2}.ts`);
106710
+ try {
106711
+ await fs3.access(resourcePath);
106712
+ } catch (error41) {
106713
+ return {
106714
+ content: [
106715
+ {
106716
+ type: "text",
106717
+ name: "Resource Not Found",
106718
+ description: `Resource '${name2}' not found`,
106719
+ mimeType: "text/plain",
106720
+ text: `Resource '${name2}' does not exist. Use the resources-list tool to see available resources.`
106721
+ }
106722
+ ]
106723
+ };
106724
+ }
106926
106725
  const fileContent = await fs3.readFile(resourcePath, "utf-8");
106927
106726
  return {
106928
106727
  content: [
@@ -106936,19 +106735,6 @@ var resourcesGet = (server, _env) => {
106936
106735
  ]
106937
106736
  };
106938
106737
  } catch (error41) {
106939
- if (error41 instanceof Error && "code" in error41 && error41.code === "ENOENT") {
106940
- return {
106941
- content: [
106942
- {
106943
- type: "text",
106944
- name: "Resource Not Found",
106945
- description: `Resource '${name2}' not found`,
106946
- mimeType: "text/plain",
106947
- text: `Resource '${name2}' does not exist. Use the resources-list tool to see available resources.`
106948
- }
106949
- ]
106950
- };
106951
- }
106952
106738
  return {
106953
106739
  content: [
106954
106740
  {
@@ -107099,4 +106885,4 @@ await main().catch((error41) => {
107099
106885
  process.exit(1);
107100
106886
  });
107101
106887
 
107102
- //# debugId=BC841200580197B764756E2164756E21
106888
+ //# debugId=B8D5B6DB1A26E37964756E2164756E21