kenso 0.1.45 → 0.1.47

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/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
 
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:
@@ -47,6 +47,8 @@ kenso me get --query "length(features)"
47
47
 
48
48
  A list command prints one page. When there are more, it prints the command for the next page on stderr, for example `next: kenso tags list --limit 1 --cursor MQ`. `--all` follows every page and streams the items. `--limit` sets the page size and `--cursor` starts at a cursor.
49
49
 
50
+ `accounts search`, `contacts search` and `people search` page the same way: one page with the `next:` command, or every page with `--all`. A search that asks for counts (`countBy` in `--data`) prints the whole answer instead: `data`, `pagination` and `counts`. Counts cover every match whatever the page, so ask for them on one page (`--limit 1`): `--all` with `countBy` is a usage error.
51
+
50
52
  ```bash
51
53
  kenso tags list --limit 50
52
54
  kenso tags list --all
@@ -99,7 +101,7 @@ Two API codes change the exit code: `workspace_required` exits 2 with `"next":"k
99
101
  | `invalid_query` | 2 | `--query` is not valid JMESPath |
100
102
  | `confirmation_required` | 2 | A delete, archive or remove ran without `--yes` where nobody can confirm: nothing was sent; `next` adds `--yes` |
101
103
  | `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 |
104
+ | `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
105
  | `config_invalid` | 2 | `~/.kenso/config.json` is not valid JSON: fix or delete it |
104
106
  | `feature_not_enabled` | 2 | Every action of the resource is a beta command your workspace has not enabled |
105
107
  | `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 +146,7 @@ Skipped rows (duplicates, blocklisted, already contacted) are not failures: a ba
144
146
 
145
147
  - Command flags go after the command: `kenso contacts import --campaign 812`. Global flags can go anywhere.
146
148
  - A boolean flag takes `--flag`, `--no-flag`, `--flag=true` and `--flag=false`.
149
+ - 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
150
  - `--help` on any command prints its flags, arguments and examples. `kenso describe <resource> <action>` prints the same as JSON, with the body schema.
148
151
 
149
152
  ## 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.45 (API contracts 7041a900bce1) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.47 (API contracts 205f64110590) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1606 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
 
@@ -270,6 +270,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
270
270
  - [mcp-server-presets](#mcp-server-presets) (1)
271
271
  - [mcp-servers](#mcp-servers) (9)
272
272
  - [me](#me) (46)
273
+ - [meeting-call-types](#meeting-call-types) (4)
273
274
  - [meeting-notes](#meeting-notes) (4)
274
275
  - [meeting-public-links](#meeting-public-links) (3)
275
276
  - [meeting-recordings](#meeting-recordings) (1)
@@ -278,7 +279,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
278
279
  - [meeting-shares](#meeting-shares) (3)
279
280
  - [meeting-types](#meeting-types) (6)
280
281
  - [meeting-workspace-share](#meeting-workspace-share) (2)
281
- - [meetings](#meetings) (26)
282
+ - [meetings](#meetings) (32)
282
283
  - [members](#members) (10)
283
284
  - [message-media](#message-media) (2)
284
285
  - [message-templates](#message-templates) (5)
@@ -714,9 +715,9 @@ Flags: `--account-id` (required), `--force`, `--no-force`, `--data`, `--each`, `
714
715
 
715
716
  ### kenso accounts search
716
717
 
717
- Search accounts in the current workspace with filter conditions and AND / OR groups. `POST /v1/accounts/search`. Beta: needs `accounts`.
718
+ Search accounts in the current workspace with filter conditions and AND / OR groups. `POST /v1/accounts/search` (a list). Beta: needs `accounts`.
718
719
 
719
- Flags: `--search`, `--sort`, `--limit`, `--cursor`, `--include-total`, `--time-zone`, `--include-import-only`, `--no-include-total`, `--no-include-import-only`, `--data`, `--each`, `--concurrency`.
720
+ Flags: `--search`, `--sort`, `--limit`, `--cursor`, `--include-total`, `--time-zone`, `--include-import-only`, `--no-include-total`, `--no-include-import-only`, `--data`, `--all`, `--each`, `--concurrency`.
720
721
 
721
722
  ### kenso accounts update
722
723
 
@@ -1676,7 +1677,9 @@ Flags: `--device-name`, `--no-browser`, `--with-key`.
1676
1677
 
1677
1678
  ### kenso auth logout
1678
1679
 
