kenso 0.1.193 → 0.1.194

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,6 +1,6 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.193 (API contracts 8a571a9ab9ba) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.194 (API contracts 08c477542f13) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
5
  2019 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
 
@@ -12911,7 +12911,7 @@ Arguments: `<claim>`.
12911
12911
 
12912
12912
  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`.
12913
12913
 
12914
- 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`.
12914
+ 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`, `--pin-proxy`, `--proxy-by-name`, `--timeout`, `--token-stdin`, `--watch`.
12915
12915
 
12916
12916
  ### kenso work status
12917
12917
 
package/docs/work.md CHANGED
@@ -39,7 +39,7 @@ kenso work run --agent claude --watch --live-only
39
39
 
40
40
  The agent never gets the Kenso API key and never runs `kenso`: the loop claims and submits. The agent uses its own login and plan; API key variables such as `ANTHROPIC_API_KEY` are removed from its environment so the plan login is the one used. Its environment holds only what a CLI needs from yours: `PATH`, `HOME`, `USER`, `LOGNAME`, `SHELL`, `TERM`, the locale (`LANG`, `LANGUAGE`, `LC_*`, `TZ`), the temp folder, the `XDG_*` folders, your proxy and CA variables, the Windows profile variables, and the agent's own (`CLAUDE_CONFIG_DIR` and `CLAUDE_CODE_OAUTH_TOKEN` for Claude Code, `CODEX_HOME` for Codex). Every other variable you have exported stays out of it.
41
41
 
42
- With web research on, each job holds one lead, so text in one lead that steers the agent can reach only that lead's own data, never the rest of a batch. That makes a run slower: one agent start per lead. `--per-file` above 1 with web research still works and warns. The agent's web traffic goes through a proxy `run` starts on `127.0.0.1` (its `HTTP_PROXY` and `HTTPS_PROXY`), which refuses every address that is not on the public internet: loopback, private, link-local and the other special ranges, named as an IP address or by a name that resolves to one. When you have a proxy of your own in `HTTPS_PROXY`, `HTTP_PROXY` or `ALL_PROXY` (the first one set), `run` checks each address the same way on your machine and then passes the traffic on to your proxy by name; a name your machine cannot resolve is refused, and your `NO_PROXY` does not apply to the agents. Your proxy looks each name up again, so this check cannot pin the address your proxy reaches: for the full guarantee, unset the proxy for the run or add `--no-research`. When your proxy refuses the agents' traffic (a wrong login, for example) or cannot be reached, `run` warns once. It passes traffic on to an `http://` or `https://` proxy only: with a SOCKS proxy there, `run` does not start, so set that variable to an `http://` proxy for the run or add `--no-research`. The proxy holds an agent that sends its web traffic through `HTTPS_PROXY`, as Claude Code's fetch and search tools do: an unconfined agent that runs commands (`--allow-unconfined`) can go around it.
42
+ With web research on, each job holds one lead, so text in one lead that steers the agent can reach only that lead's own data, never the rest of a batch. That makes a run slower: one agent start per lead. `--per-file` above 1 with web research still works and warns. The agent's web traffic goes through a proxy `run` starts on `127.0.0.1` (its `HTTP_PROXY` and `HTTPS_PROXY`), which refuses every address that is not on the public internet: loopback, private, link-local and the other special ranges, named as an IP address or by a name that resolves to one. When you have a proxy of your own in `HTTPS_PROXY`, `HTTP_PROXY` or `ALL_PROXY` (the first one set), `run` checks each address the same way on your machine and then passes the traffic on to your proxy; a name your machine cannot resolve is refused, and your `NO_PROXY` does not apply to the agents. With `--pin-proxy` your proxy gets the address `run` checked, not the name (for `https://` the site's name still travels inside the encrypted tunnel), so it reaches exactly that address. Pinning is not the default yet, because a proxy that allows listed domains only refuses an address. Without it, `run` passes your proxy the name and says so once: your proxy looks the name up again, so a name that answers differently there gets past the check. `--proxy-by-name` asks for names explicitly and warns that it drops the pin. A standard proxy replaces the `Host` header of a plain `http://` request with the host in its URL, so with `--pin-proxy` such a request reaches that address's default site, not the site asked for; `https://` is not affected. For the full guarantee without pinning, unset the proxy for the run or add `--no-research`. When your proxy refuses the agents' traffic (a wrong login, or a pinned address) or cannot be reached, `run` warns once. It passes traffic on to an `http://` or `https://` proxy only: with a SOCKS proxy there, `run` does not start, so set that variable to an `http://` proxy for the run or add `--no-research`. The proxy holds an agent that sends its web traffic through `HTTPS_PROXY`, as Claude Code's fetch and search tools do: an unconfined agent that runs commands (`--allow-unconfined`) can go around it.
43
43
 
44
44
  ```bash
45
45
  kenso work run --agent claude --parallel 4 --kind personalization --max-items 200
@@ -58,6 +58,8 @@ kenso work run --agent claude --watch
58
58
  | `--model` | the agent's | The model the agent runs |
59
59
  | `--timeout` | 15m | Stop one job's agent after this long; shorter than `--lease` |
60
60
  | `--no-research` | off | No web research: the agent answers from the work file only, 10 items per job |
61
+ | `--pin-proxy` | off | With your own proxy: send it the address the web guard checked, not the name |
62
+ | `--proxy-by-name` | off | With your own proxy: send it names (a proxy that allows listed domains only); drops the pin and warns |
61
63
  | `--watch` | off | An empty queue is not the end: check again every 60 s until Ctrl-C |
62
64
  | `--agent-bin` | on PATH | The agent's binary, when it is not on PATH under its usual name |
63
65
  | `--allow-unconfined` | off | Run an agent Kenso cannot hold to the job folder (every agent but `claude`; see below) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.193",
3
+ "version": "0.1.194",
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": "eb61775c2369ec5f4ed7bb0daef3a29d6562d160"
52
+ "gitHead": "0de2172109ad50842ee61ba14746f33931f6c3c5"
53
53
  }