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
40d5e3ebb5
测试DSML
2026-04-27 00:21:26 +08:00
CJACK
0fb1bc6611
工具优化
2026-04-26 09:44:59 +08:00
CJACK
7475defeca
fix: align tool call protocol and thinking controls
2026-04-26 04:26:51 +08:00
CJACK
1b0e8cbadb
Tighten XML tool call parsing and upstream empty handling
2026-04-26 01:17:16 +08:00
CJACK.
c291d333c4
feat: extract and inject assistant reasoning content into history split prompts
2026-04-22 19:56:28 +00:00
CJACK
f313d0068f
feat: implement code fence awareness in tool sieve to prevent false-positive XML tool detection inside code blocks and refine prompt instructions.
2026-04-20 00:13:14 +08:00
CJACK
c945f49fc4
refactor: remove JSON-based tool call parsing from sieve and delete associated compatibility tests
2026-04-19 13:39:47 +08:00
CJACK.
bfca84c2c7
Align tool-call parsing across Go/JS and pass quality gates
2026-04-01 01:24:55 +08:00
CJACK.
1fe1240240
fix(js): prevent XML wrapper attribute tool_calls scan loop
2026-03-30 15:59:34 +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
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
c3c644ff8c
111
2026-03-29 19:49:52 +08:00
CJACK.
97a81c4191
Harden toolcall leak interception for function-style payloads
2026-03-22 20:07:12 +08:00
CJACK.
b108a7915a
Support nested fenced blocks in stream fence tracking
2026-03-22 15:12:55 +08:00
CJACK.
d530d25793
Expand history-sanitize boundary coverage for stream chunks
2026-03-22 00:57:13 +08:00
CJACK.
648bb74587
Fix streaming whitespace trim and capture TOOL_RESULT_HISTORY
2026-03-22 00:44:44 +08:00
CJACK.
6758514c61
chore: remove obsolete openai tool-history normalization helpers
2026-03-22 00:28:32 +08:00
CJACK.
7061094964
Fix fence-strip regression for closed code blocks before tool JSON
2026-03-21 17:39:08 +08:00
CJACK.
b8ff678f24
Align Vercel JS toolcall filtering with Go semantics
2026-03-21 00:23:22 +08:00
CJACK.
184a3d1e4e
Sync Node tool-call parsing with aggressive fenced/mixed policy
2026-03-20 02:16:37 +08:00
CJACK.
145501d4a5
fix(tool-sieve): allow mixed prose + tool json interception
2026-03-20 01:15: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.
60e9d707d4
Merge origin/dev into PR branch and resolve toolcall test conflicts
2026-03-08 01:10:53 +08:00
CJACK.
9b93badb57
Harden markup tag parsing to avoid mismatched-tag false positives
2026-03-08 00:55:32 +08:00
CJACK
93e9fb531d
js对齐
2026-03-01 07:15:35 +08:00
CJACK
a302fb3c25
修复
2026-03-01 05:55:46 +08:00
CJACK
0d3d535c08
feat: prevent raw tool call JSON leakage for unknown or rejected tool calls and consolidate container publishing to GHCR.
2026-02-23 00:27:46 +08:00
CJACK.
1e678ecc1a
fix(node): 移除被过滤工具调用的回退重发并对齐 Go 行为
2026-02-22 23:05:40 +08:00
CJACK
d4017b87c1
refactor: Relocate JavaScript source and Node.js test files to dedicated directories and extract OpenAI stream runtime tool call finalization logic.
2026-02-22 22:37:08 +08:00