mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-26 23:28:43 +00:00
25 lines
415 B
TypeScript
25 lines
415 B
TypeScript
import { Schema } from "effect"
|
|
|
|
const OPEN_APPS = [
|
|
"vscode",
|
|
"cursor",
|
|
"zed",
|
|
"textmate",
|
|
"antigravity",
|
|
"finder",
|
|
"terminal",
|
|
"iterm2",
|
|
"ghostty",
|
|
"warp",
|
|
"xcode",
|
|
"android-studio",
|
|
"powershell",
|
|
"windows-terminal",
|
|
"sublime-text",
|
|
] as const
|
|
|
|
export type OpenApp = (typeof OPEN_APPS)[number]
|
|
|
|
export const OpenAppPreferences = Schema.Struct({
|
|
app: Schema.Literals(OPEN_APPS),
|
|
})
|