kenso 0.1.84 → 0.1.86

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
@@ -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`, `tasks queue` | Add a to-do for a member on an account, person or deal, complete it, hand it on, or read your open work (needs `tasks`) |
21
22
 
22
23
  Import accounts first, then people: `people import` never creates an account.
23
24
 
@@ -229,3 +230,22 @@ 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 tomorrow --account 812
240
+ kenso tasks add "Call Ada back" --due friday --at 16:00 --person 501 --assignee ada@acme.com
241
+ kenso tasks list --assignee me --due overdue,today
242
+ kenso tasks queue --scope mine
243
+ kenso tasks assign 7 me
244
+ kenso tasks done 7 8 9
245
+ kenso tasks done 7 --undo
246
+ ```
247
+
248
+ - `tasks add` sends `POST /v1/tasks`. `--due` takes `today`, `tomorrow`, a weekday (the next one: `friday` or `fri`), a day (`2026-11-20`) or an ISO 8601 time; `--at HH:MM` puts a time on that day (today without `--due`). Day words and `--at` read this computer's clock and time zone (`TZ`); a time's day is read in the assignee's app time zone. `--assignee` takes `me`, a member id or an email; without it the task is yours.
249
+ - `tasks done` completes each task it names, in order (`PATCH /v1/tasks/{id}` with `status: done`); `--undo` reopens them. `tasks assign` gives a task to `me`, a member id or a member's email; that member gets a `task_assigned` notification.
250
+ - `tasks queue` is `task-queue list` under the name you would try: the Tasks screen's open work by due day, with `--scope mine|assigned_by_me|everyone`. It lists tasks, manual touches, call tasks, inbox threads with a reminder due (when you can view the Inbox) and Ken's follow-ups to you, each with an app link in `href`.
251
+ - `tasks list`, `get`, `update`, `delete`, `restore` and `task-queue list` are generated from the API: `kenso tasks --help` lists them.
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.84 (API contracts 71295cbc21b2) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.86 (API contracts e0457a99afe9) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1702 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
+ 1711 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
- - [tasks](#tasks) (2)
399
+ - [task-queue](#task-queue) (1)
400
+ - [tasks](#tasks) (10)
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 and time, assignee and the account, person or deal it is about. API operations: `tasks.create`, `me.get`, `members.list`. Beta: needs `tasks`.
9994
+
9995
+ Arguments: `<title>`.
9996
+
9997
+ Flags: `--account`, `--assignee`, `--at`, `--deal`, `--due`, `--notes`, `--person`.
9998
+
9999
+ ### kenso tasks assign
10000
+
10001
+ Give a task to a member. API operations: `tasks.update`, `me.get`, `members.list`. Beta: needs `tasks`.
10002
+
10003
+ Arguments: `<taskId>`, `<member>`.
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 one or more tasks (--undo reopens them). `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,24 @@ 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 queue
10038
+
10039
+ Your open work by due day: tasks, touches, call tasks, reply reminders and Ken follow-ups. `GET /v1/task-queue`. Beta: needs `tasks`.
10040
+
10041
+ Flags: `--scope`, `--timezone`.
10042
+
10043
+ ### kenso tasks restore
10044
+
10045
+ Restore a deleted task. `POST /v1/tasks/{taskId}/restore`. Beta: needs `tasks`.
10046
+
10047
+ Flags: `--task-id` (required), `--timezone`, `--each`, `--concurrency`.
10048
+
10049
+ ### kenso tasks update
10050
+
10051
+ Update, complete or reopen a task. `PATCH /v1/tasks/{taskId}`. Beta: needs `tasks`.
10052
+
10053
+ Flags: `--task-id` (required), `--timezone`, `--title`, `--notes`, `--status`, `--assignee-member-id`, `--due-date`, `--due-at`, `--account-id`, `--person-id`, `--opportunity-id`, `--data`, `--each`, `--concurrency`.
10054
+
9994
10055
  ## teams-connection
9995
10056
 
9996
10057
  ### kenso teams-connection complete
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.84",
3
+ "version": "0.1.86",
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": "8e6718a675b15e76f29423562a9be7b1eec8cf7c"
52
+ "gitHead": "ece879b28e783ef8cd9e29e2ad4fd1fa5b4bb330"
53
53
  }