kenso 0.1.114 → 0.1.115
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 +2 -0
- package/dist/kenso.js +172 -96
- package/dist/operations.index.json +1 -1
- package/dist/operations.json +1 -1
- package/docs/output-and-errors.md +2 -1
- package/docs/reference.md +36 -9
- package/docs/studio.md +5 -3
- package/package.json +2 -2
|
@@ -161,9 +161,10 @@ Two API codes change the exit code: `workspace_required` exits 2 with `"next":"k
|
|
|
161
161
|
| `docs_not_found` | 4 | `kenso docs reference` before the reference was generated (a source checkout without `pnpm build`) |
|
|
162
162
|
| `run_in_progress`, `already_filled` | 7 | Another process is working on the run, or `studio fill` already ran with this file and these flags |
|
|
163
163
|
| `skill_exists` | 7 | `kenso skill install` found a different `SKILL.md`; `next` adds `--force` to replace it |
|
|
164
|
+
| `local_changes` | 7 | `studio pull` would replace files that no earlier pull wrote or push sent, or that changed since; nothing was written, and `next` adds `--force` to replace them |
|
|
164
165
|
| `job_timeout`, `job_failed`, `job_canceled` | 1 | `kenso jobs wait` (or a command that waits on a job) ran out of time, or the job failed or was canceled |
|
|
165
166
|
| `mcp_tool_error` | 1 | `kenso mcp call`: the MCP tool answered with an error |
|
|
166
|
-
| `unsafe_path` | 1 | `studio pull` refused a file path that would land outside `--dir
|
|
167
|
+
| `unsafe_path` | 1 | `studio pull` refused a file path that would land outside `--dir`, starts a file or folder name with a dot, or passes through a symbolic link |
|
|
167
168
|
| `network_error` | 8 | The API could not be reached after retries |
|
|
168
169
|
| `upload_failed`, `download_failed` | 8 or 1 | A signed upload or download of a Studio file failed: 8 when storage was unreachable or answered 5xx, 1 on a 4xx (often an expired link: run the command again) |
|
|
169
170
|
| `pull_incomplete` | 8 | `studio pull`: a file came back with neither text nor a download link |
|
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.115 (API contracts eea49c0552e1) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1900 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
|
|
|
@@ -64,6 +64,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
64
64
|
- [api-keys](#api-keys) (5)
|
|
65
65
|
- [api-requests](#api-requests) (2)
|
|
66
66
|
- [apollo-lists](#apollo-lists) (1)
|
|
67
|
+
- [app-shell](#app-shell) (1)
|
|
67
68
|
- [approval-tests](#approval-tests) (6)
|
|
68
69
|
- [approvals](#approvals) (4)
|
|
69
70
|
- [appsumo-activations](#appsumo-activations) (1)
|
|
@@ -123,7 +124,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
123
124
|
- [campaign-video-lookahead](#campaign-video-lookahead) (1)
|
|
124
125
|
- [campaign-video-settings](#campaign-video-settings) (2)
|
|
125
126
|
- [campaign-video-variables](#campaign-video-variables) (4)
|
|
126
|
-
- [campaigns](#campaigns) (
|
|
127
|
+
- [campaigns](#campaigns) (44)
|
|
127
128
|
- [capture](#capture) (9)
|
|
128
129
|
- [capture-mailbox](#capture-mailbox) (4)
|
|
129
130
|
- [capture-threads](#capture-threads) (2)
|
|
@@ -347,7 +348,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
347
348
|
- [outbound-event-suggestions](#outbound-event-suggestions) (3)
|
|
348
349
|
- [outbound-events](#outbound-events) (15)
|
|
349
350
|
- [outbound-site](#outbound-site) (7)
|
|
350
|
-
- [people](#people) (
|
|
351
|
+
- [people](#people) (32)
|
|
351
352
|
- [performance-deal](#performance-deal) (8)
|
|
352
353
|
- [permission-catalog](#permission-catalog) (1)
|
|
353
354
|
- [permission-templates](#permission-templates) (5)
|
|
@@ -1398,6 +1399,14 @@ List Apollo contacts lists. `GET /v1/integrations/apollo/lists` (a list).
|
|
|
1398
1399
|
|
|
1399
1400
|
Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
1400
1401
|
|
|
1402
|
+
## app-shell
|
|
1403
|
+
|
|
1404
|
+
### kenso app-shell get
|
|
1405
|
+
|
|
1406
|
+
Read the app shell's data. `GET /v1/app-shell`.
|
|
1407
|
+
|
|
1408
|
+
Flags: `--include`, `--timezone`, `--each`, `--concurrency`.
|
|
1409
|
+
|
|
1401
1410
|
## approval-tests
|
|
1402
1411
|
|
|
1403
1412
|
### kenso approval-tests advance
|
|
@@ -2908,6 +2917,18 @@ Set the Studio template a campaign uses. `PUT /v1/campaigns/{campaignId}/asset-t
|
|
|
2908
2917
|
|
|
2909
2918
|
Flags: `--campaign-id` (required), `--template-id`, `--version-id`, `--data`, `--each`, `--concurrency`.
|
|
2910
2919
|
|
|
2920
|
+
### kenso campaigns bulk-pause
|
|
2921
|
+
|
|
2922
|
+
Pause several campaigns. `POST /v1/campaigns/bulk-pause`.
|
|
2923
|
+
|
|
2924
|
+
Flags: `--data`, `--each`, `--concurrency`.
|
|
2925
|
+
|
|
2926
|
+
### kenso campaigns bulk-resume
|
|
2927
|
+
|
|
2928
|
+
Resume several campaigns. `POST /v1/campaigns/bulk-resume`.
|
|
2929
|
+
|
|
2930
|
+
Flags: `--data`, `--each`, `--concurrency`.
|
|
2931
|
+
|
|
2911
2932
|
### kenso campaigns clear-launch-schedule
|
|
2912
2933
|
|
|
2913
2934
|
Clear a campaign's launch schedule. `DELETE /v1/campaigns/{campaignId}/launch-schedule`. Beta: needs `launch_schedule`.
|
|
@@ -6808,7 +6829,7 @@ Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
|
6808
6829
|
|
|
6809
6830
|
Finish signing Kenso in to a workspace MCP server, from the Kenso app's OAuth callback page. `POST /v1/mcp-servers/oauth/complete`. Beta: needs `custom_mcp`.
|
|
6810
6831
|
|
|
6811
|
-
Flags: `--code`, `--state`, `--error`, `--data`, `--each`, `--concurrency`.
|
|
6832
|
+
Flags: `--code`, `--state`, `--error`, `--iss`, `--data`, `--each`, `--concurrency`.
|
|
6812
6833
|
|
|
6813
6834
|
### kenso mcp-server-authorizations create
|
|
6814
6835
|
|
|
@@ -8110,7 +8131,7 @@ Flags: `--each`, `--concurrency`.
|
|
|
8110
8131
|
|
|
8111
8132
|
PATCH /v1/notetaker/settings. `PATCH /v1/notetaker/settings`. Beta: needs `notetaker`.
|
|
8112
8133
|
|
|
8113
|
-
Flags: `--auto-start`, `--keep-audio30-days`, `--draft-follow-up`, `--share-with-workspace`, `--apply-to-past-meetings`, `--auto-send-follow-up`, `--fallback-follow-up`, `--fallback-follow-up-subject`, `--fallback-follow-up-body`, `--audio-retention-days`, `--bot-announcement`, `--chat-notice`, `--pre-meeting-email`, `--set-up`, `--no-auto-start`, `--no-keep-audio30-days`, `--no-draft-follow-up`, `--no-share-with-workspace`, `--no-apply-to-past-meetings`, `--no-auto-send-follow-up`, `--no-fallback-follow-up`, `--no-bot-announcement`, `--no-chat-notice`, `--no-pre-meeting-email`, `--no-set-up`, `--data`, `--each`, `--concurrency`.
|
|
8134
|
+
Flags: `--auto-start`, `--keep-audio30-days`, `--draft-follow-up`, `--share-with-workspace`, `--apply-to-past-meetings`, `--auto-send-follow-up`, `--fallback-follow-up`, `--fallback-follow-up-subject`, `--fallback-follow-up-body`, `--audio-retention-days`, `--bot-announcement`, `--chat-notice`, `--pre-meeting-email`, `--set-up`, `--updated-at`, `--no-auto-start`, `--no-keep-audio30-days`, `--no-draft-follow-up`, `--no-share-with-workspace`, `--no-apply-to-past-meetings`, `--no-auto-send-follow-up`, `--no-fallback-follow-up`, `--no-bot-announcement`, `--no-chat-notice`, `--no-pre-meeting-email`, `--no-set-up`, `--data`, `--each`, `--concurrency`.
|
|
8114
8135
|
|
|
8115
8136
|
## offer
|
|
8116
8137
|
|
|
@@ -8676,6 +8697,12 @@ List people in the current workspace. `GET /v1/people` (a list). Beta: needs `ac
|
|
|
8676
8697
|
|
|
8677
8698
|
Flags: `--behavior-tags`, `--cursor`, `--email`, `--has-suggestion`, `--lead-status`, `--limit`, `--linkedin-url`, `--owner-member-id`, `--search`, `--relationship`, `--sort`, `--source`, `--suggested-relationship`, `--suggestion-kind`, `--tag-ids`, `--no-has-suggestion`, `--all`, `--each`, `--concurrency`.
|
|
8678
8699
|
|
|
8700
|
+
### kenso people list-research
|
|
8701
|
+
|
|
8702
|
+
Return the research of up to 100 people in one call. `GET /v1/people/research`. Beta: needs `accounts` and `accounts_research`.
|
|
8703
|
+
|
|
8704
|
+
Flags: `--mode`, `--person-ids`, `--each`, `--concurrency`.
|
|
8705
|
+
|
|
8679
8706
|
### kenso people merge
|
|
8680
8707
|
|
|
8681
8708
|
Merge this person into another person. `POST /v1/people/{personId}/merge`. Beta: needs `accounts`.
|
|
@@ -10806,7 +10833,7 @@ Write a template version's files to a folder. `GET /v1/asset-templates/{template
|
|
|
10806
10833
|
|
|
10807
10834
|
Arguments: `<templateId>`.
|
|
10808
10835
|
|
|
10809
|
-
Flags: `--dir` (required), `--template-version`.
|
|
10836
|
+
Flags: `--dir` (required), `--force`, `--template-version`.
|
|
10810
10837
|
|
|
10811
10838
|
### kenso studio push
|
|
10812
10839
|
|
|
@@ -10922,7 +10949,7 @@ Flags: `--attachment-id` (required), `--each`, `--concurrency`.
|
|
|
10922
10949
|
|
|
10923
10950
|
List what changed after a cursor. `GET /v1/sync/changes`. Beta: needs `sync_engine`.
|
|
10924
10951
|
|
|
10925
|
-
Flags: `--limit`, `--since`, `--each`, `--concurrency`.
|
|
10952
|
+
Flags: `--lean`, `--limit`, `--since`, `--no-lean`, `--each`, `--concurrency`.
|
|
10926
10953
|
|
|
10927
10954
|
### kenso sync events
|
|
10928
10955
|
|
|
@@ -10940,7 +10967,7 @@ Flags: `--each`, `--concurrency`.
|
|
|
10940
10967
|
|
|
10941
10968
|
Page one entity's working set. `GET /v1/sync/snapshot/{entity}` (a list). Beta: needs `sync_engine`.
|
|
10942
10969
|
|
|
10943
|
-
Flags: `--entity` (required), `--cursor`, `--include`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
10970
|
+
Flags: `--entity` (required), `--cursor`, `--include`, `--lean`, `--limit`, `--no-lean`, `--all`, `--each`, `--concurrency`.
|
|
10944
10971
|
|
|
10945
10972
|
## tags
|
|
10946
10973
|
|
package/docs/studio.md
CHANGED
|
@@ -28,7 +28,9 @@ kenso studio push 12 --dir ./my-template --publish
|
|
|
28
28
|
|
|
29
29
|
### pull
|
|
30
30
|
|
|
31
|
-
`pull` writes every file of the version under `--dir`: text files from the answer, binaries downloaded from signed links and checked against their SHA-256. It
|
|
31
|
+
`pull` writes every file of the version under `--dir`: text files from the answer, binaries downloaded from signed links and checked against their SHA-256. It leaves other files in the folder alone. It checks every path before it writes anything, and refuses (`unsafe_path`) one that would land outside `--dir`, one with a file or folder name that starts with a dot (such as `.claude/` or `.mcp.json`, which editors and coding agents read as their own settings), and one that passes through a symbolic link.
|
|
32
|
+
|
|
33
|
+
`pull` replaces a file that is already there only when an earlier pull wrote it or a push sent it and nobody changed it since, or when it already holds the new content. `.kenso-pull.json` at the top of the folder records what pulls wrote and pushes sent; push skips it like any dotfile. So pull, edit, push and pull again works as before, and a teammate's change replaces the files you did not change since your last pull or push. A file you added or changed and did not push stops the pull before anything is written: `local_changes` (exit 7) lists them. Move them away or compare them with the template, or add `--force` to replace them with the template's version. The first pull into a folder that an older version of the CLI pulled into may ask for `--force` once, for files that changed in the template since.
|
|
32
34
|
|
|
33
35
|
`--template-version` picks the version: `draft`, `latest` (the latest published) or a version id. The default is the draft, else the latest published version. (The flag is not `--version`: after a command, `--version` fails with `unknown_flag` and points at `--template-version`.)
|
|
34
36
|
|
|
@@ -37,11 +39,11 @@ kenso studio pull 12 --dir ./v3 --template-version 345
|
|
|
37
39
|
kenso studio pull 12 --dir ./my-template --dry-run
|
|
38
40
|
```
|
|
39
41
|
|
|
40
|
-
It prints `{templateId, versionId, files, dir}
|
|
42
|
+
It prints `{templateId, versionId, files, dir}`, plus `replaced` when `--force` replaced files. `--dry-run` lists the paths, and as `conflicts` the files it would not replace without `--force`, and writes nothing.
|
|
41
43
|
|
|
42
44
|
### push
|
|
43
45
|
|
|
44
|
-
`push` reads `--dir`, skipping dotfiles, dot folders and `
|
|
46
|
+
`push` reads `--dir`, skipping dotfiles, dot folders, `node_modules`, and Markdown files other than `README.md`, `brief.md` and `ideas.md` at the top of the folder (Studio stores no other `.md`, so a coding agent's `CLAUDE.md` or `AGENTS.md` in the folder stays local).
|
|
45
47
|
|
|
46
48
|
- A text file (valid UTF-8, no NUL byte, under 1 MB) goes inline.
|
|
47
49
|
- Any other file is uploaded through a signed upload URL first, 4 at a time, up to 5 MB each. A larger file is refused before any call.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.115",
|
|
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": "da36db009614dab15f5281fd783a48069e88633a"
|
|
53
53
|
}
|