kenso 0.1.61 → 0.1.62
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 +4 -0
- package/dist/kenso.js +22 -9
- package/dist/operations.json +1 -1
- package/docs/reference.md +10 -10
- package/docs/work.md +12 -2
- package/package.json +2 -2
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.62 (API contracts 4d06ba0209d1) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
5
|
1632 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
|
|
|
@@ -920,13 +920,13 @@ Flags: `--each`, `--concurrency`.
|
|
|
920
920
|
|
|
921
921
|
Claim agent work. `POST /v1/agent-work/claims`. Beta: needs `agent_work`.
|
|
922
922
|
|
|
923
|
-
Flags: `--campaign-id`, `--limit`, `--lease-minutes`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
|
|
923
|
+
Flags: `--campaign-id`, `--limit`, `--lease-minutes`, `--scope`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
|
|
924
924
|
|
|
925
925
|
### kenso agent-work get
|
|
926
926
|
|
|
927
927
|
Get the agent work queue. `GET /v1/agent-work`. Beta: needs `agent_work`.
|
|
928
928
|
|
|
929
|
-
Flags: `--campaign-id`, `--each`, `--concurrency`.
|
|
929
|
+
Flags: `--campaign-id`, `--scope`, `--each`, `--concurrency`.
|
|
930
930
|
|
|
931
931
|
### kenso agent-work release-claim
|
|
932
932
|
|
|
@@ -2820,7 +2820,7 @@ Flags: `--campaign-id` (required), `--idempotency-key`, `--each`, `--concurrency
|
|
|
2820
2820
|
|
|
2821
2821
|
List campaigns. `GET /v1/campaigns` (a list).
|
|
2822
2822
|
|
|
2823
|
-
Flags: `--cursor`, `--include-tag-ids`, `--kind`, `--limit`, `--search`, `--status`, `--no-include-tag-ids`, `--all`, `--each`, `--concurrency`.
|
|
2823
|
+
Flags: `--created-after`, `--created-before`, `--cursor`, `--include-tag-ids`, `--kind`, `--limit`, `--search`, `--sort`, `--status`, `--no-include-tag-ids`, `--all`, `--each`, `--concurrency`.
|
|
2824
2824
|
|
|
2825
2825
|
### kenso campaigns list-ai-workflows
|
|
2826
2826
|
|
|
@@ -4388,7 +4388,7 @@ Flags: `--funding-round-id` (required), `--each`, `--concurrency`.
|
|
|
4388
4388
|
|
|
4389
4389
|
### kenso funding-rounds get-export-allowance
|
|
4390
4390
|
|
|
4391
|
-
Get the export allowance. `GET /v1/funding-rounds/export-allowance`.
|
|
4391
|
+
Get the funding round export allowance. `GET /v1/funding-rounds/export-allowance`.
|
|
4392
4392
|
|
|
4393
4393
|
Flags: `--each`, `--concurrency`.
|
|
4394
4394
|
|
|
@@ -4990,7 +4990,7 @@ Flags: `--job-posting-id` (required), `--each`, `--concurrency`.
|
|
|
4990
4990
|
|
|
4991
4991
|
### kenso job-postings get-export-allowance
|
|
4992
4992
|
|
|
4993
|
-
Get the export allowance. `GET /v1/job-postings/export-allowance`.
|
|
4993
|
+
Get the job posting export allowance. `GET /v1/job-postings/export-allowance`.
|
|
4994
4994
|
|
|
4995
4995
|
Flags: `--each`, `--concurrency`.
|
|
4996
4996
|
|
|
@@ -8610,7 +8610,7 @@ Flags: `--each`, `--concurrency`.
|
|
|
8610
8610
|
|
|
8611
8611
|
### kenso search get-company
|
|
8612
8612
|
|
|
8613
|
-
Get a company. `GET /v1/search/companies/{companyId}`.
|
|
8613
|
+
Get a company from Search. `GET /v1/search/companies/{companyId}`.
|
|
8614
8614
|
|
|
8615
8615
|
Flags: `--company-id` (required), `--each`, `--concurrency`.
|
|
8616
8616
|
|
|
@@ -10560,7 +10560,7 @@ Show the key's user, workspace and expiry. API operations: `me.get`, `api-keys.l
|
|
|
10560
10560
|
|
|
10561
10561
|
Claim waiting work into local work files, to answer by hand. API operations: `agent-work.create-claim`, `agent-work.release-claim`. Beta: needs `agent_work`.
|
|
10562
10562
|
|
|
10563
|
-
Flags: `--campaign`, `--files`, `--kind`, `--lease`, `--out`, `--per-file`.
|
|
10563
|
+
Flags: `--campaign`, `--files`, `--kind`, `--lease`, `--live-only`, `--out`, `--per-file`.
|
|
10564
10564
|
|
|
10565
10565
|
### kenso work release
|
|
10566
10566
|
|
|
@@ -10572,13 +10572,13 @@ Arguments: `<claim>`.
|
|
|
10572
10572
|
|
|
10573
10573
|
Run your own coding agent on the waiting work until the queue is empty. API operations: `agent-work.create-claim`, `agent-work.submit-answers`, `agent-work.release-claim`, `agent-work.create-agent-key`. Beta: needs `agent_work`.
|
|
10574
10574
|
|
|
10575
|
-
Flags: `--agent` (required), `--agent-bin`, `--agent-tools`, `--agent-user`, `--allow-unconfined`, `--campaign`, `--kind`, `--lease`, `--max-items`, `--model`, `--no-research`, `--out`, `--parallel`, `--per-file`, `--timeout`, `--token-stdin`, `--watch`.
|
|
10575
|
+
Flags: `--agent` (required), `--agent-bin`, `--agent-tools`, `--agent-user`, `--allow-unconfined`, `--campaign`, `--kind`, `--lease`, `--live-only`, `--max-items`, `--model`, `--no-research`, `--out`, `--parallel`, `--per-file`, `--timeout`, `--token-stdin`, `--watch`.
|
|
10576
10576
|
|
|
10577
10577
|
### kenso work status
|
|
10578
10578
|
|
|
10579
10579
|
Show the Kenso AI work waiting for your own agent, per kind. `GET /v1/agent-work`. Beta: needs `agent_work`.
|
|
10580
10580
|
|
|
10581
|
-
Flags: `--campaign`.
|
|
10581
|
+
Flags: `--campaign`, `--live-only`.
|
|
10582
10582
|
|
|
10583
10583
|
### kenso work submit
|
|
10584
10584
|
|
package/docs/work.md
CHANGED
|
@@ -19,7 +19,16 @@ kenso work status
|
|
|
19
19
|
kenso work run --agent claude
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
`status` prints one row per kind: `executor` (`kenso_ai` or `my_agent`), `waiting` (items your agent can take now), `claimed` (items held by open claims), `heldBy` (`billing_blocked`, `out_of_credits` or `ai_paused` when Kenso holds the kind back) and `lastAcceptedAt`. `--campaign <id>` counts one campaign.
|
|
22
|
+
`status` prints one row per kind: `executor` (`kenso_ai` or `my_agent`), `waiting` (items your agent can take now), `claimed` (items held by open claims), `heldBy` (`billing_blocked`, `out_of_credits` or `ai_paused` when Kenso holds the kind back) and `lastAcceptedAt`. `--campaign <id>` counts one campaign. `--live-only` counts only live campaigns (see below).
|
|
23
|
+
|
|
24
|
+
### Live campaigns only
|
|
25
|
+
|
|
26
|
+
By default the queue holds the campaign kinds' work (qualification, segmentation, personalization, rewriting) in every campaign that is not deleted or AI-paused, a Draft, finished or errored campaign included, so a run you start by hand can work a Draft campaign on purpose. Kenso's AI never works on those campaigns by itself. `--live-only` on `status`, `run` and `pull` (the API's `scope=live`) leaves them out: your agent gets only the work Kenso's AI would have done. Use it for a run nobody watches, such as `run --watch`. Meeting briefs, call briefs, workflow prompts and background AI are not tied to a campaign and are the same either way.
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
kenso work status --live-only
|
|
30
|
+
kenso work run --agent claude --watch --live-only
|
|
31
|
+
```
|
|
23
32
|
|
|
24
33
|
`run` repeats one job per work file, with up to 16 agents at once:
|
|
25
34
|
|
|
@@ -42,6 +51,7 @@ kenso work run --agent claude --watch
|
|
|
42
51
|
| `--parallel` | 16 | Agents running at once, 1 to 16 |
|
|
43
52
|
| `--per-file` | 10 | Items per work file (one claim), 1 to 50 |
|
|
44
53
|
| `--kind`, `--campaign` | all | Only this kind (repeat or comma-separate) or this campaign's work |
|
|
54
|
+
| `--live-only` | off | Only the campaigns Kenso's AI works on by itself: no Draft, finished or errored campaign's leads |
|
|
45
55
|
| `--max-items` | none | Stop after claiming this many items |
|
|
46
56
|
| `--model` | the agent's | The model the agent runs |
|
|
47
57
|
| `--timeout` | 15m | Stop one job's agent after this long; shorter than `--lease` |
|
|
@@ -95,7 +105,7 @@ kenso work submit ~/.kenso/runs/r_ab3dxk2q/*.answers.json
|
|
|
95
105
|
kenso work release awc_8fK2Qm1xYp3Lr7Tn0Va9Bc
|
|
96
106
|
```
|
|
97
107
|
|
|
98
|
-
1. `pull` makes one claim per file, up to `--files` (default 16), and writes `<claimId>.work.json` files into `--out` or a new folder under the runs directory. It stops early when the queue is empty. It prints the folder and, per file, its claim id, kind, item count and expiry, and a `next` with the submit command; never the items' text, so rows never pass through the calling agent's context.
|
|
108
|
+
1. `pull` makes one claim per file, up to `--files` (default 16; `--kind`, `--campaign` and `--live-only` narrow it as for `run`), and writes `<claimId>.work.json` files into `--out` or a new folder under the runs directory. It stops early when the queue is empty. It prints the folder and, per file, its claim id, kind, item count and expiry, and a `next` with the submit command; never the items' text, so rows never pass through the calling agent's context.
|
|
99
109
|
2. Answer each work file into `<claimId>.answers.json` next to it. An agent with subagents gives each work file to its own subagent, with only the file's path: "Read this work file and write its answers file as its rules say."
|
|
100
110
|
3. `submit` sends the answers files and prints the counts.
|
|
101
111
|
4. `release` gives back a claim you will not finish. Unanswered items also go back on their own when the claim expires.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.62",
|
|
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": "864bf0c3c93b6ed21d4d253252e2467c2b536aaa"
|
|
53
53
|
}
|