kenso 0.1.191 → 0.1.193

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/docs/README.md CHANGED
@@ -6,7 +6,7 @@ Every canonical API operation a workspace member can call is also a command, suc
6
6
 
7
7
  ## Install
8
8
 
9
- On macOS or Linux, with or without Node, run the [install script](https://ken.so/install.sh): fetch it with `curl -fsSL` and pipe it to `sh`. It installs a standalone build that brings its own Node.js, checks the download against the release's `SHA256SUMS`, puts the CLI in `~/.local/share/kenso` and links `~/.local/bin/kenso`. Run it again to update.
9
+ On macOS or Linux, with or without Node, run the [install script](https://ken.so/install.sh): fetch it with `curl -fsSL` and pipe it to `sh`. It installs a standalone build that brings its own Node.js, checks the release's `SHA256SUMS` against its signature by the Kenso release key (with `ssh-keygen`, part of OpenSSH) and the download against that list, puts the CLI in `~/.local/share/kenso` and links `~/.local/bin/kenso`. Run it again to update.
10
10
 
11
11
  With Homebrew, on macOS or Linux, the same standalone build:
12
12
 
@@ -29,12 +29,12 @@ Every way to install:
29
29
 
30
30
  | Way | Systems | Needs |
31
31
  |---|---|---|
32
- | Install script, above | macOS, Linux (glibc) | Nothing |
32
+ | Install script, above | macOS, Linux (glibc) | `ssh-keygen` from OpenSSH 8.1 or newer: macOS has it, and on Debian or Ubuntu it is in `openssh-client` |
33
33
  | Homebrew, above | macOS, Linux | Homebrew |
34
34
  | npm, above | Any | Node 22 or newer |
35
35
  | Standalone build: unpack it and put its `bin` folder on your PATH | macOS, Linux, Windows | Nothing |
36
36
 
37
- The standalone builds are at `https://downloads.ken.so/desktop/cli/<version>/`, one per system: `kenso-<version>-darwin-arm64.tar.gz`, `darwin-x64`, `linux-arm64`, `linux-x64` and `kenso-<version>-windows-x64.zip`, with their `SHA256SUMS`. `https://downloads.ken.so/desktop/cli/latest.yml` names the newest version. The builds come out nightly and Homebrew follows them, so a command added that day reaches npm first.
37
+ The standalone builds are at `https://downloads.ken.so/desktop/cli/<version>/`, one per system: `kenso-<version>-darwin-arm64.tar.gz`, `darwin-x64`, `linux-arm64`, `linux-x64` and `kenso-<version>-windows-x64.zip`, with their `SHA256SUMS` and its signature `SHA256SUMS.sig` (0.1.184 and later). To check a list by hand, save the `SIGNERS` line of the install script, without its quotes, as `allowed_signers`, then run `ssh-keygen -Y verify -f allowed_signers -I kenso-cli-release -n file -s SHA256SUMS.sig < SHA256SUMS`. `https://downloads.ken.so/desktop/cli/latest.yml` names the newest version. The builds come out nightly and Homebrew follows them, so a command added that day reaches npm first.
38
38
 
39
39
  ### Tab completion
40
40
 
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.191 (API contracts a25a158c05fc) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.193 (API contracts 8a571a9ab9ba) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 2014 commands, one entry each: summary, API route, feature gate and flag names. Beta commands work only on workspaces with their feature flag; `kenso describe` hides the ones yours cannot use. Every command also takes the global flags below. A command's notes, flag descriptions, body schema and examples: `kenso <resource> <action> --help`, or `kenso describe <resource> <action>` as JSON.
5
+ 2019 commands, one entry each: summary, API route, feature gate and flag names. Beta commands work only on workspaces with their feature flag; `kenso describe` hides the ones yours cannot use. Every command also takes the global flags below. A command's notes, flag descriptions, body schema and examples: `kenso <resource> <action> --help`, or `kenso describe <resource> <action>` as JSON.
6
6
 
7
7
  ## Global flags
8
8
 
@@ -430,6 +430,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
430
430
  - [shares](#shares) (8)
431
431
  - [signal-vendor-connections](#signal-vendor-connections) (3)
432
432
  - [signals](#signals) (2)
433
+ - [simulations](#simulations) (5)
433
434
  - [skill](#skill) (3)
434
435
  - [slack-alerts](#slack-alerts) (3)
435
436
  - [slack-channels](#slack-channels) (1)
@@ -11102,6 +11103,38 @@ List the signal triggers a workflow can start from, offline.
11102
11103
 
11103
11104
  Flags: `--record-type`, `--workflow-type`.
11104
11105
 
11106
+ ## simulations
11107
+
11108
+ ### kenso simulations cancel
11109
+
11110
+ Cancel a simulation. `POST /v1/simulations/{simulationId}/cancel`. Beta: needs `response_simulation`.
11111
+
11112
+ Flags: `--simulation-id` (required), `--each`, `--concurrency`.
11113
+
11114
+ ### kenso simulations create
11115
+
11116
+ Start a simulation. `POST /v1/simulations`. Beta: needs `response_simulation`.
11117
+
11118
+ Flags: `--kind`, `--channel`, `--reader-count`, `--rounds`, `--rewrite`, `--instruction`, `--no-rewrite`, `--data`, `--each`, `--concurrency`.
11119
+
11120
+ ### kenso simulations get
11121
+
11122
+ Get one simulation with its result. `GET /v1/simulations/{simulationId}`. Beta: needs `response_simulation`.
11123
+
11124
+ Flags: `--simulation-id` (required), `--each`, `--concurrency`.
11125
+
11126
+ ### kenso simulations list
11127
+
11128
+ List the workspace's simulations, newest first. `GET /v1/simulations` (a list). Beta: needs `response_simulation`.
11129
+
11130
+ Flags: `--account-id`, `--campaign-id`, `--contact-id`, `--cursor`, `--kind`, `--limit`, `--touch-id`, `--all`, `--each`, `--concurrency`.
11131
+
11132
+ ### kenso simulations run
11133
+
11134
+ Run a response simulation and print how the readers reacted. API operations: `simulations.create`, `simulations.get`. Beta: needs `response_simulation`.
11135
+
11136
+ Flags: `--account-id`, `--body`, `--campaign-id`, `--channel`, `--compare-body`, `--compare-subject`, `--contact-id`, `--kind` (required), `--person-id`, `--reader-count`, `--rewrite`, `--rounds`, `--segment-id`, `--step-order`, `--subject`, `--touch-id`.
11137
+
11105
11138
  ## skill
11106
11139
 
11107
11140
  ### kenso skill install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.191",
3
+ "version": "0.1.193",
4
4
  "description": "The Kenso CLI: bulk lead, CRM and Studio work for people and coding agents",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -49,5 +49,5 @@
49
49
  "typescript-eslint": "8.71.1",
50
50
  "vitest": "5.0.3"
51
51
  },
52
- "gitHead": "2739aee7d89585499517097e48a9949582b5d69e"
52
+ "gitHead": "eb61775c2369ec5f4ed7bb0daef3a29d6562d160"
53
53
  }