@smithery/api 0.34.1 → 0.36.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 (188) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/client.d.mts +11 -7
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +11 -7
  5. package/client.d.ts.map +1 -1
  6. package/client.js +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs +1 -1
  9. package/client.mjs.map +1 -1
  10. package/core/pagination.d.mts +46 -0
  11. package/core/pagination.d.mts.map +1 -1
  12. package/core/pagination.d.ts +46 -0
  13. package/core/pagination.d.ts.map +1 -1
  14. package/core/pagination.js +45 -1
  15. package/core/pagination.js.map +1 -1
  16. package/core/pagination.mjs +42 -0
  17. package/core/pagination.mjs.map +1 -1
  18. package/lib/mcp-transport.d.mts +12 -0
  19. package/lib/mcp-transport.d.mts.map +1 -1
  20. package/lib/mcp-transport.d.ts +12 -0
  21. package/lib/mcp-transport.d.ts.map +1 -1
  22. package/lib/mcp-transport.js +5 -2
  23. package/lib/mcp-transport.js.map +1 -1
  24. package/lib/mcp-transport.mjs +5 -2
  25. package/lib/mcp-transport.mjs.map +1 -1
  26. package/package.json +1 -1
  27. package/resources/experimental/agents/agents.d.mts +84 -89
  28. package/resources/experimental/agents/agents.d.mts.map +1 -1
  29. package/resources/experimental/agents/agents.d.ts +84 -89
  30. package/resources/experimental/agents/agents.d.ts.map +1 -1
  31. package/resources/experimental/agents/agents.js.map +1 -1
  32. package/resources/experimental/agents/agents.mjs.map +1 -1
  33. package/resources/experimental/agents/index.d.mts +1 -1
  34. package/resources/experimental/agents/index.d.mts.map +1 -1
  35. package/resources/experimental/agents/index.d.ts +1 -1
  36. package/resources/experimental/agents/index.d.ts.map +1 -1
  37. package/resources/experimental/agents/index.js.map +1 -1
  38. package/resources/experimental/agents/index.mjs +1 -1
  39. package/resources/experimental/agents/index.mjs.map +1 -1
  40. package/resources/experimental/agents/responses.d.mts +1 -31
  41. package/resources/experimental/agents/responses.d.mts.map +1 -1
  42. package/resources/experimental/agents/responses.d.ts +1 -31
  43. package/resources/experimental/agents/responses.d.ts.map +1 -1
  44. package/resources/experimental/connect/connections.d.mts +4 -2
  45. package/resources/experimental/connect/connections.d.mts.map +1 -1
  46. package/resources/experimental/connect/connections.d.ts +4 -2
  47. package/resources/experimental/connect/connections.d.ts.map +1 -1
  48. package/resources/experimental/connect/connections.js +4 -2
  49. package/resources/experimental/connect/connections.js.map +1 -1
  50. package/resources/experimental/connect/connections.mjs +4 -2
  51. package/resources/experimental/connect/connections.mjs.map +1 -1
  52. package/resources/experimental/connect/mcp.d.mts +4 -2
  53. package/resources/experimental/connect/mcp.d.mts.map +1 -1
  54. package/resources/experimental/connect/mcp.d.ts +4 -2
  55. package/resources/experimental/connect/mcp.d.ts.map +1 -1
  56. package/resources/experimental/connect/mcp.js +4 -2
  57. package/resources/experimental/connect/mcp.js.map +1 -1
  58. package/resources/experimental/connect/mcp.mjs +4 -2
  59. package/resources/experimental/connect/mcp.mjs.map +1 -1
  60. package/resources/experimental/experimental.d.mts +2 -2
  61. package/resources/experimental/experimental.d.mts.map +1 -1
  62. package/resources/experimental/experimental.d.ts +2 -2
  63. package/resources/experimental/experimental.d.ts.map +1 -1
  64. package/resources/experimental/experimental.js.map +1 -1
  65. package/resources/experimental/experimental.mjs +1 -1
  66. package/resources/experimental/experimental.mjs.map +1 -1
  67. package/resources/experimental/index.d.mts +1 -1
  68. package/resources/experimental/index.d.mts.map +1 -1
  69. package/resources/experimental/index.d.ts +1 -1
  70. package/resources/experimental/index.d.ts.map +1 -1
  71. package/resources/experimental/index.js.map +1 -1
  72. package/resources/experimental/index.mjs +1 -1
  73. package/resources/experimental/index.mjs.map +1 -1
  74. package/resources/index.d.mts +3 -3
  75. package/resources/index.d.mts.map +1 -1
  76. package/resources/index.d.ts +3 -3
  77. package/resources/index.d.ts.map +1 -1
  78. package/resources/index.js +1 -1
  79. package/resources/index.js.map +1 -1
  80. package/resources/index.mjs +1 -1
  81. package/resources/index.mjs.map +1 -1
  82. package/resources/namespaces/index.d.mts +1 -1
  83. package/resources/namespaces/index.d.mts.map +1 -1
  84. package/resources/namespaces/index.d.ts +1 -1
  85. package/resources/namespaces/index.d.ts.map +1 -1
  86. package/resources/namespaces/index.js.map +1 -1
  87. package/resources/namespaces/index.mjs.map +1 -1
  88. package/resources/namespaces/namespaces.d.mts +35 -11
  89. package/resources/namespaces/namespaces.d.mts.map +1 -1
  90. package/resources/namespaces/namespaces.d.ts +35 -11
  91. package/resources/namespaces/namespaces.d.ts.map +1 -1
  92. package/resources/namespaces/namespaces.js +14 -4
  93. package/resources/namespaces/namespaces.js.map +1 -1
  94. package/resources/namespaces/namespaces.mjs +14 -4
  95. package/resources/namespaces/namespaces.mjs.map +1 -1
  96. package/resources/namespaces/servers.d.mts +3 -8
  97. package/resources/namespaces/servers.d.mts.map +1 -1
  98. package/resources/namespaces/servers.d.ts +3 -8
  99. package/resources/namespaces/servers.d.ts.map +1 -1
  100. package/resources/namespaces/servers.js +3 -8
  101. package/resources/namespaces/servers.js.map +1 -1
  102. package/resources/namespaces/servers.mjs +3 -8
  103. package/resources/namespaces/servers.mjs.map +1 -1
  104. package/resources/servers/deployments.d.mts +204 -6
  105. package/resources/servers/deployments.d.mts.map +1 -1
  106. package/resources/servers/deployments.d.ts +204 -6
  107. package/resources/servers/deployments.d.ts.map +1 -1
  108. package/resources/servers/deployments.js +14 -6
  109. package/resources/servers/deployments.js.map +1 -1
  110. package/resources/servers/deployments.mjs +14 -6
  111. package/resources/servers/deployments.mjs.map +1 -1
  112. package/resources/servers/index.d.mts +1 -1
  113. package/resources/servers/index.d.mts.map +1 -1
  114. package/resources/servers/index.d.ts +1 -1
  115. package/resources/servers/index.d.ts.map +1 -1
  116. package/resources/servers/index.js.map +1 -1
  117. package/resources/servers/index.mjs.map +1 -1
  118. package/resources/servers/servers.d.mts +135 -2
  119. package/resources/servers/servers.d.mts.map +1 -1
  120. package/resources/servers/servers.d.ts +135 -2
  121. package/resources/servers/servers.d.ts.map +1 -1
  122. package/resources/servers/servers.js +33 -1
  123. package/resources/servers/servers.js.map +1 -1
  124. package/resources/servers/servers.mjs +33 -1
  125. package/resources/servers/servers.mjs.map +1 -1
  126. package/resources/skills/index.d.mts +3 -0
  127. package/resources/skills/index.d.mts.map +1 -0
  128. package/resources/skills/index.d.ts +3 -0
  129. package/resources/skills/index.d.ts.map +1 -0
  130. package/resources/skills/index.js +9 -0
  131. package/resources/skills/index.js.map +1 -0
  132. package/resources/skills/index.mjs +4 -0
  133. package/resources/skills/index.mjs.map +1 -0
  134. package/resources/skills/reviews.d.mts +123 -0
  135. package/resources/skills/reviews.d.mts.map +1 -0
  136. package/resources/skills/reviews.d.ts +123 -0
  137. package/resources/skills/reviews.d.ts.map +1 -0
  138. package/resources/skills/reviews.js +40 -0
  139. package/resources/skills/reviews.js.map +1 -0
  140. package/resources/skills/reviews.mjs +36 -0
  141. package/resources/skills/reviews.mjs.map +1 -0
  142. package/resources/skills/skills.d.mts +135 -0
  143. package/resources/skills/skills.d.mts.map +1 -0
  144. package/resources/skills/skills.d.ts +135 -0
  145. package/resources/skills/skills.d.ts.map +1 -0
  146. package/resources/skills/skills.js +33 -0
  147. package/resources/skills/skills.js.map +1 -0
  148. package/resources/skills/skills.mjs +28 -0
  149. package/resources/skills/skills.mjs.map +1 -0
  150. package/resources/skills.d.mts +1 -39
  151. package/resources/skills.d.mts.map +1 -1
  152. package/resources/skills.d.ts +1 -39
  153. package/resources/skills.d.ts.map +1 -1
  154. package/resources/skills.js +2 -13
  155. package/resources/skills.js.map +1 -1
  156. package/resources/skills.mjs +1 -11
  157. package/resources/skills.mjs.map +1 -1
  158. package/resources/tokens.d.mts +5 -1
  159. package/resources/tokens.d.mts.map +1 -1
  160. package/resources/tokens.d.ts +5 -1
  161. package/resources/tokens.d.ts.map +1 -1
  162. package/src/client.ts +35 -1
  163. package/src/core/pagination.ts +118 -0
  164. package/src/lib/mcp-transport.ts +21 -2
  165. package/src/resources/experimental/agents/agents.ts +111 -106
  166. package/src/resources/experimental/agents/index.ts +17 -1
  167. package/src/resources/experimental/agents/responses.ts +1 -44
  168. package/src/resources/experimental/connect/connections.ts +4 -2
  169. package/src/resources/experimental/connect/mcp.ts +4 -2
  170. package/src/resources/experimental/experimental.ts +28 -1
  171. package/src/resources/experimental/index.ts +17 -1
  172. package/src/resources/index.ts +9 -1
  173. package/src/resources/namespaces/index.ts +2 -0
  174. package/src/resources/namespaces/namespaces.ts +49 -13
  175. package/src/resources/namespaces/servers.ts +3 -8
  176. package/src/resources/servers/deployments.ts +204 -6
  177. package/src/resources/servers/index.ts +4 -0
  178. package/src/resources/servers/servers.ts +170 -1
  179. package/src/resources/skills/index.ts +21 -0
  180. package/src/resources/skills/reviews.ts +191 -0
  181. package/src/resources/skills/skills.ts +219 -0
  182. package/src/resources/skills.ts +1 -72
  183. package/src/resources/tokens.ts +5 -1
  184. package/src/version.ts +1 -1
  185. package/version.d.mts +1 -1
  186. package/version.d.ts +1 -1
  187. package/version.js +1 -1
  188. package/version.mjs +1 -1
