3 Commits

Author SHA1 Message Date
RRFZ
e80c26bd16 fix(plugins): keep Windows system variables in plugin subprocess envs
The plugin installer and the plugin worker run their children with a
POSIX-only allowlist (PATH, HOME, LANG, TMPDIR, ...). On Windows that
drops SYSTEMROOT, which Winsock and the TLS providers need: pip fails
to build its SSL context, so every plugin install exited 2, and a worker
cannot open a socket (WinError 10106), so asyncio and HTTP clients fail
before plugin code runs.

Keep SYSTEMROOT, WINDIR, TEMP, TMP, USERPROFILE and PATHEXT when present.
They carry no credentials; provider keys are still dropped.
2026-10-31 21:12:11 -04:00
Bingxi Zhao (Frank)
1ea7df1554 docs: consolidate developer and agent handbook 2026-10-29 00:36:18 +08:00
Bingxi Zhao (Frank)
7885daa98a feat(plugins): add reviewed managed lifecycle and revocable runtime gates (#1307)
Adapt the Phase 1 foundation from PR #1309 and complete scoped API lifecycle, pre-import approval, artifact-bound revocation, recovery, bounded workers and frontend isolation. Keep the stronger ecosystem roadmap explicit in the RFC.

Co-authored-by: XZH <cto@xzh.ai>
2026-10-08 08:50:05 +08:00