Commit Graph
38 Commits
Author SHA1 Message Date
decolua 0a28f9f924 feat: Add OpenAI-compatible provider nodes
- Support multiple OpenAI-compatible providers with custom prefix/baseUrl
- Add provider nodes CRUD (create/read/update/delete)
- URL building: baseUrl + /chat/completions or /responses
- Model import from /models endpoint
- API key validation via /models
- Usage type safety across all translators
- OAuth token auto-refresh for expired tokens
2026-02-02 19:45:12 +07:00
decolua 1b14c9d66b Update database file path in ProfilePage component 2026-02-02 18:07:41 +07:00
decolua 686585d576 - Added functionality to check token expiration and key valid 2026-02-02 10:57:19 +07:00
decolua 1c6dd6df9a feat(codex): Cursor compatibility + Next.js 16 proxy migration 2026-02-02 09:37:30 +07:00
decolua 7b864a9dcb feat(codex): Cursor compatibility + Next.js 16 proxy migration
- Force streaming for Codex/OpenAI models to fix non-streaming bug
- Strip unsupported params (user, metadata, stream_options, prompt_cache_retention)
- Force response translation from openai-responses to openai format
- Migrate middleware.js to proxy.js for Next.js 16
- Use webpack explicitly in dev/build scripts
- Updated Codex User-Agent
2026-02-02 09:17:15 +07:00
decolua 8897df5036 Enhance layout 2026-01-31 12:58:04 +07:00
decolua 8c37b39eed Fix antigravity 2026-01-31 09:58:20 +07:00
decolua 85b7bb9319 Kiro Fix 2026-01-27 11:37:44 +07:00
decolua 31cc79ab23 - Updated Kiro OAuth configuration 2026-01-27 11:35:28 +07:00
decolua 79342c0c3e ok 2026-01-27 10:49:16 +07:00
decolua a01526642c Fix bug select model 2026-01-21 11:45:19 +07:00
apeltekciandClaude Opus 4.5 7058b062e7 fix: resolve SonarQube findings and Next.js Image warnings
SonarQube/SonarLint fixes:
- Remove unused imports (useMemo, PROVIDER_ENDPOINTS, updateSettings, APP_CONFIG)
- Add PropTypes validation to all components receiving props
- Fix accessibility issues (semantic buttons, ARIA attributes, form labels)
- Replace array index keys with stable identifiers
- Extract duplicate getStatusDisplay function in providers page
- Fix negated conditions for better readability
- Add node: prefix to Node.js imports in localDb.js
- Fix optional chaining in pricing lookup
- Add explanatory comments to empty catch blocks
- Consolidate duplicate OAuth flow branches
- Change parseInt to Number.parseInt
- Disable false positive rules in VS Code settings

Next.js Image fixes:
- Add style={{ width: "auto", height: "auto" }} to all Image components
- Resolves aspect ratio warnings without triggering lint issues

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 13:31:36 +07:00
decolua d9b8e48725 feat: OpenAI compatibility improvements & build fixes
- Fix hydration mismatches and initialization errors
- Add /v1/models endpoint for OpenAI clients
- Add Codex response translator (Responses → OpenAI)
- Fix circular dependencies and PropTypes
- Add Material Symbols font and CSS fixes
- Update README with deployment guide

