kenso 0.1.93 → 0.1.94

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
@@ -10,6 +10,7 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
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 move <id> --stage <key> [--reason <key>]` | Move a deal, with its won or lost reason; a field the stage asks for never stops it |
12
12
  | `opportunities stage-history <id>` | A deal's stage history: each stage, when, who moved it and how long it sat there |
13
+ | `notes list`, `notes add`, `notes edit`, `notes delete` | Notes and comments on accounts, people and deals (needs `record_notes`) |
13
14
  | `deleted-accounts list`, `accounts restore <id>` | The accounts deleted in the last 30 days, and bringing one back |
14
15
  | `export <accounts\|people\|deals>` | The list as CSV: everything, a saved Accounts view, or what the filters match |
15
16
  | `capture status` | Your captured mailbox, its backfill progress and what teammates see of a captured email. Needs the `crm_capture` flag |
@@ -236,6 +237,22 @@ kenso opportunities stage-history 77 --query "entries[].{to: stageLabel, at: ent
236
237
 
237
238
  It prints `GET /v1/opportunities/{id}/stage-history` as it is, the same rows as the deal page and the MCP's `opportunities(operation="get-stage-history")`: the stage now, `isComplete` and `entries`, oldest first, each with `fromStage`, `stage`, `stageLabel`, `enteredAt`, `leftAt`, `durationSeconds`, `actorKind`, `actorMemberId` and Ken's `reason` on a move its stage judge made. With the `deal_stage_rules` flag on, each entry also has `changedBy` (`member`, `agent`, `api_key`, `workflow`, `stage_judge`, `crm_sync` or `ken_automation`), `crmProvider` on a CRM sync, and on a move `fromStageLabel` and `fromStageDurationSeconds`, how long the deal sat in the stage it left. `isComplete` false means Kenso has no record of part of the history.
238
239
 
240
+ ## Notes on accounts, people and deals
241
+
242
+ With the `record_notes` feature on, everyone who can see a record reads its notes. Name the record with exactly one of `--account`, `--person` and `--deal`:
243
+
244
+ ```bash
245
+ kenso notes list --account 5
246
+ kenso notes add --account 5 --body 'Budget approved, @[Jane Doe](41) please send the DPA'
247
+ kenso notes add --parent 900 --body 'Sent it this morning' # a comment under note 900
248
+ cat call-notes.md | kenso notes add --deal 77 --body - # the body from stdin
249
+ kenso notes edit 900 --body 'Budget approved for Q1' # the author only
250
+ kenso notes edit 900 --pin
251
+ kenso notes delete 900 --yes # kenso notes restore 900 brings it back
252
+ ```
253
+
254
+ 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.
255
+
239
256
  ## Required fields per stage
240
257
 
241
258
  ```bash
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.93 (API contracts 3cbd0c9e1540) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.94 (API contracts 387c79f74424) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1758 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
+ 1762 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
 
@@ -285,6 +285,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
285
285
  - [mcp-server-presets](#mcp-server-presets) (1)
286
286
  - [mcp-servers](#mcp-servers) (9)
287
287
  - [me](#me) (47)
288
+ - [meeting-attribution-settings](#meeting-attribution-settings) (2)
288
289
  - [meeting-call-types](#meeting-call-types) (4)
289
290
  - [meeting-chase-emails](#meeting-chase-emails) (4)
290
291
  - [meeting-notes](#meeting-notes) (4)
@@ -306,7 +307,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
306
307
  - [model-configurations](#model-configurations) (5)
307
308
  - [model-training](#model-training) (2)
308
309
  - [native-transcript-sources](#native-transcript-sources) (1)
309
- - [notes](#notes) (6)
310
+ - [notes](#notes) (8)
310
311
  - [notetaker-devices](#notetaker-devices) (2)
311
312
  - [notetaker-score-rubric](#notetaker-score-rubric) (3)
312
313
  - [notetaker-sessions](#notetaker-sessions) (1)
@@ -6790,6 +6791,20 @@ Choose whether the caller's posts feed one of their workspaces. `PATCH /v1/me/wo
6790
6791
 
6791
6792
  Flags: `--workspace-id` (required), `--social-posts`, `--data`, `--each`, `--concurrency`.
6792
6793
 
6794
+ ## meeting-attribution-settings
6795
+
6796
+ ### kenso meeting-attribution-settings get
6797
+
6798
+ Get the meeting attribution settings. `GET /v1/meeting-attribution-settings`. Beta: needs `meeting_attribution`.
6799
+
6800
+ Flags: `--each`, `--concurrency`.
6801
+
6802
+ ### kenso meeting-attribution-settings update
6803
+
6804
+ Change the meeting attribution window. `PATCH /v1/meeting-attribution-settings`. Beta: needs `meeting_attribution`.
6805
+
6806
+ Flags: `--window-days`, `--data`, `--each`, `--concurrency`.
6807
+
6793
6808
  ## meeting-call-types
6794
6809
 
6795
6810
  ### kenso meeting-call-types create
@@ -7506,6 +7521,12 @@ Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
7506
7521
 
7507
7522
  ## notes
7508
7523
 
7524
+ ### kenso notes add
7525
+
7526
+ Write a note on an account, a person or a deal, or a comment under a note. `POST /v1/notes`. Beta: needs `record_notes`.
7527
+
7528
+ Flags: `--account`, `--body` (required), `--deal`, `--parent`, `--person`.
7529
+
7509
7530
  ### kenso notes create
7510
7531
 
7511
7532
  Write a note on an account, a person or a deal, or a comment under a note. `POST /v1/notes`. Beta: needs `record_notes`.
@@ -7514,9 +7535,17 @@ Flags: `--account-id`, `--person-id`, `--opportunity-id`, `--parent-note-id`, `-
7514
7535
 
7515
7536
  ### kenso notes delete
7516
7537
 
7517
- Delete a note or a comment. `DELETE /v1/notes/{noteId}`. Beta: needs `record_notes`.
7538
+ Delete a note or a comment (its author or a workspace admin). `DELETE /v1/notes/{noteId}`. Beta: needs `record_notes`.
7518
7539
 
7519
- Flags: `--note-id` (required), `--each`, `--concurrency`.
7540
+ Arguments: `<noteId>`.
7541
+
7542
+ ### kenso notes edit
7543
+
7544
+ Change a note's text, or pin or unpin it. `PATCH /v1/notes/{noteId}`. Beta: needs `record_notes`.
7545
+
7546
+ Arguments: `<noteId>`.
7547
+
7548
+ Flags: `--body`, `--pin`, `--unpin`.
7520
7549
 
7521
7550
  ### kenso notes get
7522
7551
 
@@ -7526,9 +7555,9 @@ Flags: `--note-id` (required), `--each`, `--concurrency`.
7526
7555
 
7527
7556
  ### kenso notes list
7528
7557
 
7529
- List the notes on an account, a person or a deal. `GET /v1/notes` (a list). Beta: needs `record_notes`.
7558
+ List the notes on an account, a person or a deal, pinned first, then newest. `GET /v1/notes`. Beta: needs `record_notes`.
7530
7559
 
7531
- Flags: `--account-id`, `--cursor`, `--limit`, `--opportunity-id`, `--person-id`, `--all`, `--each`, `--concurrency`.
7560
+ Flags: `--account`, `--deal`, `--person`.
7532
7561
 
7533
7562
  ### kenso notes restore
7534
7563
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.93",
3
+ "version": "0.1.94",
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": "26e43e541f32d26dec9eac03f742a787ed909bf4"
52
+ "gitHead": "e81d7c0e4fe05dafe1b46ced322c0f99f100850a"
53
53
  }