Skip to content

feat(social-openwork): add full working adapter with auth and tests#308

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
ericaai-cyber:feat/social-openwork-adapter
May 21, 2026
Merged

feat(social-openwork): add full working adapter with auth and tests#308
ralyodio merged 1 commit into
profullstack:masterfrom
ericaai-cyber:feat/social-openwork-adapter

Conversation

@ericaai-cyber

Copy link
Copy Markdown
Contributor

Summary

Full working adapter for openwork.bot with auth, job submission, and error handling.

Changes

  • Complete social adapter for openwork.bot platform
  • Authentication flow with API key management
  • Job extraction, submission, and status tracking
  • Error handling and retry logic
  • 135-line test suite covering auth, jobs, and edge cases

Testing

  • Tested against live openwork.bot API
  • All auth and job flows verified

…place

- Replace stub adapter with working implementation based on actual API docs
- Auth via Bearer token (OPENWORK_API_KEY from agent registration)
- connect() calls GET /api/agents/me to verify auth and get agent profile
- post() submits work to a job via POST /api/jobs/:id/submit
- Supports config.jobId or extracting job ID from title pattern
- Attaches links as artifacts ({type: 'url', url: ...})
- Attaches hashtags as description context
- Add comprehensive test suite: contract tests, connect, submit,
  jobId extraction, dry-run, error handling
- Update setup steps with real API registration flow
@ralyodio ralyodio merged commit b9b7d4f into profullstack:master May 21, 2026
4 checks passed
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.

2 participants