kenso 0.1.61 → 0.1.63

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/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.61",
3
+ "version": "0.1.63",
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": "18cfa66b050f727cfa5fd3f5f8d487ebff752172"
52
+ "gitHead": "bedf76ce6d3fdebb4ec0b5ef5cff58ebc469c3a4"
53
53
  }