Commit graph

50 commits

Author SHA1 Message Date
decolua
95fd9508e8 fix: GitHub Copilot model 2026-02-05 22:26:14 +07:00
decolua
3c65e0c5f2 feat: Improve Antigravity quota monitoring and fix Droid CLI compatibility 2026-02-05 22:15:26 +07:00
decolua
32aefe5a76 feat(executors): Improved UI components for displaying provider limits and usage statistics in the dashboard. 2026-02-05 18:38:50 +07:00
decolua
0a026c7af6 feat(cursor): Add cursor Provider 2026-02-05 11:06:20 +07:00
decolua
abaeb22863 Merge branch 'pr-50' 2026-02-05 11:02:50 +07:00
triadmoko
137f315bec feat(cursor): Integrate Cursor IDE support with OAuth import token flow
- Add CursorExecutor for handling requests to the Cursor API using protobuf over HTTP/2.
- Implement CursorAuthModal for user token import from local SQLite database.
- Update provider models and constants to include Cursor as a supported provider.
- Enhance API service with token validation and user info extraction from Cursor tokens.
- Introduce utility functions for checksum generation and protobuf encoding/decoding for Cursor API interactions.
2026-02-04 12:07:29 +07:00
decolua
677cabc850 Merge branch 'pr-44' 2026-02-04 10:00:46 +07:00
decolua
e6e44ac364 Fix : usage convert 2026-02-04 09:54:11 +07:00
ramhaidar
da5bdef4cb feat: Add Anthropic Compatible provider support
- Added support for 'anthropic-compatible' provider nodes in backend.
- Implemented isAnthropicCompatible logic in open-sse for /messages URL construction and headers.
- Added UI for creating and managing Anthropic Compatible providers in the dashboard.
- Updated validation logic for Anthropic-compatible endpoints.
- Sanitize base URL input (strip trailing /messages) to prevent 404s and improve UX.
- Improve validation: use GET /models (2xx success), and support x-api-key / Authorization Bearer hybrid proxies.
- Enable model import via /models for Anthropic Compatible providers.
- Ensure Authorization is omitted when x-api-key is present to avoid strict proxy conflicts.
- Resolve Anthropic-compatible credentials by prefix during model resolution (e.g., acx/model).
- Update default executor to match provider header/url behavior for Anthropic-compatible providers.
2026-02-03 15:11:41 +07:00
decolua
7881db81ec feat: Implement buffer addition to usage tracking for improved context handling 2026-02-03 10:39:20 +07:00
decolua
df0e1d6485 feat: Update response handling and logging for improved usage tracking 2026-02-03 10:22:43 +07:00
decolua
a33924b336 feat: Enhance usage tracking across response handlers 2026-02-03 00:29:22 +07:00
decolua
fa06226972 fix: Correct indentation for clarity in chatCore and claude-to-openai response handlers 2026-02-02 19:47:09 +07:00
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
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
8c37b39eed Fix antigravity 2026-01-31 09:58:20 +07:00
decolua
f2ca6f0dc5 Add support for Kiro token refresh in tokenRefresh.js 2026-01-29 23:38:48 +07:00
decolua
63f2da87b0 Implement non-streaming response translation for multiple formats in chatCore.js 2026-01-29 23:38:30 +07:00
decolua
c7219d0ac9 Fix cloud 2026-01-29 18:07:28 +07:00
decolua
239377143e Fix antigravity 2026-01-28 16:21:12 +07:00
decolua
f1a7be3fee OK 2026-01-28 16:20:03 +07:00
decolua
79342c0c3e ok 2026-01-27 10:49:16 +07:00
decolua
d3dd8686fe Fix Kiro 2026-01-23 17:36:23 +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
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 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
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 2026-01-12 16:57:28 +07:00
decolua
fb5be37e14 Fix Antigravity 2026-01-12 16:53:27 +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
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
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
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