CJACK.
a8c160b05d
fix: parse DeepSeek accumulated_token_usage robustly and stabilize lint
2026-04-06 11:14:48 +08:00
CJACK.
89ca57122c
fix: migrate golangci config to v2 schema
2026-04-06 09:29:22 +08:00
CJACK
6b6ce3eea8
refactor: move toolcall utility files to internal/toolcall directory
2026-04-06 03:56:42 +08:00
CJACK
870144de17
ci: remove golangci-lint step from quality gates workflow
2026-04-06 03:53:03 +08:00
CJACK
1530246e4f
refactor: move tool call parsing and formatting logic to a dedicated internal/toolcall package
2026-04-06 03:19:18 +08:00
CJACK
2857a171cc
fix: reverse snapshot order to preserve capture sequence during stable sort
2026-04-06 02:51:06 +08:00
CJACK
1664349a29
docs: update documentation for raw stream test samples
2026-04-06 02:44:20 +08:00
CJACK
b105d54c00
feat: add admin endpoints for capturing, querying, and persisting raw upstream samples and increase default capture limits
2026-04-06 02:38:15 +08:00
CJACK
039d7d3db1
feat: implement raw sample capture querying and persistence, and add environment-based configuration for dev capture store.
2026-04-06 02:33:02 +08:00
CJACK
49012a227c
feat: implement trimContinuationOverlap utility to remove redundant stream prefixes and add associated tests.
2026-04-06 02:23:28 +08:00
CJACK
4d36afea4c
修复接续流的增量bug
2026-04-06 02:01:41 +08:00
CJACK
a608a4bd95
chore(webui): migrate vite to v8 toolchain
2026-04-06 00:28:36 +08:00
CJACK
d9eee5fd2d
docs: clarify server binding address and LAN accessibility in documentation and startup logs
2026-04-06 00:13:22 +08:00
CJACK
bac7345309
chore: remove unused file and associated references
2026-04-06 00:00:30 +08:00
CJACK
b699077b43
fix: make FINISHED status check case-insensitive in chat stream parsing
2026-04-05 23:56:19 +08:00
CJACK
49430123d8
fix: ignore INCOMPLETE status messages in SSE stream parsing to prevent stream interruption
2026-04-05 23:38:47 +08:00
CJACK
84813eca80
feat: support multi-round upstream captures in raw sample generation
2026-04-05 22:48:41 +08:00
CJACK
2a6b787f38
feat: implement mandatory DeepSeek turn termination markers for system, user, assistant, and tool roles
2026-04-05 21:48:18 +08:00
CJACK
a28c9fb67f
feat: implement comprehensive configuration validation and integrate into store loading and server initialization.
2026-04-05 21:18:51 +08:00
CJACK
585d35e592
refactor: standardize prompt markers and remove legacy EOS and system instructions tags
2026-04-05 20:50:12 +08:00
CJACK
dc912419c4
Revert "refactor: rename tool XML wrapper from tool_calls to tool_batch and add schema attention blocks to tool prompts"
...
This reverts commit ade648033d .
2026-04-05 20:08:04 +08:00
CJACK
ade648033d
refactor: rename tool XML wrapper from tool_calls to tool_batch and add schema attention blocks to tool prompts
2026-04-05 19:22:43 +08:00
CJACK
b8e9ca2028
refactor: stop stripping _raw and _xml fields from tool call inputs to preserve raw parameter data
2026-04-05 18:33:15 +08:00
CJACK
f2ad888de4
refactor: clean up config schema by removing legacy toolcall fields, standardizing auto_delete mode, and updating admin API documentation.
2026-04-05 18:16:31 +08:00
CJACK
e37ed38dc8
refactor: remove instruction regarding text-before-tool output in tool prompt documentation
2026-04-05 17:51:26 +08:00
CJACK
5d59775051
refactor: enforce strict XML-only output for tool calls and remove mixed-content instructions
2026-04-05 17:25:52 +08:00
CJACK
22efd8178b
refactor: clarify tool call XML placement and add strict rules against result fabrication and internal narration
2026-04-05 17:13:59 +08:00
CJACK
088a750338
feat: add strict schema enforcement and strip hallucinated fields from tool call parameters
2026-04-05 16:59:39 +08:00
CJACK
298a6f27cc
refactor: extract SSE parsing and Vercel stream logic into dedicated implementation modules
2026-04-05 16:32:13 +08:00
CJACK
1d80f644d4
refactor: remove legacy environment variable aliases for configuration and concurrency settings
2026-04-05 16:27:58 +08:00
CJACK
0b0cf60982
feat: propagate Proof-of-Work header to auto-continue requests and ensure remote session deletion ignores parent context cancellation
2026-04-05 14:33:09 +08:00
CJACK
32b9cbb61f
feat: implement automatic completion continuation for incomplete DeepSeek responses
2026-04-05 13:59:39 +08:00
CJACK
eff979d9ef
feat: enhance content filtering, token usage tracking, and stream error handling in chat-stream modules
2026-04-05 13:41:38 +08:00
CJACK
47dc121690
refactor: improve prompt construction by enforcing explicit newline boundaries between role markers and message content
2026-04-05 04:44:46 +08:00
CJACK
b94a16eca9
style: update AutoDeleteSection layout spacing and input styling
2026-04-05 04:37:16 +08:00
CJACK
97e72fb174
feat: add configurable auto-delete modes (none, single, all) for remote chat sessions
2026-04-05 04:18:34 +08:00
CJACK
f7261bec0d
docs: remove obsolete raw stream samples and update testing documentation
2026-04-05 03:07:10 +08:00
CJACK
0bebb4b28d
refactor: replace processed output comparison with baseline-based validation in SSE simulator
2026-04-05 01:34:06 +08:00
CJACK
93879c9808
feat: implement rawsample package for automated capture persistence and add admin handlers for sample management
2026-04-05 01:12:31 +08:00
CJACK
c9201174f6
feat: add compatibility setting to strip reference markers from model output and update stream handlers accordingly
2026-04-05 00:50:30 +08:00
CJACK
a6836455dc
feat: add support for stripping inline comments in .env files and make Docker host port configurable via DS2API_HOST_PORT
2026-04-04 22:30:57 +08:00
CJACK
eab197f4d9
chore: upgrade Go to 1.26.x and update project dependencies
2026-04-04 22:00:18 +08:00
CJACK.
c8b6dfc290
Merge pull request #213 from Kazakiri220/main
...
Load .env and config.json for local go runs
2026-04-04 21:44:36 +08:00
CJACK.
068f4b0df6
Merge pull request #211 from CJackHwang/dev
...
Merge pull request #209 from CJackHwang/codex/investigate-command-output-loss-issue
Preserve trailing newlines when stripping leaked CONTENT_FILTER and strengthen XML tool-call parsing
2026-04-04 02:20:39 +08:00
CJACK.
5a51045ba4
Merge pull request #212 from CJackHwang/codex/address-handling-of-upstream-vacuum-returns
...
fix: classify empty upstream output correctly and harden XML tool-name parsing
2026-04-04 02:20:01 +08:00
CJACK.
3497d5d019
fix: classify empty upstream and tighten xml tool-name parsing
2026-04-04 02:14:39 +08:00
CJACK.
95a9d16843
Merge pull request #209 from CJackHwang/codex/investigate-command-output-loss-issue
...
Preserve trailing newlines when stripping leaked CONTENT_FILTER and strengthen XML tool-call parsing
2026-04-04 01:53:39 +08:00
CJACK.
0847091864
fix: avoid taking generic <name> as xml tool name
2026-04-04 01:52:57 +08:00
CJACK.
c6340354ec
fix: keep execute_command args from xml parameters blocks
2026-04-04 01:42:31 +08:00
CJACK.
6bf08e00cd
Update VERSION
2026-04-03 23:38:34 +08:00
CJACK.
35221002d5
Merge pull request #207 from CJackHwang/codex/svg
...
Fix XML passthrough in tool sieve and return 429 on empty upstream output
2026-04-03 23:37:27 +08:00
CJACK.
4b1f1ea550
Preserve suffix after non-tool XML passthrough
2026-04-03 23:36:28 +08:00
CJACK.
0258f83d10
Fix XML passthrough and empty-upstream handling
2026-04-03 22:31:15 +08:00
CJACK.
da912f87bf
Merge pull request #205 from CJackHwang/dev
...
Merge pull request #204 from CJackHwang/codex/capture-raw-stream-data-with-search-model
Skip dynamic DeepSeek fragment status paths to avoid FINISHED leakage; add simulator, samples and tests
2026-04-03 13:08:19 +08:00
CJACK.
6b32d84222
Merge pull request #206 from CJackHwang/codex/fix-issues-from-pull-request-review
...
tests: generate JSON request body in capture-raw-stream-sample.sh and use --data-binary
2026-04-03 13:07:25 +08:00
CJACK.
e1df5c8636
Fail fast when capture request fails
2026-04-03 13:06:57 +08:00
CJACK.
f23382ff5f
Merge pull request #204 from CJackHwang/codex/capture-raw-stream-data-with-search-model
...
Skip dynamic DeepSeek fragment status paths to avoid FINISHED leakage; add simulator, samples and tests
2026-04-03 11:46:38 +08:00
CJACK.
fabdba48c3
Restrict Vercel Node stream path to OpenAI chat to avoid Gemini empty responses
2026-04-03 11:28:54 +08:00
CJACK.
a28e833f33
Promote raw stream replay into standalone simulator tool and add SSE field doc
2026-04-03 10:18:48 +08:00
CJACK.
ec1be468ca
Merge pull request #196 from CJackHwang/dev
...
Merge pull request #193 from CJackHwang/codex/analyze-context-absence-issue
Proxy Claude/Gemini via OpenAI with translation bridge and streaming translator; update deps
2026-04-03 02:19:41 +08:00
CJACK.
fe43f1e6ee
Merge pull request #201 from CJackHwang/codex/investigate-pull-request-issue-ws440p
...
Proxy Claude/Gemini adapters via OpenAI core, preserve model mapping, update README and tests
2026-04-03 02:01:19 +08:00
CJACK.
440d759584
Merge pull request #202 from CJackHwang/codex/update-project-configuration-for-version-upgrades
...
Bump Node and Go base images and add runtime baseline to Zeabur template
2026-04-03 02:00:17 +08:00
CJACK.
a6a9863fc3
Preserve upstream headers on Gemini proxy error responses
2026-04-03 01:59:35 +08:00
CJACK.
f787e25641
chore(deploy): drop Vercel node runtime pin and bump Docker node
2026-04-03 01:58:16 +08:00
CJACK.
5722f21cdd
Align docs and adapters with unified OpenAI proxy architecture
2026-04-03 01:49:33 +08:00
CJACK.
ca3c16c424
Merge pull request #199 from CJackHwang/codex/update-project-documentation-structure
...
docs: refresh architecture overview and project structure maps
2026-04-03 01:29:09 +08:00
CJACK.
8b86f1c903
docs: refresh architecture and project structure docs
2026-04-03 01:28:48 +08:00
CJACK.
b758ce9234
Merge pull request #198 from CJackHwang/codex/update-project-documentation-and-version-number-0jh1p4
...
Release 3.0.0: version bump and docs updating unified routing & adapter-layer
2026-04-03 01:17:59 +08:00
CJACK.
1cf28101d6
Merge branch 'dev' into codex/update-project-documentation-and-version-number-0jh1p4
2026-04-03 01:17:37 +08:00
CJACK.
c1bdb6776b
Merge pull request #197 from CJackHwang/codex/update-project-documentation-and-version-number
...
Docs: Bump to v3.0.0 and document unified adapter/router, health endpoints, and Go 1.26 requirement
2026-04-03 01:15:18 +08:00
CJACK.
47544fb385
docs: align architecture diagram and structure with current code
2026-04-03 01:14:01 +08:00
CJACK.
2a05c96f5f
docs: refresh architecture diagram and structure sections
2026-04-03 01:13:13 +08:00
CJACK.
cbc68f7e92
Merge pull request #193 from CJackHwang/codex/analyze-context-absence-issue
...
Proxy Claude/Gemini via OpenAI with translation bridge and streaming translator; update deps
2026-04-03 00:50:47 +08:00
CJACK.
5576043106
Merge pull request #194 from CJackHwang/codex/fix-keep-alive-frame-filtering-issue
...
Preserve SSE keep-alive, stop on CONTENT_FILTER status, and propagate upstream token usage
2026-04-03 00:49:31 +08:00
CJACK.
287e8d5a60
Merge pull request #195 from CJackHwang/codex/fix-pull-request-review-issues
...
Hide upstream content-filter text in SSE streams, preserve token usage, and tighten filter detection
2026-04-03 00:48:45 +08:00
CJACK.
8a2c500806
treat content filter as normal stop and hide leaked suffix
2026-04-03 00:47:11 +08:00
CJACK.
e958bf7e40
Fix SSE keep-alive passthrough, content-filter stop, and usage token propagation
2026-04-02 23:58:36 +08:00
CJACK.
443fa4ad8e
fix: handle vercel prepare/release passthrough in translated proxy paths
2026-04-02 22:28:36 +08:00
CJACK.
2d62c658f8
Merge pull request #183 from CJackHwang/dev
...
Merge pull request #182 from CJackHwang/codex/investigate-potential-issues
Fix account pool starvation when only one managed account has token
2026-04-02 20:17:35 +08:00
CJACK.
6a632ad9ef
Merge pull request #187 from CJackHwang/codex/investigate-unrecognized-issue-in-ds2api
...
fix: use schema-correct exec parameter examples in tool prompt
2026-04-02 20:15:30 +08:00
CJACK.
cd2f5ad3b0
Merge pull request #191 from CJackHwang/codex/fix-issue-in-pull-request-190
...
fix: prioritize quoted functionCall keys in tool sieve
2026-04-02 20:14:17 +08:00
CJACK.
1457b63a76
Merge pull request #192 from CJackHwang/codex/fix-the-reported-issue-in-pr-191
...
fix: harden functionCall key detection in tool sieve
2026-04-02 20:13:51 +08:00
CJACK.
24655342a7
fix: prefer quoted functionCall keys over bare matches
2026-04-02 20:11:29 +08:00
CJACK.
39f6e066d6
fix: harden functionCall key detection in tool sieve
2026-04-02 19:43:47 +08:00
CJACK.
02d64c192e
fix: prioritize quoted functionCall keys in tool sieve
2026-04-02 18:22:30 +08:00
CJACK.
283aa304df
Merge pull request #190 from CJackHwang/codex/fix-critical-issue-in-pull-request
...
Fix tool sieve regression for loose `functionCall` keys
2026-04-02 16:12:50 +08:00
CJACK.
02fe3e4bfc
fix: detect loose functionCall keys in tool sieve
2026-04-02 15:19:45 +08:00
CJACK.
15bf77e044
refactor tool sieve functionCall helpers into separate file
2026-04-02 13:40:21 +08:00
CJACK.
add0d0cc06
Merge pull request #188 from MoeclubM/patch-1
...
完善Docker部署教程
2026-04-02 13:39:43 +08:00
CJACK.
50ce88ca3f
tighten functionCall detection to quoted JSON keys
2026-04-02 13:32:47 +08:00
CJACK.
07578f9c56
fix tool prompt parameter examples for exec tools
2026-04-02 13:09:41 +08:00
CJACK.
5ebc33c347
Merge pull request #186 from CJackHwang/codex/fix-key-copy-issue-in-web-ui
...
fix(webui): make API key copy action reliable
2026-04-02 13:03:33 +08:00
CJACK.
cc74397edc
Merge pull request #184 from CJackHwang/codex/refactor-acquire-to-handle-empty-token-accounts
...
auth: retry other managed accounts when token ensure fails
2026-04-02 13:00:18 +08:00
CJACK.
1289e8afd8
fix(webui): make API key copy action reliable
2026-04-02 12:59:05 +08:00
CJACK.
e60738b084
auth: preserve ensure error after retry exhaustion
2026-04-02 12:58:09 +08:00
CJACK.
f6cd541c6f
auth: retry other managed accounts when token ensure fails
2026-04-02 02:04:58 +08:00
CJACK.
1eb47147c2
Merge pull request #182 from CJackHwang/codex/investigate-potential-issues
...
Fix account pool starvation when only one managed account has token
2026-04-02 00:55:43 +08:00
CJACK.
da3fafb79a
fix pool starvation of tokenless managed accounts
2026-04-02 00:48:41 +08:00
CJACK.
3900aaec47
Merge pull request #180 from CJackHwang/codex/integrate-gemini-claude-openai-into-ds2api
...
Detect Gemini `functionCall` and Claude `tool_use`, backfill tool_call IDs, and broaden tool-sieve detection
2026-04-01 01:54:21 +08:00
CJACK.
8a74dbff9c
Fix lowercase functioncall detection in stream tool sieve
2026-04-01 01:50:56 +08:00