@smithery/api 0.1.0-alpha.4

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 (388) hide show
  1. package/CHANGELOG.md +213 -0
  2. package/LICENSE +201 -0
  3. package/README.md +389 -0
  4. package/api-promise.d.mts +2 -0
  5. package/api-promise.d.mts.map +1 -0
  6. package/api-promise.d.ts +2 -0
  7. package/api-promise.d.ts.map +1 -0
  8. package/api-promise.js +6 -0
  9. package/api-promise.js.map +1 -0
  10. package/api-promise.mjs +2 -0
  11. package/api-promise.mjs.map +1 -0
  12. package/client.d.mts +192 -0
  13. package/client.d.mts.map +1 -0
  14. package/client.d.ts +192 -0
  15. package/client.d.ts.map +1 -0
  16. package/client.js +475 -0
  17. package/client.js.map +1 -0
  18. package/client.mjs +471 -0
  19. package/client.mjs.map +1 -0
  20. package/core/api-promise.d.mts +46 -0
  21. package/core/api-promise.d.mts.map +1 -0
  22. package/core/api-promise.d.ts +46 -0
  23. package/core/api-promise.d.ts.map +1 -0
  24. package/core/api-promise.js +74 -0
  25. package/core/api-promise.js.map +1 -0
  26. package/core/api-promise.mjs +70 -0
  27. package/core/api-promise.mjs.map +1 -0
  28. package/core/error.d.mts +46 -0
  29. package/core/error.d.mts.map +1 -0
  30. package/core/error.d.ts +46 -0
  31. package/core/error.d.ts.map +1 -0
  32. package/core/error.js +113 -0
  33. package/core/error.js.map +1 -0
  34. package/core/error.mjs +97 -0
  35. package/core/error.mjs.map +1 -0
  36. package/core/pagination.d.mts +62 -0
  37. package/core/pagination.d.mts.map +1 -0
  38. package/core/pagination.d.ts +62 -0
  39. package/core/pagination.d.ts.map +1 -0
  40. package/core/pagination.js +99 -0
  41. package/core/pagination.js.map +1 -0
  42. package/core/pagination.mjs +93 -0
  43. package/core/pagination.mjs.map +1 -0
  44. package/core/resource.d.mts +6 -0
  45. package/core/resource.d.mts.map +1 -0
  46. package/core/resource.d.ts +6 -0
  47. package/core/resource.d.ts.map +1 -0
  48. package/core/resource.js +11 -0
  49. package/core/resource.js.map +1 -0
  50. package/core/resource.mjs +7 -0
  51. package/core/resource.mjs.map +1 -0
  52. package/core/uploads.d.mts +3 -0
  53. package/core/uploads.d.mts.map +1 -0
  54. package/core/uploads.d.ts +3 -0
  55. package/core/uploads.d.ts.map +1 -0
  56. package/core/uploads.js +6 -0
  57. package/core/uploads.js.map +1 -0
  58. package/core/uploads.mjs +2 -0
  59. package/core/uploads.mjs.map +1 -0
  60. package/error.d.mts +2 -0
  61. package/error.d.mts.map +1 -0
  62. package/error.d.ts +2 -0
  63. package/error.d.ts.map +1 -0
  64. package/error.js +6 -0
  65. package/error.js.map +1 -0
  66. package/error.mjs +2 -0
  67. package/error.mjs.map +1 -0
  68. package/index.d.mts +7 -0
  69. package/index.d.mts.map +1 -0
  70. package/index.d.ts +7 -0
  71. package/index.d.ts.map +1 -0
  72. package/index.js +32 -0
  73. package/index.js.map +1 -0
  74. package/index.mjs +8 -0
  75. package/index.mjs.map +1 -0
  76. package/internal/builtin-types.d.mts +73 -0
  77. package/internal/builtin-types.d.mts.map +1 -0
  78. package/internal/builtin-types.d.ts +73 -0
  79. package/internal/builtin-types.d.ts.map +1 -0
  80. package/internal/builtin-types.js +4 -0
  81. package/internal/builtin-types.js.map +1 -0
  82. package/internal/builtin-types.mjs +3 -0
  83. package/internal/builtin-types.mjs.map +1 -0
  84. package/internal/detect-platform.d.mts +15 -0
  85. package/internal/detect-platform.d.mts.map +1 -0
  86. package/internal/detect-platform.d.ts +15 -0
  87. package/internal/detect-platform.d.ts.map +1 -0
  88. package/internal/detect-platform.js +162 -0
  89. package/internal/detect-platform.js.map +1 -0
  90. package/internal/detect-platform.mjs +157 -0
  91. package/internal/detect-platform.mjs.map +1 -0
  92. package/internal/errors.d.mts +3 -0
  93. package/internal/errors.d.mts.map +1 -0
  94. package/internal/errors.d.ts +3 -0
  95. package/internal/errors.d.ts.map +1 -0
  96. package/internal/errors.js +41 -0
  97. package/internal/errors.js.map +1 -0
  98. package/internal/errors.mjs +36 -0
  99. package/internal/errors.mjs.map +1 -0
  100. package/internal/headers.d.mts +20 -0
  101. package/internal/headers.d.mts.map +1 -0
  102. package/internal/headers.d.ts +20 -0
  103. package/internal/headers.d.ts.map +1 -0
  104. package/internal/headers.js +79 -0
  105. package/internal/headers.js.map +1 -0
  106. package/internal/headers.mjs +74 -0
  107. package/internal/headers.mjs.map +1 -0
  108. package/internal/parse.d.mts +12 -0
  109. package/internal/parse.d.mts.map +1 -0
  110. package/internal/parse.d.ts +12 -0
  111. package/internal/parse.d.ts.map +1 -0
  112. package/internal/parse.js +35 -0
  113. package/internal/parse.js.map +1 -0
  114. package/internal/parse.mjs +32 -0
  115. package/internal/parse.mjs.map +1 -0
  116. package/internal/request-options.d.mts +75 -0
  117. package/internal/request-options.d.mts.map +1 -0
  118. package/internal/request-options.d.ts +75 -0
  119. package/internal/request-options.d.ts.map +1 -0
  120. package/internal/request-options.js +14 -0
  121. package/internal/request-options.js.map +1 -0
  122. package/internal/request-options.mjs +10 -0
  123. package/internal/request-options.mjs.map +1 -0
  124. package/internal/shim-types.d.mts +17 -0
  125. package/internal/shim-types.d.mts.map +1 -0
  126. package/internal/shim-types.d.ts +17 -0
  127. package/internal/shim-types.d.ts.map +1 -0
  128. package/internal/shim-types.js +4 -0
  129. package/internal/shim-types.js.map +1 -0
  130. package/internal/shim-types.mjs +3 -0
  131. package/internal/shim-types.mjs.map +1 -0
  132. package/internal/shims.d.mts +20 -0
  133. package/internal/shims.d.mts.map +1 -0
  134. package/internal/shims.d.ts +20 -0
  135. package/internal/shims.d.ts.map +1 -0
  136. package/internal/shims.js +92 -0
  137. package/internal/shims.js.map +1 -0
  138. package/internal/shims.mjs +85 -0
  139. package/internal/shims.mjs.map +1 -0
  140. package/internal/to-file.d.mts +45 -0
  141. package/internal/to-file.d.mts.map +1 -0
  142. package/internal/to-file.d.ts +45 -0
  143. package/internal/to-file.d.ts.map +1 -0
  144. package/internal/to-file.js +91 -0
  145. package/internal/to-file.js.map +1 -0
  146. package/internal/to-file.mjs +88 -0
  147. package/internal/to-file.mjs.map +1 -0
  148. package/internal/tslib.js +81 -0
  149. package/internal/tslib.mjs +17 -0
  150. package/internal/types.d.mts +69 -0
  151. package/internal/types.d.mts.map +1 -0
  152. package/internal/types.d.ts +69 -0
  153. package/internal/types.d.ts.map +1 -0
  154. package/internal/types.js +4 -0
  155. package/internal/types.js.map +1 -0
  156. package/internal/types.mjs +3 -0
  157. package/internal/types.mjs.map +1 -0
  158. package/internal/uploads.d.mts +42 -0
  159. package/internal/uploads.d.mts.map +1 -0
  160. package/internal/uploads.d.ts +42 -0
  161. package/internal/uploads.d.ts.map +1 -0
  162. package/internal/uploads.js +141 -0
  163. package/internal/uploads.js.map +1 -0
  164. package/internal/uploads.mjs +131 -0
  165. package/internal/uploads.mjs.map +1 -0
  166. package/internal/utils/base64.d.mts +3 -0
  167. package/internal/utils/base64.d.mts.map +1 -0
  168. package/internal/utils/base64.d.ts +3 -0
  169. package/internal/utils/base64.d.ts.map +1 -0
  170. package/internal/utils/base64.js +38 -0
  171. package/internal/utils/base64.js.map +1 -0
  172. package/internal/utils/base64.mjs +33 -0
  173. package/internal/utils/base64.mjs.map +1 -0
  174. package/internal/utils/bytes.d.mts +4 -0
  175. package/internal/utils/bytes.d.mts.map +1 -0
  176. package/internal/utils/bytes.d.ts +4 -0
  177. package/internal/utils/bytes.d.ts.map +1 -0
  178. package/internal/utils/bytes.js +31 -0
  179. package/internal/utils/bytes.js.map +1 -0
  180. package/internal/utils/bytes.mjs +26 -0
  181. package/internal/utils/bytes.mjs.map +1 -0
  182. package/internal/utils/env.d.mts +9 -0
  183. package/internal/utils/env.d.mts.map +1 -0
  184. package/internal/utils/env.d.ts +9 -0
  185. package/internal/utils/env.d.ts.map +1 -0
  186. package/internal/utils/env.js +22 -0
  187. package/internal/utils/env.js.map +1 -0
  188. package/internal/utils/env.mjs +18 -0
  189. package/internal/utils/env.mjs.map +1 -0
  190. package/internal/utils/log.d.mts +37 -0
  191. package/internal/utils/log.d.mts.map +1 -0
  192. package/internal/utils/log.d.ts +37 -0
  193. package/internal/utils/log.d.ts.map +1 -0
  194. package/internal/utils/log.js +85 -0
  195. package/internal/utils/log.js.map +1 -0
  196. package/internal/utils/log.mjs +79 -0
  197. package/internal/utils/log.mjs.map +1 -0
  198. package/internal/utils/path.d.mts +15 -0
  199. package/internal/utils/path.d.mts.map +1 -0
  200. package/internal/utils/path.d.ts +15 -0
  201. package/internal/utils/path.d.ts.map +1 -0
  202. package/internal/utils/path.js +79 -0
  203. package/internal/utils/path.js.map +1 -0
  204. package/internal/utils/path.mjs +74 -0
  205. package/internal/utils/path.mjs.map +1 -0
  206. package/internal/utils/sleep.d.mts +2 -0
  207. package/internal/utils/sleep.d.mts.map +1 -0
  208. package/internal/utils/sleep.d.ts +2 -0
  209. package/internal/utils/sleep.d.ts.map +1 -0
  210. package/internal/utils/sleep.js +7 -0
  211. package/internal/utils/sleep.js.map +1 -0
  212. package/internal/utils/sleep.mjs +3 -0
  213. package/internal/utils/sleep.mjs.map +1 -0
  214. package/internal/utils/uuid.d.mts +5 -0
  215. package/internal/utils/uuid.d.mts.map +1 -0
  216. package/internal/utils/uuid.d.ts +5 -0
  217. package/internal/utils/uuid.d.ts.map +1 -0
  218. package/internal/utils/uuid.js +19 -0
  219. package/internal/utils/uuid.js.map +1 -0
  220. package/internal/utils/uuid.mjs +15 -0
  221. package/internal/utils/uuid.mjs.map +1 -0
  222. package/internal/utils/values.d.mts +18 -0
  223. package/internal/utils/values.d.mts.map +1 -0
  224. package/internal/utils/values.d.ts +18 -0
  225. package/internal/utils/values.d.ts.map +1 -0
  226. package/internal/utils/values.js +112 -0
  227. package/internal/utils/values.js.map +1 -0
  228. package/internal/utils/values.mjs +94 -0
  229. package/internal/utils/values.mjs.map +1 -0
  230. package/internal/utils.d.mts +7 -0
  231. package/internal/utils.d.mts.map +1 -0
  232. package/internal/utils.d.ts +7 -0
  233. package/internal/utils.d.ts.map +1 -0
  234. package/internal/utils.js +11 -0
  235. package/internal/utils.js.map +1 -0
  236. package/internal/utils.mjs +8 -0
  237. package/internal/utils.mjs.map +1 -0
  238. package/package.json +147 -0
  239. package/pagination.d.mts +2 -0
  240. package/pagination.d.mts.map +1 -0
  241. package/pagination.d.ts +2 -0
  242. package/pagination.d.ts.map +1 -0
  243. package/pagination.js +6 -0
  244. package/pagination.js.map +1 -0
  245. package/pagination.mjs +2 -0
  246. package/pagination.mjs.map +1 -0
  247. package/resource.d.mts +2 -0
  248. package/resource.d.mts.map +1 -0
  249. package/resource.d.ts +2 -0
  250. package/resource.d.ts.map +1 -0
  251. package/resource.js +6 -0
  252. package/resource.js.map +1 -0
  253. package/resource.mjs +2 -0
  254. package/resource.mjs.map +1 -0
  255. package/resources/health.d.mts +17 -0
  256. package/resources/health.d.mts.map +1 -0
  257. package/resources/health.d.ts +17 -0
  258. package/resources/health.d.ts.map +1 -0
  259. package/resources/health.js +15 -0
  260. package/resources/health.js.map +1 -0
  261. package/resources/health.mjs +11 -0
  262. package/resources/health.mjs.map +1 -0
  263. package/resources/index.d.mts +4 -0
  264. package/resources/index.d.mts.map +1 -0
  265. package/resources/index.d.ts +4 -0
  266. package/resources/index.d.ts.map +1 -0
  267. package/resources/index.js +11 -0
  268. package/resources/index.js.map +1 -0
  269. package/resources/index.mjs +5 -0
  270. package/resources/index.mjs.map +1 -0
  271. package/resources/servers/deployments.d.mts +87 -0
  272. package/resources/servers/deployments.d.mts.map +1 -0
  273. package/resources/servers/deployments.d.ts +87 -0
  274. package/resources/servers/deployments.d.ts.map +1 -0
  275. package/resources/servers/deployments.js +37 -0
  276. package/resources/servers/deployments.js.map +1 -0
  277. package/resources/servers/deployments.mjs +33 -0
  278. package/resources/servers/deployments.mjs.map +1 -0
  279. package/resources/servers/index.d.mts +4 -0
  280. package/resources/servers/index.d.mts.map +1 -0
  281. package/resources/servers/index.d.ts +4 -0
  282. package/resources/servers/index.d.ts.map +1 -0
  283. package/resources/servers/index.js +11 -0
  284. package/resources/servers/index.js.map +1 -0
  285. package/resources/servers/index.mjs +5 -0
  286. package/resources/servers/index.mjs.map +1 -0
  287. package/resources/servers/logs.d.mts +71 -0
  288. package/resources/servers/logs.d.mts.map +1 -0
  289. package/resources/servers/logs.d.ts +71 -0
  290. package/resources/servers/logs.d.ts.map +1 -0
  291. package/resources/servers/logs.js +17 -0
  292. package/resources/servers/logs.js.map +1 -0
  293. package/resources/servers/logs.mjs +13 -0
  294. package/resources/servers/logs.mjs.map +1 -0
  295. package/resources/servers/servers.d.mts +87 -0
  296. package/resources/servers/servers.d.mts.map +1 -0
  297. package/resources/servers/servers.d.ts +87 -0
  298. package/resources/servers/servers.d.ts.map +1 -0
  299. package/resources/servers/servers.js +35 -0
  300. package/resources/servers/servers.js.map +1 -0
  301. package/resources/servers/servers.mjs +30 -0
  302. package/resources/servers/servers.mjs.map +1 -0
  303. package/resources/servers.d.mts +2 -0
  304. package/resources/servers.d.mts.map +1 -0
  305. package/resources/servers.d.ts +2 -0
  306. package/resources/servers.d.ts.map +1 -0
  307. package/resources/servers.js +6 -0
  308. package/resources/servers.js.map +1 -0
  309. package/resources/servers.mjs +3 -0
  310. package/resources/servers.mjs.map +1 -0
  311. package/resources/uplink.d.mts +17 -0
  312. package/resources/uplink.d.mts.map +1 -0
  313. package/resources/uplink.d.ts +17 -0
  314. package/resources/uplink.d.ts.map +1 -0
  315. package/resources/uplink.js +15 -0
  316. package/resources/uplink.js.map +1 -0
  317. package/resources/uplink.mjs +11 -0
  318. package/resources/uplink.mjs.map +1 -0
  319. package/resources.d.mts +2 -0
  320. package/resources.d.mts.map +1 -0
  321. package/resources.d.ts +2 -0
  322. package/resources.d.ts.map +1 -0
  323. package/resources.js +5 -0
  324. package/resources.js.map +1 -0
  325. package/resources.mjs +2 -0
  326. package/resources.mjs.map +1 -0
  327. package/src/api-promise.ts +2 -0
  328. package/src/client.ts +772 -0
  329. package/src/core/README.md +3 -0
  330. package/src/core/api-promise.ts +92 -0
  331. package/src/core/error.ts +130 -0
  332. package/src/core/pagination.ts +167 -0
  333. package/src/core/resource.ts +11 -0
  334. package/src/core/uploads.ts +2 -0
  335. package/src/error.ts +2 -0
  336. package/src/index.ts +23 -0
  337. package/src/internal/README.md +3 -0
  338. package/src/internal/builtin-types.ts +93 -0
  339. package/src/internal/detect-platform.ts +196 -0
  340. package/src/internal/errors.ts +33 -0
  341. package/src/internal/headers.ts +97 -0
  342. package/src/internal/parse.ts +50 -0
  343. package/src/internal/request-options.ts +91 -0
  344. package/src/internal/shim-types.ts +26 -0
  345. package/src/internal/shims.ts +107 -0
  346. package/src/internal/to-file.ts +154 -0
  347. package/src/internal/types.ts +95 -0
  348. package/src/internal/uploads.ts +187 -0
  349. package/src/internal/utils/base64.ts +40 -0
  350. package/src/internal/utils/bytes.ts +32 -0
  351. package/src/internal/utils/env.ts +18 -0
  352. package/src/internal/utils/log.ts +126 -0
  353. package/src/internal/utils/path.ts +88 -0
  354. package/src/internal/utils/sleep.ts +3 -0
  355. package/src/internal/utils/uuid.ts +17 -0
  356. package/src/internal/utils/values.ts +105 -0
  357. package/src/internal/utils.ts +8 -0
  358. package/src/lib/.keep +4 -0
  359. package/src/pagination.ts +2 -0
  360. package/src/resource.ts +2 -0
  361. package/src/resources/health.ts +24 -0
  362. package/src/resources/index.ts +11 -0
  363. package/src/resources/servers/deployments.ts +157 -0
  364. package/src/resources/servers/index.ts +20 -0
  365. package/src/resources/servers/logs.ts +106 -0
  366. package/src/resources/servers/servers.ts +157 -0
  367. package/src/resources/servers.ts +3 -0
  368. package/src/resources/uplink.ts +24 -0
  369. package/src/resources.ts +1 -0
  370. package/src/tsconfig.json +11 -0
  371. package/src/uploads.ts +2 -0
  372. package/src/version.ts +1 -0
  373. package/uploads.d.mts +2 -0
  374. package/uploads.d.mts.map +1 -0
  375. package/uploads.d.ts +2 -0
  376. package/uploads.d.ts.map +1 -0
  377. package/uploads.js +6 -0
  378. package/uploads.js.map +1 -0
  379. package/uploads.mjs +2 -0
  380. package/uploads.mjs.map +1 -0
  381. package/version.d.mts +2 -0
  382. package/version.d.mts.map +1 -0
  383. package/version.d.ts +2 -0
  384. package/version.d.ts.map +1 -0
  385. package/version.js +5 -0
  386. package/version.js.map +1 -0
  387. package/version.mjs +2 -0
  388. package/version.mjs.map +1 -0