@@ -1,6 +1,6 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
2
  import * as AgentsAPI from "./agents/agents.mjs";
3
- import { Agents, CreateResponseRequest, ErrorResponse, Response } from "./agents/agents.mjs";
3
+ import { Agents, AssistantMessage, CreateResponseRequest, ErrorResponse, FunctionCall, InputItem, InputTextContent, OutputItem, OutputTextContent, Response, ResponseStatus, StringContent, SystemMessage, Usage, UserMessage } from "./agents/agents.mjs";
4
4
  import * as ConnectAPI from "./connect/connect.mjs";
5
5
  import { Connect } from "./connect/connect.mjs";
6
6
  export declare class Experimental extends APIResource {
@@ -8,7 +8,7 @@ export declare class Experimental extends APIResource {
8
8
  connect: ConnectAPI.Connect;
9
9
  }
10
10
  export declare namespace Experimental {
11
- export { Agents as Agents, type CreateResponseRequest as CreateResponseRequest, type ErrorResponse as ErrorResponse, type Response as Response, };
11
+ export { Agents as Agents, type AssistantMessage as AssistantMessage, type CreateResponseRequest as CreateResponseRequest, type ErrorResponse as ErrorResponse, type FunctionCall as FunctionCall, type InputItem as InputItem, type InputTextContent as InputTextContent, type OutputItem as OutputItem, type OutputTextContent as OutputTextContent, type Response as Response, type ResponseStatus as ResponseStatus, type StringContent as StringContent, type SystemMessage as SystemMessage, type Usage as Usage, type UserMessage as UserMessage, };
12
12
  export { Connect as Connect };
13
13
  }
14
14
  //# sourceMappingURL=experimental.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"experimental.d.mts","sourceRoot":"","sources":["../../src/resources/experimental/experimental.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE,qBAAqB,EAAE,aAAa,EAAE,QAAQ,EAAE;OAC1D,KAAK,UAAU;OACf,EAAE,OAAO,EAAE;AAElB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAKD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,QAAQ,IAAI,QAAQ,GAC1B,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC;CAC/B"}
1
+ {"version":3,"file":"experimental.d.mts","sourceRoot":"","sources":["../../src/resources/experimental/experimental.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EACL,MAAM,EACN,gBAAgB,EAChB,qBAAqB,EACrB,aAAa,EACb,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,cAAc,EACd,aAAa,EACb,aAAa,EACb,KAAK,EACL,WAAW,EACZ;OACM,KAAK,UAAU;OACf,EAAE,OAAO,EAAE;AAElB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAKD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,WAAW,IAAI,WAAW,GAChC,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC;CAC/B"}
@@ -1,6 +1,6 @@
1
1
  import { APIResource } from "../../core/resource.js";
2
2
  import * as AgentsAPI from "./agents/agents.js";
3
- import { Agents, CreateResponseRequest, ErrorResponse, Response } from "./agents/agents.js";
3
+ import { Agents, AssistantMessage, CreateResponseRequest, ErrorResponse, FunctionCall, InputItem, InputTextContent, OutputItem, OutputTextContent, Response, ResponseStatus, StringContent, SystemMessage, Usage, UserMessage } from "./agents/agents.js";
4
4
  import * as ConnectAPI from "./connect/connect.js";
5
5
  import { Connect } from "./connect/connect.js";
6
6
  export declare class Experimental extends APIResource {
@@ -8,7 +8,7 @@ export declare class Experimental extends APIResource {
8
8
  connect: ConnectAPI.Connect;
9
9
  }
10
10
  export declare namespace Experimental {
11
- export { Agents as Agents, type CreateResponseRequest as CreateResponseRequest, type ErrorResponse as ErrorResponse, type Response as Response, };
11
+ export { Agents as Agents, type AssistantMessage as AssistantMessage, type CreateResponseRequest as CreateResponseRequest, type ErrorResponse as ErrorResponse, type FunctionCall as FunctionCall, type InputItem as InputItem, type InputTextContent as InputTextContent, type OutputItem as OutputItem, type OutputTextContent as OutputTextContent, type Response as Response, type ResponseStatus as ResponseStatus, type StringContent as StringContent, type SystemMessage as SystemMessage, type Usage as Usage, type UserMessage as UserMessage, };
12
12
  export { Connect as Connect };
13
13
  }
14
14
  //# sourceMappingURL=experimental.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../../src/resources/experimental/experimental.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE,qBAAqB,EAAE,aAAa,EAAE,QAAQ,EAAE;OAC1D,KAAK,UAAU;OACf,EAAE,OAAO,EAAE;AAElB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAKD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,QAAQ,IAAI,QAAQ,GAC1B,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC;CAC/B"}
1
+ {"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../../src/resources/experimental/experimental.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EACL,MAAM,EACN,gBAAgB,EAChB,qBAAqB,EACrB,aAAa,EACb,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,cAAc,EACd,aAAa,EACb,aAAa,EACb,KAAK,EACL,WAAW,EACZ;OACM,KAAK,UAAU;OACf,EAAE,OAAO,EAAE;AAElB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAKD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,WAAW,IAAI,WAAW,GAChC,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC;CAC/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"experimental.js","sourceRoot":"","sources":["../../src/resources/experimental/experimental.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,sEAA6C;AAC7C,+CAAyF;AACzF,yEAAgD;AAChD,kDAA4C;AAE5C,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAHD,oCAGC;AAED,YAAY,CAAC,MAAM,GAAG,eAAM,CAAC;AAC7B,YAAY,CAAC,OAAO,GAAG,iBAAO,CAAC"}
1
+ {"version":3,"file":"experimental.js","sourceRoot":"","sources":["../../src/resources/experimental/experimental.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,sEAA6C;AAC7C,+CAgByB;AACzB,yEAAgD;AAChD,kDAA4C;AAE5C,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAHD,oCAGC;AAED,YAAY,CAAC,MAAM,GAAG,eAAM,CAAC;AAC7B,YAAY,CAAC,OAAO,GAAG,iBAAO,CAAC"}
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../../core/resource.mjs";
3
3
  import * as AgentsAPI from "./agents/agents.mjs";
4
- import { Agents } from "./agents/agents.mjs";
4
+ import { Agents, } from "./agents/agents.mjs";
5
5
  import * as ConnectAPI from "./connect/connect.mjs";
6
6
  import { Connect } from "./connect/connect.mjs";
7
7
  export class Experimental extends APIResource {
@@ -1 +1 @@
1
- {"version":3,"file":"experimental.mjs","sourceRoot":"","sources":["../../src/resources/experimental/experimental.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAkD;OAC1D,KAAK,UAAU;OACf,EAAE,OAAO,EAAE;AAElB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAED,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC;AAC7B,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"experimental.mjs","sourceRoot":"","sources":["../../src/resources/experimental/experimental.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EACL,MAAM,GAeP;OACM,KAAK,UAAU;OACf,EAAE,OAAO,EAAE;AAElB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAED,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC;AAC7B,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC"}
@@ -1,4 +1,4 @@
1
- export { Agents, type CreateResponseRequest, type ErrorResponse, type Response } from "./agents/index.mjs";
1
+ export { Agents, type AssistantMessage, type CreateResponseRequest, type ErrorResponse, type FunctionCall, type InputItem, type InputTextContent, type OutputItem, type OutputTextContent, type Response, type ResponseStatus, type StringContent, type SystemMessage, type Usage, type UserMessage, } from "./agents/index.mjs";
2
2
  export { Connect } from "./connect/index.mjs";
3
3
  export { Experimental } from "./experimental.mjs";
4
4
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/experimental/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,KAAK,qBAAqB,EAAE,KAAK,aAAa,EAAE,KAAK,QAAQ,EAAE;OACzE,EAAE,OAAO,EAAE;OACX,EAAE,YAAY,EAAE"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/experimental/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,KAAK,EACV,KAAK,WAAW,GACjB;OACM,EAAE,OAAO,EAAE;OACX,EAAE,YAAY,EAAE"}
@@ -1,4 +1,4 @@
1
- export { Agents, type CreateResponseRequest, type ErrorResponse, type Response } from "./agents/index.js";
1
+ export { Agents, type AssistantMessage, type CreateResponseRequest, type ErrorResponse, type FunctionCall, type InputItem, type InputTextContent, type OutputItem, type OutputTextContent, type Response, type ResponseStatus, type StringContent, type SystemMessage, type Usage, type UserMessage, } from "./agents/index.js";
2
2
  export { Connect } from "./connect/index.js";
3
3
  export { Experimental } from "./experimental.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/experimental/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,KAAK,qBAAqB,EAAE,KAAK,aAAa,EAAE,KAAK,QAAQ,EAAE;OACzE,EAAE,OAAO,EAAE;OACX,EAAE,YAAY,EAAE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/experimental/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,KAAK,EACV,KAAK,WAAW,GACjB;OACM,EAAE,OAAO,EAAE;OACX,EAAE,YAAY,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/experimental/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2CAAuG;AAA9F,+FAAA,MAAM,OAAA;AACf,4CAA0C;AAAjC,gGAAA,OAAO,OAAA;AAChB,kDAA8C;AAArC,4GAAA,YAAY,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/experimental/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2CAgBwB;AAftB,+FAAA,MAAM,OAAA;AAgBR,4CAA0C;AAAjC,gGAAA,OAAO,OAAA;AAChB,kDAA8C;AAArC,4GAAA,YAAY,OAAA"}
@@ -1,5 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { Agents } from "./agents/index.mjs";
2
+ export { Agents, } from "./agents/index.mjs";
3
3
  export { Connect } from "./connect/index.mjs";
4
4
  export { Experimental } from "./experimental.mjs";
5
5
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/experimental/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,MAAM,EAAiE;OACzE,EAAE,OAAO,EAAE;OACX,EAAE,YAAY,EAAE"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/experimental/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,GAeP;OACM,EAAE,OAAO,EAAE;OACX,EAAE,YAAY,EAAE"}
@@ -1,8 +1,8 @@
1
1
  export { Experimental } from "./experimental/experimental.mjs";
2
2
  export { Health, type HealthCheckResponse } from "./health.mjs";
3
- export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, } from "./namespaces/namespaces.mjs";
4
- export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerListResponse, type ServerDeleteResponse, type ServerGetResponse, type ServerGetByNamespaceResponse, type ServerListParams, type ServerDeleteParams, type ServerDownloadParams, type ServerGetParams, type ServerListResponsesSmitheryPage, } from "./servers/servers.mjs";
5
- export { Skills, type SkillListResponse, type SkillListParams, type SkillListResponsesSkillsPage, } from "./skills.mjs";
3
+ export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, type NamespaceListParams, type NamespaceListResponsesNamespacesPage, } from "./namespaces/namespaces.mjs";
4
+ export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerCreateResponse, type ServerListResponse, type ServerDeleteResponse, type ServerCreateByNamespaceResponse, type ServerGetResponse, type ServerGetByNamespaceResponse, type ServerCreateParams, type ServerListParams, type ServerDeleteParams, type ServerCreateByNamespaceParams, type ServerDownloadParams, type ServerGetParams, type ServerListResponsesSmitheryPage, } from "./servers/servers.mjs";
5
+ export { Skills, type SkillListResponse, type SkillGetResponse, type SkillListParams, type SkillGetParams, type SkillListResponsesSkillsPage, } from "./skills/skills.mjs";
6
6
  export { Tokens, type Constraint, type CreateTokenRequest, type CreateTokenResponse, type TokenCreateParams, } from "./tokens.mjs";
7
7
  export { Uplink, type UplinkCreateTokenResponse } from "./uplink.mjs";
8
8
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,EAAE;OAChB,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,EAAE;OAChB,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oCAAoC,GAC1C;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,+BAA+B,EACpC,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
@@ -1,8 +1,8 @@
1
1
  export { Experimental } from "./experimental/experimental.js";
2
2
  export { Health, type HealthCheckResponse } from "./health.js";
3
- export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, } from "./namespaces/namespaces.js";
4
- export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerListResponse, type ServerDeleteResponse, type ServerGetResponse, type ServerGetByNamespaceResponse, type ServerListParams, type ServerDeleteParams, type ServerDownloadParams, type ServerGetParams, type ServerListResponsesSmitheryPage, } from "./servers/servers.js";
5
- export { Skills, type SkillListResponse, type SkillListParams, type SkillListResponsesSkillsPage, } from "./skills.js";
3
+ export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, type NamespaceListParams, type NamespaceListResponsesNamespacesPage, } from "./namespaces/namespaces.js";
4
+ export { Servers, type BuildConfig, type DeploymentTarget, type ProjectConfig, type ServerCreateResponse, type ServerListResponse, type ServerDeleteResponse, type ServerCreateByNamespaceResponse, type ServerGetResponse, type ServerGetByNamespaceResponse, type ServerCreateParams, type ServerListParams, type ServerDeleteParams, type ServerCreateByNamespaceParams, type ServerDownloadParams, type ServerGetParams, type ServerListResponsesSmitheryPage, } from "./servers/servers.js";
5
+ export { Skills, type SkillListResponse, type SkillGetResponse, type SkillListParams, type SkillGetParams, type SkillListResponsesSkillsPage, } from "./skills/skills.js";
6
6
  export { Tokens, type Constraint, type CreateTokenRequest, type CreateTokenResponse, type TokenCreateParams, } from "./tokens.js";
