@zapier/zapier-sdk-cli 0.52.6 โ†’ 0.52.7

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
@@ -1,5 +1,14 @@
1
1
  # @zapier/zapier-sdk-cli
2
2
 
3
+ ## 0.52.7
4
+
5
+ ### Patch Changes
6
+
7
+ - eb9b408: Add the durable-run-read experimental code-substrate plugins: `listDurableRuns` and `getDurableRun`. Both are registered only in `@zapier/zapier-sdk/experimental`; the stable subpath does not expose them. `listDurableRuns` is paginated (cursor + pageSize) per the sdkdurableapi `/api/v0/runs` contract; `getDurableRun` returns the full run state with nested execution and operations journal. Handlers pass API responses through verbatim (no client-side `.parse()` re-emission) so callers see any richer fields the server adds later without an SDK release. Also adds `durableRunIdResolver` in `src/resolvers/durableRunId.ts` so commands that take a run id present an interactive picker via `sdk.listDurableRuns()` in the CLI (uses `toIterable` to pull across pages). Input field naming follows the in-tree convention (`run` rather than the fork's `runId`); input is validated as a UUID at the boundary so non-UUID strings fail with a clear schema error instead of an opaque 500 from the backend's `::uuid` cast.
8
+ - Updated dependencies [eb9b408]
9
+ - @zapier/zapier-sdk@0.62.0
10
+ - @zapier/zapier-sdk-mcp@0.13.16
11
+
3
12
  ## 0.52.6
4
13
 
5
14
  ### Patch Changes
package/README.md CHANGED
@@ -30,7 +30,9 @@
30
30
  - [`delete-workflow`](#delete-workflow--experimental)
31
31
  - [`disable-workflow`](#disable-workflow--experimental)
32
32
  - [`enable-workflow`](#enable-workflow--experimental)
33
+ - [`get-durable-run`](#get-durable-run--experimental)
33
34
  - [`get-workflow`](#get-workflow--experimental)
35
+ - [`list-durable-runs`](#list-durable-runs--experimental)
34
36
  - [`list-workflows`](#list-workflows--experimental)
35
37
  - [`update-workflow`](#update-workflow--experimental)
36
38
  - [Connections](#connections)
@@ -500,6 +502,22 @@ Enable a durable workflow so it accepts triggers
500
502
  npx zapier-sdk enable-workflow <workflow>
501
503
  ```
502
504
 
505
+ #### `get-durable-run` ๐Ÿงช _experimental_
506
+
507
+ Get the full state of a run-once durable run, including its operations journal
508
+
509
+ **Options:**
510
+
511
+ | Option | Type | Required | Default | Possible Values | Description |
512
+ | ------- | -------- | -------- | ------- | --------------- | -------------- |
513
+ | `<run>` | `string` | โœ… | โ€” | โ€” | Durable run ID |
514
+
515
+ **Usage:**
516
+
517
+ ```bash
518
+ npx zapier-sdk get-durable-run <run>
519
+ ```
520
+
503
521
  #### `get-workflow` ๐Ÿงช _experimental_
504
522
 
505
523
  Get a durable workflow with its current version details and trigger claim status
@@ -516,6 +534,24 @@ Get a durable workflow with its current version details and trigger claim status
516
534
  npx zapier-sdk get-workflow <workflow>
517
535
  ```
518
536
 
537
+ #### `list-durable-runs` ๐Ÿงช _experimental_
538
+
539
+ List run-once durable runs for the authenticated account, newest first
540
+
541
+ **Options:**
542
+
543
+ | Option | Type | Required | Default | Possible Values | Description |
544
+ | ------------- | -------- | -------- | ------- | --------------- | ---------------------------------------------- |
545
+ | `--page-size` | `number` | โŒ | โ€” | โ€” | Number of runs per page (max 100) |
546
+ | `--cursor` | `string` | โŒ | โ€” | โ€” | Pagination cursor |
547
+ | `--max-items` | `number` | โŒ | โ€” | โ€” | Maximum total items to return across all pages |
548
+
549
+ **Usage:**
550
+
551
+ ```bash
552
+ npx zapier-sdk list-durable-runs [--page-size] [--cursor] [--max-items]
553
+ ```
554
+
519
555
  #### `list-workflows` ๐Ÿงช _experimental_
520
556
 
521
557
  List all active durable workflows for the authenticated account
package/dist/cli.cjs CHANGED
@@ -1572,7 +1572,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
1572
1572
 
1573
1573
  // package.json
1574
1574
  var package_default = {
1575
- version: "0.52.6"};
1575
+ version: "0.52.7"};
1576
1576
 
1577
1577
  // src/telemetry/builders.ts
1578
1578
  function createCliBaseEvent(context = {}) {
@@ -6653,7 +6653,7 @@ var watchTriggerInboxCliPlugin = zapierSdk.definePlugin(
6653
6653
  // package.json with { type: 'json' }
6654
6654
  var package_default2 = {
6655
6655
  name: "@zapier/zapier-sdk-cli",
6656
- version: "0.52.6"};
6656
+ version: "0.52.7"};
6657
6657
 
6658
6658
  // src/sdk.ts
6659
6659
  zapierSdk.injectCliLogin(login_exports);
package/dist/cli.mjs CHANGED
@@ -1530,7 +1530,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
1530
1530
 
1531
1531
  // package.json
1532
1532
  var package_default = {
1533
- version: "0.52.6"};
1533
+ version: "0.52.7"};
1534
1534
 
1535
1535
  // src/telemetry/builders.ts
1536
1536
  function createCliBaseEvent(context = {}) {
@@ -6611,7 +6611,7 @@ var watchTriggerInboxCliPlugin = definePlugin(
6611
6611
  // package.json with { type: 'json' }
6612
6612
  var package_default2 = {
6613
6613
  name: "@zapier/zapier-sdk-cli",
6614
- version: "0.52.6"};
6614
+ version: "0.52.7"};
6615
6615
 
6616
6616
  // src/sdk.ts
6617
6617
  injectCliLogin(login_exports);
@@ -4013,7 +4013,7 @@ var watchTriggerInboxCliPlugin = zapierSdk.definePlugin(
4013
4013
  // package.json with { type: 'json' }
4014
4014
  var package_default = {
4015
4015
  name: "@zapier/zapier-sdk-cli",
4016
- version: "0.52.6"};
4016
+ version: "0.52.7"};
4017
4017
 
4018
4018
  // src/experimental.ts
4019
4019
  experimental.injectCliLogin(login_exports);
@@ -3977,7 +3977,7 @@ var watchTriggerInboxCliPlugin = definePlugin(
3977
3977
  // package.json with { type: 'json' }
3978
3978
  var package_default = {
3979
3979
  name: "@zapier/zapier-sdk-cli",
3980
- version: "0.52.6"};
3980
+ version: "0.52.7"};
3981
3981
 
3982
3982
  // src/experimental.ts
3983
3983
  injectCliLogin(login_exports);
package/dist/index.cjs CHANGED
@@ -4012,7 +4012,7 @@ zapierSdk.definePlugin(
4012
4012
  // package.json with { type: 'json' }
4013
4013
  var package_default = {
4014
4014
  name: "@zapier/zapier-sdk-cli",
4015
- version: "0.52.6"};
4015
+ version: "0.52.7"};
4016
4016
 
4017
4017
  // src/sdk.ts
4018
4018
  zapierSdk.injectCliLogin(login_exports);
@@ -4040,7 +4040,7 @@ function createZapierCliSdk(options = {}) {
4040
4040
 
4041
4041
  // package.json
4042
4042
  var package_default2 = {
4043
- version: "0.52.6"};
4043
+ version: "0.52.7"};
4044
4044
 
4045
4045
  // src/telemetry/builders.ts
4046
4046
  function createCliBaseEvent(context = {}) {
package/dist/index.mjs CHANGED
@@ -3976,7 +3976,7 @@ definePlugin(
3976
3976
  // package.json with { type: 'json' }
3977
3977
  var package_default = {
3978
3978
  name: "@zapier/zapier-sdk-cli",
3979
- version: "0.52.6"};
3979
+ version: "0.52.7"};
3980
3980
 
3981
3981
  // src/sdk.ts
3982
3982
  injectCliLogin(login_exports);
@@ -4004,7 +4004,7 @@ function createZapierCliSdk(options = {}) {
4004
4004
 
4005
4005
  // package.json
4006
4006
  var package_default2 = {
4007
- version: "0.52.6"};
4007
+ version: "0.52.7"};
4008
4008
 
4009
4009
  // src/telemetry/builders.ts
4010
4010
  function createCliBaseEvent(context = {}) {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zapier/zapier-sdk-cli",
3
- "version": "0.52.6",
3
+ "version": "0.52.7",
4
4
  "description": "Command line interface for Zapier SDK",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",