@runtypelabs/sdk 11.15.1 → 11.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -5255,10 +5255,11 @@ var ModelConfigsEndpoint = class {
5255
5255
  this.client = client;
5256
5256
  }
5257
5257
  /**
5258
- * Get the available models catalog, followed by the account's custom models (`uiCategory: 'custom'`)
5258
+ * Get the available models catalog, followed by the account's custom models (`uiCategory: 'custom'`).
5259
+ * Pass `q` to search by name, id, creator, provider or tag; results are then ordered by relevance.
5259
5260
  */
5260
- async getAvailable() {
5261
- const response = await this.client.get("/model-configs/available");
5261
+ async getAvailable(params) {
5262
+ const response = await this.client.get("/model-configs/available", params?.q ? { q: params.q } : void 0);
5262
5263
  return Array.isArray(response) ? response : response.data || [];
5263
5264
  }
5264
5265
  /**
@@ -13282,6 +13283,7 @@ const SURFACE_DEFINITION_TYPES = /* @__PURE__ */ new Set([
13282
13283
  "chat",
13283
13284
  "mcp",
13284
13285
  "mcp_code",
13286
+ "cli",
13285
13287
  "api",
13286
13288
  "webhook",
13287
13289
  "schedule",
@@ -14745,7 +14747,7 @@ function transformQueryParams(params) {
14745
14747
  return result;
14746
14748
  }
14747
14749
  // src/version.ts
14748
- const SDK_VERSION = "11.15.1";
14750
+ const SDK_VERSION = "11.18.0";
14749
14751
  /**
14750
14752
  * Canonical client identity the API uses for attribution
14751
14753
  * (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the