kenso 0.1.83 → 0.1.85
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/CHANGELOG.md +4 -0
- package/dist/kenso.js +248 -81
- package/dist/operations.json +1 -1
- package/docs/crm.md +31 -0
- package/docs/reference.md +71 -4
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -18,6 +18,7 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
|
|
|
18
18
|
| `capture teammates-see summary\|full_email` | Workspace admin: what teammates see of captured email |
|
|
19
19
|
| `pipelines stage-rules` | List or set the fields a deal should have in each stage |
|
|
20
20
|
| `crm-connections`, `crm-imports`, `crm-sync-issues` | Read and run CRM sync. Connecting a CRM stays in the app |
|
|
21
|
+
| `tasks add`, `tasks done`, `tasks assign` | Add a to-do for a member on an account, person or deal, complete it, or hand it on (needs `tasks`) |
|
|
21
22
|
|
|
22
23
|
Import accounts first, then people: `people import` never creates an account.
|
|
23
24
|
|
|
@@ -177,6 +178,18 @@ kenso crm-sync-issues list --connection-id 7 --all
|
|
|
177
178
|
|
|
178
179
|
Run `kenso crm-connections --help` (or add `--all-commands` when the actions are hidden) to see every action.
|
|
179
180
|
|
|
181
|
+
## Pipelines
|
|
182
|
+
|
|
183
|
+
A workspace with the `pipelines` flag on can run several deal pipelines, each with its own stages. These are generated commands (beta):
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
kenso pipelines list
|
|
187
|
+
kenso pipelines list --query "[].{id: id, name: name, default: isDefault, stages: stages[].key}"
|
|
188
|
+
kenso pipelines get --pipeline-id 5
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
`list` prints every pipeline in display order, archived ones included: `id`, `name`, `routingRule` (the one sentence Ken reads to decide whether a new deal belongs there), `isDefault`, `isArchived`, `position`, `opportunityCount`, `amountTotal` and `stages`, each stage as `kenso opportunity-stages list` prints it. A stage key is unique in the workspace, across pipelines, so a deal's `stage` names its pipeline and its `pipelineId` repeats it. The first read turns the workspace's stage list into its default pipeline, named Sales, with every deal in it. The same rows as the MCP's `pipelines(operation="list")`.
|
|
192
|
+
|
|
180
193
|
## Restore a deleted account
|
|
181
194
|
|
|
182
195
|
```bash
|
|
@@ -217,3 +230,21 @@ kenso pipelines stage-rules lost --default
|
|
|
217
230
|
With the `deal_stage_rules` flag on, each stage can name the fields a deal should have in it. Without a stage the command prints every stage's `key`, `label`, `category`, `isArchived`, `requiredFields` and `isDefault`, plus `requirableFields`: `amount`, `closeDate`, `ownerMemberId`, `primaryPersonId`, `nextStep`, `lostReasonKey`, `wonReasonKey` and `custom.<key>` for each custom deal field. `--require` sets the stage's whole list, in order, at most 10. `--none` requires nothing, and `--default` goes back to the default: a lost stage asks for `lostReasonKey`, any other stage nothing. Setting a rule needs the `workspace_settings` permission. The same as the MCP's `opportunities(operation="stages-set-required-fields")`.
|
|
218
231
|
|
|
219
232
|
A missing field never stops a move. The deal moves, and it is flagged Missing on the board, the list and the deal page until the field is filled. A rule also applies to deals already in the stage.
|
|
233
|
+
|
|
234
|
+
## Tasks
|
|
235
|
+
|
|
236
|
+
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.
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
kenso tasks add "Send the deck" --due 2026-11-20 --account 812
|
|
240
|
+
kenso tasks add "Call Ada back" --due 2026-11-18T16:00:00Z --person 501 --assignee 42
|
|
241
|
+
kenso tasks list --assignee me --due overdue,today
|
|
242
|
+
kenso task-queue list --scope mine
|
|
243
|
+
kenso tasks assign 7 42
|
|
244
|
+
kenso tasks done 7
|
|
245
|
+
kenso tasks done 7 --undo
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
- `tasks add` sends `POST /v1/tasks`. Without `--assignee` the task is yours. A `--due` time's day is read in the assignee's app time zone.
|
|
249
|
+
- `tasks done` completes the task (`PATCH /v1/tasks/{id}` with `status: done`), `--undo` reopens it. `tasks assign` gives it to another member, who gets a `task_assigned` notification.
|
|
250
|
+
- `tasks list`, `get`, `update`, `delete`, `restore` and `task-queue list` are generated from the API: `kenso tasks --help` lists them. `task-queue list` is the Tasks screen's open work: tasks, manual touches and call tasks, by due day.
|
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.85 (API contracts 913a025830d9) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1710 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
|
|
|
@@ -327,7 +327,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
327
327
|
- [permission-templates](#permission-templates) (5)
|
|
328
328
|
- [person-behavior](#person-behavior) (1)
|
|
329
329
|
- [person-facebook](#person-facebook) (4)
|
|
330
|
-
- [pipelines](#pipelines) (
|
|
330
|
+
- [pipelines](#pipelines) (3)
|
|
331
331
|
- [placement-seed-sharing](#placement-seed-sharing) (2)
|
|
332
332
|
- [placement-tests](#placement-tests) (4)
|
|
333
333
|
- [portal-sessions](#portal-sessions) (1)
|
|
@@ -396,7 +396,8 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
396
396
|
- [support-attachments](#support-attachments) (3)
|
|
397
397
|
- [sync](#sync) (4)
|
|
398
398
|
- [tags](#tags) (9)
|
|
399
|
-
- [
|
|
399
|
+
- [task-queue](#task-queue) (1)
|
|
400
|
+
- [tasks](#tasks) (9)
|
|
400
401
|
- [teams-connection](#teams-connection) (5)
|
|
401
402
|
- [threads](#threads) (18)
|
|
402
403
|
- [today](#today) (1)
|
|
@@ -8139,6 +8140,18 @@ Flags: `--person-id` (required), `--url`, `--data`, `--each`, `--concurrency`.
|
|
|
8139
8140
|
|
|
8140
8141
|
## pipelines
|
|
8141
8142
|
|
|
8143
|
+
### kenso pipelines get
|
|
8144
|
+
|
|
8145
|
+
Return one pipeline with its stages. `GET /v1/pipelines/{pipelineId}`. Beta: needs `opportunities` and `pipelines`.
|
|
8146
|
+
|
|
8147
|
+
Flags: `--pipeline-id` (required), `--each`, `--concurrency`.
|
|
8148
|
+
|
|
8149
|
+
### kenso pipelines list
|
|
8150
|
+
|
|
8151
|
+
List the workspace's pipelines. `GET /v1/pipelines` (a list). Beta: needs `opportunities` and `pipelines`.
|
|
8152
|
+
|
|
8153
|
+
Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
8154
|
+
|
|
8142
8155
|
### kenso pipelines stage-rules
|
|
8143
8156
|
|
|
8144
8157
|
List or set the fields a deal should have in each stage. API operations: `opportunity-stages.list`, `opportunity-stages.set-required-fields`. Beta: needs `opportunities` and `deal_stage_rules`.
|
|
@@ -9965,8 +9978,50 @@ Update a tag. `PATCH /v1/tags/{tagId}`.
|
|
|
9965
9978
|
|
|
9966
9979
|
Flags: `--tag-id` (required), `--data`, `--each`, `--concurrency`.
|
|
9967
9980
|
|
|
9981
|
+
## task-queue
|
|
9982
|
+
|
|
9983
|
+
### kenso task-queue list
|
|
9984
|
+
|
|
9985
|
+
List the Tasks screen's open work. `GET /v1/task-queue` (a list). Beta: needs `tasks`.
|
|
9986
|
+
|
|
9987
|
+
Flags: `--cursor`, `--limit`, `--scope`, `--timezone`, `--all`, `--each`, `--concurrency`.
|
|
9988
|
+
|
|
9968
9989
|
## tasks
|
|
9969
9990
|
|
|
9991
|
+
### kenso tasks add
|
|
9992
|
+
|
|
9993
|
+
Add a task: a title, an optional due day or time, assignee and the account, person or deal it is about. `POST /v1/tasks`. Beta: needs `tasks`.
|
|
9994
|
+
|
|
9995
|
+
Arguments: `<title>`.
|
|
9996
|
+
|
|
9997
|
+
Flags: `--account`, `--assignee`, `--deal`, `--due`, `--notes`, `--person`.
|
|
9998
|
+
|
|
9999
|
+
### kenso tasks assign
|
|
10000
|
+
|
|
10001
|
+
Give a task to a member. `PATCH /v1/tasks/{taskId}`. Beta: needs `tasks`.
|
|
10002
|
+
|
|
10003
|
+
Arguments: `<taskId>`, `<memberId>`.
|
|
10004
|
+
|
|
10005
|
+
### kenso tasks create
|
|
10006
|
+
|
|
10007
|
+
Create a task. `POST /v1/tasks`. Beta: needs `tasks`.
|
|
10008
|
+
|
|
10009
|
+
Flags: `--timezone`, `--title`, `--notes`, `--assignee-member-id`, `--due-date`, `--due-at`, `--account-id`, `--person-id`, `--opportunity-id`, `--data`, `--each`, `--concurrency`.
|
|
10010
|
+
|
|
10011
|
+
### kenso tasks delete
|
|
10012
|
+
|
|
10013
|
+
Delete a task. `DELETE /v1/tasks/{taskId}`. Beta: needs `tasks`.
|
|
10014
|
+
|
|
10015
|
+
Flags: `--task-id` (required), `--each`, `--concurrency`.
|
|
10016
|
+
|
|
10017
|
+
### kenso tasks done
|
|
10018
|
+
|
|
10019
|
+
Complete a task (--undo reopens it). `PATCH /v1/tasks/{taskId}`. Beta: needs `tasks`.
|
|
10020
|
+
|
|
10021
|
+
Arguments: `<taskId>`.
|
|
10022
|
+
|
|
10023
|
+
Flags: `--undo`.
|
|
10024
|
+
|
|
9970
10025
|
### kenso tasks get
|
|
9971
10026
|
|
|
9972
10027
|
Return one task. `GET /v1/tasks/{taskId}`. Beta: needs `tasks`.
|
|
@@ -9979,6 +10034,18 @@ List tasks. `GET /v1/tasks` (a list). Beta: needs `tasks`.
|
|
|
9979
10034
|
|
|
9980
10035
|
Flags: `--account-id`, `--assigned-by`, `--assignee`, `--cursor`, `--due`, `--limit`, `--opportunity-id`, `--person-id`, `--status`, `--timezone`, `--all`, `--each`, `--concurrency`.
|
|
9981
10036
|
|
|
10037
|
+
### kenso tasks restore
|
|
10038
|
+
|
|
10039
|
+
Restore a deleted task. `POST /v1/tasks/{taskId}/restore`. Beta: needs `tasks`.
|
|
10040
|
+
|
|
10041
|
+
Flags: `--task-id` (required), `--timezone`, `--each`, `--concurrency`.
|
|
10042
|
+
|
|
10043
|
+
### kenso tasks update
|
|
10044
|
+
|
|
10045
|
+
Update, complete or reopen a task. `PATCH /v1/tasks/{taskId}`. Beta: needs `tasks`.
|
|
10046
|
+
|
|
10047
|
+
Flags: `--task-id` (required), `--timezone`, `--title`, `--notes`, `--status`, `--assignee-member-id`, `--due-date`, `--due-at`, `--account-id`, `--person-id`, `--opportunity-id`, `--data`, `--each`, `--concurrency`.
|
|
10048
|
+
|
|
9982
10049
|
## teams-connection
|
|
9983
10050
|
|
|
9984
10051
|
### kenso teams-connection complete
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.85",
|
|
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": "5860a877f3fb743ff18bdc4bb1cebd34a0c005ab"
|
|
53
53
|
}
|