linkedin-relay-mcp 3.3.0 → 3.5.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.
- package/.claude/skills/linkedin-relay/SKILL.md +8 -2
- package/dist/cli.js +418 -73
- package/dist/cli.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/mcp-shim.js +14 -3
- package/dist/mcp-shim.js.map +1 -1
- package/package.json +1 -1
|
@@ -187,10 +187,10 @@ Writes are **not on the MCP surface**. They exist only as CLI commands:
|
|
|
187
187
|
|
|
188
188
|
| command | does |
|
|
189
189
|
|---|---|
|
|
190
|
-
| `lnrelay share "<text>" [--image <path> ... [--alt "
|
|
190
|
+
| `lnrelay share "<text>" [--image <path> ... [--alt "…" ...] \| --video <path> \| --document <pdf> --title "…"] [--at "YYYY-MM-DD HH:MM"] [--poll "…" --option "…" --option "…" [--duration 1w]]` | post to their own feed — up to 20 images, one video, or one PDF; `--at` schedules it and LinkedIn publishes it then |
|
|
191
191
|
| `lnrelay comment <activity-urn> "<text>"` | comment on a post |
|
|
192
192
|
| `lnrelay reply <comment-urn> "<text>"` | reply, nested under that comment |
|
|
193
|
-
| `lnrelay edit <comment-urn> "<text>"` | change the text of their own comment |
|
|
193
|
+
| `lnrelay edit <comment-urn \| share-urn \| ugcPost-urn> "<text>"` | change the text of their own comment or post |
|
|
194
194
|
| `lnrelay react <urn> [--type X] [--remove]` | react to a post or comment |
|
|
195
195
|
| `lnrelay delete <activity-urn \| comment-urn>` | delete their post or comment |
|
|
196
196
|
|
|
@@ -225,6 +225,12 @@ Things worth telling a user who asks:
|
|
|
225
225
|
needed at all: `docs/DECISION-writes.md`.
|
|
226
226
|
- `--image` / `--video` upload over the private API only; `--via oauth` with media is refused. A
|
|
227
227
|
video post comes back as a `urn:li:ugcPost:` rather than `urn:li:share:`.
|
|
228
|
+
- Editing a post replaces its whole text and LinkedIn marks it edited; pass the urn `share` printed
|
|
229
|
+
(or `shareUrn` from `my-posts`), not the activity urn. An @mention in the old text is not kept.
|
|
230
|
+
- A poll takes 2–4 options and runs 1d/3d/1w/2w; it cannot be scheduled yet.
|
|
231
|
+
- A scheduled post gets its urn immediately; `lnrelay delete <urn>` cancels it before it publishes.
|
|
232
|
+
`--at` without an offset is the machine's local time — say the time back to the user in the
|
|
233
|
+
preview's own words, which name the timezone.
|
|
228
234
|
- **Deleting a comment also deletes every reply under it**, including other people's. Verified live.
|
|
229
235
|
|
|
230
236
|
Connecting and messaging do not exist at all, in any surface. They are the actions where the
|