kenso 0.1.175 → 0.1.177
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/CHANGELOG.md +6 -0
- package/dist/discover.json +1 -1
- package/dist/kenso.js +182 -31
- package/dist/operations.index.json +1 -1
- package/dist/operations.json +1 -1
- package/docs/auth.md +2 -0
- package/docs/crm.md +2 -2
- package/docs/reference.md +5 -5
- package/package.json +2 -2
package/docs/auth.md
CHANGED
|
@@ -167,4 +167,6 @@ This removes the profile and its key from this machine. When browser login made
|
|
|
167
167
|
| API | `https://api.ken.so` | `KENSO_API_URL` |
|
|
168
168
|
| MCP (for `kenso mcp`) | `https://mcp.ken.so/mcp` | `KENSO_MCP_URL` |
|
|
169
169
|
|
|
170
|
+
Another API or MCP gets a warning on stderr before the key goes there, and it must be https (plain http only to `localhost` or `127.0.0.1`, `insecure_url`, exit 2). A saved key goes only to the API it was saved for (`key_origin_mismatch`, exit 3, names it): a key from `kenso auth login` run with `KENSO_API_URL` set works on that API only while the variable is set, unless you log in with `--save-api-url`, which saves the URL in the profile. A key saved for `https://api.ken.so` goes to no MCP but `https://mcp.ken.so`. `kenso auth status` prints the `apiUrl` it used.
|
|
171
|
+
|
|
170
172
|
`--verbose` prints each request line to stderr with the key redacted.
|
package/docs/crm.md
CHANGED
|
@@ -23,7 +23,6 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
|
|
|
23
23
|
| `capture connect` | Turn capture on for your own mailbox. `--private` starts it hidden from teammates; `--provider google` prints a sign-in link when no account is connected yet |
|
|
24
24
|
| `capture private on\|off` | Hide your captured email from teammates, or show it again. Email only: meetings stay visible. `--thread <id>` sets the switch for one thread |
|
|
25
25
|
| `capture thread <threadId>` | One captured email thread: subject, people, time, Ken's summary, the members whose mailboxes hold it, and each body you may open. The id is `capturedThread.id` on a timeline row |
|
|
26
|
-
| `views pin <viewId>`, `views unpin <viewId>` | Pin a saved view to your own sidebar, or take it off. Needs the `shared_views` flag |
|
|
27
26
|
| `capture sync` | Read your captured mailbox now, instead of waiting for the next two-minute poll. Prints what the pass read, logged and created |
|
|
28
27
|
| `capture disconnect` | Turn capture off and delete your stored email bodies. Asks first; `--yes` skips the question |
|
|
29
28
|
| `capture teammates-see summary\|full_email` | Workspace admin: what teammates see of captured email |
|
|
@@ -35,6 +34,7 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
|
|
|
35
34
|
| `fields list`, `create`, `update`, `archive` | The built-in and custom fields of accounts, people and deals, and adding your own (needs `custom_fields`) |
|
|
36
35
|
| `field-fill-settings`, `suggestions`, `fields fill` | How Ken fills each field from email, calls and meetings, the values it waits on you for, and filling a deal field for existing deals or a custom field for existing accounts (needs `ken_field_fill`) |
|
|
37
36
|
| `views list`, `create`, `run`, `update`, `delete` | Saved views of accounts, people and deals, private or shared with the workspace (needs `shared_views`) |
|
|
37
|
+
| `views pin <viewId>`, `views unpin <viewId>` | Pin a saved view to your own sidebar, or take it off. Needs the `shared_views` flag |
|
|
38
38
|
| `reports summary`, `reports run <report>`, `reports query`, `dashboards` | Pipeline reports over your deals, your own counts and sums, and dashboards of saved charts (needs `opportunities` and `reports`) |
|
|
39
39
|
| `forecast show`, `quotas list`, `set`, `propose` | Closed won, commit and best case against each member's quota for a month or quarter (needs `opportunities` and `forecast`) |
|
|
40
40
|
|
|
@@ -136,7 +136,7 @@ kenso accounts bulk-update --ids 812,813 --set stage=engaged --set tier=2 --yes
|
|
|
136
136
|
kenso changes get --change-id 31
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
`accounts bulk-update` sets the same fields on every account you name: `--ids` (1,000 at most), everything a `--filter` matches (the body `kenso accounts search --data` takes: `filters`, `where`, `q`; up to 50,000), every account a saved view lists (`--view <id>`: the API reads the view's own filter, so the count is what `kenso views run` lists), or `--all`. A view with no condition takes `--all` beside it. 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. `--add-tag 12,14` and `--remove-tag 13` put tags on every account or take them off (`kenso tags list` gives the ids); each tag is one row per account from `false` to `true` or back, so `kenso changes undo` takes off only the tags the change put on.
|
|
139
|
+
`accounts bulk-update` sets the same fields on every account you name: `--ids` (1,000 at most), everything a `--filter` matches (the body `kenso accounts search --data` takes: `filters`, `where`, `q`; up to 50,000), every account a saved view lists (`--view <id>`: the API reads the view's own filter, so the count is what `kenso views run` lists), or `--all`. A view with no condition takes `--all` beside it. 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. `--add-tag 12,14` and `--remove-tag 13` put tags on every account or take them off (`kenso tags list` gives the ids); each tag is one row per account from `false` to `true` or back, so `kenso changes undo` takes off only the tags the change put on. `kenso people bulk-update` takes them too, with the same flags; `kenso opportunities bulk-update` does not, because deals have no tags. 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.
|
|
140
140
|
|
|
141
141
|
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`.
|
|
142
142
|
|
package/docs/reference.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Kenso CLI command reference
|
|
2
2
|
|
|
3
|
-
Generated from kenso 0.1.
|
|
3
|
+
Generated from kenso 0.1.177 (API contracts 98f13b875805) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
5
|
1998 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
|
|
|
@@ -1889,7 +1889,7 @@ Flags: `--action`, `--cursor`, `--limit`, `--occurred-after`, `--occurred-before
|
|
|
1889
1889
|
|
|
1890
1890
|
Log in through the browser, or save an API key from stdin with --with-key. API operations: `me.get`, `workspaces.list`, `cli-logins.create`, `cli-logins.token`.
|
|
1891
1891
|
|
|
1892
|
-
Flags: `--device-name`, `--no-browser`, `--no-wait`, `--with-key`.
|
|
1892
|
+
Flags: `--device-name`, `--no-browser`, `--no-wait`, `--save-api-url`, `--with-key`.
|
|
1893
1893
|
|
|
1894
1894
|
### kenso auth logout
|
|
1895
1895
|
|
|
@@ -1905,7 +1905,7 @@ Show the key's user, workspace and expiry. API operations: `me.get`, `api-keys.l
|
|
|
1905
1905
|
|
|
1906
1906
|
Collect a login started with kenso login --no-wait, once the person approved it. `POST /v1/cli/logins/token`.
|
|
1907
1907
|
|
|
1908
|
-
Flags: `--timeout`.
|
|
1908
|
+
Flags: `--save-api-url`, `--timeout`.
|
|
1909
1909
|
|
|
1910
1910
|
## auto-pauses
|
|
1911
1911
|
|
|
@@ -5275,7 +5275,7 @@ Flags: `--object`, `--type`, `--label`, `--key`, `--description`, `--data`, `--e
|
|
|
5275
5275
|
|
|
5276
5276
|
Fill one field for existing deals from their recorded meetings and captured email, or one custom field for existing accounts from what Kenso holds about them. `POST /v1/fields/{object}/{field}/fill`. Beta: needs `bulk_edit` and `ken_field_fill`.
|
|
5277
5277
|
|
|
5278
|
-
Flags: `--object` (required), `--field` (required), `--all`, `--body-dry-run`, `--no-all`, `--no-body-dry-run`, `--data`, `--each`, `--concurrency`.
|
|
5278
|
+
Flags: `--object` (required), `--field` (required), `--all`, `--body-dry-run`, `--max-credits`, `--no-all`, `--no-body-dry-run`, `--data`, `--each`, `--concurrency`.
|
|
5279
5279
|
|
|
5280
5280
|
### kenso fields list
|
|
5281
5281
|
|
|
@@ -7013,7 +7013,7 @@ Flags: `--campaign-id` (required), `--created-after`, `--created-before`, `--cur
|
|
|
7013
7013
|
|
|
7014
7014
|
Log in through the browser, or save an API key from stdin with --with-key. API operations: `me.get`, `workspaces.list`, `cli-logins.create`, `cli-logins.token`.
|
|
7015
7015
|
|
|
7016
|
-
Flags: `--device-name`, `--no-browser`, `--no-wait`, `--with-key`.
|
|
7016
|
+
Flags: `--device-name`, `--no-browser`, `--no-wait`, `--save-api-url`, `--with-key`.
|
|
7017
7017
|
|
|
7018
7018
|
## logout
|
|
7019
7019
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.177",
|
|
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": "de0f5989b548f84d2a732ef2e6df4afada8e0a4e"
|
|
53
53
|
}
|