Commit Graph

49 Commits

Author SHA1 Message Date
apeltekci
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>
v0.2.36
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
0943387d24 Integrated proxy support 2026-01-20 12:09:14 +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
da15660681 Fix Kiro v0.2.31 2026-01-18 22:12:58 +07:00
decolua
2449d08885 ok 2026-01-18 18:54:52 +07:00
decolua
1d481c2862 Fix Kiro 2026-01-16 13:09:13 +07:00
decolua
6b22b1f490 Fix Kiro token refresh logic 2026-01-16 12:39:03 +07:00
decolua
eff52f75ae Fix kiro 2026-01-16 12:11:32 +07:00
decolua
0f28920bbc chore: bump version to 0.2.27
- Added Kiro Provider with generous free quota
- Fixed Codex Provider bugs
v0.2.27
2026-01-15 18:36:58 +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
f9ef718fc6 Fix Antigravity 2026-01-13 17:19:41 +07:00
decolua
e989796024 Fix Antigravity 2026-01-13 16:19:27 +07:00
decolua
ef49595866 Fix antigravity 2026-01-12 18:24:04 +07:00
decolua
509b68fb75 Fix Antigravity 2026-01-12 17:59:53 +07:00
decolua
5d092f3710 Remove debug v0.2.21 2026-01-12 16:57:28 +07:00
decolua
fb5be37e14 Fix Antigravity 2026-01-12 16:53:27 +07:00
decolua
87c8f7f229 Fix Antigravity 2026-01-12 16:53:15 +07:00
decolua
b0df5368ae Update ReadMe 2026-01-12 15:17:10 +07:00
decolua
11f8c2e540 update README.md 2026-01-12 15:13:50 +07:00
decolua
af5edfd00e Fix bug antigravity 2026-01-12 15:08:31 +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 Stanciu
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 Stanciu
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 Stanciu
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 Stanciu
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 Stanciu
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
5645d0a0fb fix(gemini): improve base64 image data parsing 2026-01-09 17:17:08 +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
b0e2eb2b4b Remove prepare-standalone.js script as it is no longer needed for the build process. 2026-01-05 11:04:44 +07:00
decolua
c9a7db74d5 Update README.md 2026-01-05 11:03:29 +07:00
decolua
0ea417a331 Update README.md to correct image path and reorder installation instructions for clarity 2026-01-05 11:00:32 +07:00
decolua
f0698eee9d Refactor error handling in chatCore.js and update formatProviderError function to include status code. This improves error message clarity by incorporating HTTP status codes in the formatted output. 2026-01-05 10:57:45 +07:00
decolua
e35421beb1 Update jsconfig.json and package.json to correct open-sse path references from relative to local directory. 2026-01-05 10:37:09 +07:00
decolua
3857598de4 Initial commit 2026-01-05 09:58:59 +07:00