kenso 0.1.96 → 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
 
@@ -124,7 +125,7 @@ kenso accounts bulk-update --ids 812,813 --set stage=engaged --set tier=2 --yes
124
125
  kenso changes get --change-id 31
125
126
  ```
126
127
 
127
- `accounts bulk-update` sets the same fields on every account you name: `--ids` (up to 1,000), everything a `--filter` matches (the body `kenso accounts search --data` takes: `filters`, `where`, `q`; up to 50,000), or `--all`. `--exclude-ids` leaves some of a filter's accounts out. `--set field=value` takes `ownerMemberId` (or `owner`), `stage`, `tierOverride` (or `tier`), `industry`, `fundingRound`, `employeeCount`, `hqLocation` and `cadenceDays`, and a custom field as `custom.<key>` (`--set custom.region=EMEA`; `kenso api GET '/v1/fields?object=account'` gives the keys); a value of `null` clears the field. Use `accounts update --each` when every row gets its own values.
128
+ `accounts bulk-update` sets the same fields on every account you name: `--ids` (up to 1,000), everything a `--filter` matches (the body `kenso accounts search --data` takes: `filters`, `where`, `q`; up to 50,000), or `--all`. A filter that holds only options and no condition (`--filter '{"includeImportOnly":true}'`) takes `--all` beside it. `--exclude-ids` leaves some of a filter's accounts out. `--set field=value` takes `ownerMemberId` (or `owner`), `stage`, `tierOverride` (or `tier`), `industry`, `fundingRound`, `employeeCount`, `hqLocation` and `cadenceDays`, and a custom field as `custom.<key>` (`--set custom.region=EMEA`; `kenso api GET '/v1/fields?object=account'` gives the keys); a value of `null` clears the field. A text field's value is sent as you type it (`--set hqLocation=10001` is the text "10001"); a custom field's type is not known to the CLI, so quote its text when it reads as a number or as true or false: `--set 'custom.code="10001"'`. Use `accounts update --each` when every row gets its own values.
128
129
 
129
130
  It makes a change set: the accounts it names and, for each, the field, its value before and its value after. Without `--yes` (or with `--dry-run`) it previews: it prints `count` and a `sample`, writes nothing, and `next` is the `kenso changes apply` command that writes exactly those accounts. With `--yes` it writes in the background and waits (`--timeout`, default 10m), then prints the change with its `counts`: `applied`, `unchanged` (already had the value), `conflict` (the account changed after the preview, so it was left alone) and `failed` (for example `pinned`: a person set the field by hand; `--overwrite-pinned` replaces it). Exit 5 when some accounts failed or conflicted. It needs the `bulk_edit` flag as well as `accounts`.
130
131
 
@@ -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.96 (API contracts 51b8c873f2b7) 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
- 1775 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)
@@ -440,6 +441,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
440
441
  - [webhook-event-types](#webhook-event-types) (2)
441
442
  - [webhooks](#webhooks) (2)
442
443
  - [website](#website) (8)
444
+ - [weekly-fixes](#weekly-fixes) (3)
443
445
  - [whatsapp-accounts](#whatsapp-accounts) (5)
444
446
  - [whatsapp-settings](#whatsapp-settings) (2)
445
447
  - [white-label](#white-label) (1)
@@ -5998,6 +6000,28 @@ Relearn your writing style. `POST /v1/knowledge/writing-style/relearn`. Beta: ne
5998
6000
 
5999
6001
  Flags: `--each`, `--concurrency`.
6000
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
+
6001
6025
  ## learnings
6002
6026
 
6003
6027
  ### kenso learnings list
@@ -11220,6 +11244,26 @@ List the human visits to the website. `GET /v1/website/visits` (a list). Beta: n
11220
11244
 
11221
11245
  Flags: `--account-id`, `--cursor`, `--known`, `--limit`, `--page-id`, `--person-id`, `--since`, `--no-known`, `--all`, `--each`, `--concurrency`.
11222
11246
 
11247
+ ## weekly-fixes
11248
+
11249
+ ### kenso weekly-fixes approve
11250
+
11251
+ Approve a proposed weekly fix. `POST /v1/weekly-fixes/{weeklyFixId}/approve`. Beta: needs `weekly_fixes`.
11252
+
11253
+ Flags: `--weekly-fix-id` (required), `--client-yes`, `--data`, `--each`, `--concurrency`.
11254
+
11255
+ ### kenso weekly-fixes skip
11256
+
11257
+ Skip a proposed weekly fix. `POST /v1/weekly-fixes/{weeklyFixId}/skip`. Beta: needs `weekly_fixes`.
11258
+
11259
+ Flags: `--weekly-fix-id` (required), `--each`, `--concurrency`.
11260
+
11261
+ ### kenso weekly-fixes undo
11262
+
11263
+ Undo an applied weekly fix. `POST /v1/weekly-fixes/{weeklyFixId}/undo`. Beta: needs `weekly_fixes`.
11264
+
11265
+ Flags: `--weekly-fix-id` (required), `--each`, `--concurrency`.
11266
+
11223
11267
  ## whatsapp-accounts
11224
11268
 
11225
11269
  ### kenso whatsapp-accounts create-connect-session
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.96",
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": "75315243416ea88915707ec63b373e29be6e4b63"
52
+ "gitHead": "b6b628f49b9a05ae1567d231eda0be1b72ffaeaf"
53
53
  }