kenso 0.1.106 → 0.1.108
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/README.md +1 -1
- package/dist/kenso.js +103 -24
- package/dist/operations.json +1 -1
- package/docs/crm.md +13 -1
- package/docs/reference.md +85 -7
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -22,6 +22,7 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
|
|
|
22
22
|
| `capture connect` | Turn capture on for your own mailbox. `--private` starts it hidden from teammates; `--provider google` prints a sign-in link when no account is connected yet |
|
|
23
23
|
| `capture private on\|off` | Hide your captured email from teammates, or show it again. Email only: meetings stay visible. `--thread <id>` sets the switch for one thread |
|
|
24
24
|
| `capture thread <threadId>` | One captured email thread: subject, people, time, Ken's summary, and each body you may open. The id is `capturedThread.id` on a timeline row |
|
|
25
|
+
| `views pin <viewId>`, `views unpin <viewId>` | Pin a saved view to your own sidebar, or take it off. Needs the `shared_views` flag |
|
|
25
26
|
| `capture sync` | Read your captured mailbox now, instead of waiting for the next two-minute poll. Prints what the pass read, logged and created |
|
|
26
27
|
| `capture disconnect` | Turn capture off and delete your stored email bodies. Asks first; `--yes` skips the question |
|
|
27
28
|
| `capture teammates-see summary\|full_email` | Workspace admin: what teammates see of captured email |
|
|
@@ -86,6 +87,8 @@ kenso accounts search --search hiring --sort latestSignalAt:desc --data '{"qFiel
|
|
|
86
87
|
kenso accounts search --limit 1 --data '{"countBy": ["stage"]}' # how many accounts sit in each stage
|
|
87
88
|
kenso accounts search --data '{"where": {"match": "all", "conditions": [{"field": "tier", "operator": "is", "values": ["1"]}]}, "sort": "tier,-pipelineAmount"}' --all
|
|
88
89
|
kenso accounts search --data '{"where": {"match": "all", "conditions": [{"field": "hqLocation", "operator": "contains", "values": ["Germany"]}]}}' --all
|
|
90
|
+
# my accounts with a meeting this quarter: me is whoever runs it, so a saved view with it lists each member's own
|
|
91
|
+
kenso accounts search --data '{"where": {"match": "all", "conditions": [{"field": "owner", "operator": "is", "values": ["me"]}, {"field": "lastMeeting", "operator": "in_period", "values": ["this_quarter"]}]}}' --all
|
|
89
92
|
# tier 1 accounts with no meeting in 30 days: none since then, or none ever
|
|
90
93
|
kenso accounts search --data '{"where": {"match": "all", "conditions": [{"field": "tier", "operator": "is", "values": ["1"]}, {"match": "any", "conditions": [{"field": "lastMeeting", "operator": "older_than_days", "values": ["30"]}, {"field": "lastMeeting", "operator": "is_empty"}]}]}}' --all
|
|
91
94
|
```
|
|
@@ -171,7 +174,7 @@ kenso opportunities search --data '{"filters": [{"field": "ownerMemberId", "oper
|
|
|
171
174
|
kenso opportunities search --limit 1 --data '{"countBy": ["stage", "ownerMemberId"]}' # how many opportunities hold each value
|
|
172
175
|
```
|
|
173
176
|
|
|
174
|
-
- **`filters`** is a list of `{field, operator, values}`, all of which must hold. Fields: `stage` (a stage key), `stageCategory` (`open`, `won`, `lost`), `ownerMemberId
|
|
177
|
+
- **`filters`** is a list of `{field, operator, values}`, all of which must hold. Fields: `stage` (a stage key), `stageCategory` (`open`, `won`, `lost`), `ownerMemberId` (member ids, or `me` for whoever runs it), `closeDate` (`past_due`, `next_30_days`, `later`, `none`, or a period such as `this_week` or `next_quarter`), `sourceCampaignId`, `closedAt` and `createdAt` (periods). `operator` is `is` or `is_not`; the values of one condition are OR. `none` in `values` matches an opportunity with no owner, no source campaign or no close date.
|
|
175
178
|
- **`countBy`** takes the same field names and adds `counts` to the output: per field, every value with the number of matching opportunities that hold it.
|
|
176
179
|
- `--account-id` keeps the search to one account. `closeDate` counts days in the member's app time zone.
|
|
177
180
|
|
|
@@ -404,6 +407,15 @@ With the `record_layout` flag on, a workspace lays out each record page once, fo
|
|
|
404
407
|
|
|
405
408
|
`set --header` pins up to 6 fields and keeps the rest of the saved layout; the fields it unpins go to the top of the first rail section. `set --data` saves a whole layout, so group the rail into sections or hide a section that way, starting from `show`. A save made after someone else's answers a conflict: show it again. `reset` puts the page back to Kenso's default. Saving needs the `workspace_settings` permission, and the account page also needs the `accounts` plan. The same as the MCP's `account_views` operations `record-layouts-get`, `record-layouts-replace` and `record-layouts-reset`.
|
|
406
409
|
|
|
410
|
+
## Pin a saved view
|
|
411
|
+
|
|
412
|
+
```bash
|
|
413
|
+
kenso views pin 118
|
|
414
|
+
kenso views unpin 118
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
With the `shared_views` flag on, `views pin` adds a saved view to your own sidebar, nested under its list (an account view under Accounts, a person view under People, a deal view under Deals). It is `kenso pins add --kind view --view-id <viewId>` under the name you would try: it prints the pin, and a view already pinned answers the pin it has. Pins are yours alone: pinning a shared view does not pin it for a teammate. `views unpin` finds your pin of the view and removes it, and prints `{"viewId": ..., "removed": true}`; a view you had not pinned prints `removed: false` and changes nothing. The view itself stays either way. `kenso pins list` shows every pin you have.
|
|
418
|
+
|
|
407
419
|
## Tasks
|
|
408
420
|
|
|
409
421
|
Tasks are to-dos a member owes: a title, an optional due day or time, an assignee and at most one account, person or deal. They need the `tasks` flag. The app calls deals "Deals"; the CLI keeps `--deal` for an opportunity id.
|
package/docs/reference.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Kenso CLI command reference
|
|
2
2
|
|
|
3
|
-
Generated from kenso 0.1.
|
|
3
|
+
Generated from kenso 0.1.108 (API contracts 73ef947fe6d2) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1878 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
|
|
|
@@ -66,6 +66,8 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
66
66
|
- [apollo-lists](#apollo-lists) (1)
|
|
67
67
|
- [approval-tests](#approval-tests) (6)
|
|
68
68
|
- [approvals](#approvals) (4)
|
|
69
|
+
- [appsumo-activations](#appsumo-activations) (1)
|
|
70
|
+
- [appsumo-license-claims](#appsumo-license-claims) (1)
|
|
69
71
|
- [asset-runs](#asset-runs) (4)
|
|
70
72
|
- [asset-template-datasets](#asset-template-datasets) (3)
|
|
71
73
|
- [asset-templates](#asset-templates) (17)
|
|
@@ -136,9 +138,9 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
136
138
|
- [cloud-files](#cloud-files) (2)
|
|
137
139
|
- [coaching-calls](#coaching-calls) (1)
|
|
138
140
|
- [coaching-objections](#coaching-objections) (2)
|
|
139
|
-
- [coaching-practice-sessions](#coaching-practice-sessions) (
|
|
141
|
+
- [coaching-practice-sessions](#coaching-practice-sessions) (6)
|
|
140
142
|
- [coaching-reviews](#coaching-reviews) (2)
|
|
141
|
-
- [coaching-scorecards](#coaching-scorecards) (
|
|
143
|
+
- [coaching-scorecards](#coaching-scorecards) (5)
|
|
142
144
|
- [coaching-weekly-notes](#coaching-weekly-notes) (3)
|
|
143
145
|
- [committee](#committee) (4)
|
|
144
146
|
- [committee-seats](#committee-seats) (1)
|
|
@@ -434,9 +436,9 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
434
436
|
- [task-queue](#task-queue) (1)
|
|
435
437
|
- [tasks](#tasks) (10)
|
|
436
438
|
- [teams-connection](#teams-connection) (5)
|
|
437
|
-
- [theme-mentions](#theme-mentions) (
|
|
439
|
+
- [theme-mentions](#theme-mentions) (3)
|
|
438
440
|
- [theme-suggestions](#theme-suggestions) (3)
|
|
439
|
-
- [themes](#themes) (
|
|
441
|
+
- [themes](#themes) (7)
|
|
440
442
|
- [threads](#threads) (18)
|
|
441
443
|
- [today](#today) (1)
|
|
442
444
|
- [today-items](#today-items) (1)
|
|
@@ -453,7 +455,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
453
455
|
- [usage](#usage) (1)
|
|
454
456
|
- [video-connections](#video-connections) (4)
|
|
455
457
|
- [video-provider-connections](#video-provider-connections) (8)
|
|
456
|
-
- [views](#views) (
|
|
458
|
+
- [views](#views) (8)
|
|
457
459
|
- [voice](#voice) (1)
|
|
458
460
|
- [voice-conversation-tickets](#voice-conversation-tickets) (1)
|
|
459
461
|
- [voice-conversations](#voice-conversations) (1)
|
|
@@ -1457,6 +1459,22 @@ List approvals. `GET /v1/approvals`. Beta: needs one of `accounts`, `linkedin_ai
|
|
|
1457
1459
|
|
|
1458
1460
|
Flags: `--account-id`, `--ids`, `--limit`, `--type`, `--each`, `--concurrency`.
|
|
1459
1461
|
|
|
1462
|
+
## appsumo-activations
|
|
1463
|
+
|
|
1464
|
+
### kenso appsumo-activations create
|
|
1465
|
+
|
|
1466
|
+
Read an AppSumo activation. `POST /v1/appsumo/activations`.
|
|
1467
|
+
|
|
1468
|
+
Flags: `--code`, `--data`, `--each`, `--concurrency`.
|
|
1469
|
+
|
|
1470
|
+
## appsumo-license-claims
|
|
1471
|
+
|
|
1472
|
+
### kenso appsumo-license-claims create
|
|
1473
|
+
|
|
1474
|
+
Claim an AppSumo license. `POST /v1/appsumo/license-claims`.
|
|
1475
|
+
|
|
1476
|
+
Flags: `--activation-token`, `--data`, `--each`, `--concurrency`.
|
|
1477
|
+
|
|
1460
1478
|
## asset-runs
|
|
1461
1479
|
|
|
1462
1480
|
### kenso asset-runs create
|
|
@@ -3405,18 +3423,42 @@ Flags: `--theme-id` (required), `--response-text`, `--data`, `--each`, `--concur
|
|
|
3405
3423
|
|
|
3406
3424
|
## coaching-practice-sessions
|
|
3407
3425
|
|
|
3426
|
+
### kenso coaching-practice-sessions complete
|
|
3427
|
+
|
|
3428
|
+
End your practice session and get its debrief. `POST /v1/coaching/practice-sessions/{sessionId}/complete`. Beta: needs `call_coaching`.
|
|
3429
|
+
|
|
3430
|
+
Flags: `--session-id` (required), `--connected-seconds`, `--data`, `--each`, `--concurrency`.
|
|
3431
|
+
|
|
3408
3432
|
### kenso coaching-practice-sessions create
|
|
3409
3433
|
|
|
3410
3434
|
Start a practice call with an AI buyer. `POST /v1/coaching/practice-sessions`. Beta: needs `call_coaching`.
|
|
3411
3435
|
|
|
3412
3436
|
Flags: `--account-id`, `--contact-id`, `--scenario`, `--difficulty`, `--mode`, `--data`, `--each`, `--concurrency`.
|
|
3413
3437
|
|
|
3438
|
+
### kenso coaching-practice-sessions get
|
|
3439
|
+
|
|
3440
|
+
Return one of your practice sessions, with its transcript and debrief. `GET /v1/coaching/practice-sessions/{sessionId}`. Beta: needs `call_coaching`.
|
|
3441
|
+
|
|
3442
|
+
Flags: `--session-id` (required), `--each`, `--concurrency`.
|
|
3443
|
+
|
|
3414
3444
|
### kenso coaching-practice-sessions issue-token
|
|
3415
3445
|
|
|
3416
3446
|
Get a short-lived token to open a voice practice call. `POST /v1/coaching/practice-sessions/{sessionId}/token`. Beta: needs `call_coaching`.
|
|
3417
3447
|
|
|
3418
3448
|
Flags: `--session-id` (required), `--each`, `--concurrency`.
|
|
3419
3449
|
|
|
3450
|
+
### kenso coaching-practice-sessions list
|
|
3451
|
+
|
|
3452
|
+
List practice sessions, newest first. `GET /v1/coaching/practice-sessions` (a list). Beta: needs `call_coaching`.
|
|
3453
|
+
|
|
3454
|
+
Flags: `--cursor`, `--limit`, `--user-id`, `--all`, `--each`, `--concurrency`.
|
|
3455
|
+
|
|
3456
|
+
### kenso coaching-practice-sessions send-turn
|
|
3457
|
+
|
|
3458
|
+
Send your next message in a text practice session and get the buyer's reply. `POST /v1/coaching/practice-sessions/{sessionId}/turns`. Beta: needs `call_coaching`.
|
|
3459
|
+
|
|
3460
|
+
Flags: `--session-id` (required), `--text`, `--data`, `--each`, `--concurrency`.
|
|
3461
|
+
|
|
3420
3462
|
## coaching-reviews
|
|
3421
3463
|
|
|
3422
3464
|
### kenso coaching-reviews create
|
|
@@ -3445,6 +3487,12 @@ Return one scorecard version. `GET /v1/coaching/scorecards/{scorecardId}`. Beta:
|
|
|
3445
3487
|
|
|
3446
3488
|
Flags: `--scorecard-id` (required), `--each`, `--concurrency`.
|
|
3447
3489
|
|
|
3490
|
+
### kenso coaching-scorecards publish
|
|
3491
|
+
|
|
3492
|
+
Publish the team's draft scorecard. `POST /v1/coaching/scorecards/{scorecardId}/publish`. Beta: needs `call_coaching`.
|
|
3493
|
+
|
|
3494
|
+
Flags: `--scorecard-id` (required), `--each`, `--concurrency`.
|
|
3495
|
+
|
|
3448
3496
|
### kenso coaching-scorecards summary
|
|
3449
3497
|
|
|
3450
3498
|
List the team's scorecards. `GET /v1/coaching/scorecards`. Beta: needs `call_coaching`.
|
|
@@ -10971,6 +11019,18 @@ Flags: `--destination`, `--approve-from-teams`, `--daily-brief-in-teams`, `--no-
|
|
|
10971
11019
|
|
|
10972
11020
|
## theme-mentions
|
|
10973
11021
|
|
|
11022
|
+
### kenso theme-mentions create
|
|
11023
|
+
|
|
11024
|
+
Add a quote Ken missed to a tracker. `POST /v1/theme-mentions`. Beta: needs `themes`.
|
|
11025
|
+
|
|
11026
|
+
Flags: `--theme-id`, `--message-id`, `--meeting-id`, `--quote`, `--transcript-ms`, `--data`, `--each`, `--concurrency`.
|
|
11027
|
+
|
|
11028
|
+
### kenso theme-mentions delete
|
|
11029
|
+
|
|
11030
|
+
"Not this": remove a tracker mention. `DELETE /v1/theme-mentions/{mentionId}`. Beta: needs `themes`.
|
|
11031
|
+
|
|
11032
|
+
Flags: `--mention-id` (required), `--each`, `--concurrency`.
|
|
11033
|
+
|
|
10974
11034
|
### kenso theme-mentions list
|
|
10975
11035
|
|
|
10976
11036
|
List the quotes Ken tied to the workspace's trackers. `GET /v1/theme-mentions` (a list). Beta: needs `themes`.
|
|
@@ -11023,6 +11083,12 @@ Get a tracker with its 90-day test. `GET /v1/themes/{themeId}`. Beta: needs `the
|
|
|
11023
11083
|
|
|
11024
11084
|
Flags: `--theme-id` (required), `--each`, `--concurrency`.
|
|
11025
11085
|
|
|
11086
|
+
### kenso themes list
|
|
11087
|
+
|
|
11088
|
+
List the workspace's trackers with their counts. `GET /v1/themes` (a list). Beta: needs `themes`.
|
|
11089
|
+
|
|
11090
|
+
Flags: `--campaign-id`, `--cursor`, `--from`, `--kind`, `--limit`, `--status`, `--to`, `--all`, `--each`, `--concurrency`.
|
|
11091
|
+
|
|
11026
11092
|
### kenso themes test
|
|
11027
11093
|
|
|
11028
11094
|
Run a draft tracker's 90-day test again. `POST /v1/themes/{themeId}/test`. Beta: needs `themes`.
|
|
@@ -11513,12 +11579,24 @@ List the views the calling member can see. `GET /v1/views` (a list). Beta: needs
|
|
|
11513
11579
|
|
|
11514
11580
|
Flags: `--cursor`, `--limit`, `--object`, `--all`, `--each`, `--concurrency`.
|
|
11515
11581
|
|
|
11582
|
+
### kenso views pin
|
|
11583
|
+
|
|
11584
|
+
Pin a saved view to your sidebar. `POST /v1/pins`. Beta: needs `shared_views`.
|
|
11585
|
+
|
|
11586
|
+
Arguments: `<viewId>`.
|
|
11587
|
+
|
|
11516
11588
|
### kenso views run
|
|
11517
11589
|
|
|
11518
11590
|
Run a view: its records, as its object's search returns them. `POST /v1/views/{viewId}/run`. Beta: needs `accounts` and `shared_views`.
|
|
11519
11591
|
|
|
11520
11592
|
Flags: `--view-id` (required), `--limit`, `--cursor`, `--include-total`, `--no-include-total`, `--data`, `--each`, `--concurrency`.
|
|
11521
11593
|
|
|
11594
|
+
### kenso views unpin
|
|
11595
|
+
|
|
11596
|
+
Unpin a saved view from your sidebar. API operations: `pins.list`, `pins.remove`. Beta: needs `shared_views`.
|
|
11597
|
+
|
|
11598
|
+
Arguments: `<viewId>`.
|
|
11599
|
+
|
|
11522
11600
|
### kenso views update
|
|
11523
11601
|
|
|
11524
11602
|
Change a view the calling member can see. Absent fields stay. `PATCH /v1/views/{viewId}`. Beta: needs `accounts` and `shared_views`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.108",
|
|
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": "9e7969dadded0a5d85295ab6fcacb5d81e171e3f"
|
|
53
53
|
}
|