kenso 0.0.0-stage → 0.1.8

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/README.md CHANGED
@@ -1,3 +1,75 @@
1
- # Temporary Holding Version
1
+ # kenso
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The command line for [Kenso](https://ken.so): bulk lead, CRM and Studio work for people and coding agents.
4
+
5
+ `kenso` takes a file and does the bulk work in your Kenso workspace: add 20,000 leads to a campaign with their custom variables, update or clean them up, import accounts and people, fill Studio templates. Every command prints JSON for scripts and agents. The bulk commands plan before they write and keep a per-row results file you can resume from. Every API operation a workspace member can call is a command too.
6
+
7
+ - **CLI:** volume and files. Rows never pass through an agent's context: the agent passes a file path and reads a short summary.
8
+ - **MCP** (`https://mcp.ken.so/mcp`): conversation and single records, with OAuth and no install.
9
+ - **Both** use the same API, keys and permissions. `kenso mcp call` reaches MCP-only tools from the shell.
10
+
11
+ ## Install
12
+
13
+ ```bash
14
+ npm i -g kenso
15
+ ```
16
+
17
+ Or without installing: `npx kenso --help`.
18
+
19
+ ## Log in
20
+
21
+ Create an API key in app.ken.so at Settings > Integrations > API keys, then:
22
+
23
+ ```bash
24
+ echo $KEY | kenso auth login --with-key
25
+ ```
26
+
27
+ That is also the way in for CI and agents, or set `KENSO_API_KEY` in their environment and skip the login. Browser login (`kenso auth login`) works when your workspace has it; until then it points you to `--with-key`.
28
+
29
+ ## 60-second quickstart
30
+
31
+ ```bash
32
+ kenso workspace use 1234
33
+ kenso campaigns list --limit 5
34
+ kenso contacts import --template
35
+ kenso contacts import --campaign 812 --file leads.csv --dry-run
36
+ kenso contacts import --campaign 812 --file leads.csv --yes
37
+ ```
38
+
39
+ The dry run checks every row and prints the plan, the credit estimate and the exact apply command. The apply prints one JSON summary, `created`, `updated`, `skipped` by reason, `failed`, and the path of `results.csv` with one line per input row. After Ctrl-C or a crash, run the same command again and it resumes where it stopped. Sending a row twice never creates a second lead.
40
+
41
+ ## Commands
42
+
43
+ | Group | Commands |
44
+ |---|---|
45
+ | Leads | `contacts import`, `update`, `remove`, `restore`, `pause`, `resume`, `tag`, `untag`, `export` (`leads` is an alias of `contacts`) |
46
+ | CRM (beta) | `accounts import`, `people import` |
47
+ | Studio (beta) | `studio pull`, `push`, `validate`, `preview`, `fill` |
48
+ | Runs | `runs list`, `show`, `resume`, `jobs wait` |
49
+ | Setup | `auth login`, `logout`, `status`, `workspace list`, `use`, `doctor`, `skill install`, `docs` |
50
+ | Everything else | `kenso <resource> <action>` for every API operation, `kenso api <METHOD> <path>`, `kenso mcp tools`, `mcp call` |
51
+ | Discovery | `kenso --help`, `kenso <resource> --help`, `kenso describe` (JSON) |
52
+
53
+ ## Docs
54
+
55
+ The docs ship in the package and print offline with `kenso docs <topic>`.
56
+
57
+ - [Overview and quickstart](docs/README.md)
58
+ - [Authentication](docs/auth.md)
59
+ - [Leads: import, update, cleanup](docs/leads.md)
60
+ - [Batch runs: dry run, results, resume, rate limits](docs/batch.md)
61
+ - [Output, errors and exit codes](docs/output-and-errors.md)
62
+ - [CRM (beta)](docs/crm.md)
63
+ - [Studio (beta)](docs/studio.md)
64
+ - [Coding agents: Claude Code, Codex, Cursor](docs/agents.md)
65
+ - 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.
66
+
67
+ For coding agents, `kenso skill install` installs the Agent Skill.
68
+
69
+ ## Requirements
70
+
71
+ Node 22 or newer. macOS, Linux and Windows.
72
+
73
+ ## License
74
+
75
+ MIT