kenso 0.1.97 → 0.1.98

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
@@ -25,6 +25,7 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
25
25
  | `capture teammates-see summary\|full_email` | Workspace admin: what teammates see of captured email |
26
26
  | `pipelines stage-rules` | List or set the fields a deal should have in each stage |
27
27
  | `opportunity-reasons get`, `opportunity-reasons replace` | List or edit why deals are lost and won |
28
+ | `layouts show\|set\|reset <object>` | How every account, person or deal page in the workspace lays out its fields: header, rail sections and hidden fields (needs `record_layout`) |
28
29
  | `crm-connections`, `crm-imports`, `crm-sync-issues` | Read and run CRM sync. Connecting a CRM stays in the app |
29
30
  | `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`) |
30
31
 
@@ -331,6 +332,19 @@ kenso opportunities move 4401 --stage lost --reason built_it_in_house
331
332
 
332
333
  With the `deal_stage_rules` flag on, each workspace edits why its deals are lost and won. `get` prints `lost` and `won`, each `{isDefault, reasons: [{key, label, isArchived}]}`. `replace` takes a kind's whole list in order, as `get` prints it: keep a reason by its `key`, leave `key` out for a new one, and set `isArchived` to archive a reason or bring one back. A reason left out is archived too: deals keep it, and no write can pick it again. At least one reason stays live and at most 30, and labels stay unique, archived ones included. A deal takes a live key in `lostReasonKey` (a lost stage) or `wonReasonKey` (a won stage). A move to Lost without a reason still goes through, with a warning and "Missing: Lost reason" on the deal. Editing the lists needs the `workspace_settings` permission. The same as the MCP's `pipelines(operation="reasons-get")` and `reasons-replace`.
333
334
 
335
+ ## Record page layouts
336
+
337
+ ```bash
338
+ kenso layouts show account
339
+ kenso layouts set account --header tier,ownerMemberId,score,custom.arr
340
+ kenso layouts show account > layout.json && kenso layouts set account --data @layout.json
341
+ kenso layouts reset account
342
+ ```
343
+
344
+ With the `record_layout` flag on, a workspace lays out each record page once, for every member: `account`, `person` or `opportunity` (a deal). `show` prints `GET /v1/record-layouts/{object}`: `isDefault`, `version`, `headerFields` (up to 6, pinned under the record's name), `railSections` (`{name, fields}`), `hiddenFields` (under the rail's More), `sections` (`{key, label, placement, locked, hidden}`, in page order) and `availableFields`. Field keys are the field catalog's (`ownerMemberId`, `closeDate`, `primaryDomain`); a custom field is `custom.<field_key>`, and a new one joins the last rail section.
345
+
346
+ `set --header` pins up to 6 fields and keeps the rest of the saved layout; the fields it unpins go to the top of the first rail section. `set --data` saves a whole layout, so group the rail into sections or hide a section that way, starting from `show`. A save made after someone else's answers a conflict: show it again. `reset` puts the page back to Kenso's default. Saving needs the `workspace_settings` permission, and the account page also needs the `accounts` plan. The same as the MCP's `account_views` operations `record-layouts-get`, `record-layouts-replace` and `record-layouts-reset`.
347
+
334
348
  ## Tasks
335
349
 
336
350
  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.
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.97 (API contracts 85f7d9dbd3ae) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.98 (API contracts 85f7d9dbd3ae) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1778 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
+ 1781 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
 
@@ -253,6 +253,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
253
253
  - [knowledge-uploads](#knowledge-uploads) (2)
254
254
  - [knowledge-website-pages](#knowledge-website-pages) (3)
255
255
  - [knowledge-writing-style](#knowledge-writing-style) (2)
256
+ - [layouts](#layouts) (3)
256
257
  - [learnings](#learnings) (1)
257
258
  - [linkedin-accounts](#linkedin-accounts) (13)
258
259
  - [linkedin-connections](#linkedin-connections) (4)
@@ -5999,6 +6000,28 @@ Relearn your writing style. `POST /v1/knowledge/writing-style/relearn`. Beta: ne
5999
6000
 
6000
6001
  Flags: `--each`, `--concurrency`.
6001
6002
 
6003
+ ## layouts
6004
+
6005
+ ### kenso layouts reset
6006
+
6007
+ Put the account, person or deal page back to Kenso's default layout. `DELETE /v1/record-layouts/{object}`. Beta: needs `record_layout`.
6008
+
6009
+ Arguments: `<object>`.
6010
+
6011
+ ### kenso layouts set
6012
+
6013
+ Save the layout every account, person or deal page in the workspace draws. API operations: `record-layouts.get`, `record-layouts.replace`. Beta: needs `record_layout`.
6014
+
6015
+ Arguments: `<object>`.
6016
+
6017
+ Flags: `--data`, `--header`.
6018
+
6019
+ ### kenso layouts show
6020
+
6021
+ Show how the workspace's account, person or deal pages lay out their fields. `GET /v1/record-layouts/{object}`. Beta: needs `record_layout`.
6022
+
6023
+ Arguments: `<object>`.
6024
+
6002
6025
  ## learnings
6003
6026
 
6004
6027
  ### kenso learnings list
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.97",
3
+ "version": "0.1.98",
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": "bbb03eed038fca0c060f9ef735c2a839209a2c3e"
52
+ "gitHead": "b6b628f49b9a05ae1567d231eda0be1b72ffaeaf"
53
53
  }