Files
Docwell/Packages/editor-bridge/package.json
T
tajniak81andClaude Opus 5.5 c239d859b8 Transcribe long recordings, read scanned PDFs, and bring AI writing to phones
Follow-ups to Phase E (ADR-15):

- Recordings over 25 MB are cut into pieces and transcribed in turn:
  with ffmpeg (now in the server and all-in-one images) any format is
  re-encoded to 16 kHz mono MP3 in 20-minute pieces; without it, MP3 is
  cut at frame boundaries and WAV at sample boundaries in Go.
- PDFs without a text layer are written out by a document-capable chat
  model (Anthropic document input, OpenAI file input); Ollama is skipped.
- Phone app: AI answers render as Markdown with tappable citations; the
  editing toolbar opens the writing actions on the selection; audio
  files get Transcribe. Editor bridge protocol 4 adds setAi,
  getSelection, insertMarkdown and transcribe/transcribed.
- The transcript HTML builder moves to @docwell/editor, shared by the
  web app and the phone editor.
- An integration test runs chat, Transcribe and writing actions on a
  device against a live server; the editor test no longer expects
  headings to have only a level.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 10:04:10 +01:00

31 lines
790 B
JSON

{
"name": "@docwell/editor-bridge",
"version": "0.0.1",
"private": true,
"license": "AGPL-3.0-or-later",
"type": "module",
"description": "The Docwell editor as a standalone page for native WebViews (ADR-4)",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build && node scripts/copy-to-apps.mjs",
"typecheck": "vue-tsc --noEmit",
"test": "vitest run"
},
"dependencies": {
"@docwell/editor": "*",
"@docwell/ui": "*",
"@tiptap/core": "^3.32.2",
"marked": "^16.4.2"
},
"devDependencies": {
"@tailwindcss/vite": "^4.3.3",
"jsdom": "^30.1.3",
"tailwindcss": "^4.3.3",
"typescript": "~5.9.3",
"vite": "^8.3.5",
"vite-plugin-singlefile": "^2.3.4",
"vitest": "^5.0.5",
"vue-tsc": "^3.3.14"
}
}