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