@smithery/api 0.46.0 → 0.48.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 (94) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +5 -10
  3. package/client.d.mts +2 -2
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +2 -2
  6. package/client.d.ts.map +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/index.d.mts +1 -1
  11. package/resources/index.d.mts.map +1 -1
  12. package/resources/index.d.ts +1 -1
  13. package/resources/index.d.ts.map +1 -1
  14. package/resources/index.js.map +1 -1
  15. package/resources/index.mjs.map +1 -1
  16. package/resources/servers/domains.d.mts +176 -0
  17. package/resources/servers/domains.d.mts.map +1 -0
  18. package/resources/servers/domains.d.ts +176 -0
  19. package/resources/servers/domains.d.ts.map +1 -0
  20. package/resources/servers/domains.js +67 -0
  21. package/resources/servers/domains.js.map +1 -0
  22. package/resources/servers/domains.mjs +63 -0
  23. package/resources/servers/domains.mjs.map +1 -0
  24. package/resources/servers/index.d.mts +6 -5
  25. package/resources/servers/index.d.mts.map +1 -1
  26. package/resources/servers/index.d.ts +6 -5
  27. package/resources/servers/index.d.ts.map +1 -1
  28. package/resources/servers/index.js +5 -3
  29. package/resources/servers/index.js.map +1 -1
  30. package/resources/servers/index.mjs +3 -2
  31. package/resources/servers/index.mjs.map +1 -1
  32. package/resources/servers/logs.d.mts +5 -79
  33. package/resources/servers/logs.d.mts.map +1 -1
  34. package/resources/servers/logs.d.ts +5 -79
  35. package/resources/servers/logs.d.ts.map +1 -1
  36. package/resources/servers/logs.js +5 -21
  37. package/resources/servers/logs.js.map +1 -1
  38. package/resources/servers/logs.mjs +5 -21
  39. package/resources/servers/logs.mjs.map +1 -1
  40. package/resources/servers/releases.d.mts +437 -0
  41. package/resources/servers/releases.d.mts.map +1 -0
  42. package/resources/servers/releases.d.ts +437 -0
  43. package/resources/servers/releases.d.ts.map +1 -0
  44. package/resources/servers/releases.js +91 -0
  45. package/resources/servers/releases.js.map +1 -0
  46. package/resources/servers/releases.mjs +87 -0
  47. package/resources/servers/releases.mjs.map +1 -0
  48. package/resources/servers/repo.d.mts +13 -103
  49. package/resources/servers/repo.d.mts.map +1 -1
  50. package/resources/servers/repo.d.ts +13 -103
  51. package/resources/servers/repo.d.ts.map +1 -1
  52. package/resources/servers/repo.js +15 -61
  53. package/resources/servers/repo.js.map +1 -1
  54. package/resources/servers/repo.mjs +15 -61
  55. package/resources/servers/repo.mjs.map +1 -1
  56. package/resources/servers/secrets.d.mts +14 -85
  57. package/resources/servers/secrets.d.mts.map +1 -1
  58. package/resources/servers/secrets.d.ts +14 -85
  59. package/resources/servers/secrets.d.ts.map +1 -1
  60. package/resources/servers/secrets.js +13 -63
  61. package/resources/servers/secrets.js.map +1 -1
  62. package/resources/servers/secrets.mjs +13 -63
  63. package/resources/servers/secrets.mjs.map +1 -1
  64. package/resources/servers/servers.d.mts +32 -184
  65. package/resources/servers/servers.d.mts.map +1 -1
  66. package/resources/servers/servers.d.ts +32 -184
  67. package/resources/servers/servers.d.ts.map +1 -1
  68. package/resources/servers/servers.js +30 -83
  69. package/resources/servers/servers.js.map +1 -1
  70. package/resources/servers/servers.mjs +32 -85
  71. package/resources/servers/servers.mjs.map +1 -1
  72. package/src/client.ts +0 -16
  73. package/src/resources/index.ts +0 -8
  74. package/src/resources/servers/domains.ts +270 -0
  75. package/src/resources/servers/index.ts +22 -48
  76. package/src/resources/servers/logs.ts +9 -118
  77. package/src/resources/servers/releases.ts +621 -0
  78. package/src/resources/servers/repo.ts +15 -150
  79. package/src/resources/servers/secrets.ts +17 -126
  80. package/src/resources/servers/servers.ts +76 -344
  81. package/src/version.ts +1 -1
  82. package/version.d.mts +1 -1
  83. package/version.d.ts +1 -1
  84. package/version.js +1 -1
  85. package/version.mjs +1 -1
  86. package/resources/servers/deployments.d.mts +0 -686
  87. package/resources/servers/deployments.d.mts.map +0 -1
  88. package/resources/servers/deployments.d.ts +0 -686
  89. package/resources/servers/deployments.d.ts.map +0 -1
  90. package/resources/servers/deployments.js +0 -179
  91. package/resources/servers/deployments.js.map +0 -1
  92. package/resources/servers/deployments.mjs +0 -175
  93. package/resources/servers/deployments.mjs.map +0 -1
  94. package/src/resources/servers/deployments.ts +0 -978
