chore: generate
This commit is contained in:
@@ -211,7 +211,7 @@ for (const item of targets) {
|
|||||||
execArgv: [`--user-agent=opencode/${Script.version}`, "--use-system-ca", "--"],
|
execArgv: [`--user-agent=opencode/${Script.version}`, "--use-system-ca", "--"],
|
||||||
windows: {},
|
windows: {},
|
||||||
},
|
},
|
||||||
files: (embeddedFileMap ? { "opencode-web-ui.gen.ts": embeddedFileMap } : {}),
|
files: embeddedFileMap ? { "opencode-web-ui.gen.ts": embeddedFileMap } : {},
|
||||||
entrypoints: [
|
entrypoints: [
|
||||||
"./src/index.ts",
|
"./src/index.ts",
|
||||||
parserWorker,
|
parserWorker,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { Hooks, PluginInput } from "@opencode-ai/plugin"
|
import type { Hooks, PluginInput } from "@opencode-ai/plugin"
|
||||||
|
|
||||||
export async function CloudflareWorkersAuthPlugin(_input: PluginInput): Promise<Hooks> {
|
export async function CloudflareWorkersAuthPlugin(_input: PluginInput): Promise<Hooks> {
|
||||||
const prompts = (!process.env.CLOUDFLARE_ACCOUNT_ID
|
const prompts = !process.env.CLOUDFLARE_ACCOUNT_ID
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
type: "text" as const,
|
type: "text" as const,
|
||||||
@@ -10,7 +10,7 @@ export async function CloudflareWorkersAuthPlugin(_input: PluginInput): Promise<
|
|||||||
placeholder: "e.g. 1234567890abcdef1234567890abcdef",
|
placeholder: "e.g. 1234567890abcdef1234567890abcdef",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
: [])
|
: []
|
||||||
|
|
||||||
return {
|
return {
|
||||||
auth: {
|
auth: {
|
||||||
|
|||||||
Reference in New Issue
Block a user