Skip to content

Recovered work#114

Merged
eyaltoledano merged 4 commits into23.16-23.30from
recovered-work
Apr 8, 2025
Merged

Recovered work#114
eyaltoledano merged 4 commits into23.16-23.30from
recovered-work

Conversation

@eyaltoledano
Copy link
Owner

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Apr 8, 2025

⚠️ No Changeset found

Latest commit: f37ef2c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@eyaltoledano eyaltoledano merged commit 92dd98f into 23.16-23.30 Apr 8, 2025
tommy-ca added a commit to tommy-ca/claude-task-master that referenced this pull request Aug 10, 2025
…vements

- Updated to AI SDK v5.0.0-beta.34 (from v4.3.16)
- Enhanced provider implementation with better error handling
- Added comprehensive documentation and testing
- Verified OAuth token authentication with intelligent fallback

- Updated `ai` to v5.0.0-beta.34 (fixes previous integration issues)
- Maintained `ai-sdk-provider-claude-code@1.0.0-beta.1`
- Removed deprecated custom SDK implementation

- Added model support checking methods (`getSupportedModels`, `isModelSupported`)
- Enhanced error handling with more helpful CLI availability messages
- Improved JSDoc documentation with authentication details
- Added OAuth token authentication documentation

- Enhanced unit tests with model support verification
- Improved integration tests with better environment handling
- Updated test scripts with proper stream error handling
- Added comprehensive test coverage (18/18 tests passing)

- Complete integration guide with setup instructions
- OAuth token authentication with `claude setup-token` workflow
- Authentication priority order and fallback behavior
- Troubleshooting guide with verification steps
- Performance notes and best practices

- Intelligent authentication fallback (env var → CLI token → error)
- Works seamlessly with or without CLAUDE_CODE_OAUTH_TOKEN env var
- Robust OAuth token management via Claude Code CLI
- Verified production functionality in Task Master commands

- ✅ All unit and integration tests passing
- ✅ Live Task Master commands working (Tasks eyaltoledano#110, eyaltoledano#111, eyaltoledano#114 created)
- ✅ Both generateText and streamText functionality confirmed
- ✅ Research model (opus) and main model (sonnet) working correctly
- ✅ Authentication works with and without environment variables

None - maintains backward compatibility while enhancing functionality

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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