@langchain/langgraph-sdk 0.0.7 → 0.0.8

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/dist/client.mjs CHANGED
@@ -390,6 +390,7 @@ export class RunsClient extends BaseClient {
390
390
  assistant_id: assistantId,
391
391
  interrupt_before: payload?.interruptBefore,
392
392
  interrupt_after: payload?.interruptAfter,
393
+ checkpoint_id: payload?.checkpointId,
393
394
  };
394
395
  if (payload?.multitaskStrategy != null) {
395
396
  json["multitask_strategy"] = payload?.multitaskStrategy;
@@ -450,6 +451,7 @@ export class RunsClient extends BaseClient {
450
451
  interrupt_before: payload?.interruptBefore,
451
452
  interrupt_after: payload?.interruptAfter,
452
453
  webhook: payload?.webhook,
454
+ checkpoint_id: payload?.checkpointId,
453
455
  };
454
456
  if (payload?.multitaskStrategy != null) {
455
457
  json["multitask_strategy"] = payload?.multitaskStrategy;
@@ -476,6 +478,7 @@ export class RunsClient extends BaseClient {
476
478
  assistant_id: assistantId,
477
479
  interrupt_before: payload?.interruptBefore,
478
480
  interrupt_after: payload?.interruptAfter,
481
+ checkpoint_id: payload?.checkpointId,
479
482
  };
480
483
  if (payload?.multitaskStrategy != null) {
481
484
  json["multitask_strategy"] = payload?.multitaskStrategy;
package/dist/types.d.mts CHANGED
@@ -16,6 +16,10 @@ interface RunsInvokePayload {
16
16
  * Additional configuration for the run.
17
17
  */
18
18
  config?: Config;
19
+ /**
20
+ * Checkpoint ID for when creating a new run.
21
+ */
22
+ checkpointId?: string;
19
23
  /**
20
24
  * Interrupt execution before entering these nodes.
21
25
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/langgraph-sdk",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Client library for interacting with the LangGraph API",
5
5
  "type": "module",
6
6
  "packageManager": "yarn@1.22.19",