Skip to content

Conversation

MariaChrysafis
Copy link

Refactor: migrate from yukifoo to Exafunction organization

Summary

Migrates the Claude Code Go SDK from the personal yukifoo GitHub organization to the official Exafunction organization. This includes updating module paths, import statements, documentation, and fixing a compilation issue in the examples.

Key changes:

  • Updated module path from github.com/yukifoo/claude-code-sdk-gogithub.com/Exafunction/claude-code-sdk-go
  • Updated all import statements in example files
  • Updated README.md with new badge URLs and installation instructions
  • Updated LICENSE copyright attribution to Exafunction
  • Added replace directive in examples/go.mod for local development
  • Bug fix: Fixed field reference in quick_start.go from CostUSDTotalCostUSD (with proper pointer handling)

The API surface remains unchanged - this maintains full compatibility with the TypeScript SDK patterns and existing user code should work with a simple module path update.

Review & Testing Checklist for Human

  • Test examples compilation: Run cd examples && go build ./... to verify all examples compile with new module path
  • Verify field fix: Confirm that TotalCostUSD is the correct field name in ResultMessage struct (vs the old CostUSD reference)
  • Check installation: Test that go get github.com/Exafunction/claude-code-sdk-go works and verify badge URLs in README are functional

Notes

  • Examples use a local replace directive (replace github.com/Exafunction/claude-code-sdk-go => ../) which is standard for monorepo development
  • All tests pass and linting is clean with the new module path
  • One integration test is skipped (requires Claude CLI installation)

Session info: Requested by Maria Chrysafis (@MariaChrysafis)
Link to Devin run: https://app.devin.ai/sessions/3301ee8c02fd4f2984947e9007db276f

- Update module paths from github.com/yukifoo/claude-code-sdk-go to github.com/Exafunction/claude-code-sdk-go
- Update all import statements in examples
- Update documentation and badge URLs
- Update LICENSE copyright attribution
- Fix field reference in quick_start.go example (CostUSD -> TotalCostUSD)
- Maintain compatibility with TypeScript SDK API patterns

Co-Authored-By: Maria Chrysafis <[email protected]>
Copy link

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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