Yichen Jiang
c62d6f3a44
refactor(net): make the proxy a util library with six functions
...
Review asked why this is a plugin and why it exports so much. The design note
this branch shipped answered the second question itself — "a pure resolution
function plus an installation function" — and the code drifted to seventeen
exports and a Cordis plugin nobody approved or mounted.
The plugin is gone. Transport policy has one answer per process: nothing to
swap, and no scope narrower than the process to give one. Its `Config` was also
the only supplier of a configuration branch, so resolution now reads the
environment and nothing else — `mode`, the config-sourced fields, and the
`config` policy source were unreachable the moment the plugin left.
Four exports nothing outside the package used are internal again, and
`currentProxyPolicy` answers with the direct policy instead of `undefined`, so
`DIRECT_POLICY` no longer needs a public face. Nine functions remain, one per
way a caller can need the policy; two is not reachable with six consumer seams.
The package moves to `util/`. The note claimed a dependency on `undici`
disqualified it from that group; the charter governs harness dependencies, not
external ones, and the process note that says so predates this branch. The real
blocker was the harness dependency: resolution needed one method of
`LaunchEnvironmentSnapshot`, so it names a structural `EnvLookup` and the
launcher passes its snapshot unchanged. `net/` is dissolved.
Dropping the group's line from the repository layout also returns `AGENTS.md`
to its original ceiling, so the raise the merge needed is reverted.
2026-09-01 11:01:05 +08:00
..
2026-08-13 13:58:03 +08:00
2026-08-30 19:50:51 +08:00
2026-08-26 08:01:07 +00:00
2026-08-19 18:21:26 +08:00
2026-08-29 15:31:12 +08:00
2026-08-10 16:34:20 +08:00
2026-08-06 16:38:25 +08:00
2026-08-29 14:26:42 +08:00
2026-08-29 14:26:42 +08:00
2026-08-29 20:19:38 +08:00
2026-08-29 14:26:42 +08:00
2026-08-24 17:28:27 +08:00
2026-08-24 19:09:40 +08:00
2026-08-24 19:09:40 +08:00
2026-08-24 19:09:40 +08:00
2026-08-24 19:09:40 +08:00
2026-08-24 19:09:40 +08:00
2026-08-24 15:04:00 +08:00
2026-08-09 16:39:41 +08:00
2026-08-11 20:09:33 +08:00
2026-08-26 00:13:35 +08:00
2026-08-27 22:26:29 +08:00
2026-08-31 04:13:15 +08:00
2026-08-19 18:21:27 +08:00
2026-08-19 18:21:27 +08:00
2026-08-24 15:04:00 +08:00
2026-08-24 15:04:00 +08:00
2026-08-18 01:34:21 +08:00
2026-08-30 02:29:52 +08:00
2026-08-13 02:29:17 +08:00
2026-08-24 22:02:44 +08:00
2026-08-09 01:31:57 +08:00
2026-08-11 15:23:05 +08:00
2026-08-10 22:04:13 +08:00
2026-08-18 14:38:42 +08:00
2026-08-24 22:02:44 +08:00
2026-08-26 12:35:05 +08:00
2026-08-29 11:15:32 +08:00
2026-08-29 11:15:32 +08:00
2026-08-06 03:18:17 +08:00
2026-08-27 23:14:31 +08:00
2026-08-24 15:04:01 +08:00
2026-08-24 15:04:01 +08:00
2026-09-01 11:01:05 +08:00
2026-08-30 02:29:52 +08:00
2026-08-13 00:54:38 +08:00
2026-08-27 22:26:29 +08:00
2026-08-10 16:34:20 +08:00
2026-08-13 01:33:31 +08:00
2026-08-22 13:10:23 +08:00
2026-08-21 22:22:23 +08:00
2026-08-10 22:04:13 +08:00
2026-08-19 02:26:57 +08:00
2026-08-30 12:00:06 +08:00
2026-08-27 21:57:56 +08:00
2026-07-30 19:57:17 +08:00
2026-08-27 23:14:31 +08:00
2026-08-29 14:26:42 +08:00
2026-08-30 14:17:44 +08:00
2026-08-10 22:04:13 +08:00
2026-08-27 12:00:02 +08:00
2026-08-27 12:00:02 +08:00
2026-08-28 10:59:30 +08:00
2026-08-19 02:26:57 +08:00
2026-08-27 19:39:21 +08:00
2026-08-27 20:02:10 +08:00
2026-08-12 19:41:06 +08:00
2026-08-29 11:15:32 +08:00
2026-08-11 15:23:05 +08:00
2026-08-21 20:35:34 +08:00
2026-08-18 17:56:49 +08:00
2026-08-18 19:37:53 +08:00
2026-08-09 00:37:46 +08:00
2026-08-19 02:26:57 +08:00
2026-08-18 18:27:01 +08:00
2026-08-26 17:17:47 +08:00
2026-08-30 02:29:52 +08:00
2026-08-29 14:26:42 +08:00
2026-08-23 16:28:19 +08:00
2026-08-29 14:26:42 +08:00
2026-08-29 14:26:42 +08:00
2026-08-21 11:09:25 +08:00
2026-08-21 11:09:25 +08:00
2026-08-20 10:05:16 +08:00
2026-08-26 14:33:17 +08:00
2026-08-20 22:10:35 +08:00
2026-08-08 12:25:41 +08:00
2026-08-08 12:25:41 +08:00
2026-08-13 00:54:38 +08:00
2026-08-13 00:54:38 +08:00
2026-08-18 01:34:53 +08:00
2026-08-21 20:35:32 +08:00
2026-08-19 15:42:12 +08:00
2026-08-10 22:04:10 +08:00
2026-08-28 12:38:41 +08:00
2026-08-18 21:15:20 +08:00
2026-08-31 12:58:59 +08:00
2026-08-31 12:58:59 +08:00
2026-08-23 16:28:19 +08:00
2026-08-23 16:28:19 +08:00
2026-08-21 11:09:25 +08:00
2026-08-26 08:01:07 +00:00
2026-08-26 08:01:07 +00:00
2026-08-24 22:02:44 +08:00
2026-08-13 01:29:36 +08:00
2026-08-27 16:25:12 +08:00
2026-08-29 11:50:13 +08:00
2026-08-13 15:16:12 +08:00
2026-08-24 22:02:44 +08:00
2026-08-21 15:06:24 +08:00
2026-09-01 11:01:05 +08:00
2026-09-01 11:01:05 +08:00
2026-08-19 03:01:11 +08:00
2026-08-19 03:01:11 +08:00
2026-08-19 04:08:47 +08:00
2026-08-19 03:56:17 +08:00
2026-08-21 22:22:23 +08:00
2026-08-28 10:21:45 +08:00
2026-08-19 03:47:00 +08:00
2026-08-08 21:11:59 +08:00
2026-08-09 11:02:16 +08:00
2026-08-25 23:47:20 +08:00
2026-08-24 17:28:26 +08:00
2026-08-24 21:37:14 +08:00
2026-08-19 02:26:57 +08:00
2026-08-10 16:34:20 +08:00
2026-08-14 16:10:06 +08:00
2026-08-28 10:59:30 +08:00
2026-08-10 16:34:20 +08:00
2026-08-10 16:34:20 +08:00
2026-08-27 23:14:31 +08:00
2026-08-27 23:14:31 +08:00
2026-08-10 16:34:20 +08:00
2026-08-18 01:34:25 +08:00
2026-08-18 01:34:25 +08:00
2026-08-29 14:26:42 +08:00
2026-08-29 14:26:42 +08:00
2026-08-23 21:22:41 +08:00
2026-08-23 21:22:41 +08:00
2026-08-14 16:05:48 +08:00
2026-08-24 22:02:44 +08:00
2026-08-24 22:02:44 +08:00
2026-08-24 22:02:44 +08:00
2026-08-24 22:02:44 +08:00
2026-08-20 22:10:15 +08:00
2026-08-20 22:10:35 +08:00
2026-08-13 13:07:24 +08:00
2026-08-13 13:07:24 +08:00
2026-08-21 22:22:23 +08:00
2026-08-09 10:56:43 +08:00
2026-08-24 22:02:44 +08:00
2026-08-24 22:02:44 +08:00
2026-08-24 22:02:44 +08:00
2026-08-29 13:17:12 +08:00
2026-09-01 11:01:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-29 14:26:42 +08:00
2026-08-29 14:26:42 +08:00
2026-08-14 16:10:06 +08:00
2026-08-21 22:22:23 +08:00
2026-08-30 02:29:52 +08:00
2026-08-30 02:29:52 +08:00
2026-08-10 16:34:20 +08:00
2026-08-24 22:02:44 +08:00
2026-08-30 02:29:52 +08:00
2026-09-01 11:01:05 +08:00
2026-08-11 12:35:38 +08:00
2026-08-11 12:35:38 +08:00
2026-08-24 19:09:40 +08:00
2026-08-24 19:09:40 +08:00
2026-08-10 18:04:26 +08:00
2026-08-10 18:04:26 +08:00
2026-08-23 16:02:32 +08:00
2026-09-01 11:01:05 +08:00
2026-08-19 02:26:57 +08:00
2026-08-13 13:07:57 +08:00
2026-08-23 16:16:04 +08:00
2026-08-02 01:25:01 +08:00
2026-07-30 21:49:33 +08:00
2026-08-23 01:48:35 +08:00