kenso 0.1.56 → 0.1.58
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/README.md +1 -1
- package/dist/kenso.js +171 -118
- package/dist/operations.json +1 -1
- package/docs/crm.md +10 -0
- package/docs/reference.md +52 -73
- package/package.json +2 -2
package/docs/crm.md
CHANGED
|
@@ -8,6 +8,7 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
|
|
|
8
8
|
| `people import` | Create or match people from a file, optionally onto accounts |
|
|
9
9
|
| `accounts update --each`, `people update --each`, `opportunities update --each` | Edit many records from a file, one call per row |
|
|
10
10
|
| `accounts write-research`, `people write-research` | Store research you gathered as a record's latest research, free. `--each` writes many |
|
|
11
|
+
| `opportunities stage-history <id>` | A deal's stage history: each stage, when, who moved it and how long it sat there |
|
|
11
12
|
| `crm-connections`, `crm-imports`, `crm-sync-issues` | Read and run CRM sync. Connecting a CRM stays in the app |
|
|
12
13
|
|
|
13
14
|
Import accounts first, then people: `people import` never creates an account.
|
|
@@ -140,3 +141,12 @@ kenso crm-sync-issues list --connection-id 7 --all
|
|
|
140
141
|
```
|
|
141
142
|
|
|
142
143
|
Run `kenso crm-connections --help` (or add `--all-commands` when the actions are hidden) to see every action.
|
|
144
|
+
|
|
145
|
+
## A deal's stage history
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
kenso opportunities stage-history 77
|
|
149
|
+
kenso opportunities stage-history 77 --query "entries[].{to: stageLabel, at: enteredAt, by: changedBy}"
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
It prints `GET /v1/opportunities/{id}/stage-history` as it is, the same rows as the deal page and the MCP's `opportunities(operation="get-stage-history")`: the stage now, `isComplete` and `entries`, oldest first, each with `fromStage`, `stage`, `stageLabel`, `enteredAt`, `leftAt`, `durationSeconds`, `actorKind`, `actorMemberId` and Ken's `reason` on a move its stage judge made. With the `deal_stage_rules` flag on, each entry also has `changedBy` (`member`, `agent`, `api_key`, `workflow`, `stage_judge`, `crm_sync` or `ken_automation`), `crmProvider` on a CRM sync, and on a move `fromStageLabel` and `fromStageDurationSeconds`, how long the deal sat in the stage it left. `isComplete` false means Kenso has no record of part of the history.
|
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.58 (API contracts 6d745735ab97) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1629 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
|
|
|
@@ -42,7 +42,6 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
42
42
|
- [agent-sandbox-auto-run-settings](#agent-sandbox-auto-run-settings) (3)
|
|
43
43
|
- [agent-sandbox-connections](#agent-sandbox-connections) (5)
|
|
44
44
|
- [agent-sandbox-runs](#agent-sandbox-runs) (4)
|
|
45
|
-
- [agent-team](#agent-team) (9)
|
|
46
45
|
- [agent-work](#agent-work) (5)
|
|
47
46
|
- [agent-work-settings](#agent-work-settings) (2)
|
|
48
47
|
- [ai-assist-reservations](#ai-assist-reservations) (1)
|
|
@@ -51,6 +50,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
51
50
|
- [ai-line-holds](#ai-line-holds) (2)
|
|
52
51
|
- [ai-lines](#ai-lines) (3)
|
|
53
52
|
- [ai-runs](#ai-runs) (5)
|
|
53
|
+
- [ai-topups](#ai-topups) (1)
|
|
54
54
|
- [airtable-bases](#airtable-bases) (1)
|
|
55
55
|
- [airtable-records](#airtable-records) (1)
|
|
56
56
|
- [airtable-tables](#airtable-tables) (1)
|
|
@@ -262,7 +262,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
262
262
|
- [loopster-search-filters](#loopster-search-filters) (1)
|
|
263
263
|
- [mail-messages](#mail-messages) (2)
|
|
264
264
|
- [market-profile](#market-profile) (2)
|
|
265
|
-
- [market-stories](#market-stories) (
|
|
265
|
+
- [market-stories](#market-stories) (3)
|
|
266
266
|
- [markets](#markets) (2)
|
|
267
267
|
- [mcp](#mcp) (2)
|
|
268
268
|
- [mcp-calls](#mcp-calls) (1)
|
|
@@ -296,12 +296,13 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
296
296
|
- [notetaker-score-rubric](#notetaker-score-rubric) (3)
|
|
297
297
|
- [notetaker-sessions](#notetaker-sessions) (1)
|
|
298
298
|
- [notetaker-settings](#notetaker-settings) (2)
|
|
299
|
+
- [offer](#offer) (2)
|
|
299
300
|
- [onboarding](#onboarding) (2)
|
|
300
301
|
- [onboarding-build-inputs](#onboarding-build-inputs) (1)
|
|
301
302
|
- [onboarding-builds](#onboarding-builds) (3)
|
|
302
303
|
- [onboarding-connect-plan](#onboarding-connect-plan) (1)
|
|
303
304
|
- [onboarding-next-step](#onboarding-next-step) (1)
|
|
304
|
-
- [opportunities](#opportunities) (
|
|
305
|
+
- [opportunities](#opportunities) (9)
|
|
305
306
|
- [opportunity-people](#opportunity-people) (4)
|
|
306
307
|
- [opportunity-settings](#opportunity-settings) (3)
|
|
307
308
|
- [opportunity-stages](#opportunity-stages) (2)
|
|
@@ -907,62 +908,6 @@ List your sandbox runs. `GET /v1/agent-sandbox-runs` (a list). Beta: needs `agen
|
|
|
907
908
|
|
|
908
909
|
Flags: `--active`, `--cursor`, `--limit`, `--no-active`, `--all`, `--each`, `--concurrency`.
|
|
909
910
|
|
|
910
|
-
## agent-team
|
|
911
|
-
|
|
912
|
-
### kenso agent-team create-action
|
|
913
|
-
|
|
914
|
-
Request a bounded change to a campaign. `POST /v1/agent-team/actions`. Beta: needs `agent_templates`.
|
|
915
|
-
|
|
916
|
-
Flags: `--kind`, `--campaign-id`, `--reason`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
|
|
917
|
-
|
|
918
|
-
### kenso agent-team create-proposal
|
|
919
|
-
|
|
920
|
-
Create a proposal. `POST /v1/agent-team/proposals`. Beta: needs `agent_templates`.
|
|
921
|
-
|
|
922
|
-
Flags: `--kind`, `--campaign-id`, `--title`, `--reason`, `--client-yes`, `--urgent`, `--no-urgent`, `--data`, `--each`, `--concurrency`.
|
|
923
|
-
|
|
924
|
-
### kenso agent-team get-runway
|
|
925
|
-
|
|
926
|
-
Get the lead runway of live campaigns. `GET /v1/agent-team/runway`. Beta: needs `agent_templates`.
|
|
927
|
-
|
|
928
|
-
Flags: `--campaign-id`, `--each`, `--concurrency`.
|
|
929
|
-
|
|
930
|
-
### kenso agent-team get-settings
|
|
931
|
-
|
|
932
|
-
Return the workspace's agent settings. `GET /v1/agent-team/settings`. Beta: needs `agent_templates`.
|
|
933
|
-
|
|
934
|
-
Flags: `--each`, `--concurrency`.
|
|
935
|
-
|
|
936
|
-
### kenso agent-team list-changes
|
|
937
|
-
|
|
938
|
-
List the changes since your last call. `GET /v1/agent-team/changes`. Beta: needs `agent_templates`.
|
|
939
|
-
|
|
940
|
-
Flags: `--campaign-id`, `--since`, `--each`, `--concurrency`.
|
|
941
|
-
|
|
942
|
-
### kenso agent-team list-proposals
|
|
943
|
-
|
|
944
|
-
List proposals. `GET /v1/agent-team/proposals` (a list). Beta: needs `agent_templates`.
|
|
945
|
-
|
|
946
|
-
Flags: `--campaign-id`, `--cursor`, `--limit`, `--status`, `--all`, `--each`, `--concurrency`.
|
|
947
|
-
|
|
948
|
-
### kenso agent-team list-templates
|
|
949
|
-
|
|
950
|
-
List the agent templates. `GET /v1/agent-team/templates`. Beta: needs `agent_templates`.
|
|
951
|
-
|
|
952
|
-
Flags: `--each`, `--concurrency`.
|
|
953
|
-
|
|
954
|
-
### kenso agent-team undo-action
|
|
955
|
-
|
|
956
|
-
Undo an agent action. `POST /v1/agent-team/actions/{actionId}/undo`. Beta: needs `agent_templates`.
|
|
957
|
-
|
|
958
|
-
Flags: `--action-id` (required), `--each`, `--concurrency`.
|
|
959
|
-
|
|
960
|
-
### kenso agent-team update-settings
|
|
961
|
-
|
|
962
|
-
Set the workspace's target and runway. `PATCH /v1/agent-team/settings`. Beta: needs `agent_templates`.
|
|
963
|
-
|
|
964
|
-
Flags: `--target-interested-per-week`, `--runway-days`, `--data`, `--each`, `--concurrency`.
|
|
965
|
-
|
|
966
911
|
## agent-work
|
|
967
912
|
|
|
968
913
|
### kenso agent-work create-agent-key
|
|
@@ -1123,6 +1068,14 @@ Reset an AI flow for chosen contacts. `POST /v1/campaigns/{campaignId}/ai-runs/r
|
|
|
1123
1068
|
|
|
1124
1069
|
Flags: `--campaign-id` (required), `--flow`, `--data`, `--each`, `--concurrency`.
|
|
1125
1070
|
|
|
1071
|
+
## ai-topups
|
|
1072
|
+
|
|
1073
|
+
### kenso ai-topups create
|
|
1074
|
+
|
|
1075
|
+
Buy an AI top-up. `POST /v1/billing/ai-topups`.
|
|
1076
|
+
|
|
1077
|
+
Flags: `--each`, `--concurrency`.
|
|
1078
|
+
|
|
1126
1079
|
## airtable-bases
|
|
1127
1080
|
|
|
1128
1081
|
### kenso airtable-bases list
|
|
@@ -1309,25 +1262,25 @@ Flags: `--approval-test-id` (required), `--each`, `--concurrency`.
|
|
|
1309
1262
|
|
|
1310
1263
|
### kenso approvals bulk-decide
|
|
1311
1264
|
|
|
1312
|
-
Decide many LinkedIn note, connection request or engagement approvals at once. `POST /v1/approvals/decisions`. Beta: needs one of `accounts`, `
|
|
1265
|
+
Decide many LinkedIn note, connection request or engagement approvals at once. `POST /v1/approvals/decisions`. Beta: needs one of `accounts`, `linkedin_ai_notes`, `linkedin_engagement`.
|
|
1313
1266
|
|
|
1314
1267
|
Flags: `--action`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
|
|
1315
1268
|
|
|
1316
1269
|
### kenso approvals decide
|
|
1317
1270
|
|
|
1318
|
-
Approve, edit, snooze or skip an approval. `POST /v1/approvals/{approvalId}/decisions`. Beta: needs one of `accounts`, `
|
|
1271
|
+
Approve, edit, snooze or skip an approval. `POST /v1/approvals/{approvalId}/decisions`. Beta: needs one of `accounts`, `linkedin_ai_notes`, `linkedin_engagement`.
|
|
1319
1272
|
|
|
1320
1273
|
Flags: `--approval-id` (required), `--action`, `--updated-at`, `--recipient-version`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
|
|
1321
1274
|
|
|
1322
1275
|
### kenso approvals get
|
|
1323
1276
|
|
|
1324
|
-
Return one approval. `GET /v1/approvals/{approvalId}`. Beta: needs one of `accounts`, `
|
|
1277
|
+
Return one approval. `GET /v1/approvals/{approvalId}`. Beta: needs one of `accounts`, `linkedin_ai_notes`, `linkedin_engagement`.
|
|
1325
1278
|
|
|
1326
1279
|
Flags: `--approval-id` (required), `--each`, `--concurrency`.
|
|
1327
1280
|
|
|
1328
1281
|
### kenso approvals list
|
|
1329
1282
|
|
|
1330
|
-
List approvals. `GET /v1/approvals`. Beta: needs one of `accounts`, `
|
|
1283
|
+
List approvals. `GET /v1/approvals`. Beta: needs one of `accounts`, `linkedin_ai_notes`, `linkedin_engagement`.
|
|
1331
1284
|
|
|
1332
1285
|
Flags: `--account-id`, `--ids`, `--limit`, `--type`, `--each`, `--concurrency`.
|
|
1333
1286
|
|
|
@@ -2803,9 +2756,9 @@ Report how account-play protection affects a campaign. `GET /v1/campaigns/{campa
|
|
|
2803
2756
|
|
|
2804
2757
|
Flags: `--campaign-id` (required), `--each`, `--concurrency`.
|
|
2805
2758
|
|
|
2806
|
-
### kenso campaigns get-
|
|
2759
|
+
### kenso campaigns get-agent-work
|
|
2807
2760
|
|
|
2808
|
-
|
|
2761
|
+
Get the campaign's agent work overrides. `GET /v1/campaigns/{campaignId}/agent-work`. Beta: needs `agent_work`.
|
|
2809
2762
|
|
|
2810
2763
|
Flags: `--campaign-id` (required), `--each`, `--concurrency`.
|
|
2811
2764
|
|
|
@@ -2905,12 +2858,6 @@ Replace a campaign's AI workflows. `PUT /v1/campaigns/{campaignId}/ai-workflows`
|
|
|
2905
2858
|
|
|
2906
2859
|
Flags: `--campaign-id` (required), `--data`, `--each`, `--concurrency`.
|
|
2907
2860
|
|
|
2908
|
-
### kenso campaigns replace-autopilot
|
|
2909
|
-
|
|
2910
|
-
Turn the campaign's Autopilot on or off, and set its audience and weekly top-up limit. `PUT /v1/campaigns/{campaignId}/autopilot`. Beta: needs `agent_templates`.
|
|
2911
|
-
|
|
2912
|
-
Flags: `--campaign-id` (required), `--enabled`, `--client-yes`, `--clear-audience`, `--weekly-top-up-limit`, `--no-enabled`, `--no-clear-audience`, `--data`, `--each`, `--concurrency`.
|
|
2913
|
-
|
|
2914
2861
|
### kenso campaigns replace-inboxes
|
|
2915
2862
|
|
|
2916
2863
|
Replace a campaign's inboxes. `PUT /v1/campaigns/{campaignId}/inboxes`.
|
|
@@ -2983,6 +2930,12 @@ Update a campaign. `PATCH /v1/campaigns/{campaignId}`.
|
|
|
2983
2930
|
|
|
2984
2931
|
Flags: `--campaign-id` (required), `--name`, `--contact-limit`, `--sending-start-time`, `--sending-end-time`, `--sending-timezone`, `--max-emails-per-day`, `--owner-member-id`, `--stop-on-reply`, `--track-clicks`, `--track-opens`, `--unsubscribe-link`, `--send-as-plain-text`, `--protect-account-plays`, `--ramp-up-days`, `--stop-company-on-reply`, `--group-same-company-sends`, `--new-leads-first`, `--catch-all-lane-enabled`, `--booking-meeting-type-id`, `--reply-to`, `--role-id`, `--source-language`, `--language-mode`, `--language-fallback`, `--mode`, `--auto-launch-when-ready`, `--no-stop-on-reply`, `--no-track-clicks`, `--no-track-opens`, `--no-unsubscribe-link`, `--no-send-as-plain-text`, `--no-protect-account-plays`, `--no-stop-company-on-reply`, `--no-group-same-company-sends`, `--no-new-leads-first`, `--no-catch-all-lane-enabled`, `--no-auto-launch-when-ready`, `--data`, `--each`, `--concurrency`.
|
|
2985
2932
|
|
|
2933
|
+
### kenso campaigns update-agent-work
|
|
2934
|
+
|
|
2935
|
+
Update the campaign's agent work overrides. `PATCH /v1/campaigns/{campaignId}/agent-work`. Beta: needs `agent_work`.
|
|
2936
|
+
|
|
2937
|
+
Flags: `--campaign-id` (required), `--data`, `--each`, `--concurrency`.
|
|
2938
|
+
|
|
2986
2939
|
## checkout-sessions
|
|
2987
2940
|
|
|
2988
2941
|
### kenso checkout-sessions create
|
|
@@ -5989,6 +5942,12 @@ Flags: `--data`, `--each`, `--concurrency`.
|
|
|
5989
5942
|
|
|
5990
5943
|
## market-stories
|
|
5991
5944
|
|
|
5945
|
+
### kenso market-stories create-campaign
|
|
5946
|
+
|
|
5947
|
+
Create a Draft campaign from a market story. `POST /v1/market-stories/{storyId}/create-campaign`. Beta: needs `market_news`.
|
|
5948
|
+
|
|
5949
|
+
Flags: `--story-id` (required), `--idempotency-key`, `--each`, `--concurrency`.
|
|
5950
|
+
|
|
5992
5951
|
### kenso market-stories get
|
|
5993
5952
|
|
|
5994
5953
|
Get a market story. `GET /v1/market-stories/{storyId}`. Beta: needs `market_news`.
|
|
@@ -7159,6 +7118,20 @@ PATCH /v1/notetaker/settings. `PATCH /v1/notetaker/settings`. Beta: needs `notet
|
|
|
7159
7118
|
|
|
7160
7119
|
Flags: `--auto-start`, `--keep-audio30-days`, `--draft-follow-up`, `--share-with-workspace`, `--apply-to-past-meetings`, `--no-auto-start`, `--no-keep-audio30-days`, `--no-draft-follow-up`, `--no-share-with-workspace`, `--no-apply-to-past-meetings`, `--data`, `--each`, `--concurrency`.
|
|
7161
7120
|
|
|
7121
|
+
## offer
|
|
7122
|
+
|
|
7123
|
+
### kenso offer get
|
|
7124
|
+
|
|
7125
|
+
Read the workspace's offer. `GET /v1/billing/offer`.
|
|
7126
|
+
|
|
7127
|
+
Flags: `--each`, `--concurrency`.
|
|
7128
|
+
|
|
7129
|
+
### kenso offer redeem
|
|
7130
|
+
|
|
7131
|
+
Redeem an offer code. `POST /v1/billing/offer`.
|
|
7132
|
+
|
|
7133
|
+
Flags: `--code`, `--data`, `--each`, `--concurrency`.
|
|
7134
|
+
|
|
7162
7135
|
## onboarding
|
|
7163
7136
|
|
|
7164
7137
|
### kenso onboarding get
|
|
@@ -7261,6 +7234,12 @@ List opportunities in the current workspace. `GET /v1/opportunities` (a list). B
|
|
|
7261
7234
|
|
|
7262
7235
|
Flags: `--account-id`, `--close-date-after`, `--close-date-before`, `--cursor`, `--limit`, `--owner-member-id`, `--search`, `--sort`, `--source-campaign-id`, `--stage`, `--stage-category`, `--stale-days`, `--all`, `--each`, `--concurrency`.
|
|
7263
7236
|
|
|
7237
|
+
### kenso opportunities stage-history
|
|
7238
|
+
|
|
7239
|
+
Show a deal's stage history: each stage, when, who moved it and how long it sat there. `GET /v1/opportunities/{opportunityId}/stage-history`. Beta: needs `opportunities`.
|
|
7240
|
+
|
|
7241
|
+
Arguments: `<opportunityId>`.
|
|
7242
|
+
|
|
7264
7243
|
### kenso opportunities update
|
|
7265
7244
|
|
|
7266
7245
|
Update opportunity fields. Absent fields stay unchanged; null clears. `PATCH /v1/opportunities/{opportunityId}`. Beta: needs `opportunities`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.58",
|
|
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": "5d65cde64a660ac4b908e3063f72f3e407b6de73"
|
|
53
53
|
}
|