From 6aa3521eba102f03f26671454cd5fc94b5d2072b Mon Sep 17 00:00:00 2001 From: Dax Date: Thu, 12 Nov 2026 23:55:28 -0500 Subject: [PATCH] feat(app): add hex tip (#63668) --- packages/app/src/runtime/i18n/en.ts | 3 +++ packages/app/src/tips/model.ts | 15 ++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/app/src/runtime/i18n/en.ts b/packages/app/src/runtime/i18n/en.ts index 0b23f24c919..4baa4e56b5f 100644 --- a/packages/app/src/runtime/i18n/en.ts +++ b/packages/app/src/runtime/i18n/en.ts @@ -616,6 +616,9 @@ export const dict = { "tips.browse.title": "Control your browser", "tips.browse.description": "Let OpenCode work in your browser with the sites you’re already signed in to.", "tips.browse.install": "Install", + "tips.hex.title": "Use your voice", + "tips.hex.description": "Hold a key and speak your prompts. Runs entirely locally and works across your whole computer.", + "tips.hex.install": "Install", "tips.search.title": "Find a past conversation", "tips.search.description": "Search your sessions to pick up where you left off.", "home.workspaceTip": "Start next session in a new workspace to keep changes isolated", diff --git a/packages/app/src/tips/model.ts b/packages/app/src/tips/model.ts index cff17993c69..850d6f71e45 100644 --- a/packages/app/src/tips/model.ts +++ b/packages/app/src/tips/model.ts @@ -58,7 +58,20 @@ export function createTipToasts() { ?.some((item) => item.name === "browse"), action: { label: "tips.browse.install", - run: () => platform.openExternal("https://chromewebstore.google.com/detail/mfnicocicmmlkpjnaffgihfjhdgjkdjg"), + run: () => platform.openExternal( + "https://chromewebstore.google.com/detail/mfnicocicmmlkpjnaffgihfjhdgjkdjg?utm_source=opencode-desktop&utm_campaign=tip-browse", + ), + }, + }, + { + id: "hex", + title: "tips.hex.title", + description: "tips.hex.description", + action: { + label: "tips.hex.install", + // anoma.ly/hex 404s with a query string; the trailing slash is required. + run: () => + platform.openExternal("https://anoma.ly/hex/?utm_source=opencode-desktop&utm_campaign=tip-hex"), }, }, {