kenso 0.1.43 → 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/docs/README.md CHANGED
@@ -15,6 +15,23 @@ kenso --version
15
15
 
16
16
  To run it once without installing, use `npx kenso --version`.
17
17
 
18
+ ### Tab completion
19
+
20
+ Tab completes resources, actions and flags once you install the script for your shell. The script asks `kenso` for the candidates on each Tab, so it stays right as the CLI updates: install it once.
21
+
22
+ ```bash
23
+ # zsh: add this line to ~/.zshrc
24
+ source <(kenso completion zsh)
25
+ # bash: add this line to ~/.bashrc (on bash 3.2, the macOS default, use: eval "$(kenso completion bash)")
26
+ source <(kenso completion bash)
27
+ # fish: save the script once
28
+ kenso completion fish > ~/.config/fish/completions/kenso.fish
29
+ ```
30
+
31
+ ### Update notice
32
+
33
+ When a newer version is out, `kenso` says so on stderr after the command's own output, at most once a week: `kenso 0.1.40 is out (you have 0.1.35): npm i -g kenso@latest`. It checks `registry.npmjs.org` at most once every 7 days and never delays a command by more than about a second. It stays quiet when stderr is not a terminal, in CI (`CI` set) and under a coding agent. Set `KENSO_NO_UPDATE_NOTIFIER=1` to turn it off.
34
+
18
35
  ## 60-second quickstart
19
36
 
20
37
  1. Create an API key in app.ken.so at Settings > Integrations > API keys.
package/docs/agents.md CHANGED
@@ -20,7 +20,7 @@ kenso agent setup -y
20
20
  kenso doctor
21
21
  ```
22
22
 
23
- To hand the whole setup to an agent, give it https://ken.so/get-started.md: it runs these steps and stops only where a person has to act.
23
+ To hand the whole setup to an agent, give it [ken.so/get-started.md](https://ken.so/get-started.md): it runs these steps and stops only where a person has to act.
24
24
 
25
25
  ## kenso agent setup
26
26
 
@@ -56,7 +56,7 @@ Paste this into the `AGENTS.md` (or `CLAUDE.md`) of a repo whose agents work in
56
56
  - Kenso is our outbound platform. One record or a question: use the Kenso MCP server (https://mcp.ken.so/mcp). A file or more than about 50 records: use the `kenso` CLI.
57
57
  - Setup: `npm i -g kenso`, `kenso auth login` (a person approves in the browser), `kenso agent setup -y`, `kenso doctor`.
58
58
  - Every write runs first with `--dry-run`; apply with the plan's `next`. Never put an API key in a flag, a file or the chat: use `KENSO_API_KEY`.
59
- - Code that calls the API: send `Authorization: Bearer $KENSO_API_KEY`, `Ken-Version` and `X-Ken-Workspace-Id`. Reference: https://ken.so/docs.md; the kenso-api skill: https://ken.so/.well-known/skills/index.json.
59
+ - Code that calls the API: send `Authorization: Bearer $KENSO_API_KEY`, `Ken-Version` and `X-Ken-Workspace-Id`. Reference: ken.so/docs.md; the kenso-api skill is listed at ken.so/.well-known/skills/index.json.
60
60
  ```
61
61
 
62
62
  ## The Agent Skill
@@ -127,6 +127,7 @@ grep -E '^[0-9]+,(failed|not_found|invalid),' ~/.kenso/runs/r_tdi5cdnx/results.c
127
127
  | `KENSO_CONFIG_DIR` | Where the config file and cache live, default `~/.kenso` |
128
128
  | `KENSO_RUNS_DIR` | Where run folders live, default `<config dir>/runs` |
129
129
  | `KENSO_MCP_URL` | The MCP for `kenso mcp`, default `https://mcp.ken.so/mcp` |
130
+ | `KENSO_NO_UPDATE_NOTIFIER` | Set to `1` to turn off the weekly "a newer kenso is out" line on stderr. It never shows under a detected agent, in CI or when stderr is not a terminal |
130
131
 
131
132
  ## Cloud sandboxes
132
133
 
package/docs/auth.md CHANGED
@@ -108,6 +108,7 @@ This removes the profile and its key from this machine. The key itself stays val
108
108
  | Config file with profiles and keys | `~/.kenso/config.json` | `KENSO_CONFIG_DIR` |
109
109
  | Run folders | `~/.kenso/runs/` | `KENSO_RUNS_DIR` |
110
110
  | Cached workspace features (1 hour) | `~/.kenso/cache/` | follows `KENSO_CONFIG_DIR` |
111
+ | Last update check (once every 7 days) | `~/.kenso/update-check.json` | follows `KENSO_CONFIG_DIR`; `KENSO_NO_UPDATE_NOTIFIER=1` turns the check off |
111
112
  | API | `https://api.ken.so` | `KENSO_API_URL` |
112
113
  | MCP (for `kenso mcp`) | `https://mcp.ken.so/mcp` | `KENSO_MCP_URL` |
113
114
 
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.43 (API contracts 5dc7eaafef1a) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.45 (API contracts 7041a900bce1) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1605 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.
5
+ 1606 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
 
7
7
  ## Global flags
8
8
 
@@ -128,6 +128,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
128
128
  - [committee-seats](#committee-seats) (1)
129
129
  - [companies](#companies) (2)
130
130
  - [company-data](#company-data) (1)
131
+ - [completion](#completion) (1)
131
132
  - [contact-behavior](#contact-behavior) (1)
132
133
  - [contact-exports](#contact-exports) (3)
133
134
  - [contact-fields](#contact-fields) (1)
@@ -3145,6 +3146,14 @@ Get company data by domain. `GET /v1/company-data`.
3145
3146
 
3146
3147
  Flags: `--domain`, `--kinds`, `--each`, `--concurrency`.
3147
3148
 
3149
+ ## completion
3150
+
3151
+ ### kenso completion
3152
+
3153
+ Print the tab-completion script for bash, zsh or fish.
3154
+
3155
+ Arguments: `<shell>`.
3156
+
3148
3157
  ## contact-behavior
3149
3158
 
3150
3159
  ### kenso contact-behavior get
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
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",
@@ -11,7 +11,8 @@
11
11
  "dist/",
12
12
  "docs/",
13
13
  "skill/",
14
- "README.md"
14
+ "README.md",
15
+ "CHANGELOG.md"
15
16
  ],
16
17
  "engines": {
17
18
  "node": ">=22"
@@ -23,6 +24,10 @@
23
24
  "directory": "cli"
24
25
  },
25
26
  "homepage": "https://ken.so/cli",
27
+ "bugs": {
28
+ "url": "https://ken.so/contact",
29
+ "email": "contact@ken.so"
30
+ },
26
31
  "scripts": {
27
32
  "build": "node scripts/build.mjs",
28
33
  "typecheck": "tsc --noEmit",
@@ -44,5 +49,5 @@
44
49
  "typescript-eslint": "8.71.1",
45
50
  "vitest": "5.0.3"
46
51
  },
47
- "gitHead": "aa4779760528d8e7201bcf9c5450a03cd2153e18"
52
+ "gitHead": "2edc46b9cf547808aa45b16272905acf49d1bf41"
48
53
  }