linkedin-relay-mcp 3.0.1 → 3.0.2
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/dist/cli.js +4 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2182,7 +2182,8 @@ async function deleteComment(ref, urn, now, deps) {
|
|
|
2182
2182
|
action: "delete your comment",
|
|
2183
2183
|
payload: { urn },
|
|
2184
2184
|
summary: [`comment ${urn}`, `on post urn:li:activity:${ref.activityId}`],
|
|
2185
|
-
|
|
2185
|
+
// Verified live: deleting a parent took its three nested replies with it.
|
|
2186
|
+
reversibility: "NONE. A deleted comment is gone \u2014 AND SO IS EVERY REPLY UNDER IT, including other people's. Verified live.",
|
|
2186
2187
|
transport: "voyager"
|
|
2187
2188
|
};
|
|
2188
2189
|
const gated = await gateWrite("delete", plan, now, deps, { commitSpend: false });
|
|
@@ -3535,7 +3536,8 @@ async function replyToComment(confirmed, client) {
|
|
|
3535
3536
|
});
|
|
3536
3537
|
if (!result.ok) {
|
|
3537
3538
|
const out = { ok: false, code: result.code, message: result.message };
|
|
3538
|
-
|
|
3539
|
+
out.hint = /5\d\d|unexpected status/.test(result.message) ? "DO NOT RETRY BLINDLY. This endpoint has been observed returning 5xx after the reply was already created. Check the thread on LinkedIn before sending again." : result.hint ?? "";
|
|
3540
|
+
if (out.hint === "") delete out.hint;
|
|
3539
3541
|
return out;
|
|
3540
3542
|
}
|
|
3541
3543
|
return { ok: true, parent: parentThreadUrn(ref) };
|