kenso 0.1.44 → 0.1.46

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
@@ -15,6 +15,23 @@ kenso --version
15
15
 
16
16
  To run it once without installing, use `npx kenso --version`.
17
17
 
18
+ ### Tab completion
19
+
20
+ Tab completes resources, actions and flags once you install the script for your shell. The script asks `kenso` for the candidates on each Tab, so it stays right as the CLI updates: install it once.
21
+
22
+ ```bash
23
+ # zsh: add this line to ~/.zshrc
24
+ source <(kenso completion zsh)
25
+ # bash: add this line to ~/.bashrc (on bash 3.2, the macOS default, use: eval "$(kenso completion bash)")
26
+ source <(kenso completion bash)
27
+ # fish: save the script once
28
+ kenso completion fish > ~/.config/fish/completions/kenso.fish
29
+ ```
30
+
31
+ ### Update notice
32
+
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.
34
+
18
35
  ## 60-second quickstart
19
36
 
20
37
  1. Create an API key in app.ken.so at Settings > Integrations > API keys.
package/docs/agents.md CHANGED
@@ -127,6 +127,7 @@ grep -E '^[0-9]+,(failed|not_found|invalid),' ~/.kenso/runs/r_tdi5cdnx/results.c
127
127
  | `KENSO_CONFIG_DIR` | Where the config file and cache live, default `~/.kenso` |
128
128
  | `KENSO_RUNS_DIR` | Where run folders live, default `<config dir>/runs` |
129
129
  | `KENSO_MCP_URL` | The MCP for `kenso mcp`, default `https://mcp.ken.so/mcp` |
130
+ | `KENSO_NO_UPDATE_NOTIFIER` | Set to `1` to turn off the weekly "a newer kenso is out" line on stderr. It never shows under a detected agent, in CI or when stderr is not a terminal |
130
131
 
131
132
  ## Cloud sandboxes
132
133
 
package/docs/auth.md CHANGED
@@ -97,9 +97,10 @@ kenso doctor
97
97
  ```bash
98
98
  kenso auth logout
99
99
  kenso auth logout --profile client-a
100
+ kenso auth logout --keep-key
100
101
  ```
101
102
 
102
- This removes the profile and its key from this machine. The key itself stays valid until you revoke it at Settings > Integrations > API keys.
103
+ This removes the profile and its key from this machine. When browser login made the key, logout revokes it first, so it stops working everywhere; `--keep-key` leaves it valid. If the revoke fails (no network, or the key was already revoked), logout warns and still removes the profile. A key you saved with `--with-key` was made by you in the app, so logout leaves it valid: revoke it at Settings > Integrations > API keys. The output adds `revoked: true` or `false`.
103
104
 
104
105
  ## Where things live
105
106
 
@@ -108,6 +109,7 @@ This removes the profile and its key from this machine. The key itself stays val
108
109
  | Config file with profiles and keys | `~/.kenso/config.json` | `KENSO_CONFIG_DIR` |
109
110
  | Run folders | `~/.kenso/runs/` | `KENSO_RUNS_DIR` |
110
111
  | Cached workspace features (1 hour) | `~/.kenso/cache/` | follows `KENSO_CONFIG_DIR` |
112
+ | Last update check (once every 7 days) | `~/.kenso/update-check.json` | follows `KENSO_CONFIG_DIR`; `KENSO_NO_UPDATE_NOTIFIER=1` turns the check off |
111
113
  | API | `https://api.ken.so` | `KENSO_API_URL` |
112
114
  | MCP (for `kenso mcp`) | `https://mcp.ken.so/mcp` | `KENSO_MCP_URL` |
113
115
 
package/docs/batch.md CHANGED
@@ -26,6 +26,8 @@ The dry run parses and checks every row, may call read-only endpoints (a campaig
26
26
 
27
27
  Every plan has `run`, `dryRun`, `command`, `rows`, `valid`, `invalid`, `chunks`, `chunkSize`, `next` (the exact command that applies it) and `plan` (the file), plus fields of its own command. It adds `invalidRows` when rows were refused, `chunksDone` when it continues an unfinished run, and `alreadyDone: true` when the apply would change nothing.
28
28
 
29
+ A file the CLI cannot read stops the run before anything is planned, with `file_unreadable` (exit 2), the line at fault and a hint: `leads.csv line 3: a quote is not closed.`, `leads.csv does not exist.`, `rows.jsonl line 7 is not valid JSON.`
30
+
29
31
  ## The summary
30
32
 
31
33
  An applied run prints one JSON object:
@@ -99,7 +99,7 @@ Two API codes change the exit code: `workspace_required` exits 2 with `"next":"k
99
99
  | `invalid_query` | 2 | `--query` is not valid JMESPath |
100
100
  | `confirmation_required` | 2 | A delete, archive or remove ran without `--yes` where nobody can confirm: nothing was sent; `next` adds `--yes` |
101
101
  | `cancelled` | 2 | A person answered no to the confirmation: nothing was sent |
102
- | `file_unreadable` | 2 | An input file is missing or cannot be parsed |
102
+ | `file_unreadable` | 2 | An input file is missing, is a folder, cannot be opened, or cannot be parsed; the message names the line, such as `leads.csv line 3: a quote is not closed.` |
103
103
  | `config_invalid` | 2 | `~/.kenso/config.json` is not valid JSON: fix or delete it |
104
104
  | `feature_not_enabled` | 2 | Every action of the resource is a beta command your workspace has not enabled |
105
105
  | `invalid_key_format`, `key_required` | 2 | `auth login --with-key` read something that is not a Kenso key, or stdin is a terminal instead of a pipe |
@@ -144,6 +144,7 @@ Skipped rows (duplicates, blocklisted, already contacted) are not failures: a ba
144
144
 
145
145
  - Command flags go after the command: `kenso contacts import --campaign 812`. Global flags can go anywhere.
146
146
  - A boolean flag takes `--flag`, `--no-flag`, `--flag=true` and `--flag=false`.
147
+ - A flag that carries a secret (`--password`, `--api-key`, `--api-secret`, any `--…-token` or `--…-secret`) also takes `-` (read stdin), `@file` (read the file) or `env:NAME` (read that environment variable), so the value stays out of shell history: `printf '%s' "$FATHOM_KEY" | kenso fathom-connection connect --api-key -`. A value typed on the command line still works and prints one warning. A typed secret that itself starts with `@` is written `@@` (`--password @@Spring2026` sends `@Spring2026`); one that is exactly `-` or starts with `env:` has to come through `@file` or `env:NAME`. `-` refuses a terminal, an empty value is refused, and only one flag can read stdin. `--dry-run` shows a secret as `***`. With `--each`, the plan, its `next` and the run record keep `@file` or `env:NAME` as typed and `kenso runs resume` reads it again; a secret from stdin is refused there.
147
148
  - `--help` on any command prints its flags, arguments and examples. `kenso describe <resource> <action>` prints the same as JSON, with the body schema.
148
149
 
149
150
  ## Beta commands
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.44 (API contracts 5dc7eaafef1a) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.46 (API contracts c303b6454699) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1605 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
+ 1616 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
 
@@ -128,6 +128,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
128
128
  - [committee-seats](#committee-seats) (1)
129
129
  - [companies](#companies) (2)
130
130
  - [company-data](#company-data) (1)
131
+ - [completion](#completion) (1)
131
132
  - [contact-behavior](#contact-behavior) (1)
132
133
  - [contact-exports](#contact-exports) (3)
133
134
  - [contact-fields](#contact-fields) (1)
@@ -269,6 +270,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
269
270
  - [mcp-server-presets](#mcp-server-presets) (1)
270
271
  - [mcp-servers](#mcp-servers) (9)
271
272
  - [me](#me) (46)
273
+ - [meeting-call-types](#meeting-call-types) (4)
272
274
  - [meeting-notes](#meeting-notes) (4)
273
275
  - [meeting-public-links](#meeting-public-links) (3)
274
276
  - [meeting-recordings](#meeting-recordings) (1)
@@ -277,7 +279,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
277
279
  - [meeting-shares](#meeting-shares) (3)
278
280
  - [meeting-types](#meeting-types) (6)
279
281
  - [meeting-workspace-share](#meeting-workspace-share) (2)
280
- - [meetings](#meetings) (26)
282
+ - [meetings](#meetings) (32)
281
283
  - [members](#members) (10)
282
284
  - [message-media](#message-media) (2)
283
285
  - [message-templates](#message-templates) (5)
@@ -1675,7 +1677,9 @@ Flags: `--device-name`, `--no-browser`, `--with-key`.
1675
1677
 
1676
1678
  ### kenso auth logout
1677
1679
 
1678
- Remove a saved profile and its key.
1680
+ Remove a saved profile, and revoke the key browser login made. API operations: `me.get`, `api-keys.delete`.
1681
+
1682
+ Flags: `--keep-key`.
1679
1683
 
1680
1684
  ### kenso auth status
1681
1685
 
@@ -3145,6 +3149,14 @@ Get company data by domain. `GET /v1/company-data`.
3145
3149
 
3146
3150
  Flags: `--domain`, `--kinds`, `--each`, `--concurrency`.
3147
3151
 
3152
+ ## completion
3153
+
3154
+ ### kenso completion
3155
+
3156
+ Print the tab-completion script for bash, zsh or fish.
3157
+
3158
+ Arguments: `<shell>`.
3159
+
3148
3160
  ## contact-behavior
3149
3161
 
3150
3162
  ### kenso contact-behavior get
@@ -5877,7 +5889,9 @@ Flags: `--device-name`, `--no-browser`, `--with-key`.
5877
5889
 
5878
5890
  ### kenso logout
5879
5891
 
5880
- Remove a saved profile and its key.
5892
+ Remove a saved profile, and revoke the key browser login made. API operations: `me.get`, `api-keys.delete`.
5893
+
5894
+ Flags: `--keep-key`.
5881
5895
 
5882
5896
  ## lookup-badges
5883
5897
 
@@ -6361,6 +6375,32 @@ Choose whether the caller's posts feed one of their workspaces. `PATCH /v1/me/wo
6361
6375
 
6362
6376
  Flags: `--workspace-id` (required), `--social-posts`, `--data`, `--each`, `--concurrency`.
6363
6377
 
6378
+ ## meeting-call-types
6379
+
6380
+ ### kenso meeting-call-types create
6381
+
6382
+ Create a call type. `POST /v1/meeting-call-types`. Beta: needs `meeting_call_types`.
6383
+
6384
+ Flags: `--name`, `--description`, `--data`, `--each`, `--concurrency`.
6385
+
6386
+ ### kenso meeting-call-types delete
6387
+
6388
+ Delete or reset a call type. `DELETE /v1/meeting-call-types/{key}`. Beta: needs `meeting_call_types`.
6389
+
6390
+ Flags: `--key` (required), `--each`, `--concurrency`.
6391
+
6392
+ ### kenso meeting-call-types list
6393
+
6394
+ List call types. `GET /v1/meeting-call-types`. Beta: needs `meeting_call_types`.
6395
+
6396
+ Flags: `--each`, `--concurrency`.
6397
+
6398
+ ### kenso meeting-call-types update
6399
+
6400
+ Update a call type. `PATCH /v1/meeting-call-types/{key}`. Beta: needs `meeting_call_types`.
6401
+
6402
+ Flags: `--key` (required), `--name`, `--description`, `--enabled`, `--no-enabled`, `--data`, `--each`, `--concurrency`.
6403
+
6364
6404
  ## meeting-notes
6365
6405
 
6366
6406
  ### kenso meeting-notes create
@@ -6559,6 +6599,12 @@ Add notes to the meeting: paste, upload, or pick a candidate call. `POST /v1/mee
6559
6599
 
6560
6600
  Flags: `--meeting-id` (required), `--each`, `--concurrency`.
6561
6601
 
6602
+ ### kenso meetings approve-follow-up-draft
6603
+
6604
+ Approve and send the meeting's follow-up draft. `POST /v1/meetings/{meetingId}/follow-up-draft/approve`. Beta: needs `meeting_call_types` and `meeting_follow_up` and `meetings`.
6605
+
6606
+ Flags: `--meeting-id` (required), `--each`, `--concurrency`.
6607
+
6562
6608
  ### kenso meetings create
6563
6609
 
6564
6610
  Create a quick note: a meeting with no calendar event and no account. `POST /v1/meetings`. Beta: needs `meetings`.
@@ -6613,6 +6659,12 @@ Return the meeting's follow-up touch. `GET /v1/meetings/{meetingId}/follow-up`.
6613
6659
 
6614
6660
  Flags: `--meeting-id` (required), `--each`, `--concurrency`.
6615
6661
 
6662
+ ### kenso meetings get-follow-up-draft
6663
+
6664
+ Return the meeting's follow-up draft. `GET /v1/meetings/{meetingId}/follow-up-draft`. Beta: needs `meeting_call_types` and `meeting_follow_up` and `meetings`.
6665
+
6666
+ Flags: `--meeting-id` (required), `--each`, `--concurrency`.
6667
+
6616
6668
  ### kenso meetings get-notes
6617
6669
 
6618
6670
  The meeting's call notes: Ken's live version, the template, and your own typed notes. `GET /v1/meetings/{meetingId}/notes`. Beta: needs `meetings`.
@@ -6655,6 +6707,18 @@ Add a meeting's next steps as tasks. `POST /v1/meetings/{meetingId}/next-step-ta
6655
6707
 
6656
6708
  Flags: `--meeting-id` (required), `--data`, `--each`, `--concurrency`.
6657
6709
 
6710
+ ### kenso meetings plan-follow-up-draft
6711
+
6712
+ Plan the meeting's follow-up draft now. `POST /v1/meetings/{meetingId}/follow-up-draft`. Beta: needs `meeting_call_types` and `meeting_follow_up` and `meetings`.
6713
+
6714
+ Flags: `--meeting-id` (required), `--call-type`, `--data`, `--each`, `--concurrency`.
6715
+
6716
+ ### kenso meetings redraft-follow-up-draft
6717
+
6718
+ Ask Ken to write the meeting's follow-up draft again. `POST /v1/meetings/{meetingId}/follow-up-draft/redraft`. Beta: needs `meeting_call_types` and `meeting_follow_up` and `meetings`.
6719
+
6720
+ Flags: `--meeting-id` (required), `--each`, `--concurrency`.
6721
+
6658
6722
  ### kenso meetings regenerate-notes
6659
6723
 
6660
6724
  Rewrite the meeting's notes in another template. `POST /v1/meetings/{meetingId}/notes/regenerate`. Beta: needs `notetaker`.
@@ -6691,12 +6755,24 @@ Score the call against the workspace's rubric. `POST /v1/meetings/{meetingId}/sc
6691
6755
 
6692
6756
  Flags: `--meeting-id` (required), `--each`, `--concurrency`.
6693
6757
 
6758
+ ### kenso meetings skip-follow-up-draft
6759
+
6760
+ Skip the meeting's follow-up draft. `POST /v1/meetings/{meetingId}/follow-up-draft/skip`. Beta: needs `meeting_call_types` and `meeting_follow_up` and `meetings`.
6761
+
6762
+ Flags: `--meeting-id` (required), `--each`, `--concurrency`.
6763
+
6694
6764
  ### kenso meetings update
6695
6765
 
6696
6766
  Move a meeting to another account, clear its account, make it private or shared, or choose whether the Kenso Notetaker bot joins. `PATCH /v1/meetings/{meetingId}`. Beta: needs `meetings`.
6697
6767
 
6698
6768
  Flags: `--meeting-id` (required), `--account-id`, `--is-private`, `--bot-mode`, `--no-is-private`, `--data`, `--each`, `--concurrency`.
6699
6769
 
6770
+ ### kenso meetings update-follow-up-draft
6771
+
6772
+ Edit the meeting's follow-up draft, or dismiss its proposed stage. `PATCH /v1/meetings/{meetingId}/follow-up-draft`. Beta: needs `meeting_call_types` and `meeting_follow_up` and `meetings`.
6773
+
6774
+ Flags: `--meeting-id` (required), `--subject`, `--body`, `--stage-decision`, `--data`, `--each`, `--concurrency`.
6775
+
6700
6776
  ### kenso meetings update-notes
6701
6777
 
6702
6778
  Save your own typed notes on the meeting, exactly as typed. `PATCH /v1/meetings/{meetingId}/notes`. Beta: needs `meetings`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.44",
3
+ "version": "0.1.46",
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",
@@ -11,7 +11,8 @@
11
11
  "dist/",
12
12
  "docs/",
13
13
  "skill/",
14
- "README.md"
14
+ "README.md",
15
+ "CHANGELOG.md"
15
16
  ],
16
17
  "engines": {
17
18
  "node": ">=22"
@@ -23,6 +24,10 @@
23
24
  "directory": "cli"
24
25
  },
25
26
  "homepage": "https://ken.so/cli",
27
+ "bugs": {
28
+ "url": "https://ken.so/contact",
29
+ "email": "contact@ken.so"
30
+ },
26
31
  "scripts": {
27
32
  "build": "node scripts/build.mjs",
28
33
  "typecheck": "tsc --noEmit",
@@ -44,5 +49,5 @@
44
49
  "typescript-eslint": "8.71.1",
45
50
  "vitest": "5.0.3"
46
51
  },
47
- "gitHead": "a64e2ca254ad9d9df0ab78c4c7ad17b8feb020c8"
52
+ "gitHead": "f82ddd5d01c3dd41169a0c2b2a6580534ae7d04c"
48
53
  }