Repository navigation
Description
Track SDK protocol and lifecycle work for Dify 1.19.0.
SDK 0.11.0 publication is tracked in #413.
This issue remains open for the remaining delivery and acceptance work below.
Implementation status — 2026-11-02
| Requirement | Implementation | Status |
|---|---|---|
| Resource cleanup, concurrent transport writes, reconnects, CLI/Serverless shutdown, registration and revalidation | #396 | Merged; supersedes the closed, unmerged #395 |
| SSE comments, fields and line endings | #397 / #404 | Completed and merged |
| Agent text-block and literal special-token counting | #399 / #405 | Completed and merged |
| Literal stop sequences | #400 / #406 | Completed and merged |
| Embedding counts, indices, dimensions and finite values | #401 / #403 | Completed and merged |
| Complete replay messages, content arrays and final usage | #389 / #390 | Completed and merged |
| Reject streams without a completion marker | #409 / #410 | Completed and merged; #412 tightens empty-string markers |
| Completion modality validation and missing-usage calculation | #411 | Merged |
| Generic HTTP error responses | #398 / #402 and langgenius/dify-plugin-daemon#835 | Both implementations merged; joint acceptance remains open in #398 |
| Complete tool schemas and tool-only response text | #412 | Draft; checks pass, review/merge pending |
#396's validation covered all 37 dispatch actions with local services and an installed wheel, and 1,470 tests passed on each of Python 3.12 and 3.13.
It covered manifest revalidation, YAML aliases, boolean defaults, structured calls, provider hooks and synchronous/gevent entrypoints against its recorded baseline.
Later intentional SDK 0.11 contract changes, including #390 and #411, require the documented provider migrations.
Remaining work
- Review/merge fix(model): validate responses and stabilize token estimates #412 and publish/verify the final SDK artifact in chore(release): publish Plugin SDK v0.11.0 for Dify 1.19 #413.
- Complete fix(http): redact internal exceptions in HTTP error responses #398's joint acceptance with the selected daemon and published SDK, including failed Endpoint streams and cross-node forwarding.
- Resolve and verify large datasource/Agent file delivery through the existing signed-upload and file-link contracts.
The documented limitation remains: a roughly 4 MiB binary blob can exceed the daemon's 5 MiB JSON frame limit after base64 encoding.
Verify empty and large files, the upload policy, and the SDK's 10-second upload timeout with the selected delivery path. - Verify the affected published plugins and target Dify deployment before claiming the complete issue resolved.
Current evidence uses local services and controlled transports.
Production deployment, external vendor APIs, sustained load and arbitrary native threads (#205) remain outside the completed validation.
Daemon items remain external dependencies without a 1.19 milestone assignment.
Activity