kenso 0.1.124 → 0.1.127

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/batch.md CHANGED
@@ -148,6 +148,13 @@ accountId,stage,overwritePinned
148
148
 
149
149
  Each row is `ok` on a 2xx answer (with the created or returned id), `not_found` on 404, `failed` otherwise, or `invalid` when a required value is missing.
150
150
 
151
+ `--each` sends one request per row. Where the API has a bulk or batch route, call it once instead: `campaigns bulk-pause` and `campaigns bulk-resume` take up to 50 campaign ids and answer with one result per campaign, and `threads batch-messages` reads the messages of up to 50 email threads.
152
+
153
+ ```bash
154
+ kenso campaigns bulk-pause --data '{"ids": [812, 813, 814]}' --dry-run
155
+ kenso threads batch-messages --thread-ids thr_abc,thr_def
156
+ ```
157
+
151
158
  ## The token-saving pattern for agents
152
159
 
153
160
  1. Pass a file path, never the rows: `--file leads.csv`.
package/docs/crm.md CHANGED
@@ -335,12 +335,16 @@ kenso accounts merge 812 --into 77 --dry-run
335
335
  kenso accounts merge 812 --into 77 --yes
336
336
  kenso accounts merges list --merged-by system
337
337
  kenso accounts merges 41
338
+ kenso people merge 9 --into 7 --dry-run
339
+ kenso people merge 9 --into 7 --yes
338
340
  ```
339
341
 
340
342
  These need the `crm_import_export` flag beside `accounts`. `accounts duplicates` lists the pairs of accounts that look like one company: both accounts, why they were paired (`reasons`: `domain`, `linkedin`, `name`) and `isCertain`, true when the two share the name and the domain apart from its ending (acme.com and acme.co). `--scan` compares every account first; a scan also runs after each accounts import. `--status dismissed` or `merged` shows the answered pairs. `kenso account-duplicates dismiss --duplicate-id <duplicateId>` answers that a pair is not a duplicate, for good.
341
343
 
342
344
  `accounts merge <accountId> --into <id>` merges the first account into the second, the one you keep. A merge cannot be undone, so look first: `--dry-run` prints `mergeSummary` (each field that changes with its value before and after, and how many people, deals, touches and domains move) and writes nothing. The merge itself needs `--yes` when no person is at the terminal. It answers the kept account with the same summary and a `mergeId`.
343
345
 
346
+ `people merge <personId> --into <id>` merges the first person into the second, the one you keep, and needs only the `accounts` flag. The kept person keeps their own values and takes the other's for their blank fields, custom fields included; account places, deals, meetings, tasks, notes and captured email and meetings move to them. It cannot be undone either: `--dry-run` (which needs `crm_import_export`) prints the kept person with `mergeSummary`, the `fieldChanges` the merge would fill and `moved` (`accountCount`, `combinedAccountCount`, `opportunityCount`, `meetingCount`, `taskCount`, `noteCount`, `timelineEventCount`), and writes nothing. The merge itself needs `--yes` when no person is at the terminal. The same as the MCP's `people(operation="merge", dry_run=true)`.
347
+
344
348
  `accounts merges list` is the log, newest first, and `accounts merges <mergeId>` opens one merge with `mergedValues`: the merged-away account as it was. `--merged-by system` shows the merges Ken made itself. Where automatic merging is on for the workspace, Ken merges only certain pairs, keeps the customer, then the owned, then the last touched account, and leaves a pair for you when both are customers, the two have different owners, or one is being worked and the other is set aside (`heldReason` on the pair says which). That job is off unless it was turned on for the workspace.
345
349
 
346
350
  ## A deal's stage history
@@ -358,6 +362,8 @@ With the `record_notes` feature on, everyone who can see a record reads its note
358
362
 
359
363
  ```bash
360
364
  kenso notes list --account 5
365
+ kenso notes list --account 5 --related # with the notes on its deals and people
366
+ kenso notes list --parent 900 # every comment under note 900, oldest first
361
367
  kenso notes add --account 5 --body 'Budget approved, @[Jane Doe](41) please send the DPA'
