From dc1f030e3904677cd65eac0a90c1d850e0ad1bbf Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 31 Aug 2026 00:07:36 +0900 Subject: feat(plugin): serve HttpDownloader as a proxy stub A downloader carries its own options, TLS defaults and request backends, and what it shares with the graph is the IO it collects authentication into and the config it reads. Plugin code writing `new HttpDownloader($io, $config)` therefore allocates a Rust-side entity of its own rather than a second downloader the graph knows nothing about, and the guard that shadowed the class in the worker is gone. The request surface is not served yet: get() and copy() have no wire representation for the Response they return, and the async surface resolves its promises with one. Co-Authored-By: Claude Opus 5 (1M context) --- scripts/plugin-stub-generator/targets.list | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/plugin-stub-generator') diff --git a/scripts/plugin-stub-generator/targets.list b/scripts/plugin-stub-generator/targets.list index 2c9609ce..22faf744 100644 --- a/scripts/plugin-stub-generator/targets.list +++ b/scripts/plugin-stub-generator/targets.list @@ -35,3 +35,4 @@ Composer\DependencyResolver\Operation\MarkAliasInstalledOperation Composer\DependencyResolver\Operation\MarkAliasUninstalledOperation Composer\Util\Filesystem Composer\Util\ProcessExecutor +Composer\Util\HttpDownloader -- cgit v1.3.1-4-g156e