l0ng-ai
1ec634619c
feat(plugins): read HTTP responses as they arrive with net.fetch-stream ( #6859 )
...
Plugin API 1.19 adds net.fetch-stream: it returns a response-stream once the headers arrive, and the body is read piece by piece with a timeout (read returns nothing with done=false when no bytes came in time). It applies the same grants, net:ask, secrets, body limit and redirect checks as fetch, which now shares the request builder; at most eight streams per plugin, closed on resource drop or plugin stop. The SDK adds host::fetch_stream, ResponseStream and an incremental text/event-stream parser (ResponseStream::events), with mock support; components are rebuilt for the new WIT.
Fixes #6844
2026-11-29 22:49:50 +08:00
..
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-28 07:09:15 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-25 19:27:09 +08:00
2026-11-27 17:06:51 +08:00
2026-11-25 02:01:59 +08:00
2026-11-24 07:02:21 +08:00
2026-11-18 09:29:59 +08:00
2026-11-29 13:31:13 +08:00
2026-11-29 14:03:48 +08:00
2026-11-29 14:03:48 +08:00
2026-11-27 02:34:33 +08:00
2026-11-24 07:02:21 +08:00
2026-11-26 21:39:53 +08:00
2026-11-26 21:52:50 +08:00
2026-11-27 15:26:29 +08:00
2026-11-26 19:31:03 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-29 21:59:42 +08:00
2026-11-24 07:02:21 +08:00
2026-11-17 19:10:13 +08:00
2026-11-24 07:02:21 +08:00
2026-11-18 09:20:09 +08:00
2026-11-12 13:18:36 +08:00
2026-11-24 23:04:40 +08:00
2026-11-26 22:34:41 +08:00
2026-11-11 02:05:41 +08:00
2026-11-24 07:02:21 +08:00
2026-11-07 15:29:16 +08:00
2026-11-17 01:27:54 +08:00
2026-11-07 19:25:10 +08:00
2026-11-27 16:21:12 +08:00
2026-11-24 07:02:21 +08:00
2026-11-27 16:21:12 +08:00
2026-11-07 04:30:30 +08:00
2026-11-24 07:02:21 +08:00
2026-11-08 03:15:08 +08:00
2026-11-26 23:33:04 +08:00
2026-11-27 06:06:41 +08:00
2026-11-29 22:49:50 +08:00
2026-11-24 20:29:25 +08:00
2026-11-25 00:45:06 +08:00
2026-11-24 07:02:21 +08:00
2026-11-28 14:58:10 +08:00
2026-11-29 15:15:42 +08:00
2026-11-17 19:10:13 +08:00
2026-11-24 11:42:00 +08:00
2026-11-27 22:36:22 +08:00
2026-11-27 23:34:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-27 09:51:49 +08:00
2026-11-29 14:37:35 +08:00
2026-11-24 06:01:01 +08:00
2026-11-25 19:27:09 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 11:42:00 +08:00
2026-11-24 07:02:21 +08:00
2026-11-29 10:34:07 +08:00
2026-11-25 19:27:09 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-25 08:46:36 +08:00
2026-11-24 07:02:21 +08:00
2026-11-29 13:58:40 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-25 20:01:26 +08:00