Users can now attach Microsoft Office documents (.docx, .pptx, and .xlsx) and OpenDocument files (.odt, .odp, and .ods) from the shared web, desktop, mobile, and VS Code chat surfaces. Document text is extracted locally and sent as a text/plain file part with the original filename, keeping the visible user message clean. Supported embedded PNG, JPEG, GIF, and WebP images are sent as separate image parts, with matching [filename] citations preserved near their source paragraph, slide object, spreadsheet cell anchor, or OpenDocument position. Presentation notes, spreadsheet values, headers, and footers are included where available. Document expansion is metadata-validated and bounded against oversized entries, excessive uncompressed data, unsafe paths, invalid image signatures, attachment-name races, and dangling citations after truncation. Generated document parts are published to the composer atomically. Add fflate for worker-backed ZIP extraction and narrowly allow blob workers in the VS Code webview CSP without permitting blob scripts. Include focused fixtures for every supported format, extraction limits, positional citations, collision recovery, atomic attachment state, and CSP behavior.
115 lines
3.5 KiB
JSON
115 lines
3.5 KiB
JSON
{
|
|
"name": "@openchamber/ui",
|
|
"version": "1.16.2",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "src/main.tsx",
|
|
"scripts": {
|
|
"dev": "tsc --noEmit --watch",
|
|
"build": "tsc --noEmit",
|
|
"type-check": "tsc --noEmit",
|
|
"lint": "eslint \"./src/**/*.{ts,tsx}\" --config ../../eslint.config.js"
|
|
},
|
|
"dependencies": {
|
|
"@aparajita/capacitor-secure-storage": "^8.0.0",
|
|
"@base-ui/react": "^1.4.0",
|
|
"@capacitor/app": "^8.0.0",
|
|
"@capacitor/core": "^8.4.1",
|
|
"@capacitor/keyboard": "^8.0.0",
|
|
"@capacitor/push-notifications": "^8.1.1",
|
|
"@capacitor/status-bar": "^8.0.0",
|
|
"@codemirror/autocomplete": "^6.20.0",
|
|
"@codemirror/commands": "^6.10.1",
|
|
"@codemirror/lang-cpp": "^6.0.3",
|
|
"@codemirror/lang-css": "^6.3.1",
|
|
"@codemirror/lang-go": "^6.0.1",
|
|
"@codemirror/lang-html": "^6.4.11",
|
|
"@codemirror/lang-javascript": "^6.2.4",
|
|
"@codemirror/lang-json": "^6.0.2",
|
|
"@codemirror/lang-markdown": "^6.5.0",
|
|
"@codemirror/lang-python": "^6.2.1",
|
|
"@codemirror/lang-rust": "^6.0.2",
|
|
"@codemirror/lang-sql": "^6.10.0",
|
|
"@codemirror/lang-xml": "^6.1.0",
|
|
"@codemirror/lang-yaml": "^6.1.2",
|
|
"@codemirror/language": "6.12.2",
|
|
"@codemirror/language-data": "^6.5.2",
|
|
"@codemirror/legacy-modes": "^6.5.2",
|
|
"@codemirror/lint": "^6.9.2",
|
|
"@codemirror/search": "^6.6.0",
|
|
"@codemirror/state": "^6.5.4",
|
|
"@codemirror/view": "6.39.13",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@lezer/highlight": "^1.2.3",
|
|
"@opencode-ai/sdk": "1.18.4",
|
|
"@pierre/diffs": "1.3.0-beta.6",
|
|
"@replit/codemirror-vim": "^6.3.0",
|
|
"@simplewebauthn/browser": "13.3.0",
|
|
"@tanstack/react-virtual": "3.14.5",
|
|
"@xenova/transformers": "^2.17.2",
|
|
"@zumer/snapdom": "^2.12.0",
|
|
"beautiful-mermaid": "^1.1.3",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"codemirror-lang-elixir": "^4.0.0",
|
|
"cron-parser": "^5.5.0",
|
|
"dompurify": "^3.2.7",
|
|
"express": "^5.1.0",
|
|
"fflate": "^0.8.3",
|
|
"fuse.js": "^7.1.0",
|
|
"ghostty-web": "^0.4.0",
|
|
"heic2any": "^0.0.4",
|
|
"html-to-image": "^1.11.13",
|
|
"http-proxy-middleware": "^3.0.5",
|
|
"katex": "^0.17.0",
|
|
"marked": "^17.0.3",
|
|
"morphdom": "^2.7.7",
|
|
"motion": "^12.23.24",
|
|
"next-themes": "^0.4.6",
|
|
"qrcode": "^1.5.4",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"react-drawio": "1.0.7",
|
|
"rehype-katex": "^7.0.1",
|
|
"remark-math": "^6.0.0",
|
|
"remend": "^1.2.1",
|
|
"shiki": "^3.23.0",
|
|
"simple-git": "^3.28.0",
|
|
"sonner": "^2.0.7",
|
|
"strip-json-comments": "^5.0.3",
|
|
"tailwind-merge": "^3.3.1",
|
|
"virtua": "0.49.1",
|
|
"yaml": "^2.8.1",
|
|
"zod": "^4.3.6",
|
|
"zustand": "^5.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.33.0",
|
|
"@tailwindcss/postcss": "^4.0.0",
|
|
"@types/node": "^24.3.1",
|
|
"@types/qrcode": "^1.5.5",
|
|
"@types/react": "^19.1.10",
|
|
"@types/react-dom": "^19.1.7",
|
|
"@remixicon/react": "^4.7.0",
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"autoprefixer": "^10.4.21",
|
|
"concurrently": "^9.2.1",
|
|
"cors": "^2.8.5",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^9.33.0",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-react-refresh": "^0.5.0",
|
|
"globals": "^16.3.0",
|
|
"nodemon": "^3.1.7",
|
|
"tailwindcss": "^4.0.0",
|
|
"tsx": "^4.20.6",
|
|
"tw-animate-css": "^1.3.8",
|
|
"typescript": "~5.9.0",
|
|
"typescript-eslint": "^8.39.1",
|
|
"vite": "^7.1.2"
|
|
}
|
|
}
|