7
7
  export { Uplink, type UplinkCreateTokenResponse } from "./uplink.js";
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,EAAE;OAChB,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,EAAE;OAChB,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE;OACpC,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oCAAoC,GAC1C;OACM,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,+BAA+B,EACpC,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,+BAA+B,GACrC;OACM,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,4BAA4B,GAClC;OACM,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EAAE,MAAM,EAAE,KAAK,yBAAyB,EAAE"}
@@ -10,7 +10,7 @@ var namespaces_1 = require("./namespaces/namespaces.js");
10
10
  Object.defineProperty(exports, "Namespaces", { enumerable: true, get: function () { return namespaces_1.Namespaces; } });
11
11
  var servers_1 = require("./servers/servers.js");
12
12
  Object.defineProperty(exports, "Servers", { enumerable: true, get: function () { return servers_1.Servers; } });
13
- var skills_1 = require("./skills.js");
13
+ var skills_1 = require("./skills/skills.js");
14
14
  Object.defineProperty(exports, "Skills", { enumerable: true, get: function () { return skills_1.Skills; } });
15
15
  var tokens_1 = require("./tokens.js");
16
16
  Object.defineProperty(exports, "Tokens", { enumerable: true, get: function () { return tokens_1.Tokens; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,+DAA2D;AAAlD,4GAAA,YAAY,OAAA;AACrB,sCAA4D;AAAnD,gGAAA,MAAM,OAAA;AACf,yDAKiC;AAJ/B,wGAAA,UAAU,OAAA;AAKZ,gDAc2B;AAbzB,kGAAA,OAAO,OAAA;AAcT,sCAKkB;AAJhB,gGAAA,MAAM,OAAA;AAKR,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,sCAAkE;AAAzD,gGAAA,MAAM,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,+DAA2D;AAAlD,4GAAA,YAAY,OAAA;AACrB,sCAA4D;AAAnD,gGAAA,MAAM,OAAA;AACf,yDAOiC;AAN/B,wGAAA,UAAU,OAAA;AAOZ,gDAkB2B;AAjBzB,kGAAA,OAAO,OAAA;AAkBT,6CAOyB;AANvB,gGAAA,MAAM,OAAA;AAOR,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,sCAAkE;AAAzD,gGAAA,MAAM,OAAA"}
@@ -3,7 +3,7 @@ export { Experimental } from "./experimental/experimental.mjs";
3
3
  export { Health } from "./health.mjs";
4
4
  export { Namespaces, } from "./namespaces/namespaces.mjs";
5
5
  export { Servers, } from "./servers/servers.mjs";
6
- export { Skills, } from "./skills.mjs";
6
+ export { Skills, } from "./skills/skills.mjs";
7
7
  export { Tokens, } from "./tokens.mjs";
8
8
  export { Uplink } from "./uplink.mjs";
9
9
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,YAAY,EAAE;OAChB,EAAE,MAAM,EAA4B;OACpC,EACL,UAAU,GAIX;OACM,EACL,OAAO,GAaR;OACM,EACL,MAAM,GAIP;OACM,EACL,MAAM,GAKP;OACM,EAAE,MAAM,EAAkC"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,YAAY,EAAE;OAChB,EAAE,MAAM,EAA4B;OACpC,EACL,UAAU,GAMX;OACM,EACL,OAAO,GAiBR;OACM,EACL,MAAM,GAMP;OACM,EACL,MAAM,GAKP;OACM,EAAE,MAAM,EAAkC"}
@@ -1,3 +1,3 @@
1
- export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, } from "./namespaces.mjs";
1
+ export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, type NamespaceListParams, type NamespaceListResponsesNamespacesPage, } from "./namespaces.mjs";
2
2
  export { Servers, type ServerCreateResponse, type ServerCreateParams } from "./servers.mjs";
