kenso 0.1.172 → 0.1.174

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
@@ -55,7 +55,7 @@ When a newer version is out, `kenso` says so on stderr after the command's own o
55
55
 
56
56
  ## 60-second quickstart
57
57
 
58
- 1. Create an API key in app.ken.so at Settings > Integrations > API keys.
58
+ 1. Create an API key in app.ken.so at Settings > API keys.
59
59
  2. Save the key, pick a workspace, then plan and apply a CSV import:
60
60
 
61
61
  ```bash
package/docs/auth.md CHANGED
@@ -6,7 +6,7 @@ The CLI calls the Kenso API with a Kenso API key (`kenso_live_` plus 49 characte
6
6
 
7
7
  ## Log in with an API key
8
8
 
9
- 1. In app.ken.so, go to Settings > Integrations > API keys and create a key.
9
+ 1. In app.ken.so, go to Settings > API keys and create a key.
10
10
  2. Pipe it to `kenso auth login --with-key`. The key is read from stdin, never from a flag, so it stays out of your shell history and process list.
11
11
 
12
12
  ```bash
@@ -35,7 +35,7 @@ Browser login is available to every workspace. The CLI prints a link and a code
35
35
  {"profile":"default","email":"you@acme.io","workspaceId":"1234","keyExpiresAt":"2027-02-02T06:26:59Z"}
36
36
  ```
37
37
 
38
- The key is the same kind you create in the app. It is named `Kenso CLI - <device name>` (`--device-name`, else `kenso-cli on <hostname>`), lasts 90 days, and shows in your API key list at Settings > Integrations > API keys, where you can revoke it. The CLI opens the browser itself only when no coding agent is detected and the machine has a display. An agent prints the link and asks you to open it. The login expires after 10 minutes (`login_expired`, exit 3), and a denied login exits 3 with `access_denied`. If the API answers that browser login is off (`browser_login_unavailable`, exit 3, `"next":"kenso auth login --with-key"`), log in with an API key as above.
38
+ The key is the same kind you create in the app. It is named `Kenso CLI - <device name>` (`--device-name`, else `kenso-cli on <hostname>`), lasts 90 days, and shows in your API key list at Settings > API keys, where you can revoke it. The CLI opens the browser itself only when no coding agent is detected and the machine has a display. An agent prints the link and asks you to open it. The login expires after 10 minutes (`login_expired`, exit 3), and a denied login exits 3 with `access_denied`. If the API answers that browser login is off (`browser_login_unavailable`, exit 3, `"next":"kenso auth login --with-key"`), log in with an API key as above.
39
39
 
40
40
  ## Hand a login to a person (agents)
41
41
 
@@ -153,7 +153,7 @@ kenso auth logout --profile client-a
153
153
  kenso auth logout --keep-key
154
154
  ```
155
155
 
156
- 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`.
156
+ 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 > API keys. The output adds `revoked: true` or `false`.
157
157
 
158
158
  ## Where things live
159
159
 
package/docs/crm.md CHANGED
@@ -312,13 +312,13 @@ kenso record-import-rows list --import-id 42 --outcome skipped
312
312
  kenso record-imports undo --import-id 42
313
313
  ```
314
314
 
315
- `kenso import accounts <file.csv>` uploads the file (a header row, at most 50,000 rows) and prints Kenso's plan: which field each column fills, which columns it skips, how owner and stage values are read (`valueMaps`) and what it could not settle (`questions`). Headers of Kenso, Twenty, HubSpot, Attio and Salesforce exports are recognized. Nothing is written to your accounts yet. `--map "Header=field"` changes a column and `--map "Header="` skips it. A column fills a custom field with `--map "Header=custom.<key>"` (`kenso fields list --object account` has the keys; people are `person`, deals `opportunity`), and `--map "Header=new"` adds the custom field Kenso proposes for a column no field matches (`new:text` picks the type), and a column whose header is a custom field's label is mapped to it already; owner and stage values change with `kenso record-imports update --import-id <id>`.
315
+ `kenso import accounts <file.csv>` uploads the file (a header row, at most 50,000 rows) and prints Kenso's plan: which field each column fills, which columns it skips, how owner and stage values are read (`valueMaps`) and what it could not settle (`questions`). Headers of Kenso, Twenty, HubSpot, Attio and Salesforce exports are recognized. `matches` says how many rows will fill a record the workspace already holds (`existing`: a match by the run's own keys, a restore of an account deleted in the last 30 days, or a row that repeats a record an earlier row creates) and how many will create one (`new`); a row the import would skip is in neither. It is counted when the plan is made and again when a change moves a column that decides matching or `--source`, so the workspace can still change before the start; it is left out when Kenso could not count. Nothing is written to your accounts yet. `--map "Header=field"` changes a column and `--map "Header="` skips it. A column fills a custom field with `--map "Header=custom.<key>"` (`kenso fields list --object account` has the keys; people are `person`, deals `opportunity`), and `--map "Header=new"` adds the custom field Kenso proposes for a column no field matches (`new:text` picks the type), and a column whose header is a custom field's label is mapped to it already; owner and stage values change with `kenso record-imports update --import-id <id>`.
316
316
 
