kenso 0.1.83 → 0.1.84

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
@@ -177,6 +177,18 @@ kenso crm-sync-issues list --connection-id 7 --all
177
177
 
178
178
  Run `kenso crm-connections --help` (or add `--all-commands` when the actions are hidden) to see every action.
179
179
 
180
+ ## Pipelines
181
+
182
+ A workspace with the `pipelines` flag on can run several deal pipelines, each with its own stages. These are generated commands (beta):
183
+
184
+ ```bash
185
+ kenso pipelines list
186
+ kenso pipelines list --query "[].{id: id, name: name, default: isDefault, stages: stages[].key}"
187
+ kenso pipelines get --pipeline-id 5
188
+ ```
189
+
190
+ `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")`.
191
+
180
192
  ## Restore a deleted account
181
193
 
182
194
  ```bash
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.83 (API contracts 42dbd992c649) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.84 (API contracts 71295cbc21b2) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1700 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
+ 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.
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) (1)
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)
@@ -8139,6 +8139,18 @@ Flags: `--person-id` (required), `--url`, `--data`, `--each`, `--concurrency`.
8139
8139
 
8140
8140
  ## pipelines
8141
8141
 
8142
+ ### kenso pipelines get
8143
+
8144
+ Return one pipeline with its stages. `GET /v1/pipelines/{pipelineId}`. Beta: needs `opportunities` and `pipelines`.
8145
+
8146
+ Flags: `--pipeline-id` (required), `--each`, `--concurrency`.
8147
+
8148
+ ### kenso pipelines list
8149
+
8150
+ List the workspace's pipelines. `GET /v1/pipelines` (a list). Beta: needs `opportunities` and `pipelines`.
8151
+
8152
+ Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
8153
+
8142
8154
  ### kenso pipelines stage-rules
8143
8155
 
8144
8156
  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`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.83",
3
+ "version": "0.1.84",
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": "7ee5b76d48f121a5acc67bf1ef86cbb8cabe3a6b"
52
+ "gitHead": "8e6718a675b15e76f29423562a9be7b1eec8cf7c"
53
53
  }