kenso 0.1.164 → 0.1.166

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.164 (API contracts 0c1603b739b1) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.166 (API contracts 057c5babd95b) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1956 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
+ 1962 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
 
@@ -182,8 +182,8 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
182
182
  - [dashboard](#dashboard) (1)
183
183
  - [dashboards](#dashboards) (8)
184
184
  - [data-retention](#data-retention) (2)
185
- - [deal-room-content](#deal-room-content) (1)
186
- - [deal-rooms](#deal-rooms) (4)
185
+ - [deal-room-content](#deal-room-content) (4)
186
+ - [deal-rooms](#deal-rooms) (6)
187
187
  - [deleted-accounts](#deleted-accounts) (1)
188
188
  - [deliverability-rules](#deliverability-rules) (1)
189
189
  - [delivery-defaults](#delivery-defaults) (3)
@@ -512,6 +512,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
512
512
  - [workflow-spend-limits](#workflow-spend-limits) (3)
513
513
  - [workflow-step-tests](#workflow-step-tests) (1)
514
514
  - [workflow-step-types](#workflow-step-types) (2)
515
+ - [workflow-summaries](#workflow-summaries) (1)
515
516
  - [workflow-table-rows](#workflow-table-rows) (3)
516
517
  - [workflow-tables](#workflow-tables) (5)
517
518
  - [workflow-templates](#workflow-templates) (2)
@@ -3183,7 +3184,7 @@ Flags: `--campaign-id` (required), `--each`, `--concurrency`.
3183
3184
 
3184
3185
  Update a campaign. `PATCH /v1/campaigns/{campaignId}`.
3185
3186
 
3186
- Flags: `--campaign-id` (required), `--name`, `--contact-limit`, `--sending-start-time`, `--sending-end-time`, `--sending-timezone`, `--max-emails-per-day`, `--owner-member-id`, `--stop-on-reply`, `--track-clicks`, `--track-opens`, `--unsubscribe-link`, `--send-as-plain-text`, `--protect-account-plays`, `--ramp-up-days`, `--stop-company-on-reply`, `--group-same-company-sends`, `--new-leads-first`, `--catch-all-lane-enabled`, `--booking-meeting-type-id`, `--reply-to`, `--role-id`, `--source-language`, `--language-mode`, `--language-fallback`, `--mode`, `--auto-launch-when-ready`, `--no-stop-on-reply`, `--no-track-clicks`, `--no-track-opens`, `--no-unsubscribe-link`, `--no-send-as-plain-text`, `--no-protect-account-plays`, `--no-stop-company-on-reply`, `--no-group-same-company-sends`, `--no-new-leads-first`, `--no-catch-all-lane-enabled`, `--no-auto-launch-when-ready`, `--data`, `--each`, `--concurrency`.
3187
+ Flags: `--campaign-id` (required), `--name`, `--contact-limit`, `--sending-start-time`, `--sending-end-time`, `--sending-timezone`, `--max-emails-per-day`, `--owner-member-id`, `--stop-on-reply`, `--track-clicks`, `--track-opens`, `--unsubscribe-link`, `--send-as-plain-text`, `--protect-account-plays`, `--ramp-up-days`, `--stop-company-on-reply`, `--group-same-company-sends`, `--new-leads-first`, `--warm-start`, `--catch-all-lane-enabled`, `--booking-meeting-type-id`, `--reply-to`, `--role-id`, `--source-language`, `--language-mode`, `--language-fallback`, `--mode`, `--auto-launch-when-ready`, `--no-stop-on-reply`, `--no-track-clicks`, `--no-track-opens`, `--no-unsubscribe-link`, `--no-send-as-plain-text`, `--no-protect-account-plays`, `--no-stop-company-on-reply`, `--no-group-same-company-sends`, `--no-new-leads-first`, `--no-warm-start`, `--no-catch-all-lane-enabled`, `--no-auto-launch-when-ready`, `--data`, `--each`, `--concurrency`.
3187
3188
 
3188
3189
  ### kenso campaigns update-agent-work
3189
3190
 
@@ -3979,7 +3980,7 @@ Flags: `--enabled`, `--threshold-credits`, `--pack-credits`, `--no-enabled`, `--
3979
3980
 
3980
3981
  Estimate the credits a job needs. `POST /v1/credits/estimates`.
3981
3982
 
3982
- Flags: `--kind`, `--campaign-id`, `--target-leads`, `--sequence-steps`, `--personalization`, `--depth`, `--account-count`, `--lead-count`, `--pages`, `--opens`, `--no-personalization`, `--data`, `--each`, `--concurrency`.
3983
+ Flags: `--kind`, `--campaign-id`, `--target-leads`, `--sequence-steps`, `--personalization`, `--depth`, `--account-count`, `--lead-count`, `--pages`, `--opens`, `--leads-per-month`, `--no-personalization`, `--data`, `--each`, `--concurrency`.
3983
3984
 
3984
3985
  ## credit-ledger
3985
3986
 
@@ -4331,6 +4332,24 @@ Flags: `--months`, `--data`, `--each`, `--concurrency`.
4331
4332
 
4332
4333
  ## deal-room-content
4333
4334
 
4335
+ ### kenso deal-room-content decide-request
4336
+
4337
+ Confirm or decline a deal room request. `POST /v1/deal-rooms/{dealRoomId}/questions/{questionId}/decision`. Beta: needs `deal_room`.
4338
+
4339
+ Flags: `--deal-room-id` (required), `--question-id` (required), `--decision`, `--note`, `--data`, `--each`, `--concurrency`.
4340
+
4341
+ ### kenso deal-room-content list-questions
4342
+
4343
+ List a deal room's questions. `GET /v1/deal-rooms/{dealRoomId}/questions` (a list). Beta: needs `deal_room`.
4344
+
4345
+ Flags: `--deal-room-id` (required), `--cursor`, `--kind`, `--limit`, `--status`, `--all`, `--each`, `--concurrency`.
4346
+
4347
+ ### kenso deal-room-content reply-question
4348
+
4349
+ Reply to a deal room question. `POST /v1/deal-rooms/{dealRoomId}/questions/{questionId}/reply`. Beta: needs `deal_room`.
4350
+
4351
+ Flags: `--deal-room-id` (required), `--question-id` (required), `--text`, `--save-to-library`, `--every-room`, `--no-save-to-library`, `--no-every-room`, `--data`, `--each`, `--concurrency`.
4352
+
4334
4353
  ### kenso deal-room-content update-section
4335
4354
 
4336
4355
  Edit, approve or switch off a section. `PATCH /v1/deal-rooms/{dealRoomId}/sections/{sectionKey}`. Beta: needs `deal_room`.
@@ -4351,12 +4370,24 @@ Return one deal room. `GET /v1/deal-rooms/{dealRoomId}`. Beta: needs `deal_room`
4351
4370
 
4352
4371
  Flags: `--deal-room-id` (required), `--each`, `--concurrency`.
4353
4372
 
4373
+ ### kenso deal-rooms get-visits
4374
+
4375
+ Get time per person and section. `GET /v1/deal-rooms/{dealRoomId}/visits`. Beta: needs `deal_room`.
4376
+
4377
+ Flags: `--deal-room-id` (required), `--each`, `--concurrency`.
4378
+
4354
4379
  ### kenso deal-rooms list
4355
4380
 
4356
4381
  List deal rooms. `GET /v1/deal-rooms` (a list). Beta: needs `deal_room`.
4357
4382
 
4358
4383
  Flags: `--cursor`, `--limit`, `--opportunity-id`, `--all`, `--each`, `--concurrency`.
4359
4384
 
4385
+ ### kenso deal-rooms list-activity
4386
+
4387
+ List a deal room's activity. `GET /v1/deal-rooms/{dealRoomId}/activity` (a list). Beta: needs `deal_room`.
4388
+
4389
+ Flags: `--deal-room-id` (required), `--cursor`, `--limit`, `--person-id`, `--type`, `--all`, `--each`, `--concurrency`.
4390
+
4360
4391
  ### kenso deal-rooms share
4361
4392
 
4362
4393
  Share a deal room. `POST /v1/deal-rooms/{dealRoomId}/share`. Beta: needs `deal_room`.
@@ -12873,6 +12904,14 @@ List every step type, or one kind. `GET /v1/workflow-step-types` (a list). Beta:
12873
12904
 
12874
12905
  Flags: `--cursor`, `--kind`, `--limit`, `--workflow-type`, `--all`, `--each`, `--concurrency`.
12875
12906
 
12907
+ ## workflow-summaries
12908
+
12909
+ ### kenso workflow-summaries get
12910
+
12911
+ Summarize one workflow. `GET /v1/workflows/{workflowId}/summary`. Beta: needs `workflows` and `workflows_power`.
12912
+
12913
+ Flags: `--workflow-id` (required), `--each`, `--concurrency`.
12914
+
12876
12915
  ## workflow-table-rows
12877
12916
 
12878
12917
  ### kenso workflow-table-rows delete
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.164",
3
+ "version": "0.1.166",
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": "f87b72c954b05a8a8fa587002aa099ac97e01a8b"
52
+ "gitHead": "a0c29be7a44a4e6c005b98d6cb4ff8cb216a3271"
53
53
  }
@@ -7,6 +7,12 @@ description: "Use for any outbound work in Kenso: leads, lists, campaigns, seque
7
7
 
8
8
  This skill comes first for any work in Kenso. It sends you to the skill for the job and sets the rules every other Kenso skill follows: the workspace, spend, sends and the final reply. When another skill says "the spend rules", it means section 5 below.
9
9
 
10
+ **Rules that hold in every Kenso job:**
11
+
12
+ - Name the workspace before the first change: "I will work in <name> (<id>)."
13
+ - Before the real run of anything that can charge or send, `kenso workflows run` included and also when the dry run's `credits.needed` is 0: show the section 5 approval block with the dry run's numbers and wait for the person's yes. A request such as "run it on them", given before the person saw the estimate, is not that yes.
14
+ - End every job with the section 9 final reply, all five lines.
15
+
10
16
  ## 1. First
11
17
 
12
18
  ```bash
@@ -33,6 +39,8 @@ kenso describe email-finds create
33
39
  3. Run it with `--dry-run` and read the plan: what it would send and, for paid work, `credits` with `needed`, `available` and `sufficient` (`null` where the CLI could not read or price it). A `null` `needed` is unknown, never free: ask before you run it.
34
40
  4. Run it for real only as the rules below allow, with the plan's `next`.
35
41
 
42
+ Run `kenso` commands without a pipe, so the exit code and stderr stay visible. Trim the output with `-o json` and `--query <JMESPath>` instead of `head`, `cut` or `grep`.
43
+
36
44
  While you only look around, set `KENSO_READ_ONLY=1`: any command that is not a read is then refused before it sends anything, and a `--dry-run` still prints its plan.
37
45
 
38
46
  ## 3. Which skill
@@ -108,7 +116,7 @@ These rules hold in every Kenso skill.
108
116
  - Any other paid batch: sample with a file of 3 to 5 rows, then run the rest from a file without them.
109
117
  - Prices come from a `--dry-run`, `kenso credits quote` or `kenso credits rate-card`, never from memory or from a skill.
110
118
  - `Effect: write.` or `Effect: send.` in a command's help is not proof that it is free: not every route that charges is marked, and `kenso workflows run` is a send that charges for its steps. The dry run or `kenso credits quote` is the authority.
111
- - Ask once, with one approval block, and wait for the yes:
119
+ - Ask once, with one approval block, and wait for the yes, also when `credits.needed` is 0:
112
120
 
113
121
  ```text
114
122
  Plan: <what will run>
@@ -149,6 +157,8 @@ kenso workflows run qualify.workflow.json --ids ids.txt --max-credits <cap> --dr
149
157
  kenso workflows run qualify.workflow.json --ids ids.txt --max-credits <cap> --wait --out results.csv --yes
150
158
  ```
151
159
 
160
+ Queued runs can wait up to 15 minutes before they start, longer than many coding agents let one command run. So run the `--wait` command in the background with no pipe and read its result when it ends, or add `--timeout 5m` and run the same command again while the summary's `waiting` is above 0: a rerun starts nothing again, follows only this input's runs and rewrites the `--out` file. A run still queued or running is not a failure: say so in the final reply, with that command to check it.
161
+
152
162
  ## 8. Your own agent plan: kenso work
153
163
 
154
164
  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.
@@ -33,6 +33,8 @@
33
33
  "kenso": [
34
34
  "6fb333a826726d51ba2ea3927745f843343490c8aa9098e5da682d24172323f7",
35
35
  "7d88215cf4e6eb7aaeb28d22839fc3006c57a0491e12dde86db7623b635d6f90",
36
- "875c8ed2738ecdc963377be449c21f40c623a0750baf361d3e51b22818cf8e9d"
36
+ "875c8ed2738ecdc963377be449c21f40c623a0750baf361d3e51b22818cf8e9d",
37
+ "3d067823c28aee5cb7f0cd1f564ab7b514eae2f8580cf1b323733a5bf783f074",
38
+ "d7177ed1fb80d0433f5a3f6301e278b5434c07a65089fae75e624d9c9266e6d8"
37
39
  ]
38
40
  }