feat(plugins): read HTTP responses as they arrive with net.fetch-stream

Plugin API 1.19 adds net.fetch-stream, which returns a response-stream once
the headers arrive; its body is read piece by piece with a timeout, so a
plugin can consume server-sent events or a model's streamed reply and stop
early. It uses the same grants, secrets and redirect checks as fetch, which
now shares the request builder. The SDK gets host::fetch_stream,
ResponseStream and an sse parser; components are rebuilt for the new WIT.
Цей коміт міститься в:
l0ng-ai committed 2026-11-29 22:49:30 +08:00
1 джерело 18860f5f98
коміт 71e089b0fa
128 files changed
+869 -129

No files matched your search

Бінарний файл не відображається.
+1 -1
Переглянути файл
@@ -1 +1 @@
f7d72615195a0ec09257f443fd2a0534ba75a3b17918bddbd43717f43c21016f
0c6bed6791810872b4369bb8e8f095d6309fc7d831b44b9fced2773ec9f49651