@inferencesh/sdk 0.41.0 → 0.41.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.41.2] - 2026-11-17
11
+
12
+ ### Added
13
+ - Team capability `rent_engines` (`TeamCapabilityRentEngines`): renting and extending cloud engines, held by owners and admins (api-v1577).
14
+
15
+ ## [0.41.1] - 2026-11-15
16
+
17
+ ### Removed
18
+ - `launch_configuration` and `envs` on `InstanceDTO` (api-v1572): the API no longer returns them.
19
+
10
20
  ## [0.41.0] - 2026-11-14
11
21
 
12
22
  Types regenerated from the API (api-v1567, api-v1568).
package/dist/types.d.ts CHANGED
@@ -4564,7 +4564,9 @@ export interface ChatTraceDTO {
4564
4564
  failed_steps: number;
4565
4565
  }
4566
4566
  /**
4567
- * InstanceDTO is the API representation of a cloud instance.
4567
+ * InstanceDTO is the API representation of a cloud instance. It has no
4568
+ * launch_configuration and no envs: the boot script carries the engine's
4569
+ * enrollment token (models.ToInstanceDTO).
4568
4570
  */
4569
4571
  export interface InstanceDTO extends BaseModelDTO, PermissionModelDTO {
4570
4572
  cloud: InstanceCloudProvider;
@@ -4587,11 +4589,9 @@ export interface InstanceDTO extends BaseModelDTO, PermissionModelDTO {
4587
4589
  volume_ids?: string[];
4588
4590
  tags?: string[];
4589
4591
  configuration?: any;
4590
- launch_configuration?: any;
4591
4592
  auto_delete?: any;
4592
4593
  alert?: any;
4593
4594
  volume_mount?: any;
4594
- envs?: any;
4595
4595
  }
4596
4596
  /**
4597
4597
  * InstanceTypeDTO is the API representation of a cloud instance type.
@@ -9671,7 +9671,7 @@ export declare const TeamKindOrg: TeamKind;
9671
9671
  * TeamCapability is one thing a caller may do to a team's settings. The set is
9672
9672
  * closed; team.Subject.Can is the only place that grants them.
9673
9673
  */
9674
- export type TeamCapability = "edit_profile" | "manage_members" | "manage_admins" | "view_members" | "manage_keys" | "create_keys" | "manage_vault" | "view_billing" | "manage_billing" | "view_policy" | "manage_policy" | "manage_org" | "manage_sso" | "archive" | "create_team" | "create_org" | "connect_org_credential" | "connect_platform_credential";
9674
+ export type TeamCapability = "edit_profile" | "manage_members" | "manage_admins" | "view_members" | "manage_keys" | "create_keys" | "manage_vault" | "view_billing" | "manage_billing" | "rent_engines" | "view_policy" | "manage_policy" | "manage_org" | "manage_sso" | "archive" | "create_team" | "create_org" | "connect_org_credential" | "connect_platform_credential";
9675
9675
  export declare const TeamCapabilityEditProfile: TeamCapability;
9676
9676
  export declare const TeamCapabilityManageMembers: TeamCapability;
9677
9677
  /**
@@ -9692,6 +9692,11 @@ export declare const TeamCapabilityCreateKeys: TeamCapability;
9692
9692
  export declare const TeamCapabilityManageVault: TeamCapability;
9693
9693
  export declare const TeamCapabilityViewBilling: TeamCapability;
9694
9694
  export declare const TeamCapabilityManageBilling: TeamCapability;
9695
+ /**
9696
+ * RentEngines: renting a cloud engine, and extending a rental, which
9697
+ * debit the team's balance for up to the rental's whole span.
9698
+ */
9699
+ export declare const TeamCapabilityRentEngines: TeamCapability;
9695
9700
  export declare const TeamCapabilityViewPolicy: TeamCapability;
9696
9701
  export declare const TeamCapabilityManagePolicy: TeamCapability;
9697
9702
  export declare const TeamCapabilityManageOrg: TeamCapability;
package/dist/types.js CHANGED
@@ -2269,6 +2269,11 @@ export const TeamCapabilityCreateKeys = "create_keys";
2269
2269
  export const TeamCapabilityManageVault = "manage_vault";
2270
2270
  export const TeamCapabilityViewBilling = "view_billing";
2271
2271
  export const TeamCapabilityManageBilling = "manage_billing";
2272
+ /**
2273
+ * RentEngines: renting a cloud engine, and extending a rental, which
2274
+ * debit the team's balance for up to the rental's whole span.
2275
+ */
2276
+ export const TeamCapabilityRentEngines = "rent_engines";
2272
2277
  export const TeamCapabilityViewPolicy = "view_policy";
2273
2278
  export const TeamCapabilityManagePolicy = "manage_policy";
2274
2279
  export const TeamCapabilityManageOrg = "manage_org";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inferencesh/sdk",
3
- "version": "0.41.0",
3
+ "version": "0.41.2",
4
4
  "description": "Official JavaScript/TypeScript SDK for inference.sh - Run AI models with a simple API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",