CJACK
2d5d211a7a
refactor: unify Go/Node XML tool markup scanning and expand DSML alias support
...
- Add shared ToolMarkupTag scanner (toolcalls_scan.go) replacing hardcoded alias tables
- Support DSML collapsed tag names (<DSMLtool_calls>, <DSMLinvoke>, <DSMLparameter>)
- Parse JSON literal values from parameter bodies (123→number, true→bool, null)
- Recover unclosed CDATA in final parse/flush via SanitizeLooseCDATA
- Align Go and Node implementations (scanToolMarkupTagAt, findMatchingToolMarkupClose)
- Reject bare <invoke> as unsupported syntax, only tool_calls wrapper triggers tool path
- Update API.md and toolcall-semantics.md documentation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-27 17:53:59 +08:00
CJACK
70467054c3
fix: preserve partial-update fields for current_input_file and thinking_injection, expand DSML space-separator aliases
...
- Guard current_input_file.enabled / thinking_injection.{enabled,prompt} with hasNestedSettingsKey so partial updates don't overwrite omitted fields
- Expand DSML alias support to tolerate space-separated tags (e.g. <|dsml invoke>) alongside pipe-separated forms
- Sync Go sieve, Node sieve, toolcall parser, and tests for all new DSML variants
- Update API.md and toolcall-semantics.md with expanded alias coverage
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-27 15:06:44 +08:00
CJACK
a13293e113
feat: expand DSML tool-call alias and fence handling
...
Add support for DSML wrapper aliases (<dsml|tool_calls>, <|tool_calls>,
<|tool_calls>) alongside canonical XML. Normalize mixed DSML/canonical
tags instead of rejecting them. Add tilde fence (~~~) support, fix
nested fence and unclosed fence handling, support CDATA-protected fence
content, and skip prose mentions when scanning for real tool blocks.
Mirror all changes between Go and Node.js runtimes.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-27 13:39:50 +08:00
CJACK
90ce595325
chore: update project files
2026-04-27 02:09:11 +08:00
CJACK
40d5e3ebb5
测试DSML
2026-04-27 00:21:26 +08:00
CJACK
4c83f36089
强制启用文件拆分(实际模型忽略)
2026-04-26 07:31:19 +08:00
CJACK
8a91fef6ab
update doc
2026-04-26 04:58:35 +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
a44afb335a
Relax CORS preflight handling across interfaces
2026-04-26 00:37:25 +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.
e8d1aee7ad
chore: update gitignore and documentation files
2026-04-22 20:23:32 +00:00
CJACK.
77484bf813
feat: add account editing functionality with UI modal and backend handler
2026-04-22 17:20:44 +00:00
CJACK.
797ab77873
Merge pull request #279 from CJackHwang/codex/add-api-key-name-handling-in-webui
...
feat(account): add structured API key and account name/remark support
2026-04-22 23:52:54 +08:00
CJACK.
8f09e3b381
feat: implement API key management with reconciliation and add update key endpoint
2026-04-22 15:51:43 +00:00
ouqiting
f125c7ab83
增加“对话记录”
2026-04-22 15:17:10 +08:00
CJACK.
2c08375b49
docs: refresh model alias examples to current defaults
2026-04-19 23:42:34 +08:00
CJACK.
0e7f5cdc86
docs: sync tool-calling semantics with current implementation
2026-04-19 23:12:13 +08:00
CJACK.
08f32c4c40
docs: align API docs with implemented routes
2026-04-19 21:04:06 +08:00
CJACK
0591128601
refactor: fix file handling error suppression, optimize hash calculation, and update API documentation with additional models
2026-04-12 23:35:57 +08:00
CJACK.
475c9086d2
docs: 为展开目录树补充文件夹作用注释
2026-04-07 11:51:14 +08:00
CJACK.
668b9c26bd
Unify token usage pass-through on OpenAI translate pipeline
2026-04-07 10:16:23 +08:00
CJACK.
5bcea3d727
Propagate upstream token usage across Gemini usage metadata
2026-04-07 10:16:00 +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
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
1d80f644d4
refactor: remove legacy environment variable aliases for configuration and concurrency settings
2026-04-05 16:27:58 +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.
2a05c96f5f
docs: refresh architecture diagram and structure sections
2026-04-03 01:13:13 +08:00
CJACK.
836eaf5290
feat(ui): show env mode persistence status and document writeback
2026-03-30 21:18:56 +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
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.
958f4e39b5
feat(toolcall): prioritize XML for model output and parsing
2026-03-29 10:53:38 +08:00
CJACK.
95c96f7744
docs: clarify configured account token is ignored on load
2026-03-21 15:32:09 +08:00
CJACK.
a6aa4a1839
补充工具调用行为说明并修正测试文档过时命令
2026-03-03 00:39:02 +08:00
CJACK
d3b60edb6f
feat: introduce Gemini API compatibility, Claude API shortcuts, and enhanced Admin API endpoints with related documentation and deployment updates.
2026-02-22 22:25:52 +08:00
CJACK
a9403c5392
feat: add Gemini API compatibility, refactor stream rendering, and enhance tool call handling and configuration options
2026-02-22 20:53:42 +08:00
CJACK
ae7dce0b32
feat: Improve OpenAI tool call handling by passing unknown tool calls as content and filtering streamed tool calls by schema.
2026-02-22 19:33:52 +08:00
CJACK
eb253a9d3a
feat: Introduce standard request normalization and response building for OpenAI and Claude, enhance tool call streaming, and improve caller identification.
2026-02-18 23:35:17 +08:00
CJACK
3a75b75ae0
feat: Introduce model alias resolution, enhanced configuration options, and improved OpenAI/Claude adapter handling for responses, embeddings, and tool calls.
2026-02-18 23:06:18 +08:00
CJACK
0348fa8a22
feat: Enhance account identification to support email, mobile, and token-only synthetic IDs across API, UI, and documentation.
2026-02-18 20:39:38 +08:00
CJACK
89e93a1674
feat: Improve configuration loading robustness, add Vercel-specific fallbacks, and update documentation for config.json best practices.
2026-02-18 00:38:38 +08:00
CJACK
76ae2fed51
feat: Add comprehensive historical and current Claude model IDs for API compatibility and dynamic Docker port configuration.
2026-02-17 14:01:31 +08:00
CJACK
7dcddef91f
feat: Update Claude model names and IDs across configuration, documentation, and tests, including the default model and thinking delta logic.
2026-02-17 13:36:19 +08:00
CJACK
5fbea97aec
docs: Enhance architecture diagrams, update API and deployment configurations, and remove obsolete documentation files.
2026-02-17 04:45: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
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
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