kenso 0.1.44 → 0.1.45

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 ADDED
@@ -0,0 +1,90 @@
1
+ # Changelog
2
+
3
+ What changed in the kenso CLI, newest first, by the day it changed. A new version publishes after every change.
4
+
5
+ ## 2026-11-15
6
+
7
+ - bash completion reads --flag=value as one word
8
+ - completion reads a flag alias's value as a value
9
+ - the npm page links pages that answer and a changelog the publish job builds
10
+ - a weekly stderr line says when a newer kenso is out, off with KENSO_NO_UPDATE_NOTIFIER=1
11
+ - kenso completion prints a bash, zsh or fish script that asks kenso __complete on each Tab
12
+ - webhooks listen retries a transient failure on its first poll too
13
+ - Ctrl-C at the delete prompt is an interrupt; test the prompt and kenso api DELETE
14
+ - webhooks listen forwards the delivery envelope, survives a failed poll
15
+ - confirm deletes, accept --json and the common flag names, plain help
16
+ - agent setup's next covers only the clients in its plan, JSONC is read rather than substring-matched, Windows arguments are quoted
17
+ - declare dry-run on webhooks listen and trigger for main's --dry-run gate
18
+ - kenso webhooks listen and trigger for local handler development
19
+ - agent setup declares its --dry-run plan, as every command now must
20
+ - kenso agent setup installs the skill and registers the Kenso MCP server in one step
21
+ - refuse --dry-run where a command has none, preview api and mcp call
22
+
23
+ ## 2026-11-13
24
+
25
+ - one OpenCode database per job, not one shared by the run's parallel agents
26
+ - a sandbox run gives OpenCode a session database of its own
27
+ - a sandbox run gives each agent the run's own temp folder
28
+
29
+ ## 2026-11-12
30
+
31
+ - the guide names no browser-run maxMinutes default
32
+ - confirm an auth or usage-limit verdict before a --agent-tools run stops on it
33
+ - redact each results.ndjson string before the line is serialised
34
+ - kenso work run --agent-tools fetches the run's agent key and passes it to each agent
35
+ - shell and web tools per agent, the AGENTS.md guide and its instruction for --agent-tools
36
+ - a refused answer ends a work run answer_refused whatever stopped it first
37
+ - read at most 64 KiB of an agent's login file for the answer scan
38
+ - do not judge links by the answer scan's entropy rule
39
+ - a refused answer stops a Kenso sandbox run with exit 9; the summary says the confinement
40
+ - read the agent's login files through sudo cat for the answer scan
41
+ - keep agents off kenso's work files and refuse an agent user sudo will not kill as
42
+ - kenso work run --token-stdin and --agent-user for Kenso sandboxes
43
+ - read the answers file's agent from its one safe read
44
+ - check an agent's login as the agent user
45
+ - run and stop agents as the agent user through sudo -n
46
+ - check an agent user and run commands as it through sudo -n
47
+ - redact Kenso sandbox run tokens
48
+
49
+ ## 2026-11-11
50
+
51
+ - the first stop decides kenso work run's exit code, and its tests wait on events, not a sleep loop
52
+ - the skill description parses as YAML, and the top help counts the five work commands as hidden beta
53
+ - kenso work status, pull, submit, release and run
54
+
55
+ ## 2026-11-05
56
+
57
+ - 'Full notes' pointer measures the printed notes; flag text cuts at a sentence, not 'e.g.'
58
+ - --where says to check the match in the plan; any file goes to the CLI
59
+ - generated help footer on two shorter lines
60
+ - refuse --version after a command instead of printing the CLI version
61
+
62
+ ## 2026-11-04
63
+
64
+ - send no campaignId with the contacts import leads estimate
65
+ - kenso-cli skill description parses as YAML (no bare colon)
66
+ - kill-switch error no longer says browser login is "not available yet"
67
+
68
+ ## 2026-11-02
69
+
70
+ - let the npm release run its tests on the stamped version
71
+ - read the manifest from dist/operations.json and gate startup over bare Node
72
+ - lead import, update, bulk actions, tags, export and --each
73
+ - people and accounts import and Studio commands
74
+ - core follow-ups - boolean flag values, beta help, raw output, pipes, interrupts
75
+ - type PatchValue<T> body props as T, no placeholder for boolean flags, skip blank query values
76
+ - kenso mcp tools and mcp call over streamable HTTP
77
+ - kenso describe, the command map as JSON
78
+ - generated commands, beta gating by workspace features
79
+ - build the command manifest from contracts/
80
+ - batch engine with resumable runs, results files and jobs wait
81
+ - browser login for kenso auth login
82
+
83
+ ## 2026-11-01
84
+
85
+ - dispatcher, registry, help, context and input
86
+ - Output with JSON, NDJSON, table and ids formats, --fields and --query
87
+ - KensoClient with headers, retries and pagination
88
+ - config profiles and agent detection
89
+ - exit codes, KensoError and redaction
90
+ - scaffold the kenso package
package/README.md CHANGED
@@ -16,6 +16,16 @@ npm i -g kenso
16
16
 
