@smithery/api 0.27.0 → 0.29.0

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.
Files changed (159) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +10 -5
  3. package/client.d.mts +5 -5
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +5 -5
  6. package/client.d.ts.map +1 -1
  7. package/client.js +1 -1
  8. package/client.js.map +1 -1
  9. package/client.mjs +1 -1
  10. package/client.mjs.map +1 -1
  11. package/lib/mcp-transport.d.mts +57 -69
  12. package/lib/mcp-transport.d.mts.map +1 -1
  13. package/lib/mcp-transport.d.ts +57 -69
  14. package/lib/mcp-transport.d.ts.map +1 -1
  15. package/lib/mcp-transport.js +106 -204
  16. package/lib/mcp-transport.js.map +1 -1
  17. package/lib/mcp-transport.mjs +103 -202
  18. package/lib/mcp-transport.mjs.map +1 -1
  19. package/package.json +1 -1
  20. package/resources/beta/connect/connect.d.mts +4 -4
  21. package/resources/beta/connect/connect.d.ts +4 -4
  22. package/resources/beta/connect/connect.js +4 -4
  23. package/resources/beta/connect/connect.mjs +4 -4
  24. package/resources/beta/connect/connections.d.mts +5 -1
  25. package/resources/beta/connect/connections.d.mts.map +1 -1
  26. package/resources/beta/connect/connections.d.ts +5 -1
  27. package/resources/beta/connect/connections.d.ts.map +1 -1
  28. package/resources/beta/connect/index.d.mts +1 -1
  29. package/resources/beta/connect/index.d.ts +1 -1
  30. package/resources/beta/connect/index.js +3 -3
  31. package/resources/beta/connect/index.mjs +1 -1
  32. package/resources/beta/connect/{rpc.d.mts → mcp.d.mts} +9 -9
  33. package/resources/beta/connect/{rpc.d.mts.map → mcp.d.mts.map} +1 -1
  34. package/resources/beta/connect/{rpc.d.ts → mcp.d.ts} +9 -9
  35. package/resources/beta/connect/{rpc.d.ts.map → mcp.d.ts.map} +1 -1
  36. package/resources/beta/connect/{rpc.js → mcp.js} +8 -8
  37. package/resources/beta/connect/{rpc.js.map → mcp.js.map} +1 -1
  38. package/resources/beta/connect/{rpc.mjs → mcp.mjs} +6 -6
  39. package/resources/beta/connect/{rpc.mjs.map → mcp.mjs.map} +1 -1
  40. package/resources/beta/connect/tools.d.mts +0 -3
  41. package/resources/beta/connect/tools.d.mts.map +1 -1
  42. package/resources/beta/connect/tools.d.ts +0 -3
  43. package/resources/beta/connect/tools.d.ts.map +1 -1
  44. package/resources/index.d.mts +3 -3
  45. package/resources/index.d.mts.map +1 -1
  46. package/resources/index.d.ts +3 -3
  47. package/resources/index.d.ts.map +1 -1
  48. package/resources/index.js +1 -1
  49. package/resources/index.js.map +1 -1
  50. package/resources/index.mjs +1 -1
  51. package/resources/index.mjs.map +1 -1
  52. package/resources/namespaces/index.d.mts +3 -0
  53. package/resources/namespaces/index.d.mts.map +1 -0
  54. package/resources/namespaces/index.d.ts +3 -0
  55. package/resources/namespaces/index.d.ts.map +1 -0
  56. package/resources/namespaces/index.js +9 -0
  57. package/resources/namespaces/index.js.map +1 -0
  58. package/resources/namespaces/index.mjs +4 -0
  59. package/resources/namespaces/index.mjs.map +1 -0
  60. package/resources/namespaces/namespaces.d.mts +60 -0
  61. package/resources/namespaces/namespaces.d.mts.map +1 -0
  62. package/resources/namespaces/namespaces.d.ts +60 -0
  63. package/resources/namespaces/namespaces.d.ts.map +1 -0
  64. package/resources/namespaces/namespaces.js +54 -0
  65. package/resources/namespaces/namespaces.js.map +1 -0
  66. package/resources/namespaces/namespaces.mjs +49 -0
  67. package/resources/namespaces/namespaces.mjs.map +1 -0
  68. package/resources/namespaces/servers.d.mts +46 -0
  69. package/resources/namespaces/servers.d.mts.map +1 -0
  70. package/resources/namespaces/servers.d.ts +46 -0
  71. package/resources/namespaces/servers.d.ts.map +1 -0
  72. package/resources/namespaces/servers.js +25 -0
  73. package/resources/namespaces/servers.js.map +1 -0
  74. package/resources/namespaces/servers.mjs +21 -0
  75. package/resources/namespaces/servers.mjs.map +1 -0
  76. package/resources/namespaces.d.mts +1 -39
  77. package/resources/namespaces.d.mts.map +1 -1
  78. package/resources/namespaces.d.ts +1 -39
  79. package/resources/namespaces.d.ts.map +1 -1
  80. package/resources/namespaces.js +2 -26
  81. package/resources/namespaces.js.map +1 -1
  82. package/resources/namespaces.mjs +1 -24
  83. package/resources/namespaces.mjs.map +1 -1
  84. package/resources/servers/deployments.d.mts +55 -9
  85. package/resources/servers/deployments.d.mts.map +1 -1
  86. package/resources/servers/deployments.d.ts +55 -9
  87. package/resources/servers/deployments.d.ts.map +1 -1
  88. package/resources/servers/deployments.js +42 -8
  89. package/resources/servers/deployments.js.map +1 -1
  90. package/resources/servers/deployments.mjs +42 -8
  91. package/resources/servers/deployments.mjs.map +1 -1
  92. package/resources/servers/index.d.mts +4 -3
  93. package/resources/servers/index.d.mts.map +1 -1
  94. package/resources/servers/index.d.ts +4 -3
  95. package/resources/servers/index.d.ts.map +1 -1
  96. package/resources/servers/index.js +3 -1
  97. package/resources/servers/index.js.map +1 -1
  98. package/resources/servers/index.mjs +1 -0
  99. package/resources/servers/index.mjs.map +1 -1
  100. package/resources/servers/logs.d.mts +15 -4
  101. package/resources/servers/logs.d.mts.map +1 -1
  102. package/resources/servers/logs.d.ts +15 -4
  103. package/resources/servers/logs.d.ts.map +1 -1
  104. package/resources/servers/logs.js +10 -2
  105. package/resources/servers/logs.js.map +1 -1
  106. package/resources/servers/logs.mjs +10 -2
  107. package/resources/servers/logs.mjs.map +1 -1
  108. package/resources/servers/repo.d.mts +98 -0
  109. package/resources/servers/repo.d.mts.map +1 -0
  110. package/resources/servers/repo.d.ts +98 -0
  111. package/resources/servers/repo.d.ts.map +1 -0
  112. package/resources/servers/repo.js +55 -0
  113. package/resources/servers/repo.js.map +1 -0
  114. package/resources/servers/repo.mjs +51 -0
  115. package/resources/servers/repo.mjs.map +1 -0
  116. package/resources/servers/secrets.d.mts +46 -4
  117. package/resources/servers/secrets.d.mts.map +1 -1
  118. package/resources/servers/secrets.d.ts +46 -4
  119. package/resources/servers/secrets.d.ts.map +1 -1
  120. package/resources/servers/secrets.js +36 -6
  121. package/resources/servers/secrets.js.map +1 -1
  122. package/resources/servers/secrets.mjs +36 -6
  123. package/resources/servers/secrets.mjs.map +1 -1
  124. package/resources/servers/servers.d.mts +57 -10
  125. package/resources/servers/servers.d.mts.map +1 -1
  126. package/resources/servers/servers.d.ts +57 -10
  127. package/resources/servers/servers.d.ts.map +1 -1
  128. package/resources/servers/servers.js +47 -8
  129. package/resources/servers/servers.js.map +1 -1
  130. package/resources/servers/servers.mjs +47 -8
  131. package/resources/servers/servers.mjs.map +1 -1
  132. package/resources/tokens.d.mts +18 -18
  133. package/resources/tokens.d.mts.map +1 -1
  134. package/resources/tokens.d.ts +18 -18
  135. package/resources/tokens.d.ts.map +1 -1
  136. package/src/client.ts +14 -8
  137. package/src/lib/mcp-transport.ts +131 -236
  138. package/src/resources/beta/connect/connect.ts +6 -6
  139. package/src/resources/beta/connect/connections.ts +6 -1
  140. package/src/resources/beta/connect/index.ts +1 -1
  141. package/src/resources/beta/connect/{rpc.ts → mcp.ts} +9 -9
  142. package/src/resources/beta/connect/tools.ts +0 -2
  143. package/src/resources/index.ts +5 -2
  144. package/src/resources/namespaces/index.ts +14 -0
  145. package/src/resources/namespaces/namespaces.ts +92 -0
  146. package/src/resources/namespaces/servers.ts +71 -0
  147. package/src/resources/namespaces.ts +1 -61
  148. package/src/resources/servers/deployments.ts +76 -15
  149. package/src/resources/servers/index.ts +14 -0
  150. package/src/resources/servers/logs.ts +18 -9
  151. package/src/resources/servers/repo.ts +143 -0
  152. package/src/resources/servers/secrets.ts +55 -7
  153. package/src/resources/servers/servers.ts +92 -8
  154. package/src/resources/tokens.ts +17 -17
  155. package/src/version.ts +1 -1
  156. package/version.d.mts +1 -1
  157. package/version.d.ts +1 -1
  158. package/version.js +1 -1
  159. package/version.mjs +1 -1
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Repo = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const path_1 = require("../../internal/utils/path.js");
7
+ class Repo extends resource_1.APIResource {
8
+ /**
9
+ * Disconnect the GitHub repository connection from a server.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const repo = await client.servers.repo.delete('server', {
14
+ * namespace: 'namespace',
15
+ * });
16
+ * ```
17
+ */
18
+ delete(server, params, options) {
19
+ const { namespace } = params;
20
+ return this._client.delete((0, path_1.path) `/servers/${namespace}/${server}/repo`, options);
21
+ }
22
+ /**
23
+ * Get the GitHub repository connection for a server, if one exists.
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const repo = await client.servers.repo.get('server', {
28
+ * namespace: 'namespace',
29
+ * });
30
+ * ```
31
+ */
32
+ get(server, params, options) {
33
+ const { namespace } = params;
34
+ return this._client.get((0, path_1.path) `/servers/${namespace}/${server}/repo`, options);
35
+ }
36
+ /**
37
+ * Upsert a GitHub repository connection for a server. Creates a new connection if
38
+ * none exists, or updates the existing one.
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const response = await client.servers.repo.set('server', {
43
+ * namespace: 'namespace',
44
+ * repoName: 'x',
45
+ * repoOwner: 'x',
46
+ * });
47
+ * ```
48
+ */
49
+ set(server, params, options) {
50
+ const { namespace, ...body } = params;
51
+ return this._client.put((0, path_1.path) `/servers/${namespace}/${server}/repo`, { body, ...options });
52
+ }
53
+ }
54
+ exports.Repo = Repo;
55
+ //# sourceMappingURL=repo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repo.js","sourceRoot":"","sources":["../../src/resources/servers/repo.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAc,EAAE,MAAwB,EAAE,OAAwB;QACvE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,IAAI,MAAM,OAAO,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;;;OASG;IACH,GAAG,CAAC,MAAc,EAAE,MAAqB,EAAE,OAAwB;QACjE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,IAAI,MAAM,OAAO,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,MAAc,EAAE,MAAqB,EAAE,OAAwB;QACjE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,IAAI,MAAM,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;CACF;AAhDD,oBAgDC"}
@@ -0,0 +1,51 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { path } from "../../internal/utils/path.mjs";
4
+ export class Repo extends APIResource {
5
+ /**
6
+ * Disconnect the GitHub repository connection from a server.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const repo = await client.servers.repo.delete('server', {
11
+ * namespace: 'namespace',
12
+ * });
13
+ * ```
14
+ */
15
+ delete(server, params, options) {
16
+ const { namespace } = params;
17
+ return this._client.delete(path `/servers/${namespace}/${server}/repo`, options);
18
+ }
19
+ /**
20
+ * Get the GitHub repository connection for a server, if one exists.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const repo = await client.servers.repo.get('server', {
25
+ * namespace: 'namespace',
26
+ * });
27
+ * ```
28
+ */
29
+ get(server, params, options) {
30
+ const { namespace } = params;
31
+ return this._client.get(path `/servers/${namespace}/${server}/repo`, options);
32
+ }
33
+ /**
34
+ * Upsert a GitHub repository connection for a server. Creates a new connection if
35
+ * none exists, or updates the existing one.
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * const response = await client.servers.repo.set('server', {
40
+ * namespace: 'namespace',
41
+ * repoName: 'x',
42
+ * repoOwner: 'x',
43
+ * });
44
+ * ```
45
+ */
46
+ set(server, params, options) {
47
+ const { namespace, ...body } = params;
48
+ return this._client.put(path `/servers/${namespace}/${server}/repo`, { body, ...options });
49
+ }
50
+ }
51
+ //# sourceMappingURL=repo.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repo.mjs","sourceRoot":"","sources":["../../src/resources/servers/repo.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAc,EAAE,MAAwB,EAAE,OAAwB;QACvE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,YAAY,SAAS,IAAI,MAAM,OAAO,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;;;OASG;IACH,GAAG,CAAC,MAAc,EAAE,MAAqB,EAAE,OAAwB;QACjE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,SAAS,IAAI,MAAM,OAAO,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,MAAc,EAAE,MAAqB,EAAE,OAAwB;QACjE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,SAAS,IAAI,MAAM,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;CACF"}
@@ -4,16 +4,44 @@ import { RequestOptions } from "../../internal/request-options.mjs";
4
4
  export declare class Secrets extends APIResource {
5
5
  /**
6
6
  * Fetch secret names for the server. Values are not returned.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const secrets = await client.servers.secrets.list(
11
+ * 'server',
12
+ * { namespace: 'namespace' },
13
+ * );
14
+ * ```
7
15
  */
8
- list(qualifiedName: string, options?: RequestOptions): APIPromise<SecretListResponse>;
16
+ list(server: string, params: SecretListParams, options?: RequestOptions): APIPromise<SecretListResponse>;
9
17
  /**
10
18
  * Delete a secret by name from the server.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * const secret = await client.servers.secrets.delete(
23
+ * 'secretName',
24
+ * { namespace: 'namespace', server: 'server' },
25
+ * );
26
+ * ```
11
27
  */
12
28
  delete(secretName: string, params: SecretDeleteParams, options?: RequestOptions): APIPromise<SecretDeleteResponse>;
13
29
  /**
14
30
  * Set a secret value for the server.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const response = await client.servers.secrets.set(
35
+ * 'server',
36
+ * {
37
+ * namespace: 'namespace',
38
+ * name: 'x',
39
+ * value: 'x',
40
+ * },
41
+ * );
42
+ * ```
15
43
  */
16
- set(qualifiedName: string, body: SecretSetParams, options?: RequestOptions): APIPromise<SecretSetResponse>;
44
+ set(server: string, params: SecretSetParams, options?: RequestOptions): APIPromise<SecretSetResponse>;
17
45
  }
