Skip to content

Commit 7aa3ce5

Browse files
mmyzwlclaude
andcommitted
fix(skills): raise skill_workshop apply approval timeout for large proposals
The default plugin-approval timeout of 120s is too short for reviewing large workshop proposals (~28 KB). Increase the apply timeout to 300s (5 minutes) so users have adequate time to inspect and approve changes. Closes #94249 Co-Authored-By: Claude <[email protected]>
1 parent f836934 commit 7aa3ce5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/skills/workshop/policy.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ export function resolveSkillWorkshopToolApproval(params: {
6565
requireApproval: {
6666
...text,
6767
allowedDecisions: ["allow-once", "deny"],
68+
// Apply can involve reviewing large proposals (~28 KB); the default 2-minute
69+
// plugin-approval timeout is too short for a thorough review. Raise it to 5
70+
// minutes so users have adequate time to inspect and approve the change.
71+
...(action === "apply" ? { timeoutMs: 300_000 } : {}),
6872
},
6973
};
7074
}

0 commit comments

Comments
 (0)