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.
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.
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
CJACK.
bfca84c2c7
Align tool-call parsing across Go/JS and pass quality gates
2026-04-01 01:24:55 +08:00
CJACK.
1cdfa9c05d
Merge pull request #179 from TesseractLHY/main
...
Fixes #177
2026-04-01 00:08:55 +08:00
CJACK.
063599678a
Merge pull request #174 from CJackHwang/dev
...
Merge pull request #171 from CJackHwang/codex/fix-issue-#170-in-ds2api
Enable env-backed config writeback and bootstrap missing config file
2026-03-31 01:36:31 +08:00
CJACK.
f55aa7564a
Merge pull request #176 from CJackHwang/codex/fix-fallback-to-file-config-on-json-parse-failure-u32uz8
...
修复写回模式回退逻辑并从 CONTENT_FILTER 起截断流输出
2026-03-31 01:35:42 +08:00
CJACK.
3b60e3c8f9
fix(sse): trim stream output from CONTENT_FILTER onward
2026-03-31 01:26:43 +08:00
CJACK.
efebe9ebad
Merge pull request #171 from CJackHwang/codex/fix-issue-#170-in-ds2api
...
Enable env-backed config writeback and bootstrap missing config file
2026-03-31 00:01:27 +08:00
CJACK.
b54b418f96
fix(sse): globally strip leaked CONTENT_FILTER suffix from output
2026-03-30 23:39:47 +08:00
CJACK.
1c5f022b06
refactor(config): split writeback helpers out of store.go for CI gate
2026-03-30 21:38:19 +08:00
CJACK.
836eaf5290
feat(ui): show env mode persistence status and document writeback
2026-03-30 21:18:56 +08:00
CJACK.
958e7a0d04
fix(config): skip writeback bootstrap on invalid env config
2026-03-30 21:02:36 +08:00
CJACK.
f3555ae9b0
feat(config): bootstrap config.json when env writeback is enabled
2026-03-30 20:37:58 +08:00
CJACK.
d50d39e2e5
Merge pull request #169 from CJackHwang/dev
...
Merge pull request #168 from CJackHwang/codex/fix-vercel-deployment-issue-with-api-calls
fix(js): avoid false tool-call capture on plain tool_calls prose
2026-03-30 16:08:39 +08:00
CJACK.
01393837be
Merge pull request #168 from CJackHwang/codex/fix-vercel-deployment-issue-with-api-calls
...
fix(js): avoid false tool-call capture on plain tool_calls prose
2026-03-30 16:01:51 +08:00
CJACK.
1fe1240240
fix(js): prevent XML wrapper attribute tool_calls scan loop
2026-03-30 15:59:34 +08:00
CJACK.
c07736fbea
chore: set shared tool-sieve context tail window to 2048
2026-03-30 15:41:38 +08:00
CJACK.
775bf3b578
refactor(js): align tool-sieve segment start and tail window with go
2026-03-30 15:41:26 +08:00
CJACK.
ab3943ebeb
test(js): cover numbered planning prose around tool calls
2026-03-30 15:39:09 +08:00
CJACK.
6efba7b2e4
fix(js): avoid false tool-call capture on plain tool_calls prose
2026-03-30 12:51:33 +08:00
CJACK.
765d0231cd
Merge pull request #166 from CJackHwang/dev
...
chore: relocate sha3 WASM asset to internal directory and update build configurations
2026-03-30 12:23:46 +08:00
CJACK.
aebf3e9119
Merge pull request #167 from CJackHwang/codex/remove-dangling-agent-xml-tags
...
Fix dangling agent XML cleanup and XML-escape tool-call prompt serialization
2026-03-30 12:22:58 +08:00
CJACK.
535d9298a7
Scope dangling result-tag cleanup to leaked wrapper fragments
2026-03-30 12:22:04 +08:00
CJACK.
b790545d82
Fix dangling agent XML cleanup and escape tool call prompt XML
2026-03-30 11:23:16 +08:00
CJACK
c95bf7b667
chore: relocate sha3 WASM asset to internal directory and update build configurations
2026-03-30 02:23:45 +08:00
CJACK
d79565b250
docs: move documentation files to a dedicated directory and update references
2026-03-30 02:07:24 +08:00
CJACK
dc39de062b
refactor: update wasm asset path in vercel configuration and remove obsolete binary file
2026-03-30 02:03:08 +08:00
CJACK
a7c9dfd7c0
refactor: remove configurable toolcall policy and fix to feature matching with high-confidence early emit
2026-03-30 01:56:25 +08:00
CJACK
822b14ed6b
feat: add configurable token_refresh_interval_hours to runtime settings with validation and hot-reload support
2026-03-30 01:41:13 +08:00
CJACK
af7c7c6770
refactor: rename sanitizeLeakedToolHistory to sanitizeLeakedOutput for improved clarity
2026-03-30 01:06:22 +08:00
CJACK
868a60b70b
chore: bump version from 2.4.1 to 2.5.1
2026-03-30 00:29:17 +08:00
CJACK
30a53b6c43
refactor: remove legacy TOOL_CALL_HISTORY/TOOL_RESULT_HISTORY markers and consolidate tool call formatting into a new prompt package
2026-03-30 00:20:38 +08:00
CJACK.
034c00f10e
Merge pull request #163 from CJackHwang/dev
...
docs: update API documentation, deployment guides, and README with new admin endpoints, compatibility notes, and build instructions
2026-03-29 19:50:40 +08:00
CJACK
c3c644ff8c
111
2026-03-29 19:49:52 +08:00
CJACK
621599f8ad
test: update message preparation tests to expect explicit User role markers
2026-03-29 19:41:03 +08:00
CJACK
aeb519c211
docs: update API documentation, deployment guides, and README with new admin endpoints, compatibility notes, and build instructions
2026-03-29 19:17:07 +08:00
CJACK
075728cca6
feat: add support for intercepting and sanitizing agent-style XML tags to prevent output leaks
2026-03-29 17:15:14 +08:00
CJACK
883607ac87
refactor: update prompt formatting to use system instruction tags and explicit user markers for improved model reasoning
2026-03-29 16:40:44 +08:00
CJACK
1d6a8e7008
refactor: centralize tool-calling instructions into a shared utility and update Claude/OpenAI adapters to use the unified format.
2026-03-29 16:05:35 +08:00
CJACK
f041ebab93
refactor: optimize tool-calling prompt instructions and examples for improved model adherence
2026-03-29 15:18:43 +08:00
CJACK
3ab9d44f60
feat: suppress output of partial XML tool tag fragments in stream processing
2026-03-29 14:59:30 +08:00
CJACK
4b42fe9086
fix: prevent XML tool call leakage by strictly matching opening and closing tag pairs during streaming
2026-03-29 14:40:47 +08:00
CJACK
302bcefeb5
feat: implement XML-based tool call extraction and refactor sieve utilities into dedicated modules
2026-03-29 13:01:11 +08:00
CJACK.
19b4f879c5
Merge pull request #161 from CJackHwang/codex/update-ds2api-project-documentation
...
Prefer XML canonical format for tool calls; prioritize XML/Markup parsing and update docs/tests
2026-03-29 11:22:51 +08:00
CJACK.
56a3ed19e8
fix(toolcall): support canonical xml params and guard json shadowing
2026-03-29 11:15:52 +08:00
CJACK.
958f4e39b5
feat(toolcall): prioritize XML for model output and parsing
2026-03-29 10:53:38 +08:00
CJACK.
6e8f3185d5
Merge pull request #157 from CJackHwang/codex/analyze-toolcall-output-formatting-issue
...
Sanitize leaked tool-call wire format in assistant text
2026-03-22 22:46:07 +08:00
CJACK.
0925e83b9b
Stop embedding tool-call envelopes into prompt content
2026-03-22 22:36:15 +08:00
CJACK.
87c231e736
Sanitize leaked tool-call wire format in assistant text
2026-03-22 22:17:40 +08:00
CJACK.
390f7580e5
Merge pull request #156 from CJackHwang/dev
...
Merge pull request #153 from CJackHwang/codex/investigate-tool-execution-bugs-in-output-7ocr8f
Relax tool-name allow-listing and improve tool-call detection/parsing across adapters and sieve
2026-03-22 21:40:03 +08:00
CJACK.
5887821a9d
Merge pull request #153 from CJackHwang/codex/investigate-tool-execution-bugs-in-output-7ocr8f
...
Relax tool-name allow-listing and improve tool-call detection/parsing across adapters and sieve
2026-03-22 21:26:55 +08:00
CJACK.
7794006513
Update VERSION
2026-03-22 21:26:34 +08:00
CJACK.
47d4499d47
Merge pull request #155 from CJackHwang/codex/review-and-fix-pr-#153-issues
...
Sync tool-call compat fixtures and update node test to match permissive tool-call policy
2026-03-22 21:25:18 +08:00
CJACK.
15891ddc25
Fix quality-gate fixture drift for permissive tool-call policy
2026-03-22 21:24:06 +08:00
CJACK.
97a81c4191
Harden toolcall leak interception for function-style payloads
2026-03-22 20:07:12 +08:00
CJACK.
586d31e556
Merge pull request #151 from CJackHwang/dev
...
Merge pull request #149 from CJackHwang/codex/fix-tool-miscall-during-complex-json-test
Ignore tool_call payloads inside fenced code blocks and chat envelopes; stream-aware code-fence tracking
2026-03-22 16:51:17 +08:00
CJACK.
b0a09dfab0
Merge pull request #149 from CJackHwang/codex/fix-tool-miscall-during-complex-json-test
...
Ignore tool_call payloads inside fenced code blocks and chat envelopes; stream-aware code-fence tracking
2026-03-22 16:50:44 +08:00
CJACK.
58f753d0c0
Merge pull request #150 from CJackHwang/codex/fix-markup-bypass-in-tool-call-parsing
...
Do not promote fenced code examples to tool calls and centralize tool-keyword detection
2026-03-22 16:36:39 +08:00
CJACK.
2e0586d060
Merge branch 'codex/fix-tool-miscall-during-complex-json-test' into codex/fix-markup-bypass-in-tool-call-parsing
2026-03-22 16:32:43 +08:00
CJACK.
1676c8e4f2
Add backward-compatible aliases for renamed fenced-example tests
2026-03-22 16:25:03 +08:00
CJACK.
add13366d2
Split parse syntax markers to shared keyword module
2026-03-22 15:55:47 +08:00
CJACK.
d5a23191f2
Refactor stream sieve keyword scanning into shared helper
2026-03-22 15:55:38 +08:00
CJACK.
d2d4e39983
Fix refactor line gate for stream tool sieve helper
2026-03-22 15:28:51 +08:00
CJACK.
6e0dca3b30
Update VERSION
2026-03-22 15:16:29 +08:00
CJACK.
b108a7915a
Support nested fenced blocks in stream fence tracking
2026-03-22 15:12:55 +08:00
CJACK.
2caabd8ce6
Add files via upload
2026-03-22 14:18:08 +08:00
CJACK.
c4a73e871a
Merge pull request #148 from CJackHwang/dev
...
Merge pull request #147 from CJackHwang/codex/fix-tool-call-history-retrieval
Preserve tool call/result roundtrip and raw payloads across Claude, Gemini and OpenAI adapters
2026-03-22 13:43:26 +08:00
CJACK.
6802a3d53e
Fix Claude tool block normalization and tool_result fidelity
2026-03-22 13:42:01 +08:00
CJACK.
e828006cb0
Merge pull request #147 from CJackHwang/codex/fix-tool-call-history-retrieval
...
Preserve tool call/result roundtrip and raw payloads across Claude, Gemini and OpenAI adapters
2026-03-22 13:06:23 +08:00
CJACK.
a6499cbece
Split Claude sanitize helpers to satisfy refactor line gate
2026-03-22 13:05:41 +08:00
CJACK.
a504905626
Fix Claude/Gemini prompt flattening for tool history and binary parts
2026-03-22 12:47:00 +08:00
CJACK.
59bf78d2c4
Unify adapter message normalization across Claude and Gemini
2026-03-22 12:07:58 +08:00
CJACK.
25b3292497
Merge pull request #146 from CJackHwang/dev
...
Merge pull request #145 from CJackHwang/codex/determine-which-pr-fixes-json-leak-issue
Merge pull request #144 from CJackHwang/codex/refactor-codebase-to-remove-redundancy
Refactor tool-sieve and response streaming, remove unused helpers and UI wrappers
2026-03-22 11:05:54 +08:00
CJACK.
6cf4f0528c
Merge pull request #145 from CJackHwang/codex/determine-which-pr-fixes-json-leak-issue
...
Merge pull request #144 from CJackHwang/codex/refactor-codebase-to-remove-redundancy
Refactor tool-sieve and response streaming, remove unused helpers and UI wrappers
2026-03-22 10:59:31 +08:00
CJACK.
d8f8dcb704
Merge pull request #144 from CJackHwang/codex/refactor-codebase-to-remove-redundancy
...
Refactor tool-sieve and response streaming, remove unused helpers and UI wrappers
2026-03-22 10:39:36 +08:00
CJACK.
455489ffeb
ci: upgrade GitHub Actions Node runtime to 24
2026-03-22 10:38:18 +08:00
CJACK.
5031ae0e6f
ci: align refactor line gate with removed files
2026-03-22 10:38:08 +08:00
CJACK.
3fccec0e22
test: remove unused asFloat helper
2026-03-22 10:24:11 +08:00
CJACK.
00d38f1187
fix: parse claude tool_use function/parameter format
2026-03-22 09:58:29 +08:00
CJACK.
fe0f3d2c17
fix: strip empty json fences from sanitized stream text
2026-03-22 09:29:21 +08:00
CJACK.
f67cbfad35
fix: stop instructing fenced JSON for tool calls
2026-03-22 09:25:01 +08:00
CJACK.
11f66db87d
Merge pull request #142 from CJackHwang/dev
...
Merge pull request #141 from CJackHwang/codex/investigate-json-leakage-in-vercel-deployment-rh84s1
Fix raw tool-call JSON leaks when feature_match mode is off
2026-03-22 08:55:29 +08:00
CJACK.
9afc533153
Merge pull request #141 from CJackHwang/codex/investigate-json-leakage-in-vercel-deployment-rh84s1
...
Fix raw tool-call JSON leaks when feature_match mode is off
2026-03-22 08:38:18 +08:00
CJACK.
6a39543288
fix tool-call json leaks when feature_match is disabled
2026-03-22 08:29:01 +08:00
CJACK.
7131b06e26
Merge pull request #138 from CJackHwang/dev
...
Merge pull request #135 from CJackHwang/codex/add-global-token-refresh-logic
Sanitize leaked tool-history markers, simplify normalization, and add managed token refresh
2026-03-22 01:27:27 +08:00
CJACK.
8fa1f998aa
Merge pull request #139 from CJackHwang/codex/fix-issues-from-codex-review
...
[Follow-up] Preserve empty tool completion turns in OpenAI prompt normalization
2026-03-22 01:26:43 +08:00
CJACK.
f8936887d0
fix(openai): preserve empty tool completion turns
2026-03-22 01:19:17 +08:00
CJACK.
db89744055
Merge branch 'main' into dev
2026-03-22 01:07:14 +08:00
CJACK.
65312fc573
Merge pull request #135 from CJackHwang/codex/add-global-token-refresh-logic
...
Sanitize leaked tool-history markers, simplify normalization, and add managed token refresh
2026-03-22 01:05:10 +08:00
CJACK.
661d753fd3
Merge pull request #137 from CJackHwang/codex/optimize-configuration-file-management
...
Make account `test_status` runtime-only (in-memory cache)
2026-03-22 01:04:42 +08:00
CJACK.
7ca3f141c6
Pass refactor line gate for tool sieve files
2026-03-22 01:04:01 +08:00
CJACK.
d530d25793
Expand history-sanitize boundary coverage for stream chunks
2026-03-22 00:57:13 +08:00
CJACK.
990cdcf02d
refactor config: keep account test status runtime-only
2026-03-22 00:49:53 +08:00