18
46
  export type SecretListResponse = Array<SecretListResponse.SecretListResponseItem>;
19
47
  export declare namespace SecretListResponse {
@@ -28,14 +56,28 @@ export interface SecretDeleteResponse {
28
56
  export interface SecretSetResponse {
29
57
  success: boolean;
30
58
  }
59
+ export interface SecretListParams {
60
+ namespace: string;
61
+ }
31
62
  export interface SecretDeleteParams {
32
- qualifiedName: string;
63
+ namespace: string;
64
+ server: string;
33
65
  }
34
66
  export interface SecretSetParams {
67
+ /**
68
+ * Path param
69
+ */
70
+ namespace: string;
71
+ /**
72
+ * Body param
73
+ */
35
74
  name: string;
75
+ /**
76
+ * Body param
77
+ */
36
78
  value: string;
37
79
  }
38
80
  export declare namespace Secrets {
39
- export { type SecretListResponse as SecretListResponse, type SecretDeleteResponse as SecretDeleteResponse, type SecretSetResponse as SecretSetResponse, type SecretDeleteParams as SecretDeleteParams, type SecretSetParams as SecretSetParams, };
81
+ export { type SecretListResponse as SecretListResponse, type SecretDeleteResponse as SecretDeleteResponse, type SecretSetResponse as SecretSetResponse, type SecretListParams as SecretListParams, type SecretDeleteParams as SecretDeleteParams, type SecretSetParams as SecretSetParams, };
40
82
  }
41
83
  //# sourceMappingURL=secrets.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"secrets.d.mts","sourceRoot":"","sources":["../../src/resources/servers/secrets.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIrF;;OAEG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAKnC;;OAEG;IACH,GAAG,CAAC,aAAa,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAG3G;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;AAElF,yBAAiB,kBAAkB,CAAC;I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CAAC;CAItG;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;AAElF,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,sBAAsB;QACrC,IAAI,EAAE,MAAM,CAAC;QAEb,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAElB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
@@ -4,16 +4,44 @@ import { RequestOptions } from "../../internal/request-options.js";
4
4
  export declare class Secrets extends APIResource {
5
5
  /**
6
6
  * Fetch secret names for the server. Values are not returned.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const secrets = await client.servers.secrets.list(
11
+ * 'server',
12
+ * { namespace: 'namespace' },
13
+ * );
14
+ * ```
7
15
  */
8
- list(qualifiedName: string, options?: RequestOptions): APIPromise<SecretListResponse>;
16
+ list(server: string, params: SecretListParams, options?: RequestOptions): APIPromise<SecretListResponse>;
9
17
  /**
10
18
  * Delete a secret by name from the server.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * const secret = await client.servers.secrets.delete(
23
+ * 'secretName',
24
+ * { namespace: 'namespace', server: 'server' },
25
+ * );
26
+ * ```
11
27
  */
12
28
  delete(secretName: string, params: SecretDeleteParams, options?: RequestOptions): APIPromise<SecretDeleteResponse>;
13
29
  /**
14
30
  * Set a secret value for the server.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const response = await client.servers.secrets.set(
35
+ * 'server',
36
+ * {
37
+ * namespace: 'namespace',
38
+ * name: 'x',
39
+ * value: 'x',
40
+ * },
41
+ * );
42
+ * ```
15
43
  */
16
- set(qualifiedName: string, body: SecretSetParams, options?: RequestOptions): APIPromise<SecretSetResponse>;
44
+ set(server: string, params: SecretSetParams, options?: RequestOptions): APIPromise<SecretSetResponse>;
17
45
  }
18
46
  export type SecretListResponse = Array<SecretListResponse.SecretListResponseItem>;
19
47
  export declare namespace SecretListResponse {
@@ -28,14 +56,28 @@ export interface SecretDeleteResponse {
28
56
  export interface SecretSetResponse {
29
57
  success: boolean;
30
58
  }
59
+ export interface SecretListParams {
60
+ namespace: string;
61
+ }
31
62
  export interface SecretDeleteParams {
32
- qualifiedName: string;
63
+ namespace: string;
64
+ server: string;
33
65
  }
34
66
  export interface SecretSetParams {
67
+ /**
68
+ * Path param
69
+ */
70
+ namespace: string;
71
+ /**
72
+ * Body param
73
+ */
35
74
  name: string;
75
+ /**
76
+ * Body param
77
+ */
36
78
  value: string;
37
79
  }
38
80
  export declare namespace Secrets {
39
- export { type SecretListResponse as SecretListResponse, type SecretDeleteResponse as SecretDeleteResponse, type SecretSetResponse as SecretSetResponse, type SecretDeleteParams as SecretDeleteParams, type SecretSetParams as SecretSetParams, };
81
+ export { type SecretListResponse as SecretListResponse, type SecretDeleteResponse as SecretDeleteResponse, type SecretSetResponse as SecretSetResponse, type SecretListParams as SecretListParams, type SecretDeleteParams as SecretDeleteParams, type SecretSetParams as SecretSetParams, };
40
82
  }
41
83
  //# sourceMappingURL=secrets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../src/resources/servers/secrets.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIrF;;OAEG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAKnC;;OAEG;IACH,GAAG,CAAC,aAAa,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAG3G;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;AAElF,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,sBAAsB;QACrC,IAAI,EAAE,MAAM,CAAC;QAEb,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBA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,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
@@ -7,22 +7,52 @@ const path_1 = require("../../internal/utils/path.js");
7
7
  class Secrets extends resource_1.APIResource {
8
8
  /**
9
9
  * Fetch secret names for the server. Values are not returned.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const secrets = await client.servers.secrets.list(
14
+ * 'server',
15
+ * { namespace: 'namespace' },
16
+ * );
17
+ * ```
10
18
  */
11
- list(qualifiedName, options) {
12
- return this._client.get((0, path_1.path) `/servers/${qualifiedName}/secrets`, options);
19
+ list(server, params, options) {
20
+ const { namespace } = params;
21
+ return this._client.get((0, path_1.path) `/servers/${namespace}/${server}/secrets`, options);
13
22
  }
14
23
  /**
15
24
  * Delete a secret by name from the server.
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const secret = await client.servers.secrets.delete(
29
+ * 'secretName',
30
+ * { namespace: 'namespace', server: 'server' },
31
+ * );
32
+ * ```
16
33
  */
17
34
  delete(secretName, params, options) {
18
- const { qualifiedName } = params;
19
- return this._client.delete((0, path_1.path) `/servers/${qualifiedName}/secrets/${secretName}`, options);
35
+ const { namespace, server } = params;
36
+ return this._client.delete((0, path_1.path) `/servers/${namespace}/${server}/secrets/${secretName}`, options);
20
37
  }
21
38
  /**
22
39
  * Set a secret value for the server.
40
+ *
41
+ * @example
42
+ * ```ts
43
+ * const response = await client.servers.secrets.set(
44
+ * 'server',
45
+ * {
46
+ * namespace: 'namespace',
47
+ * name: 'x',
48
+ * value: 'x',
49
+ * },
50
+ * );
51
+ * ```
23
52
  */
24
- set(qualifiedName, body, options) {
25
- return this._client.put((0, path_1.path) `/servers/${qualifiedName}/secrets`, { body, ...options });
53
+ set(server, params, options) {
54
+ const { namespace, ...body } = params;
55
+ return this._client.put((0, path_1.path) `/servers/${namespace}/${server}/secrets`, { body, ...options });
26
56
  }
27
57
  }
28
58
  exports.Secrets = Secrets;
@@ -1 +1 @@
1
- {"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../src/resources/servers/secrets.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,IAAI,CAAC,aAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,aAAa,UAAU,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,YAAY,aAAa,YAAY,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,aAAqB,EAAE,IAAqB,EAAE,OAAwB;QACxE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,aAAa,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF;AA1BD,0BA0BC"}
1
+ {"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../src/resources/servers/secrets.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,MAAc,EAAE,MAAwB,EAAE,OAAwB;QACrE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,IAAI,MAAM,UAAU,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,IAAI,MAAM,YAAY,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IACnG,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,GAAG,CAAC,MAAc,EAAE,MAAuB,EAAE,OAAwB;QACnE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,IAAI,MAAM,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF;AAxDD,0BAwDC"}
@@ -4,22 +4,52 @@ import { path } from "../../internal/utils/path.mjs";
4
4
  export class Secrets extends APIResource {
5
5
  /**
6
6
  * Fetch secret names for the server. Values are not returned.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const secrets = await client.servers.secrets.list(
11
+ * 'server',
12
+ * { namespace: 'namespace' },
13
+ * );
14
+ * ```
7
15
  */
8
- list(qualifiedName, options) {
9
- return this._client.get(path `/servers/${qualifiedName}/secrets`, options);
16
+ list(server, params, options) {
17
+ const { namespace } = params;
18
+ return this._client.get(path `/servers/${namespace}/${server}/secrets`, options);
10
19
  }
11
20
  /**
12
21
  * Delete a secret by name from the server.
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const secret = await client.servers.secrets.delete(
26
+ * 'secretName',
27
+ * { namespace: 'namespace', server: 'server' },
28
+ * );
29
+ * ```
13
30
  */
14
31
  delete(secretName, params, options) {
15
- const { qualifiedName } = params;
16
- return this._client.delete(path `/servers/${qualifiedName}/secrets/${secretName}`, options);
32
+ const { namespace, server } = params;
33
+ return this._client.delete(path `/servers/${namespace}/${server}/secrets/${secretName}`, options);
17
34
  }
18
35
  /**
19
36
  * Set a secret value for the server.
37
+ *
38
+ * @example
39
+ * ```ts
40
+ * const response = await client.servers.secrets.set(
41
+ * 'server',
42
+ * {
43
+ * namespace: 'namespace',
44
+ * name: 'x',
45
+ * value: 'x',
46
+ * },
47
+ * );
48
+ * ```
20
49
  */
21
- set(qualifiedName, body, options) {
22
- return this._client.put(path `/servers/${qualifiedName}/secrets`, { body, ...options });
50
+ set(server, params, options) {
51
+ const { namespace, ...body } = params;
52
+ return this._client.put(path `/servers/${namespace}/${server}/secrets`, { body, ...options });
23
53
  }
24
54
  }
25
55
  //# sourceMappingURL=secrets.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"secrets.mjs","sourceRoot":"","sources":["../../src/resources/servers/secrets.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,IAAI,CAAC,aAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,aAAa,UAAU,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA0B,EAC1B,OAA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C;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,SAAS,IAAI,MAAM,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF"}
@@ -1,10 +1,12 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
2
  import * as DeploymentsAPI from "./deployments.mjs";
3
- import { DeployPayload, DeploymentDeployParams, DeploymentDeployResponse, DeploymentGetParams, DeploymentGetResponse, DeploymentListResponse, DeploymentResumeParams, DeploymentResumeResponse, Deployments, ExternalDeployPayload, HostedDeployPayload, ServerCard, StdioDeployPayload } from "./deployments.mjs";
3
+ import { DeployPayload, DeploymentDeployParams, DeploymentDeployResponse, DeploymentGetParams, DeploymentGetResponse, DeploymentListParams, DeploymentListResponse, DeploymentResumeParams, DeploymentResumeResponse, Deployments, ExternalDeployPayload, HostedDeployPayload, ServerCard, StdioDeployPayload } from "./deployments.mjs";
4
4
  import * as LogsAPI from "./logs.mjs";
5
5
  import { LogListParams, LogListResponse, Logs } from "./logs.mjs";
6
+ import * as RepoAPI from "./repo.mjs";
7
+ import { Repo, RepoDeleteParams, RepoDeleteResponse, RepoGetParams, RepoGetResponse, RepoSetParams, RepoSetResponse } from "./repo.mjs";
6
8
  import * as SecretsAPI from "./secrets.mjs";
7
- import { SecretDeleteParams, SecretDeleteResponse, SecretListResponse, SecretSetParams, SecretSetResponse, Secrets } from "./secrets.mjs";
9
+ import { SecretDeleteParams, SecretDeleteResponse, SecretListParams, SecretListResponse, SecretSetParams, SecretSetResponse, Secrets } from "./secrets.mjs";
8
10
  import { APIPromise } from "../../core/api-promise.mjs";
9
11
  import { PagePromise, SmitheryPage, type SmitheryPageParams } from "../../core/pagination.mjs";
10
12
  import { RequestOptions } from "../../internal/request-options.mjs";
@@ -12,22 +14,55 @@ export declare class Servers extends APIResource {
12
14
  deployments: DeploymentsAPI.Deployments;
13
15
  logs: LogsAPI.Logs;
14
16
  secrets: SecretsAPI.Secrets;
17
+ repo: RepoAPI.Repo;
15
18
  /**
16
19
  * Get a paginated list of all servers. Use the `q` parameter to search.
20
+ *
21
+ * @example
22
+ * ```ts
23
+ * // Automatically fetches more pages as needed.
24
+ * for await (const serverListResponse of client.servers.list()) {
25
+ * // ...
26
+ * }
27
+ * ```
17
28
  */
18
29
  list(query?: ServerListParams | null | undefined, options?: RequestOptions): PagePromise<ServerListResponsesSmitheryPage, ServerListResponse>;
19
30
  /**
20
- * Delete a server by qualified name.
31
+ * Delete a server by namespace and server name.
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const server = await client.servers.delete('server', {
36
+ * namespace: 'namespace',
37
+ * });
38
+ * ```
21
39
  */
22
- delete(qualifiedName: string, options?: RequestOptions): APIPromise<ServerDeleteResponse>;
40
+ delete(server: string, params: ServerDeleteParams, options?: RequestOptions): APIPromise<ServerDeleteResponse>;
23
41
  /**
24
42
  * Download the MCPB bundle for the latest successful stdio deployment
43
+ *
44
+ * @example
45
+ * ```ts
46
+ * const response = await client.servers.download('server', {
47
+ * namespace: 'namespace',
48
+ * });
49
+ *
50
+ * const content = await response.blob();
51
+ * console.log(content);
52
+ * ```
25
53
  */
26
- download(qualifiedName: string, options?: RequestOptions): APIPromise<Response>;
54
+ download(server: string, params: ServerDownloadParams, options?: RequestOptions): APIPromise<Response>;
27
55
  /**
28
- * Get a single server by its qualified name.
56
+ * Get a single server by its namespace and server name.
57
+ *
58
+ * @example
59
+ * ```ts
60
+ * const server = await client.servers.get('server', {
61
+ * namespace: 'namespace',
62
+ * });
63
+ * ```
29
64
  */
30
- get(qualifiedName: string, options?: RequestOptions): APIPromise<ServerGetResponse>;
65
+ get(server: string, params: ServerGetParams, options?: RequestOptions): APIPromise<ServerGetResponse>;
31
66
  }
32
67
  export type ServerListResponsesSmitheryPage = SmitheryPage<ServerListResponse>;
33
68
  /**
@@ -85,9 +120,11 @@ export interface ServerListResponse {
85
120
  homepage: string;
86
121
  iconUrl: string | null;
87
122
  isDeployed: boolean;
123
+ namespace: string | null;
88
124
  owner: string | null;
89
125
  qualifiedName: string;
90
126
  remote: boolean | null;
127
+ slug: string | null;
91
128
  useCount: number;
92
129
  verified: boolean;
93
130
  }
@@ -152,10 +189,20 @@ export interface ServerListParams extends SmitheryPageParams {
152
189
  topK?: number;
153
190
  verified?: '0' | '1' | 'true' | 'false';
154
191
  }
192
+ export interface ServerDeleteParams {
193
+ namespace: string;
194
+ }
195
+ export interface ServerDownloadParams {
196
+ namespace: string;
197
+ }
198
+ export interface ServerGetParams {
199
+ namespace: string;
200
+ }
155
201
  export declare namespace Servers {
156
- export { type BuildConfig as BuildConfig, type DeploymentTarget as DeploymentTarget, type ProjectConfig as ProjectConfig, type ServerListResponse as ServerListResponse, type ServerDeleteResponse as ServerDeleteResponse, type ServerGetResponse as ServerGetResponse, type ServerListResponsesSmitheryPage as ServerListResponsesSmitheryPage, type ServerListParams as ServerListParams, };
157
- export { Deployments as Deployments, type DeployPayload as DeployPayload, type ExternalDeployPayload as ExternalDeployPayload, type HostedDeployPayload as HostedDeployPayload, type ServerCard as ServerCard, type StdioDeployPayload as StdioDeployPayload, type DeploymentListResponse as DeploymentListResponse, type DeploymentDeployResponse as DeploymentDeployResponse, type DeploymentGetResponse as DeploymentGetResponse, type DeploymentResumeResponse as DeploymentResumeResponse, type DeploymentDeployParams as DeploymentDeployParams, type DeploymentGetParams as DeploymentGetParams, type DeploymentResumeParams as DeploymentResumeParams, };
202
+ export { type BuildConfig as BuildConfig, type DeploymentTarget as DeploymentTarget, type ProjectConfig as ProjectConfig, type ServerListResponse as ServerListResponse, type ServerDeleteResponse as ServerDeleteResponse, type ServerGetResponse as ServerGetResponse, type ServerListResponsesSmitheryPage as ServerListResponsesSmitheryPage, type ServerListParams as ServerListParams, type ServerDeleteParams as ServerDeleteParams, type ServerDownloadParams as ServerDownloadParams, type ServerGetParams as ServerGetParams, };
203
+ export { Deployments as Deployments, type DeployPayload as DeployPayload, type ExternalDeployPayload as ExternalDeployPayload, type HostedDeployPayload as HostedDeployPayload, type ServerCard as ServerCard, type StdioDeployPayload as StdioDeployPayload, type DeploymentListResponse as DeploymentListResponse, type DeploymentDeployResponse as DeploymentDeployResponse, type DeploymentGetResponse as DeploymentGetResponse, type DeploymentResumeResponse as DeploymentResumeResponse, type DeploymentListParams as DeploymentListParams, type DeploymentDeployParams as DeploymentDeployParams, type DeploymentGetParams as DeploymentGetParams, type DeploymentResumeParams as DeploymentResumeParams, };
158
204
  export { Logs as Logs, type LogListResponse as LogListResponse, type LogListParams as LogListParams };
159
- export { Secrets as Secrets, type SecretListResponse as SecretListResponse, type SecretDeleteResponse as SecretDeleteResponse, type SecretSetResponse as SecretSetResponse, type SecretDeleteParams as SecretDeleteParams, type SecretSetParams as SecretSetParams, };
205
+ export { Secrets as Secrets, type SecretListResponse as SecretListResponse, type SecretDeleteResponse as SecretDeleteResponse, type SecretSetResponse as SecretSetResponse, type SecretListParams as SecretListParams, type SecretDeleteParams as SecretDeleteParams, type SecretSetParams as SecretSetParams, };
206
+ export { Repo as Repo, type RepoDeleteResponse as RepoDeleteResponse, type RepoGetResponse as RepoGetResponse, type RepoSetResponse as RepoSetResponse, type RepoDeleteParams as RepoDeleteParams, type RepoGetParams as RepoGetParams, type RepoSetParams as RepoSetParams, };
160
207
  }
161
208
  //# sourceMappingURL=servers.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"servers.d.mts","sourceRoot":"","sources":["../../src/resources/servers/servers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,aAAa,EACb,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACX,qBAAqB,EACrB,mBAAmB,EACnB,UAAU,EACV,kBAAkB,EACnB;OACM,KAAK,OAAO;OACZ,EAAE,aAAa,EAAE,eAAe,EAAE,IAAI,EAAE;OACxC,KAA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C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
1
+ {"version":3,"file":"servers.d.mts","sourceRoot":"","sources":["../../src/resources/servers/servers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,aAAa,EACb,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACX,qBAAqB,EACrB,mBAAmB,EACnB,UAAU,EACV,kBAAkB,EACnB;OACM,KAAK,OAAO;OACZ,EAAE,aAAa,EAAE,eAAe,EAAE,IAAI,EAAE;OACxC,KAAK,OAAO;OACZ,EACL,IAAI,EACJ,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,aAAa,EACb,eAAe,EAChB;OACM,KAAK,UAAU;OACf,EACL,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EACjB,OAAO,EACR;OACM,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,YAAY,EAAE,KAAK,kBAAkB,EAAE;OAEtD,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IAEpD;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,+BAA+B,EAAE,k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