kenso 0.1.165 → 0.1.167

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.165 (API contracts d468285d7caa) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.167 (API contracts 3c3df5f764ce) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1959 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
+ 1963 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
 
@@ -50,6 +50,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
50
50
  - [ai-assist-reservations](#ai-assist-reservations) (1)
51
51
  - [ai-cost-estimate](#ai-cost-estimate) (1)
52
52
  - [ai-feedback](#ai-feedback) (5)
53
+ - [ai-limit-usage](#ai-limit-usage) (1)
53
54
  - [ai-line-holds](#ai-line-holds) (2)
54
55
  - [ai-lines](#ai-lines) (3)
55
56
  - [ai-runs](#ai-runs) (5)
@@ -183,7 +184,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
183
184
  - [dashboards](#dashboards) (8)
184
185
  - [data-retention](#data-retention) (2)
185
186
  - [deal-room-content](#deal-room-content) (4)
186
- - [deal-rooms](#deal-rooms) (4)
187
+ - [deal-rooms](#deal-rooms) (6)
187
188
  - [deleted-accounts](#deleted-accounts) (1)
188
189
  - [deliverability-rules](#deliverability-rules) (1)
189
190
  - [delivery-defaults](#delivery-defaults) (3)
@@ -512,6 +513,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
512
513
  - [workflow-spend-limits](#workflow-spend-limits) (3)
513
514
  - [workflow-step-tests](#workflow-step-tests) (1)
514
515
  - [workflow-step-types](#workflow-step-types) (2)
516
+ - [workflow-summaries](#workflow-summaries) (1)
515
517
  - [workflow-table-rows](#workflow-table-rows) (3)
516
518
  - [workflow-tables](#workflow-tables) (5)
517
519
  - [workflow-templates](#workflow-templates) (2)
@@ -1173,6 +1175,14 @@ Record that the caller regenerated a Ken draft or suggestion. `POST /v1/ai-feedb
1173
1175
 
1174
1176
  Flags: `--surface`, `--target-ref`, `--signal`, `--data`, `--each`, `--concurrency`.
1175
1177
 
1178
+ ## ai-limit-usage
1179
+
1180
+ ### kenso ai-limit-usage get
1181
+
1182
+ Read the AI limit's use by kind of work and by campaign. `GET /v1/billing/ai-limit-usage`.
1183
+
1184
+ Flags: `--each`, `--concurrency`.
1185
+
1176
1186
  ## ai-line-holds
1177
1187
 
1178
1188
  ### kenso ai-line-holds approve
@@ -3183,7 +3193,7 @@ Flags: `--campaign-id` (required), `--each`, `--concurrency`.
3183
3193
 
3184
3194
  Update a campaign. `PATCH /v1/campaigns/{campaignId}`.
3185
3195
 
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`.
3196
+ 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
3197
 
3188
3198
  ### kenso campaigns update-agent-work
3189
3199
 
@@ -3979,7 +3989,7 @@ Flags: `--enabled`, `--threshold-credits`, `--pack-credits`, `--no-enabled`, `--
3979
3989
 
3980
3990
  Estimate the credits a job needs. `POST /v1/credits/estimates`.
3981
3991
 
3982
- Flags: `--kind`, `--campaign-id`, `--target-leads`, `--sequence-steps`, `--personalization`, `--depth`, `--account-count`, `--lead-count`, `--pages`, `--opens`, `--no-personalization`, `--data`, `--each`, `--concurrency`.
3992
+ 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
3993
 
3984
3994
  ## credit-ledger
3985
3995
 
@@ -4369,12 +4379,24 @@ Return one deal room. `GET /v1/deal-rooms/{dealRoomId}`. Beta: needs `deal_room`
4369
4379
 
4370
4380
  Flags: `--deal-room-id` (required), `--each`, `--concurrency`.
4371
4381
 
4382
+ ### kenso deal-rooms get-visits
4383
+
4384
+ Get time per person and section. `GET /v1/deal-rooms/{dealRoomId}/visits`. Beta: needs `deal_room`.
4385
+
4386
+ Flags: `--deal-room-id` (required), `--each`, `--concurrency`.
4387
+
4372
4388
  ### kenso deal-rooms list
4373
4389
 
4374
4390
  List deal rooms. `GET /v1/deal-rooms` (a list). Beta: needs `deal_room`.
4375
4391
 
4376
4392
  Flags: `--cursor`, `--limit`, `--opportunity-id`, `--all`, `--each`, `--concurrency`.
4377
4393
 
4394
+ ### kenso deal-rooms list-activity
4395
+
4396
+ List a deal room's activity. `GET /v1/deal-rooms/{dealRoomId}/activity` (a list). Beta: needs `deal_room`.
4397
+
4398
+ Flags: `--deal-room-id` (required), `--cursor`, `--limit`, `--person-id`, `--type`, `--all`, `--each`, `--concurrency`.
4399
+
4378
4400
  ### kenso deal-rooms share
4379
4401
 
4380
4402
  Share a deal room. `POST /v1/deal-rooms/{dealRoomId}/share`. Beta: needs `deal_room`.
@@ -7689,7 +7711,7 @@ Flags: `--meeting-id` (required), `--each`, `--concurrency`.
7689
7711
 
7690
7712
  Approve and send the meeting's follow-up draft. `POST /v1/meetings/{meetingId}/follow-up-draft/approve`. Beta: needs `meeting_call_types` and `meeting_follow_up` and `meetings`.
7691
7713
 
7692
- Flags: `--meeting-id` (required), `--each`, `--concurrency`.
7714
+ Flags: `--meeting-id` (required), `--updated-at`, `--data`, `--each`, `--concurrency`.
7693
7715
 
7694
7716
  ### kenso meetings create
7695
7717
 
@@ -12891,6 +12913,14 @@ List every step type, or one kind. `GET /v1/workflow-step-types` (a list). Beta:
12891
12913
 
12892
12914
  Flags: `--cursor`, `--kind`, `--limit`, `--workflow-type`, `--all`, `--each`, `--concurrency`.
12893
12915
 
12916
+ ## workflow-summaries
12917
+
12918
+ ### kenso workflow-summaries get
12919
+
12920
+ Summarize one workflow. `GET /v1/workflows/{workflowId}/summary`. Beta: needs `workflows` and `workflows_power`.
12921
+
12922
+ Flags: `--workflow-id` (required), `--each`, `--concurrency`.
12923
+
12894
12924
  ## workflow-table-rows
12895
12925
 
12896
12926
  ### kenso workflow-table-rows delete
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.165",
3
+ "version": "0.1.167",
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": "a37ad3ad826e901377e37a15714b8d9a4d5d5a64"
52
+ "gitHead": "6b8125469acfd9880b1a9378052ab9f21dec5254"
53
53
  }
@@ -39,6 +39,8 @@ kenso describe email-finds create
39
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.
40
40
  4. Run it for real only as the rules below allow, with the plan's `next`.
41
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
+
42
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.
43
45
 
44
46
  ## 3. Which skill
@@ -155,6 +157,8 @@ kenso workflows run qualify.workflow.json --ids ids.txt --max-credits <cap> --dr
155
157
  kenso workflows run qualify.workflow.json --ids ids.txt --max-credits <cap> --wait --out results.csv --yes
156
158
  ```
157
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
+
158
162
  ## 8. Your own agent plan: kenso work
159
163
 
160
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.
@@ -34,6 +34,7 @@
34
34
  "6fb333a826726d51ba2ea3927745f843343490c8aa9098e5da682d24172323f7",
35
35
  "7d88215cf4e6eb7aaeb28d22839fc3006c57a0491e12dde86db7623b635d6f90",
36
36
  "875c8ed2738ecdc963377be449c21f40c623a0750baf361d3e51b22818cf8e9d",
37
- "3d067823c28aee5cb7f0cd1f564ab7b514eae2f8580cf1b323733a5bf783f074"
37
+ "3d067823c28aee5cb7f0cd1f564ab7b514eae2f8580cf1b323733a5bf783f074",
38
+ "d7177ed1fb80d0433f5a3f6301e278b5434c07a65089fae75e624d9c9266e6d8"
38
39
  ]
39
40
  }