kenso 0.1.52 → 0.1.54

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
@@ -53,6 +53,26 @@ Bob Ray,,CTO,acme.io,
53
53
 
54
54
  People already in the workspace are matched by email, then LinkedIn URL, so running the same file again creates nobody twice. A row comes back `created` (a new person), `updated` (an existing person added to the account), `skipped` with reason `already_on_account`, `matched` (no account asked) or `previously_removed`, or `failed`: `account_not_found` saves the person without an account (import the account, then rerun to place them), any other reason is the API's. The summary adds `matched`, `addedToAccounts` and `emailFindsQueued`.
55
55
 
56
+ ## List and search accounts
57
+
58
+ `accounts list` and `accounts search` sort and page on the server, so they reach every account in the workspace, however many there are.
59
+
60
+ ```bash
61
+ kenso accounts list --sort score:desc --limit 100 # one page; the output's next: line is the following one
62
+ kenso accounts list --sort score:desc --limit 100 --all # every page, to the end
63
+ kenso accounts search --search hiring --sort latestSignalAt:desc --data '{"qFields": ["name", "latestSignal"]}'
64
+ kenso accounts search --limit 1 --data '{"countBy": ["stage"]}' # how many accounts sit in each stage
65
+ kenso accounts search --data '{"where": {"match": "all", "conditions": [{"field": "tier", "operator": "is", "values": ["1"]}]}, "sort": "tier,-pipelineAmount"}' --all
66
+ ```
67
+
68
+ - **`--sort`** takes up to 3 comma-separated keys, each `field` (ascending), `field:asc` or `field:desc`. The API's `-field` form needs the equals sign here, `--sort=-score`, because a value that starts with a dash reads as a flag. Fields: `createdAt`, `name`, `score`, `tier` (ascending is tier 1 first), `latestSignalAt`, `committee`, `pipelineAmount`, `nextTouchAt`, `lastTouchAt`. An account with no value for a key comes last in both directions. The default is `-createdAt`.
69
+ - **`--limit`** is 1 to 1000 (default 50). `--cursor` takes the previous page's `nextCursor` with the same filters and sort; `--all` follows the cursors for you.
70
+ - **`--search`** (also `--q`) matches the name or a domain.
71
+ - **Lists and objects go in `--data`** on `search`, as the API takes them (`kenso describe accounts search`); a flag beside it sets or replaces one key:
72
+ - `qFields` picks where the search text looks: `name`, `domain`, `latestSignal` (the latest signal's title).
73
+ - `countBy` (`stage`, `stageGroup`) adds `counts` to the output: every value with the number of matching accounts that hold it, whatever the page. The output is then one object: `data`, `pagination` and `counts`.
74
+ - `filters` and `where` narrow the accounts.
75
+
56
76
  ## Edit accounts, people and opportunities
57
77
 
58
78
  Apart from `accounts bulk-update`, which sets one `accountType` on up to 500 accounts, there is no bulk edit route, so run the generated `update` command once per row with `--each`. Columns are the command's flags by API name or flag name, and the id column fills the route:
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.52 (API contracts 983c41c9894c) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.54 (API contracts 2c23649fe6fd) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1619 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
+ 1623 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
 
@@ -57,7 +57,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
57
57
  - [analytics](#analytics) (7)
58
58
  - [answers](#answers) (4)
59
59
  - [api](#api) (1)
60
- - [api-keys](#api-keys) (4)
60
+ - [api-keys](#api-keys) (5)
61
61
  - [apollo-lists](#apollo-lists) (1)
62
62
  - [approval-tests](#approval-tests) (6)
63
63
  - [approvals](#approvals) (4)
@@ -73,6 +73,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
73
73
  - [auth](#auth) (3)
74
74
  - [auto-pauses](#auto-pauses) (1)
75
75
  - [autonomous-reply-settings](#autonomous-reply-settings) (2)
76
+ - [billing-entitlements](#billing-entitlements) (1)
76
77
  - [billing-plans](#billing-plans) (1)
77
78
  - [blitz-companies](#blitz-companies) (1)
78
79
  - [blitz-decision-makers](#blitz-decision-makers) (1)
@@ -266,6 +267,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
266
267
  - [mcp](#mcp) (2)
267
268
  - [mcp-calls](#mcp-calls) (1)
268
269
  - [mcp-clients](#mcp-clients) (1)
270
+ - [mcp-connections](#mcp-connections) (2)
269
271
  - [mcp-server-authorizations](#mcp-server-authorizations) (2)
270
272
  - [mcp-server-presets](#mcp-server-presets) (1)
271
273
  - [mcp-servers](#mcp-servers) (9)
@@ -719,7 +721,7 @@ Flags: `--account-id` (required), `--force`, `--no-force`, `--data`, `--each`, `
719
721
 
720
722
  Search accounts in the current workspace with filter conditions and AND / OR groups. `POST /v1/accounts/search` (a list). Beta: needs `accounts`.
721
723
 
722
- Flags: `--search`, `--sort`, `--limit`, `--cursor`, `--include-total`, `--time-zone`, `--include-import-only`, `--no-include-total`, `--no-include-import-only`, `--data`, `--all`, `--each`, `--concurrency`.
724
+ Flags: `--search`, `--time-zone`, `--include-import-only`, `--sort`, `--limit`, `--cursor`, `--include-total`, `--no-include-import-only`, `--no-include-total`, `--data`, `--all`, `--each`, `--concurrency`.
723
725
 
724
726
  ### kenso accounts update
725
727
 
@@ -1237,6 +1239,12 @@ List the caller's API keys, including revoked keys. Secrets are omitted. `GET /v
1237
1239
 
1238
1240
  Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
1239
1241
 
1242
+ ### kenso api-keys rotate
1243
+
1244
+ Replace one of the caller's keys with a new one, keeping the old one working for a while. `POST /v1/api-keys/{apiKeyId}/rotate`.
1245
+
1246
+ Flags: `--api-key-id` (required), `--overlap-hours`, `--expires-in-days`, `--data`, `--each`, `--concurrency`.
1247
+
1240
1248
  ### kenso api-keys update
1241
1249
 
1242
1250
  Rename one of the caller's keys, or change the API version it is pinned to. `PATCH /v1/api-keys/{apiKeyId}`.
@@ -1709,6 +1717,14 @@ Update the autonomous reply settings. `PATCH /v1/autonomous-reply-settings`.
1709
1717
 
1710
1718
  Flags: `--data`, `--each`, `--concurrency`.
1711
1719
 
1720
+ ## billing-entitlements
1721
+
1722
+ ### kenso billing-entitlements get
1723
+
1724
+ Read what the workspace's plan includes. `GET /v1/billing/entitlements`.
1725
+
1726
+ Flags: `--each`, `--concurrency`.
1727
+
1712
1728
  ## billing-plans
1713
1729
 
1714
1730
  ### kenso billing-plans list
@@ -6021,6 +6037,20 @@ List the outside MCP clients connected to the current workspace. `GET /v1/mcp/cl
6021
6037
 
6022
6038
  Flags: `--each`, `--concurrency`.
6023
6039
 
6040
+ ## mcp-connections
6041
+
6042
+ ### kenso mcp-connections delete
6043
+
6044
+ Disconnect one of the caller's OAuth-connected agents. `DELETE /v1/mcp/connections/{connectionId}`.
6045
+
6046
+ Flags: `--connection-id` (required), `--each`, `--concurrency`.
6047
+
6048
+ ### kenso mcp-connections list
6049
+
6050
+ List the agents the caller connected to Kenso with OAuth. `GET /v1/mcp/connections`.
6051
+
6052
+ Flags: `--each`, `--concurrency`.
6053
+
6024
6054
  ## mcp-server-authorizations
6025
6055
 
6026
6056
  ### kenso mcp-server-authorizations complete
package/docs/work.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Agent work (beta)
2
2
 
3
- Some of Kenso's AI work can wait for your own coding agent instead: personalization, qualification, segmentation, rewriting, meeting briefs, call briefs and workflow prompts. Set a kind to **My agent** and Kenso's AI no longer runs it. The work waits in a queue, your agent (Claude Code, Codex and others) writes it on your machine with your own AI plan, and Kenso stores each answer where its own AI would have. That work costs 0 Kenso credits.
3
+ Some of Kenso's AI work can wait for your own coding agent instead: personalization, qualification, segmentation, rewriting, meeting briefs, call briefs, workflow prompts and background AI (Kenso's background model calls, such as sender persona labels and deal details: the item's prompt is the exact request Kenso would have sent). Set a kind to **My agent** and Kenso's AI no longer runs it. The work waits in a queue, your agent (Claude Code, Codex and others) writes it on your machine with your own AI plan, and Kenso stores each answer where its own AI would have. That work costs 0 Kenso credits.
4
4
 
5
5
  Switch it on per kind in the app: **Settings > AI work**, then pick **My agent** for a kind. Switch a kind back to **Ken** and Kenso's AI runs its work again. The `kenso work` commands are beta: they need the `agent_work` feature on your workspace, and until it is on they answer `not_found` (exit 4).
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.52",
3
+ "version": "0.1.54",
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": "3ccebbdf0ee1354ce6a6fc8b0436d0e37b1dd754"
52
+ "gitHead": "e43d30d3232eb9b752f73e6f6efb5b3e92ac5ee7"
53
53
  }