@@ -3,29 +3,16 @@ import { APIPromise } from "../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../internal/request-options.js";
4
4
  export declare class Logs extends APIResource {
5
5
  /**
6
- * Fetch recent runtime logs for the server's deployed Worker, grouped by
7
- * invocation (requires ownership).
6
+ * Fetch recent runtime logs grouped by invocation.
8
7
  *
9
8
  * @example
10
9
  * ```ts
11
- * const logs = await client.servers.logs.list('server', {
12
- * namespace: 'namespace',
13
- * });
14
- * ```
15
- */
16
- list(server: string, params: LogListParams, options?: RequestOptions): APIPromise<LogListResponse>;
17
- /**
18
- * Fetch recent runtime logs for the server's deployed Worker, grouped by
19
- * invocation (requires ownership).
20
- *
21
- * @example
22
- * ```ts
23
- * const response = await client.servers.logs.listByNamespace(
24
- * 'namespace',
10
+ * const logs = await client.servers.logs.list(
11
+ * 'qualifiedName',
25
12
  * );
26
13
  * ```
27
14
  */
28
- listByNamespace(namespace: string, query?: LogListByNamespaceParams | null | undefined, options?: RequestOptions): APIPromise<LogListByNamespaceResponse>;
15
+ list(qualifiedName: string, query?: LogListParams | null | undefined, options?: RequestOptions): APIPromise<LogListResponse>;
29
16
  }
30
17
  export interface LogListResponse {
31
18
  invocations: Array<LogListResponse.Invocation>;
@@ -70,68 +57,7 @@ export declare namespace LogListResponse {
70
57
  }
71
58
  }
72
59
  }