Co-merged from PR #18 (14/15 commits, skipped debug)
2026-01-20 13:16:34 +07:00
apeltekci 0848dd5d13 chore: fix build warnings, add deployment config, and cleanup lint errors
- Fix React Hook dependencies and Image optimization warnings
- Add DATA_DIR and INITIAL_PASSWORD env var support
- Fix Tailwind v4 legacy syntax and suppress CSS directives warnings
- Add PropTypes and remove unused variables
2026-01-20 12:58:51 +07:00
decolua e6ca119f5e Fix combo fallback 2026-01-19 23:01:39 +07:00
decolua 3804357aba Added Usage page. 2026-01-19 10:39:30 +07:00
decolua 6b22b1f490 Fix Kiro token refresh logic 2026-01-16 12:39:03 +07:00
decolua 26b61e5fbb Feat Kiro OAuth, Fix Codex 2026-01-15 18:29:47 +07:00
decolua c208f244ee Enhance chat handling. 2026-01-14 15:42:38 +07:00
decolua c39eca6d4e Fix Combo 2026-01-14 14:55:47 +07:00
decolua f46ff42cb3 refactor: streamline provider interactions and enhance error handling 2026-01-11 21:45:01 +07:00
Catalin Stanciu f302c88dfb feat(ui): add cost tracking to usage dashboard and pricing settings
- Add toggle view (Tokens/Costs) to UsageStats component
- Display cost breakdown in usage tables
- Add Total Cost card combined with Total Output Tokens
- Create PricingModal component for editing rates
- Create Pricing Settings page

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:49:59 +07:00
Catalin Stanciu a36afaa85e feat(usage): implement cost tracking backend and pricing configuration
- Add pricing constants with default rates for all providers
- Update localDb to support pricing configuration schema
- Add cost calculation logic to usageDb
- Add pricing management API endpoints
- Fix provider alias mapping for accurate cost lookups

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:48:42 +07:00
Catalin StanciuandClaude Sonnet 4.5 3ad2f8dc58 fix: prevent race conditions in sticky round-robin
Adds a mutex to serialize account selection and updates in the
proxy engine. This ensures that concurrent requests respect the
sticky limit and don't distribute to the same account simultaneously.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:46:52 +07:00
Catalin StanciuandClaude Sonnet 4.5 4f292aae63 feat: add sticky round-robin routing strategy
Implements a "sticky" round-robin strategy that uses the same provider
account for a configurable number of consecutive calls (default 3)
before switching to the next one. This optimizes for prompt caching
by reducing organization/account rotation. Adds a configuration input
to the Profile settings page.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:45:32 +07:00
Catalin Stanciu f2abcc6585 feat: implement provider connection reordering on create, update, and delete 2026-01-09 17:42:53 +07:00
Catalin StanciuandClaude Sonnet 4.5 ed796d2724 feat: add enable/disable toggle for provider connections
Implements an isActive toggle in the ProviderDetailPage that allows users
to enable or disable specific provider connections. Updates the UI to
provide visual feedback for disabled connections.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:41:30 +07:00
decolua e4769070b3 feat: add request logging functionality and usage metrics display 2026-01-09 17:40:59 +07:00
Catalin Stanciu e4f92cd104 feat: implement request tracking and enhance usage stats display 2026-01-09 17:37:10 +07:00
Catalin Stanciu 7f71916f9e fix: improve code formatting and reduce auto-refresh interval 2026-01-09 17:35:28 +07:00
decolua 23cfb19459 feat: add password change functionality and dependencies 2026-01-09 17:29:11 +07:00
Catalin Stanciu bf6e09bb6f feat: enhance usage stats with sortable columns and improved data handling 2026-01-09 17:26:50 +07:00
Catalin StanciuandClaude Sonnet 4.5 9ebd7d3062 feat: add round-robin routing strategy
Implements a round-robin (least recently used) account selection strategy
alongside the existing fill-first priority system. Adds a toggle in the
Profile dashboard to switch between strategies.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:25:28 +07:00
Catalin StanciuandClaude Sonnet 4.5 9c3d6f4ad8 feat: implement usage tracking for AI requests
Adds local token usage tracking for all AI providers. Usage data is
captured during stream processing and stored in a local database.
Includes a new Usage tab in the Providers dashboard to visualize
historical token consumption.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:23:28 +07:00
decolua 18533505ef refactor: restructure translator from from-openai/to-openai to request/response folders 2026-01-09 17:14:51 +07:00
decolua 23181afb63 ReadMe 2026-01-05 15:55:56 +07:00
decolua eb4c7093a4 Redirect to /dashboard 2026-01-05 11:07:43 +07:00
decolua 3857598de4 Initial commit 2026-01-05 09:58:59 +07:00