317
317
  With `--yes` the import starts and the command waits for it (`--timeout`, default 30m; the import keeps running on the server either way), then prints how many rows were created, updated, restored, left unchanged and skipped. Without `--yes` it stops at the plan and prints the command that starts that import (`--id <importId> --yes`), so the file is uploaded once. `--dry-run` sends nothing: with a file it prints the upload it would make, since the plan needs the upload, and with `--id` it reads the planned import and prints what `--map`, `--source` and `--research` would change on it. `--source twenty` names the system the file's record ids come from: pass the same one for every file of an export, so the people and deals files find the accounts by their old ids. `kenso record-imports delete --import-id <id>` discards an import that was planned and never started; one left planned for 30 days is discarded by itself.
318
318
 
319
319
  Per row: a domain no account has creates an account; a domain that is already an account fills only that account's empty fields, so nothing you entered is overwritten; an account deleted in the last 30 days is restored; a row with no usable domain is skipped, and `kenso record-import-rows list --import-id <id> --outcome skipped` says why. Research of new accounts is off unless you pass `--research`, which is charged per account. It needs the `accounts` and `crm_import_export` flags. This is a different command from `accounts import`, which creates accounts row by row from the machine running the CLI.
320
320
 
321
- `kenso record-imports undo --import-id <id>` takes a finished import back in the background (`kenso record-imports get --import-id <id>` reads `undoing`, then `undone`): an account the import created is deleted, and can be restored for 30 days, unless someone changed it since, it holds a deal, a person was added to it since, or it was merged; a field the import filled is emptied while it still holds the imported value. `kenso record-import-rows list --import-id <id>` shows each row's `undoOutcome`.
321
+ `kenso record-imports undo --import-id <id>` takes a finished import back in the background (`kenso record-imports get --import-id <id>` reads `undoing`, then `undone`): an account the import created is deleted, and can be restored for 30 days, unless someone changed it since, it holds a deal, a person was added to it since, or it was merged; a field the import filled is emptied while it still holds the imported value. `kenso record-import-rows list --import-id <id>` shows each row's `undoOutcome`, and on a kept row its `undoReason`: `no_record`, `merged`, `changed_since` (a member, an API key or an agent worked it after the import), `has_deals`, `has_people` (a person was added to the account since), `on_other_accounts` (a person on an account the row did not place them on), `place_worked` (a touch or a member's write on a place the row gave the person), `deleted_since`, `fields_changed_since` (every field the row filled holds another value now), `delete_refused` or `undo_failed` (the undo failed on the row three times).
322
322
 
323
323
  `kenso import people <file.csv>` works the same way for people. Import the accounts file first: a people row's company id (Twenty's `Company Id`, HubSpot's associated company id) places the person on the account that kept that id, and without one the person goes on the account that holds their email's or company's domain. A people import never creates an account; a person whose company is no account comes in without one and the row says so. A row matches a person by email, then LinkedIn URL, then name on the company, as every other way into People does; a matched person gets only their empty fields filled (a phone only when they have none). A row with none of the three is skipped, and a row with only a name needs a company that is an account with a domain. `kenso record-imports undo --import-id <id>` takes a people import back too: a person it created leaves the accounts the row placed them on and is deleted, unless someone changed them since, they were contacted or have a touch planned, or they are on an open deal; a field it filled is emptied while it still holds the imported value. `kenso people import` stays the JSONL and enrichment path (`--find-emails`); `kenso import people` is the CRM file with a plan, a row report and one approval.
324
324
 
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.172 (API contracts 5fd69c546ee7) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.174 (API contracts 0976b5e9174e) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1997 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
+ 1998 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
 
