CJACK
6959aa2982
feat: add ETag cache optimization, code-split WebUI, and refactor XML tool scanner
...
- Chat history: early 304 via Revision()/DetailRevision() to avoid full snapshot reads
- WebUI: lazy-load tab containers with Suspense fallback
- Toolstream: split tool_sieve_xml.go into tags.go and scan.go
- CI: trigger on main branch, guard cross-build to dev/main pushes only
- Docs: add DEVELOPER.md developer quick reference
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-27 14:37:23 +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.
4048c3784b
Merge pull request #320 from adnxx1wsx/main
...
fix: fallback claude non-stream tool calls from thinking
2026-04-26 17:54:05 +08:00
MiY
a505f2cb96
fix: fallback tool calls from thinking on empty output
2026-04-26 17:45:12 +08:00
CJACK
22e951b4c4
增加不同上下文模式
2026-04-26 14:21:15 +08:00
CJACK
c09a4b51a5
feat: 新增 thinking 注入配置支持,扩展设置管理与前端交互
...
新增 promptcompat 和 OpenAI shared 层的 thinking 注入逻辑,
完善配置系统的编解码与校验,更新设置管理 API 与前端 UI。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-26 13:35:20 +08:00
CJACK
0bfddf7943
1
2026-04-26 09:17:40 +08:00
CJACK
40b8182984
docs: update architecture diagrams for 4.x
2026-04-26 08:40:41 +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
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.
0e7f5cdc86
docs: sync tool-calling semantics with current implementation
2026-04-19 23:12:13 +08:00
CJACK
caafdedb00
feat: implement OpenAI-compatible file upload and reference handling for DeepSeek API
2026-04-12 23:30:22 +08:00
CJACK.
f4ed10d38d
disable token-mismatch gate by default in raw stream simulator
2026-04-07 20:38:29 +08:00
CJACK.
475c9086d2
docs: 为展开目录树补充文件夹作用注释
2026-04-07 11:51:14 +08:00
CJACK
da778a18fb
refactor: replace WASM-based PoW with a high-performance native Go implementation and add context support for cancellation.
2026-04-07 01:20:01 +08:00
CJACK.
a671d82759
chore: auto-bootstrap golangci-lint for Go 1.26 compatibility
2026-04-06 12:52:56 +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
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
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
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
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.
a28e833f33
Promote raw stream replay into standalone simulator tool and add SSE field doc
2026-04-03 10:18:48 +08:00
CJACK.
8b86f1c903
docs: refresh architecture and project structure docs
2026-04-03 01:28:48 +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.
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
MoeclubM
a87ec3fd68
docs: sync docker config setup steps
2026-04-02 13:34:57 +08:00
CJACK.
836eaf5290
feat(ui): show env mode persistence status and document writeback
2026-03-30 21:18:56 +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
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.
56a3ed19e8
fix(toolcall): support canonical xml params and guard json shadowing
2026-03-29 11:15:52 +08:00