kenso 0.1.214 → 0.1.215

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.215 (API contracts 2894cf50e7cf) 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
+ 2108 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) (9)
205
205
  - [deal-rooms](#deal-rooms) (15)
206
206
  - [deal-watch](#deal-watch) (3)
207
207
  - [deal-watch-actions](#deal-watch-actions) (4)
@@ -453,8 +453,10 @@ 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-channels](#social-channels) (3)
456
457
  - [social-lookups](#social-lookups) (2)
457
458
  - [social-monitor](#social-monitor) (5)
459
+ - [social-posts](#social-posts) (7)
458
460
  - [social-records](#social-records) (1)
459
461
  - [social-resolutions](#social-resolutions) (1)
460
462
  - [social-searches](#social-searches) (2)
@@ -4856,6 +4858,12 @@ List a deal room's signing documents. `GET /v1/deal-rooms/{dealRoomId}/signing-d
4856
4858
 
4857
4859
  Flags: `--deal-room-id` (required), `--status`, `--each`, `--concurrency`.
4858
4860
 
4861
+ ### kenso deal-room-signing send-document
4862
+
4863
+ Send a draft for signing. `POST /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}/send`. Beta: needs `deal_room`.
4864
+
4865
+ Flags: `--deal-room-id` (required), `--document-id` (required), `--each`, `--concurrency`.
4866
+
4859
4867
  ### kenso deal-room-signing set-fields
4860
4868
 
4861
4869
  Set a draft's fields. `PUT /v1/deal-rooms/{dealRoomId}/signing-documents/{documentId}/fields`. Beta: needs `deal_room`.
@@ -11694,6 +11702,26 @@ Read the workspace's SMTP email packs. `GET /v1/billing/smtp-email-packs`.
11694
11702
 
11695
11703
  Flags: `--each`, `--concurrency`.
11696
11704
 
11705
+ ## social-channels
11706
+
11707
+ ### kenso social-channels create
11708
+
11709
+ Create an internal channel. `POST /v1/social/channels`. Beta: needs `social`.
11710
+
11711
+ Flags: `--type`, `--name`, `--handle`, `--is-public`, `--revalidate-secret`, `--deploy-token`, `--no-is-public`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
11712
+
11713
+ ### kenso social-channels get
11714
+
11715
+ Get a channel. `GET /v1/social/channels/{channelId}`. Beta: needs `social`.
11716
+
11717
+ Flags: `--channel-id` (required), `--each`, `--concurrency`.
11718
+
11719
+ ### kenso social-channels list
11720
+
11721
+ List channels. `GET /v1/social/channels` (a list). Beta: needs `social`.
11722
+
11723
+ Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
11724
+
11697
11725
  ## social-lookups
11698
11726
 
11699
11727
  ### kenso social-lookups create
@@ -11740,6 +11768,50 @@ List the weeks a From your posts message went out, newest first. `GET /v1/social
11740
11768
 
11741
11769
  Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
11742
11770
 
11771
+ ## social-posts
11772
+
11773
+ ### kenso social-posts approve
11774
+
11775
+ Approve a post. `POST /v1/social/posts/{postId}/approve`. Beta: needs `social`.
11776
+
11777
+ Flags: `--post-id` (required), `--expected-updated-at`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
11778
+
11779
+ ### kenso social-posts create
11780
+
11781
+ Create a post. `POST /v1/social/posts`. Beta: needs `social`.
11782
+
11783
+ Flags: `--title`, `--body-markdown`, `--needs-review`, `--review-note`, `--body-dry-run`, `--source`, `--no-needs-review`, `--no-body-dry-run`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
11784
+
11785
+ ### kenso social-posts delete
11786
+
11787
+ Delete a post. `DELETE /v1/social/posts/{postId}`. Beta: needs `social`.
11788
+
11789
+ Flags: `--post-id` (required), `--each`, `--concurrency`.
11790
+
11791
+ ### kenso social-posts get
11792
+
11793
+ Get a post. `GET /v1/social/posts/{postId}`. Beta: needs `social`.
11794
+
11795
+ Flags: `--post-id` (required), `--each`, `--concurrency`.
11796
+
11797
+ ### kenso social-posts list
11798
+
11799
+ List posts. `GET /v1/social/posts` (a list). Beta: needs `social`.
11800
+
11801
+ Flags: `--channel-id`, `--cursor`, `--from`, `--include-dry-runs`, `--limit`, `--needs-review`, `--state`, `--to`, `--no-include-dry-runs`, `--no-needs-review`, `--all`, `--each`, `--concurrency`.
11802
+
11803
+ ### kenso social-posts schedule
11804
+
11805
+ Schedule a post. `POST /v1/social/posts/{postId}/schedule`. Beta: needs `social`.
11806
+
11807
+ Flags: `--post-id` (required), `--publish-at`, `--expected-updated-at`, `--idempotency-key`, `--data`, `--each`, `--concurrency`.
11808
+
11809
+ ### kenso social-posts update
11810
+
11811
+ Update a post. `PATCH /v1/social/posts/{postId}`. Beta: needs `social`.
11812
+
11813
+ Flags: `--post-id` (required), `--title`, `--body-markdown`, `--review-note`, `--body-dry-run`, `--no-body-dry-run`, `--data`, `--each`, `--concurrency`.
11814
+
11743
11815
  ## social-records
11744
11816
 
11745
11817
  ### 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.215",
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": "109ac39f9a6f8d3d5f62fa15cc059f548c2060a2"
53
53
  }