kenso 0.1.80 → 0.1.81
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 +234 -142
- package/dist/operations.json +1 -1
- package/docs/crm.md +14 -0
- package/docs/reference.md +20 -3
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -15,6 +15,7 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
|
|
|
15
15
|
| `capture private on\|off` | Hide your captured email from teammates, or show it again. Email only: meetings stay visible |
|
|
16
16
|
| `capture disconnect` | Turn capture off and delete your stored email bodies. Asks first; `--yes` skips the question |
|
|
17
17
|
| `capture teammates-see summary\|full_email` | Workspace admin: what teammates see of captured email |
|
|
18
|
+
| `pipelines stage-rules` | List or set the fields a deal should have in each stage |
|
|
18
19
|
| `crm-connections`, `crm-imports`, `crm-sync-issues` | Read and run CRM sync. Connecting a CRM stays in the app |
|
|
19
20
|
|
|
20
21
|
Import accounts first, then people: `people import` never creates an account.
|
|
@@ -192,3 +193,16 @@ kenso opportunities stage-history 77 --query "entries[].{to: stageLabel, at: ent
|
|
|
192
193
|
```
|
|
193
194
|
|
|
194
195
|
It prints `GET /v1/opportunities/{id}/stage-history` as it is, the same rows as the deal page and the MCP's `opportunities(operation="get-stage-history")`: the stage now, `isComplete` and `entries`, oldest first, each with `fromStage`, `stage`, `stageLabel`, `enteredAt`, `leftAt`, `durationSeconds`, `actorKind`, `actorMemberId` and Ken's `reason` on a move its stage judge made. With the `deal_stage_rules` flag on, each entry also has `changedBy` (`member`, `agent`, `api_key`, `workflow`, `stage_judge`, `crm_sync` or `ken_automation`), `crmProvider` on a CRM sync, and on a move `fromStageLabel` and `fromStageDurationSeconds`, how long the deal sat in the stage it left. `isComplete` false means Kenso has no record of part of the history.
|
|
196
|
+
|
|
197
|
+
## Required fields per stage
|
|
198
|
+
|
|
199
|
+
```bash
|
|
200
|
+
kenso pipelines stage-rules
|
|
201
|
+
kenso pipelines stage-rules proposal --require amount,closeDate,custom.tier
|
|
202
|
+
kenso pipelines stage-rules proposal --none
|
|
203
|
+
kenso pipelines stage-rules lost --default
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
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")`.
|
|
207
|
+
|
|
208
|
+
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.
|
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.81 (API contracts 1d55a7d6f845) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1697 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
|
|
|
@@ -314,7 +314,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
314
314
|
- [opportunities](#opportunities) (11)
|
|
315
315
|
- [opportunity-people](#opportunity-people) (4)
|
|
316
316
|
- [opportunity-settings](#opportunity-settings) (3)
|
|
317
|
-
- [opportunity-stages](#opportunity-stages) (
|
|
317
|
+
- [opportunity-stages](#opportunity-stages) (3)
|
|
318
318
|
- [optiverse-connection](#optiverse-connection) (3)
|
|
319
319
|
- [outbound-event-attendees](#outbound-event-attendees) (3)
|
|
320
320
|
- [outbound-event-suggestions](#outbound-event-suggestions) (3)
|
|
@@ -326,6 +326,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
326
326
|
- [permission-templates](#permission-templates) (5)
|
|
327
327
|
- [person-behavior](#person-behavior) (1)
|
|
328
328
|
- [person-facebook](#person-facebook) (4)
|
|
329
|
+
- [pipelines](#pipelines) (1)
|
|
329
330
|
- [placement-seed-sharing](#placement-seed-sharing) (2)
|
|
330
331
|
- [placement-tests](#placement-tests) (4)
|
|
331
332
|
- [portal-sessions](#portal-sessions) (1)
|
|
@@ -7622,6 +7623,12 @@ Replace the workspace's opportunity stages. `PUT /v1/opportunity-stages`. Beta:
|
|
|
7622
7623
|
|
|
7623
7624
|
Flags: `--data`, `--each`, `--concurrency`.
|
|
7624
7625
|
|
|
7626
|
+
### kenso opportunity-stages set-required-fields
|
|
7627
|
+
|
|
7628
|
+
Set the fields a deal should have in a stage. `PUT /v1/opportunity-stages/{stageKey}/required-fields`. Beta: needs `deal_stage_rules` and `opportunities`.
|
|
7629
|
+
|
|
7630
|
+
Flags: `--stage-key` (required), `--data`, `--each`, `--concurrency`.
|
|
7631
|
+
|
|
7625
7632
|
## optiverse-connection
|
|
7626
7633
|
|
|
7627
7634
|
### kenso optiverse-connection connect
|
|
@@ -8118,6 +8125,16 @@ Set a person's Facebook profile URL. `PUT /v1/people/{personId}/facebook-profile
|
|
|
8118
8125
|
|
|
8119
8126
|
Flags: `--person-id` (required), `--url`, `--data`, `--each`, `--concurrency`.
|
|
8120
8127
|
|
|
8128
|
+
## pipelines
|
|
8129
|
+
|
|
8130
|
+
### kenso pipelines stage-rules
|
|
8131
|
+
|
|
8132
|
+
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`.
|
|
8133
|
+
|
|
8134
|
+
Arguments: `<stage>` (optional).
|
|
8135
|
+
|
|
8136
|
+
Flags: `--default`, `--none`, `--require`.
|
|
8137
|
+
|
|
8121
8138
|
## placement-seed-sharing
|
|
8122
8139
|
|
|
8123
8140
|
### kenso placement-seed-sharing get
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.81",
|
|
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": "10e4f4eaa7e80d48e5dfe8f5851363c7d5409e25"
|
|
53
53
|
}
|