kenso 0.1.214 → 0.1.216

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
@@ -104,6 +104,7 @@ Every page is in the package and prints offline with `kenso docs <topic>`.
104
104
  | [Studio (beta)](studio.md) | `studio` | Pull, push, validate, preview and fill templates |
105
105
  | [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 |
106
106
  | [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 |
107
+ | [Social (beta)](social.md) | `social` | Posts, channels and the rest of Kenso Social |
107
108
  | [Webhooks](webhooks.md) | `webhooks` | Build a webhook handler locally: `kenso webhooks listen --forward-to`, `trigger`, the signature |
108
109
  | [Developer sandbox](sandbox.md) | `sandbox` | `kenso sandbox`: a workspace of your own where sends are simulated, its test key, the reserved test leads |
109
110
  | [Connect accounts](connect.md) | `connect` | `kenso connect`: an inbox, calendar, CRM, GitHub or other OAuth account, signed in by the person in a browser |
package/docs/reference.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.214 (API contracts 0098a176735a) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.216 (API contracts e1eccb6a098f) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
- 2097 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
+ 2121 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
 
@@ -201,7 +201,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
201
201
  - [deal-room-answers](#deal-room-answers) (9)
202
202
  - [deal-room-buyer-inputs](#deal-room-buyer-inputs) (10)
203
203
  - [deal-room-content](#deal-room-content) (25)
204
- - [deal-room-signing](#deal-room-signing) (8)
204
+ - [deal-room-signing](#deal-room-signing) (14)
205
205
  - [deal-rooms](#deal-rooms) (15)
206
206
  - [deal-watch](#deal-watch) (3)
207
207
  - [deal-watch-actions](#deal-watch-actions) (4)
@@ -330,7 +330,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
330
330
  - [mcp-server-authorizations](#mcp-server-authorizations) (2)
331
331
  - [mcp-server-presets](#mcp-server-presets) (1)
332
332
  - [mcp-servers](#mcp-servers) (9)
333
- - [me](#me) (53)
333
+ - [me](#me) (56)
334
334
  - [meeting-attribution-settings](#meeting-attribution-settings) (2)
335
335
  - [meeting-call-types](#meeting-call-types) (4)
336
336
  - [meeting-chase-emails](#meeting-chase-emails) (4)
@@ -453,8 +453,12 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
453
453
  - [slack-channels](#slack-channels) (1)
454
454
  - [slack-connection](#slack-connection) (5)
455
455
  - [smtp-email-packs](#smtp-email-packs) (2)
456
+ - [social-analytics](#social-analytics) (3)
457
+ - [social-channels](#social-channels) (3)
458
+ - [social-comments](#social-comments) (2)
456
459
  - [social-lookups](#social-lookups) (2)
457
460
  - [social-monitor](#social-monitor) (5)
461
+ - [social-posts](#social-posts) (7)
458
462
  - [social-records](#social-records) (1)
459
463
  - [social-resolutions](#social-resolutions) (1)
460
464
  - [social-searches](#social-searches) (2)
@@ -4826,6 +4830,12 @@ Flags: `--deal-room-id` (required), `--section-key` (required), `--status`, `--i
4826
4830
 
4827
4831
  ## deal-room-signing
4828
4832
 
4833
+ ### kenso deal-room-signing cancel-document
4834
+
4835
+ Cancel a request out for signature. `POST /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}/cancel`. Beta: needs `deal_room`.
4836
+
4837
+ Flags: `--deal-room-id` (required), `--document-id` (required), `--reason`, `--data`, `--each`, `--concurrency`.
4838
+
4829
4839
  ### kenso deal-room-signing create-document
4830
4840
 
4831
4841
  Prepare a document for signing from a file of the room. `POST /v1/deal-rooms/{dealRoomId}/signing-documents`. Beta: needs `deal_room`.
@@ -4856,6 +4866,24 @@ List a deal room's signing documents. `GET /v1/deal-rooms/{dealRoomId}/signing-d
4856
4866
 
4857
4867
  Flags: `--deal-room-id` (required), `--status`, `--each`, `--concurrency`.
4858
4868
 
4869
+ ### kenso deal-room-signing nudge-signer
4870
+
4871
+ Remind a signer whose turn it is. `POST /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}/nudge`. Beta: needs `deal_room`.
4872
+
4873
+ Flags: `--deal-room-id` (required), `--document-id` (required), `--signer-id`, `--data`, `--each`, `--concurrency`.
4874
+
4875
+ ### kenso deal-room-signing retry-seal
4876
+
4877
+ Retry sealing a signed document whose seal failed. `POST /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}/retry-seal`. Beta: needs `deal_room`.
4878
+
4879
+ Flags: `--deal-room-id` (required), `--document-id` (required), `--each`, `--concurrency`.
4880
+
4881
+ ### kenso deal-room-signing send-document
4882
+
4883
+ Send a draft for signing. `POST /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}/send`. Beta: needs `deal_room`.
4884
+
4885
+ Flags: `--deal-room-id` (required), `--document-id` (required), `--each`, `--concurrency`.
4886
+
4859
4887
  ### kenso deal-room-signing set-fields
4860
4888
 
4861
4889
  Set a draft's fields. `PUT /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}/fields`. Beta: needs `deal_room`.
@@ -4868,12 +4896,24 @@ Set who signs a draft, in order. `PUT /v1/deal-rooms/{dealRoomId}/signing-docume
4868
4896
 
4869
4897
  Flags: `--deal-room-id` (required), `--document-id` (required), `--if-updated-at`, `--data`, `--each`, `--concurrency`.
4870
4898
 
4899
+ ### kenso deal-room-signing sign-document
4900
+
4901
+ Sign a document as Kenso's signer. `POST /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}/sign`. Beta: needs `deal_room`.
4902
+
4903
+ Flags: `--deal-room-id` (required), `--document-id` (required), `--each`, `--concurrency`.
4904
+
4871
4905
  ### kenso deal-room-signing update-document
4872
4906
 
4873
4907
  Rename a draft, change its signing order, or move its end date. `PATCH /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}`. Beta: needs `deal_room`.
4874
4908
 
4875
4909
  Flags: `--deal-room-id` (required), `--document-id` (required), `--title`, `--signing-order`, `--expires-at`, `--data`, `--each`, `--concurrency`.
4876
4910
 
4911
+ ### kenso deal-room-signing verify-document
4912
+
4913
+ Check a completed document's signed copy. `GET /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}/verify`. Beta: needs `deal_room`.
4914
+
4915
+ Flags: `--deal-room-id` (required), `--document-id` (required), `--each`, `--concurrency`.
4916
+
4877
4917
  ## deal-rooms
4878
4918
 
4879
4919
  ### kenso deal-rooms add-person
@@ -7790,6 +7830,12 @@ Remove one of the calling member's meeting types. `DELETE /v1/me/calendar-meetin
7790
7830
 
7791
7831
  Flags: `--type-key` (required), `--meetings`, `--move-to-key`, `--each`, `--concurrency`.
7792
7832
 
7833
+ ### kenso me delete-signing-signature
7834
+
7835
+ Delete your saved signature for documents. `DELETE /v1/me/signing-signature`. Beta: needs `deal_room`.
7836
+
7837
+ Flags: `--each`, `--concurrency`.
7838
+
7793
7839
  ### kenso me get
7794
7840
 
7795
7841
  Get the signed-in caller. `GET /v1/me`.
@@ -7844,6 +7890,12 @@ Return the calling member's personal signature in this workspace. `GET /v1/me/si
7844
7890
 
7845
7891
  Flags: `--each`, `--concurrency`.
7846
7892
 
7893
+ ### kenso me get-signing-signature
7894
+
7895
+ Get your saved signature for documents. `GET /v1/me/signing-signature`. Beta: needs `deal_room`.
7896
+
7897
+ Flags: `--each`, `--concurrency`.
7898
+
7847
7899
  ### kenso me get-voice
7848
7900
 
7849
7901
  Return your voice settings, the sources Ken learns from and your voice owner requests. `GET /v1/me/voice`. Beta: needs `sender_voice`.
@@ -7976,6 +8028,12 @@ Mail the caller's own address that a login was connected to or removed from thei
7976
8028
 
7977
8029
  Flags: `--change`, `--provider`, `--email`, `--data`, `--each`, `--concurrency`.
7978
8030
 
8031
+ ### kenso me set-signing-signature
8032
+
8033
+ Save your signature for documents. `PUT /v1/me/signing-signature`. Beta: needs `deal_room`.
8034
+
8035
+ Flags: `--full-name`, `--initials`, `--data`, `--each`, `--concurrency`.
8036
+
7979
8037
  ### kenso me switch-sign-in
7980
8038
 
7981
8039
  Move the caller's Google, Microsoft or LinkedIn sign-in onto an email login. `POST /v1/me/sign-in/switch`.
@@ -11694,6 +11752,60 @@ Read the workspace's SMTP email packs. `GET /v1/billing/smtp-email-packs`.
11694
11752
 
11695
11753
  Flags: `--each`, `--concurrency`.
11696
11754
 
11755
+ ## social-analytics
11756
+
11757
+ ### kenso social-analytics engagement
11758
+
11759
+ Get Social engagement. `GET /v1/social/analytics/engagement` (a list). Beta: needs `social`.
11760
+
11761
+ Flags: `--channel-ids`, `--cursor`, `--from`, `--limit`, `--timezone`, `--to`, `--all`, `--each`, `--concurrency`.
11762
+
11763
+ ### kenso social-analytics followers
11764
+
11765
+ Get Social followers. `GET /v1/social/analytics/followers` (a list). Beta: needs `social`.
11766
+
11767
+ Flags: `--channel-ids`, `--cursor`, `--from`, `--limit`, `--timezone`, `--to`, `--all`, `--each`, `--concurrency`.
11768
+
11769
+ ### kenso social-analytics output
11770
+
11771
+ Get Social output. `GET /v1/social/analytics/output` (a list). Beta: needs `social`.
11772
+
11773
+ Flags: `--channel-ids`, `--cursor`, `--from`, `--limit`, `--timezone`, `--to`, `--all`, `--each`, `--concurrency`.
11774
+
11775
+ ## social-channels
11776
+
11777
+ ### kenso social-channels create
11778
+
11779
+ Create an internal channel. `POST /v1/social/channels`. Beta: needs `social`.
11780
+
11781
+ Flags: `--type`, `--name`, `--handle`, `--is-public`, `--revalidate-secret`, `--deploy-token`, `--no-is-public`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
11782
+
11783
+ ### kenso social-channels get
11784
+
11785
+ Get a channel. `GET /v1/social/channels/{channelId}`. Beta: needs `social`.
11786
+
11787
+ Flags: `--channel-id` (required), `--each`, `--concurrency`.
11788
+
11789
+ ### kenso social-channels list
11790
+
11791
+ List channels. `GET /v1/social/channels` (a list). Beta: needs `social`.
11792
+
11793
+ Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
11794
+
11795
+ ## social-comments
11796
+
11797
+ ### kenso social-comments list
11798
+
11799
+ List a published target's comments. `GET /v1/social/posts/{postId}/targets/{targetId}/comments` (a list). Beta: needs `social`.
11800
+
11801
+ Flags: `--post-id` (required), `--target-id` (required), `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
11802
+
11803
+ ### kenso social-comments reply
11804
+
11805
+ Reply to a comment on the platform. `POST /v1/social/posts/{postId}/targets/{targetId}/comments/{commentId}/replies`. Beta: needs `social`.
11806
+
11807
+ Flags: `--post-id` (required), `--target-id` (required), `--comment-id` (required), `--text`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
11808
+
11697
11809
  ## social-lookups
11698
11810
 
11699
11811
  ### kenso social-lookups create
@@ -11740,6 +11852,50 @@ List the weeks a From your posts message went out, newest first. `GET /v1/social
11740
11852
 
11741
11853
  Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
11742
11854
 
11855
+ ## social-posts
11856
+
11857
+ ### kenso social-posts approve
11858
+
11859
+ Approve a post. `POST /v1/social/posts/{postId}/approve`. Beta: needs `social`.
11860
+
11861
+ Flags: `--post-id` (required), `--expected-updated-at`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
11862
+
11863
+ ### kenso social-posts create
11864
+
11865
+ Create a post. `POST /v1/social/posts`. Beta: needs `social`.
11866
+
11867
+ Flags: `--title`, `--body-markdown`, `--needs-review`, `--review-note`, `--body-dry-run`, `--source`, `--no-needs-review`, `--no-body-dry-run`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
11868
+
11869
+ ### kenso social-posts delete
11870
+
11871
+ Delete a post. `DELETE /v1/social/posts/{postId}`. Beta: needs `social`.
11872
+
11873
+ Flags: `--post-id` (required), `--each`, `--concurrency`.
11874
+
11875
+ ### kenso social-posts get
11876
+
11877
+ Get a post. `GET /v1/social/posts/{postId}`. Beta: needs `social`.
11878
+
11879
+ Flags: `--post-id` (required), `--each`, `--concurrency`.
11880
+
11881
+ ### kenso social-posts list
11882
+
11883
+ List posts. `GET /v1/social/posts` (a list). Beta: needs `social`.
11884
+
11885
+ Flags: `--channel-id`, `--cursor`, `--from`, `--include-dry-runs`, `--limit`, `--needs-review`, `--state`, `--to`, `--no-include-dry-runs`, `--no-needs-review`, `--all`, `--each`, `--concurrency`.
11886
+
11887
+ ### kenso social-posts schedule
11888
+
11889
+ Schedule a post. `POST /v1/social/posts/{postId}/schedule`. Beta: needs `social`.
11890
+
11891
+ Flags: `--post-id` (required), `--publish-at`, `--expected-updated-at`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
11892
+
11893
+ ### kenso social-posts update
11894
+
11895
+ Update a post. `PATCH /v1/social/posts/{postId}`. Beta: needs `social`.
11896
+
11897
+ Flags: `--post-id` (required), `--title`, `--body-markdown`, `--review-note`, `--body-dry-run`, `--no-body-dry-run`, `--data`, `--each`, `--concurrency`.
11898
+
11743
11899
  ## social-records
11744
11900
 
11745
11901
  ### kenso social-records list
package/docs/social.md ADDED
@@ -0,0 +1,37 @@
1
+ # Social (beta)
2
+
3
+ Kenso Social is Kenso's content calendar: social posts, the blog, research, the changelog and the help center, on one calendar in the app. Every route of it is a command under `kenso social`. It is in beta: a workspace without the `social` feature gets a "not found" answer from the API, and `kenso social --help` hides its commands (`--all-commands` shows them).
4
+
5
+ `kenso social <resource> <action>` is the same command as `kenso social-<resource> <action>`. The two differ only in the words you type: `kenso social posts list` runs `kenso social-posts list`.
6
+
7
+ | Command | What it does |
8
+ |---|---|
9
+ | `social channels list` | List channels |
10
+ | `social channels get <channelId>` | Get a channel |
11
+ | `social channels create` | Create an internal channel |
12
+ | `social posts list` | List posts |
13
+ | `social posts get <postId>` | Get a post |
14
+ | `social posts create` | Create a post |
15
+ | `social posts update <postId>` | Update a post |
16
+ | `social posts delete <postId>` | Delete a post |
17
+ | `social posts schedule <postId>` | Schedule a post |
18
+ | `social posts approve <postId>` | Approve a post |
19
+
20
+ ## Examples
21
+
22
+ ```bash
23
+ kenso social channels list
24
+ kenso social posts list
25
+ kenso social posts get <postId>
26
+ kenso social posts create --title "Launch notes" --body-markdown "Kenso Social is live." --needs-review
27
+ kenso social posts approve <postId>
28
+ kenso social posts schedule <postId> --dry-run
29
+ ```
30
+
31
+ Run `kenso social posts create --help` for the flags of a command, and `kenso describe social-posts create` for the full JSON body.
32
+
33
+ ## What only a person can do
34
+
35
+ Publishing a help article or its pending changes, publishing a changelog entry, changing a help topic that has published articles, and sending the changelog email (test or real) need a person signed in to the app. With an API key the API answers 403 with a message that says so (detail code `api_key_not_allowed`). You can still draft each of them from the CLI.
36
+
37
+ New Social resources (media, analytics, comments, help topics, revisions, the changelog email) join `kenso social` on their own when their routes ship: `kenso social --help` lists what your CLI version has.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.214",
3
+ "version": "0.1.216",
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": "98d09fc504b740548370678d94cd021de669064d"
52
+ "gitHead": "a76179e38710cc553544fd81187fe27a84ca2116"
53
53
  }