Skip to content

feat: bluesky#8513

Merged
onyedikachi-david merged 9 commits intoactivepieces:mainfrom
Sanket6652:feat/bluesky
Aug 3, 2025
Merged

feat: bluesky#8513
onyedikachi-david merged 9 commits intoactivepieces:mainfrom
Sanket6652:feat/bluesky

Conversation

@Sanket6652
Copy link
Copy Markdown
Contributor

@Sanket6652 Sanket6652 commented Jul 24, 2025

@kishanprmr @onyedikachi-david
demo:

2025-07-24.22-27-34.mp4

/claim #8505
Fixes #8505

@algora-pbc algora-pbc bot mentioned this pull request Jul 24, 2025
@Sanket6652 Sanket6652 changed the title Feat/bluesky feat: bluesky Jul 24, 2025
@Sanket6652
Copy link
Copy Markdown
Contributor Author

@kishanprmr @onyedikachi-david kindly review

@onyedikachi-david onyedikachi-david self-assigned this Jul 31, 2025
@onyedikachi-david onyedikachi-david self-requested a review July 31, 2025 08:05
@onyedikachi-david
Copy link
Copy Markdown
Collaborator

Hi @Sanket6652,

I've refactored your Bluesky integration to use the official AT Protocol SDK (@atproto/api). Please observe the new patterns and apply them consistently or improve on it if need be to the remaining actions:

Key Changes Made:

  1. SDK Integration: Replaced manual HTTP requests with agent.methodName() calls
  2. Authentication: Now uses createBlueskyAgent(auth) for session management
  3. User-Friendly Inputs: Dynamic post selection dropdowns instead of manual URL entry
  4. Type Safety: Proper TypeScript types with auth as BlueSkyAuthType

Pattern to Follow:

const agent = await createBlueskyAgent(auth);
const response = await agent.sdkMethod();

Remaining Actions:

  • Repost Post: Use agent.repost(uri, cid)
  • Find Post: Use agent.getPosts({ uris })
  • Find Thread: Use agent.getPostThread({ uri })
  • Triggers: Use agent.getTimeline(), agent.getAuthorFeed(), etc.

Please observe the SDK patterns in create-post.ts and like-post.ts for consistency.

@Sanket6652
Copy link
Copy Markdown
Contributor Author

@onyedikachi-david Thanks for the refactor and clear pointers. I’ll align the remaining actions with the new SDK patterns.

@Sanket6652
Copy link
Copy Markdown
Contributor Author

Sanket6652 commented Jul 31, 2025

@onyedikachi-david, kindly review the refactored code.

@onyedikachi-david
Copy link
Copy Markdown
Collaborator

Update the demo video, lets be sure everything still works @Sanket6652

@Sanket6652
Copy link
Copy Markdown
Contributor Author

Sanket6652 commented Aug 2, 2025

@onyedikachi-david
Please check
demo:

2025-08-02.08-49-01.mp4

* upstream/main: (286 commits)
  feat(redis): add 'platform-usage-report' to deprecated jobs list in removeDeprecatedJobs function
  chore(dimo): update piece version to 0.1.6
  Update action.ts to use telemetryApiDateInputPropsWithoutInterval instead
  fix: update type definitions for folder response and adjust parameter formatting
  feat(managed-authn): add projectDisplayName to externalPrincipal
  docs: update .all-contributorsrc [skip ci]
  docs: update README.md [skip ci]
  fix(amazon-s3): add list file input type
  fix(twitter): fix mimetype of file
  fix(trello): update comment
  fix(trello): add test data
  fix: enhance logging structure in flowRunSideEffects
  feat: add getEvents action to retrieve vehicle events over a specific time period
  fix: lint errors
  fix: add windsurf and fix spacing
  fix: enhance claude instructions in mcp connect
  feat: add new action list-files in amazon-s3
  refactor: extract piece version and archive id
  fix: remove duplicate v1 from proxy request
  chore: remove issue linking validation workflow
  ...
@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented Aug 3, 2025

🤖 Nx Cloud AI Fix Eligible

An automatically generated fix could have helped fix failing tasks for this run, but Self-healing CI is disabled for this workspace. Visit workspace settings to enable it and get automatic fixes in future runs.

Don't show these notices


View your CI Pipeline Execution ↗ for commit 4647e7e

Command Status Duration Result
nx run server-api:test-cloud ❌ Failed 4s View ↗
nx run server-api:test-ce ❌ Failed 4s View ↗
nx run-many --target=test --projects=engine,sha... ✅ Succeeded 24s View ↗
nx run server-api:test-ee ✅ Succeeded 4s View ↗
nx run-many --target=build -c production --proj... ✅ Succeeded 14s View ↗
nx affected --target=build -c production --excl... ✅ Succeeded 1m 23s View ↗
nx run-many --target=lint --projects=pieces-blu... ✅ Succeeded 3s View ↗
nx affected --target=lint --exclude=pieces-* --... ✅ Succeeded 1m 6s View ↗

☁️ Nx Cloud last updated this comment at 2025-08-03 06:22:34 UTC

@onyedikachi-david onyedikachi-david merged commit 5705202 into activepieces:main Aug 3, 2025
9 checks passed
@Sanket6652 Sanket6652 deleted the feat/bluesky branch August 3, 2025 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MCP] Bluesky

3 participants