Skip to content

feat(typefully): support LinkedIn reshares - #20

Open
frankdilo wants to merge 1 commit into
mainfrom
codex/linkedin-reshares
Open

feat(typefully): support LinkedIn reshares#20
frankdilo wants to merge 1 commit into
mainfrom
codex/linkedin-reshares

Conversation

@frankdilo

Copy link
Copy Markdown
Contributor

TL;DR

Agents can now create and update Typefully LinkedIn reshares/reposts through the CLI using LinkedIn post URLs or canonical URNs, including plain reshares without commentary.

Summary

  • Introduce LinkedIn reshare flags for drafts:create, drafts:update, and the create/update aliases, including URL/repost aliases that map to the API linkedin_reshare_target field.
  • Add payload handling for LinkedIn-only reshares so reshare targets are only attached to LinkedIn posts, reshare-only drafts default to LinkedIn, and update-only reshares preserve existing LinkedIn commentary.
  • Update skill docs and changelog with the new workflow, accepted URN shapes, response field name, examples, and the refreshed last-updated date.
  • Add draft command tests covering plain reshares, cross-platform commentary, alias handling, validation errors, and update-preservation behavior.

Breaking Changes

None

Validation

  • node --check skills/typefully/scripts/typefully.js
  • git diff --check
  • npm run test:drafts
  • npm test

Manual QA

  • Create a LinkedIn draft with --linkedin-reshare-target <url_or_urn> -> API receives linkedin_reshare_target on the LinkedIn post.
  • Update an existing LinkedIn draft with --linkedin-reshare-url <url_or_urn> -> existing commentary is preserved and the reshare target is added.

After Merge

No action required

Related Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant