Phase F follow-ups (ADR-16): - Calendars: events are now stored in calendar_events by a calendars.sync job (every 15 minutes per account, 90 days back and 400 ahead), so journals open at once and keep showing events while a source is down. Google accounts connect with OAuth (calendar.readonly) through DOCWELL_GOOGLE_CLIENT_ID/SECRET; reconnecting renews access. - OneNote: whole notebooks import through Microsoft Graph (Notes.Read, DOCWELL_MICROSOFT_CLIENT_ID/SECRET/TENANT) in the background, with section groups, sections, subpages, pictures and attached files. The Microsoft sign-in lives in memory for an hour and is never stored. - Readwise: an hourly sync with the person's sealed access token; new books get a page under "Readwise", new highlights are appended once. New readwise_syncs collection. - internal/oauth: signed states and one callback route per provider, routed by purpose. directory gains ImportConverted and CallerOf. - Phone app: "Today's journal" on the home screen and calendar events on journal pages. - Web clipper: `npm run package` builds Chrome/Edge, Firefox and source zips; store/ holds listing texts, permission notes and a privacy policy. - OpenAPI, generated clients, translations, compose and .env examples, and user docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
705 B
JSON
28 lines
705 B
JSON
{
|
|
"name": "@docwell/web-clipper",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"license": "AGPL-3.0-or-later",
|
|
"type": "module",
|
|
"description": "Browser extension that saves web pages to Docwell as new pages",
|
|
"scripts": {
|
|
"build": "tsc --noEmit && vite build",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"package": "npm run build && node scripts/package.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@mozilla/readability": "0.6.0",
|
|
"turndown": "7.2.4",
|
|
"turndown-plugin-gfm": "1.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chrome": "0.3.7",
|
|
"@types/turndown": "5.0.6",
|
|
"jsdom": "^30.1.3",
|
|
"typescript": "~5.9.3",
|
|
"vite": "^8.3.5",
|
|
"vitest": "^5.0.5"
|
|
}
|
|
}
|