cyberdesk 2.1.9 → 2.1.10

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.
@@ -517,6 +517,10 @@ export type RunCreate = {
517
517
  * Persist outputs under this alias for $ref in this session
518
518
  */
519
519
  session_alias?: string | null;
520
+ /**
521
+ * Release the session after this run completes successfully
522
+ */
523
+ release_session_after?: boolean | null;
520
524
  };
521
525
  /**
522
526
  * Run response schema
@@ -546,6 +550,7 @@ export type RunResponse = {
546
550
  } | null;
547
551
  session_id?: string | null;
548
552
  session_alias?: string | null;
553
+ release_session_after?: boolean | null;
549
554
  created_at: string;
550
555
  };
551
556
  export type RunStatus = 'scheduling' | 'running' | 'success' | 'cancelled' | 'error';
package/dist/index.d.ts CHANGED
@@ -471,6 +471,7 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string):
471
471
  * @param data.session_id - Optional: join an existing session; ignores machine_id/pool_ids
472
472
  * @param data.start_session - Optional: start a new machine session for this run
473
473
  * @param data.session_alias - Optional: persist outputs under this alias for refs in this session
474
+ * @param data.release_session_after - Optional: release the session when this run completes (success, error, or cancel)
474
475
  * @returns Created run details
475
476
  *
476
477
  * @example
package/dist/index.js CHANGED
@@ -456,6 +456,7 @@ function createCyberdeskClient(apiKey, baseUrl) {
456
456
  * @param data.session_id - Optional: join an existing session; ignores machine_id/pool_ids
457
457
  * @param data.start_session - Optional: start a new machine session for this run
458
458
  * @param data.session_alias - Optional: persist outputs under this alias for refs in this session
459
+ * @param data.release_session_after - Optional: release the session when this run completes (success, error, or cancel)
459
460
  * @returns Created run details
460
461
  *
461
462
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyberdesk",
3
- "version": "2.1.9",
3
+ "version": "2.1.10",
4
4
  "description": "The official TypeScript SDK for Cyberdesk",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",