kenso 0.1.27 → 0.1.29
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 +355 -137
- package/dist/operations.json +1 -1
- package/docs/reference.md +55 -13
- package/docs/work.md +4 -0
- 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.29 (API contracts aabc104043de) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1544 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
|
|
|
@@ -81,7 +81,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
81
81
|
- [branching-sequences](#branching-sequences) (2)
|
|
82
82
|
- [brand-kit](#brand-kit) (3)
|
|
83
83
|
- [brands](#brands) (1)
|
|
84
|
-
- [browser-runs](#browser-runs) (
|
|
84
|
+
- [browser-runs](#browser-runs) (5)
|
|
85
85
|
- [bug-reports](#bug-reports) (1)
|
|
86
86
|
- [build-events](#build-events) (2)
|
|
87
87
|
- [build-files](#build-files) (6)
|
|
@@ -238,6 +238,8 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
238
238
|
- [linkedin-inbound-seats](#linkedin-inbound-seats) (1)
|
|
239
239
|
- [linkedin-invitation-withdrawals](#linkedin-invitation-withdrawals) (2)
|
|
240
240
|
- [linkedin-invitations](#linkedin-invitations) (1)
|
|
241
|
+
- [linkedin-job-searches](#linkedin-job-searches) (2)
|
|
242
|
+
- [linkedin-jobs](#linkedin-jobs) (1)
|
|
241
243
|
- [linkedin-network](#linkedin-network) (3)
|
|
242
244
|
- [linkedin-requests](#linkedin-requests) (2)
|
|
243
245
|
- [linkedin-sequences](#linkedin-sequences) (6)
|
|
@@ -291,7 +293,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
291
293
|
- [optiverse-connection](#optiverse-connection) (3)
|
|
292
294
|
- [outbound-event-attendees](#outbound-event-attendees) (3)
|
|
293
295
|
- [outbound-event-suggestions](#outbound-event-suggestions) (3)
|
|
294
|
-
- [outbound-events](#outbound-events) (
|
|
296
|
+
- [outbound-events](#outbound-events) (15)
|
|
295
297
|
- [outbound-site](#outbound-site) (7)
|
|
296
298
|
- [people](#people) (28)
|
|
297
299
|
- [performance-deal](#performance-deal) (8)
|
|
@@ -313,7 +315,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
313
315
|
- [public-referrals](#public-referrals) (1)
|
|
314
316
|
- [public-saved-list-invites](#public-saved-list-invites) (1)
|
|
315
317
|
- [public-shares](#public-shares) (8)
|
|
316
|
-
- [referral-codes](#referral-codes) (
|
|
318
|
+
- [referral-codes](#referral-codes) (3)
|
|
317
319
|
- [referral-redemptions](#referral-redemptions) (1)
|
|
318
320
|
- [reply-templates](#reply-templates) (5)
|
|
319
321
|
- [revival-candidates](#revival-candidates) (1)
|
|
@@ -675,7 +677,7 @@ Flags: `--account-id` (required), `--each`, `--concurrency`.
|
|
|
675
677
|
|
|
676
678
|
List accounts in the current workspace. `GET /v1/accounts` (a list). Beta: needs `accounts`.
|
|
677
679
|
|
|
678
|
-
Flags: `--account-type`, `--cursor`, `--domain`, `--expand`, `--fits-icp`, `--has-open-opportunity`, `--is-customer`, `--latest-signal-after`, `--limit`, `--next-touch-before`, `--owner-member-id`, `--q`, `--sort`, `--stage`, `--stage-group`, `--tag-ids`, `--no-fits-icp`, `--no-has-open-opportunity`, `--no-is-customer`, `--all`, `--each`, `--concurrency`.
|
|
680
|
+
Flags: `--account-type`, `--cursor`, `--domain`, `--expand`, `--fits-icp`, `--has-open-opportunity`, `--ids`, `--is-customer`, `--latest-signal-after`, `--limit`, `--next-touch-before`, `--owner-member-id`, `--q`, `--sort`, `--stage`, `--stage-group`, `--tag-ids`, `--no-fits-icp`, `--no-has-open-opportunity`, `--no-is-customer`, `--all`, `--each`, `--concurrency`.
|
|
679
681
|
|
|
680
682
|
### kenso accounts merge
|
|
681
683
|
|
|
@@ -1833,6 +1835,12 @@ Flags: `--host`, `--each`, `--concurrency`.
|
|
|
1833
1835
|
|
|
1834
1836
|
## browser-runs
|
|
1835
1837
|
|
|
1838
|
+
### kenso browser-runs create
|
|
1839
|
+
|
|
1840
|
+
Start a browser run outside a workflow. `POST /v1/browser-runs`. Beta: needs `agent_work` and `browser_steps` and `workflows`.
|
|
1841
|
+
|
|
1842
|
+
Flags: `--instruction`, `--start-url`, `--max-minutes`, `--data`, `--each`, `--concurrency`.
|
|
1843
|
+
|
|
1836
1844
|
### kenso browser-runs get
|
|
1837
1845
|
|
|
1838
1846
|
Return one browser run in full. `GET /v1/browser-runs/{browserRunId}`. Beta: needs `browser_steps` and `workflows`.
|
|
@@ -2081,9 +2089,9 @@ Flags: `--event-id` (required), `--response`, `--comment`, `--data`, `--each`, `
|
|
|
2081
2089
|
|
|
2082
2090
|
### kenso calendar-events update
|
|
2083
2091
|
|
|
2084
|
-
Change one of your events: rename, move, resize, edit the invite, guests, video, reminder or
|
|
2092
|
+
Change one of your events: rename, move, resize, edit the invite, guests, video, reminder, your color or its meeting type. `PATCH /v1/calendar-events/{eventId}`. Beta: needs `calendar_writes` and `meetings`.
|
|
2085
2093
|
|
|
2086
|
-
Flags: `--event-id` (required), `--title`, `--description`, `--location`, `--starts-at`, `--ends-at`, `--time-zone`, `--video`, `--reminder-minutes`, `--color`, `--data`, `--each`, `--concurrency`.
|
|
2094
|
+
Flags: `--event-id` (required), `--title`, `--description`, `--location`, `--starts-at`, `--ends-at`, `--time-zone`, `--video`, `--reminder-minutes`, `--color`, `--meeting-type`, `--data`, `--each`, `--concurrency`.
|
|
2087
2095
|
|
|
2088
2096
|
## calendar-writes
|
|
2089
2097
|
|
|
@@ -5501,7 +5509,7 @@ Flags: `--linkedin-account-id` (required), `--user-id`, `--data`, `--each`, `--c
|
|
|
5501
5509
|
|
|
5502
5510
|
Update a LinkedIn account. `PATCH /v1/linkedin-accounts/{linkedinAccountId}`.
|
|
5503
5511
|
|
|
5504
|
-
Flags: `--linkedin-account-id` (required), `--display-name`, `--timezone`, `--working-hours`, `--daily-invite-cap`, `--daily-message-cap`, `--daily-visit-cap`, `--paused`, `--import-connections`, `--network-only`, `--handoffs-muted`, `--no-paused`, `--no-import-connections`, `--no-network-only`, `--no-handoffs-muted`, `--data`, `--each`, `--concurrency`.
|
|
5512
|
+
Flags: `--linkedin-account-id` (required), `--display-name`, `--timezone`, `--working-hours`, `--daily-invite-cap`, `--daily-message-cap`, `--daily-visit-cap`, `--paused`, `--import-connections`, `--network-only`, `--handoffs-muted`, `--research-reads`, `--no-paused`, `--no-import-connections`, `--no-network-only`, `--no-handoffs-muted`, `--no-research-reads`, `--data`, `--each`, `--concurrency`.
|
|
5505
5513
|
|
|
5506
5514
|
## linkedin-connections
|
|
5507
5515
|
|
|
@@ -5567,6 +5575,28 @@ List the pending invitations one of the caller's LinkedIn seats sent. `GET /v1/l
|
|
|
5567
5575
|
|
|
5568
5576
|
Flags: `--cursor`, `--limit`, `--linkedin-account-id`, `--all`, `--each`, `--concurrency`.
|
|
5569
5577
|
|
|
5578
|
+
## linkedin-job-searches
|
|
5579
|
+
|
|
5580
|
+
### kenso linkedin-job-searches create
|
|
5581
|
+
|
|
5582
|
+
Search LinkedIn jobs. `POST /v1/linkedin-job-searches`. Beta: needs `linkedin_job_search`.
|
|
5583
|
+
|
|
5584
|
+
Flags: `--keywords`, `--location`, `--date-posted`, `--limit`, `--cursor`, `--data`, `--each`, `--concurrency`.
|
|
5585
|
+
|
|
5586
|
+
### kenso linkedin-job-searches get
|
|
5587
|
+
|
|
5588
|
+
Get a LinkedIn job search. `GET /v1/linkedin-job-searches/{linkedInJobSearchId}`. Beta: needs `linkedin_job_search`.
|
|
5589
|
+
|
|
5590
|
+
Flags: `--linked-in-job-search-id` (required), `--each`, `--concurrency`.
|
|
5591
|
+
|
|
5592
|
+
## linkedin-jobs
|
|
5593
|
+
|
|
5594
|
+
### kenso linkedin-jobs get
|
|
5595
|
+
|
|
5596
|
+
Get a LinkedIn job's detail. `GET /v1/linkedin-jobs/{linkedInJobId}`. Beta: needs `linkedin_job_search`.
|
|
5597
|
+
|
|
5598
|
+
Flags: `--linked-in-job-id` (required), `--each`, `--concurrency`.
|
|
5599
|
+
|
|
5570
5600
|
## linkedin-network
|
|
5571
5601
|
|
|
5572
5602
|
### kenso linkedin-network account-suggestions
|
|
@@ -6953,7 +6983,7 @@ Flags: `--attendee-id` (required), `--each`, `--concurrency`.
|
|
|
6953
6983
|
|
|
6954
6984
|
List an outbound event's attendees, exhibitors, speakers and sponsors. `GET /v1/outbound-events/{eventId}/attendees` (a list). Beta: needs `accounts` and `event_outbound`.
|
|
6955
6985
|
|
|
6956
|
-
Flags: `--event-id` (required), `--account`, `--cursor`, `--limit`, `--role`, `--all`, `--each`, `--concurrency`.
|
|
6986
|
+
Flags: `--event-id` (required), `--account`, `--cursor`, `--limit`, `--role`, `--source`, `--all`, `--each`, `--concurrency`.
|
|
6957
6987
|
|
|
6958
6988
|
## outbound-event-suggestions
|
|
6959
6989
|
|
|
@@ -6977,6 +7007,12 @@ Flags: `--cursor`, `--limit`, `--status`, `--all`, `--each`, `--concurrency`.
|
|
|
6977
7007
|
|
|
6978
7008
|
## outbound-events
|
|
6979
7009
|
|
|
7010
|
+
### kenso outbound-events check-posts
|
|
7011
|
+
|
|
7012
|
+
Check public LinkedIn posts for people going to the event again. `POST /v1/outbound-events/{eventId}/check-posts`. Beta: needs `accounts` and `event_outbound`.
|
|
7013
|
+
|
|
7014
|
+
Flags: `--event-id` (required), `--each`, `--concurrency`.
|
|
7015
|
+
|
|
6980
7016
|
### kenso outbound-events create
|
|
6981
7017
|
|
|
6982
7018
|
Create an outbound event. `POST /v1/outbound-events`. Beta: needs `accounts` and `event_outbound`.
|
|
@@ -7059,7 +7095,7 @@ Flags: `--event-id` (required), `--url`, `--linked-in-account-id`, `--accept-war
|
|
|
7059
7095
|
|
|
7060
7096
|
Update an outbound event. Absent fields stay unchanged. `PATCH /v1/outbound-events/{eventId}`. Beta: needs `accounts` and `event_outbound`.
|
|
7061
7097
|
|
|
7062
|
-
Flags: `--event-id` (required), `--name`, `--starts-on`, `--ends-on`, `--timezone`, `--format`, `--attendance`, `--city`, `--venue`, `--url`, `--data`, `--each`, `--concurrency`.
|
|
7098
|
+
Flags: `--event-id` (required), `--name`, `--starts-on`, `--ends-on`, `--timezone`, `--format`, `--attendance`, `--city`, `--venue`, `--url`, `--post-spend-limit-millicredits`, `--data`, `--each`, `--concurrency`.
|
|
7063
7099
|
|
|
7064
7100
|
## outbound-site
|
|
7065
7101
|
|
|
@@ -7717,6 +7753,12 @@ Get the workspace's referral code and link, made on first read. `GET /v1/referra
|
|
|
7717
7753
|
|
|
7718
7754
|
Flags: `--each`, `--concurrency`.
|
|
7719
7755
|
|
|
7756
|
+
### kenso referral-codes link-copied
|
|
7757
|
+
|
|
7758
|
+
The person copied the referral link. Records referral_link_copied once per person (Today's "Refer a friend"). `POST /v1/referrals/link-copied`. Beta: needs `referrals`.
|
|
7759
|
+
|
|
7760
|
+
Flags: `--each`, `--concurrency`.
|
|
7761
|
+
|
|
7720
7762
|
### kenso referral-codes update
|
|
7721
7763
|
|
|
7722
7764
|
Show or hide the workspace's name on its referral landing. `PATCH /v1/referrals/code`. Beta: needs `referrals`.
|
|
@@ -8875,7 +8917,7 @@ Flags: `--each`, `--concurrency`.
|
|
|
8875
8917
|
|
|
8876
8918
|
Page one entity's working set. `GET /v1/sync/snapshot/{entity}` (a list). Beta: needs `sync_engine`.
|
|
8877
8919
|
|
|
8878
|
-
Flags: `--entity` (required), `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
8920
|
+
Flags: `--entity` (required), `--cursor`, `--include`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
8879
8921
|
|
|
8880
8922
|
## tags
|
|
8881
8923
|
|
|
@@ -9931,7 +9973,7 @@ Arguments: `<claim>`.
|
|
|
9931
9973
|
|
|
9932
9974
|
Run your own coding agent on the waiting work until the queue is empty. API operations: `agent-work.create-claim`, `agent-work.submit-answers`, `agent-work.release-claim`. Beta: needs `agent_work`.
|
|
9933
9975
|
|
|
9934
|
-
Flags: `--agent` (required), `--agent-bin`, `--allow-unconfined`, `--campaign`, `--kind`, `--lease`, `--max-items`, `--model`, `--no-research`, `--out`, `--parallel`, `--per-file`, `--timeout`, `--watch`.
|
|
9976
|
+
Flags: `--agent` (required), `--agent-bin`, `--agent-user`, `--allow-unconfined`, `--campaign`, `--kind`, `--lease`, `--max-items`, `--model`, `--no-research`, `--out`, `--parallel`, `--per-file`, `--timeout`, `--token-stdin`, `--watch`.
|
|
9935
9977
|
|
|
9936
9978
|
### kenso work status
|
|
9937
9979
|
|
package/docs/work.md
CHANGED
|
@@ -56,6 +56,10 @@ kenso work run --agent claude --watch
|
|
|
56
56
|
|
|
57
57
|
When Kenso does not answer (a deploy restarts it), `run` and `pull` wait 30 s and ask again, up to 10 times. Answers `run` still cannot send stay in their file and their claim stays open: the summary lists those files in `unsent`, with the `kenso work submit` command in `next`. A failed job's own output (what the agent said) goes only to `results.ndjson` in the run folder, never to stdout or stderr, because it can quote a lead's data.
|
|
58
58
|
|
|
59
|
+
### In a Kenso sandbox
|
|
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 nothing else of the run.
|
|
62
|
+
|
|
59
63
|
## Agents
|
|
60
64
|
|
|
61
65
|
| Agent | `--agent` | Held to the job folder | Proven on a plan login |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
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": "4a8338358467792e8483d8bd8f127a07a69727f4"
|
|
48
48
|
}
|