Commit Graph
100 Commits
Author SHA1 Message Date
CJACK f8effc5e84 feat: add option to prune old test run directories, keeping a configurable maximum number. 2026-02-17 02:57:21 +08:00
CJACK d3ac698129 docs: comprehensively update and expand project documentation across various guides for improved clarity and detail. 2026-02-17 02:50:11 +08:00
CJACK a19f281229 feat: reimplement Claude streaming to use full SSE events with thinking, tool calls, and stream management, and add related test cases. 2026-02-17 02:31:56 +08:00
CJACK 8cbb5a4262 feat: Introduce a new Go-based test suite runner with supporting scripts and documentation. 2026-02-17 02:03:41 +08:00
CJACK 416b9939fc Refactor admin handlers into specialized files and introduce OpenAI tool sieving and Vercel streaming capabilities. 2026-02-17 01:35:10 +08:00
CJACK eeccc967f5 feat: Improve tool detection by implementing a new content splitting strategy that identifies suspicious prefixes. 2026-02-17 01:02:21 +08:00
CJACK 555df63fbc feat: Implement tool call sieving and formatting for streaming responses in Node.js, add Go fallback for non-Vercel environments, and update Vercel configuration. 2026-02-17 00:26:34 +08:00
CJACK 770f5719d8 feat: implement stream lease management for Vercel hybrid streaming path to align occupancy duration with native Go streaming behavior. 2026-02-16 23:22:04 +08:00
CJACK eb470c33ba feat: Add Vercel deployment protection bypass support, enhance related error handling, and update documentation. 2026-02-16 22:06:41 +08:00
CJACK d70a0acaa8 feat: Introduce hybrid streaming for Vercel deployments using a Go prepare endpoint and Node.js stream handler to mitigate buffering. 2026-02-16 21:56:01 +08:00
CJACK d668465734 fix(vercel): route admin static assets before api fallback 2026-02-16 20:50:32 +08:00
CJACK 3cf207bcbb fix: Set Vercel output directory to static/admin and update deployment documentation to clarify this configuration. 2026-02-16 20:38:31 +08:00
CJACK a6a87853d4 feat: Implement a waiting queue for account acquisition with configurable limits and updated status reporting. 2026-02-16 20:30:21 +08:00
CJACK 888a0e6bff refactor: update web UI asset serving and embedding mechanism. 2026-02-16 19:58:33 +08:00
CJACK 190881f13a refactor: introduce a public app package to expose the internal/server router, resolving internal package import restrictions. 2026-02-16 19:11:55 +08:00
CJACK f82a7e3e3c fix: embed admin webui and wasm for serverless runtime 2026-02-16 18:56:11 +08:00
CJACK 057862f7fb fix: harden webui path and account pool compatibility 2026-02-16 18:30:27 +08:00
CJACK 844832f31b fix: use valid vercel includeFiles glob 2026-02-16 18:17:16 +08:00
CJACK a32154f881 fix: ship webui assets in vercel go deployment 2026-02-16 18:16:08 +08:00
CJACK 056c50676f fix: embed admin webui for serverless runtime 2026-02-16 18:10:27 +08:00
CJACK 0913c477a6 fix: make vercel go entrypoint internal-safe 2026-02-16 18:04:12 +08:00
CJACK 63ee2e41c2 feat: implement strict-client compatible streaming tool calls with index and add Vercel build troubleshooting guide. 2026-02-16 17:58:40 +08:00
CJACK c7ed01bfe7 chore: Standardize Go version to 1.24 across Dockerfile, go.mod, GitHub Actions, and documentation. 2026-02-16 16:52:05 +08:00
CJACK dec61b8008 feat: Add GitHub Actions workflow for automated release artifact generation, update Vercel configuration, and document the release process. 2026-02-16 16:35:36 +08:00
CJACK ac57cabc80 feat: Intercept and format tool calls, including unknown ones, from model responses in the OpenAI adapter, preventing raw JSON leaks and improving stream finalization. 2026-02-16 16:24:21 +08:00
CJACK 6a6f380987 feat: implement per-account inflight request limits and dynamic recommended concurrency calculation. 2026-02-16 16:11:12 +08:00
CJACK c7ffcd76e6 feat: Enhance DeepSeek API compatibility by updating SSE parsing, standardizing error responses, and improving API key management in the tester UI. 2026-02-16 15:17:42 +08:00
CJACK 57f2041edb feat: enhance tool call parsing robustness, authentication flexibility, and streaming output for tool content 2026-02-16 01:24:52 +08:00
CJACK bd788a12b1 Remove the ds2api application and update deployment and contributing documentation. 2026-02-15 20:08:21 +08:00
CJACK a50e2ef5cd feat: Introduce a new Go-based DeepSeek API proxy with adapters for Claude and OpenAI, including SSE parsing and updated build configurations. 2026-02-15 19:50:26 +08:00
CJACK 35b99cdf4c feat: Add streaming mode toggle to API tester, enable X-Ds2-Target-Account header, and update API request logic. 2026-02-13 23:43:14 +08:00
CJACK 85ac0d95a4 feat: Display Vercel configuration sync status and last sync time, and clear API tester streaming output before new requests. 2026-02-13 23:11:15 +08:00
CJACK 648b80bb7b feat: Add support for parsing dictionary-based SSE fragments and prevent duplicate stream termination messages. 2026-02-13 22:44:39 +08:00
CJACK ee0b7f08a0 refactor: centralize account cleanup in API routes and refine login checkbox styling. 2026-02-13 22:30:55 +08:00
CJACK. d0b159fb8a Merge pull request #19 from ronghuaxueleng/main
feat: 账号管理界面优化
2026-02-07 16:32:20 +08:00
CJACK. 6a536c5c27 Merge pull request #17 from CJackHwang/codex/fix-syntax-error-in-serverless-function
Fix indentation in non-streaming SSE parsing
2026-02-06 03:02:20 +08:00
CJACK. ce73814583 Fix indentation in openai non-stream parser 2026-02-06 03:01:09 +08:00
CJACK. 792d458ce0 Merge pull request #15 from CJackHwang/codex/add-english-localization-support
feat: add bilingual docs and WebUI i18n toggle
2026-02-06 02:52:37 +08:00
CJACK. 392473722c fix: keep ApiTester i18n effect in component 2026-02-06 02:48:05 +08:00
CJACK. baca42280f Merge pull request #16 from CJackHwang/codex/analyze-non-streaming-model-output
Unify non-stream parsing with SSE parser
2026-02-06 02:47:28 +08:00
CJACK. ba96554cc1 Unify non-stream parsing with SSE parser 2026-02-06 02:45:36 +08:00
CJACK. 015ec6eb3c feat: add i18n language toggle and bilingual docs 2026-02-06 02:36:49 +08:00
CJACK. 9626d6ccbd Update README.MD 2026-02-04 20:26:08 +08:00
CJACK. aa032540dc Merge pull request #11 from CJackHwang/codex/fix-vercel-deployment-adapt-issue-ota5s1
Stop committing WebUI build artifacts; add Vercel build + cache headers; remove committed static/admin files
2026-02-04 20:21:34 +08:00
CJACK. b6062fdb0b Merge pull request #14 from CJackHwang/codex/update-vercel.json-build-configurations
Remove deprecated Vercel builds config
2026-02-04 20:19:17 +08:00
CJACK. fda5f9339e Remove deprecated Vercel builds config 2026-02-04 20:17:51 +08:00
CJACK. 86ade10888 Fail build if WebUI output missing 2026-02-04 19:53:05 +08:00
CJACK. 063c5d2540 Build WebUI in Docker image 2026-02-04 19:40:34 +08:00
CJACK. 4e62292500 Merge pull request #12 from CJackHwang/revert-8-codex/fix-vercel-deployment-adapt-issue
Revert "Build WebUI during Vercel deployment and enforce Cache-Control for admin UI"
2026-02-04 18:25:43 +08:00
CJACK. 58d54adee2 Revert "Build WebUI during Vercel deployment and enforce Cache-Control for admin UI" 2026-02-04 18:25:04 +08:00
CJACK. 8ca5581171 Remove committed WebUI build artifacts 2026-02-04 18:05:57 +08:00
CJACK. 2007e0cde3 Merge pull request #8 from CJackHwang/codex/fix-vercel-deployment-adapt-issue
Build WebUI during Vercel deployment and enforce Cache-Control for admin UI
2026-02-04 14:25:41 +08:00
CJACK. 51f8d3c09f Clarify WebUI build ownership in docs 2026-02-04 14:19:27 +08:00
CJACK. 94238070d8 Update accounts module description 2026-02-04 14:12:42 +08:00
CJACK. a917e19e9d Fix Vercel config routing properties 2026-02-04 14:00:19 +08:00
CJACK. f65cf0c510 Build webui during Vercel deployment 2026-02-04 13:57:34 +08:00
CJACK. 16ea6b7a5a Merge pull request #7 from CJackHwang/codex/review-pr-for-docker-compatibility
Improve dev Docker reload, account token/session handling, and Vercel sync
2026-02-04 13:35:34 +08:00
CJACK. d67b64633b Fix docker dev reload and token sync 2026-02-04 13:25:43 +08:00
CJACK. a1b3f122a7 Merge pull request #6 from CJackHwang/cto-task-goal-ds2api-docker-docker-exploration-findings-files-examine
Add decoupled Docker support for ds2api
2026-02-04 01:10:54 +08:00
CJACK. 06ae417dad Update README.MD
更新webui展示图片
2026-02-03 13:31:49 +08:00
CJACK. 28b70ca26c Update README.MD 2026-02-03 13:31:04 +08:00
CJACK ee2dac28bd chore: remove debug logs 2026-02-01 21:47:23 +08:00
CJACK db28b4e93e fix: simplify vercel.json and add debug logs for static file issues 2026-02-01 21:41:05 +08:00
CJACK 092532c625 feat: Add Vercel static builder and routes to serve admin assets. 2026-02-01 21:24:53 +08:00
CJACK 1a842c28d1 feat: Establish WebUI build process, update frontend assets, and add CI workflow. 2026-02-01 21:17:19 +08:00
CJACK. ce0538fcd9 Merge pull request #4 from ronghuaxueleng/main
feat(webui): 添加 API 密钥自动生成和复制功能
2026-02-01 21:07:20 +08:00
CJACK 951c47f8c5 docs: Update copyright year to 2026 and generalize a feature description. 2026-02-01 20:41:46 +08:00
CJACK 21f9fe198a docs: Update configuration examples, API documentation, and add a deployment guide. 2026-02-01 20:09:07 +08:00
CJACK 74800184b1 fix: Rebuild WebUI with correct base path /admin/ 2026-02-01 19:48:27 +08:00
CJACK 3b1eac7833 feat: Implement a new, modern landing page with dynamic styling and feature highlights. 2026-02-01 19:43:40 +08:00
CJACK 2dfe6f1d90 1 2026-02-01 18:15:40 +08:00
CJACK 6e4bbe8f1e feat: Add new static admin UI, including its assets and Vercel deployment configuration. 2026-02-01 18:09:32 +08:00
CJACK fe21523816 chore: Update Vercel configuration to use installCommand for Python dependencies and remove static admin build. 2026-02-01 18:01:26 +08:00
CJACK 5209deef68 feat: Add comprehensive meta tags and a custom favicon to the web UI, and embed a new styled welcome page directly in home.py. 2026-02-01 16:50:36 +08:00
CJACK b17e492ab8 feat: Integrate and serve the WebUI, including Vercel build configuration and Python routes for static files. 2026-02-01 16:43:52 +08:00
CJACK 9956770cb0 1 2026-02-01 16:08:56 +08:00
CJACK dbae110d2b feat: Implement OpenAI-compatible tool calling by injecting tool prompts and parsing tool calls from model responses. 2026-02-01 16:05:10 +08:00
CJACK 1cf52502bb refactor: Consolidate SSE and stream parsing logic into sse_parser.py, remove stream_parser.py, and update WebUI panel text. 2026-02-01 15:37:01 +08:00
CJACK e990517970 refactor: Extract DeepSeek SSE parsing logic to sse_parser module and centralize stream constants. 2026-02-01 15:24:36 +08:00
CJACK 2295007438 refactor: centralize and enhance DeepSeek SSE chunk parsing and content type determination. 2026-02-01 15:14:05 +08:00
CJACK 0dc83912bc feat: Localize UI strings to Chinese and add new API documentation. 2026-02-01 07:09:07 +08:00
CJACK ef11d9cf13 feat: Implement a modern flat theme with updated UI components and styling. 2026-02-01 06:14:49 +08:00
CJACK 842a942a55 feat: implement responsive collapsible configuration panel in API Tester and refine account manager component styling. 2026-02-01 05:44:55 +08:00
CJACK 880ab34739 feat: Translate UI texts and messages to Chinese across various components. 2026-02-01 05:37:39 +08:00
CJACK 1f6043ff70 refactor: migrate UI to Tailwind CSS for a modernized design system. 2026-02-01 05:33:50 +08:00
CJACK 1d1361616b 1 2026-02-01 04:57:55 +08:00
CJACK 977aa22e14 feat: Refactor stream parsing to accurately distinguish thinking and response content based on DeepSeek stream formats and add comprehensive unit tests for various chunk types. 2026-02-01 04:57:14 +08:00
CJACK fc2175474b feat: Implement DeepSeek V3 streaming response parsing to differentiate thinking and text content, and update Safari impersonation. 2026-02-01 04:25:24 +08:00
CJACK 70cd51309f feat: Implement admin routes for DeepSeek account validation and API testing, refactoring admin functionality into a package. 2026-02-01 04:02:47 +08:00
CJACK 31ca94204e feat: Enhance test_account_api to optionally send actual messages and parse streaming AI responses, including PoW challenge/answer, or only test session creation. 2026-02-01 03:58:46 +08:00
CJACK b90901d5a0 feat: add stream parsing for DeepSeek SSE responses, centralize model management, and refactor tool call handling. 2026-02-01 03:53:01 +08:00
CJACK 4193336dd8 feat: Implement user authentication for the admin web UI, including login, session management, and securing API calls. 2026-02-01 03:40:25 +08:00
CJACK 23bd4970d9 feat: Add token preview and batch progress to admin account management, and expand API tests for admin endpoints. 2026-02-01 03:31:01 +08:00
CJACK a6d89876ba feat: Enhance API testing to allow sending actual chat messages to specific accounts and display AI replies. 2026-02-01 03:19:25 +08:00
CJACK 5ac472626e feat: Implement DeepSeek account validation, testing, and queue status monitoring with corresponding admin API endpoints. 2026-02-01 03:10:26 +08:00
CJACK bc260899c1 feat: Initialize project with FastAPI backend, React web UI, Vercel sync, and API integrations. 2026-02-01 02:17:01 +08:00
CJACK. fc7de77151 Merge pull request #3 from CJackHwang/revert-2-cto-task-app-py-1985-ds2api-app-py-fastapi-100-config-py-50-models-sc
Revert "模块化重构 ds2api:拆分 app.py 为多模块并引入 PoW 缓存与连接复用"
2026-01-25 03:38:18 +08:00
CJACK. e3dfd0e551 Revert "模块化重构 ds2api:拆分 app.py 为多模块并引入 PoW 缓存与连接复用" 2026-01-25 03:37:52 +08:00
CJACK. 9f51d526fd Merge pull request #2 from CJackHwang/cto-task-app-py-1985-ds2api-app-py-fastapi-100-config-py-50-models-sc
模块化重构 ds2api:拆分 app.py 为多模块并引入 PoW 缓存与连接复用
2026-01-25 03:05:58 +08:00
CJACK. 266c050faa Delete CHANGELOG.md 2026-01-24 03:09:11 +08:00