Files
FastGPT/pnpm-workspace.yaml
T
DigHuang 3df8908851 feat(sandbox): support multimedia preview and source/preview toggle in editor (#6723)
* style: re-component Editor

* style: re-component Editor

* feat: sandbox file preview support with binary detection and mime type handling

* feat: preview support for markdown, svg, and html files in sandbox editor

* feat(sandbox): support multimedia preview and source/preview toggle in editor

* fix: XSS SVG rendering with MyPhotoView

* refactor: blob URL lifecycle management, improve filename encoding in downloads

* feat: implement S3-based HTML preview for sandbox editor and add PDF support to binary file detection

* refactor: improve sandbox editor stability by adding file size validation

* feat: introduce fileService to encapsulate sandbox file operations and add unit tests

* refactor: secure HTML sandbox preview by fetching content from server and injecting CSP meta tags

* refactor: replace unified file operation API with dedicated endpoints for list, read, write, and download operations

* chore: remove packageManager field from package.json

* fix: sandbox file read error message

* refactor: improve sandbox editor UI styling, type safety, and CSP security policy

* feat: HTML preview link API and standardize sandbox request/response types

* fix: improve log view layout responsiveness by adding overflow handling and flex constraints

* perf: fix review

---------

Co-authored-by: archer <545436317@qq.com>
2026-04-10 23:02:59 +08:00

75 lines
1.3 KiB
YAML

packages:
- packages/*
- projects/*
- scripts/icon
- sdk/*
allowBuilds:
'@parcel/watcher': true
core-js: true
esbuild: true
mongodb-memory-server: true
msgpackr-extract: true
protobufjs: true
sharp: true
vue-demi: true
catalog:
'@chakra-ui/anatomy': ^2
'@chakra-ui/icons': ^2
'@chakra-ui/next-js': ^2
'@chakra-ui/react': ^2
'@chakra-ui/styled-system': ^2
'@chakra-ui/system': ^2
'@emotion/react': ^11
'@emotion/styled': ^11
'@fastgpt-sdk/logger': 0.1.2
'@fastgpt-sdk/otel': 0.1.2
'@fastgpt-sdk/storage': 0.6.15
'@modelcontextprotocol/sdk': ^1
'@types/lodash': ^4
'@types/node': ^20
'@types/react': ^18
'@types/react-dom': ^18
axios: 1.13.6
date-fns: ^3.6.0
dayjs: 1.11.19
eslint: ^8
eslint-config-next: 15.5.12
express: ^4
i18next: 23.16.8
js-yaml: ^4.1.1
json5: ^2.2.3
lodash: 4.17.23
mime: ^4.1.0
minio: 8.0.7
next: 16.2.1
next-i18next: 15.4.2
next-rspack: 16.2.1
proxy-agent: ^6
react: ^18
react-dom: ^18
react-i18next: 14.1.2
tsdown: 0.21.4
typescript: ^5.9.3
zod: ^4
onlyBuiltDependencies:
- '@parcel/watcher'
- bufferutil
- canvas
- core-js
- esbuild
- mongodb-memory-server
- msgpackr-extract
- protobufjs
- puppeteer
- sharp
- utf-8-validate
- vue-demi
overrides:
'@types/react': ^18
'@types/react-dom': ^18
react: ^18
react-dom: ^18