Skip to content

Update Teak: clearer sign-in message - #33790

Merged
raycastbot merged 4 commits into
raycast:mainfrom
praveenjuge:ext/teak-raycast
Nov 21, 2026
Merged

raycastbot merged 4 commits into
raycast:mainfrom
praveenjuge:ext/teak-raycast

Conversation

@praveenjuge

@praveenjuge praveenjuge commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Description

Teak's Raycast extension now tells you plainly when a browser sign-in has expired or was disconnected. Extension version 1.0.95, on the published teak-sdk 1.0.93 (was 1.0.87).

Fix:

  • A rejected browser sign-in now shows "Your Teak sign-in has expired or was disconnected. Sign in again to continue." Before, it reported an invalid API key and pointed at Manage API Keys, which is the wrong fix for someone who signed in with their browser. A rejected API key keeps its own message.

No behavior change:

  • Error codes, sort options and card types come from teak-sdk instead of local copies, and the response parsers are simpler for it.
  • Card link parsing moves to src/lib/teakCardLinks.ts, generated from the rules Teak's other clients use.
  • Comments that restated the code are removed across the source, which is most of the line count.

Store listing:

Changelog: a new [Clearer sign-in message] - {PR_MERGE_DATE} entry.

Source matches Teak main (apps/raycast) at v1.0.95 plus praveenjuge/teak#1070, which corrected this changelog entry and took the description from #33598, and praveenjuge/teak#1071, which keeps the store's current images.

Screencast

No UI layout changes, and the store images are unchanged. The only visible change is the wording of one error message, quoted above.

Checklist

Validation, from this folder copied outside the monorepo at v1.0.95:

  • npm ci, tsc --noEmit, ray build and ray lint pass.
  • The extension's 286 tests pass.
  • The changes since that run touch only CHANGELOG.md, the description line in package.json and the six images in metadata/. ray publish validated and linted the final folder before pushing it.
  • The distribution build wasn't installed in Raycast separately, so the third box is unticked.

