kenso 0.1.33 → 0.1.35
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/dist/kenso.js +28 -11
- package/dist/operations.json +1 -1
- package/docs/reference.md +90 -6
- package/docs/work.md +1 -1
- package/package.json +2 -2
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.35 (API contracts a26ab2bbe445) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1569 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
|
|
|
@@ -36,7 +36,9 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
36
36
|
- [accounts](#accounts) (19)
|
|
37
37
|
- [ad-audiences](#ad-audiences) (5)
|
|
38
38
|
- [ad-connections](#ad-connections) (6)
|
|
39
|
+
- [agent-sandbox-auto-run-settings](#agent-sandbox-auto-run-settings) (3)
|
|
39
40
|
- [agent-sandbox-connections](#agent-sandbox-connections) (5)
|
|
41
|
+
- [agent-sandbox-runs](#agent-sandbox-runs) (4)
|
|
40
42
|
- [agent-team](#agent-team) (9)
|
|
41
43
|
- [agent-work](#agent-work) (5)
|
|
42
44
|
- [agent-work-settings](#agent-work-settings) (2)
|
|
@@ -316,7 +318,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
316
318
|
- [public-meeting-links](#public-meeting-links) (2)
|
|
317
319
|
- [public-referrals](#public-referrals) (1)
|
|
318
320
|
- [public-saved-list-invites](#public-saved-list-invites) (1)
|
|
319
|
-
- [public-shares](#public-shares) (
|
|
321
|
+
- [public-shares](#public-shares) (9)
|
|
320
322
|
- [referral-codes](#referral-codes) (3)
|
|
321
323
|
- [referral-redemptions](#referral-redemptions) (1)
|
|
322
324
|
- [reply-templates](#reply-templates) (5)
|
|
@@ -336,7 +338,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
336
338
|
- [segment-call-sequences](#segment-call-sequences) (2)
|
|
337
339
|
- [segment-email-sequences](#segment-email-sequences) (9)
|
|
338
340
|
- [segment-linkedin-sequences](#segment-linkedin-sequences) (6)
|
|
339
|
-
- [segments](#segments) (
|
|
341
|
+
- [segments](#segments) (15)
|
|
340
342
|
- [sender-name-suggestions](#sender-name-suggestions) (1)
|
|
341
343
|
- [sending-capacity](#sending-capacity) (2)
|
|
342
344
|
- [sending-plans](#sending-plans) (1)
|
|
@@ -378,6 +380,8 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
378
380
|
- [video-connections](#video-connections) (4)
|
|
379
381
|
- [video-provider-connections](#video-provider-connections) (8)
|
|
380
382
|
- [voice](#voice) (1)
|
|
383
|
+
- [voice-conversation-tickets](#voice-conversation-tickets) (1)
|
|
384
|
+
- [voice-conversations](#voice-conversations) (1)
|
|
381
385
|
- [voice-note-previews](#voice-note-previews) (1)
|
|
382
386
|
- [voice-notes](#voice-notes) (1)
|
|
383
387
|
- [voice-tickets](#voice-tickets) (1)
|
|
@@ -775,6 +779,26 @@ Pick the connection's ad account. `PATCH /v1/ad-connections/{adConnectionId}`. B
|
|
|
775
779
|
|
|
776
780
|
Flags: `--ad-connection-id` (required), `--external-account-id`, `--login-account-id`, `--terms-attested`, `--no-terms-attested`, `--data`, `--each`, `--concurrency`.
|
|
777
781
|
|
|
782
|
+
## agent-sandbox-auto-run-settings
|
|
783
|
+
|
|
784
|
+
### kenso agent-sandbox-auto-run-settings get
|
|
785
|
+
|
|
786
|
+
Get the automatic run settings. `GET /v1/agent-sandbox/auto-run-settings`. Beta: needs `agent_sandboxes` and `agent_work`.
|
|
787
|
+
|
|
788
|
+
Flags: `--each`, `--concurrency`.
|
|
789
|
+
|
|
790
|
+
### kenso agent-sandbox-auto-run-settings update
|
|
791
|
+
|
|
792
|
+
Turn your own automatic runs on or off. `PATCH /v1/agent-sandbox/auto-run-settings`. Beta: needs `agent_sandboxes` and `agent_work`.
|
|
793
|
+
|
|
794
|
+
Flags: `--enabled`, `--agent`, `--no-enabled`, `--data`, `--each`, `--concurrency`.
|
|
795
|
+
|
|
796
|
+
### kenso agent-sandbox-auto-run-settings update-workspace
|
|
797
|
+
|
|
798
|
+
Set the workspace's monthly cap and wait. `PATCH /v1/agent-sandbox/auto-run-settings/workspace`. Beta: needs `agent_sandboxes` and `agent_work`.
|
|
799
|
+
|
|
800
|
+
Flags: `--monthly-cap-credits`, `--wait-minutes`, `--data`, `--each`, `--concurrency`.
|
|
801
|
+
|
|
778
802
|
## agent-sandbox-connections
|
|
779
803
|
|
|
780
804
|
### kenso agent-sandbox-connections disconnect
|
|
@@ -807,6 +831,32 @@ Start connecting an agent. `POST /v1/agent-sandbox/connections/{agent}/logins`.
|
|
|
807
831
|
|
|
808
832
|
Flags: `--agent` (required), `--each`, `--concurrency`.
|
|
809
833
|
|
|
834
|
+
## agent-sandbox-runs
|
|
835
|
+
|
|
836
|
+
### kenso agent-sandbox-runs cancel
|
|
837
|
+
|
|
838
|
+
Stop a sandbox run. `POST /v1/agent-sandbox-runs/{runId}/cancel`. Beta: needs `agent_sandboxes` and `agent_work`.
|
|
839
|
+
|
|
840
|
+
Flags: `--run-id` (required), `--each`, `--concurrency`.
|
|
841
|
+
|
|
842
|
+
### kenso agent-sandbox-runs create
|
|
843
|
+
|
|
844
|
+
Estimate or start a sandbox run. `POST /v1/agent-sandbox-runs`. Beta: needs `agent_sandboxes` and `agent_work`.
|
|
845
|
+
|
|
846
|
+
Flags: `--agent`, `--campaign-id`, `--estimate-only`, `--max-ceiling-credits`, `--no-estimate-only`, `--data`, `--each`, `--concurrency`.
|
|
847
|
+
|
|
848
|
+
### kenso agent-sandbox-runs get
|
|
849
|
+
|
|
850
|
+
Get a sandbox run. `GET /v1/agent-sandbox-runs/{runId}`. Beta: needs `agent_sandboxes` and `agent_work`.
|
|
851
|
+
|
|
852
|
+
Flags: `--run-id` (required), `--each`, `--concurrency`.
|
|
853
|
+
|
|
854
|
+
### kenso agent-sandbox-runs list
|
|
855
|
+
|
|
856
|
+
List your sandbox runs. `GET /v1/agent-sandbox-runs` (a list). Beta: needs `agent_sandboxes` and `agent_work`.
|
|
857
|
+
|
|
858
|
+
Flags: `--active`, `--cursor`, `--limit`, `--no-active`, `--all`, `--each`, `--concurrency`.
|
|
859
|
+
|
|
810
860
|
## agent-team
|
|
811
861
|
|
|
812
862
|
### kenso agent-team create-action
|
|
@@ -2751,7 +2801,7 @@ Flags: `--campaign-id` (required), `--each`, `--concurrency`.
|
|
|
2751
2801
|
|
|
2752
2802
|
List campaigns. `GET /v1/campaigns` (a list).
|
|
2753
2803
|
|
|
2754
|
-
Flags: `--cursor`, `--kind`, `--limit`, `--q`, `--status`, `--all`, `--each`, `--concurrency`.
|
|
2804
|
+
Flags: `--cursor`, `--include-tag-ids`, `--kind`, `--limit`, `--q`, `--status`, `--no-include-tag-ids`, `--all`, `--each`, `--concurrency`.
|
|
2755
2805
|
|
|
2756
2806
|
### kenso campaigns list-ai-workflows
|
|
2757
2807
|
|
|
@@ -7817,6 +7867,12 @@ Remove a lead from a shared lead list. `POST /v1/public/shares/{token}/leads/{co
|
|
|
7817
7867
|
|
|
7818
7868
|
Flags: `--token` (required), `--contact-id` (required), `--share-item-id`, `--reviewer-name`, `--data`, `--each`, `--concurrency`.
|
|
7819
7869
|
|
|
7870
|
+
### kenso public-shares resubscribe
|
|
7871
|
+
|
|
7872
|
+
Resubscribe to a workspace's share emails. `DELETE /v1/public/shares/{token}/unsubscribe`.
|
|
7873
|
+
|
|
7874
|
+
Flags: `--token` (required), `--recipient`, `--each`, `--concurrency`.
|
|
7875
|
+
|
|
7820
7876
|
### kenso public-shares submit
|
|
7821
7877
|
|
|
7822
7878
|
Send the review. `POST /v1/public/shares/{token}/submit`.
|
|
@@ -8535,6 +8591,12 @@ Get the segment filter options. `GET /v1/segments/filter-options`.
|
|
|
8535
8591
|
|
|
8536
8592
|
Flags: `--each`, `--concurrency`.
|
|
8537
8593
|
|
|
8594
|
+
### kenso segments get-provider-tracks
|
|
8595
|
+
|
|
8596
|
+
Get a segment's provider tracks. `GET /v1/segments/{segmentId}/provider-tracks`.
|
|
8597
|
+
|
|
8598
|
+
Flags: `--segment-id` (required), `--each`, `--concurrency`.
|
|
8599
|
+
|
|
8538
8600
|
### kenso segments get-version
|
|
8539
8601
|
|
|
8540
8602
|
Get a segment version. `GET /v1/segments/{segmentId}/versions/{versionId}`.
|
|
@@ -8571,6 +8633,12 @@ Save a segment version. `POST /v1/segments/{segmentId}/versions`.
|
|
|
8571
8633
|
|
|
8572
8634
|
Flags: `--segment-id` (required), `--source-version-id`, `--name`, `--description`, `--segmentation-type`, `--ab-test-percentage`, `--sort-order`, `--data`, `--each`, `--concurrency`.
|
|
8573
8635
|
|
|
8636
|
+
### kenso segments set-provider-track
|
|
8637
|
+
|
|
8638
|
+
Give a provider track its own sequence, or share the segment's. `PUT /v1/segments/{segmentId}/provider-tracks/{track}`.
|
|
8639
|
+
|
|
8640
|
+
Flags: `--segment-id` (required), `--track` (required), `--sequence`, `--data`, `--each`, `--concurrency`.
|
|
8641
|
+
|
|
8574
8642
|
### kenso segments update
|
|
8575
8643
|
|
|
8576
8644
|
Update a segment. `PATCH /v1/segments/{segmentId}`.
|
|
@@ -9181,7 +9249,7 @@ Flags: `--thread-id` (required), `--stage`, `--data`, `--each`, `--concurrency`.
|
|
|
9181
9249
|
|
|
9182
9250
|
Replace a thread's draft. `PUT /v1/threads/{threadId}/draft`.
|
|
9183
9251
|
|
|
9184
|
-
Flags: `--thread-id` (required), `--subject`, `--body`, `--data`, `--each`, `--concurrency`.
|
|
9252
|
+
Flags: `--thread-id` (required), `--subject`, `--body`, `--author-source`, `--data`, `--each`, `--concurrency`.
|
|
9185
9253
|
|
|
9186
9254
|
### kenso threads suggest
|
|
9187
9255
|
|
|
@@ -9551,6 +9619,22 @@ Upgrade to a WebSocket and relay PCM16 audio to Deepgram Nova 3. `GET /v1/suppor
|
|
|
9551
9619
|
|
|
9552
9620
|
Flags: `--lang`, `--each`, `--concurrency`.
|
|
9553
9621
|
|
|
9622
|
+
## voice-conversation-tickets
|
|
9623
|
+
|
|
9624
|
+
### kenso voice-conversation-tickets create
|
|
9625
|
+
|
|
9626
|
+
Mint a single-use ticket that opens the voice conversation WebSocket. `POST /v1/voice/tickets`. Beta: needs `voice_conversation`.
|
|
9627
|
+
|
|
9628
|
+
Flags: `--surface`, `--data`, `--each`, `--concurrency`.
|
|
9629
|
+
|
|
9630
|
+
## voice-conversations
|
|
9631
|
+
|
|
9632
|
+
### kenso voice-conversations connect
|
|
9633
|
+
|
|
9634
|
+
Upgrade to the voice conversation WebSocket. `GET /v1/voice/conversation`. Beta: needs `voice_conversation`.
|
|
9635
|
+
|
|
9636
|
+
Flags: `--each`, `--concurrency`.
|
|
9637
|
+
|
|
9554
9638
|
## voice-note-previews
|
|
9555
9639
|
|
|
9556
9640
|
### kenso voice-note-previews create
|
package/docs/work.md
CHANGED
|
@@ -58,7 +58,7 @@ When Kenso does not answer (a deploy restarts it), `run` and `pull` wait 30 s an
|
|
|
58
58
|
|
|
59
59
|
### In a Kenso sandbox
|
|
60
60
|
|
|
61
|
-
A Kenso sandbox runs `kenso work run` in a box of your own with two flags that help leaves out. `--token-stdin` reads stdin to its end, so the caller closes it after writing, and uses its first line, a run token (`krt_` and 43 characters), instead of any saved key or `KENSO_API_KEY`: no config file is read, the token goes only on the claim, answer and release calls, and a terminal on stdin is refused (exit 2). `--agent-user <name>` starts every agent and every login check as that user through `sudo -n -u <name> -H`, so the agent gets the environment sudo builds plus the agent's own variables and nothing of kenso's, and it stops agents with `kill` run as that user. It refuses (exit 2, `agent_user_invalid`) root, the user kenso runs as, a user in a group that can run sudo, a user with no home folder and a user sudo will not run `cat` or `kill` as. It needs `KENSO_RUNS_DIR`, which the box makes `root:ksjobs` with mode 3770: the run folder there is 2750, each job folder 3770 (sticky, so no agent can replace the work file) and each work file 0640, so the agent user's group can write its answers and
|
|
61
|
+
A Kenso sandbox runs `kenso work run` in a box of your own with two flags that help leaves out. `--token-stdin` reads stdin to its end, so the caller closes it after writing, and uses its first line, a run token (`krt_` and 43 characters), instead of any saved key or `KENSO_API_KEY`: no config file is read, the token goes only on the claim, answer and release calls, and a terminal on stdin is refused (exit 2). `--agent-user <name>` starts every agent and every login check as that user through `sudo -n -u <name> -H`, so the agent gets the environment sudo builds plus the agent's own variables and nothing of kenso's, and it stops agents with `kill` run as that user. It refuses (exit 2, `agent_user_invalid`) root, the user kenso runs as, a user in a group that can run sudo, a user with no home folder and a user sudo will not run `cat` or `kill` as. It needs `KENSO_RUNS_DIR`, which the box makes `root:ksjobs` with mode 3770: the run folder there is 2750, each job folder 3770 (sticky, so no agent can replace the work file) and each work file 0640, so the agent user's group can write its answers and, beside them, only the run's `tmp` folder (3770), which every agent gets as `TMPDIR`, `TMP` and `TEMP`, so its temp files stay in the run folder. OpenCode keeps a session database per job there too (`OPENCODE_DB`), not in the one every earlier run wrote to. Every answer is scanned before it is sent: one that holds a piece of the agent's login, a credential-shaped string or a long random-looking run outside a link stops the run with exit 9, and the summary's `message` names only the reason. A run that cannot read the agent's login files does not start (exit 1). The summary's `confinement` (`full`, `partial` or `none`) says how far a sandbox holds the agent.
|
|
62
62
|
|
|
63
63
|
`--agent-tools` (only with both, and with `--allow-unconfined`; not with `--no-research`) gives each agent more. Before the first claim kenso asks Kenso for the run's agent key (an Editor-level key of the person who started the run, revoked when the run ends) and passes it to each agent as `KENSO_API_KEY`, with `KENSO_API_URL`, `KENSO_WORKSPACE_ID` and `AI_AGENT`; when Kenso has no key for the run (409 `agent_key_unavailable`) the agents run without one, and any other failure stops the run (exit 1, `agent_key_failed`). Each agent starts with its shell and web tools on, each job folder gets `AGENTS.md`, `CLAUDE.md` and `GEMINI.md` (one text, shipped with kenso, saying what the agent may use and what it costs), and an answer that holds the key is refused like one that holds a login. The summary's `confinement` is then `none`, or `partial` for codex.
|
|
64
64
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
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",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"typescript-eslint": "8.71.1",
|
|
45
45
|
"vitest": "5.0.3"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "f2ece389b1ce4fef2e9bdda8803854353f9b42ed"
|
|
48
48
|
}
|