@inferencesh/sdk 0.8.2 → 0.8.3

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 (2) hide show
  1. package/dist/types.d.ts +10 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -216,6 +216,12 @@ export interface AgentDTO extends BaseModelDTO, PermissionModelDTO, ProjectModel
216
216
  images: AgentImages;
217
217
  version_id: string;
218
218
  version?: AgentVersionDTO;
219
+ /**
220
+ * Harness is what drives the agent: "inference" for our own loop, or an
221
+ * agentprotocol registry id (claude, codex, ...) for an external harness,
222
+ * whose instructions, tools and versions are its own.
223
+ */
224
+ harness: string;
219
225
  /**
220
226
  * ProfileID is set when a harness profile on a remote thinks for this
221
227
  * agent instead of our loop.
@@ -1690,6 +1696,10 @@ export interface ChatDTO extends BaseModelDTO, PermissionModelDTO {
1690
1696
  * thinks for this chat; `claude --resume <id>` opens it on that machine.
1691
1697
  */
1692
1698
  harness_session_id?: string;
1699
+ /**
1700
+ * WorkDir is the folder a harness works in for this chat.
1701
+ */
1702
+ work_dir?: string;
1693
1703
  /**
1694
1704
  * ForkedFromMessageID is the message this chat was branched at.
1695
1705
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inferencesh/sdk",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
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",