Repository navigation
Update teak-raycast extension - #29205
Conversation
- docs(raycast): add browser sign-in changelog entry - chore: release 1.0.46 - Merge pull request raycast#176 from praveenjuge/feat/oauth-browser-signin - fix(raycast): run AI tools with non-interactive auth All headless Raycast AI tools (save, favorite, search, get, recent, tags) now pass interactive:false so they resolve auth from an API key or a stored/ refreshable OAuth session and never open the browser sign-in overlay from a background tool invocation. - fix(raycast): make no-view save fully non-interactive on 401 Thread a non-interactive auth mode through the request path: no-view save commands resolve the bearer from an API key or a stored/refreshable OAuth session only, and skip the interactive re-authorize retry on 401. A revoked or rejected token now surfaces an error instead of opening the browser sign-in overlay from a background command. - fix(raycast): resolve OAuth token non-interactively for no-view commands Add getStoredTeakAccessToken() which returns a usable access token without opening the sign-in overlay, silently refreshing an expired token via the refresh token and returning null when that fails. No-view save commands use it so a stale/revoked session prompts an explicit sign-in instead of launching interactive reauthorization from a background command. - fix(raycast): don\'t launch browser sign-in from no-view save commands No-view save commands (save text/clipboard/selection/browser tab) now check for usable credentials (API key or a stored OAuth session) without launching sign-in. When none exist they prompt the user to sign in from a view command (Search/Quick Save) instead of kicking off the browser OAuth overlay from the request helper. - fix(auth): resolve desktop logout race and MCP token CORS preflight - desktop: logoutNativeSession invalidates the live OAuth attempt so an in-flight completeDesktopOAuth callback cannot restore a session after the user signs out - web: answer the CORS preflight for /api/auth/mcp/* in middleware, since the Better Auth catch-all route does not reliably respond to OPTIONS (browser MCP clients preflight the token endpoint before exchanging a code) - fix(auth): address Greptile review for browser OAuth sign-in - convex/oauthTokens: accept 32-char alphanumeric opaque tokens (Better Auth\'s generator can include digits) and centralize the verified oauthAccessToken model/field names, shared with the desktop exchange path - convex/crons: run the first-party OAuth client seed every 15m and document that Convex runs an interval cron\'s first execution at deploy, so a fresh deployment seeds the clients at deploy time - ui/settings: show the API Keys section for keyless users so they can create their first key (API keys remain an alternative to browser sign-in) - raycast: no-view save commands no longer hard-require an API key; they route through the OAuth-aware request path. useTeakAuth checks for an existing session without launching sign-in, so opening a command no longer triggers the browser OAuth overlay as a side effect - desktop: guard the OAuth completion against the login-timeout race so a late callback can\'t sign in behind a timed-out UI; make sign-out local-only (no global Better Auth sign-out) so it doesn\'t sign the browser out - api/mcp: attach CORS headers to all /mcp responses (401 challenge, proxied auth errors, transport, 500) so browser MCP clients can read them - feat(auth): add browser-based OAuth sign-in across Raycast, desktop, and MCP/API Introduce a \'sign in with your browser\' flow so users no longer need to copy an API key to get started, while keeping existing API keys working. - raycast: OAuth PKCE flow via @raycast/utils, sign-in/out actions, optional API key - desktop: loopback OAuth callback (127.0.0.1:14203/24203); signing out of the desktop app no longer signs the user out in the browser - web: expose OAuth/OIDC discovery under /.well-known and metadata proxy - convex: seed first-party trusted public clients (teak-raycast, teak-desktop), oauth token handling, desktop OAuth, cron to keep clients in sync - api: MCP OAuth authorization support - docs: update api/mcp/raycast/desktop docs and add 2026-07-02 changelog - Merge pull request raycast#175 from praveenjuge/refactor/unified-import-export-settings - fix(ui): surface import report/cancel errors and decouple import from export handlers - fix(ui): make interrupted-upload resume prompt reachable in import panel - refactor(ui): unify settings import and export into a tabbed dialog - feat(docs): add favicon and apple touch icon assets - Merge pull request raycast#174 from praveenjuge/refactor/ui-utils-and-jsonld-hardening - refactor(ui): extract shared utils and harden JSON-LD output - chore(deps): upgrade docs dependencies and lock file - docs: merge May and June changelogs into one entry each - Merge pull request raycast#173 from praveenjuge/add-raindrop-import - feat(import): add Raindrop CSV import Add a Raindrop import mode alongside the existing bookmarks and archive imports. Raindrop CSV exports are parsed into the shared bookmark item shape so they reuse the same downstream normalization, dedupe, and indexing as the HTML bookmark importer. - New RFC-4180 CSV parser and Raindrop mapper (url, title, note, tags, folder, created, favorite) - Refactor runImport to share indexParsedBookmarks across bookmark modes - Validate raindrop uploads (.csv, 20 MiB cap, text/csv content type) - Extend schema import mode validator + UI dialog entry - Tests for the parser and dialog contract - fix(settings): clarify import section label - Merge pull request raycast#172 from praveenjuge/add-settings-import-feature - fix: address import review feedback - feat: add settings data import - fix(docs): align vercel vite resolution - fix(docs): use vercel-compatible bun lockfile - chore: add steering guide for git commit and push workflow - chore: upgrade dependencies across all workspaces - Document data export and pin docs dev port - Merge pull request raycast#171 from praveenjuge/feat/data-export - fix: address Greptile review on data export - feat: add settings data export for web and desktop - Merge pull request raycast#170 from praveenjuge/codex/legacy-api-key-analytics - fix: preserve static card endpoint analytics - feat: track legacy api key usage - Merge pull request raycast#169 from praveenjuge/plan-api-key-migration - fix: address api key review comments - fix: surface raycast api config errors - fix: start local api dev server - fix: identify missing raycast dev api gateway - fix: log raycast api failures - fix: clarify raycast not found errors - feat: migrate API key management - fix(raycast): patch esbuild advisory - chore: remove Tauri leftovers and update store URLs - docs: update iOS App Store link and tidy mobile docs table - docs: refresh README and add testimonials to landing page - docs(apps-grid): update Chrome extension URL with proper title - chore: upgrade biome/ultracite and reformat repo - fix(api): cap bulk card requests to prevent workflow fan-out - fix(convex): bound public API auth abuse from rotating bearer tokens - fix(convex): throttle API key lastUsedAt writes on validation - fix(raycast): preserve multi-word tags in search filters - fix(convex): clamp card search limits and visual filter fanout - fix(link-preview): send only hostname to favicon service - fix(convex): correct public API pagination on exact-full pages - fix(web): harden next redirect against open-redirect bypass - feat(security): enforce http/https-only card URLs - fix(convex): keep ssrf guard out of the v8 isolate bundle - fix(convex): run ssrf guard in node runtime to fix convex deploy - fix(convex): harden server-side outbound URL fetches against SSRF - docs(mobile): clarify release process and agent responsibilities - feat(mobile): stream file uploads from URI and release 1.0.45 - test: remove file upload functionality tests and update R2 configuration - refactor: migrate storage from Convex to R2 - chore: clean up legacy convex storage - feat: move file storage to r2 - Revert "refactor: consolidate public api into convex" - refactor: consolidate public api into convex - chore: release mobile 1.0.44 - feat(sentry): consolidate dsn configuration and add api dsn support - feat: add sentry coverage for mobile api and business events - fix: show offline screen on mobile - Merge pull request raycast#168 from praveenjuge/dependabot/npm_and_yarn/apps/raycast/npm_and_yarn-da0aa30ced - docs(safari-extension): add app store screenshots and update release guide - fix: sync mobile native theme - chore(deps): bump brace-expansion - chore(deps): bump easy patch and minor updates across monorepo - chore(mobile): remove unused dependencies - chore(deps): remove unused deps from web and desktop - chore: release 1.0.41 - feat: polish card composer capture - Rename Safari extension app and update docs - Replace app emojis with platform icons - fix: continue safari release when app store version is locked - feat: add safari app store release workflow - chore: release 1.0.39 - feat: cut over native auth handoff - fix: pin convex zod resolution - chore: update ultracite - Merge pull request raycast#167 from praveenjuge/detail/fix-docs/docs-mobile-correct-font-modifier-description-in-a-a33e9d - docs(mobile): correct font modifier description in AGENTS.md - chore(mobile): bump version to 1.0.27 - style(mobile): use rounded font design globally and improve recorder UI - chore(mobile): release v1.0.26 - feat(mobile): expand add-text sheet into full text area - chore: release v1.0.38 - chore: release v1.0.37 - chore: release v1.0.36 - ci(release): skip workflows when version already has release assets - fix(desktop): allow react 19.2.6 override for electron-builder traversal - fix(release): align convex-helpers pin and correct extension upload path - chore: release v1.0.35 - ci: add extension release workflow and update release docs - chore: remove .gitattributes file - docs: add mobile release process guide - chore(deps): bump convex, react, and expo packages - fix(mobile): restore sign-in session on relaunch - Upgrade Next.js to 16.2.6 for security release - docs(changelog): consolidate recent entries into fewer dates - Merge pull request raycast#165 from praveenjuge/detail/fix-docs/docs-correct-web-app-and-ui-package-references-in-4581f3 - docs: correct web app and UI package references in AGENTS.md - docs(changelog): enforce user-facing editorial rules - chore(release): v1.0.34 - feat(ui): unify drag/drop + upload across web and desktop - feat(metrics): wire Sentry Application Metrics across web, api, convex - fix: resolve Detail bug reports (raycast#160-raycast#164) - docs: enrich Starlight docs with Steps, Tabs, FileTree, and cards - refactor(api): inline dev-url helper, rename raycastHttp to publicApiHttp - docs(astro): reorganize sidebar navigation into collapsible sections - Merge pull request raycast#158 from praveenjuge/detail/fix-docs/docs-update-desktop-config-files-in-agents-md-c0faba - Merge pull request raycast#159 from praveenjuge/detail/fix-docs/docs-correct-desktop-auto-update-behavior-to-refle-d22cf0 - docs: correct desktop auto-update behavior to reflect visible progress - docs: update desktop config files in AGENTS.md - feat(desktop): visible progress for auto-update steps - fix(desktop): route electron import through createRequire to stop keychain prompt - chore: migrate desktop to electron-forge + electron 42, bump to 1.0.31
|
Thank you for the update! 🎉 We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days. |
Greptile SummaryThis PR adds browser-based OAuth (PKCE) sign-in as the primary authentication path for the Teak extension, while keeping existing API keys working as a fallback. The implementation carefully prevents background and AI-tool commands from ever opening the browser overlay unexpectedly.
Confidence Score: 5/5Safe to merge; the OAuth flow is well-structured and backward-compatible with existing API keys. The change is well-tested (58 unit tests), the interactive/non-interactive auth split is correctly implemented across all command types, and API key users are wholly unaffected. The only findings are messaging concerns in error strings rather than functional breaks. No files require special attention. Important Files Changed
Reviews (4): Last reviewed commit: "Update CHANGELOG.md" | Re-trigger Greptile |
…y-published 1.0.30 entry had its real store date (2026-05-06) reverted to {PR_MERGE_DATE}, which would re-stamp the historical entry with the merge date on the next store publish. Only the new top entry keeps the placeholder.
…e lock file still declared 1.0.45 and was missing the @raycast/utils dependency added for browser OAuth sign-in, so npm ci would fail on a package.json/lock mismatch. Regenerated the lock (lock-only).
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
* Update teak-raycast extension - docs(raycast): add browser sign-in changelog entry - chore: release 1.0.46 - Merge pull request raycast#176 from praveenjuge/feat/oauth-browser-signin - fix(raycast): run AI tools with non-interactive auth All headless Raycast AI tools (save, favorite, search, get, recent, tags) now pass interactive:false so they resolve auth from an API key or a stored/ refreshable OAuth session and never open the browser sign-in overlay from a background tool invocation. - fix(raycast): make no-view save fully non-interactive on 401 Thread a non-interactive auth mode through the request path: no-view save commands resolve the bearer from an API key or a stored/refreshable OAuth session only, and skip the interactive re-authorize retry on 401. A revoked or rejected token now surfaces an error instead of opening the browser sign-in overlay from a background command. - fix(raycast): resolve OAuth token non-interactively for no-view commands Add getStoredTeakAccessToken() which returns a usable access token without opening the sign-in overlay, silently refreshing an expired token via the refresh token and returning null when that fails. No-view save commands use it so a stale/revoked session prompts an explicit sign-in instead of launching interactive reauthorization from a background command. - fix(raycast): don\'t launch browser sign-in from no-view save commands No-view save commands (save text/clipboard/selection/browser tab) now check for usable credentials (API key or a stored OAuth session) without launching sign-in. When none exist they prompt the user to sign in from a view command (Search/Quick Save) instead of kicking off the browser OAuth overlay from the request helper. - fix(auth): resolve desktop logout race and MCP token CORS preflight - desktop: logoutNativeSession invalidates the live OAuth attempt so an in-flight completeDesktopOAuth callback cannot restore a session after the user signs out - web: answer the CORS preflight for /api/auth/mcp/* in middleware, since the Better Auth catch-all route does not reliably respond to OPTIONS (browser MCP clients preflight the token endpoint before exchanging a code) - fix(auth): address Greptile review for browser OAuth sign-in - convex/oauthTokens: accept 32-char alphanumeric opaque tokens (Better Auth\'s generator can include digits) and centralize the verified oauthAccessToken model/field names, shared with the desktop exchange path - convex/crons: run the first-party OAuth client seed every 15m and document that Convex runs an interval cron\'s first execution at deploy, so a fresh deployment seeds the clients at deploy time - ui/settings: show the API Keys section for keyless users so they can create their first key (API keys remain an alternative to browser sign-in) - raycast: no-view save commands no longer hard-require an API key; they route through the OAuth-aware request path. useTeakAuth checks for an existing session without launching sign-in, so opening a command no longer triggers the browser OAuth overlay as a side effect - desktop: guard the OAuth completion against the login-timeout race so a late callback can\'t sign in behind a timed-out UI; make sign-out local-only (no global Better Auth sign-out) so it doesn\'t sign the browser out - api/mcp: attach CORS headers to all /mcp responses (401 challenge, proxied auth errors, transport, 500) so browser MCP clients can read them - feat(auth): add browser-based OAuth sign-in across Raycast, desktop, and MCP/API Introduce a \'sign in with your browser\' flow so users no longer need to copy an API key to get started, while keeping existing API keys working. - raycast: OAuth PKCE flow via @raycast/utils, sign-in/out actions, optional API key - desktop: loopback OAuth callback (127.0.0.1:14203/24203); signing out of the desktop app no longer signs the user out in the browser - web: expose OAuth/OIDC discovery under /.well-known and metadata proxy - convex: seed first-party trusted public clients (teak-raycast, teak-desktop), oauth token handling, desktop OAuth, cron to keep clients in sync - api: MCP OAuth authorization support - docs: update api/mcp/raycast/desktop docs and add 2026-07-02 changelog - Merge pull request raycast#175 from praveenjuge/refactor/unified-import-export-settings - fix(ui): surface import report/cancel errors and decouple import from export handlers - fix(ui): make interrupted-upload resume prompt reachable in import panel - refactor(ui): unify settings import and export into a tabbed dialog - feat(docs): add favicon and apple touch icon assets - Merge pull request raycast#174 from praveenjuge/refactor/ui-utils-and-jsonld-hardening - refactor(ui): extract shared utils and harden JSON-LD output - chore(deps): upgrade docs dependencies and lock file - docs: merge May and June changelogs into one entry each - Merge pull request raycast#173 from praveenjuge/add-raindrop-import - feat(import): add Raindrop CSV import Add a Raindrop import mode alongside the existing bookmarks and archive imports. Raindrop CSV exports are parsed into the shared bookmark item shape so they reuse the same downstream normalization, dedupe, and indexing as the HTML bookmark importer. - New RFC-4180 CSV parser and Raindrop mapper (url, title, note, tags, folder, created, favorite) - Refactor runImport to share indexParsedBookmarks across bookmark modes - Validate raindrop uploads (.csv, 20 MiB cap, text/csv content type) - Extend schema import mode validator + UI dialog entry - Tests for the parser and dialog contract - fix(settings): clarify import section label - Merge pull request raycast#172 from praveenjuge/add-settings-import-feature - fix: address import review feedback - feat: add settings data import - fix(docs): align vercel vite resolution - fix(docs): use vercel-compatible bun lockfile - chore: add steering guide for git commit and push workflow - chore: upgrade dependencies across all workspaces - Document data export and pin docs dev port - Merge pull request raycast#171 from praveenjuge/feat/data-export - fix: address Greptile review on data export - feat: add settings data export for web and desktop - Merge pull request raycast#170 from praveenjuge/codex/legacy-api-key-analytics - fix: preserve static card endpoint analytics - feat: track legacy api key usage - Merge pull request raycast#169 from praveenjuge/plan-api-key-migration - fix: address api key review comments - fix: surface raycast api config errors - fix: start local api dev server - fix: identify missing raycast dev api gateway - fix: log raycast api failures - fix: clarify raycast not found errors - feat: migrate API key management - fix(raycast): patch esbuild advisory - chore: remove Tauri leftovers and update store URLs - docs: update iOS App Store link and tidy mobile docs table - docs: refresh README and add testimonials to landing page - docs(apps-grid): update Chrome extension URL with proper title - chore: upgrade biome/ultracite and reformat repo - fix(api): cap bulk card requests to prevent workflow fan-out - fix(convex): bound public API auth abuse from rotating bearer tokens - fix(convex): throttle API key lastUsedAt writes on validation - fix(raycast): preserve multi-word tags in search filters - fix(convex): clamp card search limits and visual filter fanout - fix(link-preview): send only hostname to favicon service - fix(convex): correct public API pagination on exact-full pages - fix(web): harden next redirect against open-redirect bypass - feat(security): enforce http/https-only card URLs - fix(convex): keep ssrf guard out of the v8 isolate bundle - fix(convex): run ssrf guard in node runtime to fix convex deploy - fix(convex): harden server-side outbound URL fetches against SSRF - docs(mobile): clarify release process and agent responsibilities - feat(mobile): stream file uploads from URI and release 1.0.45 - test: remove file upload functionality tests and update R2 configuration - refactor: migrate storage from Convex to R2 - chore: clean up legacy convex storage - feat: move file storage to r2 - Revert "refactor: consolidate public api into convex" - refactor: consolidate public api into convex - chore: release mobile 1.0.44 - feat(sentry): consolidate dsn configuration and add api dsn support - feat: add sentry coverage for mobile api and business events - fix: show offline screen on mobile - Merge pull request raycast#168 from praveenjuge/dependabot/npm_and_yarn/apps/raycast/npm_and_yarn-da0aa30ced - docs(safari-extension): add app store screenshots and update release guide - fix: sync mobile native theme - chore(deps): bump brace-expansion - chore(deps): bump easy patch and minor updates across monorepo - chore(mobile): remove unused dependencies - chore(deps): remove unused deps from web and desktop - chore: release 1.0.41 - feat: polish card composer capture - Rename Safari extension app and update docs - Replace app emojis with platform icons - fix: continue safari release when app store version is locked - feat: add safari app store release workflow - chore: release 1.0.39 - feat: cut over native auth handoff - fix: pin convex zod resolution - chore: update ultracite - Merge pull request raycast#167 from praveenjuge/detail/fix-docs/docs-mobile-correct-font-modifier-description-in-a-a33e9d - docs(mobile): correct font modifier description in AGENTS.md - chore(mobile): bump version to 1.0.27 - style(mobile): use rounded font design globally and improve recorder UI - chore(mobile): release v1.0.26 - feat(mobile): expand add-text sheet into full text area - chore: release v1.0.38 - chore: release v1.0.37 - chore: release v1.0.36 - ci(release): skip workflows when version already has release assets - fix(desktop): allow react 19.2.6 override for electron-builder traversal - fix(release): align convex-helpers pin and correct extension upload path - chore: release v1.0.35 - ci: add extension release workflow and update release docs - chore: remove .gitattributes file - docs: add mobile release process guide - chore(deps): bump convex, react, and expo packages - fix(mobile): restore sign-in session on relaunch - Upgrade Next.js to 16.2.6 for security release - docs(changelog): consolidate recent entries into fewer dates - Merge pull request raycast#165 from praveenjuge/detail/fix-docs/docs-correct-web-app-and-ui-package-references-in-4581f3 - docs: correct web app and UI package references in AGENTS.md - docs(changelog): enforce user-facing editorial rules - chore(release): v1.0.34 - feat(ui): unify drag/drop + upload across web and desktop - feat(metrics): wire Sentry Application Metrics across web, api, convex - fix: resolve Detail bug reports (raycast#160-raycast#164) - docs: enrich Starlight docs with Steps, Tabs, FileTree, and cards - refactor(api): inline dev-url helper, rename raycastHttp to publicApiHttp - docs(astro): reorganize sidebar navigation into collapsible sections - Merge pull request raycast#158 from praveenjuge/detail/fix-docs/docs-update-desktop-config-files-in-agents-md-c0faba - Merge pull request raycast#159 from praveenjuge/detail/fix-docs/docs-correct-desktop-auto-update-behavior-to-refle-d22cf0 - docs: correct desktop auto-update behavior to reflect visible progress - docs: update desktop config files in AGENTS.md - feat(desktop): visible progress for auto-update steps - fix(desktop): route electron import through createRequire to stop keychain prompt - chore: migrate desktop to electron-forge + electron 42, bump to 1.0.31 * docs(raycast): restore real date on 1.0.30 changelog entry The already-published 1.0.30 entry had its real store date (2026-05-06) reverted to {PR_MERGE_DATE}, which would re-stamp the historical entry with the merge date on the next store publish. Only the new top entry keeps the placeholder. * fix(raycast): sync package-lock with 1.0.46 and add @raycast/utils The lock file still declared 1.0.45 and was missing the @raycast/utils dependency added for browser OAuth sign-in, so npm ci would fail on a package.json/lock mismatch. Regenerated the lock (lock-only). * Update CHANGELOG.md --------- Co-authored-by: raycastbot <[email protected]>
Description
Updates the Teak extension to add browser-based sign-in.
Validation
ray buildsucceeds (8 commands + 6 AI tools compile, TS defs generated).ray lintclean (package.json, icons, metadata, ESLint, Prettier).bun test).Screencast
Screen.Recording.2026-07-03.at.12.58.10.mov
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder