@crewx/sdk 0.8.9 → 0.9.0-rc.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.
@@ -1312,6 +1312,7 @@ export interface QueryOptions {
1312
1312
  messages?: import('../conversation/types').TemplateMessage[];
1313
1313
  vars?: Record<string, unknown>;
1314
1314
  cwd?: string;
1315
+ resumeSessionId?: string;
1315
1316
  trace?: TraceContext;
1316
1317
  }
1317
1318
  export interface QueryResult {
@@ -1348,6 +1349,7 @@ export interface ExecuteOptions {
1348
1349
  messages?: import('../conversation/types').TemplateMessage[];
1349
1350
  vars?: Record<string, unknown>;
1350
1351
  cwd?: string;
1352
+ resumeSessionId?: string;
1351
1353
  trace?: TraceContext;
1352
1354
  }
1353
1355
  export interface ExecuteResult {
@@ -1,4 +1,4 @@
1
- export type TaskLogEntryType = 'text' | 'thinking' | 'tool_use' | 'tool_result' | 'error' | 'info' | 'agent_call';
1
+ export type TaskLogEntryType = 'text' | 'thinking' | 'tool_use' | 'tool_result' | 'error' | 'info' | 'running_instruction' | 'agent_call';
2
2
  export interface TaskLogEntry {
3
3
  timestamp: string;
4
4
  type: TaskLogEntryType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewx/sdk",
3
- "version": "0.8.9",
3
+ "version": "0.9.0-rc.1",
4
4
  "license": "UNLICENSED",
5
5
  "engines": {
6
6
  "node": ">=20.19.0"
@@ -117,9 +117,9 @@
117
117
  "vitest": "3.2.4"
118
118
  },
119
119
  "scripts": {
120
- "build:cjs": "npx tsup --config tsup.cjs.js",
121
- "build:esm": "npx tsup --config tsup.esm.js",
122
- "build:browser": "npx tsup --config tsup.browser.js",
120
+ "build:cjs": "tsup --config tsup.cjs.js",
121
+ "build:esm": "tsup --config tsup.esm.js",
122
+ "build:browser": "tsup --config tsup.browser.js",
123
123
  "build:dts": "tsc -p tsconfig.dts.json",
124
124
  "build": "pnpm run build:cjs && pnpm run build:esm && pnpm run build:browser && pnpm run build:dts && node scripts/copy-migrations.mjs",
125
125
  "db:generate": "cd ../.. && drizzle-kit generate --config drizzle.config.ts && node packages/sdk/scripts/post-generate.mjs",