@inferencesh/sdk 0.35.0 → 0.35.1

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,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.35.1] - 2026-10-28
11
+
12
+ ### Added
13
+ - `ChatDTO.project_id`: the project a chat is filed in. `ApiAgentRunRequest.project_id` files the chat a run starts in a project.
14
+
10
15
  ## [0.35.0] - 2026-10-28
11
16
 
12
17
  ### Breaking
package/dist/types.d.ts CHANGED
@@ -504,6 +504,12 @@ export interface ApiAgentRunRequest {
504
504
  [key: string]: string;
505
505
  };
506
506
  stream?: boolean;
507
+ /**
508
+ * ProjectID files the chat this message starts in a project. Ignored
509
+ * when the message posts into an existing chat (chat_id): a chat moves
510
+ * with POST /chats/{id}/project.
511
+ */
512
+ project_id?: string;
507
513
  }
508
514
  export interface CreateAgentMessageResponse {
509
515
  user_message?: ChatMessageDTO;
@@ -2319,7 +2325,7 @@ export interface ChatAgentDTO {
2319
2325
  /**
2320
2326
  * ChatDTO for API responses
2321
2327
  */
2322
- export interface ChatDTO extends BaseModelDTO, PermissionModelDTO {
2328
+ export interface ChatDTO extends BaseModelDTO, PermissionModelDTO, ProjectModelDTO {
2323
2329
  parent_id?: string;
2324
2330
  parent?: ChatDTO;
2325
2331
  children: (ChatDTO | undefined)[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inferencesh/sdk",
3
- "version": "0.35.0",
3
+ "version": "0.35.1",
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",