kenso 0.1.212 → 0.1.214

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/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.212 (API contracts 1d5afa9d5e5d) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.214 (API contracts 0098a176735a) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 2086 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
+ 2097 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
 
@@ -201,6 +201,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
201
201
  - [deal-room-answers](#deal-room-answers) (9)
202
202
  - [deal-room-buyer-inputs](#deal-room-buyer-inputs) (10)
203
203
  - [deal-room-content](#deal-room-content) (25)
204
+ - [deal-room-signing](#deal-room-signing) (8)
204
205
  - [deal-rooms](#deal-rooms) (15)
205
206
  - [deal-watch](#deal-watch) (3)
206
207
  - [deal-watch-actions](#deal-watch-actions) (4)
@@ -248,7 +249,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
248
249
  - [google-sheets](#google-sheets) (2)
249
250
  - [granola-connection](#granola-connection) (3)
250
251
  - [hosting-hostname](#hosting-hostname) (4)
251
- - [image-variables](#image-variables) (10)
252
+ - [image-variables](#image-variables) (13)
252
253
  - [images](#images) (1)
253
254
  - [imessage-lines](#imessage-lines) (7)
254
255
  - [imessage-media](#imessage-media) (2)
@@ -4823,6 +4824,56 @@ Edit, approve or switch off a section. `PATCH /v1/deal-rooms/{dealRoomId}/sectio
4823
4824
 
4824
4825
  Flags: `--deal-room-id` (required), `--section-key` (required), `--status`, `--if-updated-at`, `--data`, `--each`, `--concurrency`.
4825
4826
 
4827
+ ## deal-room-signing
4828
+
4829
+ ### kenso deal-room-signing create-document
4830
+
4831
+ Prepare a document for signing from a file of the room. `POST /v1/deal-rooms/{dealRoomId}/signing-documents`. Beta: needs `deal_room`.
4832
+
4833
+ Flags: `--deal-room-id` (required), `--source-kind`, `--file-id`, `--template-id`, `--version-number`, `--title`, `--data`, `--each`, `--concurrency`.
4834
+
4835
+ ### kenso deal-room-signing discard-document
4836
+
4837
+ Discard a draft. `POST /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}/discard`. Beta: needs `deal_room`.
4838
+
4839
+ Flags: `--deal-room-id` (required), `--document-id` (required), `--each`, `--concurrency`.
4840
+
4841
+ ### kenso deal-room-signing get-document
4842
+
4843
+ Get one signing document with its history. `GET /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}`. Beta: needs `deal_room`.
4844
+
4845
+ Flags: `--deal-room-id` (required), `--document-id` (required), `--each`, `--concurrency`.
4846
+
4847
+ ### kenso deal-room-signing get-document-link
4848
+
4849
+ Get a short-lived link to download a copy of a document. `GET /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}/link`. Beta: needs `deal_room`.
4850
+
4851
+ Flags: `--deal-room-id` (required), `--document-id` (required), `--kind`, `--each`, `--concurrency`.
4852
+
4853
+ ### kenso deal-room-signing list-documents
4854
+
4855
+ List a deal room's signing documents. `GET /v1/deal-rooms/{dealRoomId}/signing-documents`. Beta: needs `deal_room`.
4856
+
4857
+ Flags: `--deal-room-id` (required), `--status`, `--each`, `--concurrency`.
4858
+
4859
+ ### kenso deal-room-signing set-fields
4860
+
4861
+ Set a draft's fields. `PUT /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}/fields`. Beta: needs `deal_room`.
4862
+
4863
+ Flags: `--deal-room-id` (required), `--document-id` (required), `--if-updated-at`, `--data`, `--each`, `--concurrency`.
4864
+
4865
+ ### kenso deal-room-signing set-signers
4866
+
4867
+ Set who signs a draft, in order. `PUT /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}/signers`. Beta: needs `deal_room`.
4868
+
4869
+ Flags: `--deal-room-id` (required), `--document-id` (required), `--if-updated-at`, `--data`, `--each`, `--concurrency`.
4870
+
4871
+ ### kenso deal-room-signing update-document
4872
+
4873
+ Rename a draft, change its signing order, or move its end date. `PATCH /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}`. Beta: needs `deal_room`.
4874
+
4875
+ Flags: `--deal-room-id` (required), `--document-id` (required), `--title`, `--signing-order`, `--expires-at`, `--data`, `--each`, `--concurrency`.
4876
+
4826
4877
  ## deal-rooms
4827
4878
 
4828
4879
  ### kenso deal-rooms add-person
@@ -5955,11 +6006,29 @@ Delete an image variable. `DELETE /v1/campaigns/{campaignId}/image-variables/{va
5955
6006
 
5956
6007
  Flags: `--campaign-id` (required), `--variable-key` (required), `--each`, `--concurrency`.
5957
6008
 
6009
+ ### kenso image-variables drafts-create
6010
+
6011
+ Create a draft of an image variable. `POST /v1/campaigns/{campaignId}/image-variables/{variableKey}/drafts`. Beta: needs `campaign_images` and `deepinfra_images`.
6012
+
6013
+ Flags: `--campaign-id` (required), `--variable-key` (required), `--file`, `--prompt`, `--model`, `--from-draft-id`, `--url`, `--data`, `--each`, `--concurrency`.
6014
+
6015
+ ### kenso image-variables drafts-list
6016
+
6017
+ List an image variable's drafts. `GET /v1/campaigns/{campaignId}/image-variables/{variableKey}/drafts` (a list). Beta: needs `campaign_images` and `deepinfra_images`.
6018
+
6019
+ Flags: `--campaign-id` (required), `--variable-key` (required), `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
6020
+
6021
+ ### kenso image-variables drafts-use
6022
+
6023
+ Use a draft as an image variable's image. `POST /v1/campaigns/{campaignId}/image-variables/{variableKey}/drafts/{draftId}/use`. Beta: needs `campaign_images` and `deepinfra_images`.
6024
+
6025
+ Flags: `--campaign-id` (required), `--variable-key` (required), `--draft-id` (required), `--each`, `--concurrency`.
6026
+
5958
6027
  ### kenso image-variables estimate
5959
6028
 
5960
6029
  Estimate an image variable's cost. `POST /v1/campaigns/{campaignId}/image-variables/{variableKey}/estimate`. Beta: needs `campaign_images`.
5961
6030
 
5962
- Flags: `--campaign-id` (required), `--variable-key` (required), `--prompt`, `--model`, `--size`, `--quality`, `--format`, `--frame-count`, `--frame-duration-ms`, `--spelling-check`, `--no-spelling-check`, `--data`, `--each`, `--concurrency`.
6031
+ Flags: `--campaign-id` (required), `--variable-key` (required), `--prompt`, `--model`, `--size`, `--quality`, `--format`, `--frame-count`, `--frame-duration-ms`, `--spelling-check`, `--base-draft-id`, `--no-spelling-check`, `--data`, `--each`, `--concurrency`.
5963
6032
 
5964
6033
  ### kenso image-variables get
5965
6034
 
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, workflow prompts, 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) and images (each lead's campaign image: see [Images](#images)). 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 runs at no Kenso cost.
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 **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).
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. Agent work is on for every workspace. Where it is turned off for a workspace, the `kenso work` commands 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.212",
3
+ "version": "0.1.214",
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": "c9af349f18e63d8c1c60c1b0188ec475358a37ed"
52
+ "gitHead": "98d09fc504b740548370678d94cd021de669064d"
53
53
  }
@@ -162,7 +162,7 @@ Queued runs can wait up to 15 minutes before they start, longer than many coding
162
162
 
163
163
  ## 8. Your own agent plan: kenso work
164
164
 
165
- Where your workspace has it, `kenso work` runs Kenso AI steps on your own Claude or Codex plan at 0 Kenso AI credits. Check with `kenso work status`: it lists what waits for your agent, and answers `not_found` when the workspace does not have it yet. When most of an estimate is AI steps, name this to the person as an option before they approve.
165
+ Every workspace has `kenso work`: it runs Kenso AI steps, each lead's campaign image included, on your own Claude or Codex plan, at no Kenso cost. A member picks My agent per kind in Settings > AI work. Check with `kenso work status`: it lists what waits for your agent, and answers `not_found` only where agent work is turned off for the workspace. When most of an estimate is AI steps, name this to the person as an option before they approve.
166
166
 
167
167
  ```bash
168
168
  kenso work status
@@ -32,7 +32,7 @@ Charges: follow the kenso skill's spend rules; the dry run of a `spend` command
32
32
 
33
33
  ## Work (beta): My agent
34
34
 
35
- A workspace can set a kind of Kenso AI work (personalization, qualification, segmentation, rewriting, meeting brief, call brief, workflow prompt) to My agent in Settings > AI work: then it waits for the person's own coding agent, at 0 Kenso AI credits. The `kenso work` commands take no `--dry-run`. Never read the items' text into the chat: the files carry it.
35
+ Every workspace can set a kind of Kenso AI work (personalization, qualification, segmentation, rewriting, meeting brief, call brief, workflow prompt, image) to My agent in Settings > AI work: then it waits for the person's own coding agent, and runs at no Kenso cost. The `kenso work` commands take no `--dry-run`. Never read the items' text into the chat: the files carry it.
36
36
 
37
37
  ```bash
38
38
  kenso work status # what waits, per kind
@@ -30,7 +30,8 @@
30
30
  "df7d86e0af12727cf15cf0620f26ef4fe9aac63f0180f3594e4d357cf14b40d2",
31
31
  "812bb97591cefa7eb23596105ce63dfd382c0bd4c68e8b5d179775e9b72e927a",
32
32
  "d1319079d2ec55423764e214c7ab833c076da223b0880081c190d9adc677b1d1",
33
- "171117b04b4082d8fc1e4309397b42fa8753f1b7780eafc23f1c1498b46009ce"
33
+ "171117b04b4082d8fc1e4309397b42fa8753f1b7780eafc23f1c1498b46009ce",
34
+ "bf12314c593755c058af003b22688b19728e06475729dedb5576b99de77c9c68"
34
35
  ],
35
36
  "kenso": [
36
37
  "6fb333a826726d51ba2ea3927745f843343490c8aa9098e5da682d24172323f7",
@@ -38,6 +39,7 @@
38
39
  "875c8ed2738ecdc963377be449c21f40c623a0750baf361d3e51b22818cf8e9d",
39
40
  "3d067823c28aee5cb7f0cd1f564ab7b514eae2f8580cf1b323733a5bf783f074",
40
41
  "d7177ed1fb80d0433f5a3f6301e278b5434c07a65089fae75e624d9c9266e6d8",
41
- "d58f4c31a7c8ce632f47c9e2b533ba5249c8fcc51ce3c0561dcae123d5f43f0e"
42
+ "d58f4c31a7c8ce632f47c9e2b533ba5249c8fcc51ce3c0561dcae123d5f43f0e",
43
+ "35dfd4221c650bc15b01e1098617c9df698006eefd2ec95262689151df078435"
42
44
  ]
43
45
  }