kenso 0.1.49 → 0.1.51

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/auth.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Authentication
2
2
 
3
- The CLI calls the Kenso API with a Kenso API key (`ken_` plus 43 characters). It sends the key as `Authorization: Bearer <key>` and never prints it, logs it or puts it in an error.
3
+ The CLI calls the Kenso API with a Kenso API key (`kenso_live_` plus 49 characters, or an older key: `ken_` plus 43 characters). It sends the key as `Authorization: Bearer <key>` and never prints it, logs it or puts it in an error.
4
4
 
5
5
  `kenso login`, `kenso logout` and `kenso whoami` are the same commands as `kenso auth login`, `kenso auth logout` and `kenso auth status`.
6
6
 
@@ -42,7 +42,7 @@ The key is the same kind you create in the app. It is named `Kenso CLI - <device
42
42
  You do not need to log in on a machine that has the key in its environment:
43
43
 
44
44
  ```bash
45
- export KENSO_API_KEY=ken_...
45
+ export KENSO_API_KEY=kenso_live_...
46
46
  export KENSO_WORKSPACE_ID=1234
47
47
  kenso auth status
48
48
  ```
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.49 (API contracts 9a718b160604) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.51 (API contracts 7eafb97fb5fe) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1616 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
+ 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.
6
6
 
7
7
  ## Global flags
8
8
 
@@ -370,6 +370,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
370
370
  - [social-searches](#social-searches) (2)
371
371
  - [spend-limits](#spend-limits) (2)
372
372
  - [stakeholders](#stakeholders) (4)
373
+ - [status](#status) (1)
373
374
  - [studio](#studio) (5)
374
375
  - [studio-starters](#studio-starters) (2)
375
376
  - [subscription](#subscription) (5)
@@ -434,6 +435,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
434
435
  - [workflow-versions](#workflow-versions) (4)
435
436
  - [workflows](#workflows) (10)
436
437
  - [workspace](#workspace) (2)
438
+ - [workspace-api-keys](#workspace-api-keys) (2)
437
439
  - [workspace-data-deletions](#workspace-data-deletions) (4)
438
440
  - [workspaces](#workspaces) (17)
439
441
 
@@ -1221,7 +1223,7 @@ Flags: `--all`, `--data`, `--no-workspace`.
1221
1223
 
1222
1224
  Create an API key. The secret is returned once. `POST /v1/api-keys`.
1223
1225
 
1224
- Flags: `--name`, `--expires-in-days`, `--template-id`, `--api-version`, `--data`, `--each`, `--concurrency`.
1226
+ Flags: `--name`, `--expires-in-days`, `--template-id`, `--api-version`, `--read-only`, `--no-read-only`, `--data`, `--each`, `--concurrency`.
1225
1227
 
1226
1228
  ### kenso api-keys delete
1227
1229
 
@@ -1237,9 +1239,9 @@ Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
1237
1239
 
1238
1240
  ### kenso api-keys update
1239
1241
 
1240
- Change the API version one of the caller's keys is pinned to. `PATCH /v1/api-keys/{apiKeyId}`.
1242
+ Rename one of the caller's keys, or change the API version it is pinned to. `PATCH /v1/api-keys/{apiKeyId}`.
1241
1243
 
1242
- Flags: `--api-key-id` (required), `--api-version`, `--data`, `--each`, `--concurrency`.
1244
+ Flags: `--api-key-id` (required), `--api-version`, `--name`, `--data`, `--each`, `--concurrency`.
1243
1245
 
1244
1246
  ## apollo-lists
1245
1247
 
@@ -9245,6 +9247,14 @@ Update a stakeholder. Absent fields stay unchanged; null clears. `PATCH /v1/stak
9245
9247
 
9246
9248
  Flags: `--stakeholder-id` (required), `--role`, `--priority`, `--coverage`, `--note`, `--reports-to-stakeholder-id`, `--ken-note`, `--overwrite-pinned`, `--no-overwrite-pinned`, `--data`, `--each`, `--concurrency`.
9247
9249
 
9250
+ ## status
9251
+
9252
+ ### kenso status get
9253
+
9254
+ Get Kenso's status. `GET /v1/status`.
9255
+
9256
+ Flags: `--each`, `--concurrency`.
9257
+
9248
9258
  ## studio
9249
9259
 
9250
9260
  ### kenso studio fill
@@ -10833,6 +10843,20 @@ Set the profile's default workspace. `GET /v1/workspaces/{workspaceId}`.
10833
10843
 
10834
10844
  Arguments: `<workspaceId>`.
10835
10845
 
10846
+ ## workspace-api-keys
10847
+
10848
+ ### kenso workspace-api-keys delete
10849
+
10850
+ Revoke an API key that reaches the workspace. `DELETE /v1/workspace-api-keys/{apiKeyId}`. Beta: needs `workspace_api_keys`.
10851
+
10852
+ Flags: `--api-key-id` (required), `--each`, `--concurrency`.
10853
+
10854
+ ### kenso workspace-api-keys list
10855
+
10856
+ List the API keys that reach the workspace. `GET /v1/workspace-api-keys`. Beta: needs `workspace_api_keys`.
10857
+
10858
+ Flags: `--each`, `--concurrency`.
10859
+
10836
10860
  ## workspace-data-deletions
10837
10861
 
10838
10862
  ### kenso workspace-data-deletions cancel
package/docs/work.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
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.
4
4
 
5
- Switch it on per kind in the app: **Settings > AI work**, then pick **My agent** for a kind. Switch a kind back to **Kenso AI** 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).
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
 
7
7
  | Command | What it does |
8
8
  |---|---|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.49",
3
+ "version": "0.1.51",
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": "d2ab9d0a429a88bceedc81ccae86658ffb6b864f"
52
+ "gitHead": "ce672cf2f0c484308cf606aac64c523a79ec52b8"
53
53
  }