Files
Docwell/Packages/editor/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

65 lines
1.8 KiB
JSON

{
"name": "@docwell/editor",
"version": "0.0.1",
"private": true,
"license": "AGPL-3.0-or-later",
"type": "module",
"main": "./src/index.ts",
"exports": {
".": "./src/index.ts",
"./extensions": "./src/extensions.ts",
"./provider": "./src/provider.ts",
"./hashlinks": "./src/hashlinks.ts",
"./editor.css": "./src/editor.css",
"./edgeless": "./src/edgeless.ts",
"./ai": "./src/ai.ts",
"./files": "./src/files.ts",
"./labels": "./src/labels.ts"
},
"scripts": {
"test": "vitest run"
},
"dependencies": {
"@docwell/canvas": "*",
"@docwell/ui": "*",
"@excalidraw/excalidraw": "^0.18.1",
"@floating-ui/dom": "^1.8.0",
"@tiptap/core": "^3.32.2",
"@tiptap/extension-bubble-menu": "^3.32.2",
"@tiptap/extension-code-block": "^3.32.2",
"@tiptap/extension-collaboration": "^3.32.2",
"@tiptap/extension-collaboration-caret": "^3.32.2",
"@tiptap/extension-details": "^3.32.2",
"@tiptap/extension-highlight": "^3.32.2",
"@tiptap/extension-image": "^3.32.2",
"@tiptap/extension-list": "^3.32.2",
"@tiptap/extension-mathematics": "^3.32.2",
"@tiptap/extension-mention": "^3.32.2",
"@tiptap/extension-table": "^3.32.2",
"@tiptap/extension-text-align": "^3.32.2",
"@tiptap/extensions": "^3.32.2",
"@tiptap/pm": "^3.32.2",
"@tiptap/starter-kit": "^3.32.2",
"@tiptap/suggestion": "^3.32.2",
"@tiptap/vue-3": "^3.32.2",
"@tiptap/y-tiptap": "^3.0.12",
"katex": "^0.18.10",
"lib0": "^0.2.119",
"mermaid": "^12.2.0",
"pdfjs-dist": "^5.4.149",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"y-protocols": "^1.0.7",
"yjs": "^13.6.33"
},
"peerDependencies": {
"vue": "^3.5.0"
},
"devDependencies": {
"@types/react": "^18.3.31",
"@types/react-dom": "^18.3.7",
"jsdom": "^30.1.3",
"vitest": "^5.0.5"
}
}