CJACK.
dc73e8a6da
Gate biz_code refresh attempts to auth-indicative failures
2026-03-20 23:54:13 +08:00
CJACK.
b8495eeeb3
surface account test config writeability and save failures
2026-03-20 23:34:29 +08:00
CJACK.
7af0098d1b
Merge pull request #110 from CJackHwang/codex/align-js-runtime-with-go-runtime-logic
...
Align Vercel JS stream tool-call delta handling with Go runtime
2026-03-20 09:49:08 +08:00
CJACK.
17405be300
shrink vercel stream module under line gate limit
2026-03-20 09:47:22 +08:00
CJACK.
5bc03e5de6
align vercel js stream toolcall delta behavior with go runtime
2026-03-20 09:36:45 +08:00
CJACK.
32dc5b6099
Merge pull request #108 from CJackHwang/codex/clean-up-unused-files-and-update-documentation-uiip50
...
docs: refresh deployment/testing guides and remove stale investigation report
2026-03-20 03:08:09 +08:00
CJACK.
7936d4675f
Merge pull request #107 from CJackHwang/codex/clean-up-unused-files-and-update-documentation
...
docs: prune stale files and refresh docs, add .env.example, align READMEs/DEPLOY/CONTRIBUTING
2026-03-20 03:07:21 +08:00
CJACK.
808eafa7c6
docs: refresh deployment/testing guides and prune stale report
2026-03-20 03:05:36 +08:00
CJACK.
bcb8ed6df2
docs: prune stale docs and refresh project documentation
2026-03-20 03:05:22 +08:00
CJACK.
88a79f212d
Fix path control-char repair on JSON fallback parses
2026-03-20 02:52:27 +08:00
CJACK.
b1f8d6192f
Merge pull request #105 from CJackHwang/codex/fix-issues-found-in-review
...
Merge pull request #104 from CJackHwang/codex/revert-to-commit-efb484b
Restore tool-call parsing and repair logic; remove accidental split files
v2.3.5_beta
2026-03-20 02:38:35 +08:00
CJACK.
acfb3b225d
Split toolcall input parsing to satisfy line gate
2026-03-20 02:37:23 +08:00
CJACK.
99a6164000
Fix path corruption when parsing tool call JSON strings
2026-03-20 02:31:37 +08:00
CJACK.
e49d9d33e2
Merge pull request #104 from CJackHwang/codex/revert-to-commit-efb484b
...
Restore tool-call parsing and repair logic; remove accidental split files
2026-03-20 02:17:52 +08:00
CJACK.
184a3d1e4e
Sync Node tool-call parsing with aggressive fenced/mixed policy
2026-03-20 02:16:37 +08:00
CJACK.
c4ec14f49a
Fix refactor line gate for toolcalls_parse
2026-03-20 02:12:34 +08:00
CJACK.
fb5fc0e885
Default to aggressive tool-call interception in mixed/fenced text
2026-03-20 02:03:46 +08:00
CJACK.
20b603666d
Allow standalone parser to detect mixed prose tool JSON
2026-03-20 02:03:32 +08:00
CJACK.
4d549b7102
Revert "Merge branch 'dev' into codex/fix-issues-found-in-review"
...
This reverts commit 33b0d1d144 , reversing
changes made to efb484ba4f .
2026-03-20 01:38:11 +08:00
CJACK.
33b0d1d144
Merge branch 'dev' into codex/fix-issues-found-in-review
2026-03-20 01:23:00 +08:00
CJACK.
efb484ba4f
Merge pull request #103 from CJackHwang/codex/fix-threshold-issue-and-audit-pr
...
fix: unblock PR #101 line gate and improve PoW/token retry handling
2026-03-20 01:16:46 +08:00
CJACK.
145501d4a5
fix(tool-sieve): allow mixed prose + tool json interception
2026-03-20 01:15:32 +08:00
CJACK.
2d5103997b
fix(tool-sieve): keep mixed prose tool json in strict text mode
2026-03-20 01:15:15 +08:00
CJACK.
52e7e7aae8
fix: unblock line gate and harden pow token recovery
2026-03-20 00:50:05 +08:00
CJACK.
5b5a4000d7
Merge pull request #99 from CJackHwang/codex/refactor-toolcalls_parse.go-for-line-limits
...
Codex-generated pull request
2026-03-19 21:06:45 +08:00
CJACK.
2bbf603148
fix: address PR #97 review findings
2026-03-18 00:52:24 +08:00
CJACK.
d14b8a0664
Stabilize tool-call parsing and pass refactor gate
2026-03-18 00:45:28 +08:00
CJACK.
f16e0b579e
Merge pull request #92 from valkryhx/main
...
fix(toolcall): fix deepseek function calling bug and add json repair
2026-03-18 00:15:47 +08:00
huangxun
cf569f4749
docs: add testing documentation for tool call debugging
...
- Add targeted test commands to TESTING.md for debugging tool call issues
- Add quick test commands reference in README.md
- Document specific test cases for DeepSeek tool call parsing
2026-03-17 16:41:16 +08:00
huangxun
c9c59f2490
refactor(toolcall): enhance tool call extraction with multiple keywords and safety limits
...
- Add support for multiple keywords: tool_calls, function.name:, [tool_call_history]
- Add OOM protection with search limits in extractToolCallObjects
- Add max scan length limit in extractJSONObject to prevent OOM on unclosed objects
- Update tool_sieve to handle more tool call patterns
- Add loose JSON repair in parseToolCallPayload for better error recovery
This improves DeepSeek tool call parsing robustness.
2026-03-17 16:28:27 +08:00
huangxun
16216cc2ca
fix(toolcalls): support nested objects in missing array brackets repair
...
- Upgrade missingArrayBracketsPattern regex to support single-level nested {} objects
- This fixes DeepSeek's list hallucination where tool call JSON objects contain nested fields like {"input": {"q": "value"}}
- Add comprehensive test cases covering 2-5 nested objects, mixed nested/primitive fields, and real DeepSeek 8-queen output patterns
- Add RepairLooseJSON function to repair unquoted keys and missing array brackets
Fixes: DeepSeek tool call parsing with nested JSON objects
2026-03-17 16:24:16 +08:00
CJACK.
de50fd3954
Merge pull request #96 from CJackHwang/codex/update-ci-line-count-limits-cihke3
...
ci: ignore test files in line gate and raise frontend limit to 500
v2.3.4_beta
2026-03-16 23:16:22 +08:00
CJACK.
7648d5f192
ci: keep entry line cap precedence over frontend cap
2026-03-16 23:06:58 +08:00
CJACK.
d35e5eab25
ci: ignore tests in line gate and raise frontend limit
2026-03-16 22:58:13 +08:00
CJACK.
90610a52ce
Merge pull request #93 from latticeon/feature/session-management
...
feat: 添加会话管理功能
2026-03-16 22:12:00 +08:00
latticeon
f6296d506f
fix: 修改批量删除会话方式
...
- 从逐条单个删除改为官方的批量删除接口
- 单个删除函数保留备用
2026-03-16 16:23:39 +08:00
latticeon
dfea092583
fix: 更新测试 mock 结构体以实现新增的接口方法
...
会话管理功能新增接口方法后,同步更新测试 mock 结构体:
- mockOpenAIConfig: 添加 AutoDeleteSessions() 方法
- streamStatusDSStub: 添加 DeleteAllSessionsForToken() 方法
- testingDSMock: 添加 DeleteAllSessionsForToken() 和 GetSessionCountForToken() 方法
同时修复 client_session_delete.go 中 fmt.Errorf 使用非常量格式字符串的编译错误,改用 errors.New()
2026-03-16 11:58:07 +08:00
latticeon
af7dc134bb
fix: 修复会话管理相关问题并拆分文件
...
1. 修复无限循环问题
- DeleteAllSessions/DeleteAllSessionsForToken 添加无进度检测
- 连续 3 轮删除失败则退出循环
- DeleteAllSessionsForToken 添加 cursor 推进逻辑
2. 修复字段语义不准确
- TotalCount 重命名为 FirstPageCount
- 明确该值仅统计第一页,多页账户需关注 HasMore
3. 修复 defer 执行顺序问题
- 合并两个 defer,确保先删除会话再释放账号
- 使用同步删除避免并发截断风险
4. 文件拆分
- 新建 client_session_delete.go 处理会话删除
- client_session.go 专注于会话查询
2026-03-16 01:44:21 +08:00
latticeon
2657d37f76
添加会话数量显示与清除功能
...
添加会话清除功能,增强安全性,避免账号被盗等情况泄露源代码
账号列表点击测试后显示账号的会话数量
设置页添加自动清除开关,每次调用后清除被调用账号的所有会话
2026-03-16 00:50:31 +08:00
huangxun
7318d1f4a8
fix(toolcall): fix deepseek function calling bug and add json repair
...
- Fix: Expand stream sieve keywords to support function.name: and [TOOL_CALL_HISTORY]
- Fix: Add repairInvalidJSONBackslashes to handle unescaped backslashes in Windows paths
- Sync: Update JS stream sieve to match Go implementation
- Test: Add unit tests for backslash repair and deepseek format parsing
- Tool: Move repair json test tool to tests/repair_json_tool.go
2026-03-13 13:47:40 +08:00
CJACK.
f2674487c7
Merge pull request #90 from CJackHwang/dev
...
Merge pull request #89 from CJackHwang/codex/review-changes-in-pull-request-#88
Support text-kv `function.name`/`function.arguments` fallback and looser name matching
v2.3.3
2026-03-09 21:42:28 +08:00
CJACK.
71cdcb43e8
Merge pull request #89 from CJackHwang/codex/review-changes-in-pull-request-#88
...
Support text-kv `function.name`/`function.arguments` fallback and looser name matching
2026-03-09 19:21:24 +08:00
CJACK.
9c46c3a874
Merge branch 'dev' into codex/review-changes-in-pull-request-#88
2026-03-09 19:20:32 +08:00
CJACK.
12d5f136d5
fix(toolcall): pass gates and align go/js multi-layer parser
2026-03-09 19:16:28 +08:00
CJACK.
00c37d8d2f
Merge pull request #88 from valkryhx/main
...
update openai function calling 成功率高 是因为chat内容和tool内容分开保存,而ds则混合了
2026-03-09 19:04:41 +08:00
huangxun
0f1985af4a
feat(util): 增加对混杂文本中 Tool Call 的 fallback 解析支持
...
- 引入 parseTextKVToolCalls 解析器以处理混杂文本或带历史记录套壳(如 [TOOL_CALL_HISTORY])输出的函数调用提取。
- 将其作为 JSON 和 XML 的 fallback 解析手段集成到主流程。
- 添加单元测试用例且更新相关语义说明文档。
2026-03-09 15:00:16 +08:00
huangxun
fa8affe1b7
Merge remote-tracking branch 'upstream/main'
2026-03-09 14:29:09 +08:00
CJACK.
c59a0b7799
Merge pull request #87 from CJackHwang/dev
...
Merge pull request #82 from CJackHwang/codex/linear-mention-cja-10-ds2api-go-runtime-js
Align Go/JS tool-call parsing semantics and expand compat fixtures
v2.3.2
2026-03-08 13:21:22 +08:00
CJACK.
bd72b91f27
Merge pull request #82 from CJackHwang/codex/linear-mention-cja-10-ds2api-go-runtime-js
...
Align Go/JS tool-call parsing semantics and expand compat fixtures
2026-03-08 13:19:09 +08:00
CJACK.
9240f85246
Merge pull request #86 from CJackHwang/codex/fix
...
fix: parse invoke/tool_call arguments in xml compatibility paths
2026-03-08 13:17:29 +08:00