17
17
  Or without installing: `npx kenso --help`.
18
18
 
19
+ Tab completion for resources, actions and flags, installed once (the script asks `kenso` for the candidates, so it stays right as the CLI updates):
20
+
21
+ ```bash
22
+ source <(kenso completion zsh) # in ~/.zshrc
23
+ source <(kenso completion bash) # in ~/.bashrc
24
+ kenso completion fish > ~/.config/fish/completions/kenso.fish
25
+ ```
26
+
27
+ `kenso` says on stderr, at most once a week, when a newer version is out. `KENSO_NO_UPDATE_NOTIFIER=1` turns that off.
28
+
19
29
  ## Log in
20
30
 
21
31
  ```bash
@@ -52,7 +62,7 @@ The dry run checks every row and prints the plan, the credit estimate and the ex
52
62
  | Agent work (beta) | `work status`, `run`, `pull`, `submit`, `release`: your own coding agent writes Kenso AI work set to My agent |
53
63
  | Webhooks | `webhooks listen --forward-to`, `webhooks trigger`: build a handler locally, no tunnel |
54
64
  | Runs | `runs list`, `show`, `resume`, `jobs wait` |
55
- | Setup | `auth login`, `logout`, `status`, `workspace list`, `use`, `doctor`, `agent setup`, `skill install`, `docs` |
65
+ | Setup | `auth login`, `logout`, `status`, `workspace list`, `use`, `doctor`, `agent setup`, `skill install`, `docs`, `completion` |
56
66
  | Everything else | `kenso <resource> <action>` for every API operation, `kenso api <METHOD> <path>`, `kenso mcp tools`, `mcp call` |
57
67
  | Discovery | `kenso --help`, `kenso <resource> --help`, `kenso describe` (JSON) |
58
68
 
@@ -60,17 +70,18 @@ The dry run checks every row and prints the plan, the credit estimate and the ex
60
70
 
61
71
  The docs ship in the package and print offline with `kenso docs <topic>`.
62
72
 
63
- - [Overview and quickstart](docs/README.md)
64
- - [Authentication](docs/auth.md)
65
- - [Leads: import, update, cleanup](docs/leads.md)
66
- - [Batch runs: dry run, results, resume, rate limits](docs/batch.md)
67
- - [Output, errors and exit codes](docs/output-and-errors.md)
68
- - [CRM (beta)](docs/crm.md)
69
- - [Studio (beta)](docs/studio.md)
70
- - [Agent work (beta): My agent, kenso work run](docs/work.md)
71
- - [Webhooks: listen and trigger](docs/webhooks.md)
72
- - [Coding agents: Claude Code, Codex, Cursor, Gemini CLI, OpenCode](docs/agents.md)
73
- - Command reference: `kenso docs reference` prints every command with its flags (generated at build time; `docs/reference.md` in the installed package). `kenso describe` gives the same as JSON.
73
+ - [Overview and quickstart](https://ken.so/cli)
74
+ - [Authentication](https://ken.so/cli/auth)
75
+ - [Leads: import, update, cleanup](https://ken.so/cli/leads)
76
+ - [Batch runs: dry run, results, resume, rate limits](https://ken.so/cli/batch)
77
+ - [Output, errors and exit codes](https://ken.so/cli/output-and-errors)
78
+ - [CRM (beta)](https://ken.so/cli/crm)
79
+ - [Studio (beta)](https://ken.so/cli/studio)
80
+ - [Agent work (beta): My agent, kenso work run](https://unpkg.com/kenso@latest/docs/work.md) (`kenso docs work`)
81
+ - Webhooks: listen and trigger (`kenso docs webhooks`)
82
+ - [Coding agents: Claude Code, Codex, Cursor, Gemini CLI, OpenCode](https://ken.so/cli/agents)
83
+ - [Command reference](https://unpkg.com/kenso@latest/docs/reference.md): `kenso docs reference` prints every command with its flags (generated at build time; `docs/reference.md` in the installed package). `kenso describe` gives the same as JSON.
84
+ - [Changelog](https://unpkg.com/kenso@latest/CHANGELOG.md): what changed, newest first.
74
85
 
75
86
  For coding agents, `kenso agent setup` installs the Agent Skill and connects the Kenso MCP server (`kenso skill install` installs only the skill).
76
87