fix(runtime): harden dependency install surfaces (#71997)

* fix(runtime): harden dependency surfaces

* fix(runtime): harden dependency install surfaces

* fix(runtime): address dependency surface review

* fix(runtime): address dependency surface review

* fix(channels): avoid read-only plugin loader cycle

* fix(channels): allow optional read-only loader workspace

* test(commands): refresh current main checks

* test(commands): keep provider metadata mock unique

* test(commands): keep doctor security read-only mock unique

(cherry picked from commit abd5ec98ab)
This commit is contained in:
Vincent Koc
2026-04-26 01:38:21 -07:00
committed by Peter Steinberger
parent b9758bf44a
commit 6ca5907692
14 changed files with 784 additions and 116 deletions

View File

@@ -17,6 +17,18 @@ export function runWatchMain(params?: {
on: (event: "add" | "change" | "unlink" | "error", cb: (arg?: unknown) => void) => void;
close?: () => Promise<void> | void;
};
loadChokidar?: () => Promise<{
watch: (
paths: string[],
options: {
ignoreInitial: boolean;
ignored: (watchPath: string) => boolean;
},
) => {
on: (event: "add" | "change" | "unlink" | "error", cb: (arg?: unknown) => void) => void;
close?: () => Promise<void> | void;
};
}>;
watchPaths?: string[];
process?: NodeJS.Process;
cwd?: string;