@zapier/zapier-sdk-cli 0.63.0 → 0.64.0
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 +12 -0
- package/README.md +38 -40
- package/dist/cli.cjs +3 -3
- package/dist/cli.mjs +3 -3
- package/dist/experimental.cjs +1 -1
- package/dist/experimental.mjs +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @zapier/zapier-sdk-cli
|
|
2
2
|
|
|
3
|
+
## 0.64.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d09592b: Graduated Triggers and Trigger Inbox methods from the experimental interface to the stable one. Every trigger method (`listTriggers`, `listTriggerInputFields`, `createTriggerInbox`, `ensureTriggerInbox`, `drainTriggerInbox`, `watchTriggerInbox`, the inbox lifecycle methods, and the message lease/ack/release methods) is now available directly from `@zapier/zapier-sdk` and the `zapier-sdk` CLI — no `/experimental` import, `--experimental` flag, or `ZAPIER_EXPERIMENTAL` env var required. On the default MCP server the request/response trigger tools (`create-trigger-inbox`, `list-triggers`, the lease/ack/release tools, etc.) are now listed; the callback-driven `drainTriggerInbox` and `watchTriggerInbox` remain SDK/CLI-only. They stay available via the experimental subpath and `zapier-sdk-experimental` binary for backward compatibility.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [d09592b]
|
|
12
|
+
- @zapier/zapier-sdk-mcp@0.18.0
|
|
13
|
+
- @zapier/zapier-sdk@0.82.0
|
|
14
|
+
|
|
3
15
|
## 0.63.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -68,25 +68,25 @@
|
|
|
68
68
|
- [`list-table-records`](#list-table-records)
|
|
69
69
|
- [`list-tables`](#list-tables)
|
|
70
70
|
- [`update-table-records`](#update-table-records)
|
|
71
|
-
- [Triggers
|
|
72
|
-
- [`ack-trigger-inbox-messages`](#ack-trigger-inbox-messages
|
|
73
|
-
- [`create-trigger-inbox`](#create-trigger-inbox
|
|
74
|
-
- [`delete-trigger-inbox`](#delete-trigger-inbox
|
|
75
|
-
- [`drain-trigger-inbox`](#drain-trigger-inbox
|
|
76
|
-
- [`ensure-trigger-inbox`](#ensure-trigger-inbox
|
|
77
|
-
- [`get-trigger-inbox`](#get-trigger-inbox
|
|
78
|
-
- [`get-trigger-input-fields-schema`](#get-trigger-input-fields-schema
|
|
79
|
-
- [`lease-trigger-inbox-messages`](#lease-trigger-inbox-messages
|
|
80
|
-
- [`list-trigger-inbox-messages`](#list-trigger-inbox-messages
|
|
81
|
-
- [`list-trigger-inboxes`](#list-trigger-inboxes
|
|
82
|
-
- [`list-trigger-input-field-choices`](#list-trigger-input-field-choices
|
|
83
|
-
- [`list-trigger-input-fields`](#list-trigger-input-fields
|
|
84
|
-
- [`list-triggers`](#list-triggers
|
|
85
|
-
- [`pause-trigger-inbox`](#pause-trigger-inbox
|
|
86
|
-
- [`release-trigger-inbox-messages`](#release-trigger-inbox-messages
|
|
87
|
-
- [`resume-trigger-inbox`](#resume-trigger-inbox
|
|
88
|
-
- [`update-trigger-inbox`](#update-trigger-inbox
|
|
89
|
-
- [`watch-trigger-inbox`](#watch-trigger-inbox
|
|
71
|
+
- [Triggers](#triggers)
|
|
72
|
+
- [`ack-trigger-inbox-messages`](#ack-trigger-inbox-messages)
|
|
73
|
+
- [`create-trigger-inbox`](#create-trigger-inbox)
|
|
74
|
+
- [`delete-trigger-inbox`](#delete-trigger-inbox)
|
|
75
|
+
- [`drain-trigger-inbox`](#drain-trigger-inbox)
|
|
76
|
+
- [`ensure-trigger-inbox`](#ensure-trigger-inbox)
|
|
77
|
+
- [`get-trigger-inbox`](#get-trigger-inbox)
|
|
78
|
+
- [`get-trigger-input-fields-schema`](#get-trigger-input-fields-schema)
|
|
79
|
+
- [`lease-trigger-inbox-messages`](#lease-trigger-inbox-messages)
|
|
80
|
+
- [`list-trigger-inbox-messages`](#list-trigger-inbox-messages)
|
|
81
|
+
- [`list-trigger-inboxes`](#list-trigger-inboxes)
|
|
82
|
+
- [`list-trigger-input-field-choices`](#list-trigger-input-field-choices)
|
|
83
|
+
- [`list-trigger-input-fields`](#list-trigger-input-fields)
|
|
84
|
+
- [`list-triggers`](#list-triggers)
|
|
85
|
+
- [`pause-trigger-inbox`](#pause-trigger-inbox)
|
|
86
|
+
- [`release-trigger-inbox-messages`](#release-trigger-inbox-messages)
|
|
87
|
+
- [`resume-trigger-inbox`](#resume-trigger-inbox)
|
|
88
|
+
- [`update-trigger-inbox`](#update-trigger-inbox)
|
|
89
|
+
- [`watch-trigger-inbox`](#watch-trigger-inbox)
|
|
90
90
|
- [Utilities](#utilities)
|
|
91
91
|
- [`add`](#add)
|
|
92
92
|
- [`build-manifest`](#build-manifest)
|
|
@@ -1227,11 +1227,9 @@ Update one or more records in a table
|
|
|
1227
1227
|
npx zapier-sdk update-table-records <table> <records> [--key-mode]
|
|
1228
1228
|
```
|
|
1229
1229
|
|
|
1230
|
-
### Triggers
|
|
1230
|
+
### Triggers
|
|
1231
1231
|
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
#### `ack-trigger-inbox-messages` 🧪 _experimental_
|
|
1232
|
+
#### `ack-trigger-inbox-messages`
|
|
1235
1233
|
|
|
1236
1234
|
Acknowledge messages from a lease. Acked messages are removed from the inbox; unacked ones return to the available pool when the lease expires.
|
|
1237
1235
|
|
|
@@ -1249,7 +1247,7 @@ Acknowledge messages from a lease. Acked messages are removed from the inbox; un
|
|
|
1249
1247
|
npx zapier-sdk ack-trigger-inbox-messages <inbox> <lease> [--messages]
|
|
1250
1248
|
```
|
|
1251
1249
|
|
|
1252
|
-
#### `create-trigger-inbox`
|
|
1250
|
+
#### `create-trigger-inbox`
|
|
1253
1251
|
|
|
1254
1252
|
Create a new trigger inbox subscription. Always creates a new inbox; use ensureTriggerInbox for get-or-create on a stable key.
|
|
1255
1253
|
|
|
@@ -1270,7 +1268,7 @@ Create a new trigger inbox subscription. Always creates a new inbox; use ensureT
|
|
|
1270
1268
|
npx zapier-sdk create-trigger-inbox <app> <action> [--key] [--connection] [--inputs] [--notification-url]
|
|
1271
1269
|
```
|
|
1272
1270
|
|
|
1273
|
-
#### `delete-trigger-inbox`
|
|
1271
|
+
#### `delete-trigger-inbox`
|
|
1274
1272
|
|
|
1275
1273
|
Mark a trigger inbox for deletion
|
|
1276
1274
|
|
|
@@ -1286,7 +1284,7 @@ Mark a trigger inbox for deletion
|
|
|
1286
1284
|
npx zapier-sdk delete-trigger-inbox <inbox>
|
|
1287
1285
|
```
|
|
1288
1286
|
|
|
1289
|
-
#### `drain-trigger-inbox`
|
|
1287
|
+
#### `drain-trigger-inbox`
|
|
1290
1288
|
|
|
1291
1289
|
Drain an existing trigger inbox: lease currently-available messages, process each via onMessage, return when the inbox is empty, maxMessages is reached, or the abort signal fires.
|
|
1292
1290
|
|
|
@@ -1311,7 +1309,7 @@ Drain an existing trigger inbox: lease currently-available messages, process eac
|
|
|
1311
1309
|
npx zapier-sdk drain-trigger-inbox <inbox> [--concurrency] [--lease-limit] [--lease-seconds] [--release-on-error] [--continue-on-error] [--max-messages] [--exec] [--exec-shell] [--json]
|
|
1312
1310
|
```
|
|
1313
1311
|
|
|
1314
|
-
#### `ensure-trigger-inbox`
|
|
1312
|
+
#### `ensure-trigger-inbox`
|
|
1315
1313
|
|
|
1316
1314
|
Get-or-create a trigger inbox by key. Idempotent on (user, account, key): returns the existing inbox if a matching subscription is registered, creates a new one otherwise. Throws ZapierConflictError if the key exists with a different subscription.
|
|
1317
1315
|
|
|
@@ -1332,7 +1330,7 @@ Get-or-create a trigger inbox by key. Idempotent on (user, account, key): return
|
|
|
1332
1330
|
npx zapier-sdk ensure-trigger-inbox <key> <app> <action> [--connection] [--inputs] [--notification-url]
|
|
1333
1331
|
```
|
|
1334
1332
|
|
|
1335
|
-
#### `get-trigger-inbox`
|
|
1333
|
+
#### `get-trigger-inbox`
|
|
1336
1334
|
|
|
1337
1335
|
Get details of a trigger inbox by ID
|
|
1338
1336
|
|
|
@@ -1348,7 +1346,7 @@ Get details of a trigger inbox by ID
|
|
|
1348
1346
|
npx zapier-sdk get-trigger-inbox <inbox>
|
|
1349
1347
|
```
|
|
1350
1348
|
|
|
1351
|
-
#### `get-trigger-input-fields-schema`
|
|
1349
|
+
#### `get-trigger-input-fields-schema`
|
|
1352
1350
|
|
|
1353
1351
|
Get the JSON Schema representation of input fields for a trigger. Returns a JSON Schema object describing the structure, types, and validation rules for the trigger's input parameters.
|
|
1354
1352
|
|
|
@@ -1367,7 +1365,7 @@ Get the JSON Schema representation of input fields for a trigger. Returns a JSON
|
|
|
1367
1365
|
npx zapier-sdk get-trigger-input-fields-schema <app> <action> [--connection] [--inputs]
|
|
1368
1366
|
```
|
|
1369
1367
|
|
|
1370
|
-
#### `lease-trigger-inbox-messages`
|
|
1368
|
+
#### `lease-trigger-inbox-messages`
|
|
1371
1369
|
|
|
1372
1370
|
Lease up to N messages from a trigger inbox. Returns messages plus a lease ID; ack within the lease window to remove from the inbox.
|
|
1373
1371
|
|
|
@@ -1385,7 +1383,7 @@ Lease up to N messages from a trigger inbox. Returns messages plus a lease ID; a
|
|
|
1385
1383
|
npx zapier-sdk lease-trigger-inbox-messages <inbox> [--lease-limit] [--lease-seconds]
|
|
1386
1384
|
```
|
|
1387
1385
|
|
|
1388
|
-
#### `list-trigger-inbox-messages`
|
|
1386
|
+
#### `list-trigger-inbox-messages`
|
|
1389
1387
|
|
|
1390
1388
|
List messages in a trigger inbox (no payload, status-only)
|
|
1391
1389
|
|
|
@@ -1404,7 +1402,7 @@ List messages in a trigger inbox (no payload, status-only)
|
|
|
1404
1402
|
npx zapier-sdk list-trigger-inbox-messages <inbox> [--page-size] [--max-items] [--cursor]
|
|
1405
1403
|
```
|
|
1406
1404
|
|
|
1407
|
-
#### `list-trigger-inboxes`
|
|
1405
|
+
#### `list-trigger-inboxes`
|
|
1408
1406
|
|
|
1409
1407
|
List all trigger inboxes for the authenticated user
|
|
1410
1408
|
|
|
@@ -1424,7 +1422,7 @@ List all trigger inboxes for the authenticated user
|
|
|
1424
1422
|
npx zapier-sdk list-trigger-inboxes [--key] [--status] [--page-size] [--max-items] [--cursor]
|
|
1425
1423
|
```
|
|
1426
1424
|
|
|
1427
|
-
#### `list-trigger-input-field-choices`
|
|
1425
|
+
#### `list-trigger-input-field-choices`
|
|
1428
1426
|
|
|
1429
1427
|
Get the available choices for a dynamic dropdown input field on a trigger
|
|
1430
1428
|
|
|
@@ -1448,7 +1446,7 @@ Get the available choices for a dynamic dropdown input field on a trigger
|
|
|
1448
1446
|
npx zapier-sdk list-trigger-input-field-choices <app> <action> <input-field> [--connection] [--inputs] [--page] [--page-size] [--max-items] [--cursor]
|
|
1449
1447
|
```
|
|
1450
1448
|
|
|
1451
|
-
#### `list-trigger-input-fields`
|
|
1449
|
+
#### `list-trigger-input-fields`
|
|
1452
1450
|
|
|
1453
1451
|
Get the input fields required for a specific trigger
|
|
1454
1452
|
|
|
@@ -1470,7 +1468,7 @@ Get the input fields required for a specific trigger
|
|
|
1470
1468
|
npx zapier-sdk list-trigger-input-fields <app> <action> [--connection] [--inputs] [--page-size] [--max-items] [--cursor]
|
|
1471
1469
|
```
|
|
1472
1470
|
|
|
1473
|
-
#### `list-triggers`
|
|
1471
|
+
#### `list-triggers`
|
|
1474
1472
|
|
|
1475
1473
|
List all triggers for a specific app
|
|
1476
1474
|
|
|
@@ -1489,7 +1487,7 @@ List all triggers for a specific app
|
|
|
1489
1487
|
npx zapier-sdk list-triggers <app> [--page-size] [--max-items] [--cursor]
|
|
1490
1488
|
```
|
|
1491
1489
|
|
|
1492
|
-
#### `pause-trigger-inbox`
|
|
1490
|
+
#### `pause-trigger-inbox`
|
|
1493
1491
|
|
|
1494
1492
|
Pause a trigger inbox; events stop being collected
|
|
1495
1493
|
|
|
@@ -1505,7 +1503,7 @@ Pause a trigger inbox; events stop being collected
|
|
|
1505
1503
|
npx zapier-sdk pause-trigger-inbox <inbox>
|
|
1506
1504
|
```
|
|
1507
1505
|
|
|
1508
|
-
#### `release-trigger-inbox-messages`
|
|
1506
|
+
#### `release-trigger-inbox-messages`
|
|
1509
1507
|
|
|
1510
1508
|
Release messages from a lease back to the inbox without acknowledging them. Released messages become immediately available for re-leasing. The lease attempt still counts against the per-message lease limit; releasing does not refund the attempt.
|
|
1511
1509
|
|
|
@@ -1523,7 +1521,7 @@ Release messages from a lease back to the inbox without acknowledging them. Rele
|
|
|
1523
1521
|
npx zapier-sdk release-trigger-inbox-messages <inbox> <lease> [--messages]
|
|
1524
1522
|
```
|
|
1525
1523
|
|
|
1526
|
-
#### `resume-trigger-inbox`
|
|
1524
|
+
#### `resume-trigger-inbox`
|
|
1527
1525
|
|
|
1528
1526
|
Resume a paused trigger inbox; events resume being collected
|
|
1529
1527
|
|
|
@@ -1539,7 +1537,7 @@ Resume a paused trigger inbox; events resume being collected
|
|
|
1539
1537
|
npx zapier-sdk resume-trigger-inbox <inbox>
|
|
1540
1538
|
```
|
|
1541
1539
|
|
|
1542
|
-
#### `update-trigger-inbox`
|
|
1540
|
+
#### `update-trigger-inbox`
|
|
1543
1541
|
|
|
1544
1542
|
Update settings on an existing trigger inbox
|
|
1545
1543
|
|
|
@@ -1556,7 +1554,7 @@ Update settings on an existing trigger inbox
|
|
|
1556
1554
|
npx zapier-sdk update-trigger-inbox <inbox> [--notification-url]
|
|
1557
1555
|
```
|
|
1558
1556
|
|
|
1559
|
-
#### `watch-trigger-inbox`
|
|
1557
|
+
#### `watch-trigger-inbox`
|
|
1560
1558
|
|
|
1561
1559
|
Continuously consume a trigger inbox: drain currently-available messages via onMessage, then subscribe to SSE notifications for new arrivals until aborted. A periodic safety drain runs every maxDrainIntervalSeconds (default: 300) to guarantee forward progress if SSE events are missed. Resolves cleanly on signal abort or ZapierAbortDrainSignal from a handler. Transient drain failures (5xx, 429, network blips) retry indefinitely with bounded backoff until they succeed or the watch is aborted; it rejects on a fail-fast handler error, an initialization_failure, or a permanent HTTP error. Real-time wake-up health is reported on stderr: a warning when wake-ups pause and the watch falls back to the safety drain, plus (with debug) transient reconnect notices. Persistent drain failures likewise warn once on stderr while bounded-backoff retries continue. stdout (including --json NDJSON) is unaffected.
|
|
1562
1560
|
|
package/dist/cli.cjs
CHANGED
|
@@ -1727,7 +1727,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
1727
1727
|
|
|
1728
1728
|
// package.json
|
|
1729
1729
|
var package_default = {
|
|
1730
|
-
version: "0.
|
|
1730
|
+
version: "0.64.0"};
|
|
1731
1731
|
|
|
1732
1732
|
// src/telemetry/builders.ts
|
|
1733
1733
|
function createCliBaseEvent(context = {}) {
|
|
@@ -7928,7 +7928,7 @@ function buildBoxLines(message) {
|
|
|
7928
7928
|
// package.json with { type: 'json' }
|
|
7929
7929
|
var package_default2 = {
|
|
7930
7930
|
name: "@zapier/zapier-sdk-cli",
|
|
7931
|
-
version: "0.
|
|
7931
|
+
version: "0.64.0"};
|
|
7932
7932
|
|
|
7933
7933
|
// src/sdk.ts
|
|
7934
7934
|
zapierSdk.injectCliLogin(login_exports);
|
|
@@ -7945,7 +7945,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
7945
7945
|
// box is additive: the SDK's own inline warn still fires, so the notice
|
|
7946
7946
|
// cannot be hidden by any rendering path.
|
|
7947
7947
|
onEvent: (event) => collectDeprecationNoticeAndForward(event, sdkOptions.onEvent)
|
|
7948
|
-
}).use(extensionsContextPlugin).use(generateAppTypesPlugin).use(buildManifestPlugin).use(bundleCodePlugin).use(getLoginConfigPathPlugin).use(addAppsPlugin).use(feedbackPlugin).use(curlPlugin).use(initPlugin).use(mcpPlugin).use(loginPlugin).use(signupPlugin).use(logoutPlugin).use(cliOverridesPlugin, { override: true });
|
|
7948
|
+
}).use(extensionsContextPlugin).use(generateAppTypesPlugin).use(buildManifestPlugin).use(bundleCodePlugin).use(getLoginConfigPathPlugin).use(addAppsPlugin).use(feedbackPlugin).use(curlPlugin).use(initPlugin).use(drainTriggerInboxCliPlugin, { override: true }).use(watchTriggerInboxCliPlugin, { override: true }).use(mcpPlugin).use(loginPlugin).use(signupPlugin).use(logoutPlugin).use(cliOverridesPlugin, { override: true });
|
|
7949
7949
|
const sdk = zapierSdk.createSdk(
|
|
7950
7950
|
zapierSdk.defineLegacyMerge({
|
|
7951
7951
|
namespace: "zapier",
|
package/dist/cli.mjs
CHANGED
|
@@ -1684,7 +1684,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
|
|
|
1684
1684
|
|
|
1685
1685
|
// package.json
|
|
1686
1686
|
var package_default = {
|
|
1687
|
-
version: "0.
|
|
1687
|
+
version: "0.64.0"};
|
|
1688
1688
|
|
|
1689
1689
|
// src/telemetry/builders.ts
|
|
1690
1690
|
function createCliBaseEvent(context = {}) {
|
|
@@ -7885,7 +7885,7 @@ function buildBoxLines(message) {
|
|
|
7885
7885
|
// package.json with { type: 'json' }
|
|
7886
7886
|
var package_default2 = {
|
|
7887
7887
|
name: "@zapier/zapier-sdk-cli",
|
|
7888
|
-
version: "0.
|
|
7888
|
+
version: "0.64.0"};
|
|
7889
7889
|
|
|
7890
7890
|
// src/sdk.ts
|
|
7891
7891
|
injectCliLogin(login_exports);
|
|
@@ -7902,7 +7902,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
7902
7902
|
// box is additive: the SDK's own inline warn still fires, so the notice
|
|
7903
7903
|
// cannot be hidden by any rendering path.
|
|
7904
7904
|
onEvent: (event) => collectDeprecationNoticeAndForward(event, sdkOptions.onEvent)
|
|
7905
|
-
}).use(extensionsContextPlugin).use(generateAppTypesPlugin).use(buildManifestPlugin).use(bundleCodePlugin).use(getLoginConfigPathPlugin).use(addAppsPlugin).use(feedbackPlugin).use(curlPlugin).use(initPlugin).use(mcpPlugin).use(loginPlugin).use(signupPlugin).use(logoutPlugin).use(cliOverridesPlugin, { override: true });
|
|
7905
|
+
}).use(extensionsContextPlugin).use(generateAppTypesPlugin).use(buildManifestPlugin).use(bundleCodePlugin).use(getLoginConfigPathPlugin).use(addAppsPlugin).use(feedbackPlugin).use(curlPlugin).use(initPlugin).use(drainTriggerInboxCliPlugin, { override: true }).use(watchTriggerInboxCliPlugin, { override: true }).use(mcpPlugin).use(loginPlugin).use(signupPlugin).use(logoutPlugin).use(cliOverridesPlugin, { override: true });
|
|
7906
7906
|
const sdk = createSdk$1(
|
|
7907
7907
|
defineLegacyMerge$1({
|
|
7908
7908
|
namespace: "zapier",
|
package/dist/experimental.cjs
CHANGED
|
@@ -5060,7 +5060,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
5060
5060
|
// package.json with { type: 'json' }
|
|
5061
5061
|
var package_default = {
|
|
5062
5062
|
name: "@zapier/zapier-sdk-cli",
|
|
5063
|
-
version: "0.
|
|
5063
|
+
version: "0.64.0"};
|
|
5064
5064
|
|
|
5065
5065
|
// src/experimental.ts
|
|
5066
5066
|
experimental.injectCliLogin(login_exports);
|
package/dist/experimental.mjs
CHANGED
|
@@ -5024,7 +5024,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
5024
5024
|
// package.json with { type: 'json' }
|
|
5025
5025
|
var package_default = {
|
|
5026
5026
|
name: "@zapier/zapier-sdk-cli",
|
|
5027
|
-
version: "0.
|
|
5027
|
+
version: "0.64.0"};
|
|
5028
5028
|
|
|
5029
5029
|
// src/experimental.ts
|
|
5030
5030
|
injectCliLogin(login_exports);
|
package/dist/index.cjs
CHANGED
|
@@ -4799,7 +4799,7 @@ var ExecCliProperty = zod.z.string().optional().describe(
|
|
|
4799
4799
|
var ExecShellCliProperty = zod.z.string().optional().describe(
|
|
4800
4800
|
"Run a shell command per message. Message JSON is piped to the subprocess on stdin; exit code 0 acks, non-zero records the error per the same rules as a thrown handler. Interpreted by the platform's default shell (sh on POSIX, cmd.exe on Windows). Mutually exclusive with --exec and --json."
|
|
4801
4801
|
);
|
|
4802
|
-
zapierSdk.definePlugin(
|
|
4802
|
+
var drainTriggerInboxCliPlugin = zapierSdk.definePlugin(
|
|
4803
4803
|
(sdk) => {
|
|
4804
4804
|
const original = sdk.drainTriggerInbox;
|
|
4805
4805
|
const existingMeta = sdk.context.meta.drainTriggerInbox;
|
|
@@ -4929,7 +4929,7 @@ var ExecCliProperty2 = zod.z.string().optional().describe(
|
|
|
4929
4929
|
var ExecShellCliProperty2 = zod.z.string().optional().describe(
|
|
4930
4930
|
"Run a shell command per message. Message JSON is piped to the subprocess on stdin; exit code 0 acks, non-zero records the error per the same rules as a thrown handler. Interpreted by the platform's default shell (sh on POSIX, cmd.exe on Windows). Mutually exclusive with --exec and --json."
|
|
4931
4931
|
);
|
|
4932
|
-
zapierSdk.definePlugin(
|
|
4932
|
+
var watchTriggerInboxCliPlugin = zapierSdk.definePlugin(
|
|
4933
4933
|
(sdk) => {
|
|
4934
4934
|
const original = sdk.watchTriggerInbox;
|
|
4935
4935
|
const existingMeta = sdk.context.meta.watchTriggerInbox;
|
|
@@ -5059,7 +5059,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
5059
5059
|
// package.json with { type: 'json' }
|
|
5060
5060
|
var package_default = {
|
|
5061
5061
|
name: "@zapier/zapier-sdk-cli",
|
|
5062
|
-
version: "0.
|
|
5062
|
+
version: "0.64.0"};
|
|
5063
5063
|
|
|
5064
5064
|
// src/sdk.ts
|
|
5065
5065
|
zapierSdk.injectCliLogin(login_exports);
|
|
@@ -5076,7 +5076,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
5076
5076
|
// box is additive: the SDK's own inline warn still fires, so the notice
|
|
5077
5077
|
// cannot be hidden by any rendering path.
|
|
5078
5078
|
onEvent: (event) => collectDeprecationNoticeAndForward(event, sdkOptions.onEvent)
|
|
5079
|
-
}).use(extensionsContextPlugin).use(generateAppTypesPlugin).use(buildManifestPlugin).use(bundleCodePlugin).use(getLoginConfigPathPlugin).use(addAppsPlugin).use(feedbackPlugin).use(curlPlugin).use(initPlugin).use(mcpPlugin).use(loginPlugin).use(signupPlugin).use(logoutPlugin).use(cliOverridesPlugin, { override: true });
|
|
5079
|
+
}).use(extensionsContextPlugin).use(generateAppTypesPlugin).use(buildManifestPlugin).use(bundleCodePlugin).use(getLoginConfigPathPlugin).use(addAppsPlugin).use(feedbackPlugin).use(curlPlugin).use(initPlugin).use(drainTriggerInboxCliPlugin, { override: true }).use(watchTriggerInboxCliPlugin, { override: true }).use(mcpPlugin).use(loginPlugin).use(signupPlugin).use(logoutPlugin).use(cliOverridesPlugin, { override: true });
|
|
5080
5080
|
const sdk = zapierSdk.createSdk(
|
|
5081
5081
|
zapierSdk.defineLegacyMerge({
|
|
5082
5082
|
namespace: "zapier",
|
|
@@ -5099,7 +5099,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
5099
5099
|
|
|
5100
5100
|
// package.json
|
|
5101
5101
|
var package_default2 = {
|
|
5102
|
-
version: "0.
|
|
5102
|
+
version: "0.64.0"};
|
|
5103
5103
|
|
|
5104
5104
|
// src/telemetry/builders.ts
|
|
5105
5105
|
function createCliBaseEvent(context = {}) {
|
package/dist/index.mjs
CHANGED
|
@@ -4763,7 +4763,7 @@ var ExecCliProperty = z.string().optional().describe(
|
|
|
4763
4763
|
var ExecShellCliProperty = z.string().optional().describe(
|
|
4764
4764
|
"Run a shell command per message. Message JSON is piped to the subprocess on stdin; exit code 0 acks, non-zero records the error per the same rules as a thrown handler. Interpreted by the platform's default shell (sh on POSIX, cmd.exe on Windows). Mutually exclusive with --exec and --json."
|
|
4765
4765
|
);
|
|
4766
|
-
definePlugin(
|
|
4766
|
+
var drainTriggerInboxCliPlugin = definePlugin(
|
|
4767
4767
|
(sdk) => {
|
|
4768
4768
|
const original = sdk.drainTriggerInbox;
|
|
4769
4769
|
const existingMeta = sdk.context.meta.drainTriggerInbox;
|
|
@@ -4893,7 +4893,7 @@ var ExecCliProperty2 = z.string().optional().describe(
|
|
|
4893
4893
|
var ExecShellCliProperty2 = z.string().optional().describe(
|
|
4894
4894
|
"Run a shell command per message. Message JSON is piped to the subprocess on stdin; exit code 0 acks, non-zero records the error per the same rules as a thrown handler. Interpreted by the platform's default shell (sh on POSIX, cmd.exe on Windows). Mutually exclusive with --exec and --json."
|
|
4895
4895
|
);
|
|
4896
|
-
definePlugin(
|
|
4896
|
+
var watchTriggerInboxCliPlugin = definePlugin(
|
|
4897
4897
|
(sdk) => {
|
|
4898
4898
|
const original = sdk.watchTriggerInbox;
|
|
4899
4899
|
const existingMeta = sdk.context.meta.watchTriggerInbox;
|
|
@@ -5023,7 +5023,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
|
|
|
5023
5023
|
// package.json with { type: 'json' }
|
|
5024
5024
|
var package_default = {
|
|
5025
5025
|
name: "@zapier/zapier-sdk-cli",
|
|
5026
|
-
version: "0.
|
|
5026
|
+
version: "0.64.0"};
|
|
5027
5027
|
|
|
5028
5028
|
// src/sdk.ts
|
|
5029
5029
|
injectCliLogin(login_exports);
|
|
@@ -5040,7 +5040,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
5040
5040
|
// box is additive: the SDK's own inline warn still fires, so the notice
|
|
5041
5041
|
// cannot be hidden by any rendering path.
|
|
5042
5042
|
onEvent: (event) => collectDeprecationNoticeAndForward(event, sdkOptions.onEvent)
|
|
5043
|
-
}).use(extensionsContextPlugin).use(generateAppTypesPlugin).use(buildManifestPlugin).use(bundleCodePlugin).use(getLoginConfigPathPlugin).use(addAppsPlugin).use(feedbackPlugin).use(curlPlugin).use(initPlugin).use(mcpPlugin).use(loginPlugin).use(signupPlugin).use(logoutPlugin).use(cliOverridesPlugin, { override: true });
|
|
5043
|
+
}).use(extensionsContextPlugin).use(generateAppTypesPlugin).use(buildManifestPlugin).use(bundleCodePlugin).use(getLoginConfigPathPlugin).use(addAppsPlugin).use(feedbackPlugin).use(curlPlugin).use(initPlugin).use(drainTriggerInboxCliPlugin, { override: true }).use(watchTriggerInboxCliPlugin, { override: true }).use(mcpPlugin).use(loginPlugin).use(signupPlugin).use(logoutPlugin).use(cliOverridesPlugin, { override: true });
|
|
5044
5044
|
const sdk = createSdk(
|
|
5045
5045
|
defineLegacyMerge({
|
|
5046
5046
|
namespace: "zapier",
|
|
@@ -5063,7 +5063,7 @@ function createZapierCliSdk(options = {}) {
|
|
|
5063
5063
|
|
|
5064
5064
|
// package.json
|
|
5065
5065
|
var package_default2 = {
|
|
5066
|
-
version: "0.
|
|
5066
|
+
version: "0.64.0"};
|
|
5067
5067
|
|
|
5068
5068
|
// src/telemetry/builders.ts
|
|
5069
5069
|
function createCliBaseEvent(context = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zapier/zapier-sdk-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.64.0",
|
|
4
4
|
"description": "Command line interface for Zapier SDK",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"typescript": "^5.8.3",
|
|
96
96
|
"wrap-ansi": "^10.0.0",
|
|
97
97
|
"zod": "4.3.6",
|
|
98
|
-
"@zapier/zapier-sdk": "0.
|
|
99
|
-
"@zapier/zapier-sdk-mcp": "0.
|
|
98
|
+
"@zapier/zapier-sdk": "0.82.0",
|
|
99
|
+
"@zapier/zapier-sdk-mcp": "0.18.0"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@types/express": "^5.0.3",
|