-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
Issue Description
When launching the built opcode application, users encounter a "Credit balance is too low" error despite having an active Claude Code CLI subscription.
Expected Behavior
opcode should work seamlessly with Claude Code CLI subscription, as mentioned in the README:
- opcode is described as "A powerful GUI app and Toolkit for Claude Code"
- Prerequisites clearly state "Claude Code CLI: Install from Claude's official site"
- Should leverage existing Claude Code CLI authentication
Actual Behavior
Credit balance is too low
Tokens: 0 in, 0 out
Execution Failed
Credit balance is too low
Cost: $0.0000 USD
Duration: 0.88s
Turns: 1
Total tokens: 0(0 in, 0 out)
Environment
- Platform: macOS (Apple Silicon)
- Claude Code CLI: Installed and working with active subscription
- opcode version: v0.2.1 (built from source)
- Build method:
bun run tauri build
Steps to Reproduce
- Have an active Claude Code CLI subscription (confirmed working in terminal)
- Build opcode from source using
bun run tauri build - Launch the built application:
open /path/to/opcode.app - Attempt to use any Claude functionality
- Error appears immediately
Additional Context
- Claude Code CLI works perfectly in terminal with the same subscription
- No API key should be required according to the project description
- This appears to be an authentication/integration issue between opcode and Claude Code CLI
Possible Causes
- opcode might not be properly detecting/using Claude Code CLI authentication
- The application might be attempting direct API calls instead of using Claude Code CLI
- Authentication token/session sharing between CLI and GUI might be broken
Request
Please investigate the authentication flow between opcode and Claude Code CLI to ensure subscription users can use the GUI without requiring separate API credits.
Metadata
Metadata
Assignees
Labels
No labels