mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-01 23:15:27 +08:00
Replace hardcoded DSML typo variant lists in Go/Node tool call parsers with generalized prefix consumption that tolerates repeated leading <, repeated DSML prefix noise, and trailing pipe terminators. Split tiktoken-dependent token counting into a build-tagged file for non-cgo platform compatibility. Add /data directory to Dockerfile for bind-mount permissions. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
23 lines
886 B
Plaintext
23 lines
886 B
Plaintext
# Node split syntax gate targets
|
|
# Keep this list in sync with api/chat-stream and internal/js/helpers/stream-tool-sieve split modules.
|
|
|
|
api/chat-stream.js
|
|
internal/js/chat-stream/index.js
|
|
internal/js/chat-stream/error_shape.js
|
|
internal/js/chat-stream/http_internal.js
|
|
internal/js/chat-stream/proxy_go.js
|
|
internal/js/chat-stream/sse_parse.js
|
|
internal/js/chat-stream/stream_emitter.js
|
|
internal/js/chat-stream/token_usage.js
|
|
internal/js/chat-stream/toolcall_policy.js
|
|
internal/js/chat-stream/vercel_stream.js
|
|
|
|
internal/js/helpers/stream-tool-sieve.js
|
|
internal/js/helpers/stream-tool-sieve/index.js
|
|
internal/js/helpers/stream-tool-sieve/state.js
|
|
internal/js/helpers/stream-tool-sieve/sieve.js
|
|
internal/js/helpers/stream-tool-sieve/sieve-xml.js
|
|
internal/js/helpers/stream-tool-sieve/jsonscan.js
|
|
internal/js/helpers/stream-tool-sieve/parse.js
|
|
internal/js/helpers/stream-tool-sieve/format.js
|