362
368
  kenso notes add --parent 900 --body 'Sent it this morning' # a comment under note 900
363
369
  cat call-notes.md | kenso notes add --deal 77 --body - # the body from stdin
@@ -366,7 +372,7 @@ kenso notes edit 900 --pin
366
372
  kenso notes delete 900 --yes # kenso notes restore --note-id 900 brings it back
367
373
  ```
368
374
 
369
- The body is markdown, up to 20,000 characters. Mention a teammate as `@[Name](memberId)`: they get a notification that opens the note. A note shows on the record's Notes tab and its Activity timeline, and Ken's account brief quotes the account's notes. The MCP's `notes` tool does the same. A note on an account needs the accounts plan feature; people and deals work on every plan.
375
+ `notes list` prints each note with its first 50 comments; when `commentCount` is higher, `notes list --parent <noteId>` reads them all. The body is markdown, up to 20,000 characters. Mention a teammate as `@[Name](memberId)`: they get a notification that opens the note. A note shows on the record's Notes tab and its Activity timeline, and Ken's account brief quotes the notes on the account, its deals and its people (`notes list --account <id> --related` reads the same). The MCP's `notes` tool does the same. A note on an account needs the accounts plan feature; people and deals work on every plan.
370
376
 
371
377
  ## Required fields per stage
372
378
 
package/docs/reference.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.124 (API contracts 8df1a5320ac5) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.127 (API contracts 9bde77094547) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
5
  1902 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
 
@@ -1250,7 +1250,7 @@ Flags: `--base-id` (required), `--cursor`, `--limit`, `--all`, `--each`, `--conc
1250
1250
 
1251
1251
  Get campaign performance. `GET /v1/analytics/campaign-performance`.
1252
1252
 
1253
- Flags: `--campaign-id`, `--channel`, `--from`, `--group-by`, `--time-zone`, `--to`, `--each`, `--concurrency`.
1253
+ Flags: `--campaign-id`, `--channel`, `--from`, `--group-by`, `--time-zone`, `--to`, `--views`, `--each`, `--concurrency`.
1254
1254
 
1255
1255
  ### kenso analytics get-deliverability
1256
1256
 
@@ -8062,9 +8062,9 @@ Flags: `--note-id` (required), `--each`, `--concurrency`.
8062
8062
 
8063
8063
  ### kenso notes list
8064
8064
 
8065
- List the notes on an account, a person or a deal, pinned first, then newest. `GET /v1/notes`. Beta: needs `record_notes`.
8065
+ List the notes on an account, a person or a deal, or every comment under one note. `GET /v1/notes`. Beta: needs `record_notes`.
8066
8066
 
8067
- Flags: `--account`, `--deal`, `--person`.
8067
+ Flags: `--account`, `--deal`, `--parent`, `--person`, `--related`.
8068
8068
 
8069
8069
  ### kenso notes restore
8070
8070
 
@@ -8706,9 +8706,11 @@ Flags: `--mode`, `--person-ids`, `--each`, `--concurrency`.
8706
8706
 
8707
8707
  ### kenso people merge
8708
8708
 
8709
- Merge this person into another person. `POST /v1/people/{personId}/merge`. Beta: needs `accounts`.
8709
+ Merge a person into the one you keep. --dry-run shows what would move and writes nothing. `POST /v1/people/{personId}/merge`. Beta: needs `accounts`.
8710
8710
 
8711
- Flags: `--person-id` (required), `--into-person-id`, `--data`, `--each`, `--concurrency`.
8711
+ Arguments: `<personId>`.
8712
+
8713
+ Flags: `--into`, `--into-person-id`.
8712
8714
 
8713
8715
  ### kenso people replace-photo
8714
8716
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.124",
3
+ "version": "0.1.127",
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": "4e8bbcc4a79a7768ab0c5c5b2a1ae64381e29ed6"
52
+ "gitHead": "9a980023ede4e6351392c830f7f446d0a44fbbf4"
53
53
  }