kenso 0.1.65 → 0.1.67

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/crm.md CHANGED
@@ -9,6 +9,7 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
9
9
  | `accounts update --each`, `people update --each`, `opportunities update --each` | Edit many records from a file, one call per row |
10
10
  | `accounts write-research`, `people write-research` | Store research you gathered as a record's latest research, free. `--each` writes many |
11
11
  | `opportunities stage-history <id>` | A deal's stage history: each stage, when, who moved it and how long it sat there |
12
+ | `capture status` | Your captured mailbox, its backfill progress and what teammates see of a captured email. Needs the `crm_capture` flag |
12
13
  | `crm-connections`, `crm-imports`, `crm-sync-issues` | Read and run CRM sync. Connecting a CRM stays in the app |
13
14
 
14
15
  Import accounts first, then people: `people import` never creates an account.
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.65 (API contracts 0eb560f862fc) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.67 (API contracts 9e32ba6f7392) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1647 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
+ 1655 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
 
@@ -118,6 +118,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
118
118
  - [campaign-video-settings](#campaign-video-settings) (2)
119
119
  - [campaign-video-variables](#campaign-video-variables) (4)
120
120
  - [campaigns](#campaigns) (42)
121
+ - [capture](#capture) (2)
121
122
  - [checkout-sessions](#checkout-sessions) (1)
122
123
  - [checkpoints](#checkpoints) (2)
123
124
  - [claim-links](#claim-links) (1)
@@ -257,6 +258,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
257
258
  - [lists](#lists) (3)
258
259
  - [login](#login) (1)
259
260
  - [logout](#logout) (1)
261
+ - [logs](#logs) (1)
260
262
  - [lookup-badges](#lookup-badges) (1)
261
263
  - [lookups](#lookups) (1)
262
264
  - [loopster-companies](#loopster-companies) (1)
@@ -275,6 +277,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
275
277
  - [mcp-servers](#mcp-servers) (9)
276
278
  - [me](#me) (46)
277
279
  - [meeting-call-types](#meeting-call-types) (4)
280
+ - [meeting-chase-emails](#meeting-chase-emails) (4)
278
281
  - [meeting-notes](#meeting-notes) (4)
279
282
  - [meeting-public-links](#meeting-public-links) (3)
280
283
  - [meeting-recordings](#meeting-recordings) (1)
@@ -337,6 +340,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
337
340
  - [referral-codes](#referral-codes) (3)
338
341
  - [referral-redemptions](#referral-redemptions) (1)
339
342
  - [reply-templates](#reply-templates) (5)
343
+ - [reports](#reports) (1)
340
344
  - [revival-candidates](#revival-candidates) (1)
341
345
  - [revivals](#revivals) (2)
342
346
  - [role-candidates](#role-candidates) (6)
@@ -2947,6 +2951,18 @@ Update the campaign's agent work overrides. `PATCH /v1/campaigns/{campaignId}/ag
2947
2951
 
2948
2952
  Flags: `--campaign-id` (required), `--data`, `--each`, `--concurrency`.
2949
2953
 
2954
+ ## capture
2955
+
2956
+ ### kenso capture get
2957
+
2958
+ Read your captured mailbox and the workspace's capture setting. `GET /v1/capture`. Beta: needs `crm_capture`.
2959
+
2960
+ Flags: `--each`, `--concurrency`.
2961
+
2962
+ ### kenso capture status
2963
+
2964
+ Show your captured mailbox, its backfill progress and what teammates see of a captured email. `GET /v1/capture`. Beta: needs `crm_capture`.
2965
+
2950
2966
  ## checkout-sessions
2951
2967
 
2952
2968
  ### kenso checkout-sessions create
@@ -5915,6 +5931,14 @@ Remove a saved profile, and revoke the key browser login made. API operations: `
5915
5931
 
5916
5932
  Flags: `--keep-key`.
5917
5933
 
5934
+ ## logs
5935
+
5936
+ ### kenso logs tail
5937
+
5938
+ Stream your workspace's new API request log rows. `GET /v1/api-requests`.
5939
+
5940
+ Flags: `--interval`, `--key`, `--since`, `--status`.
5941
+
5918
5942
  ## lookup-badges
5919
5943
 
5920
5944
  ### kenso lookup-badges get
@@ -6455,6 +6479,32 @@ Update a call type. `PATCH /v1/meeting-call-types/{key}`. Beta: needs `meeting_c
6455
6479
 
6456
6480
  Flags: `--key` (required), `--name`, `--description`, `--enabled`, `--no-enabled`, `--data`, `--each`, `--concurrency`.
6457
6481
 
6482
+ ## meeting-chase-emails
6483
+
6484
+ ### kenso meeting-chase-emails approve
6485
+
6486
+ Approve a rebook-chase email. `POST /v1/meeting-chase-emails/{chaseEmailId}/approve`. Beta: needs `meeting_emails` and `meeting_rebook_chase`.
6487
+
6488
+ Flags: `--chase-email-id` (required), `--each`, `--concurrency`.
6489
+
6490
+ ### kenso meeting-chase-emails get
6491
+
6492
+ Return a rebook-chase email. `GET /v1/meeting-chase-emails/{chaseEmailId}`. Beta: needs `meeting_emails` and `meeting_rebook_chase`.
6493
+
6494
+ Flags: `--chase-email-id` (required), `--each`, `--concurrency`.
6495
+
6496
+ ### kenso meeting-chase-emails skip
6497
+
6498
+ Skip a rebook-chase email. `POST /v1/meeting-chase-emails/{chaseEmailId}/skip`. Beta: needs `meeting_emails` and `meeting_rebook_chase`.
6499
+
6500
+ Flags: `--chase-email-id` (required), `--each`, `--concurrency`.
6501
+
6502
+ ### kenso meeting-chase-emails update
6503
+
6504
+ Edit a rebook-chase email awaiting approval. `PATCH /v1/meeting-chase-emails/{chaseEmailId}`. Beta: needs `meeting_emails` and `meeting_rebook_chase`.
6505
+
6506
+ Flags: `--chase-email-id` (required), `--subject`, `--body`, `--data`, `--each`, `--concurrency`.
6507
+
6458
6508
  ## meeting-notes
6459
6509
 
6460
6510
  ### kenso meeting-notes create
@@ -8253,6 +8303,14 @@ Update a reply template. `PATCH /v1/reply-templates/{replyTemplateId}`.
8253
8303
 
8254
8304
  Flags: `--reply-template-id` (required), `--data`, `--each`, `--concurrency`.
8255
8305
 
8306
+ ## reports
8307
+
8308
+ ### kenso reports query
8309
+
8310
+ Run a report query: count or sum the workspace's opportunities, grouped by up to two fields. `POST /v1/reports/query`. Beta: needs `opportunities` and `reports`.
8311
+
8312
+ Flags: `--object`, `--order`, `--limit`, `--data`, `--each`, `--concurrency`.
8313
+
8256
8314
  ## revival-candidates
8257
8315
 
8258
8316
  ### kenso revival-candidates list
package/docs/webhooks.md CHANGED
@@ -84,3 +84,14 @@ To send a sample to a real, deployed endpoint instead, use `kenso webhook-endpoi
84
84
  ## Stopping
85
85
 
86
86
  Ctrl-C stops the listener. `listen` creates no webhook endpoint, no event subscription and no tunnel, so there is nothing to delete in Kenso. Its polls do keep the workspace's event log recording: the log stops on its own 7 days after the last poll. A poll that fails (a network error, a 5xx) prints a warning and is tried again a minute later; a bad key or a refused request ends the listener. It removes its local state file (the address `trigger` uses) on the way out.
87
+
88
+ ## Related: your API request logs
89
+
90
+ `kenso logs tail` follows the same polling pattern for your API calls: it prints each request made with a Kenso API key as it is logged, so you see a failed call as it happens.
91
+
92
+ ```bash
93
+ kenso logs tail --status 4xx,5xx --since 10m
94
+ kenso logs tail --key apk_3f9c -o json
95
+ ```
96
+
97
+ On a terminal each row is one line: time, `[status]`, method, path template, error code, duration, key id, request id. Piped, or with `-o json`, each row is one JSON object per line. A row is logged after its request finishes, so a slow request can print up to a minute out of order. Where request logs are not on for the workspace yet, it exits 4 with `Request logs are not on for this workspace yet.`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.65",
3
+ "version": "0.1.67",
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": "35d8e3366844185a8eafda5905d92e74a98a816c"
52
+ "gitHead": "cdab6a718b93d78df72df3cac24066e1455e1b9d"
53
53
  }
@@ -22,6 +22,7 @@ kenso studio push 12 --dir ./tpl # to preview local edits push first (draft; l
22
22
  kenso studio fill 12 --accounts ids.txt --dry-run # or --campaign 10546 --contacts leads.csv
23
23
  kenso opportunities update --each rows.csv --dry-run # any API command on a file of rows (CSV or JSONL; keys fill flags and body). One record: kenso campaigns update --campaign-id 812 --name Q4 --dry-run
24
24
  kenso mcp call list_skills # only to list Ken's skills
25
+ kenso logs tail --status 4xx,5xx --since 10m # stream the workspace's failed API calls, one line each; Ctrl-C stops (exit 4 = not on for the workspace yet)
25
26
  ```
26
27
 
27
28
  Charges: `accounts import` per new account, `studio fill` per page (again for ids from another file): show the estimate. `pinned_by_user`: with the person's OK, rerun with `--overwrite-pinned`. Workflows: `kenso workflows brief` first; secrets only as `{{secrets.NAME}}`. Key: `KENSO_API_KEY`, or pipe a variable, no check: `printf '%s' "$KEY" | kenso auth login --with-key`; never in a flag, output or file.