Repository navigation
Add caviarde extension - #30380
Add caviarde extension#30380
Conversation
- chore: trim files the store has no use for - build: refresh both lockfiles onto the same resolution (raycast#3) - docs: make the install path directive and unambiguous (raycast#2) - docs: add a social preview card (raycast#1) - ci: pin actions by commit and narrow the workflow token - docs: record what ray publish demands of the lockfiles - build: build for the distribution environment - docs: keep assets to what the extension loads at runtime - docs: stop defining the tool by support tickets - build: add the npm lockfile the store expects - docs: move the README screenshot out of metadata - docs: add the store screenshot and refresh the README - fix: title-case the Set up Detector command - fix(detector): disable the healthcheck the pinned image cannot run - feat(setup): turn Set Up Detector into a progress view - fix(detector): give docker the PATH its credential helper needs - fix(test): read compose.yaml without import.meta - docs: rewrite the README and add a changelog - fix: phrase the partial HUD as a mode, not a fault - feat: add the Set Up Detector command - refactor: ship the detector patch as an extension asset - ci: check lint, types and tests on push - docs: document the architecture, limits and image audit - feat: add the extension icon - build: pin and patch the detector image - feat: add the Mask and Paste command - feat(detection): propagate first names from full names - feat(detection): add the semantic layer over HTTP - feat(masking): assign and apply placeholders - feat(detection): add the deterministic layer - chore: scaffold the Raycast extension
|
Congratulations on your new Raycast extension! 🚀 We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days. Once the PR is approved and merged, the extension will be available on our Store. |
|
- chore: drop the pnpm lockfile for publishing - chore: drop the CLAUDE.md symlink for publishing - chore: drop metadata and record what publishing needs (raycast#5) - fix: stop masking Luhn-valid identifiers and honour the detector port (raycast#4) - build: refresh both lockfiles onto the same resolution (raycast#3) - docs: make the install path directive and unambiguous (raycast#2) - docs: add a social preview card (raycast#1) - ci: pin actions by commit and narrow the workflow token - docs: record what ray publish demands of the lockfiles - build: build for the distribution environment - docs: keep assets to what the extension loads at runtime - docs: stop defining the tool by support tickets - build: add the npm lockfile the store expects - docs: move the README screenshot out of metadata - docs: add the store screenshot and refresh the README - fix: title-case the Set up Detector command - fix(detector): disable the healthcheck the pinned image cannot run - feat(setup): turn Set Up Detector into a progress view - fix(detector): give docker the PATH its credential helper needs - fix(test): read compose.yaml without import.meta - docs: rewrite the README and add a changelog - fix: phrase the partial HUD as a mode, not a fault - feat: add the Set Up Detector command - refactor: ship the detector patch as an extension asset - ci: check lint, types and tests on push - docs: document the architecture, limits and image audit - feat: add the extension icon - build: pin and patch the detector image - feat: add the Mask and Paste command - feat(detection): propagate first names from full names - feat(detection): add the semantic layer over HTTP - feat(masking): assign and apply placeholders - feat(detection): add the deterministic layer - chore: scaffold the Raycast extension
pernielsentikaer
left a comment
There was a problem hiding this comment.
Hi @Gldywn 👋 Thanks for your contribution 💪
We already have RedactCast in the Store by @TheMax98000, which masks sensitive clipboard data before it goes to AI tools.
Caviarde’s broader detection coverage and optional semantic detection are meaningful differences. Our preference would be to explore bringing those improvements into RedactCast rather than adding a second extension with the same core workflow. Would you be open to contributing there?
I appreciate that the one-way design differs from RedactCast’s Rehydrate workflow. If that makes combining them impractical, could you explain why? That would help us assess whether a separate listing makes sense. The local container detector would also need further review on our side.
I’ll convert this PR into a draft after submitting this review. Please press Ready for review when it’s ready and we’ll have a look 😊
|
Hi @pernielsentikaer 👋 and thanks for the review! RedactCast is a good extension and Rehydrate is a genuinely useful idea but here's why I'd still rather ship this one on its own. What I'm trying to build is a detection base that keeps growing by country. I started with the French ones, SIREN, SIRET, French phone formats, because that's what I needed daily, and the whole point is that someone else adds their national ID, their tax number, their local bank formats, etc. So, to answer your question, I'd rather not. Nothing against RedactCast, it's just where I want to put my own time 😅 The rest follows from that. The deterministic layer validates what it matches with real checksums, and it deliberately leaves technical identifiers alone so masked text still works in a database query. It's masking, not anonymisation, and I don't claim otherwise. The optional detector is the part I care most about. A rule only finds what someone already described, and a list only holds names someone already typed in. GLiNER reads the sentence, so it catches a person in "Please send this to Camille Rousseau" with nothing configured beforehand (It's probabilistic and can miss people). Keeping it one way is the same kind of choice as the licence. You're right that the two could technically be combined. I'd rather not build the reversible path at all. I know the container is extra work for you to review, and I'm happy to answer anything you need on it. It runs only the detector service out of PasteGuard's Apache-2.0 image, not their proxy, and the only thing I add on top is one three line patch you can read in a few seconds. It's pinned by sha256 digest, bound to 127.0.0.1, read only, all capabilities dropped, no-new-privileges. A few limits worth stating up front. My audit of the image was static, the image isn't signed and its build isn't reproducible. The detector holds submitted text in memory for as long as the container runs. Above 6,000 characters, or when the detector isn't up, the paste goes out with the deterministic layer alone and the HUD says so. So I'd much rather keep Caviarde as its own extension if possible 🙏 |
pernielsentikaer
left a comment
There was a problem hiding this comment.
Hi @Gldywn 👋 Thanks for explaining the differentiation—we’re happy to continue reviewing Caviarde as a separate extension.
Two parts of the earlier Greptile fixes still need attention:
- The detector can return
CREDIT_CARDfor Luhn-valid timestamps such as1735689600005. Please apply the same issuer validation to detector-returned card spans so enabling semantic detection doesn’t undo the identifier-preservation fix. - Managed setup accepts HTTPS, IPv6 loopback and URL prefixes, but starts plain HTTP on
127.0.0.1. Could you restrict managed setup to supported endpoints, or make the launched service match them?
Please also add a native screenshot of Set up Detector in metadata, using Window Capture → Save to Metadata.
I’ll convert this PR into a draft after submitting this review. Please press Ready for review when it’s ready and we’ll have a look 😊
- chore: trim for publishing - feat: refine setup details, HUD messages and demo media (raycast#10) - docs: add the store screenshot of Set up Detector (raycast#9) - build: bump vitest to 4.1.11 for GHSA-82fw-gwwq-j7x9 (raycast#8) - fix: validate detector spans and restrict the managed endpoint (raycast#7) - docs: write the publish sequence down as a sequence (raycast#6) - chore: drop metadata and record what publishing needs (raycast#5) - fix: stop masking Luhn-valid identifiers and honour the detector port (raycast#4) - build: refresh both lockfiles onto the same resolution (raycast#3) - docs: make the install path directive and unambiguous (raycast#2) - docs: add a social preview card (raycast#1) - ci: pin actions by commit and narrow the workflow token - docs: record what ray publish demands of the lockfiles - build: build for the distribution environment - docs: keep assets to what the extension loads at runtime - docs: stop defining the tool by support tickets - build: add the npm lockfile the store expects - docs: move the README screenshot out of metadata - docs: add the store screenshot and refresh the README - fix: title-case the Set up Detector command - fix(detector): disable the healthcheck the pinned image cannot run - feat(setup): turn Set Up Detector into a progress view - fix(detector): give docker the PATH its credential helper needs - fix(test): read compose.yaml without import.meta - docs: rewrite the README and add a changelog - fix: phrase the partial HUD as a mode, not a fault - feat: add the Set Up Detector command - refactor: ship the detector patch as an extension asset - ci: check lint, types and tests on push - docs: document the architecture, limits and image audit - feat: add the extension icon - build: pin and patch the detector image - feat: add the Mask and Paste command - feat(detection): propagate first names from full names - feat(detection): add the semantic layer over HTTP - feat(masking): assign and apply placeholders - feat(detection): add the deterministic layer - chore: scaffold the Raycast extension
|
Hey @pernielsentikaer 👋, thanks for the follow-up review!
The empty titles on Also the setup details and HUD messages have also been clarified 👍 |
pernielsentikaer
left a comment
There was a problem hiding this comment.
Looks good to me, approved 🔥
|
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. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e5dce6c. Configure here.
| const inFlight = readPullProgress(logPath); | ||
| // A pull left running by an earlier window is followed rather than restarted. | ||
| if (inFlight === null || inFlight.finished || inFlight.error !== null) | ||
| startPull(docker, logPath); |
There was a problem hiding this comment.
Stale pull log hangs download
Medium Severity
pullImage treats any existing pull.log without a Status: line or failure keyword as an active download and never starts a new docker pull. readPullProgress returns a progress object for an empty or truncated log rather than null, and nothing checks that the detached pull is still running. After a sleep, a killed daemon, or a failed spawn, Set up Detector stays on Downloading and later retries keep following the dead log.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit e5dce6c. Configure here.
| } catch { | ||
| // Nothing to remove is the normal case. | ||
| } | ||
| } |
There was a problem hiding this comment.
Retry kills starting detector
Medium Severity
removeStoppedContainer runs docker rm -f, which kills a still-starting managed container. Setup waits only about 60 seconds for /health, then tells the user to run Set up Detector again. A retry while the model is still loading force-deletes that container and starts load over, so a slow first boot never becomes ready.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit e5dce6c. Configure here.


Description
Caviarde masks personal data in the clipboard, then pastes the result with one keyboard shortcut.
The deterministic layer detects structured data such as emails, phone numbers, IBANs, cards and secrets. Cards require both a valid checksum and a recognised issuer prefix. Technical identifiers such as timestamps, UUIDs, git SHAs and loopback addresses are deliberately preserved.
An optional PasteGuard detector adds contextual detection of people, places and organisations. The default setup runs locally. Configuring a remote Detector URL sends text to that endpoint. When semantic detection is unavailable, masking continues with the deterministic layer and the HUD identifies the categories not checked.
Placeholders are numbered and stable within each paste. The extension does not persist mappings or provide an unmask command. Detection is best-effort, not anonymisation.
Commands
The managed container binds to the configured port on 127.0.0.1, runs read-only, drops all capabilities and enables no-new-privileges. The image is pinned by SHA-256 digest.
Changes following review
toSettings.Validation
Screencast
The recording shows fictional names, an email and a phone number being masked. Repeated names retain their placeholder; the order number and loopback address remain unchanged.
Store screenshots
Set up Detector with the local detector running:
Detector image details and update policy:
Container runtime discovery:
Checklist
Note
Medium Risk
New extension reads and rewrites clipboard content and can start a local container or POST text to a user-configured detector URL; behaviour is covered by tests but clipboard and optional network paths are sensitive.
Overview
Adds the Caviarde Raycast extension under
extensions/caviarde/: a local-first clipboard workflow that masks PII and secrets, then pastes numbered placeholders (e.g.[PERSON_1],[EMAIL_1]).Mask and Paste runs an in-process deterministic layer (emails, phones, IBAN/cards with issuer+checksum guards, French SIREN/SIRET, secrets,
@mentions) and optionally calls a local PasteGuard detector for people, locations, and organisations. Spans are merged (deterministic wins overlaps), first names are propagated from full names, and the HUD reports what was masked or that semantic categories were skipped when the detector is down or text is over the size cap.Set up Detector is a Raycast UI that discovers Docker (or similar), pulls a digest-pinned image, mounts an organisation-detection patch, and starts a hardened loopback-only container on the port from preferences.
compose.yaml, docs, and a large Vitest suite (including live-detector integration tests that skip when offline) ship with the extension.Reviewed by Cursor Bugbot for commit e5dce6c. Configure here.