(new): v0.2.0 release

This commit is contained in:
2026-07-31 15:21:56 +03:00
parent fb95804b4b
commit 1bb05f0938
9 changed files with 422 additions and 310 deletions
+2 -10
View File
@@ -137,12 +137,6 @@ type TitleEvent struct {
Content string `json:"content"`
}
// CloseEvent describes how a completed stream should be closed or resumed.
type CloseEvent struct {
ClickBehavior string `json:"click_behavior"`
AutoResume bool `json:"auto_resume"`
}
// PatchEvent describes a compact patch in the DeepSeek stream protocol.
//
// Pointer fields distinguish:
@@ -475,9 +469,8 @@ func (s *StreamState) applyPatch(
case "response":
if operation != "BATCH" {
log.Printf(
"unknown response operation: op=%q value=%s",
"unknown response operation: op=%q",
operation,
value,
)
return nil
@@ -489,10 +482,9 @@ func (s *StreamState) applyPatch(
default:
log.Printf(
"unknown patch: path=%q op=%q value=%s",
"unknown patch: path=%q op=%q",
path,
operation,
value,
)
}