746 Commits
Author SHA1 Message Date
omar ec598144d1 chore: english-ize remaining config/UI text and scrub Vercel leftovers
Build and Publish Image / build (push) Successful in 1m27s
Translate the index.html metadata, .dockerignore, docker-compose comments and
config.example.json comment to English, and restore placeholder credentials in
the example config. Fix the renamed SSE-doc link and TESTING anchor. Drop the
stale Vercel sync hint from the settings page and locales.
2026-06-02 22:38:10 +03:00
omar af4d59d3f3 chore: remove Vercel sync feature (UI, admin API, entrypoint)
Drop the Vercel Sync admin page and its backend (internal/httpapi/admin/vercel,
webui/src/features/vercel), unregister its routes, remove the nav item and
locale keys, and delete the Vercel Go entrypoint api/index.go. Deployment is
docker-image only.

The inert internal stream-prepare plumbing (chat/vercel_stream.go and the
__stream_prepare branches) is left in place; it never executes without the
Vercel Node bridge and removing it would touch concurrency-sensitive lease
code in the core streaming handlers.
2026-06-02 22:33:47 +03:00
omar bde9d59fe4 chore: remove Node launcher and non-Gitea deploy configs
Drop start.mjs, vercel.json, zeabur.yaml, the Vercel Node entrypoint
api/chat-stream.js, and the GitHub-only publish/release workflows (ghcr,
dockerhub, release, release-artifacts). Deployment is docker-image only,
hosted on Gitea.
2026-06-02 22:28:39 +03:00
omar 0932e16178 docs: drop internal upstream fork-monitoring notes
Remove upstream-forks.md and upstream-hefengfan0615-evaluation.md (the
original maintainer's fork-tracking notes, irrelevant to this deployment)
and their references in the docs index and contributing guide.
2026-06-02 22:23:33 +03:00
omar 80133be476 docs: translate DeepSeek SSE behavior note and raw-sample README to English 2026-06-02 22:22:13 +03:00
omar 0d3bcd4501 docs: translate developer reference docs to English
Translate TESTING, toolcall-semantics and prompt-compatibility to English.
Keep DeepSeek role-marker tokens verbatim and fix the SSE note link to its
renamed ASCII path.
2026-06-02 22:20:10 +03:00
omar c01b8defb3 docs: translate issue/PR templates, docs index and pow README to English
Translate the GitHub bug/feature issue forms and PR template, the docs
index, and pow/README to English. Rename the reverse-engineering note file
to an ASCII name (deepseek-sse-behavior-2026-04-05.md); its body is
translated in a follow-up.
2026-06-02 22:17:26 +03:00
omar f64ef4c733 docs: make English docs canonical, drop bilingual Chinese variants
Replace the Chinese README/API/ARCHITECTURE/CONTRIBUTING/DEPLOY with their
English versions and remove the now-redundant .en.md files. Strip the
language switchers and rewrite all .en.md links to the canonical .md paths;
update the release artifact list accordingly.
2026-06-02 22:14:30 +03:00
omar f2ae74425f webui: replace Chinese locale with Russian, default to English
Remove the zh localization entirely and add a full ru.json translation.
Default language is now English; the toggle switches English <-> Russian.
Browser/locale detection and date formatting updated from zh to ru.
2026-06-02 22:06:34 +03:00
omar 7b58a1525a ci: use PAT (REGISTRY_TOKEN) for Gitea registry login
Build and Publish Image / build (push) Successful in 1m31s
The automatic GITEA_TOKEN lacks package:write, so login returned 401.
Authenticate with a personal access token secret instead.
2026-06-02 21:48:21 +03:00
omar af0c8cf8dd compose: pull image from Gitea registry by default
Build and Publish Image / build (push) Failing after 15s
Default to git.qomar.pw/omar/ds2api:latest (built by CI), overridable via
DS2API_IMAGE. Drops the build key so server-side up pulls instead of
building; local source builds stay in docker-compose.dev.yml.
2026-06-02 21:42:13 +03:00
omar b023edc063 ci: add Gitea Actions workflow to build and publish multi-arch image
Build and Publish Image / build (push) Failing after 6m20s
Builds linux/amd64+arm64 from source and pushes to the built-in Gitea
container registry (git.qomar.pw/omar/ds2api) on push to main and tags.
Adds --platform=$BUILDPLATFORM to the node/go builder stages so arm64
cross-compiles on the amd64 runner instead of slow QEMU emulation.
2026-06-02 21:38:12 +03:00
highkay 8c0eed2214 feat: add account probes and mute scanning 2026-05-28 00:08:52 +08:00
highkay e50b4e1831 fix: penalize empty upstream 429 accounts 2026-05-26 13:50:36 +08:00
highkay e0bc9949b8 feat: attach hif leim header upstream 2026-05-25 12:12:43 +08:00
highkay 2b4e2afe9e docs: track upstream fork review refs 2026-05-18 16:56:49 +08:00
highkay 7359171a7f feat: add account health and ghcr publishing 2026-05-14 13:56:33 +08:00
highkay 3b92608108 docs: keep prompt compatibility XML-first for current backports 2026-04-27 18:49:45 +08:00
MiY d31d067492 fix: fallback tool calls from thinking on empty output 2026-04-27 18:49:29 +08:00
MiY 674ce5e000 fix: fallback claude non-stream tool calls from thinking 2026-04-27 18:49:28 +08:00
CJACK. 87e1b05e8e Merge pull request #313 from CJackHwang/dev
toolcall优化补丁
2026-04-26 09:53:54 +08:00
CJACK. f6df01d3aa Merge pull request #312 from CJackHwang/codex/docs-4x-architecture
Codex/docs 4x architecture
2026-04-26 09:49:49 +08:00
CJACK 0fb1bc6611 工具优化 2026-04-26 09:44:59 +08:00
CJACK 0bfddf7943 1 2026-04-26 09:17:40 +08:00
CJACK. 2adbdd069c Merge pull request #310 from CJackHwang/dev
others
2026-04-26 08:44:20 +08:00
CJACK 40b8182984 docs: update architecture diagrams for 4.x 2026-04-26 08:40:41 +08:00
CJACK 66c2944be2 docs: update architecture diagrams for 4.x 2026-04-26 08:40:00 +08:00
CJACK. 193351ac19 Merge pull request #308 from CJackHwang/dependabot/npm_and_yarn/webui/npm_and_yarn-754666cf41
chore(deps-dev): bump postcss from 8.5.8 to 8.5.10 in /webui in the npm_and_yarn group across 1 directory
2026-04-26 08:36:58 +08:00
dependabot[bot] a3b21c6b76 chore(deps-dev): bump postcss
Bumps the npm_and_yarn group with 1 update in the /webui directory: [postcss](https://github.com/postcss/postcss).


Updates `postcss` from 8.5.8 to 8.5.10
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.8...8.5.10)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.10
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-26 00:34:47 +00:00
CJACK. 573c717a5d Merge pull request #307 from CJackHwang/dev
[codex] 4.0.0 refactor first preview
2026-04-26 08:33:48 +08:00
CJACK 40c61949e8 align vercel stream finalization with go 2026-04-26 08:29:23 +08:00
CJACK 7bff2c1bab refactor(toolcall): 动态生成工具调用示例,基于实际可用工具名
- 将硬编码的工具示例名改为从请求实际声明的工具名中选取
- 按类别(读取/写入执行/交互/嵌套)智能匹配示例工具
- 执行类工具脚本内容使用正确的参数名(command/cmd),避免误用文件写入参数
- 当工具不足时自动省略对应的示例段落,避免把不可用工具名写入 prompt
- 同步更新 prompt-compatibility.md 文档说明
2026-04-26 07:54:01 +08:00
CJACK 4c83f36089 强制启用文件拆分(实际模型忽略) 2026-04-26 07:31:19 +08:00
CJACK abc96a37d8 refactor backend API structure 2026-04-26 06:58:20 +08:00
CJACK 8a91fef6ab update doc 2026-04-26 04:58:35 +08:00
CJACK df61f06d9a 归一化优化 2026-04-26 04:44:55 +08:00
CJACK 7475defeca fix: align tool call protocol and thinking controls 2026-04-26 04:26:51 +08:00
CJACK f13ad231ac 全局统一映射 2026-04-26 01:58:15 +08:00
CJACK 1b0e8cbadb Tighten XML tool call parsing and upstream empty handling 2026-04-26 01:17:16 +08:00
CJACK a44afb335a Relax CORS preflight handling across interfaces 2026-04-26 00:37:25 +08:00
CJACK f1ba805173 fix: fully mask web secret previews 2026-04-26 00:10:59 +08:00
CJACK 131ca7d398 feat: revamp DeepSeek v4 model handling
- replace legacy DeepSeek ids with the new deepseek-v4 model family\n- move thinking control to request parameters and preserve assistant reasoning content\n- switch history split to IGNORE transcript injection and map upload auth failures to 401\n- update admin defaults, API docs, samples, and tests for the new model scheme
2026-04-26 00:02:14 +08:00
CJACK. ed9efc5858 Merge pull request #303 from Topkill/main
fix(webui): 替换uuid依赖,解决http环境下无法生成密钥的问题。
2026-04-25 20:31:41 +08:00
CJACK. 603e309721 Merge pull request #299 from MuziIsabel/fix/strip-content-encoding-in-proxy-go
fix: strip content-encoding header in proxyToGo to prevent Brotli decode error
2026-04-25 20:31:28 +08:00
topkill c4cdce46c2 fix(webui): 替换uuid依赖,解决http环境下无法生成密钥的问题。
原生的`crypto.randomUUID()`只支持https和localhost的安全上下文环境。
2026-04-25 19:21:38 +08:00
MuziIsabel de9d128545 fix: strip content-encoding header in proxyToGo to prevent Brotli decode error
Node fetch auto-decompresses upstream responses, but proxy_go.js was
forwarding the original content-encoding header (e.g. br/gzip) to clients.
Clients then tried to decompress already-decompressed data and failed.
Filter out content-encoding alongside content-length.
2026-04-25 12:10:28 +08:00
CJACK. e4a4b0ac0b Merge pull request #290 from CJackHwang/dev
修复3.6.0docker构建问题
2026-04-23 20:35:18 +08:00
CJACK. 22e3f32c43 Merge pull request #289 from jacob-sheng/fix-webui-config-docker-build
Fix webui batch import template Docker build
2026-04-23 20:32:22 +08:00
阿钖 9a24b8dcc2 Fix webui config template Docker build 2026-04-23 12:28:01 +00:00
CJACK. 68ccbd3785 Merge pull request #287 from CJackHwang/main
Add Code of Conduct and improve security policy clarity
2026-04-23 19:43:17 +08:00