chore: generate

This commit is contained in:
opencode-agent[bot]
2026-04-16 00:46:18 +00:00
parent 3d6f90cb53
commit ac2fa668cf
4 changed files with 18 additions and 18 deletions
+10 -10
View File
@@ -1,16 +1,16 @@
import type { Hooks, PluginInput } from "@opencode-ai/plugin"
export async function CloudflareWorkersAuthPlugin(_input: PluginInput): Promise<Hooks> {
const prompts = (!process.env.CLOUDFLARE_ACCOUNT_ID
? [
{
type: "text" as const,
key: "accountId",
message: "Enter your Cloudflare Account ID",
placeholder: "e.g. 1234567890abcdef1234567890abcdef",
},
]
: [])
const prompts = !process.env.CLOUDFLARE_ACCOUNT_ID
? [
{
type: "text" as const,
key: "accountId",
message: "Enter your Cloudflare Account ID",
placeholder: "e.g. 1234567890abcdef1234567890abcdef",
},
]
: []
return {
auth: {