kenso 0.1.155 → 0.1.157

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
@@ -101,6 +101,7 @@ Every page is in the package and prints offline with `kenso docs <topic>`.
101
101
  | [Output and errors](output-and-errors.md) | `output-and-errors` | The output contract, error JSON, error codes, exit codes, live streams |
102
102
  | [CRM (beta)](crm.md) | `crm` | Accounts, people, opportunities and CRM sync |
103
103
  | [Studio (beta)](studio.md) | `studio` | Pull, push, validate, preview and fill templates |
104
+ | [Workflows (beta)](workflows.md) | `workflows` | Keep a workflow as a file: `kenso.json`, init, pull, check, push, test, publish, and run it on ids or a CSV with a credit cap |
104
105
  | [Agent work (beta)](work.md) | `work` | My agent: your own coding agent writes Kenso's AI work with `kenso work run`, or pull and submit |
105
106
  | [Webhooks](webhooks.md) | `webhooks` | Build a webhook handler locally: `kenso webhooks listen --forward-to`, `trigger`, the signature |
106
107
  | [Developer sandbox](sandbox.md) | `sandbox` | `kenso sandbox`: a workspace of your own where sends are simulated, its test key, the reserved test leads |
package/docs/agents.md CHANGED
@@ -24,7 +24,7 @@ To hand the whole setup to an agent, give it [ken.so/get-started.md](https://ken
24
24
 
25
25
  ## kenso agent setup
26
26
 
27
- `kenso agent setup` installs the `kenso-cli` skill (as `kenso skill install` does) and registers the Kenso MCP server, `https://mcp.ken.so/mcp`, with each coding agent:
27
+ `kenso agent setup` installs the `kenso` and `kenso-cli` skills (as `kenso skill install` does) and registers the Kenso MCP server, `https://mcp.ken.so/mcp`, with each coding agent:
28
28
 
29
29
  | Agent | `--client` | MCP server added with |
30
30
  |---|---|---|
@@ -59,38 +59,50 @@ Paste this into the `AGENTS.md` (or `CLAUDE.md`) of a repo whose agents work in
59
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
- ## The Agent Skill
62
+ ## The Agent Skills
63
63
 
64
- `kenso skill install` writes each skill bundled with this CLI (one `SKILL.md` in a folder named like the skill) where each agent looks for skills:
64
+ `kenso skill install` writes the two skills bundled with this CLI, each one `SKILL.md` in a folder named like the skill, where each agent looks for skills:
65
65
 
66
- | Agent | `--client` | Folder |
66
+ - `kenso`, the entry skill: it sends the agent to the Kenso skill for the job and sets the rules for the workspace, credits, sends and the final reply. Agents load it first; every help under an agent starts with `Agents: load the kenso skill first: kenso skill show kenso`.
67
+ - `kenso-cli`: the CLI's commands for work from a file or over about 50 records.
68
+
69
+ | Agent | `--client` | Folders |
67
70
  |---|---|---|
68
- | Claude Code | `claude-code` | `~/.claude/skills/kenso-cli/` |
69
- | Codex | `codex` | `~/.agents/skills/kenso-cli/` |
70
- | Cursor | `cursor` | `~/.cursor/skills/kenso-cli/` |
71
- | Gemini CLI | `gemini` | `~/.gemini/skills/kenso-cli/` |
72
- | OpenCode | `opencode` | `~/.config/opencode/skills/kenso-cli/` |
71
+ | Claude Code | `claude-code` | `~/.claude/skills/kenso/`, `~/.claude/skills/kenso-cli/` |
72
+ | Codex | `codex` | `~/.agents/skills/kenso/`, `~/.agents/skills/kenso-cli/` |
73
+ | Cursor | `cursor` | `~/.cursor/skills/kenso/`, `~/.cursor/skills/kenso-cli/` |
74
+ | Gemini CLI | `gemini` | `~/.gemini/skills/kenso/`, `~/.gemini/skills/kenso-cli/` |
75
+ | OpenCode | `opencode` | `~/.config/opencode/skills/kenso/`, `~/.config/opencode/skills/kenso-cli/` |
73
76
 
74
- Claude Code's folder follows `CLAUDE_CONFIG_DIR` when that is set. Without `--client`, it installs for the agent that runs it when that is Claude Code, Codex or Cursor (detected from the environment, see below), else for all five. It prints what it wrote:
77
+ Claude Code's folders follow `CLAUDE_CONFIG_DIR` when that is set. Without `--client`, it installs for the agent that runs it when that is Claude Code, Codex or Cursor (detected from the environment, see below), else for all five. It prints what it wrote:
75
78
 
76
79
  ```json
77
- {"installed":[{"client":"claude-code","path":"/home/you/.claude/skills/kenso-cli/SKILL.md","status":"created"}]}
80
+ {"installed":[{"client":"claude-code","path":"/home/you/.claude/skills/kenso-cli/SKILL.md","status":"created"},{"client":"claude-code","path":"/home/you/.claude/skills/kenso/SKILL.md","status":"created"}]}
78
81
  ```
79
82
 
80
83
  ```bash
81
84
  kenso skill install --client claude-code
82
85
  kenso skill install --client all
86
+ kenso skill install --skill kenso
83
87
  kenso skill install --dir .claude/skills/kenso-cli
84
88
  kenso skill install --force
85
89
  ```
86
90
 
87
- - `--skill <name>` installs one bundled skill. `--dir` writes one skill into that folder instead (`--skill`, else `kenso-cli`), for example a project's own skills folder. Name the folder like the skill, as agents expect.
91
+ - `--skill <name>` installs one of the two. `--dir` writes one skill into that folder instead (`--skill`, else `kenso-cli`), for example a project's own skills folder. Name the folder like the skill, as agents expect.
88
92
  - A missing file is written (`"status":"created"`) and one an older kenso wrote is replaced (`"status":"updated"`); the same file is left as it is (`"status":"unchanged"`). A `SKILL.md` edited by hand is left alone (`"status":"edited"`) with a stderr line that names `--force`, and the command still exits 0. `--force` replaces it (`"status":"replaced"`).
89
93
  - `--dry-run` writes nothing and exits 0. It prints each target's status and a `next` that applies it.
90
- - Under a detected agent, when a bundled skill in that agent's folder is from an older kenso, a command ends with one stderr line, once per agent session: `The installed kenso-cli skill is from an older kenso: kenso skill install`. It reads the files only. `KENSO_NO_SKILL_NOTICE=1` turns it off.
91
- - Cursor also reads `~/.claude/skills/` and `~/.agents/skills/` (Gemini CLI and OpenCode read `~/.agents/skills/` too), so after a default install for all of them an agent may list `kenso-cli` more than once. To avoid that, install with `--client cursor` only, or remove the copies you do not need.
94
+ - Under a detected agent, when a bundled skill in that agent's folder is from an older kenso, a command ends with one stderr line, once per agent session: `The installed <name> skill is from an older kenso: kenso skill install`. It reads the files only, and nothing is replaced until you run `kenso skill install` or `kenso agent setup`. `KENSO_NO_SKILL_NOTICE=1` turns it off.
95
+ - Cursor also reads `~/.claude/skills/` and `~/.agents/skills/` (Gemini CLI and OpenCode read `~/.agents/skills/` too), so after a default install for all of them an agent may list each Kenso skill more than once. To avoid that, install with `--client cursor` only, or remove the copies you do not need.
96
+
97
+ Both skills also ship in the Kenso plugin for Claude Code (`Ken-Technology/ken-ai-plugin`), so `npx skills add Ken-Technology/ken-ai-plugin` installs them along with the MCP skills; the plugin's copies are these files byte for byte. The other Kenso skills come from the MCP: list them, and read any of them without installing it:
98
+
99
+ ```bash
100
+ kenso skill list
101
+ kenso skill show kenso
102
+ kenso skill show workflows --reference files.md
103
+ ```
92
104
 
93
- The skill also ships in the Kenso plugin for Claude Code (`Ken-Technology/ken-ai-plugin`), so `npx skills add Ken-Technology/ken-ai-plugin` installs it along with the MCP skills. The plugin's copy is this file byte for byte. To read it without installing, open `skill/kenso-cli/SKILL.md` in the package.
105
+ `kenso skill show` prints `kenso` and `kenso-cli` from the CLI itself, with no network and no sign-in. Any other skill is read from the Kenso MCP with your key.
94
106
 
95
107
  ## Rules the skill teaches
96
108
 
@@ -101,6 +113,8 @@ The skill also ships in the Kenso plugin for Claude Code (`Ken-Technology/ken-ai
101
113
  - **Follow `next`.** Every error with a known fix carries the exact command to run.
102
114
  - **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.
103
115
  - **Look things up, do not guess.** `kenso describe <resource> <action>` prints any command's flags and body schema as JSON.
116
+ - **Find, then look up.** `kenso discover` turns a plain request into the command, doc, skill or workflow step for it, offline, with the next command to run.
117
+ - **See the cost first.** Every dry run of paid work prints `credits` with `needed`, `available` and `sufficient`. `kenso credits` reads the balance, usage and prices.
104
118
 
105
119
  ## What a command does and what it costs
106
120
 
@@ -136,6 +150,36 @@ KENSO_READ_ONLY=1 kenso contacts search --limit 1
136
150
  kenso --read-only describe email-finds create
137
151
  ```
138
152
 
153
+ ## Find a command: kenso discover
154
+
155
+ `kenso discover` searches every command, doc topic, skill and workflow step type this release has, with no network and no key. Each argument is one query: plain words, or `"<what you have> -> <what you need>"`.
156
+
157
+ ```bash
158
+ kenso discover "linkedin url -> email"
159
+ kenso discover "pause a campaign" "export leads" --kind command --limit 3
160
+ kenso describe email-finds create
161
+ ```
162
+
163
+ It prints one object per query, `{"query", "hits", "more"}` (NDJSON when piped). Each hit has its `kind`, `id`, `summary`, `effect` (`read`, `write`, `spend`, `send` or `destructive`), `cost` (in credits, from your saved or the bundled rate card, or `null`) and `describe`, the exact command to run next. `--limit` is 5 by default and at most 10. A query with no hit prints an empty `hits` and exits 0. The index is built when the CLI is released, so a skill added since then shows up in the next release.
164
+
165
+ ## Credits
166
+
167
+ Prices are in credits only, from your workspace's own rate card. A skill or a doc never states a price: ask the CLI.
168
+
169
+ ```bash
170
+ kenso credits balance
171
+ kenso credits rate-card --action email_found
172
+ kenso credits quote --kind leads --count 200
173
+ kenso credits usage --since 7d
174
+ kenso credits usage --run <runId>
175
+ ```
176
+
177
+ - `balance`: credits `available`, and where they come from.
178
+ - `rate-card`: what each action costs on your card. Offline it prints the card saved in the last day, else the two bundled cards, labelled.
179
+ - `quote`: an estimate before you run anything, as `credits` with `needed`, `available` and `sufficient`. `--kind` is `campaign`, `build`, `infra`, `accounts`, `leads` or `places`; `--workflow <id or file> --records <n>` prices a workflow run.
180
+ - `usage`: the ledger, filtered by `--run`, `--workflow`, `--campaign`, `--action`, `--since` and `--until`, with the total on stderr. With no filter, this billing month's spend by category.
181
+ - `limit` (beta) shows the workflow spend limits, and `savings` the work Kenso did without taking credits.
182
+
139
183
  ## The token-saving pattern
140
184
 
141
185
  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:
@@ -188,7 +232,7 @@ Point the run folders at the workspace if the home folder does not persist betwe
188
232
  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:
189
233
 
190
234
  - 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;
191
- - help starts with `Agents: load the kenso-cli skill first: kenso skill install`;
235
+ - help starts with `Agents: load the kenso skill first: kenso skill show kenso`;
192
236
  - 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;
193
237
  - browser login never opens a browser itself: it prints the link for you to open.
194
238
 
@@ -10,6 +10,7 @@ Every command follows one contract, so a script or an agent can parse any of the
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
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
+ - A dry run of a command that can charge credits adds `credits`: `{"needed": n, "available": n, "sufficient": true}`, in credits. A batch command prices the whole file; a single API command adds `cost`, its price lines from your rate card. No output shows a currency amount.
13
14
 
14
15
  ## Formats
15
16
 
@@ -20,14 +21,16 @@ Every command follows one contract, so a script or an agent can parse any of the
20
21
  | A batch run | key-value lines | one JSON summary object |
21
22
  | No content (HTTP 204, such as a delete) | key-value lines: `ok`, `status`, `request` | `{"ok":true,"status":204,"request":{"method":"DELETE","path":"/v1/tasks/7"}}` |
22
23
 
23
- `-o` or `--output` picks the format: `json`, `ndjson`, `table` or `ids`. `--json` is the same as `-o json`.
24
+ `-o` or `--output` picks the format: `json`, `ndjson`, `table`, `ids` or `csv`. `--json` is the same as `-o json`.
24
25
 
25
26
  - `-o json` on a list prints one JSON array. On a terminal, `-o json` pretty-prints an object.
26
27
  - `-o ids` prints one id per line, ready for `--ids -`. Items without an `id` are skipped with one warning.
28
+ - `-o csv` prints a header row, then one row per item (RFC 4180, `\n` line ends). The columns are the `--fields` names in the order you give them; without `--fields`, the top-level keys of the first 100 rows, in the order they first appear. A nested field is `a.b`, an object or array in a cell is its compact JSON, and `null` or a missing key is an empty cell. With `--all` the header is fixed from the first 100 rows, and a later row's other keys are dropped with one line on stderr naming them. A single object prints as a two-line CSV. Values are written as they are: nothing is cut, and line breaks stay inside the quotes.
27
29
 
28
30
  ```bash
29
31
  kenso campaigns list --limit 3
30
32
  kenso campaigns list --limit 3 -o json
33
+ kenso campaigns list --limit 3 -o csv --fields id,name,status
31
34
  kenso contacts list --campaign-id 812 --all -o ids
32
35
  ```
33
36
 
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.155 (API contracts 3c76902a014c) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.157 (API contracts c07fe0976312) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 1930 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
+ 1931 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
 
@@ -37,7 +37,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
37
37
  - [account-signals](#account-signals) (3)
38
38
  - [account-tiers](#account-tiers) (3)
39
39
  - [account-views](#account-views) (5)
40
- - [accounts](#accounts) (27)
40
+ - [accounts](#accounts) (28)
41
41
  - [ad-audiences](#ad-audiences) (5)
42
42
  - [ad-connections](#ad-connections) (6)
43
43
  - [agent](#agent) (1)
@@ -835,6 +835,12 @@ List accounts in the current workspace. `GET /v1/accounts` (a list). Beta: needs
835
835
 
836
836
  Flags: `--account-type`, `--cursor`, `--domain`, `--expand`, `--fits-icp`, `--has-open-opportunity`, `--ids`, `--is-customer`, `--latest-signal-after`, `--limit`, `--next-touch-before`, `--owner-member-id`, `--search`, `--sort`, `--stage`, `--stage-group`, `--tag-ids`, `--why-not-now`, `--no-fits-icp`, `--no-has-open-opportunity`, `--no-is-customer`, `--all`, `--each`, `--concurrency`.
837
837
 
838
+ ### kenso accounts list-field-values
839
+
840
+ List every value the workspace's accounts hold in one text field. `GET /v1/accounts/field-values` (a list). Beta: needs `accounts`.
841
+
842
+ Flags: `--cursor`, `--field`, `--limit`, `--search`, `--all`, `--each`, `--concurrency`.
843
+
838
844
  ### kenso accounts merge
839
845
 
840
846
  Merge an account into the one you keep. --dry-run shows what would change and writes nothing. `POST /v1/accounts/{accountId}/merge`. Beta: needs `accounts` and `crm_import_export`.
@@ -0,0 +1,209 @@
1
+ # Workflows (beta)
2
+
3
+ A workflow is automation in Kenso: one trigger, a list of steps and limits. With the CLI you keep a workflow as a JSON file in your folder or repo: write it, check it, push it to the draft, test the draft, publish the version you tested, and run it on records with a credit cap and a results file.
4
+
5
+ The commands are beta: they show where your workspace has the `workflows` feature. Help hides them until your workspace has it; `kenso --help --all-commands` shows them. `kenso workflows test` and `kenso workflows run` also need `workflows_runtime`. Without it `test` stops with `runtime_off` (exit 4), "Workflows cannot run in this workspace yet.", with no retry, and a run that `kenso workflows run` starts stays `queued`, which `--wait` reports at its timeout.
6
+
7
+ | Command | What it does |
8
+ |---|---|
9
+ | `workflows init [name]` | Write a new workflow file, blank or from a template, and a `kenso.json` |
10
+ | `workflows pull <workflowId>` | Write a saved workflow's definition to a file and bind the file |
11
+ | `workflows check <file>` | Validate the file and estimate one record; saves nothing |
12
+ | `workflows push <file>` | Create the workflow or save the file to its draft; with `--publish`, publish it |
13
+ | `workflows test <file>` | Run the saved draft once on one record |
14
+ | `workflows diff <file>` | Compare the file with the published version or the draft |
15
+ | `workflows schema` | Print a JSON Schema for workflow files, for editors |
16
+ | `workflows run <file or id>` | Run the published workflow on ids or a CSV, estimate first |
17
+ | `workflow-runs logs <runId>` | One row per step of a run: status, credits, error |
18
+
19
+ The other workflow commands are generated from the API, one per route: `kenso workflows publish`, `unpublish`, `get` and `list`, `kenso workflow-versions`, `kenso workflow-runs list`, `get`, `cancel`, `restart`, `retry` and `replay`, `kenso workflow-templates` and `kenso workflow-step-types`. `kenso <command> --help` shows their flags.
20
+
21
+ ## The file
22
+
23
+ A workflow file is one JSON object in the `kenWorkflow: "1"` format, named `<name>.workflow.json`:
24
+
25
+ ```json
26
+ {
27
+ "kenWorkflow": "1",
28
+ "name": "Qualify accounts",
29
+ "description": "Scores each account against a simple ICP.",
30
+ "trigger": { "type": "trigger.manual@1", "with": { "recordType": "account" } },
31
+ "steps": [
32
+ { "id": "qualify", "type": "ai.qualify@1", "with": { "criteria": "B2B SaaS, 50+ people", "tier": "cheap" } }
33
+ ],
34
+ "limits": { "creditsPerMonth": 100, "creditsPerRun": 5, "runsPerDay": 50, "atLimit": "ask" }
35
+ }
36
+ ```
37
+
38
+ The format (trigger, steps, references, formulas, limits) is the `workflows` skill's `references/definition-format.md`. `kenso workflows schema` prints a JSON Schema (draft 2020-12) of the file with each step type's inputs, for an editor, offline; the server's validate stays the authority. `kenso workflow-step-types get` prints one step type's inputs and an example.
39
+
40
+ ```bash
41
+ kenso workflows schema --out workflow.schema.json
42
+ kenso workflow-step-types get --type ai.qualify@1
43
+ kenso mcp call load_skill --args '{"name":"workflows","reference":"references/definition-format.md"}'
44
+ ```
45
+
46
+ ## kenso.json
47
+
48
+ `kenso.json` binds workflow files to workflow ids and pins the folder's workspace. `init`, `pull` and `push` write it; you rarely edit it by hand.
49
+
50
+ ```json
51
+ {
52
+ "workspaceId": "3047",
53
+ "profile": "client-a",
54
+ "workflows": { "workflows/qualify.workflow.json": 412 }
55
+ }
56
+ ```
57
+
58
+ - All three keys are optional. `workspaceId` is a string of digits. `profile` is a profile name. `workflows` maps a path relative to `kenso.json` (forward slashes) to a workflow id. One file holds one workflow and one workflow is bound to one file: binding a second is `already_bound` (exit 7). Other keys are kept when the CLI rewrites the file.
59
+ - The CLI looks for it from the current folder up to the first folder that holds `.git`; for a command given a file, from that file's folder.
60
+ - The workspace is `--workspace`, else `KENSO_WORKSPACE_ID`, else `kenso.json`, else the profile's. The profile is `--profile`, else `KENSO_PROFILE`, else `kenso.json`, else the active profile. `kenso.json` never changes the API URL or the key.
61
+ - A file command run in another workspace than the one `kenso.json` names stops with `workspace_mismatch` (exit 2): its workflow ids belong to that workspace.
62
+ - It never holds a key or an API URL. A file with `apiKey`, `key`, `token`, a value starting with `kenso_`, or `apiUrl` is `folder_file_invalid` (exit 2), "kenso.json never holds a key or an API URL: remove <name>.", and nothing reads it. Invalid JSON, or a key of the wrong type, is the same error with the path and the key.
63
+ - `kenso whoami` and `kenso auth status` print `workspaceSource` (`flag`, `env`, `folder`, `profile` or `none`) and, for `folder`, `folderFile`.
64
+
65
+ ```bash
66
+ kenso whoami -o json
67
+ ```
68
+
69
+ ## The first run
70
+
71
+ From a template to records:
72
+
73
+ ```bash
74
+ kenso workflow-templates list
75
+ kenso workflows init qualify --template <templateKey>
76
+ kenso workflows push qualify.workflow.json
77
+ kenso workflows check qualify.workflow.json --mode publish
78
+ kenso workflows test qualify.workflow.json --record account:<accountId>
79
+ kenso workflows push qualify.workflow.json --publish --expected-hash <definitionHash>
80
+ kenso workflows run qualify.workflow.json --ids ids.txt --dry-run
81
+ kenso workflows run qualify.workflow.json --ids ids.txt --max-credits 10 --yes
82
+ ```
83
+
84
+ Fill the template's `<fill in: ...>` placeholders and set `limits` in the file before the first push. `check --mode publish` names everything publish would refuse, with a `fix` for each issue.
85
+
86
+ ## The commands
87
+
88
+ ### init
89
+
90
+ ```bash
91
+ kenso workflows init qualify --template <templateKey> --dir workflows
92
+ ```
93
+
94
+ Writes `<name>.workflow.json`: the template's definition with `--template`, else a blank definition with `trigger.manual@1` and no steps. Writes `kenso.json` with the resolved workspace when no folder file is found. It never replaces a file (`file_exists`, exit 7), sends no request without `--template`, and creates nothing in Kenso. Prints `{file, template, folderFile, folderFileCreated, workspaceId}`.
95
+
96
+ ### pull
97
+
98
+ ```bash
99
+ kenso workflows pull 412 --out qualify.workflow.json
100
+ ```
101
+
102
+ Writes the draft's definition (else the published one; `--published` takes the published one) to `--out` or `<slug of the name>.workflow.json`, with 2-space indents and a final newline, and binds the file in `kenso.json`. An existing file is replaced only when `kenso.json` binds it to this workflow (else `file_exists`, exit 7). When the workflow is bound to another file already, the new file is an unbound copy. Prints `{file, workflowId, draftVersion, draftHash, publishedHash, status}`.
103
+
104
+ ### check
105
+
106
+ ```bash
107
+ kenso workflows check qualify.workflow.json --mode publish
108
+ ```
109
+
110
+ Sends the file as the definition to validate (saving nothing) and to the estimate for one record. Prints `{valid, issues, perRecord, draftHash, inSync, next}`: each issue has `path`, `code`, `message`, `fix` and `severity`; `perRecord` is `{expectedCredits, maxCredits}`; `draftHash` is the saved draft's hash, and `inSync` says whether the file equals that draft. Exit 0 when valid, 5 when not. `--mode draft` (the default) checks structure, schemas, references and formulas; `--mode publish` also checks limits, secrets and connected apps. An unbound file is `workflow_not_bound` (exit 2), "check needs a workflow id: a draft runs nothing and costs nothing.", with `next: kenso workflows push <file>`.
111
+
112
+ ### push
113
+
114
+ ```bash
115
+ kenso workflows push qualify.workflow.json --note "Raise the size floor"
116
+ kenso workflows push qualify.workflow.json --dry-run
117
+ ```
118
+
119
+ An unbound file creates the workflow and binds the file. A bound file is saved to the draft when it differs from it, on top of the draft version just read; an identical file saves nothing. Prints `{workflowId, saved, draftVersion, draftHash, published, status, next}`. `--dry-run` prints `wouldSend`: which of create, update and publish it would send. `--publish` publishes after the save, and `--expected-hash` goes with it (see The hash rule).
120
+
121
+ ### test
122
+
123
+ ```bash
124
+ kenso workflows test qualify.workflow.json --record account:<accountId> --wait 50
125
+ ```
126
+
127
+ Runs the saved draft once on one record: `--record <type:id>` (`person:812`; the types are `account`, `person`, `lead` and `place`), else the newest record of the trigger's type. `--wait` is the seconds the API waits for the run, 0 to 50 (50 by default). AI and data steps run for real and are charged; sends and CRM writes are simulated. A file that differs from the draft is refused (`draft_out_of_sync`, exit 7, `next: kenso workflows push <file>`). Prints `{testPassed, timedOut, definitionHash, publishPassRecorded, run: {id, status, creditsCharged}, hint, next}`; after a pass, `next` is the publish command with `--expected-hash <definitionHash>`. Exit 1 when the test did not pass.
128
+
129
+ ### diff
130
+
131
+ ```bash
132
+ kenso workflows diff qualify.workflow.json --against draft
133
+ ```
134
+
135
+ Compares the file with the published version (the default; the draft when nothing is published) or with the draft. Prints `{against, same, nameChanged, triggerChanged, limitsChanged, stepsAdded, stepsRemoved, stepsChanged}` with step ids. Exit 0 either way.
136
+
137
+ ### schema
138
+
139
+ ```bash
140
+ kenso workflows schema --out workflow.schema.json
141
+ ```
142
+
143
+ Prints, or writes to `--out`, the JSON Schema of a workflow file. It needs no sign-in and no network, and `--out` replaces only a schema it wrote.
144
+
145
+ ## The hash rule
146
+
147
+ `definitionHash` is computed by the server for a saved draft and leaves `plain` out; the CLI never computes one. When the CLI compares a file with a saved definition, it compares them as JSON with keys sorted at every level: whitespace and key order never count.
148
+
149
+ - Publish needs a passed test on the draft's hash. Without one the CLI stops with `test_required` (exit 7), "Publish needs a passed test on this exact draft.", and `next: kenso workflows test <file>`.
150
+ - `--expected-hash <hash>` makes push compare the draft's hash after the save with the value. A mismatch is `hash_mismatch` (exit 7), "The draft's hash is <actual>, not <expected>.", and nothing is published; the saved draft stays. Pass the hash `kenso workflows test` printed.
151
+ - Under a coding agent, `--publish` without `--expected-hash` is refused (`usage_error`, "an agent publishes only the version it tested: pass --expected-hash"). A person at a terminal may publish without it.
152
+ - **The gap.** The publish route takes no hash, so a save that lands between the CLI's hash check and the publish call can be published. The server's `version_conflict` on a concurrent save and its rule that publish needs a passed test bound it.
153
+ - A save that meets a newer draft is `version_conflict` (exit 7), "Someone saved this workflow since you read it.", with `next: kenso workflows diff <file> --against draft`.
154
+ - A definition the server refuses on save or publish is `invalid_definition` (exit 5) with its issues (`path`, `code`, `message`); on a publish, `next` is `kenso workflows check <file> --mode publish`, which adds a `fix` to each.
155
+
156
+ ## Run on records
157
+
158
+ ```bash
159
+ kenso accounts list --limit 50 -o ids > ids.txt
160
+ kenso workflows run qualify.workflow.json --ids ids.txt --dry-run
161
+ kenso workflows run qualify.workflow.json --ids ids.txt --max-credits 10 --wait --out results.csv --yes
162
+ kenso workflows run 412 --file people.csv --record-type person --dry-run
163
+ ```
164
+
165
+ - **Target.** A number is a workflow id. A file must be bound in `kenso.json` and equal to the published version, else `unpublished_changes` (exit 7), "This file differs from the published version.", with `next` naming the push that publishes it (with `--expected-hash` when the saved draft holds the file). A workflow that is not live is `invalid_state` (exit 7) with `next: kenso workflows publish --workflow-id <id>`. Nothing publishes by itself.
166
+ - **Record type** is the trigger's (`trigger.manual@1` takes its `with.recordType`); `--record-type` (`account`, `person`, `lead` or `place`) overrides it. A trigger that names no record type needs the flag (`not_runnable_on_records`, exit 2).
167
+ - **Input.** `--ids` is one id per line (`-` reads stdin). `--file` is a CSV: with an `id` column, those ids; without one and with record type `person`, each row is matched or created as a person in chunks of 200, with the columns `kenso people import` accepts and no email finding. Any other record type without an `id` column is `ids_required` (exit 2), which names `kenso contacts import` or `kenso accounts import`. Duplicated ids run once. A saved list runs through a workflow whose trigger is `trigger.saved_list@1` or `trigger.csv@1`; `--list` is not a flag.
168
+ - **Dry run.** `--dry-run`, and a run without `--yes`, estimate per chunk of up to 1,000 records, start nothing, and print `{dryRun, workflowId, records, recordType, credits: {needed, available, sufficient}, perRecord, expectedCredits, cap, next}`. `needed` is the estimate's maximum. A CSV without ids is estimated on its row count and creates no person.
169
+ - **Confirmation.** Without `--yes`, a person at a terminal is asked once with the plan on screen. Under a coding agent the command prints the plan and stops, with `next` naming the same command with `--yes`.
170
+ - **`--max-credits <n>`** is enforced by the CLI; the server is sent no cap. The ceiling per record is the definition's `limits.creditsPerRun` when set (`cap.kind: "hard"`), else the estimate's maximum per record (`cap.kind: "estimate"`). The CLI starts the first `floor(n / ceiling)` records and reports the rest as `not_started` with reason `over --max-credits`. The plan and the summary print `cap: {maxCredits, kind, perRecord, willStart, notStarted}`. A cap below one record's ceiling starts nothing: `cap_too_low` (exit 6), with `next` naming the smallest cap that starts one record. A workspace out of credits starts nothing either (`out_of_credits`, exit 6).
171
+ - **`--wait`** follows each started run, up to 8 reads at a time, until it leaves `queued`, `running` and `waiting`, or `--timeout` (90s, 10m, 1h; default 30m) passes. A run still `waiting` at the timeout is reported as `waiting`. `--timeout` goes with `--wait`.
172
+ - **`--out <results.csv>`** (needs `--wait`) writes one row per input record when the batch ends: `row, id, status, runId, runStatus, creditsCharged, missReason, error`, then one column per step id holding that step's output as compact JSON. The path is checked before the first request: its folder must exist, and an existing file is refused (`file_exists`, exit 7) unless it is this run's own.
173
+ - **Summary.** One JSON object with `records`, `started`, `deduplicated`, `notStarted`, `succeeded`, `failed`, `waiting`, `missed` (reason to count), `creditsCharged` (`"pending"` without `--wait` or while runs are open), `cap`, `resultsCsv`, `appUrl` (the workflow's page in the app) and `next`, and the same counts on one stderr line. With `--wait`, a run that failed makes `next` its `kenso workflow-runs logs <runId>`.
174
+
175
+ ## The run folder
176
+
177
+ Each applied run writes a run folder (`~/.kenso/runs/<id>`) that records every chunk's response, as every batch command does: see [Batch runs](batch.md). `kenso runs resume <runId>` never resends a chunk it has an answer for. A chunk that was sent and has no recorded answer is not resent either: resume stops with `chunk_outcome_unknown` (exit 5), the chunk's first and last row, and `next: kenso workflow-runs list --workflow-id <id> --created-after <chunk start time>`, so you can see what started.
178
+
179
+ ```bash
180
+ kenso runs resume <runId>
181
+ kenso workflow-runs list --workflow-id 412 --created-after 2026-11-21T10:00:00Z
182
+ ```
183
+
184
+ ## Read a run
185
+
186
+ ```bash
187
+ kenso workflow-runs logs <runId>
188
+ kenso workflow-runs logs <runId> --step qualify --full
189
+ ```
190
+
191
+ One row per step run in start order: `{nodeId, stepType, status, attempt, startedAt, endedAt, ms, credits, error}`, NDJSON when piped. `--step` keeps one node; `--full` adds each step's `input`, `output` and `attempts`. A header line on stderr gives the run's status, workflow, record and the credits it charged, and `needs attention: <reason>` when one is set. A failed run ends with `next: kenso workflow-runs retry --run-id <id> --dry-run`.
192
+
193
+ ## Step outputs are kept 7 days
194
+
195
+ A succeeded run's step outputs are dropped 7 days after it finishes, unless the workflow keeps success details. `--out` writes them when the batch ends, so run with `--wait --out` when you need the results later.
196
+
197
+ ## Exit codes
198
+
199
+ | Exit | When |
200
+ |---|---|
201
+ | 0 | Done. For `run`, every record started and, with `--wait`, none failed |
202
+ | 1 | `test`: the test did not pass |
203
+ | 2 | Usage: `workflow_not_bound`, `folder_file_invalid`, `workspace_mismatch`, `not_runnable_on_records`, `ids_required`, or `--publish` without `--expected-hash` under a coding agent |
204
+ | 4 | `test`: `runtime_off`, the workspace cannot run workflows yet |
205
+ | 5 | `check` found the file not valid, the server refused a definition (`invalid_definition`), `run` has records that failed, were not found or were not started, or resume met `chunk_outcome_unknown` |
206
+ | 6 | `run`: the cap started nothing (`cap_too_low`), or the workspace is out of credits |
207
+ | 7 | A conflict: `file_exists`, `already_bound`, `draft_out_of_sync`, `hash_mismatch`, `test_required`, `version_conflict`, `unpublished_changes`, `invalid_state`, or an existing `--out` file |
208
+
209
+ Every error is one JSON line on stderr with `code`, `message`, `hint` and `next`: see [Output and errors](output-and-errors.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.155",
3
+ "version": "0.1.157",
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": "d73237980b84df0edc85b7be2791f0b92fa29657"
52
+ "gitHead": "61c6fc33b84a1795b1c4470b84c4a70d193e62f7"
53
53
  }
@@ -0,0 +1,171 @@
1
+ ---
2
+ name: kenso
3
+ description: "Use for any outbound work in Kenso: leads, lists, campaigns, sequences, replies, accounts, signals, workflows, Studio, sending setup, reporting. Routes to the Kenso skill for the job and sets the rules for workspace, spend, sends and the final reply."
4
+ ---
5
+
6
+ # Kenso: start here
7
+
8
+ This skill comes first for any work in Kenso. It sends you to the skill for the job and sets the rules every other Kenso skill follows: the workspace, spend, sends and the final reply. When another skill says "the spend rules", it means section 5 below.
9
+
10
+ ## 1. First
11
+
12
+ ```bash
13
+ kenso doctor
14
+ kenso whoami
15
+ kenso workspace list
16
+ kenso credits balance
17
+ ```
18
+
19
+ - `kenso doctor` checks the CLI, the key, the skills and the MCP. When a check fails, run its `next` before anything else.
20
+ - `kenso whoami` shows the workspace this folder and key use (`activeWorkspace`, with its `id` and `name`) and where it comes from (`workspaceSource`); `kenso workspace list` lists every workspace the key reaches. Before any change, tell the person: "I will work in <name> (<id>)."
21
+ - `kenso credits balance` shows the credits `available`. Read it before you plan anything that charges.
22
+
23
+ ## 2. The loop
24
+
25
+ ```bash
26
+ kenso discover "find work emails for a list of people"
27
+ kenso describe email-finds create
28
+ ```
29
+
30
+ 1. `kenso discover` with the request in plain words finds the command, doc, skill or workflow step for it, offline. Each hit has its `effect` (read, write, spend, send or destructive), its cost line and the `describe` command to run next.
31
+ 2. `kenso describe <resource> <action>` prints the command's flags, body, `effect` and `cost` as JSON.
32
+ 3. Run it with `--dry-run` and read the plan: what it would send and, for paid work, `credits` with `needed`, `available` and `sufficient`.
33
+ 4. Run it for real only as the rules below allow, with the plan's `next`.
34
+
35
+ While you only look around, set `KENSO_READ_ONLY=1`: any command that is not a read is then refused before it sends anything, and a `--dry-run` still prints its plan.
36
+
37
+ ## 3. Which skill
38
+
39
+ Load a skill with `kenso skill show` and its name, for example `kenso skill show workflows`, or with `load_skill` through the Kenso MCP. `kenso skill list` shows the ones this workspace can use.
40
+
41
+ | Need | Skill |
42
+ |---|---|
43
+ | Count my market, size it and build the list | `tam-builder` |
44
+ | People-search filters for a campaign | `ken-search` |
45
+ | Build a campaign from an ICP and an offer, to launch-ready | `create-campaign` |
46
+ | Why a campaign is up or down; my best and worst campaign | `campaign-diagnosis` |
47
+ | Fix the email that is not working in a live campaign | `campaign-improvement` |
48
+ | Go through replies, draft answers, offer meeting times | `reply-handling` |
49
+ | What needs my attention: what failed, stalled or came out wrong, and what to fix first | `kenso-triage` |
50
+ | My Today queue: the touches due today, to draft, snooze or skip | `today-review` |
51
+ | Bounces up or sends dropped | `deliverability-guard` |
52
+ | Sending setup: inboxes, domains, LinkedIn accounts, the link host | `delivery-setup` |
53
+ | Connect my own sending domains | `connect-domains` |
54
+ | Review or order sending domains | `domain-selection` |
55
+ | Inbox limits, display names, signatures, reply forwarding | `inbox-configuration` |
56
+ | How many domains and inboxes I need | `infra-planning` |
57
+ | Set up a new workspace | `setup-workspace` |
58
+ | Sign up from the agent, with no workspace yet | `onboarding-signup` |
59
+ | Company, offer and voice files in Knowledge | `knowledge-setup` |
60
+ | Edit the skills in Knowledge > Skills | `skill-editor` |
61
+ | Target accounts: add, research, map who buys, plan touches | `accounts` |
62
+ | A one-page brief on an account before a call | `account-brief` |
63
+ | Hiring, funding, job changes, website visits or replies that start outreach | `signals` |
64
+ | Outreach around a conference or trade show | `event-outbound` |
65
+ | A job opening turned into a candidate campaign | `role-intake` |
66
+ | Someone's social profiles and recent posts | `social-data` |
67
+ | Build, test and run a workflow, as a file or in the app | `workflows` |
68
+ | Build or edit a Studio template | `studio-template` |
69
+ | Fill a Studio page for an account or a candidate | `studio-asset` |
70
+ | Prep for a call, then follow it up | `meeting-prep-and-followup` |
71
+ | A MEDDIC summary of a call | `meddic-summary` |
72
+ | The objections raised on a call | `objection-log` |
73
+ | The next-steps email after a call | `next-step-email` |
74
+ | The handoff to the AE after a call | `handoff-to-ae` |
75
+ | Open deals by stage, and the stuck ones | `pipeline-review` |
76
+ | The weekly or monthly results report | `report` |
77
+ | The person asks for the start interview | `kenso-start` |
78
+
79
+ **CLI or MCP.** Use the CLI for work from a file, or on more than about 50 records: imports, updates, exports and workflow runs. The kenso-cli skill has those commands; `kenso agent setup` installs it beside this one. For one record or a question, the MCP is fine.
80
+
81
+ **What to offer.** Look first:
82
+
83
+ ```bash
84
+ kenso campaigns list --limit 5
85
+ ```
86
+
87
+ A workspace with campaigns: offer "Diagnose my best and worst campaign" (`campaign-diagnosis`) and "Triage today's replies" (`reply-handling`). A new workspace: offer the starter menu.
88
+
89
+ 1. Count my market: how many companies and people match my ICP?
90
+ 2. Check my sending setup and tell me what to fix before I launch.
91
+ 3. Draft a campaign for my company from my website and show it to me before anything is sent.
92
+ 4. Tell me what you want to get done.
93
+
94
+ They lead to `tam-builder`, `delivery-setup` and `create-campaign`; for the fourth, find the skill in the table or run `kenso discover` with the person's words.
95
+
96
+ ## 4. Workspace
97
+
98
+ Name the workspace before the first change, and again whenever it changes. A yes that does not name the workspace is not a yes: ask again, with its name. Under a coding agent, every command that is not a read prints `workspace: <id> (<source>)` on stderr: stop when it is not the workspace the person approved. A `kenso.json` in a folder holds that folder's workspace.
99
+
100
+ ## 5. Spend
101
+
102
+ These rules hold in every Kenso skill.
103
+
104
+ - A bounded request ("find emails for these 200 people") covers that scope and nothing wider. An open one ("find me leads") needs a row count and a budget from the person first.
105
+ - Sample first. When a paid step covers more than 25 records, or the estimate's `credits.needed` is over 10, run 3 to 5 records first, show the result and the projected cost of the rest, and ask before the rest. These four numbers are thresholds of this contract, not prices.
106
+ - Prices come from a `--dry-run`, `kenso credits quote` or `kenso credits rate-card`, never from memory or from a skill.
107
+ - `Effect: write.` in a command's help is not proof that it is free: not every route that charges is marked. The dry run or `kenso credits quote` is the authority.
108
+ - Ask once, with one approval block, and wait for the yes:
109
+
110
+ ```text
111
+ Plan: <what will run>
112
+ Records: <how many, and from where>
113
+ Estimate: <needed> of <available> available credits (from the dry run)
114
+ Cap: --max-credits <the cap you will set>
115
+ Reply yes to run it.
116
+ ```
117
+
118
+ - On `kenso workflows run`, always set `--max-credits` to the cap in the approval block.
119
+ - Out of credits (`sufficient: false` in the plan, or a run that stops because the credits ran out): stop, show what finished, and give the billing link, https://app.ken.so/<workspace id>/settings/billing. Never retry in a loop.
120
+
121
+ ```bash
122
+ kenso credits quote --kind leads --count 200
123
+ kenso credits rate-card --action email_found
124
+ ```
125
+
126
+ ## 6. Sends
127
+
128
+ Sends, launches, CRM writes and schedule changes need a yes that names the campaign or the record set ("launch campaign 812", "update these 40 deals in the CRM"). A yes to a plan is not a yes to send. A delete, archive or remove runs with `--yes` only after the person said yes to that delete.
129
+
130
+ ## 7. Workflows, signals and tools
131
+
132
+ - A **workflow** is a saved set of steps that runs on each record (an account, a person, a lead), started by hand, on a schedule or by a signal. The `workflows` skill builds one; its file loop is `kenso skill show workflows --reference files.md`.
133
+ - A **signal** is an event that starts a workflow: hiring, funding, a job change, a website visit, a reply. `kenso signals types` lists them; the `signals` skill watches for them.
134
+ - A **tool** is one command you run yourself (`kenso discover` finds it) or one MCP operation.
135
+
136
+ The first run of a workflow template is five commands: `init --template`, `push`, `test`, `push --publish --expected-hash` with the hash `test` printed, and `run`. Check the file after every edit, and dry-run the run before the paid one:
137
+
138
+ ```bash
139
+ kenso workflow-templates list
140
+ kenso workflows init qualify --template <templateKey>
141
+ kenso workflows push qualify.workflow.json
142
+ kenso workflows check qualify.workflow.json --mode publish
143
+ kenso workflows test qualify.workflow.json --record account:<accountId>
144
+ kenso workflows push qualify.workflow.json --publish --expected-hash <definitionHash>
145
+ kenso workflows run qualify.workflow.json --ids ids.txt --max-credits <cap> --dry-run
146
+ kenso workflows run qualify.workflow.json --ids ids.txt --max-credits <cap> --wait --out results.csv --yes
147
+ ```
148
+
149
+ ## 8. Your own agent plan: kenso work
150
+
151
+ Where your workspace has it, `kenso work` runs Kenso AI steps on your own Claude or Codex plan at 0 Kenso AI credits. Check with `kenso work status`: it lists what waits for your agent, and answers `not_found` when the workspace does not have it yet. When most of an estimate is AI steps, name this to the person as an option before they approve.
152
+
153
+ ```bash
154
+ kenso work status
155
+ ```
156
+
157
+ ## 9. The final reply
158
+
159
+ End every job with this reply, in this order:
160
+
161
+ ```text
162
+ Outcome: <what ran, on how many records, what it produced>
163
+ Misses: <count and reason for each kind of miss, or none>
164
+ Links: <the app page> and <the results file>
165
+ Credits spent: <from the run summary's creditsCharged, or kenso credits usage --run <runId>>
166
+ Next: <the one next step you recommend>
167
+ ```
168
+
169
+ ## No Kenso account yet
170
+
171
+ These steps run on the Kenso MCP server, which signs in with a Kenso account. If the user has none, send them to https://app.ken.so/get-started to create one, then sign in when the agent asks.
@@ -27,7 +27,7 @@ kenso connect inbox --provider google # also calendar, crm, github, linkedin .
27
27
  kenso onboarding-builds events --build-id obd_2x --until done,error # live streams: one JSON line per event, reconnects itself
28
28
  ```
29
29
 
30
- Charges: `accounts import` per new account, `studio fill` per page (again for ids from another file): show the estimate. `pinned_by_user`: with the person's OK, rerun with `--overwrite-pinned`. Workflows: `kenso workflows brief` first; secrets only as `{{secrets.NAME}}`. Key: `KENSO_API_KEY`, or pipe a variable, no check: `printf '%s' "$KEY" | kenso auth login --with-key`; never in a flag, output or file.
30
+ Charges: follow the kenso skill's spend rules; every dry run prints the credit estimate. `pinned_by_user`: with the person's OK, rerun with `--overwrite-pinned`. Workflows: `kenso docs workflows` first; secrets only as `{{secrets.NAME}}`. Key: `KENSO_API_KEY`, or pipe a variable, no check: `printf '%s' "$KEY" | kenso auth login --with-key`; never in a flag, output or file.
31
31
 
32
32
  ## Work (beta): My agent
33
33
 
@@ -25,6 +25,10 @@
25
25
  "2fc2b2771c36b0ce462cdaab4933b9ee294274cd32324b7decb3abd1164a2d89",
26
26
  "8e79d18098e6ed3b79c3bce771a46180b50e9ed1b741e64ffcb301601282eb12",
27
27
  "fcac2e80b3d818394465a491bad232025d1c201515ef7fb778e4aa51669b3e61",
28
- "42fa3f163ab9aa70260040b443830c57dc7926e935a557c40896038e8817b088"
28
+ "42fa3f163ab9aa70260040b443830c57dc7926e935a557c40896038e8817b088",
29
+ "b34e186f56f36b509bffa0dea2ee78b09e91654b90a659d6665563df4fa88f76"
30
+ ],
31
+ "kenso": [
32
+ "6fb333a826726d51ba2ea3927745f843343490c8aa9098e5da682d24172323f7"
29
33
  ]
30
34
  }