linkedin-relay-mcp 3.4.0 → 3.6.0

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.
@@ -125,6 +125,17 @@ The user's own graph and posts, read from the local cache. **Free — no network
125
125
  back empty, the cache has not been filled: tell the user to run `lnrelay sync connections` (or
126
126
  `sync my-posts`) rather than reporting that they have none.
127
127
 
128
+ ### `scheduled` — live, ~1 call per 10 posts. The queue.
129
+ ```
130
+ scheduled
131
+ ```
132
+ The user's own posts waiting to publish, soonest first: `urn`, `scheduledAt` (ISO), `text`. They are
133
+ **not** in `my-posts` until they go out, so check here before saying nothing is planned. Links in
134
+ `text` show as lnkd.in short links, the way LinkedIn lists them. `text` is null when it could not be
135
+ matched to its post for certain. A scheduled post is cancelled with `lnrelay delete <urn>` and its
136
+ text changed with `lnrelay edit <urn> "<text>"` (both CLI, approved like any write). If `meta.state`
137
+ is not `complete`, the list may be short — say so.
138
+
128
139
  ### `sync` — CLI-only. Fills the cache.
129
140
  ```
130
141
  lnrelay sync my-posts | lnrelay sync connections [--limit N] [--force]
@@ -187,10 +198,10 @@ Writes are **not on the MCP surface**. They exist only as CLI commands:
187
198
 
188
199
  | command | does |
189
200
  |---|---|
190
- | `lnrelay share "<text>" [--image <path> ... [--alt "…" ...] \| --video <path> \| --document <pdf> --title "…"] [--at "YYYY-MM-DD HH:MM"]` | post to their own feed — up to 20 images, one video, or one PDF; `--at` schedules it and LinkedIn publishes it then |
201
+ | `lnrelay share "<text>" [--image <path> ... [--alt "…" ...] \| --video <path> \| --document <pdf> --title "…"] [--at "YYYY-MM-DD HH:MM"] [--poll "…" --option "…" --option "…" [--duration 1w]] [--no-card]` | post to their own feed — up to 20 images, one video, or one PDF; `--at` schedules it and LinkedIn publishes it then; a link in the text gets its preview card unless `--no-card` |
191
202
  | `lnrelay comment <activity-urn> "<text>"` | comment on a post |
192
203
  | `lnrelay reply <comment-urn> "<text>"` | reply, nested under that comment |
193
- | `lnrelay edit <comment-urn> "<text>"` | change the text of their own comment |
204
+ | `lnrelay edit <comment-urn \| share-urn \| ugcPost-urn> "<text>"` | change the text of their own comment or post |
194
205
  | `lnrelay react <urn> [--type X] [--remove]` | react to a post or comment |
195
206
  | `lnrelay delete <activity-urn \| comment-urn>` | delete their post or comment |
196
207
 
@@ -225,6 +236,14 @@ Things worth telling a user who asks:
225
236
  needed at all: `docs/DECISION-writes.md`.
226
237
  - `--image` / `--video` upload over the private API only; `--via oauth` with media is refused. A
227
238
  video post comes back as a `urn:li:ugcPost:` rather than `urn:li:share:`.
239
+ - A link in a post's text gets the preview card LinkedIn's composer would show (the first link only,
240
+ and not on a post that already carries images, a video, a PDF or a poll). The plan names the card
241
+ (`card "<title>" (<site>)`), or says LinkedIn has none. If the lookup fails nothing is posted; add
242
+ `--no-card` to post the link as plain text.
243
+ - Scheduled posts are listed by `scheduled` (MCP and CLI), not by `my-posts`.
244
+ - Editing a post replaces its whole text and LinkedIn marks it edited; pass the urn `share` printed
245
+ (or `shareUrn` from `my-posts`), not the activity urn. An @mention in the old text is not kept.
246
+ - A poll takes 2–4 options and runs 1d/3d/1w/2w; it cannot be scheduled yet.
228
247
  - A scheduled post gets its urn immediately; `lnrelay delete <urn>` cancels it before it publishes.
229
248
  `--at` without an offset is the machine's local time — say the time back to the user in the
230
249
  preview's own words, which name the timezone.