Skip to content

The open source coding agent.

TypeScript

fix(gh): build

adamdotdevin6a5a4247c6fa
diff --git a/packages/opencode/src/cli/cmd/install-github.ts b/packages/opencode/src/cli/cmd/install-github.ts
index 6e60ad72251..604d76a481a 100644
--- a/packages/opencode/src/cli/cmd/install-github.ts
+++ b/packages/opencode/src/cli/cmd/install-github.ts
@@ -143,15 +143,6 @@ export const InstallGithubCommand = cmd({
return model
}
- async function promptKey() {
- const key = await prompts.password({
- message: "Enter your API key",
- validate: (x) => (x.length > 0 ? undefined : "Required"),
- })
- if (prompts.isCancel(key)) throw new UI.CancelledError()
- return key
- }
-
async function installGitHubApp() {
const s = prompts.spinner()
s.start("Installing GitHub app")