diff --git a/packages/prompts.chat/src/cli/platforms.ts b/packages/prompts.chat/src/cli/platforms.ts index e7c63052..3140ab5f 100644 --- a/packages/prompts.chat/src/cli/platforms.ts +++ b/packages/prompts.chat/src/cli/platforms.ts @@ -31,6 +31,7 @@ export const codePlatforms: Platform[] = [ { id: "goose", name: "Goose", baseUrl: "goose://recipe", isDeeplink: true }, { id: "github-copilot", name: "GitHub Copilot Chat", baseUrl: "https://github.com/copilot" }, { id: "github-copilot-agents", name: "GitHub Copilot Agents", baseUrl: "https://github.com/copilot/agents" }, + { id: "netlify", name: "Netlify", baseUrl: "https://app.netlify.com/run" }, { id: "bolt", name: "Bolt", baseUrl: "https://bolt.new" }, { id: "lovable", name: "Lovable", baseUrl: "https://lovable.dev" }, { id: "v0", name: "v0", baseUrl: "https://v0.dev/chat" }, @@ -103,6 +104,8 @@ export function buildUrl( return `${baseUrl}/?prompt=${encoded}`; case "lovable": return `${baseUrl}/?autosubmit=true#prompt=${encoded}`; + case "netlify": + return `${baseUrl}?prompt=${encoded}&ref=prompts-chat`; case "mistral": return `${baseUrl}?q=${encoded}`; case "perplexity": diff --git a/packages/raycast-extension/src/utils.ts b/packages/raycast-extension/src/utils.ts index a5735581..1d8f3b36 100644 --- a/packages/raycast-extension/src/utils.ts +++ b/packages/raycast-extension/src/utils.ts @@ -192,6 +192,12 @@ export const codePlatforms: Platform[] = [ baseUrl: "https://github.com/copilot", supportsQuerystring: true, }, + { + id: "netlify", + name: "Netlify", + baseUrl: "https://app.netlify.com/run", + supportsQuerystring: true, + }, { id: "bolt", name: "Bolt", @@ -278,6 +284,8 @@ export function buildUrl( return `${baseUrl}/?prompt=${encoded}`; case "lovable": return `${baseUrl}/?autosubmit=true#prompt=${encoded}`; + case "netlify": + return `${baseUrl}?prompt=${encoded}&ref=prompts-chat`; case "mistral": return `${baseUrl}?q=${encoded}`; case "perplexity": diff --git a/src/components/prompts/run-prompt-button.tsx b/src/components/prompts/run-prompt-button.tsx index 6334f7f9..ec757cb3 100644 --- a/src/components/prompts/run-prompt-button.tsx +++ b/src/components/prompts/run-prompt-button.tsx @@ -91,6 +91,7 @@ const codePlatforms: Platform[] = [ { name: "Copilot Agents", baseUrl: "https://github.com/copilot/agents" }, ], }, + { id: "netlify", name: "Netlify", baseUrl: "https://app.netlify.com/run" }, { id: "bolt", name: "Bolt", baseUrl: "https://bolt.new" }, { id: "lovable", name: "Lovable", baseUrl: "https://lovable.dev" }, { id: "v0", name: "v0", baseUrl: "https://v0.dev/chat" }, @@ -173,6 +174,8 @@ function buildUrl(platformId: string, baseUrl: string, promptText: string, promp return `${baseUrl}/?prompt=${encoded}`; case "lovable": return `${baseUrl}/?autosubmit=true#prompt=${encoded}`; + case "netlify": + return `${baseUrl}?prompt=${encoded}&ref=prompts-chat`; case "mistral": return `${baseUrl}?q=${encoded}`; case "perplexity":