kenso 0.1.141 → 0.1.145
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 +17 -0
- package/dist/kenso.js +4792 -3765
- package/dist/operations.index.json +1 -1
- package/dist/operations.json +1 -1
- package/docs/agents.md +40 -1
- package/docs/auth.md +42 -0
- package/docs/output-and-errors.md +21 -1
- package/docs/reference.md +44 -10
- package/package.json +2 -2
package/docs/agents.md
CHANGED
|
@@ -101,6 +101,40 @@ The skill also ships in the Kenso plugin for Claude Code (`Ken-Technology/ken-ai
|
|
|
101
101
|
- **Branch on the exit code:** 0 ok, 2 fix the command, 3 fix the key, 5 some rows failed, 6 wait or raise a limit, 130 resume.
|
|
102
102
|
- **Look things up, do not guess.** `kenso describe <resource> <action>` prints any command's flags and body schema as JSON.
|
|
103
103
|
|
|
104
|
+
## What a command does and what it costs
|
|
105
|
+
|
|
106
|
+
Every command declares its effect. Help and `kenso describe` print it, so an agent can tell a look from a change before it runs anything:
|
|
107
|
+
|
|
108
|
+
| Effect | Meaning |
|
|
109
|
+
|---|---|
|
|
110
|
+
| `read` | Changes nothing and charges nothing |
|
|
111
|
+
| `write` | Creates or changes workspace data. Charges nothing the API contract declares. Nothing leaves Kenso |
|
|
112
|
+
| `spend` | Can charge credits under at least one of its flags |
|
|
113
|
+
| `send` | Sends an email, a LinkedIn message, a call or an invitation, or starts or resumes sending |
|
|
114
|
+
| `destructive` | Deletes, archives, removes or merges |
|
|
115
|
+
|
|
116
|
+
A `write` is not proof that a command is free: the API contract does not mark every route that charges. The dry run's `credits` and estimate are the authority on what a command costs.
|
|
117
|
+
|
|
118
|
+
- Command help prints `Effect: <effect>.` under the summary. A command that charges adds a `Cost:` line in credits, priced from your workspace's rate card; signed out or offline it shows both rate cards, labelled `rate card v1` and `rate card v2`. Work your plan bills another way reads `not charged in credits`. No price is typed into the CLI: it comes from the rate card or a dry run's estimate.
|
|
119
|
+
- A command that spends, sends or deletes, and each command an agent starts with (`kenso doctor`, `kenso describe`, `kenso docs`, `kenso agent setup`, `kenso skill install`, `kenso auth login`), also prints `When:` (when to pick it) and `Next:` (what to run after it) under its description.
|
|
120
|
+
- A command that only reads says `Read-only.` under its global flags line.
|
|
121
|
+
- `kenso describe <resource> <action>` has the same `effect` and `cost` as JSON.
|
|
122
|
+
- `kenso api`, `kenso mcp call` and `kenso runs resume` read `destructive`, because one call of theirs can do anything. Read-only mode judges each call on its own.
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
kenso describe email-finds create
|
|
126
|
+
kenso email-finds create --help
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Read-only mode
|
|
130
|
+
|
|
131
|
+
Set `KENSO_READ_ONLY=1`, or pass `--read-only`, while an agent looks into something: every command whose effect is not `read` is refused before it sends a request, with exit 2 and the code `read_only` (see [Output and errors](output-and-errors.md)). A POST that only reads still runs, and a GET that charges is refused. A dry run still prints its plan; the dry run of `bulk-update` and `bulk-delete` asks Kenso for a preview, which Kenso stores. `kenso api` has the effect of the route it calls, and on a route this CLI does not know only a `GET` runs. `kenso mcp call` runs `list_skills` and `load_skill` only.
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
KENSO_READ_ONLY=1 kenso contacts search --limit 1
|
|
135
|
+
kenso --read-only describe email-finds create
|
|
136
|
+
```
|
|
137
|
+
|
|
104
138
|
## The token-saving pattern
|
|
105
139
|
|
|
106
140
|
Adding 5,000 leads through the MCP sends every lead through the model, hundreds of thousands of tokens. Through the CLI it is two commands and two short JSON objects:
|
|
@@ -127,6 +161,8 @@ grep -E '^[0-9]+,(failed|not_found|invalid),' ~/.kenso/runs/r_tdi5cdnx/results.c
|
|
|
127
161
|
| `KENSO_CONFIG_DIR` | Where the config file and cache live, default `~/.kenso` |
|
|
128
162
|
| `KENSO_RUNS_DIR` | Where run folders live, default `<config dir>/runs` |
|
|
129
163
|
| `KENSO_MCP_URL` | The MCP for `kenso mcp`, default `https://mcp.ken.so/mcp` |
|
|
164
|
+
| `KENSO_READ_ONLY` | Set to `1` to refuse every command that is not a read, as `--read-only` does. Any value except empty, `0` or `false` turns it on |
|
|
165
|
+
| `KENSO_AGENT_SESSION` | The agent session id: the full agent help prints once per session |
|
|
130
166
|
| `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 |
|
|
131
167
|
|
|
132
168
|
## Cloud sandboxes
|
|
@@ -150,9 +186,12 @@ Point the run folders at the workspace if the home folder does not persist betwe
|
|
|
150
186
|
The CLI checks these environment variables, in this order: `CLAUDECODE` and `CLAUDE_CODE_ENTRYPOINT` (Claude Code), `CODEX_SANDBOX` and `CODEX_THREAD_ID` (Codex), `CURSOR_AGENT` (Cursor), `GEMINI_CLI` (Gemini CLI), `OPENCODE` (OpenCode), then `AI_AGENT`, a free-form name any other agent can set. When one is set:
|
|
151
187
|
|
|
152
188
|
- every request carries `X-Ken-Client: Kenso CLI via <agent>`, and writes carry `X-Ken-Actor: agent`, so Kenso shows the change as made by you through that agent;
|
|
153
|
-
- help
|
|
189
|
+
- help starts with `Agents: load the kenso-cli skill first: kenso skill install`;
|
|
190
|
+
- the first help an agent reads in a session ends with the "For agents" block. After that the block is one line, `Agent rules: kenso --help --verbose (dry-run first, one command per file, next is the next command).`, and `kenso --help --verbose` always prints it in full;
|
|
154
191
|
- browser login never opens a browser itself: it prints the link for you to open.
|
|
155
192
|
|
|
193
|
+
A session is `KENSO_AGENT_SESSION` when that is set, else `CODEX_THREAD_ID`, else `CLAUDE_CODE_SESSION_ID`, else the agent's name and the current two-hour block of the day (UTC), so an agent that sets none of them reads the whole block again every two hours. The CLI keeps what it has shown in `session-seen.json` in the config folder (mode 0600) and forgets an entry after 7 days.
|
|
194
|
+
|
|
156
195
|
`kenso doctor` shows the agent it detected.
|
|
157
196
|
|
|
158
197
|
## MCP-only tools
|
package/docs/auth.md
CHANGED
|
@@ -37,6 +37,47 @@ Browser login is available to every workspace. The CLI prints a link and a code
|
|
|
37
37
|
|
|
38
38
|
The key is the same kind you create in the app. It is named `Kenso CLI - <device name>` (`--device-name`, else `kenso-cli on <hostname>`), lasts 90 days, and shows in your API key list at Settings > Integrations > API keys, where you can revoke it. The CLI opens the browser itself only when no coding agent is detected and the machine has a display. An agent prints the link and asks you to open it. The login expires after 10 minutes (`login_expired`, exit 3), and a denied login exits 3 with `access_denied`. If the API answers that browser login is off (`browser_login_unavailable`, exit 3, `"next":"kenso auth login --with-key"`), log in with an API key as above.
|
|
39
39
|
|
|
40
|
+
## Hand a login to a person (agents)
|
|
41
|
+
|
|
42
|
+
An agent that should not sit in a 10-minute wait starts the login, hands the link and code to its person, and collects the key once the person has approved:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
kenso login --no-wait
|
|
46
|
+
kenso auth wait
|
|
47
|
+
kenso auth wait --timeout 2m
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
`kenso login --no-wait` (or `kenso auth login --no-wait`) starts a browser login, opens no browser and returns at once:
|
|
51
|
+
|
|
52
|
+
```json
|
|
53
|
+
{"verificationUrl":"https://app.ken.so/cli/login?code=WXYZ-2345","userCode":"WXYZ-2345","expiresAt":"2026-11-21T10:10:00.000Z","next":"kenso auth wait"}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
It saves the login in `~/.kenso/pending-login.json` (file mode 0600). The file holds the login's poll id, which can pick up the key, so the CLI never prints it and removes the file when the login ends. Running `kenso login --no-wait` again while that login is pending for the same profile and API URL, with more than a minute left, prints the same link and code and starts nothing new; `kenso login` without the flag reuses it too and waits for it. A waiting `kenso login` that is stopped leaves the file behind, so `kenso auth wait` can still collect the login.
|
|
57
|
+
|
|
58
|
+
`kenso auth wait` polls only the API the login was started on, saves the key to the profile the login was started for, and prints what `kenso auth login` prints. By default it waits until the code expires; `--timeout` stops it sooner, after at least one poll, so `--timeout 0` checks once. `--workspace <id>` saves that workspace instead of the one the person approved. The pending login keeps no workspace, so `kenso login --no-wait --workspace <id>` is refused (exit 2): give the workspace to `kenso auth wait`. If the pending login is for another profile whose API differs, `kenso auth wait` answers `no_pending_login` with `next` set to `kenso auth wait --profile <name>`.
|
|
59
|
+
|
|
60
|
+
| Outcome | Exit | Code | `next` | Pending file |
|
|
61
|
+
|---|---|---|---|---|
|
|
62
|
+
| Approved | 0 | - | - | removed |
|
|
63
|
+
| No pending login, or one started on another API URL | 2 | `no_pending_login` | `kenso login --no-wait` | kept |
|
|
64
|
+
| Denied in the browser | 3 | `login_denied` | `kenso login --no-wait` | removed |
|
|
65
|
+
| The code expired | 3 | `login_expired` | `kenso login --no-wait` | removed |
|
|
66
|
+
| `--timeout` passed first | 3 | `login_pending` | `kenso auth wait` | kept |
|
|
67
|
+
|
|
68
|
+
## The workspace line
|
|
69
|
+
|
|
70
|
+
Under a coding agent, a command that is not a read prints one line on stderr before it runs, its `--dry-run` included: the workspace it acts in and where that came from.
|
|
71
|
+
|
|
72
|
+
```text
|
|
73
|
+
workspace: 1234 (--workspace)
|
|
74
|
+
workspace: 1234 (KENSO_WORKSPACE_ID)
|
|
75
|
+
workspace: 1234 (profile client-a)
|
|
76
|
+
workspace: none set (the API picks the key's only workspace or answers workspace_required)
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Read commands, the login and logout commands, and commands that bring their own credential print no line. The line costs no request.
|
|
80
|
+
|
|
40
81
|
## CI, scripts and agents: use the environment
|
|
41
82
|
|
|
42
83
|
You do not need to log in on a machine that has the key in its environment:
|
|
@@ -117,6 +158,7 @@ This removes the profile and its key from this machine. When browser login made
|
|
|
117
158
|
| What | Default | Override |
|
|
118
159
|
|---|---|---|
|
|
119
160
|
| Config file with profiles and keys | `~/.kenso/config.json` | `KENSO_CONFIG_DIR` |
|
|
161
|
+
| Pending browser login (`kenso login --no-wait`) | `~/.kenso/pending-login.json` | follows `KENSO_CONFIG_DIR` |
|
|
120
162
|
| Run folders | `~/.kenso/runs/` | `KENSO_RUNS_DIR` |
|
|
121
163
|
| Cached workspace features (1 hour) | `~/.kenso/cache/` | follows `KENSO_CONFIG_DIR` |
|
|
122
164
|
| Last update check (once every 7 days) | `~/.kenso/update-check.json` | follows `KENSO_CONFIG_DIR`; `KENSO_NO_UPDATE_NOTIFIER=1` turns the check off |
|
|
@@ -9,7 +9,7 @@ Every command follows one contract, so a script or an agent can parse any of the
|
|
|
9
9
|
- A batch command (an import, update, remove, tag or `--each` write) takes `--yes`; without it, the command plans or refuses.
|
|
10
10
|
- A command that deletes, archives, removes or merges, such as `kenso tags delete --tag-id 7`, `kenso campaigns archive`, `kenso people merge` or `kenso api DELETE /v1/tags/7`, needs `--yes` too. Without it, a person at a terminal is asked to confirm; anywhere else (a pipe, a script, CI, a coding agent) it sends nothing and fails with `confirmation_required`, whose `next` is the same command with `--yes`.
|
|
11
11
|
- Any other single write, such as `kenso tags create`, `kenso notes add` or a write through `kenso api` or `kenso mcp call`, sends at once: add `--dry-run` to print the request first (it sends nothing), then run the command without it. A command that reads before it writes (`kenso layouts set --header` reads the layout it edits) still reads with `--dry-run`, and prints the write it would send. A POST that changes nothing, such as `kenso accounts search` or `kenso reports query`, is a read like a GET.
|
|
12
|
-
- A command with no dry run, such as `kenso contacts export`, `kenso auth logout` or `kenso workspace use`, refuses `--dry-run` with `usage_error` (exit 2) and does nothing. Its help ends with `No --dry-run`, and `kenso describe <resource> <action>` shows `"dryRun": false`.
|
|
12
|
+
- A command with no dry run, such as `kenso contacts export`, `kenso auth logout` or `kenso workspace use`, refuses `--dry-run` with `usage_error` (exit 2) and does nothing. Its help ends with `No --dry-run`, or with `Read-only.` when the command only reads, and `kenso describe <resource> <action>` shows `"dryRun": false`. Every command that only reads, generated ones included, says `Read-only.` there.
|
|
13
13
|
|
|
14
14
|
## Formats
|
|
15
15
|
|
|
@@ -145,6 +145,7 @@ Two API codes change the exit code: `workspace_required` exits 2 with `"next":"k
|
|
|
145
145
|
| Code | Exit | When |
|
|
146
146
|
|---|---|---|
|
|
147
147
|
| `usage_error` | 2 | A required flag or argument is missing, two flags conflict (`--yes` with `--dry-run`), or `--dry-run` on a command that has no dry run |
|
|
148
|
+
| `read_only` | 2 | `--read-only` or `KENSO_READ_ONLY` is on and the command is not a read: nothing was sent. `next` (with `--read-only` only, on a command with a dry run) is the same command with `--dry-run`, which prints the plan and changes nothing |
|
|
148
149
|
| `unknown_command` | 2 | No such command; `hint` suggests the closest one |
|
|
149
150
|
| `unknown_flag`, `invalid_flag`, `invalid_flag_value`, `unexpected_argument` | 2 | A flag or argument the command does not take |
|
|
150
151
|
| `invalid_query` | 2 | `--query` is not valid JMESPath |
|
|
@@ -200,6 +201,25 @@ Skipped rows (duplicates, blocklisted, already contacted) are not failures: a ba
|
|
|
200
201
|
- A flag that carries a secret (`--password`, `--api-key`, `--api-secret`, any `--…-token` or `--…-secret`) also takes `-` (read stdin), `@file` (read the file) or `env:NAME` (read that environment variable), so the value stays out of shell history: `printf '%s' "$FATHOM_KEY" | kenso fathom-connection connect --api-key -`. A value typed on the command line still works and prints one warning. A typed secret that itself starts with `@` is written `@@` (`--password @@Spring2026` sends `@Spring2026`); one that is exactly `-` or starts with `env:` has to come through `@file` or `env:NAME`. `-` refuses a terminal, an empty value is refused, and only one flag can read stdin. `--dry-run` shows a secret as `***`. With `--each`, the plan, its `next` and the run record keep `@file` or `env:NAME` as typed and `kenso runs resume` reads it again; a secret from stdin is refused there.
|
|
201
202
|
- `--help` on any command prints its flags, arguments and examples. `kenso describe <resource> <action>` prints the same as JSON, with the body schema.
|
|
202
203
|
|
|
204
|
+
## Effect, cost and read-only mode
|
|
205
|
+
|
|
206
|
+
Every command has an effect: `read` (changes nothing, charges nothing), `write` (changes workspace data, charges nothing the API contract declares, nothing leaves Kenso), `spend` (can charge credits), `send` (sends an email, a LinkedIn message, a call or an invitation, or starts or resumes sending) or `destructive` (deletes, archives, removes or merges). Command help prints `Effect: <effect>.` under the summary, and a command that charges adds a `Cost:` line in credits from your workspace's rate card.
|
|
207
|
+
|
|
208
|
+
`kenso describe <resource> <action>` adds `effect` and `cost` to its JSON. `cost` is `null` for a command that does not charge, else `{"lines": [...], "rateCard": {"source": ..., "versions": [...]}}`: each line is the command's credit line with its `price` text, and `source` is `live`, `cache` or `bundled`. A command that charges something no rate-card row prices has `{"lines": [], "rateCard": null}`, with `text` saying what it charges when the command states it. `kenso describe` and `kenso describe <resource>` add `effect` to each row.
|
|
209
|
+
|
|
210
|
+
`--read-only`, or `KENSO_READ_ONLY=1` in the environment, refuses every command whose effect is not `read` before it sends a request, with exit 2:
|
|
211
|
+
|
|
212
|
+
```json
|
|
213
|
+
{"error":{"code":"read_only","message":"kenso campaigns launch is a send command, and this session is read-only.","hint":"Read-only is on through --read-only: next prints the plan. Run the command again without --read-only to make the change.","next":"kenso --read-only campaigns launch --campaign-id 1 --dry-run"}}
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
`next` never makes the change: on a command with a dry run it is the same command with `--dry-run` and without `--yes`, which prints the plan. A command with no dry run gets no `next`, and its hint says to run it again without `--read-only`. A command with its own `--body-read-only` option (`kenso api-keys create`) gets no `next` either, and its hint names that option. When the variable turned read-only on, the hint reads `KENSO_READ_ONLY is set: unset it to run this command.` and there is no `next`, so an agent that runs `next` cannot loop. A POST that only reads, such as `kenso contacts search`, still runs; a GET that charges, such as `kenso search get-place`, is refused; a command with a dry run still prints its plan with `--dry-run`; `kenso api` has the effect of the route it calls, and on a route this CLI does not know only a `GET` runs.
|
|
217
|
+
|
|
218
|
+
```bash
|
|
219
|
+
KENSO_READ_ONLY=1 kenso contacts search --limit 1
|
|
220
|
+
kenso --read-only describe email-finds create
|
|
221
|
+
```
|
|
222
|
+
|
|
203
223
|
## Beta commands
|
|
204
224
|
|
|
205
225
|
Commands that need a workspace feature flag (CRM, Studio and others) are beta. Help and `kenso describe` hide the ones your workspace has not enabled and say how many they hid; `--all-commands` shows them. Calling a hidden command still works: Kenso decides. `kenso <resource>` on a resource whose every action is hidden answers `feature_not_enabled` (exit 2) and names the flags it needs.
|
package/docs/reference.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Kenso CLI command reference
|
|
2
2
|
|
|
3
|
-
Generated from kenso 0.1.
|
|
3
|
+
Generated from kenso 0.1.145 (API contracts 98e29b866cef) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1913 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
|
|
|
@@ -10,7 +10,7 @@ Generated from kenso 0.1.141 (API contracts 98e29b866cef) by `scripts/build-refe
|
|
|
10
10
|
| --- | --- |
|
|
11
11
|
| `--profile <name>` | Use a saved profile (or KENSO_PROFILE) |
|
|
12
12
|
| `--workspace <id>` | Workspace for this command (or KENSO_WORKSPACE_ID) |
|
|
13
|
-
| `-o, --output <format>` | json, ndjson, table or
|
|
13
|
+
| `-o, --output <format>` | json, ndjson, table, ids or csv (default: table on a terminal, JSON when piped) |
|
|
14
14
|
| `--json` | Same as -o json |
|
|
15
15
|
| `--fields <a,b.c>` | Keep only these fields |
|
|
16
16
|
| `--query <JMESPath>` | Filter or reshape the output in-process |
|
|
@@ -79,7 +79,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
79
79
|
- [ats-pushes](#ats-pushes) (1)
|
|
80
80
|
- [attachments](#attachments) (3)
|
|
81
81
|
- [audit-events](#audit-events) (2)
|
|
82
|
-
- [auth](#auth) (
|
|
82
|
+
- [auth](#auth) (4)
|
|
83
83
|
- [auto-pauses](#auto-pauses) (1)
|
|
84
84
|
- [autonomous-reply-settings](#autonomous-reply-settings) (2)
|
|
85
85
|
- [billing-entitlements](#billing-entitlements) (1)
|
|
@@ -421,7 +421,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
421
421
|
- [shares](#shares) (8)
|
|
422
422
|
- [signal-vendor-connections](#signal-vendor-connections) (3)
|
|
423
423
|
- [signals](#signals) (1)
|
|
424
|
-
- [skill](#skill) (
|
|
424
|
+
- [skill](#skill) (3)
|
|
425
425
|
- [slack-alerts](#slack-alerts) (3)
|
|
426
426
|
- [slack-channels](#slack-channels) (1)
|
|
427
427
|
- [slack-connection](#slack-connection) (5)
|
|
@@ -506,7 +506,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
506
506
|
- [workflow-templates](#workflow-templates) (2)
|
|
507
507
|
- [workflow-variables](#workflow-variables) (3)
|
|
508
508
|
- [workflow-versions](#workflow-versions) (4)
|
|
509
|
-
- [workflows](#workflows) (
|
|
509
|
+
- [workflows](#workflows) (12)
|
|
510
510
|
- [workspace](#workspace) (3)
|
|
511
511
|
- [workspace-api-keys](#workspace-api-keys) (3)
|
|
512
512
|
- [workspace-data-deletions](#workspace-data-deletions) (4)
|
|
@@ -1850,9 +1850,9 @@ Flags: `--action`, `--cursor`, `--limit`, `--occurred-after`, `--occurred-before
|
|
|
1850
1850
|
|
|
1851
1851
|
### kenso auth login
|
|
1852
1852
|
|
|
1853
|
-
Log in through the browser, or save an API key from stdin with --with-key. API operations: `me.get`, `workspaces.list`.
|
|
1853
|
+
Log in through the browser, or save an API key from stdin with --with-key. API operations: `me.get`, `workspaces.list`, `cli-logins.create`, `cli-logins.token`.
|
|
1854
1854
|
|
|
1855
|
-
Flags: `--device-name`, `--no-browser`, `--with-key`.
|
|
1855
|
+
Flags: `--device-name`, `--no-browser`, `--no-wait`, `--with-key`.
|
|
1856
1856
|
|
|
1857
1857
|
### kenso auth logout
|
|
1858
1858
|
|
|
@@ -1864,6 +1864,12 @@ Flags: `--keep-key`.
|
|
|
1864
1864
|
|
|
1865
1865
|
Show the key's user, workspace and expiry. API operations: `me.get`, `api-keys.list`.
|
|
1866
1866
|
|
|
1867
|
+
### kenso auth wait
|
|
1868
|
+
|
|
1869
|
+
Collect a login started with kenso login --no-wait, once the person approved it. `POST /v1/cli/logins/token`.
|
|
1870
|
+
|
|
1871
|
+
Flags: `--timeout`.
|
|
1872
|
+
|
|
1867
1873
|
## auto-pauses
|
|
1868
1874
|
|
|
1869
1875
|
### kenso auto-pauses list
|
|
@@ -6674,9 +6680,9 @@ Flags: `--campaign-id` (required), `--created-after`, `--created-before`, `--cur
|
|
|
6674
6680
|
|
|
6675
6681
|
### kenso login
|
|
6676
6682
|
|
|
6677
|
-
Log in through the browser, or save an API key from stdin with --with-key. API operations: `me.get`, `workspaces.list`.
|
|
6683
|
+
Log in through the browser, or save an API key from stdin with --with-key. API operations: `me.get`, `workspaces.list`, `cli-logins.create`, `cli-logins.token`.
|
|
6678
6684
|
|
|
6679
|
-
Flags: `--device-name`, `--no-browser`, `--with-key`.
|
|
6685
|
+
Flags: `--device-name`, `--no-browser`, `--no-wait`, `--with-key`.
|
|
6680
6686
|
|
|
6681
6687
|
## logout
|
|
6682
6688
|
|
|
@@ -10650,6 +10656,18 @@ Install the kenso-cli skill for Claude Code, Codex, Cursor, Gemini CLI or OpenCo
|
|
|
10650
10656
|
|
|
10651
10657
|
Flags: `--client`, `--dir`, `--force`.
|
|
10652
10658
|
|
|
10659
|
+
### kenso skill list
|
|
10660
|
+
|
|
10661
|
+
List the Kenso skills this workspace can load.
|
|
10662
|
+
|
|
10663
|
+
### kenso skill show
|
|
10664
|
+
|
|
10665
|
+
Print a Kenso skill, or one of its reference files, as Markdown.
|
|
10666
|
+
|
|
10667
|
+
Arguments: `<name>`.
|
|
10668
|
+
|
|
10669
|
+
Flags: `--reference`.
|
|
10670
|
+
|
|
10653
10671
|
## slack-alerts
|
|
10654
10672
|
|
|
10655
10673
|
### kenso slack-alerts create
|
|
@@ -12746,6 +12764,14 @@ Return one workflow with its definition. `GET /v1/workflows/{workflowId}`. Beta:
|
|
|
12746
12764
|
|
|
12747
12765
|
Flags: `--workflow-id` (required), `--each`, `--concurrency`.
|
|
12748
12766
|
|
|
12767
|
+
### kenso workflows init
|
|
12768
|
+
|
|
12769
|
+
Start a workflow file in this folder. `GET /v1/workflow-templates/{templateKey}`. Beta: needs `workflows`.
|
|
12770
|
+
|
|
12771
|
+
Arguments: `<name>` (optional).
|
|
12772
|
+
|
|
12773
|
+
Flags: `--dir`, `--template`.
|
|
12774
|
+
|
|
12749
12775
|
### kenso workflows list
|
|
12750
12776
|
|
|
12751
12777
|
List the workspace's workflows, newest first. `GET /v1/workflows` (a list). Beta: needs `workflows`.
|
|
@@ -12758,6 +12784,14 @@ Publish the draft. `POST /v1/workflows/{workflowId}/publish`. Beta: needs `workf
|
|
|
12758
12784
|
|
|
12759
12785
|
Flags: `--workflow-id` (required), `--note`, `--data`, `--each`, `--concurrency`.
|
|
12760
12786
|
|
|
12787
|
+
### kenso workflows pull
|
|
12788
|
+
|
|
12789
|
+
Write a workflow's definition to a file and bind it. API operations: `workflows.get`, `workflow-versions.get`. Beta: needs `workflows`.
|
|
12790
|
+
|
|
12791
|
+
Arguments: `<workflowId>`.
|
|
12792
|
+
|
|
12793
|
+
Flags: `--out`, `--published`.
|
|
12794
|
+
|
|
12761
12795
|
### kenso workflows unpublish
|
|
12762
12796
|
|
|
12763
12797
|
Turn a live workflow off. `POST /v1/workflows/{workflowId}/unpublish`. Beta: needs `workflows`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.145",
|
|
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": "
|
|
52
|
+
"gitHead": "d30084e238ff68912457530d8dfb9a98154d0dbc"
|
|
53
53
|
}
|