1679
- 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`.
1680
1683
 
1681
1684
  ### kenso auth status
1682
1685
 
@@ -3350,9 +3353,9 @@ Flags: `--concurrency`, `--ids`, `--out`, `--where`.
3350
3353
 
3351
3354
  ### kenso contacts search
3352
3355
 
3353
- Search contacts. `POST /v1/contacts/search`.
3356
+ Search contacts. `POST /v1/contacts/search` (a list).
3354
3357
 
3355
- Flags: `--company-id`, `--segment-id`, `--email`, `--search`, `--is-qualified`, `--do-not-contact`, `--created-after`, `--created-before`, `--ready-only`, `--awaiting-first-email`, `--sort`, `--direction`, `--limit`, `--cursor`, `--no-is-qualified`, `--no-do-not-contact`, `--no-ready-only`, `--no-awaiting-first-email`, `--data`, `--each`, `--concurrency`.
3358
+ Flags: `--company-id`, `--segment-id`, `--email`, `--search`, `--is-qualified`, `--do-not-contact`, `--created-after`, `--created-before`, `--ready-only`, `--awaiting-first-email`, `--sort`, `--direction`, `--limit`, `--cursor`, `--no-is-qualified`, `--no-do-not-contact`, `--no-ready-only`, `--no-awaiting-first-email`, `--data`, `--all`, `--each`, `--concurrency`.
3356
3359
 
3357
3360
  ### kenso contacts tag
3358
3361
 
@@ -5886,7 +5889,9 @@ Flags: `--device-name`, `--no-browser`, `--with-key`.
5886
5889
 
5887
5890
  ### kenso logout
5888
5891
 
5889
- 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`.
5890
5895
 
5891
5896
  ## lookup-badges
5892
5897
 
@@ -6370,6 +6375,32 @@ Choose whether the caller's posts feed one of their workspaces. `PATCH /v1/me/wo
6370
6375
 
6371
6376
  Flags: `--workspace-id` (required), `--social-posts`, `--data`, `--each`, `--concurrency`.
6372
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
+
6373
6404
  ## meeting-notes
6374
6405
 
6375
6406
  ### kenso meeting-notes create
@@ -6568,6 +6599,12 @@ Add notes to the meeting: paste, upload, or pick a candidate call. `POST /v1/mee
6568
6599
 
6569
6600
  Flags: `--meeting-id` (required), `--each`, `--concurrency`.
6570
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
+
6571
6608
  ### kenso meetings create
6572
6609
 
6573
6610
  Create a quick note: a meeting with no calendar event and no account. `POST /v1/meetings`. Beta: needs `meetings`.
@@ -6622,6 +6659,12 @@ Return the meeting's follow-up touch. `GET /v1/meetings/{meetingId}/follow-up`.
6622
6659
 
6623
6660
  Flags: `--meeting-id` (required), `--each`, `--concurrency`.
6624
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
+
6625
6668
  ### kenso meetings get-notes
6626
6669
 
6627
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`.
@@ -6664,6 +6707,18 @@ Add a meeting's next steps as tasks. `POST /v1/meetings/{meetingId}/next-step-ta
6664
6707
 
6665
6708
  Flags: `--meeting-id` (required), `--data`, `--each`, `--concurrency`.
6666
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
+
6667
6722
  ### kenso meetings regenerate-notes
6668
6723
 
6669
6724
  Rewrite the meeting's notes in another template. `POST /v1/meetings/{meetingId}/notes/regenerate`. Beta: needs `notetaker`.
@@ -6700,12 +6755,24 @@ Score the call against the workspace's rubric. `POST /v1/meetings/{meetingId}/sc
6700
6755
 
6701
6756
  Flags: `--meeting-id` (required), `--each`, `--concurrency`.
6702
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
+
6703
6764
  ### kenso meetings update
6704
6765
 
6705
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`.
6706
6767
 
6707
6768
  Flags: `--meeting-id` (required), `--account-id`, `--is-private`, `--bot-mode`, `--no-is-private`, `--data`, `--each`, `--concurrency`.
6708
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
+
6709
6776
  ### kenso meetings update-notes
6710
6777
 
6711
6778
  Save your own typed notes on the meeting, exactly as typed. `PATCH /v1/meetings/{meetingId}/notes`. Beta: needs `meetings`.
@@ -7546,9 +7613,9 @@ Flags: `--person-id` (required), `--mode`, `--data`, `--each`, `--concurrency`.
7546
7613
 
7547
7614
  ### kenso people search
7548
7615
 
7549
- Search people in the current workspace with filters. `POST /v1/people/search`. Beta: needs `accounts`.
7616
+ Search people in the current workspace with filters. `POST /v1/people/search` (a list). Beta: needs `accounts`.
7550
7617
 
7551
- Flags: `--search`, `--on-account`, `--has-email`, `--owner-member-id`, `--has-suggestion`, `--include-import-only`, `--location`, `--sort`, `--limit`, `--cursor`, `--include-total`, `--no-has-email`, `--no-has-suggestion`, `--no-include-import-only`, `--no-include-total`, `--data`, `--each`, `--concurrency`.
7618
+ Flags: `--search`, `--on-account`, `--has-email`, `--owner-member-id`, `--has-suggestion`, `--include-import-only`, `--location`, `--sort`, `--limit`, `--cursor`, `--include-total`, `--no-has-email`, `--no-has-suggestion`, `--no-include-import-only`, `--no-include-total`, `--data`, `--all`, `--each`, `--concurrency`.
7552
7619
 
7553
7620
  ### kenso people set-instagram
7554
7621
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.45",
3
+ "version": "0.1.47",
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": "2edc46b9cf547808aa45b16272905acf49d1bf41"
52
+ "gitHead": "ffa6b5a7a6309323573909de488ee8280036aac4"
53
53
  }