kenso 0.1.125 → 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/dist/kenso.js +24 -8
- package/dist/operations.index.json +1 -1
- package/dist/operations.json +1 -1
- package/docs/batch.md +7 -0
- package/docs/crm.md +3 -1
- package/docs/reference.md +3 -3
- package/package.json +2 -2
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
|
@@ -362,6 +362,8 @@ With the `record_notes` feature on, everyone who can see a record reads its note
|
|
|
362
362
|
|
|
363
363
|
```bash
|
|
364
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
|
|
365
367
|
kenso notes add --account 5 --body 'Budget approved, @[Jane Doe](41) please send the DPA'
|
|
366
368
|
kenso notes add --parent 900 --body 'Sent it this morning' # a comment under note 900
|
|
367
369
|
cat call-notes.md | kenso notes add --deal 77 --body - # the body from stdin
|
|
@@ -370,7 +372,7 @@ kenso notes edit 900 --pin
|
|
|
370
372
|
kenso notes delete 900 --yes # kenso notes restore --note-id 900 brings it back
|
|
371
373
|
```
|
|
372
374
|
|
|
373
|
-
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
|
|
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.
|
|
374
376
|
|
|
375
377
|
## Required fields per stage
|
|
376
378
|
|
package/docs/reference.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Kenso CLI command reference
|
|
2
2
|
|
|
3
|
-
Generated from kenso 0.1.
|
|
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
|
|
|
@@ -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,
|
|
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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
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": "
|
|
52
|
+
"gitHead": "9a980023ede4e6351392c830f7f446d0a44fbbf4"
|
|
53
53
|
}
|