optimize streaming

This commit is contained in:
KingKDot
2026-04-08 14:14:09 -05:00
parent 67d81d1b75
commit b711efe6bd
10 changed files with 113 additions and 9 deletions
@@ -5,6 +5,7 @@ import (
"fmt"
"log"
"overlord-client/cmd/agent/capture"
"overlord-client/cmd/agent/runtime"
)
@@ -37,6 +38,9 @@ func (d *Dispatcher) Dispatch(ctx context.Context, envelope map[string]interface
return HandlePing(ctx, d.Env, envelope)
case "pong":
return HandlePong(ctx, d.Env, envelope)
case "frame_ack":
capture.ReleaseFrameSlot()
return nil
case "command":
cmdType, _ := envelope["commandType"].(string)
switch cmdType {