fix(scripts): address Codex P1 sensitive skip and package focus trap

Guard standalone no-workspace run-on-all against sensitive prompts, and keep
Tab focus inside the new-package dialog overlay.
This commit is contained in:
bincxz
2026-07-27 14:12:31 +08:00
parent 1ff64ff07b
commit 9203ce69c0
3 changed files with 65 additions and 1 deletions
+6
View File
@@ -55,3 +55,9 @@ test("scripts side panel add control is a split button with secondary create act
assert.match(source, /snippets\.action\.newScript/);
assert.match(source, /snippets\.action\.newSnippet/);
});
test("scripts side panel package dialog traps focus and exposes dialog close contract", () => {
assert.match(source, /packageDialogRef/);
assert.match(source, /data-dialog-close="true"/);
assert.match(source, /isPackageDialogOpen/);
});