kenso 0.1.48 → 0.1.50
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 +1 -0
- package/README.md +10 -2
- package/dist/kenso.js +58 -20
- package/dist/operations.json +1 -1
- package/docs/README.md +15 -3
- package/docs/agents.md +1 -1
- package/docs/auth.md +2 -2
- package/docs/reference.md +29 -5
- package/package.json +2 -2
- package/skill/kenso-cli/SKILL.md +1 -1
package/docs/README.md
CHANGED
|
@@ -6,14 +6,26 @@ Every API operation a workspace member can call is also a command, such as `kens
|
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
|
-
|
|
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.
|
|
10
|
+
|
|
11
|
+
With Node 22 or newer, on any system, Windows included:
|
|
10
12
|
|
|
11
13
|
```bash
|
|
12
14
|
npm i -g kenso
|
|
13
15
|
kenso --version
|
|
14
16
|
```
|
|
15
17
|
|
|
16
|
-
To run it once without installing, use `npx kenso --version`.
|
|
18
|
+
To run it once without installing, use `npx kenso --version`. On an older Node, kenso stops with one line that says so.
|
|
19
|
+
|
|
20
|
+
Every way to install:
|
|
21
|
+
|
|
22
|
+
| Way | Systems | Needs |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| Install script, above | macOS, Linux (glibc) | Nothing |
|
|
25
|
+
| npm, above | Any | Node 22 or newer |
|
|
26
|
+
| Standalone build: unpack it and put its `bin` folder on your PATH | macOS, Linux, Windows | Nothing |
|
|
27
|
+
|
|
28
|
+
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, so a command added that day reaches npm first.
|
|
17
29
|
|
|
18
30
|
### Tab completion
|
|
19
31
|
|
|
@@ -30,7 +42,7 @@ kenso completion fish > ~/.config/fish/completions/kenso.fish
|
|
|
30
42
|
|
|
31
43
|
### Update notice
|
|
32
44
|
|
|
33
|
-
When a newer version is out, `kenso` says so on stderr after the command's own output, at most once a week: `kenso 0.1.40 is out (you have 0.1.35): npm i -g kenso@latest`. It checks `registry.npmjs.org` at most once every 7 days and never delays a command by more than about a second. It stays quiet when stderr is not a terminal, in CI (`CI` set) and under a coding agent. Set `KENSO_NO_UPDATE_NOTIFIER=1` to turn it off.
|
|
45
|
+
When a newer version is out, `kenso` says so on stderr after the command's own output, at most once a week: `kenso 0.1.40 is out (you have 0.1.35): npm i -g kenso@latest`. It checks `registry.npmjs.org` at most once every 7 days and never delays a command by more than about a second. A standalone build checks `latest.yml` on `downloads.ken.so` instead and names its own update: the install script, or `brew upgrade kenso` when Homebrew installed it. It stays quiet when stderr is not a terminal, in CI (`CI` set) and under a coding agent. Set `KENSO_NO_UPDATE_NOTIFIER=1` to turn it off.
|
|
34
46
|
|
|
35
47
|
## 60-second quickstart
|
|
36
48
|
|
package/docs/agents.md
CHANGED
|
@@ -4,7 +4,7 @@ The CLI is built to be driven by a coding agent: Claude Code, Codex, Cursor, Gem
|
|
|
4
4
|
|
|
5
5
|
## Set up an agent in three steps
|
|
6
6
|
|
|
7
|
-
1. Install the CLI where the agent runs: `npm i -g kenso`
|
|
7
|
+
1. Install the CLI where the agent runs: on macOS or Linux, the [install script](https://ken.so/install.sh) piped to `sh` needs no Node; anywhere, `npm i -g kenso` needs Node 22 or newer. Without a global install, `npx -y kenso@latest <command>` runs any command.
|
|
8
8
|
2. Give it a key. Either set `KENSO_API_KEY` (and `KENSO_WORKSPACE_ID` when the key reaches several workspaces) in the agent's environment, or log in once on that machine:
|
|
9
9
|
|
|
10
10
|
```bash
|
package/docs/auth.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Authentication
|
|
2
2
|
|
|
3
|
-
The CLI calls the Kenso API with a Kenso API key (`ken_` plus 43 characters). It sends the key as `Authorization: Bearer <key>` and never prints it, logs it or puts it in an error.
|
|
3
|
+
The CLI calls the Kenso API with a Kenso API key (`kenso_live_` plus 49 characters, or an older key: `ken_` plus 43 characters). It sends the key as `Authorization: Bearer <key>` and never prints it, logs it or puts it in an error.
|
|
4
4
|
|
|
5
5
|
`kenso login`, `kenso logout` and `kenso whoami` are the same commands as `kenso auth login`, `kenso auth logout` and `kenso auth status`.
|
|
6
6
|
|
|
@@ -42,7 +42,7 @@ The key is the same kind you create in the app. It is named `Kenso CLI - <device
|
|
|
42
42
|
You do not need to log in on a machine that has the key in its environment:
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
|
-
export KENSO_API_KEY=
|
|
45
|
+
export KENSO_API_KEY=kenso_live_...
|
|
46
46
|
export KENSO_WORKSPACE_ID=1234
|
|
47
47
|
kenso auth status
|
|
48
48
|
```
|
package/docs/reference.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Kenso CLI command reference
|
|
2
2
|
|
|
3
|
-
Generated from kenso 0.1.
|
|
3
|
+
Generated from kenso 0.1.50 (API contracts 03e2426198b4) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1619 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
|
|
|
@@ -370,6 +370,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
370
370
|
- [social-searches](#social-searches) (2)
|
|
371
371
|
- [spend-limits](#spend-limits) (2)
|
|
372
372
|
- [stakeholders](#stakeholders) (4)
|
|
373
|
+
- [status](#status) (1)
|
|
373
374
|
- [studio](#studio) (5)
|
|
374
375
|
- [studio-starters](#studio-starters) (2)
|
|
375
376
|
- [subscription](#subscription) (5)
|
|
@@ -434,6 +435,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
434
435
|
- [workflow-versions](#workflow-versions) (4)
|
|
435
436
|
- [workflows](#workflows) (10)
|
|
436
437
|
- [workspace](#workspace) (2)
|
|
438
|
+
- [workspace-api-keys](#workspace-api-keys) (2)
|
|
437
439
|
- [workspace-data-deletions](#workspace-data-deletions) (4)
|
|
438
440
|
- [workspaces](#workspaces) (17)
|
|
439
441
|
|
|
@@ -1221,7 +1223,7 @@ Flags: `--all`, `--data`, `--no-workspace`.
|
|
|
1221
1223
|
|
|
1222
1224
|
Create an API key. The secret is returned once. `POST /v1/api-keys`.
|
|
1223
1225
|
|
|
1224
|
-
Flags: `--name`, `--expires-in-days`, `--template-id`, `--api-version`, `--data`, `--each`, `--concurrency`.
|
|
1226
|
+
Flags: `--name`, `--expires-in-days`, `--template-id`, `--api-version`, `--read-only`, `--no-read-only`, `--data`, `--each`, `--concurrency`.
|
|
1225
1227
|
|
|
1226
1228
|
### kenso api-keys delete
|
|
1227
1229
|
|
|
@@ -1237,9 +1239,9 @@ Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
|
1237
1239
|
|
|
1238
1240
|
### kenso api-keys update
|
|
1239
1241
|
|
|
1240
|
-
|
|
1242
|
+
Rename one of the caller's keys, or change the API version it is pinned to. `PATCH /v1/api-keys/{apiKeyId}`.
|
|
1241
1243
|
|
|
1242
|
-
Flags: `--api-key-id` (required), `--api-version`, `--data`, `--each`, `--concurrency`.
|
|
1244
|
+
Flags: `--api-key-id` (required), `--api-version`, `--name`, `--data`, `--each`, `--concurrency`.
|
|
1243
1245
|
|
|
1244
1246
|
## apollo-lists
|
|
1245
1247
|
|
|
@@ -9245,6 +9247,14 @@ Update a stakeholder. Absent fields stay unchanged; null clears. `PATCH /v1/stak
|
|
|
9245
9247
|
|
|
9246
9248
|
Flags: `--stakeholder-id` (required), `--role`, `--priority`, `--coverage`, `--note`, `--reports-to-stakeholder-id`, `--ken-note`, `--overwrite-pinned`, `--no-overwrite-pinned`, `--data`, `--each`, `--concurrency`.
|
|
9247
9249
|
|
|
9250
|
+
## status
|
|
9251
|
+
|
|
9252
|
+
### kenso status get
|
|
9253
|
+
|
|
9254
|
+
Get Kenso's status. `GET /v1/status`.
|
|
9255
|
+
|
|
9256
|
+
Flags: `--each`, `--concurrency`.
|
|
9257
|
+
|
|
9248
9258
|
## studio
|
|
9249
9259
|
|
|
9250
9260
|
### kenso studio fill
|
|
@@ -10833,6 +10843,20 @@ Set the profile's default workspace. `GET /v1/workspaces/{workspaceId}`.
|
|
|
10833
10843
|
|
|
10834
10844
|
Arguments: `<workspaceId>`.
|
|
10835
10845
|
|
|
10846
|
+
## workspace-api-keys
|
|
10847
|
+
|
|
10848
|
+
### kenso workspace-api-keys delete
|
|
10849
|
+
|
|
10850
|
+
Revoke an API key that reaches the workspace. `DELETE /v1/workspace-api-keys/{apiKeyId}`. Beta: needs `workspace_api_keys`.
|
|
10851
|
+
|
|
10852
|
+
Flags: `--api-key-id` (required), `--each`, `--concurrency`.
|
|
10853
|
+
|
|
10854
|
+
### kenso workspace-api-keys list
|
|
10855
|
+
|
|
10856
|
+
List the API keys that reach the workspace. `GET /v1/workspace-api-keys`. Beta: needs `workspace_api_keys`.
|
|
10857
|
+
|
|
10858
|
+
Flags: `--each`, `--concurrency`.
|
|
10859
|
+
|
|
10836
10860
|
## workspace-data-deletions
|
|
10837
10861
|
|
|
10838
10862
|
### kenso workspace-data-deletions cancel
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.50",
|
|
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": "
|
|
52
|
+
"gitHead": "880168ff73ffec4e7e4d53a8952916d0a0553328"
|
|
53
53
|
}
|
package/skill/kenso-cli/SKILL.md
CHANGED
|
@@ -42,7 +42,7 @@ By hand in a chat: run `kenso work pull`, then give each work file to its own su
|
|
|
42
42
|
|
|
43
43
|
## Setup
|
|
44
44
|
|
|
45
|
-
`kenso` missing: `npm i -g kenso` (Node 22 or newer), or run a command as `npx -y kenso@latest <command>`. Then `kenso auth login` (the person approves in the browser) and `kenso doctor`. `kenso agent setup -y` installs this skill and the Kenso MCP server (`https://mcp.ken.so/mcp`) for the agent; the person signs in to the MCP once in the agent.
|
|
45
|
+
`kenso` missing: `curl -fsSL https://ken.so/install.sh | sh` (macOS or Linux, no Node needed) or `npm i -g kenso` (Node 22 or newer), or run a command as `npx -y kenso@latest <command>`. Then `kenso auth login` (the person approves in the browser) and `kenso doctor`. `kenso agent setup -y` installs this skill and the Kenso MCP server (`https://mcp.ken.so/mcp`) for the agent; the person signs in to the MCP once in the agent.
|
|
46
46
|
|
|
47
47
|
## No Kenso account yet
|
|
48
48
|
|