@smithery/api 0.1.0-alpha.8 → 0.1.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.
- package/CHANGELOG.md +41 -0
- package/README.md +5 -5
- package/client.d.mts +6 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -1
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +22 -0
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts +22 -0
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +23 -1
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +21 -0
- package/core/pagination.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/search.d.mts +4 -0
- package/resources/search.d.mts.map +1 -0
- package/resources/search.d.ts +4 -0
- package/resources/search.d.ts.map +1 -0
- package/resources/search.js +9 -0
- package/resources/search.js.map +1 -0
- package/resources/search.mjs +5 -0
- package/resources/search.mjs.map +1 -0
- package/resources/servers/deployments.d.mts +165 -288
- package/resources/servers/deployments.d.mts.map +1 -1
- package/resources/servers/deployments.d.ts +165 -288
- package/resources/servers/deployments.d.ts.map +1 -1
- package/resources/servers/index.d.mts +1 -1
- package/resources/servers/index.d.mts.map +1 -1
- package/resources/servers/index.d.ts +1 -1
- package/resources/servers/index.d.ts.map +1 -1
- package/resources/servers/index.js.map +1 -1
- package/resources/servers/index.mjs.map +1 -1
- package/resources/servers/servers.d.mts +9 -3
- package/resources/servers/servers.d.mts.map +1 -1
- package/resources/servers/servers.d.ts +9 -3
- package/resources/servers/servers.d.ts.map +1 -1
- package/resources/servers/servers.js +1 -1
- package/resources/servers/servers.js.map +1 -1
- package/resources/servers/servers.mjs +1 -1
- package/resources/servers/servers.mjs.map +1 -1
- package/src/client.ts +15 -1
- package/src/core/pagination.ts +57 -0
- package/src/resources/index.ts +1 -0
- package/src/resources/search.ts +5 -0
- package/src/resources/servers/deployments.ts +202 -385
- package/src/resources/servers/index.ts +5 -0
- package/src/resources/servers/servers.ts +23 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -54,520 +54,332 @@ export class Deployments extends APIResource {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
export
|
|
58
|
-
id: string;
|
|
59
|
-
|
|
60
|
-
createdAt: string;
|
|
61
|
-
|
|
62
|
-
status: string;
|
|
63
|
-
|
|
64
|
-
updatedAt: string;
|
|
57
|
+
export type DeployPayload = HostedDeployPayload | ExternalDeployPayload | StdioDeployPayload;
|
|
65
58
|
|
|
66
|
-
|
|
59
|
+
export interface ExternalDeployPayload {
|
|
60
|
+
type: 'external';
|
|
67
61
|
|
|
68
|
-
|
|
62
|
+
upstreamUrl: string;
|
|
69
63
|
}
|
|
70
64
|
|
|
71
|
-
export
|
|
72
|
-
|
|
73
|
-
level: string;
|
|
65
|
+
export interface HostedDeployPayload {
|
|
66
|
+
stateful: boolean;
|
|
74
67
|
|
|
75
|
-
|
|
68
|
+
type: 'hosted';
|
|
76
69
|
|
|
77
|
-
|
|
70
|
+
configSchema?: { [key: string]: unknown };
|
|
78
71
|
|
|
79
|
-
|
|
72
|
+
serverCard?: ServerCard;
|
|
80
73
|
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export namespace Log {
|
|
85
|
-
export interface Error {
|
|
86
|
-
message?: string;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
74
|
+
source?: HostedDeployPayload.Source;
|
|
89
75
|
}
|
|
90
76
|
|
|
91
|
-
export
|
|
77
|
+
export namespace HostedDeployPayload {
|
|
78
|
+
export interface Source {
|
|
79
|
+
branch?: string;
|
|
92
80
|
|
|
93
|
-
|
|
94
|
-
export interface DeploymentListResponseItem {
|
|
95
|
-
id: string;
|
|
96
|
-
|
|
97
|
-
createdAt: string;
|
|
98
|
-
|
|
99
|
-
status: string;
|
|
100
|
-
|
|
101
|
-
updatedAt: string;
|
|
102
|
-
|
|
103
|
-
mcpUrl?: string;
|
|
81
|
+
commit?: string;
|
|
104
82
|
}
|
|
105
83
|
}
|
|
106
84
|
|
|
107
|
-
export interface
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
mcpUrl: string;
|
|
85
|
+
export interface ServerCard {
|
|
86
|
+
serverInfo: ServerCard.ServerInfo;
|
|
111
87
|
|
|
112
|
-
|
|
88
|
+
authentication?: ServerCard.Authentication;
|
|
113
89
|
|
|
114
|
-
|
|
115
|
-
}
|
|
90
|
+
prompts?: Array<ServerCard.Prompt>;
|
|
116
91
|
|
|
117
|
-
|
|
118
|
-
deploymentId: string;
|
|
92
|
+
resources?: Array<ServerCard.Resource>;
|
|
119
93
|
|
|
120
|
-
|
|
121
|
-
}
|
|
94
|
+
tools?: Array<ServerCard.Tool>;
|
|
122
95
|
|
|
123
|
-
|
|
124
|
-
qualifiedName: string;
|
|
96
|
+
[k: string]: unknown;
|
|
125
97
|
}
|
|
126
98
|
|
|
127
|
-
export
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
| DeploymentDeployParams.ExternalDeployPayload
|
|
131
|
-
| DeploymentDeployParams.StdioDeployPayload;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* MCPB bundle file (for stdio deployments)
|
|
135
|
-
*/
|
|
136
|
-
bundle?: Uploadable;
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* JavaScript module file (for hosted deployments)
|
|
140
|
-
*/
|
|
141
|
-
module?: Uploadable;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Source map file (for hosted deployments)
|
|
145
|
-
*/
|
|
146
|
-
sourcemap?: Uploadable;
|
|
147
|
-
}
|
|
99
|
+
export namespace ServerCard {
|
|
100
|
+
export interface ServerInfo {
|
|
101
|
+
name: string;
|
|
148
102
|
|
|
149
|
-
|
|
150
|
-
export interface HostedDeployPayload {
|
|
151
|
-
stateful: boolean;
|
|
103
|
+
version: string;
|
|
152
104
|
|
|
153
|
-
|
|
105
|
+
description?: string;
|
|
154
106
|
|
|
155
|
-
|
|
107
|
+
icons?: Array<ServerInfo.Icon>;
|
|
156
108
|
|
|
157
|
-
|
|
109
|
+
title?: string;
|
|
158
110
|
|
|
159
|
-
|
|
111
|
+
websiteUrl?: string;
|
|
160
112
|
}
|
|
161
113
|
|
|
162
|
-
export namespace
|
|
163
|
-
export interface
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
authentication?: ServerCard.Authentication;
|
|
114
|
+
export namespace ServerInfo {
|
|
115
|
+
export interface Icon {
|
|
116
|
+
src: string;
|
|
167
117
|
|
|
168
|
-
|
|
118
|
+
mimeType?: string;
|
|
169
119
|
|
|
170
|
-
|
|
120
|
+
sizes?: Array<string>;
|
|
171
121
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
[k: string]: unknown;
|
|
122
|
+
theme?: 'light' | 'dark';
|
|
175
123
|
}
|
|
124
|
+
}
|
|
176
125
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
name: string;
|
|
180
|
-
|
|
181
|
-
version: string;
|
|
182
|
-
|
|
183
|
-
description?: string;
|
|
184
|
-
|
|
185
|
-
icons?: Array<ServerInfo.Icon>;
|
|
186
|
-
|
|
187
|
-
title?: string;
|
|
188
|
-
|
|
189
|
-
websiteUrl?: string;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export namespace ServerInfo {
|
|
193
|
-
export interface Icon {
|
|
194
|
-
src: string;
|
|
195
|
-
|
|
196
|
-
mimeType?: string;
|
|
197
|
-
|
|
198
|
-
sizes?: Array<string>;
|
|
199
|
-
|
|
200
|
-
theme?: 'light' | 'dark';
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
export interface Authentication {
|
|
205
|
-
required: boolean;
|
|
206
|
-
|
|
207
|
-
schemes: Array<string>;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
export interface Prompt {
|
|
211
|
-
name: string;
|
|
212
|
-
|
|
213
|
-
_meta?: { [key: string]: unknown };
|
|
214
|
-
|
|
215
|
-
arguments?: Array<Prompt.Argument>;
|
|
216
|
-
|
|
217
|
-
description?: string;
|
|
218
|
-
|
|
219
|
-
icons?: Array<Prompt.Icon>;
|
|
220
|
-
|
|
221
|
-
title?: string;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
export namespace Prompt {
|
|
225
|
-
export interface Argument {
|
|
226
|
-
name: string;
|
|
227
|
-
|
|
228
|
-
description?: string;
|
|
229
|
-
|
|
230
|
-
required?: boolean;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
export interface Icon {
|
|
234
|
-
src: string;
|
|
235
|
-
|
|
236
|
-
mimeType?: string;
|
|
237
|
-
|
|
238
|
-
sizes?: Array<string>;
|
|
239
|
-
|
|
240
|
-
theme?: 'light' | 'dark';
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
export interface Resource {
|
|
245
|
-
name: string;
|
|
246
|
-
|
|
247
|
-
uri: string;
|
|
248
|
-
|
|
249
|
-
_meta?: { [key: string]: unknown };
|
|
250
|
-
|
|
251
|
-
annotations?: Resource.Annotations;
|
|
252
|
-
|
|
253
|
-
description?: string;
|
|
254
|
-
|
|
255
|
-
icons?: Array<Resource.Icon>;
|
|
256
|
-
|
|
257
|
-
mimeType?: string;
|
|
258
|
-
|
|
259
|
-
title?: string;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
export namespace Resource {
|
|
263
|
-
export interface Annotations {
|
|
264
|
-
audience?: Array<'user' | 'assistant'>;
|
|
265
|
-
|
|
266
|
-
lastModified?: string;
|
|
267
|
-
|
|
268
|
-
priority?: number;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
export interface Icon {
|
|
272
|
-
src: string;
|
|
273
|
-
|
|
274
|
-
mimeType?: string;
|
|
275
|
-
|
|
276
|
-
sizes?: Array<string>;
|
|
277
|
-
|
|
278
|
-
theme?: 'light' | 'dark';
|
|
279
|
-
}
|
|
280
|
-
}
|
|
126
|
+
export interface Authentication {
|
|
127
|
+
required: boolean;
|
|
281
128
|
|
|
282
|
-
|
|
283
|
-
|
|
129
|
+
schemes: Array<string>;
|
|
130
|
+
}
|
|
284
131
|
|
|
285
|
-
|
|
132
|
+
export interface Prompt {
|
|
133
|
+
name: string;
|
|
286
134
|
|
|
287
|
-
|
|
135
|
+
_meta?: { [key: string]: unknown };
|
|
288
136
|
|
|
289
|
-
|
|
137
|
+
arguments?: Array<Prompt.Argument>;
|
|
290
138
|
|
|
291
|
-
|
|
139
|
+
description?: string;
|
|
292
140
|
|
|
293
|
-
|
|
141
|
+
icons?: Array<Prompt.Icon>;
|
|
294
142
|
|
|
295
|
-
|
|
143
|
+
title?: string;
|
|
144
|
+
}
|
|
296
145
|
|
|
297
|
-
|
|
146
|
+
export namespace Prompt {
|
|
147
|
+
export interface Argument {
|
|
148
|
+
name: string;
|
|
298
149
|
|
|
299
|
-
|
|
300
|
-
}
|
|
150
|
+
description?: string;
|
|
301
151
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
type: 'object';
|
|
152
|
+
required?: boolean;
|
|
153
|
+
}
|
|
305
154
|
|
|
306
|
-
|
|
155
|
+
export interface Icon {
|
|
156
|
+
src: string;
|
|
307
157
|
|
|
308
|
-
|
|
158
|
+
mimeType?: string;
|
|
309
159
|
|
|
310
|
-
|
|
311
|
-
}
|
|
160
|
+
sizes?: Array<string>;
|
|
312
161
|
|
|
313
|
-
|
|
314
|
-
|
|
162
|
+
theme?: 'light' | 'dark';
|
|
163
|
+
}
|
|
164
|
+
}
|
|
315
165
|
|
|
316
|
-
|
|
166
|
+
export interface Resource {
|
|
167
|
+
name: string;
|
|
317
168
|
|
|
318
|
-
|
|
169
|
+
uri: string;
|
|
319
170
|
|
|
320
|
-
|
|
171
|
+
_meta?: { [key: string]: unknown };
|
|
321
172
|
|
|
322
|
-
|
|
323
|
-
}
|
|
173
|
+
annotations?: Resource.Annotations;
|
|
324
174
|
|
|
325
|
-
|
|
326
|
-
taskSupport?: 'required' | 'optional' | 'forbidden';
|
|
327
|
-
}
|
|
175
|
+
description?: string;
|
|
328
176
|
|
|
329
|
-
|
|
330
|
-
src: string;
|
|
177
|
+
icons?: Array<Resource.Icon>;
|
|
331
178
|
|
|
332
|
-
|
|
179
|
+
mimeType?: string;
|
|
333
180
|
|
|
334
|
-
|
|
181
|
+
title?: string;
|
|
182
|
+
}
|
|
335
183
|
|
|
336
|
-
|
|
337
|
-
|
|
184
|
+
export namespace Resource {
|
|
185
|
+
export interface Annotations {
|
|
186
|
+
audience?: Array<'user' | 'assistant'>;
|
|
338
187
|
|
|
339
|
-
|
|
340
|
-
type: 'object';
|
|
188
|
+
lastModified?: string;
|
|
341
189
|
|
|
342
|
-
|
|
190
|
+
priority?: number;
|
|
191
|
+
}
|
|
343
192
|
|
|
344
|
-
|
|
193
|
+
export interface Icon {
|
|
194
|
+
src: string;
|
|
345
195
|
|
|
346
|
-
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
}
|
|
196
|
+
mimeType?: string;
|
|
350
197
|
|
|
351
|
-
|
|
352
|
-
branch?: string;
|
|
198
|
+
sizes?: Array<string>;
|
|
353
199
|
|
|
354
|
-
|
|
200
|
+
theme?: 'light' | 'dark';
|
|
355
201
|
}
|
|
356
202
|
}
|
|
357
203
|
|
|
358
|
-
export interface
|
|
359
|
-
|
|
204
|
+
export interface Tool {
|
|
205
|
+
inputSchema: Tool.InputSchema;
|
|
360
206
|
|
|
361
|
-
|
|
362
|
-
}
|
|
207
|
+
name: string;
|
|
363
208
|
|
|
364
|
-
|
|
365
|
-
runtime: 'node';
|
|
209
|
+
_meta?: { [key: string]: unknown };
|
|
366
210
|
|
|
367
|
-
|
|
211
|
+
annotations?: Tool.Annotations;
|
|
368
212
|
|
|
369
|
-
|
|
213
|
+
description?: string;
|
|
370
214
|
|
|
371
|
-
|
|
215
|
+
execution?: Tool.Execution;
|
|
372
216
|
|
|
373
|
-
|
|
374
|
-
}
|
|
217
|
+
icons?: Array<Tool.Icon>;
|
|
375
218
|
|
|
376
|
-
|
|
377
|
-
export interface ServerCard {
|
|
378
|
-
serverInfo: ServerCard.ServerInfo;
|
|
219
|
+
outputSchema?: Tool.OutputSchema;
|
|
379
220
|
|
|
380
|
-
|
|
221
|
+
title?: string;
|
|
222
|
+
}
|
|
381
223
|
|
|
382
|
-
|
|
224
|
+
export namespace Tool {
|
|
225
|
+
export interface InputSchema {
|
|
226
|
+
type: 'object';
|
|
383
227
|
|
|
384
|
-
|
|
228
|
+
properties?: { [key: string]: unknown };
|
|
385
229
|
|
|
386
|
-
|
|
230
|
+
required?: Array<string>;
|
|
387
231
|
|
|
388
232
|
[k: string]: unknown;
|
|
389
233
|
}
|
|
390
234
|
|
|
391
|
-
export
|
|
392
|
-
|
|
393
|
-
name: string;
|
|
394
|
-
|
|
395
|
-
version: string;
|
|
396
|
-
|
|
397
|
-
description?: string;
|
|
398
|
-
|
|
399
|
-
icons?: Array<ServerInfo.Icon>;
|
|
400
|
-
|
|
401
|
-
title?: string;
|
|
402
|
-
|
|
403
|
-
websiteUrl?: string;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
export namespace ServerInfo {
|
|
407
|
-
export interface Icon {
|
|
408
|
-
src: string;
|
|
409
|
-
|
|
410
|
-
mimeType?: string;
|
|
411
|
-
|
|
412
|
-
sizes?: Array<string>;
|
|
413
|
-
|
|
414
|
-
theme?: 'light' | 'dark';
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
export interface Authentication {
|
|
419
|
-
required: boolean;
|
|
420
|
-
|
|
421
|
-
schemes: Array<string>;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
export interface Prompt {
|
|
425
|
-
name: string;
|
|
426
|
-
|
|
427
|
-
_meta?: { [key: string]: unknown };
|
|
235
|
+
export interface Annotations {
|
|
236
|
+
destructiveHint?: boolean;
|
|
428
237
|
|
|
429
|
-
|
|
238
|
+
idempotentHint?: boolean;
|
|
430
239
|
|
|
431
|
-
|
|
240
|
+
openWorldHint?: boolean;
|
|
432
241
|
|
|
433
|
-
|
|
242
|
+
readOnlyHint?: boolean;
|
|
434
243
|
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
export namespace Prompt {
|
|
439
|
-
export interface Argument {
|
|
440
|
-
name: string;
|
|
441
|
-
|
|
442
|
-
description?: string;
|
|
443
|
-
|
|
444
|
-
required?: boolean;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
export interface Icon {
|
|
448
|
-
src: string;
|
|
449
|
-
|
|
450
|
-
mimeType?: string;
|
|
451
|
-
|
|
452
|
-
sizes?: Array<string>;
|
|
244
|
+
title?: string;
|
|
245
|
+
}
|
|
453
246
|
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
247
|
+
export interface Execution {
|
|
248
|
+
taskSupport?: 'required' | 'optional' | 'forbidden';
|
|
249
|
+
}
|
|
457
250
|
|
|
458
|
-
|
|
459
|
-
|
|
251
|
+
export interface Icon {
|
|
252
|
+
src: string;
|
|
460
253
|
|
|
461
|
-
|
|
254
|
+
mimeType?: string;
|
|
462
255
|
|
|
463
|
-
|
|
256
|
+
sizes?: Array<string>;
|
|
464
257
|
|
|
465
|
-
|
|
258
|
+
theme?: 'light' | 'dark';
|
|
259
|
+
}
|
|
466
260
|
|
|
467
|
-
|
|
261
|
+
export interface OutputSchema {
|
|
262
|
+
type: 'object';
|
|
468
263
|
|
|
469
|
-
|
|
264
|
+
properties?: { [key: string]: unknown };
|
|
470
265
|
|
|
471
|
-
|
|
266
|
+
required?: Array<string>;
|
|
472
267
|
|
|
473
|
-
|
|
474
|
-
|
|
268
|
+
[k: string]: unknown;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
475
272
|
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
audience?: Array<'user' | 'assistant'>;
|
|
273
|
+
export interface StdioDeployPayload {
|
|
274
|
+
runtime: 'node';
|
|
479
275
|
|
|
480
|
-
|
|
276
|
+
type: 'stdio';
|
|
481
277
|
|
|
482
|
-
|
|
483
|
-
}
|
|
278
|
+
configSchema?: { [key: string]: unknown };
|
|
484
279
|
|
|
485
|
-
|
|
486
|
-
src: string;
|
|
280
|
+
serverCard?: ServerCard;
|
|
487
281
|
|
|
488
|
-
|
|
282
|
+
source?: StdioDeployPayload.Source;
|
|
283
|
+
}
|
|
489
284
|
|
|
490
|
-
|
|
285
|
+
export namespace StdioDeployPayload {
|
|
286
|
+
export interface Source {
|
|
287
|
+
branch?: string;
|
|
491
288
|
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
289
|
+
commit?: string;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
495
292
|
|
|
496
|
-
|
|
497
|
-
|
|
293
|
+
export interface DeploymentRetrieveResponse {
|
|
294
|
+
id: string;
|
|
498
295
|
|
|
499
|
-
|
|
296
|
+
createdAt: string;
|
|
500
297
|
|
|
501
|
-
|
|
298
|
+
status: string;
|
|
502
299
|
|
|
503
|
-
|
|
300
|
+
updatedAt: string;
|
|
504
301
|
|
|
505
|
-
|
|
302
|
+
logs?: Array<DeploymentRetrieveResponse.Log>;
|
|
506
303
|
|
|
507
|
-
|
|
304
|
+
mcpUrl?: string;
|
|
305
|
+
}
|
|
508
306
|
|
|
509
|
-
|
|
307
|
+
export namespace DeploymentRetrieveResponse {
|
|
308
|
+
export interface Log {
|
|
309
|
+
level: string;
|
|
510
310
|
|
|
511
|
-
|
|
311
|
+
message: string;
|
|
512
312
|
|
|
513
|
-
|
|
514
|
-
}
|
|
313
|
+
stage: 'deploy' | 'scan' | 'metadata' | 'publish';
|
|
515
314
|
|
|
516
|
-
|
|
517
|
-
export interface InputSchema {
|
|
518
|
-
type: 'object';
|
|
315
|
+
timestamp: string;
|
|
519
316
|
|
|
520
|
-
|
|
317
|
+
error?: Log.Error;
|
|
318
|
+
}
|
|
521
319
|
|
|
522
|
-
|
|
320
|
+
export namespace Log {
|
|
321
|
+
export interface Error {
|
|
322
|
+
message?: string;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
523
326
|
|
|
524
|
-
|
|
525
|
-
}
|
|
327
|
+
export type DeploymentListResponse = Array<DeploymentListResponse.DeploymentListResponseItem>;
|
|
526
328
|
|
|
527
|
-
|
|
528
|
-
|
|
329
|
+
export namespace DeploymentListResponse {
|
|
330
|
+
export interface DeploymentListResponseItem {
|
|
331
|
+
id: string;
|
|
529
332
|
|
|
530
|
-
|
|
333
|
+
createdAt: string;
|
|
531
334
|
|
|
532
|
-
|
|
335
|
+
status: string;
|
|
533
336
|
|
|
534
|
-
|
|
337
|
+
updatedAt: string;
|
|
535
338
|
|
|
536
|
-
|
|
537
|
-
|
|
339
|
+
mcpUrl?: string;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
538
342
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
}
|
|
343
|
+
export interface DeploymentDeployResponse {
|
|
344
|
+
deploymentId: string;
|
|
542
345
|
|
|
543
|
-
|
|
544
|
-
src: string;
|
|
346
|
+
mcpUrl: string;
|
|
545
347
|
|
|
546
|
-
|
|
348
|
+
status: string;
|
|
547
349
|
|
|
548
|
-
|
|
350
|
+
warnings?: Array<string>;
|
|
351
|
+
}
|
|
549
352
|
|
|
550
|
-
|
|
551
|
-
|
|
353
|
+
export interface DeploymentResumeResponse {
|
|
354
|
+
deploymentId: string;
|
|
552
355
|
|
|
553
|
-
|
|
554
|
-
|
|
356
|
+
status: string;
|
|
357
|
+
}
|
|
555
358
|
|
|
556
|
-
|
|
359
|
+
export interface DeploymentRetrieveParams {
|
|
360
|
+
qualifiedName: string;
|
|
361
|
+
}
|
|
557
362
|
|
|
558
|
-
|
|
363
|
+
export interface DeploymentDeployParams {
|
|
364
|
+
/**
|
|
365
|
+
* JSON-encoded deployment payload. See DeployPayload schema for structure.
|
|
366
|
+
*/
|
|
367
|
+
payload: string;
|
|
559
368
|
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
369
|
+
/**
|
|
370
|
+
* MCPB bundle file (for stdio deployments)
|
|
371
|
+
*/
|
|
372
|
+
bundle?: Uploadable;
|
|
564
373
|
|
|
565
|
-
|
|
566
|
-
|
|
374
|
+
/**
|
|
375
|
+
* JavaScript module file (for hosted deployments)
|
|
376
|
+
*/
|
|
377
|
+
module?: Uploadable;
|
|
567
378
|
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
379
|
+
/**
|
|
380
|
+
* Source map file (for hosted deployments)
|
|
381
|
+
*/
|
|
382
|
+
sourcemap?: Uploadable;
|
|
571
383
|
}
|
|
572
384
|
|
|
573
385
|
export interface DeploymentResumeParams {
|
|
@@ -576,6 +388,11 @@ export interface DeploymentResumeParams {
|
|
|
576
388
|
|
|
577
389
|
export declare namespace Deployments {
|
|
578
390
|
export {
|
|
391
|
+
type DeployPayload as DeployPayload,
|
|
392
|
+
type ExternalDeployPayload as ExternalDeployPayload,
|
|
393
|
+
type HostedDeployPayload as HostedDeployPayload,
|
|
394
|
+
type ServerCard as ServerCard,
|
|
395
|
+
type StdioDeployPayload as StdioDeployPayload,
|
|
579
396
|
type DeploymentRetrieveResponse as DeploymentRetrieveResponse,
|
|
580
397
|
type DeploymentListResponse as DeploymentListResponse,
|
|
581
398
|
type DeploymentDeployResponse as DeploymentDeployResponse,
|