3
3
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/namespaces/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B;OACM,EAAE,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/namespaces/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oCAAoC,GAC1C;OACM,EAAE,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE"}
@@ -1,3 +1,3 @@
1
- export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, } from "./namespaces.js";
1
+ export { Namespaces, type NamespaceCreateResponse, type NamespaceListResponse, type NamespaceSetResponse, type NamespaceListParams, type NamespaceListResponsesNamespacesPage, } from "./namespaces.js";
2
2
  export { Servers, type ServerCreateResponse, type ServerCreateParams } from "./servers.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/namespaces/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GAC1B;OACM,EAAE,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/namespaces/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oCAAoC,GAC1C;OACM,EAAE,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/namespaces/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAKsB;AAJpB,wGAAA,UAAU,OAAA;AAKZ,wCAAwF;AAA/E,kGAAA,OAAO,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/namespaces/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAOsB;AANpB,wGAAA,UAAU,OAAA;AAOZ,wCAAwF;AAA/E,kGAAA,OAAO,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/namespaces/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,UAAU,GAIX;OACM,EAAE,OAAO,EAAsD"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/namespaces/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,UAAU,GAMX;OACM,EAAE,OAAO,EAAsD"}
@@ -2,6 +2,7 @@ import { APIResource } from "../../core/resource.mjs";
2
2
  import * as ServersAPI from "./servers.mjs";