73
- export interface LogListByNamespaceResponse {
74
- invocations: Array<LogListByNamespaceResponse.Invocation>;
75
- /**
76
- * Total invocations matching query
77
- */
78
- total: number;
79
- }
80
- export declare namespace LogListByNamespaceResponse {
81
- interface Invocation {
82
- id: string;
83
- duration: Invocation.Duration;
84
- exceptions: Array<Invocation.Exception>;
85
- logs: Array<Invocation.Log>;
86
- request: Invocation.Request;
87
- response: Invocation.Response;
88
- timestamp: string;
89
- }
90
- namespace Invocation {
91
- interface Duration {
92
- cpuMs: number;
93
- wallMs: number;
94
- }
95
- interface Exception {
96
- message: string;
97
- name: string;
98
- timestamp: string;
99
- stack?: string;
100
- }
101
- interface Log {
102
- level: string;
103
- message: string;
104
- timestamp: string;
105
- }
106
- interface Request {
107
- method: string;
108
- url: string;
109
- }
110
- interface Response {
111
- outcome: string;
112
- status: number;
113
- }
114
- }
115
- }
116
60
  export interface LogListParams {
117
- /**
118
- * Path param
119
- */
120
- namespace: string;
121
- /**
122
- * Query param: Start of time range (ISO 8601).
123
- */
124
- from?: string;
125
- /**
126
- * Query param: Max invocations to return. Defaults to 50.
127
- */
128
- limit?: number;
129
- /**
130
- * Query param: End of time range (ISO 8601).
131
- */
132
- to?: string;
133
- }
134
- export interface LogListByNamespaceParams {
135
61
  /**
136
62
  * Start of time range (ISO 8601).
137
63
  */
@@ -146,6 +72,6 @@ export interface LogListByNamespaceParams {
146
72
  to?: string;
147
73
  }
148
74
  export declare namespace Logs {
149
- export { type LogListResponse as LogListResponse, type LogListByNamespaceResponse as LogListByNamespaceResponse, type LogListParams as LogListParams, type LogListByNamespaceParams as LogListByNamespaceParams, };
75
+ export { type LogListResponse as LogListResponse, type LogListParams as LogListParams };
150
76
  }
151
77
  //# sourceMappingURL=logs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logs.d.ts","sourceRoot":"","sources":["../../src/resources/servers/logs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAKlG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,CAAC;QAE9B,SAAS,EAAE,MAAM,CAAC;KACnB;IAED,UAAiB,UAAU,CAAC;QAC1B,UAAiB,QAAQ;YACvB,KAAK,EAAE,MAAM,CAAC;YAEd,MAAM,EAAE,MAAM,CAAC;SAChB;QAED,UAAiB,SAAS;YACxB,OAAO,EAAE,MAAM,CAAC;YAEhB,IAAI,EAAE,MAAM,CAAC;YAEb,SAAS,EAAE,MAAM,CAAC;YAElB,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB;QAED,UAAiB,GAAG;YAClB,KAAK,EAAE,MAAM,CAAC;YAEd,OAAO,EAAE,MAAM,CAAC;YAEhB,SAAS,EAAE,MAAM,CAAC;SACnB;QAED,UAAiB,OAAO;YACtB,MAAM,EAAE,MAAM,CAAC;YAEf,GAAG,EAAE,MAAM,CAAC;SACb;QAED,UAAiB,QAAQ;YACvB,OAAO,EAAE,MAAM,CAAC;YAEhB,MAAM,EAAE,MAAM,CAAC;SAChB;KACF;CACF;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,KAAK,aAAa,IAAI,aAAa,EAAE,CAAC;CACzF"}
@@ -6,33 +6,17 @@ const resource_1 = require("../../core/resource.js");
6
6
  const path_1 = require("../../internal/utils/path.js");
7
7
  class Logs extends resource_1.APIResource {
8
8
  /**
9
- * Fetch recent runtime logs for the server's deployed Worker, grouped by
10
- * invocation (requires ownership).
9
+ * Fetch recent runtime logs grouped by invocation.
11
10
  *
12
11
  * @example
13
12
  * ```ts
14
- * const logs = await client.servers.logs.list('server', {
15
- * namespace: 'namespace',
16
- * });
17
- * ```
18
- */
19
- list(server, params, options) {
20
- const { namespace, ...query } = params;
21
- return this._client.get((0, path_1.path) `/servers/${namespace}/${server}/logs`, { query, ...options });
22
- }
23
- /**
24
- * Fetch recent runtime logs for the server's deployed Worker, grouped by
25
- * invocation (requires ownership).
26
- *
27
- * @example
28
- * ```ts
29
- * const response = await client.servers.logs.listByNamespace(
30
- * 'namespace',
13
+ * const logs = await client.servers.logs.list(
14
+ * 'qualifiedName',
31
15
  * );
32
16
  * ```
33
17
  */
34
- listByNamespace(namespace, query = {}, options) {
35
- return this._client.get((0, path_1.path) `/servers/${namespace}/logs`, { query, ...options });
18
+ list(qualifiedName, query = {}, options) {
19
+ return this._client.get((0, path_1.path) `/servers/${qualifiedName}/logs`, { query, ...options });
36
20
  }
37
21
  }
38
22
  exports.Logs = Logs;
@@ -1 +1 @@
1
- {"version":3,"file":"logs.js","sourceRoot":"","sources":["../../src/resources/servers/logs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,MAAc,EAAE,MAAqB,EAAE,OAAwB;QAClE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,IAAI,MAAM,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;;;;;OAUG;IACH,eAAe,CACb,SAAiB,EACjB,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,SAAS,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;CACF;AAnCD,oBAmCC"}
1
+ {"version":3,"file":"logs.js","sourceRoot":"","sources":["../../src/resources/servers/logs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;;;;;;OASG;IACH,IAAI,CACF,aAAqB,EACrB,QAA0C,EAAE,EAC5C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,aAAa,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;CACF;AAlBD,oBAkBC"}
@@ -3,33 +3,17 @@ import { APIResource } from "../../core/resource.mjs";
3
3
  import { path } from "../../internal/utils/path.mjs";
4
4
  export class Logs extends APIResource {
5
5
  /**
6
- * Fetch recent runtime logs for the server's deployed Worker, grouped by
7
- * invocation (requires ownership).
6
+ * Fetch recent runtime logs grouped by invocation.
8
7
  *
9
8
  * @example
10
9
  * ```ts
11
- * const logs = await client.servers.logs.list('server', {
12
- * namespace: 'namespace',
13
- * });
14
- * ```
15
- */
16
- list(server, params, options) {
17
- const { namespace, ...query } = params;
18
- return this._client.get(path `/servers/${namespace}/${server}/logs`, { query, ...options });
19
- }
20
- /**
21
- * Fetch recent runtime logs for the server's deployed Worker, grouped by
22
- * invocation (requires ownership).
23
- *
24
- * @example
25
- * ```ts
26
- * const response = await client.servers.logs.listByNamespace(
27
- * 'namespace',
10
+ * const logs = await client.servers.logs.list(
11
+ * 'qualifiedName',
28
12
  * );
29
13
  * ```
30
14
  */
31
- listByNamespace(namespace, query = {}, options) {
32
- return this._client.get(path `/servers/${namespace}/logs`, { query, ...options });
15
+ list(qualifiedName, query = {}, options) {
16
+ return this._client.get(path `/servers/${qualifiedName}/logs`, { query, ...options });
33
17
  }
34
18
  }
35
19
  //# sourceMappingURL=logs.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"logs.mjs","sourceRoot":"","sources":["../../src/resources/servers/logs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,MAAc,EAAE,MAAqB,EAAE,OAAwB;QAClE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,SAAS,IAAI,MAAM,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;;;;;OAUG;IACH,eAAe,CACb,SAAiB,EACjB,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,SAAS,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;CACF"}
1
+ {"version":3,"file":"logs.mjs","sourceRoot":"","sources":["../../src/resources/servers/logs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;OASG;IACH,IAAI,CACF,aAAqB,EACrB,QAA0C,EAAE,EAC5C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,aAAa,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;CACF"}
@@ -0,0 +1,437 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { Stream } from "../../core/streaming.mjs";
4
+ import { type Uploadable } from "../../core/uploads.mjs";
5
+ import { RequestOptions } from "../../internal/request-options.mjs";
6
+ export declare class Releases extends APIResource {
7
+ /**
8
+ * List releases ordered by most recent first. Logs are omitted — fetch a specific
9
+ * release to see logs.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const releases = await client.servers.releases.list(
14
+ * 'qualifiedName',
15
+ * );
16
+ * ```
17
+ */
18
+ list(qualifiedName: string, options?: RequestOptions): APIPromise<ReleaseListResponse>;
19
+ /**
20
+ * Submit a release via multipart form. Supports hosted (JS module upload),
21
+ * external (URL), stdio (MCPB bundle), and repo (GitHub build) release types.
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const response = await client.servers.releases.deploy(
26
+ * 'qualifiedName',
27
+ * { payload: 'payload' },
28
+ * );
29
+ * ```
30
+ */
31
+ deploy(qualifiedName: string, body: ReleaseDeployParams, options?: RequestOptions): APIPromise<ReleaseDeployResponse>;
32
+ /**
33
+ * Retrieve release details including status, git metadata, pipeline logs, and MCP
34
+ * endpoint URL.
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * const release = await client.servers.releases.get('id', {
39
+ * qualifiedName: 'qualifiedName',
40
+ * });
41
+ * ```
42
+ */
43
+ get(id: string, params: ReleaseGetParams, options?: RequestOptions): APIPromise<ReleaseGetResponse>;
44
+ /**
45
+ * Resume a paused release (e.g. after OAuth authorization). Use id='latest' to
46
+ * resume the most recent one.
47
+ *
48
+ * @example
49
+ * ```ts
50
+ * const response = await client.servers.releases.resume(
51
+ * 'id',
52
+ * { qualifiedName: 'qualifiedName' },
53
+ * );
54
+ * ```
55
+ */
56
+ resume(id: string, params: ReleaseResumeParams, options?: RequestOptions): APIPromise<ReleaseResumeResponse>;
57
+ /**
58
+ * Real-time SSE stream of release logs and status updates.
59
+ *
60
+ * @example
61
+ * ```ts
62
+ * const response = await client.servers.releases.stream(
63
+ * 'id',
64
+ * { qualifiedName: 'qualifiedName' },
65
+ * );
66
+ * ```
67
+ */
68
+ stream(id: string, params: ReleaseStreamParams, options?: RequestOptions): APIPromise<Stream<ReleaseStreamResponse>>;
69
+ }
70
+ export type DeployPayload = HostedDeployPayload | ExternalDeployPayload | StdioDeployPayload | DeployPayload.RepoDeployPayload;
71
+ export declare namespace DeployPayload {
72
+ interface RepoDeployPayload {
73
+ type: 'repo';
74
+ baseDirectory?: string;
75
+ branch?: string;
76
+ repoName?: string;
77
+ repoOwner?: string;
78
+ }
79
+ }
80
+ export interface ExternalDeployPayload {
81
+ type: 'external';
82
+ upstreamUrl: string;
83
+ configSchema?: {
84
+ [key: string]: unknown;
85
+ };
86
+ scanCredentials?: {
87
+ [key: string]: string;
88
+ };
89
+ }
90
+ export interface HostedDeployPayload {
91
+ hasAuthAdapter: boolean;
92
+ stateful: boolean;
93
+ type: 'hosted';
94
+ configSchema?: {
95
+ [key: string]: unknown;
96
+ };
97
+ serverCard?: ServerCard;
98
+ source?: HostedDeployPayload.Source;
99
+ }
100
+ export declare namespace HostedDeployPayload {
101
+ interface Source {
102
+ branch?: string;
103
+ commit?: string;
104
+ }
105
+ }
106
+ export interface ServerCard {
107
+ serverInfo: ServerCard.ServerInfo;
108
+ authentication?: ServerCard.Authentication;
109
+ prompts?: Array<ServerCard.Prompt>;
110
+ resources?: Array<ServerCard.Resource>;
111
+ tools?: Array<ServerCard.Tool>;
112
+ [k: string]: unknown;
113
+ }
114
+ export declare namespace ServerCard {
115
+ interface ServerInfo {
116
+ name: string;
117
+ version: string;
118
+ description?: string;
119
+ icons?: Array<ServerInfo.Icon>;
120
+ title?: string;
121
+ websiteUrl?: string;
122
+ }
123
+ namespace ServerInfo {
124
+ interface Icon {
125
+ src: string;
126
+ mimeType?: string;
127
+ sizes?: Array<string>;
128
+ theme?: 'light' | 'dark';
129
+ }
130
+ }
131
+ interface Authentication {
132
+ required: boolean;
133
+ schemes: Array<string>;
134
+ }
135
+ interface Prompt {
136
+ name: string;
137
+ _meta?: {
138
+ [key: string]: unknown;
139
+ };
140
+ arguments?: Array<Prompt.Argument>;
141
+ description?: string;
142
+ icons?: Array<Prompt.Icon>;
143
+ title?: string;
144
+ }
145
+ namespace Prompt {
146
+ interface Argument {
147
+ name: string;
148
+ description?: string;
149
+ required?: boolean;
150
+ }
151
+ interface Icon {
152
+ src: string;
153
+ mimeType?: string;
154
+ sizes?: Array<string>;
155
+ theme?: 'light' | 'dark';
156
+ }
157
+ }
158
+ interface Resource {
159
+ name: string;
160
+ uri: string;
161
+ _meta?: {
162
+ [key: string]: unknown;
163
+ };
164
+ annotations?: Resource.Annotations;
165
+ description?: string;
166
+ icons?: Array<Resource.Icon>;
167
+ mimeType?: string;
168
+ title?: string;
169
+ }
170
+ namespace Resource {
171
+ interface Annotations {
172
+ audience?: Array<'user' | 'assistant'>;
173
+ lastModified?: string;
174
+ priority?: number;
175
+ }
176
+ interface Icon {
177
+ src: string;
178
+ mimeType?: string;
179
+ sizes?: Array<string>;
180
+ theme?: 'light' | 'dark';
181
+ }
182
+ }
183
+ interface Tool {
184
+ inputSchema: Tool.InputSchema;
185
+ name: string;
186
+ _meta?: {
187
+ [key: string]: unknown;
188
+ };
189
+ annotations?: Tool.Annotations;
190
+ description?: string;
191
+ execution?: Tool.Execution;
192
+ icons?: Array<Tool.Icon>;
193
+ outputSchema?: Tool.OutputSchema;
194
+ title?: string;
195
+ }
196
+ namespace Tool {
197
+ interface InputSchema {
198
+ type: 'object';
199
+ properties?: {
200
+ [key: string]: unknown;
201
+ };
202
+ required?: Array<string>;
203
+ [k: string]: unknown;
204
+ }
205
+ interface Annotations {
206
+ destructiveHint?: boolean;
207
+ idempotentHint?: boolean;
208
+ openWorldHint?: boolean;
209
+ readOnlyHint?: boolean;
210
+ title?: string;
211
+ }
212
+ interface Execution {
213
+ taskSupport?: 'required' | 'optional' | 'forbidden';
214
+ }
215
+ interface Icon {
216
+ src: string;
217
+ mimeType?: string;
218
+ sizes?: Array<string>;
219
+ theme?: 'light' | 'dark';
220
+ }
221
+ interface OutputSchema {
222
+ type: 'object';
223
+ properties?: {
224
+ [key: string]: unknown;
225
+ };
226
+ required?: Array<string>;
227
+ [k: string]: unknown;
228
+ }
229
+ }
230
+ }
231
+ export interface StdioDeployPayload {
232
+ hasAuthAdapter: boolean;
233
+ runtime: 'node';
234
+ type: 'stdio';
235
+ configSchema?: {
236
+ [key: string]: unknown;
237
+ };
238
+ serverCard?: ServerCard;
239
+ source?: StdioDeployPayload.Source;
240
+ }
241
+ export declare namespace StdioDeployPayload {
242
+ interface Source {
243
+ branch?: string;
244
+ commit?: string;
245
+ }
246
+ }
247
+ export type ReleaseListResponse = Array<ReleaseListResponse.ReleaseListResponseItem>;
248
+ export declare namespace ReleaseListResponse {
249
+ interface ReleaseListResponseItem {
250
+ id: string;
251
+ /**
252
+ * ISO 8601 timestamp of when the release was created.
253
+ */
254
+ createdAt: string;
255
+ /**
256
+ * Current status: QUEUED, WORKING, SUCCESS, FAILURE, FAILURE_SCAN, AUTH_REQUIRED,
257
+ * CANCELLED, or INTERNAL_ERROR.
258
+ */
259
+ status: string;
260
+ /**
261
+ * Release type: hosted_shttp (Smithery-hosted), external_shttp (external URL), or
262
+ * stdio (local binary).
263
+ */
264
+ type: string;
265
+ /**
266
+ * ISO 8601 timestamp of the last status change.
267
+ */
268
+ updatedAt: string;
269
+ /**
270
+ * Git branch this release was built from.
271
+ */
272
+ branch?: string | null;
273
+ /**
274
+ * Git commit SHA that triggered this release.
275
+ */
276
+ commit?: string | null;
277
+ /**
278
+ * Git commit message associated with this release.
279
+ */
280
+ commitMessage?: string | null;
281
+ /**
282
+ * The MCP endpoint URL for connecting to this server.
283
+ */
284
+ mcpUrl?: string;
285
+ /**
286
+ * Upstream MCP server URL. Present only for external releases.
287
+ */
288
+ upstreamUrl?: string | null;
289
+ }
290
+ }
291
+ export interface ReleaseDeployResponse {
292
+ /**
293
+ * Unique identifier for this release.
294
+ */
295
+ deploymentId: string;
296
+ /**
297
+ * The MCP endpoint URL for connecting to this server once published.
298
+ */
299
+ mcpUrl: string;
300
+ /**
301
+ * Initial status. Will be WORKING while the release is in progress.
302
+ */
303
+ status: string;
304
+ /**
305
+ * Non-fatal warnings encountered during submission.
306
+ */
307
+ warnings?: Array<string>;
308
+ }
309
+ export interface ReleaseGetResponse {
310
+ id: string;
311
+ /**
312
+ * ISO 8601 timestamp of when the release was created.
313
+ */
314
+ createdAt: string;
315
+ /**
316
+ * Current status: QUEUED, WORKING, SUCCESS, FAILURE, FAILURE_SCAN, AUTH_REQUIRED,
317
+ * CANCELLED, or INTERNAL_ERROR.
318
+ */
319
+ status: string;
320
+ /**
321
+ * Release type: hosted_shttp (Smithery-hosted), external_shttp (external URL), or
322
+ * stdio (local binary).
323
+ */
324
+ type: string;
325
+ /**
326
+ * ISO 8601 timestamp of the last status change.
327
+ */
328
+ updatedAt: string;
329
+ /**
330
+ * Git branch this release was built from.
331
+ */
332
+ branch?: string | null;
333
+ /**
334
+ * Git commit SHA that triggered this release.
335
+ */
336
+ commit?: string | null;
337
+ /**
338
+ * Git commit message associated with this release.
339
+ */
340
+ commitMessage?: string | null;
341
+ /**
342
+ * Pipeline log entries. Only included when fetching a single release.
343
+ */
344
+ logs?: Array<ReleaseGetResponse.Log>;
345
+ /**
346
+ * The MCP endpoint URL for connecting to this server.
347
+ */
348
+ mcpUrl?: string;
349
+ /**
350
+ * Upstream MCP server URL. Present only for external releases.
351
+ */
352
+ upstreamUrl?: string | null;
353
+ }
354
+ export declare namespace ReleaseGetResponse {
355
+ interface Log {
356
+ /**
357
+ * Log level: 'start', 'end', 'info', 'success', or 'failure'.
358
+ */
359
+ level: string;
360
+ /**
361
+ * Human-readable log message.
362
+ */
363
+ message: string;
364
+ /**
365
+ * Pipeline stage: deploy (bundle upload), scan (security/OAuth check), metadata
366
+ * (tool discovery), publish (making the server live).
367
+ */
368
+ stage: 'deploy' | 'scan' | 'metadata' | 'publish';
369
+ /**
370
+ * ISO 8601 timestamp of the log entry.
371
+ */
372
+ timestamp: string;
373
+ /**
374
+ * Error details, present only when the stage failed.
375
+ */
376
+ error?: Log.Error;
377
+ }
378
+ namespace Log {
379
+ /**
380
+ * Error details, present only when the stage failed.
381
+ */
382
+ interface Error {
383
+ message?: string;
384
+ }
385
+ }
386
+ }
387
+ export interface ReleaseResumeResponse {
388
+ deploymentId: string;
389
+ status: string;
390
+ }
391
+ /**
392
+ * SSE events: init (with buffered logs), log, status, complete
393
+ */
394
+ export type ReleaseStreamResponse = string;
395
+ export interface ReleaseDeployParams {
396
+ /**
397
+ * JSON-encoded release payload. See DeployPayload schema for structure.
398
+ */
399
+ payload: string;
400
+ /**
401
+ * MCPB bundle file (for stdio releases)
402
+ */
403
+ bundle?: Uploadable;
404
+ /**
405
+ * JavaScript module file (for hosted releases)
406
+ */
407
+ module?: Uploadable;
408
+ /**
409
+ * Source map file (for hosted releases)
410
+ */
411
+ sourcemap?: Uploadable;
412
+ }
413
+ export interface ReleaseGetParams {
414
+ /**
415
+ * The server's qualified name (e.g. 'namespace/server' or 'namespace' for
416
+ * namespace-only servers). Use %2F to encode the slash.
417
+ */
418
+ qualifiedName: string;
419
+ }
420
+ export interface ReleaseResumeParams {
421
+ /**
422
+ * The server's qualified name (e.g. 'namespace/server' or 'namespace' for
423
+ * namespace-only servers). Use %2F to encode the slash.
424
+ */
425
+ qualifiedName: string;
426
+ }
427
+ export interface ReleaseStreamParams {
428
+ /**
429
+ * The server's qualified name (e.g. 'namespace/server' or 'namespace' for
430
+ * namespace-only servers). Use %2F to encode the slash.
431
+ */
432
+ qualifiedName: string;
433
+ }
434
+ export declare namespace Releases {
435
+ export { type DeployPayload as DeployPayload, type ExternalDeployPayload as ExternalDeployPayload, type HostedDeployPayload as HostedDeployPayload, type ServerCard as ServerCard, type StdioDeployPayload as StdioDeployPayload, type ReleaseListResponse as ReleaseListResponse, type ReleaseDeployResponse as ReleaseDeployResponse, type ReleaseGetResponse as ReleaseGetResponse, type ReleaseResumeResponse as ReleaseResumeResponse, type ReleaseStreamResponse as ReleaseStreamResponse, type ReleaseDeployParams as ReleaseDeployParams, type ReleaseGetParams as ReleaseGetParams, type ReleaseResumeParams as ReleaseResumeParams, type ReleaseStreamParams as ReleaseStreamParams, };
436
+ }
437
+ //# sourceMappingURL=releases.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"releases.d.mts","sourceRoot":"","sources":["../../src/resources/servers/releases.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OACV,EAAE,KAAK,UAAU,EAAE;OAEnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAItF;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,mBAAmB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAOpC;;;;;;;;;;OAUG;IACH,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAKnG;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,mBAAmB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAKpC;;;;;;;;;;OAUG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,mBAAmB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;CAQ7C;AAED,MAAM,MAAM,aAAa,GACrB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,GAClB,aAAa,CAAC,iBAAiB,CAAC;AAEpC,yBAAiB,aAAa,CAAC;IAC7B,UAAiB,iBAAiB;QAChC,IAAI,EAAE,MAAM,CAAC;QAEb,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB,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