@@ -0,0 +1,87 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../internal/request-options.mjs";
4
+ export declare class Deployments extends APIResource {
5
+ /**
6
+ * Get deployment status
7
+ */
8
+ retrieve(id: string, params: DeploymentRetrieveParams, options?: RequestOptions): APIPromise<DeploymentRetrieveResponse>;
9
+ /**
10
+ * List deployments for a server
11
+ */
12
+ list(qualifiedName: string, options?: RequestOptions): APIPromise<DeploymentListResponse>;
13
+ /**
14
+ * Upload and deploy an MCP server (hosted or external)
15
+ */
16
+ deploy(qualifiedName: string, body: DeploymentDeployParams, options?: RequestOptions): APIPromise<DeploymentDeployResponse>;
17
+ /**
18
+ * Use id='latest' to resume the most recent deployment
19
+ */
20
+ resume(id: string, params: DeploymentResumeParams, options?: RequestOptions): APIPromise<DeploymentResumeResponse>;
21
+ }
22
+ export interface DeploymentRetrieveResponse {
23
+ id: string;
24
+ createdAt: string;
25
+ status: string;
26
+ updatedAt: string;
27
+ logs?: Array<DeploymentRetrieveResponse.Log>;
28
+ mcpUrl?: string;
29
+ }
30
+ export declare namespace DeploymentRetrieveResponse {
31
+ interface Log {
32
+ level: string;
33
+ message: string;
34
+ stage: 'deploy' | 'scan' | 'metadata' | 'publish';
35
+ timestamp: string;
36
+ error?: Log.Error;
37
+ }
38
+ namespace Log {
39
+ interface Error {
40
+ message?: string;
41
+ }
42
+ }
43
+ }
44
+ export type DeploymentListResponse = Array<DeploymentListResponse.DeploymentListResponseItem>;
45
+ export declare namespace DeploymentListResponse {
46
+ interface DeploymentListResponseItem {
47
+ id: string;
48
+ createdAt: string;
49
+ status: string;
50
+ updatedAt: string;
51
+ mcpUrl?: string;
52
+ }
53
+ }
54
+ export interface DeploymentDeployResponse {
55
+ deploymentId: string;
56
+ mcpUrl: string;
57
+ status: string;
58
+ warnings?: Array<string>;
59
+ }
60
+ export interface DeploymentResumeResponse {
61
+ deploymentId: string;
62
+ status: string;
63
+ }
64
+ export interface DeploymentRetrieveParams {
65
+ qualifiedName: string;
66
+ }
67
+ export interface DeploymentDeployParams {
68
+ /**
69
+ * JSON string of DeployPayload
70
+ */
71
+ payload: string;
72
+ /**
73
+ * JavaScript module content (for hosted deployments)
74
+ */
75
+ module?: string;
76
+ /**
77
+ * Source map content
78
+ */
79
+ sourcemap?: string;
80
+ }
81
+ export interface DeploymentResumeParams {
82
+ qualifiedName: string;
83
+ }
84
+ export declare namespace Deployments {
85
+ export { type DeploymentRetrieveResponse as DeploymentRetrieveResponse, type DeploymentListResponse as DeploymentListResponse, type DeploymentDeployResponse as DeploymentDeployResponse, type DeploymentResumeResponse as DeploymentResumeResponse, type DeploymentRetrieveParams as DeploymentRetrieveParams, type DeploymentDeployParams as DeploymentDeployParams, type DeploymentResumeParams as DeploymentResumeParams, };
86
+ }
87
+ //# sourceMappingURL=deployments.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployments.d.mts","sourceRoot":"","sources":["../../src/resources/servers/deployments.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAIzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAKzC;;OAEG;IACH,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIzF;;OAEG;IACH,MAAM,CACJ,aAAa,E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AAM,CAAC;IAEf,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IAErB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,wBAAwB;IACvC,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -0,0 +1,87 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { RequestOptions } from "../../internal/request-options.js";
4
+ export declare class Deployments extends APIResource {
5
+ /**
6
+ * Get deployment status
7
+ */
8
+ retrieve(id: string, params: DeploymentRetrieveParams, options?: RequestOptions): APIPromise<DeploymentRetrieveResponse>;
9
+ /**
10
+ * List deployments for a server
11
+ */
12
+ list(qualifiedName: string, options?: RequestOptions): APIPromise<DeploymentListResponse>;
13
+ /**
14
+ * Upload and deploy an MCP server (hosted or external)
15
+ */
16
+ deploy(qualifiedName: string, body: DeploymentDeployParams, options?: RequestOptions): APIPromise<DeploymentDeployResponse>;
17
+ /**
18
+ * Use id='latest' to resume the most recent deployment
19
+ */
20
+ resume(id: string, params: DeploymentResumeParams, options?: RequestOptions): APIPromise<DeploymentResumeResponse>;
21
+ }
22
+ export interface DeploymentRetrieveResponse {
23
+ id: string;
24
+ createdAt: string;
25
+ status: string;
26
+ updatedAt: string;
27
+ logs?: Array<DeploymentRetrieveResponse.Log>;
28
+ mcpUrl?: string;
29
+ }
30
+ export declare namespace DeploymentRetrieveResponse {
31
+ interface Log {
32
+ level: string;
33
+ message: string;
34
+ stage: 'deploy' | 'scan' | 'metadata' | 'publish';
35
+ timestamp: string;
36
+ error?: Log.Error;
37
+ }
38
+ namespace Log {
39
+ interface Error {
40
+ message?: string;
41
+ }
42
+ }
43
+ }
44
+ export type DeploymentListResponse = Array<DeploymentListResponse.DeploymentListResponseItem>;
45
+ export declare namespace DeploymentListResponse {
46
+ interface DeploymentListResponseItem {
47
+ id: string;
48
+ createdAt: string;
49
+ status: string;
50
+ updatedAt: string;
51
+ mcpUrl?: string;
52
+ }
53
+ }
54
+ export interface DeploymentDeployResponse {
55
+ deploymentId: string;
56
+ mcpUrl: string;
57
+ status: string;
58
+ warnings?: Array<string>;
59
+ }
60
+ export interface DeploymentResumeResponse {
61
+ deploymentId: string;
62
+ status: string;
63
+ }
64
+ export interface DeploymentRetrieveParams {
65
+ qualifiedName: string;
66
+ }
67
+ export interface DeploymentDeployParams {
68
+ /**
69
+ * JSON string of DeployPayload
70
+ */
71
+ payload: string;
72
+ /**
73
+ * JavaScript module content (for hosted deployments)
74
+ */
75
+ module?: string;
76
+ /**
77
+ * Source map content
78
+ */
79
+ sourcemap?: string;
80
+ }
81
+ export interface DeploymentResumeParams {
82
+ qualifiedName: string;
83
+ }
84
+ export declare namespace Deployments {
85
+ export { type DeploymentRetrieveResponse as DeploymentRetrieveResponse, type DeploymentListResponse as DeploymentListResponse, type DeploymentDeployResponse as DeploymentDeployResponse, type DeploymentResumeResponse as DeploymentResumeResponse, type DeploymentRetrieveParams as DeploymentRetrieveParams, type DeploymentDeployParams as DeploymentDeployParams, type DeploymentResumeParams as DeploymentResumeParams, };
86
+ }
87
+ //# sourceMappingURL=deployments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployments.d.ts","sourceRoot":"","sources":["../../src/resources/servers/deployments.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAIzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAKzC;;OAEG;IACH,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIzF;;OAEG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAOvC;;OAEG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,sBAAsB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;CAIxC;AAED,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,EAAE,MAAM,CAAC;IAElB,MAAM,EAAE,MAAM,CAAC;IAEf,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,GAAG,CAAC,CAAC;IAE7C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,GAAG;QAClB,KAAK,EAAE,MAAM,CAAC;QAEd,OAAO,EAAE,MAAM,CAAC;QAEhB,KAAK,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BAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -0,0 +1,37 @@
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.Deployments = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const uploads_1 = require("../../internal/uploads.js");
7
+ const path_1 = require("../../internal/utils/path.js");
8
+ class Deployments extends resource_1.APIResource {
9
+ /**
10
+ * Get deployment status
11
+ */
12
+ retrieve(id, params, options) {
13
+ const { qualifiedName } = params;
14
+ return this._client.get((0, path_1.path) `/servers/${qualifiedName}/deployments/${id}`, options);
15
+ }
16
+ /**
17
+ * List deployments for a server
18
+ */
19
+ list(qualifiedName, options) {
20
+ return this._client.get((0, path_1.path) `/servers/${qualifiedName}/deployments`, options);
21
+ }
22
+ /**
23
+ * Upload and deploy an MCP server (hosted or external)
24
+ */
25
+ deploy(qualifiedName, body, options) {
26
+ return this._client.put((0, path_1.path) `/servers/${qualifiedName}/deployments`, (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client));
27
+ }
28
+ /**
29
+ * Use id='latest' to resume the most recent deployment
30
+ */
31
+ resume(id, params, options) {
32
+ const { qualifiedName } = params;
33
+ return this._client.post((0, path_1.path) `/servers/${qualifiedName}/deployments/${id}/resume`, options);
34
+ }
35
+ }
36
+ exports.Deployments = Deployments;
37
+ //# sourceMappingURL=deployments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployments.js","sourceRoot":"","sources":["../../src/resources/servers/deployments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAqE;AACrE,uDAAiD;AAEjD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,aAAa,gBAAgB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,aAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,aAAa,cAAc,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAA,WAAI,EAAA,YAAY,aAAa,cAAc,EAC3C,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,YAAY,aAAa,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9F,CAAC;CACF;AA7CD,kCA6CC"}
@@ -0,0 +1,33 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { multipartFormRequestOptions } from "../../internal/uploads.mjs";
4
+ import { path } from "../../internal/utils/path.mjs";
5
+ export class Deployments extends APIResource {
6
+ /**
7
+ * Get deployment status
8
+ */
9
+ retrieve(id, params, options) {
10
+ const { qualifiedName } = params;
11
+ return this._client.get(path `/servers/${qualifiedName}/deployments/${id}`, options);
12
+ }
13
+ /**
14
+ * List deployments for a server
15
+ */
16
+ list(qualifiedName, options) {
17
+ return this._client.get(path `/servers/${qualifiedName}/deployments`, options);
18
+ }
19
+ /**
20
+ * Upload and deploy an MCP server (hosted or external)
21
+ */
22
+ deploy(qualifiedName, body, options) {
23
+ return this._client.put(path `/servers/${qualifiedName}/deployments`, multipartFormRequestOptions({ body, ...options }, this._client));
24
+ }
25
+ /**
26
+ * Use id='latest' to resume the most recent deployment
27
+ */
28
+ resume(id, params, options) {
29
+ const { qualifiedName } = params;
30
+ return this._client.post(path `/servers/${qualifiedName}/deployments/${id}/resume`, options);
31
+ }
32
+ }
33
+ //# sourceMappingURL=deployments.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployments.mjs","sourceRoot":"","sources":["../../src/resources/servers/deployments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,2BAA2B,EAAE;OAC/B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,aAAa,gBAAgB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,aAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,aAAa,cAAc,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAI,CAAA,YAAY,aAAa,cAAc,EAC3C,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,aAAa,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9F,CAAC;CACF"}
@@ -0,0 +1,4 @@
1
+ export { Deployments, type DeploymentRetrieveResponse, type DeploymentListResponse, type DeploymentDeployResponse, type DeploymentResumeResponse, type DeploymentRetrieveParams, type DeploymentDeployParams, type DeploymentResumeParams, } from "./deployments.mjs";
2
+ export { Logs, type LogListResponse, type LogListParams } from "./logs.mjs";
3
+ export { Servers, type ServerRetrieveResponse, type ServerListResponse, type ServerListParams, type ServerListResponsesSmitheryPage, } from "./servers.mjs";
4
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OAClD,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,+BAA+B,GACrC"}
@@ -0,0 +1,4 @@
1
+ export { Deployments, type DeploymentRetrieveResponse, type DeploymentListResponse, type DeploymentDeployResponse, type DeploymentResumeResponse, type DeploymentRetrieveParams, type DeploymentDeployParams, type DeploymentResumeParams, } from "./deployments.js";
2
+ export { Logs, type LogListResponse, type LogListParams } from "./logs.js";
3
+ export { Servers, type ServerRetrieveResponse, type ServerListResponse, type ServerListParams, type ServerListResponsesSmitheryPage, } from "./servers.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"OAEO,EACL,WAAW,EACX,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OAClD,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,+BAA+B,GACrC"}
@@ -0,0 +1,11 @@
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.Servers = exports.Logs = exports.Deployments = void 0;
5
+ var deployments_1 = require("./deployments.js");
6
+ Object.defineProperty(exports, "Deployments", { enumerable: true, get: function () { return deployments_1.Deployments; } });
7
+ var logs_1 = require("./logs.js");
8
+ Object.defineProperty(exports, "Logs", { enumerable: true, get: function () { return logs_1.Logs; } });
9
+ var servers_1 = require("./servers.js");
10
+ Object.defineProperty(exports, "Servers", { enumerable: true, get: function () { return servers_1.Servers; } });
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDASuB;AARrB,0GAAA,WAAW,OAAA;AASb,kCAAwE;AAA/D,4FAAA,IAAI,OAAA;AACb,wCAMmB;AALjB,kGAAA,OAAO,OAAA"}
@@ -0,0 +1,5 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Deployments, } from "./deployments.mjs";
3
+ export { Logs } from "./logs.mjs";
4
+ export { Servers, } from "./servers.mjs";
5
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/servers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,WAAW,GAQZ;OACM,EAAE,IAAI,EAA4C;OAClD,EACL,OAAO,GAKR"}
@@ -0,0 +1,71 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../internal/request-options.mjs";
4
+ export declare class Logs extends APIResource {
5
+ /**
6
+ * Fetch recent runtime logs for the server's deployed Worker, grouped by
7
+ * invocation (requires ownership).
8
+ */
9
+ list(qualifiedName: string, query?: LogListParams | null | undefined, options?: RequestOptions): APIPromise<LogListResponse>;
10
+ }
11
+ export interface LogListResponse {
12
+ invocations: Array<LogListResponse.Invocation>;
13
+ /**
14
+ * Total invocations matching query
15
+ */
16
+ total: number;
17
+ }
18
+ export declare namespace LogListResponse {
19
+ interface Invocation {
20
+ id: string;
21
+ duration: Invocation.Duration;
22
+ exceptions: Array<Invocation.Exception>;
23
+ logs: Array<Invocation.Log>;
24
+ request: Invocation.Request;
25
+ response: Invocation.Response;
26
+ timestamp: string;
27
+ }
28
+ namespace Invocation {
29
+ interface Duration {
30
+ cpuMs: number;
31
+ wallMs: number;
32
+ }
33
+ interface Exception {
34
+ message: string;
35
+ name: string;
36
+ timestamp: string;
37
+ stack?: string;
38
+ }
39
+ interface Log {
40
+ level: string;
41
+ message: string;
42
+ timestamp: string;
43
+ }
44
+ interface Request {
45
+ method: string;
46
+ url: string;
47
+ }
48
+ interface Response {
49
+ outcome: string;
50
+ status: number;
51
+ }
52
+ }
53
+ }
54
+ export interface LogListParams {
55
+ /**
56
+ * Start of time range (ISO 8601).
57
+ */
58
+ from?: string;
59
+ /**
60
+ * Max invocations to return. Defaults to 50.
61
+ */
62
+ limit?: number;
63
+ /**
64
+ * End of time range (ISO 8601).
65
+ */
66
+ to?: string;
67
+ }
68
+ export declare namespace Logs {
69
+ export { type LogListResponse as LogListResponse, type LogListParams as LogListParams };
70
+ }
71
+ //# sourceMappingURL=logs.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logs.d.mts","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;;;OAGG;IACH,IAAI,CACF,aAAa,EAAE,MAAM,EACrB,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;CAG/B;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;IAE/C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,yBAAiB,eAAe,CAAC;IAC/B,UAAiB,UAAU;QACzB,EAAE,EAAE,MAAM,CAAC;QAEX,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;QAE9B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;QAExC,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QAE5B,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;QAE5B,QAAQ,EAAE,UAAU,CAAC,QAAQ,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"}
@@ -0,0 +1,71 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { RequestOptions } from "../../internal/request-options.js";
4
+ export declare class Logs extends APIResource {
5
+ /**
6
+ * Fetch recent runtime logs for the server's deployed Worker, grouped by
7
+ * invocation (requires ownership).
8
+ */
9
+ list(qualifiedName: string, query?: LogListParams | null | undefined, options?: RequestOptions): APIPromise<LogListResponse>;
10
+ }
11
+ export interface LogListResponse {
12
+ invocations: Array<LogListResponse.Invocation>;
13
+ /**
14
+ * Total invocations matching query
15
+ */
16
+ total: number;
17
+ }
18
+ export declare namespace LogListResponse {
19
+ interface Invocation {
20
+ id: string;
21
+ duration: Invocation.Duration;
22
+ exceptions: Array<Invocation.Exception>;
23
+ logs: Array<Invocation.Log>;
24
+ request: Invocation.Request;
25
+ response: Invocation.Response;
26
+ timestamp: string;
27
+ }
28
+ namespace Invocation {
29
+ interface Duration {
30
+ cpuMs: number;
31
+ wallMs: number;
32
+ }
33
+ interface Exception {
34
+ message: string;
35
+ name: string;
36
+ timestamp: string;
37
+ stack?: string;
38
+ }
39
+ interface Log {
40
+ level: string;
41
+ message: string;
42
+ timestamp: string;
43
+ }
44
+ interface Request {
45
+ method: string;
46
+ url: string;
47
+ }
48
+ interface Response {
49
+ outcome: string;
50
+ status: number;
51
+ }
52
+ }
53
+ }
54
+ export interface LogListParams {
55
+ /**
56
+ * Start of time range (ISO 8601).
57
+ */
58
+ from?: string;
59
+ /**
60
+ * Max invocations to return. Defaults to 50.
61
+ */
62
+ limit?: number;
63
+ /**
64
+ * End of time range (ISO 8601).
65
+ */
66
+ to?: string;
67
+ }
68
+ export declare namespace Logs {
69
+ export { type LogListResponse as LogListResponse, type LogListParams as LogListParams };
70
+ }
71
+ //# sourceMappingURL=logs.d.ts.map
@@ -0,0 +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;;;OAGG;IACH,IAAI,CACF,aAAa,EAAE,MAAM,EACrB,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;CAG/B;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;IAE/C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,yBAAiB,eAAe,CAAC;IAC/B,UAAiB,UAAU;QACzB,EAAE,EAAE,MAAM,CAAC;QAEX,QAAQ,EAAE,UAAU,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"__esModule", { value: true });
4
+ exports.Logs = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ const path_1 = require("../../internal/utils/path.js");
7
+ class Logs extends resource_1.APIResource {
8
+ /**
9
+ * Fetch recent runtime logs for the server's deployed Worker, grouped by
10
+ * invocation (requires ownership).
11
+ */
12
+ list(qualifiedName, query = {}, options) {
13
+ return this._client.get((0, path_1.path) `/servers/${qualifiedName}/logs`, { query, ...options });
14
+ }
15
+ }
16
+ exports.Logs = Logs;
17
+ //# sourceMappingURL=logs.js.map
@@ -0,0 +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;;;OAGG;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;AAZD,oBAYC"}
@@ -0,0 +1,13 @@
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 Logs extends APIResource {
5
+ /**
6
+ * Fetch recent runtime logs for the server's deployed Worker, grouped by
7
+ * invocation (requires ownership).
8
+ */
9
+ list(qualifiedName, query = {}, options) {
10
+ return this._client.get(path `/servers/${qualifiedName}/logs`, { query, ...options });
11
+ }
12
+ }
13
+ //# sourceMappingURL=logs.mjs.map
@@ -0,0 +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;;;OAGG;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,87 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import * as DeploymentsAPI from "./deployments.mjs";
3
+ import { DeploymentDeployParams, DeploymentDeployResponse, DeploymentListResponse, DeploymentResumeParams, DeploymentResumeResponse, DeploymentRetrieveParams, DeploymentRetrieveResponse, Deployments } from "./deployments.mjs";
4
+ import * as LogsAPI from "./logs.mjs";
5
+ import { LogListParams, LogListResponse, Logs } from "./logs.mjs";
6
+ import { APIPromise } from "../../core/api-promise.mjs";
7
+ import { PagePromise, SmitheryPage, type SmitheryPageParams } from "../../core/pagination.mjs";
8
+ import { RequestOptions } from "../../internal/request-options.mjs";
9
+ export declare class Servers extends APIResource {
10
+ deployments: DeploymentsAPI.Deployments;
11
+ logs: LogsAPI.Logs;
12
+ /**
13
+ * Get a single server by its qualified name.
14
+ */
15
+ retrieve(qualifiedName: string, options?: RequestOptions): APIPromise<ServerRetrieveResponse>;
16
+ /**
17
+ * Get a paginated list of all servers
18
+ */
19
+ list(query?: ServerListParams | null | undefined, options?: RequestOptions): PagePromise<ServerListResponsesSmitheryPage, ServerListResponse>;
20
+ }
21
+ export type ServerListResponsesSmitheryPage = SmitheryPage<ServerListResponse>;
22
+ export interface ServerRetrieveResponse {
23
+ connections: Array<ServerRetrieveResponse.StdioConnection | ServerRetrieveResponse.HTTPConnection>;
24
+ deploymentUrl: string | null;
25
+ description: string;
26
+ displayName: string;
27
+ iconUrl: string | null;
28
+ qualifiedName: string;
29
+ remote: boolean;
30
+ security: ServerRetrieveResponse.Security | null;
31
+ tools: Array<ServerRetrieveResponse.Tool> | null;
32
+ }
33
+ export declare namespace ServerRetrieveResponse {
34
+ interface StdioConnection {
35
+ configSchema: {
36
+ [key: string]: unknown;
37
+ };
38
+ type: 'stdio';
39
+ bundleUrl?: string;
40
+ runtime?: string;
41
+ stdioFunction?: string;
42
+ }
43
+ interface HTTPConnection {
44
+ configSchema: {
45
+ [key: string]: unknown;
46
+ };
47
+ deploymentUrl: string;
48
+ type: 'http';
49
+ }
50
+ interface Security {
51
+ scanPassed: boolean;
52
+ }
53
+ interface Tool {
54
+ description: string | null;
55
+ inputSchema: Tool.InputSchema;
56
+ name: string;
57
+ }
58
+ namespace Tool {
59
+ interface InputSchema {
60
+ type: 'object';
61
+ properties?: {
62
+ [key: string]: unknown;
63
+ };
64
+ }
65
+ }
66
+ }
67
+ export interface ServerListResponse {
68
+ createdAt: string;
69
+ description: string | null;
70
+ displayName: string | null;
71
+ homepage: string;
72
+ iconUrl: string | null;
73
+ isDeployed: boolean;
74
+ qualifiedName: string;
75
+ remote: boolean | null;
76
+ useCount: number;
77
+ verified: boolean;
78
+ }
79
+ export interface ServerListParams extends SmitheryPageParams {
80
+ q?: string;
81
+ }
82
+ export declare namespace Servers {
83
+ export { type ServerRetrieveResponse as ServerRetrieveResponse, type ServerListResponse as ServerListResponse, type ServerListResponsesSmitheryPage as ServerListResponsesSmitheryPage, type ServerListParams as ServerListParams, };
84
+ export { Deployments as Deployments, type DeploymentRetrieveResponse as DeploymentRetrieveResponse, type DeploymentListResponse as DeploymentListResponse, type DeploymentDeployResponse as DeploymentDeployResponse, type DeploymentResumeResponse as DeploymentResumeResponse, type DeploymentRetrieveParams as DeploymentRetrieveParams, type DeploymentDeployParams as DeploymentDeployParams, type DeploymentResumeParams as DeploymentResumeParams, };
85
+ export { Logs as Logs, type LogListResponse as LogListResponse, type LogListParams as LogListParams };
86
+ }
87
+ //# sourceMappingURL=servers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"servers.d.mts","sourceRoot":"","sources":["../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