3
3
  import { ServerCreateParams, ServerCreateResponse, Servers } from "./servers.mjs";
4
4
  import { APIPromise } from "../../core/api-promise.mjs";
5
+ import { NamespacesPage, type NamespacesPageParams, PagePromise } from "../../core/pagination.mjs";
5
6
  import { RequestOptions } from "../../internal/request-options.mjs";
6
7
  export declare class Namespaces extends APIResource {
7
8
  servers: ServersAPI.Servers;
@@ -16,14 +17,20 @@ export declare class Namespaces extends APIResource {
16
17
  */
17
18
  create(options?: RequestOptions): APIPromise<NamespaceCreateResponse>;
18
19
  /**
19
- * Get a list of all namespaces owned by the authenticated user
20
+ * When called without query params, returns the authenticated user's namespaces
21
+ * (backwards compatible). When query params are provided, searches public
22
+ * namespaces with pagination. Use ownerId to filter by owner, hasServers/hasSkills
23
+ * to filter by content, q for text search.
20
24
  *
21
25
  * @example
22
26
  * ```ts
23
- * const namespaces = await client.namespaces.list();
27
+ * // Automatically fetches more pages as needed.
28
+ * for await (const namespaceListResponse of client.namespaces.list()) {
29
+ * // ...
30
+ * }
24
31
  * ```
25
32
  */
26
- list(options?: RequestOptions): APIPromise<NamespaceListResponse>;
33
+ list(query?: NamespaceListParams | null | undefined, options?: RequestOptions): PagePromise<NamespaceListResponsesNamespacesPage, NamespaceListResponse>;
27
34
  /**
28
35
  * Create a new namespace owned by the authenticated user. This endpoint is
29
36
  * idempotent - if the namespace already exists and is owned by the user, returns
@@ -36,25 +43,42 @@ export declare class Namespaces extends APIResource {
36
43
  */
37
44
  set(name: string, options?: RequestOptions): APIPromise<NamespaceSetResponse>;
38
45
  }
46
+ export type NamespaceListResponsesNamespacesPage = NamespacesPage<NamespaceListResponse>;
39
47
  export interface NamespaceCreateResponse {
40
48
  createdAt: string;
41
49
  name: string;
42
50
  }
43
51
  export interface NamespaceListResponse {
44
- namespaces: Array<NamespaceListResponse.Namespace>;
45
- }
46
- export declare namespace NamespaceListResponse {
47
- interface Namespace {
48
- createdAt: string;
49
- name: string;
50
- }
52
+ name: string;
51
53
  }
52
54
  export interface NamespaceSetResponse {
53
55
  createdAt: string;
54
56
  name: string;
55
57
  }
58
+ export interface NamespaceListParams extends NamespacesPageParams {
59
+ /**
60
+ * Comma-separated list of fields to include in response
61
+ */
62
+ fields?: string;
63
+ /**
64
+ * Filter namespaces with servers
65
+ */
66
+ hasServers?: '0' | '1' | 'true' | 'false';
67
+ /**
68
+ * Filter namespaces with skills
69
+ */
70
+ hasSkills?: '0' | '1' | 'true' | 'false';
71
+ /**
72
+ * Filter by owner ID
73
+ */
74
+ ownerId?: string;
75
+ /**
76
+ * Text search query (prefix match on name)
77
+ */
78
+ q?: string;
79
+ }
56
80
  export declare namespace Namespaces {
57
- export { type NamespaceCreateResponse as NamespaceCreateResponse, type NamespaceListResponse as NamespaceListResponse, type NamespaceSetResponse as NamespaceSetResponse, };
81
+ export { type NamespaceCreateResponse as NamespaceCreateResponse, type NamespaceListResponse as NamespaceListResponse, type NamespaceSetResponse as NamespaceSetResponse, type NamespaceListResponsesNamespacesPage as NamespaceListResponsesNamespacesPage, type NamespaceListParams as NamespaceListParams, };
58
82
  export { Servers as Servers, type ServerCreateResponse as ServerCreateResponse, type ServerCreateParams as ServerCreateParams, };
59
83
  }
60
84
  //# sourceMappingURL=namespaces.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"namespaces.d.mts","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,OAAO,EAAE;OACrD,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIrE;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAIjE;;;;;;;;;OASG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAG9E;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,KAAK,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;CACpD;AAED,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,SAAS;QACxB,SAAS,EAAE,MAAM,CAAC;QAElB,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAID,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
1
+ {"version":3,"file":"namespaces.d.mts","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,OAAO,EAAE;OACrD,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIrE;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,qBAAqB,CAAC;IAO3E;;;;;;;;;OASG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAG9E;AAED,MAAM,MAAM,oCAAoC,GAAG,cAAc,CAAC,qBAAqB,CAAC,CAAC;AAEzF,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB;IAC/D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAE1C;;OAEG;IACH,SAAS,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAEzC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ;AAID,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -2,6 +2,7 @@ import { APIResource } from "../../core/resource.js";
2
2
  import * as ServersAPI from "./servers.js";
3
3
  import { ServerCreateParams, ServerCreateResponse, Servers } from "./servers.js";
4
4
  import { APIPromise } from "../../core/api-promise.js";
5
+ import { NamespacesPage, type NamespacesPageParams, PagePromise } from "../../core/pagination.js";
5
6
  import { RequestOptions } from "../../internal/request-options.js";
6
7
  export declare class Namespaces extends APIResource {
7
8
  servers: ServersAPI.Servers;
@@ -16,14 +17,20 @@ export declare class Namespaces extends APIResource {
16
17
  */
17
18
  create(options?: RequestOptions): APIPromise<NamespaceCreateResponse>;
18
19
  /**
19
- * Get a list of all namespaces owned by the authenticated user
20
+ * When called without query params, returns the authenticated user's namespaces
21
+ * (backwards compatible). When query params are provided, searches public
22
+ * namespaces with pagination. Use ownerId to filter by owner, hasServers/hasSkills
23
+ * to filter by content, q for text search.
20
24
  *
21
25
  * @example
22
26
  * ```ts
23
- * const namespaces = await client.namespaces.list();
27
+ * // Automatically fetches more pages as needed.
28
+ * for await (const namespaceListResponse of client.namespaces.list()) {
29
+ * // ...
30
+ * }
24
31
  * ```
25
32
  */
26
- list(options?: RequestOptions): APIPromise<NamespaceListResponse>;
33
+ list(query?: NamespaceListParams | null | undefined, options?: RequestOptions): PagePromise<NamespaceListResponsesNamespacesPage, NamespaceListResponse>;
27
34
  /**
28
35
  * Create a new namespace owned by the authenticated user. This endpoint is
29
36
  * idempotent - if the namespace already exists and is owned by the user, returns
@@ -36,25 +43,42 @@ export declare class Namespaces extends APIResource {
36
43
  */
37
44
  set(name: string, options?: RequestOptions): APIPromise<NamespaceSetResponse>;
38
45
  }
46
+ export type NamespaceListResponsesNamespacesPage = NamespacesPage<NamespaceListResponse>;
39
47
  export interface NamespaceCreateResponse {
40
48
  createdAt: string;
41
49
  name: string;
42
50
  }
43
51
  export interface NamespaceListResponse {
44
- namespaces: Array<NamespaceListResponse.Namespace>;
45
- }
46
- export declare namespace NamespaceListResponse {
47
- interface Namespace {
48
- createdAt: string;
49
- name: string;
50
- }
52
+ name: string;
51
53
  }
52
54
  export interface NamespaceSetResponse {
53
55
  createdAt: string;
54
56
  name: string;
55
57
  }
58
+ export interface NamespaceListParams extends NamespacesPageParams {
59
+ /**
60
+ * Comma-separated list of fields to include in response
61
+ */
62
+ fields?: string;
63
+ /**
64
+ * Filter namespaces with servers
65
+ */
66
+ hasServers?: '0' | '1' | 'true' | 'false';
67
+ /**
68
+ * Filter namespaces with skills
69
+ */
70
+ hasSkills?: '0' | '1' | 'true' | 'false';
71
+ /**
72
+ * Filter by owner ID
73
+ */
74
+ ownerId?: string;
75
+ /**
76
+ * Text search query (prefix match on name)
77
+ */
78
+ q?: string;
79
+ }
56
80
  export declare namespace Namespaces {
57
- export { type NamespaceCreateResponse as NamespaceCreateResponse, type NamespaceListResponse as NamespaceListResponse, type NamespaceSetResponse as NamespaceSetResponse, };
81
+ export { type NamespaceCreateResponse as NamespaceCreateResponse, type NamespaceListResponse as NamespaceListResponse, type NamespaceSetResponse as NamespaceSetResponse, type NamespaceListResponsesNamespacesPage as NamespaceListResponsesNamespacesPage, type NamespaceListParams as NamespaceListParams, };
58
82
  export { Servers as Servers, type ServerCreateResponse as ServerCreateResponse, type ServerCreateParams as ServerCreateParams, };
59
83
  }
60
84
  //# sourceMappingURL=namespaces.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"namespaces.d.ts","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,OAAO,EAAE;OACrD,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIrE;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAIjE;;;;;;;;;OASG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAG9E;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,KAAK,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;CACpD;AAED,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,SAAS;QACxB,SAAS,EAAE,MAAM,CAAC;QAElB,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAID,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
1
+ {"version":3,"file":"namespaces.d.ts","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,OAAO,EAAE;OACrD,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIrE;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,qBAAqB,CAAC;IAO3E;;;;;;;;;OASG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAG9E;AAED,MAAM,MAAM,oCAAoC,GAAG,cAAc,CAAC,qBAAqB,CAAC,CAAC;AAEzF,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB;IAC/D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAE1C;;OAEG;IACH,SAAS,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC;IAEzC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ;AAID,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -6,6 +6,7 @@ const tslib_1 = require("../../internal/tslib.js");
6
6
  const resource_1 = require("../../core/resource.js");
7
7
  const ServersAPI = tslib_1.__importStar(require("./servers.js"));
8
8
  const servers_1 = require("./servers.js");
9
+ const pagination_1 = require("../../core/pagination.js");
9
10
  const path_1 = require("../../internal/utils/path.js");
10
11
  class Namespaces extends resource_1.APIResource {
11
12
  constructor() {
@@ -25,15 +26,24 @@ class Namespaces extends resource_1.APIResource {
25
26
  return this._client.post('/namespaces', options);
26
27
  }
27
28
  /**
28
- * Get a list of all namespaces owned by the authenticated user
29
+ * When called without query params, returns the authenticated user's namespaces
30
+ * (backwards compatible). When query params are provided, searches public
31
+ * namespaces with pagination. Use ownerId to filter by owner, hasServers/hasSkills
32
+ * to filter by content, q for text search.
29
33
  *
30
34
  * @example
31
35
  * ```ts
32
- * const namespaces = await client.namespaces.list();
36
+ * // Automatically fetches more pages as needed.
37
+ * for await (const namespaceListResponse of client.namespaces.list()) {
38
+ * // ...
39
+ * }
33
40
  * ```
34
41
  */
35
- list(options) {
36
- return this._client.get('/namespaces', options);
42
+ list(query = {}, options) {
43
+ return this._client.getAPIList('/namespaces', (pagination_1.NamespacesPage), {
44
+ query,
45
+ ...options,
46
+ });
37
47
  }
38
48
  /**
39
49
  * Create a new namespace owned by the authenticated user. This endpoint is
@@ -1 +1 @@
1
- {"version":3,"file":"namespaces.js","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,iEAAwC;AACxC,0CAA8E;AAG9E,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAwCrE,CAAC;IAtCC;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;;;;;OASG;IACH,GAAG,CAAC,IAAY,EAAE,OAAwB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;CACF;AAzCD,gCAyCC;AA0BD,UAAU,CAAC,OAAO,GAAG,iBAAO,CAAC"}
1
+ {"version":3,"file":"namespaces.js","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,iEAAwC;AACxC,0CAA8E;AAE9E,yDAA+F;AAE/F,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoDrE,CAAC;IAlDC;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,2BAAqC,CAAA,EAAE;YACnF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,GAAG,CAAC,IAAY,EAAE,OAAwB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;CACF;AArDD,gCAqDC;AA+CD,UAAU,CAAC,OAAO,GAAG,iBAAO,CAAC"}
@@ -2,6 +2,7 @@
2
2
  import { APIResource } from "../../core/resource.mjs";
3
3
  import * as ServersAPI from "./servers.mjs";
4
4
  import { Servers } from "./servers.mjs";
5
+ import { NamespacesPage } from "../../core/pagination.mjs";
5
6
  import { path } from "../../internal/utils/path.mjs";
6
7
  export class Namespaces extends APIResource {
7
8
  constructor() {
@@ -21,15 +22,24 @@ export class Namespaces extends APIResource {
21
22
  return this._client.post('/namespaces', options);
22
23
  }
23
24
  /**
24
- * Get a list of all namespaces owned by the authenticated user
25
+ * When called without query params, returns the authenticated user's namespaces
26
+ * (backwards compatible). When query params are provided, searches public
27
+ * namespaces with pagination. Use ownerId to filter by owner, hasServers/hasSkills
28
+ * to filter by content, q for text search.
25
29
  *
26
30
  * @example
27
31
  * ```ts
28
- * const namespaces = await client.namespaces.list();
32
+ * // Automatically fetches more pages as needed.
33
+ * for await (const namespaceListResponse of client.namespaces.list()) {
34
+ * // ...
35
+ * }
29
36
  * ```
30
37
  */
31
- list(options) {
32
- return this._client.get('/namespaces', options);
38
+ list(query = {}, options) {
39
+ return this._client.getAPIList('/namespaces', (NamespacesPage), {
40
+ query,
41
+ ...options,
42
+ });
33
43
  }
34
44
  /**
35
45
  * Create a new namespace owned by the authenticated user. This endpoint is
@@ -1 +1 @@
1
- {"version":3,"file":"namespaces.mjs","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAA4C,OAAO,EAAE;OAGrD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAwCrE,CAAC;IAtCC;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;;;;;OASG;IACH,GAAG,CAAC,IAAY,EAAE,OAAwB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;CACF;AA0BD,UAAU,CAAC,OAAO,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"namespaces.mjs","sourceRoot":"","sources":["../../src/resources/namespaces/namespaces.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAA4C,OAAO,EAAE;OAErD,EAAE,cAAc,EAA0C;OAE1D,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoDrE,CAAC;IAlDC;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,cAAqC,CAAA,EAAE;YACnF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,GAAG,CAAC,IAAY,EAAE,OAAwB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;CACF;AA+CD,UAAU,CAAC,OAAO,GAAG,OAAO,CAAC"}
@@ -3,15 +3,10 @@ import { APIPromise } from "../../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../../internal/request-options.mjs";
4
4
  export declare class Servers extends APIResource {
5
5
  /**
6
- * Create a new server under the specified namespace. This endpoint is idempotent.
6
+ * **Deprecated:** Use PUT /servers/{namespace}/{server} instead. Create a new
7
+ * server under the specified namespace. This endpoint is idempotent.
7
8
  *
8
- * @example
9
- * ```ts
10
- * const server = await client.namespaces.servers.create(
11
- * 'xxx',
12
- * { namespace: 'namespace' },
13
- * );
14
- * ```
9
+ * @deprecated
15
10
  */
16
11
  create(server: string, params: ServerCreateParams, options?: RequestOptions): APIPromise<ServerCreateResponse>;
17
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"servers.d.mts","sourceRoot":"","sources":["../../src/resources/namespaces/servers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;CAIpC;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAElB,WAAW,EAAE,MAAM,CAAC;IAEpB,WAAW,EAAE,MAAM,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC7G"}
1
+ {"version":3,"file":"servers.d.mts","sourceRoot":"","sources":["../../src/resources/namespaces/servers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;OAKG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;CAIpC;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAElB,WAAW,EAAE,MAAM,CAAC;IAEpB,WAAW,EAAE,MAAM,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC7G"}
@@ -3,15 +3,10 @@ import { APIPromise } from "../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../internal/request-options.js";
4
4
  export declare class Servers extends APIResource {
5
5
  /**
6
- * Create a new server under the specified namespace. This endpoint is idempotent.
6
+ * **Deprecated:** Use PUT /servers/{namespace}/{server} instead. Create a new
7
+ * server under the specified namespace. This endpoint is idempotent.
7
8
  *
8
- * @example
9
- * ```ts
10
- * const server = await client.namespaces.servers.create(
11
- * 'xxx',
12
- * { namespace: 'namespace' },
13
- * );
14
- * ```
9
+ * @deprecated
15
10
  */
16
11
  create(server: string, params: ServerCreateParams, options?: RequestOptions): APIPromise<ServerCreateResponse>;
17
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"servers.d.ts","sourceRoot":"","sources":["../../src/resources/namespaces/servers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;CAIpC;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAElB,WAAW,EAAE,MAAM,CAAC;IAEpB,WAAW,EAAE,MAAM,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC7G"}
1
+ {"version":3,"file":"servers.d.ts","sourceRoot":"","sources":["../../src/resources/namespaces/servers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;OAKG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;CAIpC;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAElB,WAAW,EAAE,MAAM,CAAC;IAEpB,WAAW,EAAE,MAAM,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC7G"}
@@ -6,15 +6,10 @@ const resource_1 = require("../../core/resource.js");
6
6
  const path_1 = require("../../internal/utils/path.js");
7
7
  class Servers extends resource_1.APIResource {
8
8
  /**
9
- * Create a new server under the specified namespace. This endpoint is idempotent.
9
+ * **Deprecated:** Use PUT /servers/{namespace}/{server} instead. Create a new
10
+ * server under the specified namespace. This endpoint is idempotent.
10
11
  *
11
- * @example
12
- * ```ts
13
- * const server = await client.namespaces.servers.create(
14
- * 'xxx',
15
- * { namespace: 'namespace' },
16
- * );
17
- * ```
12
+ * @deprecated
18
13
  */
19
14
  create(server, params, options) {
20
15
  const { namespace, ...body } = params;
@@ -1 +1 @@
1
- {"version":3,"file":"servers.js","sourceRoot":"","sources":["../../src/resources/namespaces/servers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,MAAM,CACJ,MAAc,EACd,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,SAAS,YAAY,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClG,CAAC;CACF;AApBD,0BAoBC"}
1
+ {"version":3,"file":"servers.js","sourceRoot":"","sources":["../../src/resources/namespaces/servers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;OAKG;IACH,MAAM,CACJ,MAAc,EACd,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,SAAS,YAAY,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClG,CAAC;CACF;AAfD,0BAeC"}