@@ -185,7 +185,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
185
185
  - [dashboards](#dashboards) (8)
186
186
  - [data-retention](#data-retention) (2)
187
187
  - [deal-room-answers](#deal-room-answers) (4)
188
- - [deal-room-buyer-inputs](#deal-room-buyer-inputs) (9)
188
+ - [deal-room-buyer-inputs](#deal-room-buyer-inputs) (10)
189
189
  - [deal-room-content](#deal-room-content) (13)
190
190
  - [deal-rooms](#deal-rooms) (13)
191
191
  - [deleted-accounts](#deleted-accounts) (1)
@@ -4383,7 +4383,7 @@ Flags: `--answer-id` (required), `--question`, `--answer`, `--data`, `--each`, `
4383
4383
 
4384
4384
  Add the approver a buyer wants the offer sent to. `POST /v1/deal-rooms/{dealRoomId}/buyer-inputs/approvers`. Beta: needs `deal_room`.
4385
4385
 
4386
- Flags: `--deal-room-id` (required), `--person-id`, `--email`, `--name`, `--title`, `--data`, `--each`, `--concurrency`.
4386
+ Flags: `--deal-room-id` (required), `--person-id`, `--email`, `--name`, `--title`, `--note`, `--data`, `--each`, `--concurrency`.
4387
4387
 
4388
4388
  ### kenso deal-room-buyer-inputs record-question
4389
4389
 
@@ -4433,6 +4433,12 @@ Record how a buyer wants held meetings confirmed. `PUT /v1/deal-rooms/{dealRoomI
4433
4433
 
4434
4434
  Flags: `--deal-room-id` (required), `--person-id`, `--choice`, `--crm`, `--data`, `--each`, `--concurrency`.
4435
4435
 
4436
+ ### kenso deal-room-buyer-inputs withdraw-extra
4437
+
4438
+ Record that a buyer took back an extras request. `DELETE /v1/deal-rooms/{dealRoomId}/buyer-inputs/extras/{extraId}/request`. Beta: needs `deal_room`.
4439
+
4440
+ Flags: `--deal-room-id` (required), `--extra-id` (required), `--person-id`, `--each`, `--concurrency`.
4441
+
4436
4442
  ## deal-room-content
4437
4443
 
4438
4444
  ### kenso deal-room-content approve-quote
@@ -4445,7 +4451,7 @@ Flags: `--deal-room-id` (required), `--if-updated-at`, `--data`, `--each`, `--co
4445
4451
 
4446
4452
  Confirm the signing details the buyer entered. `POST /v1/deal-rooms/{dealRoomId}/signing-details/confirm`. Beta: needs `deal_room`.
4447
4453
 
4448
- Flags: `--deal-room-id` (required), `--each`, `--concurrency`.
4454
+ Flags: `--deal-room-id` (required), `--set-at`, `--data`, `--each`, `--concurrency`.
4449
4455
 
4450
4456
  ### kenso deal-room-content decide-request
4451
4457
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.172",
3
+ "version": "0.1.174",
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": "e0f50d17db599d717be98a4187b7a7d6c1081ad4"
52
+ "gitHead": "550b1ef078688f018ccd9d77252899fa3f15d24e"
53
53
  }
@@ -49,4 +49,4 @@ By hand in a chat: run `kenso work pull`, then give each work file to its own su
49
49
 
50
50
  ## No Kenso account yet
51
51
 
52
- The CLI signs in with a Kenso API key. If the user has no Kenso account, send them to https://app.ken.so/get-started to create one, then create a key in Kenso at Settings > Integrations > API keys.
52
+ The CLI signs in with a Kenso API key. If the user has no Kenso account, send them to https://app.ken.so/get-started to create one, then create a key in Kenso at Settings > API keys.
@@ -28,7 +28,8 @@
28
28
  "42fa3f163ab9aa70260040b443830c57dc7926e935a557c40896038e8817b088",
29
29
  "b34e186f56f36b509bffa0dea2ee78b09e91654b90a659d6665563df4fa88f76",
30
30
  "df7d86e0af12727cf15cf0620f26ef4fe9aac63f0180f3594e4d357cf14b40d2",
31
- "812bb97591cefa7eb23596105ce63dfd382c0bd4c68e8b5d179775e9b72e927a"
31
+ "812bb97591cefa7eb23596105ce63dfd382c0bd4c68e8b5d179775e9b72e927a",
32
+ "d1319079d2ec55423764e214c7ab833c076da223b0880081c190d9adc677b1d1"
32
33
  ],
33
34
  "kenso": [
34
35
  "6fb333a826726d51ba2ea3927745f843343490c8aa9098e5da682d24172323f7",