kenso 0.1.84 → 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 +19 -0
- package/docs/reference.md +58 -3
- 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
|
|
|
@@ -229,3 +230,21 @@ kenso pipelines stage-rules lost --default
|
|
|
229
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")`.
|
|
230
231
|
|
|
231
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
|
|
|
@@ -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)
|
|
@@ -9977,8 +9978,50 @@ Update a tag. `PATCH /v1/tags/{tagId}`.
|
|
|
9977
9978
|
|
|
9978
9979
|
Flags: `--tag-id` (required), `--data`, `--each`, `--concurrency`.
|
|
9979
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
|
+
|
|
9980
9989
|
## tasks
|
|
9981
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
|
+
|
|
9982
10025
|
### kenso tasks get
|
|
9983
10026
|
|
|
9984
10027
|
Return one task. `GET /v1/tasks/{taskId}`. Beta: needs `tasks`.
|
|
@@ -9991,6 +10034,18 @@ List tasks. `GET /v1/tasks` (a list). Beta: needs `tasks`.
|
|
|
9991
10034
|
|
|
9992
10035
|
Flags: `--account-id`, `--assigned-by`, `--assignee`, `--cursor`, `--due`, `--limit`, `--opportunity-id`, `--person-id`, `--status`, `--timezone`, `--all`, `--each`, `--concurrency`.
|
|
9993
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
|
+
|
|
9994
10049
|
## teams-connection
|
|
9995
10050
|
|
|
9996
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
|
}
|