- Merge branch \'contributions/merge-1795200700919\' into raycast-publish-1.0.95
- Pull contributions
- chore(release): 1.0.95 (raycast#1069)
- chore(auth): point production at the teak.authkit.app issuer (raycast#1068)
- fix(core-worker): move off the Workers AI models retired on 2026-11-20
- chore(convex): remove the search read counter (raycast#1067)
- feat(analytics): add api_request, card limit, upgrade, signup and card events
- fix(analytics): stop server GeoIP, report lockstep versions, price Whisper
- feat(analytics): send catalog events from the iPhone, iPad, Mac and Android apps
- ci(android): fail a release whose R8 mapping PostHog doesn\'t have
- test(e2e): expect a link\'s run to complete when its page can\'t be fetched (raycast#1066)
- fix(web): end placeholders and loading lines with a real ellipsis (raycast#1065)
- chore(release): 1.0.94 (raycast#1064)
- fix(core-worker): archive more pages and say why a copy failed
- fix(analytics): identify every surface with the canonical Teak user id
- fix(search): show the closest cards by meaning when the words match nothing
- fix(core-worker): finish a link\'s run when its page can\'t be fetched
- fix(android): stop the channel-closed crash at sign-in and sign-out, and drop reports from Play\'s test device
- ci(e2e): drop the iPhone and iPad flows from the E2E workflow
- ci(e2e): run the iPhone and iPad flows against a stack without the web app
- test(convex): keep the suite passing when other tests share the CPU
- test(web): hold the clock still in the tag-overlay and context-menu tests
- test(web): wait for the folder dialog\'s code in SidebarFolders tests
- feat(web): mark the Pinned row with a soft panel and pin badge
- fix(web): give every pinned card the same height
- feat(web): fit text cards to their content and show link pictures whole
- fix(extension): save from the right-click menu where the popup can\'t open (raycast#1063)
- fix(apple): fix link hosts, search capitals, iPad sidebar and Revisit sizing
- fix(apple): render Markdown emphasis, code and long notes properly
- feat: use Allo on every Teak surface (raycast#1061)
- test: prune tests that guard no behavior (raycast#1060)
- fix(mcp): count cards, tags and ids in proper English (raycast#1059)
- feat(core-worker): run the last two cleanup crons from the Worker (raycast#1058)
- feat(core-worker): trace every invocation (raycast#1057)
- feat(web): try Allo as the interface font (raycast#1052)
- fix(apple): keep Mark as done in the bar on iPhone link cards (raycast#1056)
- fix(apple,web): iPhone E2E flows pass again, and next 16.4.5 (raycast#1055)
- fix(extension): say why tags or a note didn\'t save, in the popup\'s language (raycast#1054)
- fix(web): offer Clear search when Find a tag matches nothing (raycast#1051)
- test(core-worker): hash a fake R2 object only when its etag is read (raycast#1050)
- fix(convex): name the accepted values for an unknown type, style or hue filter (raycast#1049)
- test(e2e): wait for the saved language in the Language spec (raycast#1048)
- chore(agents): drop references to files and skills the repo doesn\'t have
- test(core-worker): start the rendering tests\' Chrome with a fresh profile (raycast#1046)
- fix(cli): name file cards in listings instead of leaving a blank cell (raycast#1045)
- test(e2e): match the visible Birds search box in the folder rules spec (raycast#1044)
- fix(extension): say why a save failed in the popup\'s language (raycast#1042)
- fix(web): count every card step press while a save check is pending (raycast#1041)
- fix(web): offer the whole library when a search in one view finds nothing (raycast#1040)
- refactor: untangle the backend, Core Worker and web app (raycast#1038)
- test(e2e): wait for the folder page before reading the filed card (raycast#1039)
- test(e2e): allow 90s for the filed-card click on the folder page (raycast#1036)
- test(e2e): wait for card dialog close before restore-me assertions (raycast#1035)
- test(e2e): wait for the cleared search before the keyboard handoff (raycast#1031)
- fix(convex): say what is wrong with an MCP tool argument in plain words (raycast#1037)
- fix(sdk): say you are not signed in when there is no credential at all (raycast#1034)
- test(e2e): reopen the palette until it opens in the Export palette spec (raycast#1033)
- perf(core-worker): batch card-processing calls to Convex (raycast#1030)
- perf(convex): check API keys once and read-only, and send the extension through the edge (raycast#1029)
- perf(convex): read one day of cards in the admin snapshot and slow dev crons (raycast#1028)
- test(e2e): click the filed card by its button name in the folder rules spec (raycast#1027)
- feat(cli): follow the CLI guidelines for safety, errors and help (raycast#1025)
- test(e2e): wait for the hydrated mobile drawer state before toggling the sidebar (raycast#1004)
- fix(web): app links in Settings are named by what they show (raycast#1024)
- docs(mcp): say what cardType: text does on create_card (raycast#1023)
- refactor: untangle the backend, clients, web, Core Worker and tooling (raycast#1022)
- refactor(repo): remove unused and redundant dependencies (raycast#1021)
- fix: name the client behind API saves, Spotify titles, and pins after Undo (raycast#1019)
- refactor(convex): Worker fetchers out of Convex, and one shape for dev seed packs (raycast#1018)
- refactor(repo): one source each for the stack state, CI setup, deployment facts and repeated lists (raycast#1016)
- refactor(card): untangle card-2 (raycast#1017)
- refactor(convex): one way to write a card, and errors that stay errors (raycast#1014)
- refactor(repo): make scripts/ a Turbo workspace so verify runs the cross-workspace checks (raycast#1015)
- refactor(convex): declare each public API operation once and derive REST, MCP, OpenAPI and client constants from it (raycast#1013)
- refactor(web): run card actions, edits and URL state from one place each (raycast#1012)
- refactor(core-worker): one shared Convex ↔ Core Worker boundary and card-processing contract (raycast#1011)
- refactor(native): one constants manifest and shared test rows for the Apple, Android and Raycast ports (raycast#1010)
- feat(android): submit every release to Google Play automatically (raycast#1009)
- test(e2e): fix four specs that drifted from the app so main\'s E2E goes green (raycast#1008)
- chore(release): 1.0.93 (raycast#1007)
- feat(cli): clearer errors, scriptable output and safer commands (raycast#1006)
- fix(web,convex): keep shared text and credentials out of PostHog telemetry (raycast#1005)
- feat(web): card tiles that line up in the grid (raycast#1003)
- fix(convex): refuse an invalid public API limit instead of clamping it (raycast#1002)
- test(e2e): repair Nov 4 journeys failures (MCP tool list, pinning OCC race) (raycast#992)
- test(e2e): repair spec-lag assertions for the reworked search chips, card dialogs and Settings UI (raycast#989)
- feat(convex,web): self-hosted Teak can run without billing (raycast#1001)
- docs: tidy the docs and rewrite the changelog for users (raycast#1000)
- feat(web): self-hosted web apps can opt in to their own analytics (raycast#999)
- feat(core-worker): self-hosted AI calls use the default AI Gateway (raycast#998)
- feat(core-worker): deploy a self-hosted Core Worker without editing its config (raycast#997)
- fix(web): Tags rows and error banners pass accessibility checks (raycast#996)
- fix(web): drop Undo from the undone folder rule run toast (raycast#995)
- docs(android): changelog, runbook and starter card for the Play launch (raycast#994)
- feat(docs,web): link Teak on Google Play and add an Android docs page (raycast#993)
- feat(web): folder rules in the Edit folder dialog (raycast#990)
- feat(convex,sdk,cli): folder rules in the API, MCP, SDK and CLI (raycast#976)
- feat(convex): folder rules that tag and file cards (raycast#975)
- feat(web): pin up to 12 cards to the top of the library (raycast#983)
- fix(docs): Mac App Store links open the Mac listing
- fix(web): narrow-screen layouts, tags shown as typed, and tag errors beside the field (raycast#988)
- feat(web): save a search that found nothing as a note (raycast#987)
- refactor(web): code cleanup from the audit (C1–C5) (raycast#986)
- fix(core-worker): wiki articles open on their text, and table cells keep their spaces (raycast#985)
- feat(core-worker): send each link screenshot\'s size (raycast#984)
- feat: link tiles skip near-blank screenshots (raycast#982)
- fix(deps): bump vite to 8.2.4 and override minimatch to ^11.0.1
- fix(cli): say when a listing is empty instead of printing a blank line (raycast#981)
- perf(web): load less, paint the app\'s frame first, and settle media (raycast#980)
- fix(web): say what failed and keep what people made (raycast#979)
- fix(web): adding cards and card menus on phones, tablets and narrow windows (raycast#978)
- fix(web): keyboard and screen-reader access for cards, saves and Revisit (raycast#977)
- fix(web): clearer copy, tab titles and empty states (raycast#974)
- fix: Mac upgrades open Plan, translated extension limit tooltip, one source for Pro prices (raycast#973)
- feat(web): list-style Settings pages (raycast#972)
- fix(convex): keep a meaning match that holds only some of the words "related by meaning" (raycast#971)
- fix(web,convex,core-worker): bug-bash fixes across capture, cards, search, settings and imports (raycast#968)
- fix(web): stop the collapsed sidebar from widening on hover (raycast#970)
- fix(convex): page signed-in devices with WorkOS\'s bare ULID cursor (raycast#969)
- fix(convex): keep word matches out of "related by meaning" in hybrid search (raycast#967)
- test(core-worker): resume export archives with small parts instead of 33 MiB (raycast#966)
- feat(apple): capture notes and voice memos in their own Mac windows (raycast#965)
- fix(web,sdk): keep an early-opened app open, download trashed files, and refresh sign-in settings past the cache (raycast#964)
- chore: prune comments that restate the code, and plan the refactors for the rest (raycast#963)
- chore(release): wait for npm attestations, start the Mac sooner, and add a release skill (raycast#962)
- feat(extension): show what you save in a calmer popup (raycast#961)
- ci(release): publish the MCP Registry and build Android with its mapping on every version tag (raycast#960)
- fix(raycast): keep trashed cards out after a late save, and cover palette requests (raycast#959)
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: teak-raycast Issues related to the teak-raycast extension AI Extension platform: macOS OP is author The OP of the PR is the author of the extension labels Nov 20, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

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-apps

greptile-apps Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge, with the previously reported card-link display issue remaining non-blocking.

Findings

  1. P2 Inline code breaks later links ▶
Fix with agent prompt
### Issue 1
extensions/teak-raycast/src/lib/teakCardLinks.ts:undefined-11
A line such as ```` ```code``` ```` is an inline code span, but `FENCE_REGEX` treats it as the start of a fenced block. Without a later closing fence, `maskCode` hides every following paragraph from the link parser. Users then see literal `[[Title|teak:id]]` text instead of clickable card links.

Reject backtick fence openers whose remaining text contains backticks, and let `maskCodeSpans` handle that line.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

Updates Teak's expired browser sign-in message and uses shared SDK types and card-link rules.

  • Expired browser sign-ins now ask people to sign in again.
  • The extension’s API calls and types now come from the shared Teak SDK.
  • Card links now follow Teak’s shared Markdown rules.

Reviews (4) · Last reviewed commit: "Update CHANGELOG.md" · Reviewed by Greptile

const TOKEN_REGEX = new RegExp(CARD_LINK_PATTERN.source, "g");
const TITLE_UNSAFE_REGEX = /[|\]\r\n]+/g;
const SPACES_REGEX = /\s+/g;
const FENCE_REGEX = /^ {0,3}(`{3,}|~{3,})/;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Inline code breaks later links

A line such as ```code``` is an inline code span, but FENCE_REGEX treats it as the start of a fenced block. Without a later closing fence, maskCode hides every following paragraph from the link parser. Users then see literal [[Title|teak:id]] text instead of clickable card links.

Reject backtick fence openers whose remaining text contains backticks, and let maskCodeSpans handle that line.

Prompt To Fix With AI
This is a comment left during a code review.
Path: extensions/teak-raycast/src/lib/teakCardLinks.ts
Line: 11

Comment:
**Inline code breaks later links**

A line such as ```` ```code``` ```` is an inline code span, but `FENCE_REGEX` treats it as the start of a fenced block. Without a later closing fence, `maskCode` hides every following paragraph from the link parser. Users then see literal `[[Title|teak:id]]` text instead of clickable card links.

Reject backtick fence openers whose remaining text contains backticks, and let `maskCodeSpans` handle that line.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

- Merge remote-tracking branch \'origin/main\' into raycast-publish-1.0.95
- fix(raycast): correct the 1.0.95 changelog and take the store\'s description (raycast#1070)
@praveenjuge praveenjuge changed the title Update teak-raycast extension Update Teak: clearer sign-in message Nov 20, 2026
@praveenjuge
praveenjuge marked this pull request as ready for review November 20, 2026 19:08
- Merge remote-tracking branch \'origin/main\' into raycast-publish-1.0.95
- fix(raycast): keep the store\'s current screenshots until new ones pass its check (raycast#1071)
@0xdhrv 0xdhrv self-assigned this Nov 21, 2026

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 01225bf into raycast:main Nov 21, 2026
2 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Extension extension fix / improvement Label for PRs with extension's fix improvements extension: teak-raycast Issues related to the teak-raycast extension OP is author The OP of the PR is the author of the extension platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants