Skip to content

Add local Chrome extension capture handoff#378

Draft
h4yfans wants to merge 1572 commits into
mainfrom
chrome-extension-capture
Draft

Add local Chrome extension capture handoff#378
h4yfans wants to merge 1572 commits into
mainfrom
chrome-extension-capture

Conversation

@h4yfans
Copy link
Copy Markdown
Collaborator

@h4yfans h4yfans commented May 13, 2026

Summary

  • Adds a Manifest V3 Chrome extension for page, quote, link, image, audio, video, and PDF capture.
  • Adds a local native messaging host that writes captures to a durable local handoff folder and launches Memry, so captures still work when Memry is closed.
  • Imports pending captures into the desktop inbox when a vault opens or while Memry is running, with clip/PDF domain and IPC support.
  • Documents the local browser capture path and keeps it out of cloud handoff.

Verification

  • pnpm --filter @memry/desktop exec vitest run --config config/vitest.config.ts --project shared ../../packages/contracts/src/extension-capture-api.test.ts ../../packages/domain-inbox/src/commands.test.ts
  • pnpm --filter @memry/desktop exec vitest run --config config/vitest.config.ts --project main src/main/capture-handoff/importer.test.ts src/main/inbox/domain.test.ts src/main/ipc/inbox-handlers.test.ts
  • pnpm test:chrome-extension && node --test apps/desktop/native-host/host-core.test.mjs
  • pnpm --filter @memry/desktop typecheck
  • pnpm --filter @memry/desktop lint
  • pnpm docs:impact --strict
  • pnpm docs:build

h4yfans added 30 commits May 1, 2026 20:53
# Conflicts:
#	apps/desktop/src/renderer/src/pages/note.tsx
…iders

- Reject UUID-shaped dimension values + UUID-shaped sources at the contract layer
- Cap dimensions at one entry per event (matches WAE blob slot layout)
- Move search source ('quick'|'global') from dimensions to the top-level event field
- Detect vault_created via getVaults() fallback when path was undefined at call time
- New telemetry/state module exposes auth/sync state providers backed by store + sync runtime
- Hoist sync error classifier to module scope
- Replace `uniq(index1)` with `count(DISTINCT index1)` for accurate counting of unique installs and events.
- Introduce new SQL queries to track sync runs and errors over time, enhancing telemetry insights.
- Update existing queries to reflect changes in event tracking and ensure consistency across metrics.
…lity checks

- Introduced `lint-staged` to format staged files with Prettier before commit.
- Added pre-commit hook to check for staged secrets and renderer guardrails.
- Created scripts for scanning staged files for potential secrets and enforcing renderer guard rules.
- Updated `package.json` and `pnpm-lock.yaml` to include new dependencies and scripts.
…rkflow

- Modified CI workflow to upload coverage reports to Codecov with improved conditions.
- Removed the obsolete sync server deploy workflow file, streamlining the CI/CD process.
- Removed the deprecated desktop draft release workflow.
- Updated the stable release workflow to trigger on specific tag patterns and improved metadata handling.
- Added `zod` dependency to the `rpc` package and updated the lock file accordingly.
- Enhanced the desktop release metadata script to support new date formats and improved validation logic.
- Updated instances of "memry" to "Memry" in README.md, configuration files, email templates, and localization settings for consistency.
- Deleted various GitHub workflows including CI, E2E tests, release drafter, and security audit.
- Removed pull request template and contract boundary check scripts to streamline repository management.
- Updated all instances of "memry" to "Memry" in documentation, code comments, and test files for consistency and improved branding.
- Adjusted references in CHANGELOG.md, seed-notes-data.ts, and various prompts to reflect the correct capitalization.
- Updated references to "memry" to "Memry" in various documentation and code files to ensure consistent branding across the project.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
memry-docs Ready Ready Preview, Comment May 13, 2026 2:59pm
memrynote-landing Ready Ready Preview, Comment May 13, 2026 2:59pm

Comment thread apps/desktop/native-host/host-core.mjs Fixed
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

❌ Patch coverage is 90.55118% with 12 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
apps/desktop/src/main/vault/index.ts 40.00% 6 Missing ⚠️
apps/desktop/src/main/capture-handoff/importer.ts 97.72% 2 Missing ⚠️
apps/desktop/src/main/inbox/domain.ts 86.66% 2 Missing ⚠️
apps/desktop/src/main/index.ts 66.66% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

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

Labels

dependencies documentation Improvements or additions to documentation test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants