fix pnpm play

This commit is contained in:
David Blass
2025-11-11 16:42:30 -05:00
parent e8ca1d87ef
commit 0bf456b6dc
5 changed files with 7174 additions and 8151 deletions
+2 -2
View File
@@ -33,8 +33,8 @@ export async function main(inputs: Inputs): Promise<MainResult> {
// Fetch repo settings (agent, permissions, workflows) from API
const repoSettings = await getRepoSettings(githubInstallationToken, repoContext);
if (repoSettings.defaultAgent !== "claude")
throw new Error(`Unsupported agent: ${repoSettings.defaultAgent}`);
const agent = repoSettings.defaultAgent || "claude";
if (agent !== "claude") throw new Error(`Unsupported agent: ${agent}`);
setupGitAuth(githubInstallationToken, repoContext);