Commit graph

15 commits

Author SHA1 Message Date
Ammar Bandukwala
e7d360df88 1.2.1 2025-08-11 21:46:47 -05:00
Ammar Bandukwala
00dc34fcf6 Wire through token cache statistics 2025-08-11 21:46:31 -05:00
Ammar Bandukwala
fb2941a10f 1.2.0 2025-08-11 21:05:02 -05:00
Ammar Bandukwala
d48232522b
GPT-5 Improvements (#12)
- Fixed major bug where tool descriptions were never sent to the LLM (!!)
- A large variety of making server errors recoverable
- Thinking traces now appear for OpenAI models
2025-08-11 21:04:41 -05:00
Ammar Bandukwala
3fec97c7bf 1.1.0 2025-08-11 12:48:01 -05:00
Ammar Bandukwala
8962b98d51
Enable GPT-5 support (again) 2025-08-11 12:45:36 -05:00
Ammar Bandukwala
c64dbf87d0 Revert "OpenAI GPT-5 improvements (#9)"
This reverts commit f42e03937e.

I think this messed up some builds.
2025-08-10 15:53:02 -05:00
Ammar Bandukwala
f42e03937e
OpenAI GPT-5 improvements (#9)
A series of fixes for making GPT-5 reliable and effective with anyclaude.

## UX changes

- Converts opaque OpenAI service errors into 429s so CC natively retries instead of failing. These are very common.
- Rich debugging support via `ANYCLAUDE_DEBUG`
- Supports specifying reasoning effort and service tier 

## Codebase

- Added CI

## Remaining issues

- GPT-5 often fails to use the native tool calls. These failures seems intermittent.
2025-08-10 15:50:08 -05:00
Ammar Bandukwala
43894b0ac9 Fix max_tokens OpenAI compatibility 2025-08-10 11:46:25 -05:00
Thomas Kosiewski
4050bf66e5
Add repository guidelines and update AI SDK to v5 (#5)
# Update AI SDK to v5 and add repository guidelines

This PR updates the project to use AI SDK v5 and adds comprehensive repository guidelines. Key changes include:

1. Added `AGENTS.md` with detailed repository guidelines covering:
   - Project structure and organization
   - Build and development commands
   - Coding style conventions
   - Testing guidelines
   - Commit and PR best practices
   - Security considerations

2. Updated AI SDK dependencies:
   - Upgraded from v4 to v5 (`ai@5.0.8`)
   - Updated all provider packages to v2 series
   - Added explicit `zod` dependency with pinned version

3. Improved build script to:
   - Properly externalize dependencies
   - Add shebang line more reliably
   - Make output executable

4. Updated code to support AI SDK v5 API changes:
   - Migrated from `ProviderV1` to `ProviderV2` interfaces
   - Updated message conversion logic
   - Fixed stream handling for new event types
   - Made `signature` field optional in thinking content

5. Updated examples in documentation to reference newer models like `gpt-5-mini` instead of older models.

These changes ensure compatibility with the latest AI SDK while providing clear guidelines for contributors.
2025-08-08 16:51:31 +02:00
Thomas Kosiewski
56dc6d5fdb
Add repository guidelines and update AI SDK to v2
Change-Id: Ib00b7ee5f39911b58a15674bc50700267018cdbc
Signed-off-by: Thomas Kosiewski <tk@coder.com>
2025-08-08 14:51:19 +00:00
Thomas Kosiewski
fce40fa5f7
Add Nix development environment and Claude guidance file (#4)
# Add Nix development environment and Claude.ai integration

This PR adds support for Nix development environments and improves Claude.ai integration:

1. Added a `CLAUDE.md` file that provides guidance to Claude Code when working with this repository, including:
   - Project overview and architecture explanation
   - Development commands and testing instructions
   - Environment variable documentation

2. Added Nix development environment support:
   - Created `flake.nix` and `flake.lock` for reproducible development environments
   - Configured development shell with bun, nodejs, and code quality tools
   - Added treefmt integration for consistent code formatting

3. Updated `.gitignore` to exclude Nix-related files:
   - `.direnv`
   - `.envrc`
   - `.claude`

These changes make it easier for developers using Nix to contribute to the project and improve the experience when using Claude Code with this repository.
2025-08-08 16:50:38 +02:00
Thomas Kosiewski
46362efe73
Add Nix development environment and Claude guidance file
Change-Id: I4b3e2f0020409ee3f8b9e75633c901de94bd78d7
Signed-off-by: Thomas Kosiewski <tk@coder.com>
2025-08-08 15:10:26 +02:00
Kyle Carberry
8639be0766 Fix google provider support 2025-05-27 16:54:49 -04:00
Kyle Carberry
b0713a844c Initial commit 2025-05-27 15:57:58 -04:00