chore: bump pro submodule for hydration stability (#6808)
* sandbox-sync-agent * refactor: host pro as submodule * chore: checkpoint host pro restructure * refactor workspace test layout and startup init * chore: update next turbopack setup * chore: snapshot current work before actions fix * chore: update pro submodule * chore: point pro submodule url to upstream https * fix: Dockerfile * chore: update pro submodule * ci: support private pro submodule token and skip fork jobs * fix(ci): build sdk workspace deps before code-sandbox bundle * fix(app): exclude vitest configs from production typecheck * fix(app-image): build sdk packages before next build * fix(ci): align dockerfiles with workspace sdk build flow * chore(docker): upgrade node20 docker images to node24 * fix(ci): read admin coverage output path in pro test workflow * fix(app-image): include next-i18next config and locale assets * chore: update pro submodule * chore: do not specify branch for submodule * chore: remove most ts-nocheck sign * chore: update pro submodule * chore: remove sandbox-agent-sync package * chore: do not modify "pushData" file logic * fix: health check * chore: restore dev axios proxy state * fix: test-fastgpt report workflow * fix: use valid vitest coverage action inputs
Showing
.github/workflows/fastgpt-pro-test.yaml
0 → 100644
.github/workflows/preview-admin-build.yml
0 → 100644
.gitmodules
0 → 100644
| { | { | ||
| "name": "fast", | "name": "@fastgpt/document", | ||
| "version": "0.0.0", | "version": "0.0.0", | ||
| "private": true, | "private": true, | ||
| "scripts": { | "scripts": { | ||
| ... | ... |
| ... | @@ -3,6 +3,9 @@ | ... | @@ -3,6 +3,9 @@ |
| "version": "4.0", | "version": "4.0", | ||
| "private": true, | "private": true, | ||
| "scripts": { | "scripts": { | ||
| "dev:app": "turbo run dev --filter=@fastgpt/app", | |||
| "dev:admin": "turbo run dev --filter=@fastgpt/admin", | |||
| "dev": "turbo run dev --filter=@fastgpt/app", | |||
| "prepare": "husky install", | "prepare": "husky install", | ||
| "gen:theme-typings": "chakra-cli tokens packages/web/styles/theme.ts --out node_modules/.pnpm/node_modules/@chakra-ui/styled-system/dist/theming.types.d.ts", | "gen:theme-typings": "chakra-cli tokens packages/web/styles/theme.ts --out node_modules/.pnpm/node_modules/@chakra-ui/styled-system/dist/theming.types.d.ts", | ||
| "gen:deploy": "node deploy/init.mjs", | "gen:deploy": "node deploy/init.mjs", | ||
| ... | @@ -10,36 +13,42 @@ | ... | @@ -10,36 +13,42 @@ |
| "initIcon": "node ./scripts/icon/init.js && prettier --config \"./.prettierrc.js\" --write \"packages/web/components/common/Icon/constants.ts\"", | "initIcon": "node ./scripts/icon/init.js && prettier --config \"./.prettierrc.js\" --write \"packages/web/components/common/Icon/constants.ts\"", | ||
| "previewIcon": "node ./scripts/icon/index.js", | "previewIcon": "node ./scripts/icon/index.js", | ||
| "create:i18n": "node ./scripts/i18n/index.js", | "create:i18n": "node ./scripts/i18n/index.js", | ||
| "clean:unused:pro": "node --experimental-strip-types ./pro/scripts/cleanup-unused.ts", | |||
| "clean:unused:pro:write": "node --experimental-strip-types ./pro/scripts/cleanup-unused.ts --write", | |||
| "lint": "eslint \"**/*.{ts,tsx}\" --fix --ignore-path .eslintignore", | "lint": "eslint \"**/*.{ts,tsx}\" --fix --ignore-path .eslintignore", | ||
| "test": "vitest run --coverage", | "test": "pnpm test:workspace", | ||
| "test:vector": "vitest run --config test/integrationTest/vectorDB/vitest.config.mts" | "test:all": "pnpm test:workspace && pnpm test:vector", | ||
| "test:repo": "vitest run --config vitest.config.mts --coverage --passWithNoTests", | |||
| "test:workspace": "turbo run test --filter=@fastgpt/app --filter=@fastgpt/admin --filter=@fastgpt/global --filter=@fastgpt/service", | |||
| "test:app": "turbo run test --filter=@fastgpt/app", | |||
| "test:admin": "turbo run test --filter=@fastgpt/admin", | |||
| "test:global": "turbo run test --filter=@fastgpt/global", | |||
| "test:service": "turbo run test --filter=@fastgpt/service", | |||
| "test:service:integration": "turbo run test:integration --filter=@fastgpt/service", | |||
| "test:vector": "turbo run test:integration --filter=@fastgpt/service", | |||
| "build:sdks": "pnpm -r --filter @fastgpt-sdk/storage --filter @fastgpt-sdk/logger --filter @fastgpt-sdk/otel build", | |||
| "predev": "pnpm run build:sdks" | |||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@chakra-ui/cli": "^2.4.1", | "@chakra-ui/cli": "^2.4.1", | ||
| "@typescript-eslint/eslint-plugin": "^6.21.0", | "@typescript-eslint/eslint-plugin": "catalog:", | ||
| "@typescript-eslint/parser": "^6.21.0", | "@typescript-eslint/parser": "catalog:", | ||
| "@vitest/coverage-v8": "^3.0.9", | "@vitest/coverage-v8": "catalog:", | ||
| "eslint": "catalog:", | "eslint": "catalog:", | ||
| "eslint-config-next": "catalog:", | "eslint-config-next": "catalog:", | ||
| "husky": "^8.0.3", | "husky": "^8.0.3", | ||
| "i18next": "catalog:", | "i18next": "catalog:", | ||
| "js-yaml": "catalog:", | "js-yaml": "catalog:", | ||
| "lint-staged": "^13.3.0", | "lint-staged": "^13.3.0", | ||
| "mongodb-memory-server": "^10.1.4", | "mongodb-memory-server": "catalog:", | ||
| "next-i18next": "catalog:", | "next-i18next": "catalog:", | ||
| "prettier": "3.2.4", | "prettier": "3.2.4", | ||
| "react-i18next": "catalog:", | "react-i18next": "catalog:", | ||
| "typescript": "^5.1.3", | "turbo": "2.9.6", | ||
| "vitest": "^3.0.9", | "typescript": "catalog:", | ||
| "zhlint": "^0.7.4" | "vitest": "catalog:" | ||
| }, | }, | ||
| "lint-staged": { | "lint-staged": { | ||
| "./**/**/*.{ts,tsx,scss}": [ | |||
| "prettier --config ./.prettierrc.js --write --ignore-unknown" | |||
| ], | |||
| "./**/**/*.{ts,tsx}": [ | |||
| "eslint --fix --ignore-path .eslintignore" | |||
| ], | |||
| "./document/**/**/*.mdx": [ | "./document/**/**/*.mdx": [ | ||
| "pnpm -C ./document run format-doc", | "pnpm -C ./document run format-doc", | ||
| "pnpm -C ./document run initDocTime", | "pnpm -C ./document run initDocTime", | ||
| ... | @@ -47,10 +56,18 @@ | ... | @@ -47,10 +56,18 @@ |
| "pnpm -C ./document run checkDocRefs", | "pnpm -C ./document run checkDocRefs", | ||
| "pnpm -C ./document run removeInvalidImg", | "pnpm -C ./document run removeInvalidImg", | ||
| "git add ." | "git add ." | ||
| ], | |||
| "**/*.{ts,tsx}": [ | |||
| "prettier --config ./.prettierrc.js --write", | |||
| "eslint --fix --ignore-path .eslintignore" | |||
| ], | |||
| "**/*.scss": [ | |||
| "prettier --config ./.prettierrc.js --write" | |||
| ] | ] | ||
| }, | }, | ||
| "engines": { | "engines": { | ||
| "node": ">=20", | "node": ">=20", | ||
| "pnpm": "9.x" | "pnpm": "10.x" | ||
| } | }, | ||
| "packageManager": "pnpm@10.33.2" | |||
| } | } |
| { | { | ||
| "name": "@fastgpt/global", | "name": "@fastgpt/global", | ||
| "version": "1.0.0", | "version": "1.0.0", | ||
| "scripts": { | |||
| "test": "vitest run -c vitest.config.ts", | |||
| "test:watch": "vitest -c vitest.config.ts" | |||
| }, | |||
| "engines": { | "engines": { | ||
| "node": ">=20", | "node": ">=20", | ||
| "pnpm": "9.x" | "pnpm": "10.x" | ||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "@fastgpt-sdk/plugin": "0.6.0", | "@fastgpt-sdk/plugin": "0.6.0", | ||
| ... | @@ -16,7 +20,7 @@ | ... | @@ -16,7 +20,7 @@ |
| "js-yaml": "catalog:", | "js-yaml": "catalog:", | ||
| "jschardet": "3.1.1", | "jschardet": "3.1.1", | ||
| "json5": "catalog:", | "json5": "catalog:", | ||
| "nanoid": "^5.1.3", | "nanoid": "catalog:", | ||
| "next": "catalog:", | "next": "catalog:", | ||
| "openai": "4.104.0", | "openai": "4.104.0", | ||
| "openapi-types": "^12.1.3", | "openapi-types": "^12.1.3", | ||
| ... | @@ -27,7 +31,7 @@ | ... | @@ -27,7 +31,7 @@ |
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@types/lodash": "catalog:", | "@types/lodash": "catalog:", | ||
| "@types/js-yaml": "^4.0.9", | "@types/js-yaml": "catalog:", | ||
| "@types/node": "20.14.0" | "@types/node": "catalog:" | ||
| } | } | ||
| } | } |
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
packages/global/test/tsconfig.json
0 → 100644
packages/global/vitest.config.ts
0 → 100644
packages/service/common/system/initError.ts
0 → 100644
| ... | @@ -2,28 +2,34 @@ | ... | @@ -2,28 +2,34 @@ |
| "name": "@fastgpt/service", | "name": "@fastgpt/service", | ||
| "version": "1.0.0", | "version": "1.0.0", | ||
| "type": "module", | "type": "module", | ||
| "scripts": { | |||
| "test": "vitest run -c vitest.config.ts", | |||
| "test:watch": "vitest -c vitest.config.ts", | |||
| "test:integration": "vitest run -c vitest.integration.config.ts", | |||
| "test:integration:watch": "vitest -c vitest.integration.config.ts" | |||
| }, | |||
| "engines": { | "engines": { | ||
| "node": ">=20", | "node": ">=20", | ||
| "pnpm": "9.x" | "pnpm": "10.x" | ||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "@apidevtools/json-schema-ref-parser": "^11.7.2", | "@apidevtools/json-schema-ref-parser": "^11.7.2", | ||
| "@fastgpt-sdk/otel": "catalog:", | "@fastgpt-sdk/otel": "workspace:*", | ||
| "@fastgpt-sdk/sandbox-adapter": "^0.0.36", | "@fastgpt-sdk/sandbox-adapter": "^0.0.36", | ||
| "@fastgpt-sdk/storage": "catalog:", | "@fastgpt-sdk/storage": "workspace:*", | ||
| "@fastgpt/global": "workspace:*", | "@fastgpt/global": "workspace:*", | ||
| "@mariozechner/pi-agent-core": "^0.67.3", | "@mariozechner/pi-agent-core": "^0.67.3", | ||
| "@mariozechner/pi-ai": "^0.67.3", | "@mariozechner/pi-ai": "^0.67.3", | ||
| "@maxmind/geoip2-node": "^6.3.4", | "@maxmind/geoip2-node": "^6.3.4", | ||
| "@modelcontextprotocol/sdk": "catalog:", | "@modelcontextprotocol/sdk": "catalog:", | ||
| "@node-rs/jieba": "2.0.1", | "@node-rs/jieba": "catalog:", | ||
| "@opentelemetry/api": "^1.9.0", | "@opentelemetry/api": "^1.9.0", | ||
| "@t3-oss/env-core": "0.13.10", | "@t3-oss/env-core": "0.13.10", | ||
| "@xmldom/xmldom": "^0.8.10", | "@xmldom/xmldom": "^0.8.10", | ||
| "@zilliz/milvus2-sdk-node": "2.4.10", | "@zilliz/milvus2-sdk-node": "2.4.10", | ||
| "axios": "catalog:", | "axios": "catalog:", | ||
| "bullmq": "^5.52.2", | "bullmq": "^5.52.2", | ||
| "chalk": "^5.3.0", | "chalk": "catalog:", | ||
| "cheerio": "1.0.0-rc.12", | "cheerio": "1.0.0-rc.12", | ||
| "cookie": "^0.7.1", | "cookie": "^0.7.1", | ||
| "date-fns": "catalog:", | "date-fns": "catalog:", | ||
| ... | @@ -42,14 +48,14 @@ | ... | @@ -42,14 +48,14 @@ |
| "json5": "catalog:", | "json5": "catalog:", | ||
| "jsonpath-plus": "^10.3.0", | "jsonpath-plus": "^10.3.0", | ||
| "jsonrepair": "^3.0.0", | "jsonrepair": "^3.0.0", | ||
| "jsonwebtoken": "^9.0.2", | "jsonwebtoken": "catalog:", | ||
| "jszip": "^3.10.1", | "jszip": "^3.10.1", | ||
| "lodash": "catalog:", | "lodash": "catalog:", | ||
| "mammoth": "^1.11.0", | "mammoth": "^1.11.0", | ||
| "mime": "catalog:", | "mime": "catalog:", | ||
| "mime-types": "catalog:", | "mime-types": "catalog:", | ||
| "minio": "catalog:", | "minio": "catalog:", | ||
| "mongoose": "^8.10.1", | "mongoose": "catalog:", | ||
| "multer": "2.1.0", | "multer": "2.1.0", | ||
| "mysql2": "^3.11.3", | "mysql2": "^3.11.3", | ||
| "next": "catalog:", | "next": "catalog:", | ||
| ... | @@ -64,7 +70,7 @@ | ... | @@ -64,7 +70,7 @@ |
| "pino-opentelemetry-transport": "^1.0.1", | "pino-opentelemetry-transport": "^1.0.1", | ||
| "proxy-agent": "catalog:", | "proxy-agent": "catalog:", | ||
| "proxy-from-env": "^1.1.0", | "proxy-from-env": "^1.1.0", | ||
| "request-ip": "^3.3.0", | "request-ip": "catalog:", | ||
| "tiktoken": "1.0.17", | "tiktoken": "1.0.17", | ||
| "tunnel": "^0.0.6", | "tunnel": "^0.0.6", | ||
| "turndown": "^7.1.2", | "turndown": "^7.1.2", | ||
| ... | @@ -76,7 +82,7 @@ | ... | @@ -76,7 +82,7 @@ |
| "@types/async-retry": "^1.4.9", | "@types/async-retry": "^1.4.9", | ||
| "@types/cookie": "^0.5.2", | "@types/cookie": "^0.5.2", | ||
| "@types/decompress": "^4.2.7", | "@types/decompress": "^4.2.7", | ||
| "@types/jsonwebtoken": "^9.0.3", | "@types/jsonwebtoken": "catalog:", | ||
| "@types/lodash": "catalog:", | "@types/lodash": "catalog:", | ||
| "@types/mime-types": "catalog:", | "@types/mime-types": "catalog:", | ||
| "@types/multer": "^1.4.10", | "@types/multer": "^1.4.10", | ||
| ... | @@ -84,7 +90,7 @@ | ... | @@ -84,7 +90,7 @@ |
| "@types/papaparse": "5.3.7", | "@types/papaparse": "5.3.7", | ||
| "@types/pg": "^8.6.6", | "@types/pg": "^8.6.6", | ||
| "@types/proxy-from-env": "^1.0.4", | "@types/proxy-from-env": "^1.0.4", | ||
| "@types/request-ip": "^0.0.37", | "@types/request-ip": "catalog:", | ||
| "@types/tunnel": "^0.0.4", | "@types/tunnel": "^0.0.4", | ||
| "@types/turndown": "^5.0.4" | "@types/turndown": "^5.0.4" | ||
| } | } | ||
| ... | ... |
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
packages/service/test/integrations/README.md
0 → 100644
File moved
File moved
packages/service/test/tsconfig.json
0 → 100644
File moved
packages/service/vitest.config.ts
0 → 100644
| ... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ |
| "version": "1.0.0", | "version": "1.0.0", | ||
| "engines": { | "engines": { | ||
| "node": ">=20", | "node": ">=20", | ||
| "pnpm": "9.x" | "pnpm": "10.x" | ||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "@chakra-ui/anatomy": "catalog:", | "@chakra-ui/anatomy": "catalog:", | ||
| ... | @@ -25,8 +25,8 @@ | ... | @@ -25,8 +25,8 @@ |
| "@lexical/text": "0.12.6", | "@lexical/text": "0.12.6", | ||
| "@lexical/utils": "0.12.6", | "@lexical/utils": "0.12.6", | ||
| "@monaco-editor/react": "^4.7.0", | "@monaco-editor/react": "^4.7.0", | ||
| "@tanstack/react-query": "^4.24.10", | "@tanstack/react-query": "catalog:", | ||
| "ahooks": "^3.9.5", | "ahooks": "catalog:", | ||
| "axios": "catalog:", | "axios": "catalog:", | ||
| "date-fns": "catalog:", | "date-fns": "catalog:", | ||
| "dayjs": "catalog:", | "dayjs": "catalog:", | ||
| ... | @@ -41,13 +41,13 @@ | ... | @@ -41,13 +41,13 @@ |
| "react-beautiful-dnd": "^13.1.1", | "react-beautiful-dnd": "^13.1.1", | ||
| "react-day-picker": "^9.14.0", | "react-day-picker": "^9.14.0", | ||
| "react-dom": "catalog:", | "react-dom": "catalog:", | ||
| "react-hook-form": "7.43.1", | "react-hook-form": "catalog:", | ||
| "react-i18next": "catalog:", | "react-i18next": "catalog:", | ||
| "react-markdown": "^9.0.1", | "react-markdown": "catalog:", | ||
| "react-photo-view": "^1.2.6", | "react-photo-view": "^1.2.6", | ||
| "recharts": "^2.15.0", | "recharts": "catalog:", | ||
| "rehype-external-links": "^3.0.0", | "rehype-external-links": "^3.0.0", | ||
| "remark-gfm": "^4.0.1", | "remark-gfm": "catalog:", | ||
| "use-context-selector": "^1.4.4", | "use-context-selector": "^1.4.4", | ||
| "zustand": "^4.3.5" | "zustand": "^4.3.5" | ||
| }, | }, | ||
| ... | ... |
plugins/README.md
deleted
100644 → 0
plugins/model/ocr-surya/Dockerfile
deleted
100644 → 0
plugins/model/ocr-surya/README.md
deleted
100644 → 0
plugins/model/ocr-surya/app.py
deleted
100644 → 0
plugins/model/pdf-marker/Dockerfile
deleted
100644 → 0
plugins/model/pdf-marker/Readme.md
deleted
100644 → 0
plugins/model/pdf-marker/api_mp.py
deleted
100644 → 0
plugins/model/pdf-marker/pip.conf
deleted
100644 → 0
plugins/model/pdf-mineru/.env
deleted
100644 → 0
plugins/model/pdf-mineru/Dockerfile
deleted
100644 → 0
plugins/model/pdf-mineru/README.md
deleted
100644 → 0
| fastapi>=0.104.0 | |||
| uvicorn[standard]>=0.24.0 | |||
| httpx>=0.27.0 | |||
| loguru>=0.7.2 | |||
| python-multipart>=0.0.6 |
plugins/model/pdf-mistral/.env
deleted
100644 → 0
plugins/model/pdf-mistral/README.md
deleted
100644 → 0
plugins/model/pdf-mistral/api_mp.py
deleted
100755 → 0
| fastapi==0.115.5 | |||
| uvicorn==0.32.1 | |||
| mistralai>=1.5.0 | |||
| PyMuPDF==1.24.14 | |||
| python-multipart==0.0.22 | |||
| python-dotenv==1.0.1 | |||
| loguru==0.7.2 | |||
| requests==2.32.4 |
plugins/model/rerank-bge/README.md
deleted
100644 → 0
| fastapi==0.104.1 | |||
| transformers[sentencepiece] | |||
| FlagEmbedding==1.2.8 | |||
| pydantic==1.10.13 | |||
| uvicorn==0.17.6 | |||
| itsdangerous | |||
| protobuf |
| fastapi==0.104.1 | |||
| transformers[sentencepiece] | |||
| FlagEmbedding==1.2.8 | |||
| pydantic==1.10.13 | |||
| uvicorn==0.17.6 | |||
| itsdangerous | |||
| protobuf |
| fastapi==0.104.1 | |||
| transformers[sentencepiece] | |||
| FlagEmbedding==1.2.8 | |||
| pydantic==1.10.13 | |||
| uvicorn==0.17.6 | |||
| itsdangerous | |||
| protobuf |
plugins/model/rerank-bge/rerank1.png
deleted
100644 → 0
91.3 KB
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
17.8 KB
File deleted
| torch>=1.13 | |||
| torchaudio | |||
| funasr>=1.1.1 | |||
| fastapi | |||
| modelscope |
plugins/model/stt-sensevoice/main.py
deleted
100644 → 0
plugins/model/stt-sensevoice/run.sh
deleted
100644 → 0
| --extra-index-url https://download.pytorch.org/whl/cu118 | |||
| conformer==0.3.2 | |||
| deepspeed==0.15.1; sys_platform == 'linux' | |||
| diffusers==0.27.2 | |||
| gdown==5.2.2 | |||
| gradio==5.11.0 | |||
| grpcio==1.57.0 | |||
| grpcio-tools==1.57.0 | |||
| hydra-core==1.3.2 | |||
| HyperPyYAML==1.2.2 | |||
| inflect==7.3.1 | |||
| librosa==0.10.2 | |||
| lightning==2.3.3 | |||
| matplotlib==3.7.5 | |||
| modelscope==1.15.0 | |||
| networkx==3.1 | |||
| omegaconf==2.3.0 | |||
| onnxruntime-gpu; sys_platform == 'linux' | |||
| onnxruntime; sys_platform == 'darwin' or sys_platform == 'windows' | |||
| openai-whisper==20231117 | |||
| protobuf==5.29.6 | |||
| pydantic==2.7.0 | |||
| rich==13.7.1 | |||
| soundfile==0.12.1 | |||
| tensorboard | |||
| wget==3.2 | |||
| fastapi==0.111.0 | |||
| fastapi-cli==0.0.4 | |||
| WeTextProcessing==1.0.3 |
plugins/webcrawler/.dockerignore
deleted
100644 → 0
plugins/webcrawler/.gitignore
deleted
100644 → 0
plugins/webcrawler/.searchxng.env
deleted
100644 → 0
plugins/webcrawler/Caddyfile
deleted
100644 → 0
plugins/webcrawler/Dockerfile
deleted
100644 → 0
plugins/webcrawler/README.md
deleted
100644 → 0
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
| { | |||
| "name": "spider", | |||
| "version": "1.0.0", | |||
| "description": "", | |||
| "main": "/dist/index.ts", | |||
| "scripts": { | |||
| "test": "echo \"Error: no test specified\" && exit 1", | |||
| "start": "ts-node src/index.ts", | |||
| "build": "webpack", | |||
| "dev": "ts-node-dev --respawn src/index.ts" | |||
| }, | |||
| "keywords": [], | |||
| "author": "", | |||
| "license": "ISC", | |||
| "dependencies": { | |||
| "@types/node-fetch": "^2.6.12", | |||
| "assert": "^2.1.0", | |||
| "axios": "^1.13.2", | |||
| "body-parser": "^1.20.3", | |||
| "browserify-zlib": "^0.2.0", | |||
| "buffer": "^6.0.3", | |||
| "cheerio": "^1.0.0", | |||
| "crypto-browserify": "^3.12.1", | |||
| "dotenv": "^16.4.7", | |||
| "express": "^4.21.2", | |||
| "https-proxy-agent": "^7.0.6", | |||
| "jsdom": "^26.0.0", | |||
| "mongodb": "^6.13.1", | |||
| "node-cache": "^5.1.2", | |||
| "node-fetch": "^2.7.0", | |||
| "os-browserify": "^0.3.0", | |||
| "path-browserify": "^1.0.1", | |||
| "puppeteer": "^24.2.1", | |||
| "puppeteer-cluster": "^0.24.0", | |||
| "querystring-es3": "^0.2.1", | |||
| "random-useragent": "^0.5.0", | |||
| "spider": "file:", | |||
| "stream-browserify": "^3.0.0", | |||
| "stream-http": "^3.2.0", | |||
| "string_decoder": "^1.3.0", | |||
| "turndown": "^7.2.0", | |||
| "turndown-plugin-gfm": "^1.0.2", | |||
| "url": "^0.11.4", | |||
| "user-agents": "^1.1.454", | |||
| "util": "^0.12.5", | |||
| "vm-browserify": "^1.1.2" | |||
| }, | |||
| "devDependencies": { | |||
| "@types/body-parser": "^1.19.5", | |||
| "@types/express": "^5.0.0", | |||
| "@types/jsdom": "^21.1.7", | |||
| "@types/node": "^22.13.4", | |||
| "@types/random-useragent": "^0.3.3", | |||
| "@types/user-agents": "^1.0.4", | |||
| "ts-loader": "^9.5.2", | |||
| "ts-node-dev": "^2.0.0", | |||
| "typescript": "^5.7.3", | |||
| "webpack": "^5.98.0", | |||
| "webpack-cli": "^6.0.1", | |||
| "webpack-node-externals": "^3.0.0" | |||
| } | |||
| } |
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
| { | { | ||
| "name": "app", | "name": "@fastgpt/app", | ||
| "version": "4.14.16", | "version": "4.14.16", | ||
| "private": false, | "private": false, | ||
| "scripts": { | "scripts": { | ||
| "dev": "NODE_OPTIONS='--max-old-space-size=8192' npm run build:workers && next dev", | "dev": "NODE_OPTIONS='--max-old-space-size=8192' pnpm run build:workers && next dev", | ||
| "dev:skill": "NODE_OPTIONS='--max-old-space-size=8192' npm run build:workers && tsx server.ts", | "build": "pnpm run build:workers && next build --debug", | ||
| "dev:webpack": "NODE_OPTIONS='--max-old-space-size=8192' npm run build:workers && WEBPACK=1 next dev --webpack", | "build:webpack": "pnpm run build:workers && next build --webpack --debug", | ||
| "build": "npm run build:workers && next build --debug --webpack", | "analyze": "next experimental-analyze", | ||
| "start": "NODE_ENV=production tsx server.ts", | "start": "next start", | ||
| "build:workers": "npx tsx scripts/build-workers.ts", | "test": "vitest run -c vitest.config.ts", | ||
| "test:watch": "vitest -c vitest.config.ts", | |||
| "build:workers": "tsx scripts/build-workers.ts", | |||
| "typecheck": "tsc --noEmit --pretty", | "typecheck": "tsc --noEmit --pretty", | ||
| "build:workers:watch": "npx tsx scripts/build-workers.ts --watch" | "build:workers:watch": "tsx scripts/build-workers.ts --watch" | ||
| }, | }, | ||
| "engines": { | "engines": { | ||
| "node": ">=20", | "node": ">=20", | ||
| "pnpm": "9.x" | "pnpm": "10.x" | ||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "@chakra-ui/anatomy": "catalog:", | "@chakra-ui/anatomy": "catalog:", | ||
| ... | @@ -26,17 +28,18 @@ | ... | @@ -26,17 +28,18 @@ |
| "@dagrejs/dagre": "^1.1.4", | "@dagrejs/dagre": "^1.1.4", | ||
| "@emotion/react": "catalog:", | "@emotion/react": "catalog:", | ||
| "@emotion/styled": "catalog:", | "@emotion/styled": "catalog:", | ||
| "@fastgpt-sdk/storage": "catalog:", | "@fastgpt-sdk/otel": "workspace:*", | ||
| "@fastgpt-sdk/storage": "workspace:*", | |||
| "@fastgpt/global": "workspace:*", | "@fastgpt/global": "workspace:*", | ||
| "@fastgpt/service": "workspace:*", | "@fastgpt/service": "workspace:*", | ||
| "@fastgpt/web": "workspace:*", | "@fastgpt/web": "workspace:*", | ||
| "@fortaine/fetch-event-source": "^3.0.6", | "@fortaine/fetch-event-source": "^3.0.6", | ||
| "@modelcontextprotocol/sdk": "catalog:", | "@modelcontextprotocol/sdk": "catalog:", | ||
| "@monaco-editor/react": "^4.7.0", | "@monaco-editor/react": "^4.7.0", | ||
| "@node-rs/jieba": "2.0.1", | "@node-rs/jieba": "catalog:", | ||
| "@scalar/api-reference-react": "^0.8.1", | "@scalar/api-reference-react": "^0.8.1", | ||
| "@tanstack/react-query": "^4.24.10", | "@tanstack/react-query": "catalog:", | ||
| "ahooks": "^3.9.5", | "ahooks": "catalog:", | ||
| "archiver": "^7.0.1", | "archiver": "^7.0.1", | ||
| "axios": "catalog:", | "axios": "catalog:", | ||
| "date-fns": "catalog:", | "date-fns": "catalog:", | ||
| ... | @@ -45,6 +48,7 @@ | ... | @@ -45,6 +48,7 @@ |
| "echarts-gl": "2.0.9", | "echarts-gl": "2.0.9", | ||
| "esbuild": "^0.25.11", | "esbuild": "^0.25.11", | ||
| "framer-motion": "9.1.7", | "framer-motion": "9.1.7", | ||
| "http-proxy": "^1.18.1", | |||
| "hyperdown": "^2.4.29", | "hyperdown": "^2.4.29", | ||
| "i18next": "catalog:", | "i18next": "catalog:", | ||
| "immer": "^9.0.19", | "immer": "^9.0.19", | ||
| ... | @@ -52,13 +56,15 @@ | ... | @@ -52,13 +56,15 @@ |
| "js-yaml": "catalog:", | "js-yaml": "catalog:", | ||
| "json5": "catalog:", | "json5": "catalog:", | ||
| "jsondiffpatch": "^0.7.2", | "jsondiffpatch": "^0.7.2", | ||
| "jsonwebtoken": "^9.0.2", | "jsonwebtoken": "catalog:", | ||
| "lodash": "catalog:", | |||
| "jszip": "^3.10.1", | "jszip": "^3.10.1", | ||
| "katex": "0.16.22", | |||
| "lodash": "catalog:", | |||
| "mermaid": "^10.9.4", | "mermaid": "^10.9.4", | ||
| "mime": "catalog:", | "mime": "catalog:", | ||
| "minio": "catalog:", | "minio": "catalog:", | ||
| "nanoid": "^5.1.3", | "mongoose": "catalog:", | ||
| "nanoid": "catalog:", | |||
| "next": "catalog:", | "next": "catalog:", | ||
| "next-i18next": "catalog:", | "next-i18next": "catalog:", | ||
| "nprogress": "^0.2.0", | "nprogress": "^0.2.0", | ||
| ... | @@ -66,47 +72,46 @@ | ... | @@ -66,47 +72,46 @@ |
| "qrcode": "^1.5.4", | "qrcode": "^1.5.4", | ||
| "react": "catalog:", | "react": "catalog:", | ||
| "react-dom": "catalog:", | "react-dom": "catalog:", | ||
| "react-hook-form": "7.43.1", | "react-hook-form": "catalog:", | ||
| "react-i18next": "catalog:", | "react-i18next": "catalog:", | ||
| "react-markdown": "^9.0.1", | "react-markdown": "catalog:", | ||
| "react-syntax-highlighter": "^15.5.0", | "react-syntax-highlighter": "^15.5.0", | ||
| "react-textarea-autosize": "^8.5.4", | "react-textarea-autosize": "^8.5.4", | ||
| "reactflow": "^11.7.4", | "reactflow": "^11.7.4", | ||
| "recharts": "^2.15.0", | "recharts": "catalog:", | ||
| "rehype-external-links": "^3.0.0", | "rehype-external-links": "^3.0.0", | ||
| "rehype-katex": "^7.0.0", | "rehype-katex": "^7.0.0", | ||
| "remark-breaks": "^4.0.0", | "remark-breaks": "^4.0.0", | ||
| "remark-gfm": "^4.0.0", | "remark-gfm": "catalog:", | ||
| "remark-math": "^6.0.0", | "remark-math": "^6.0.0", | ||
| "request-ip": "^3.3.0", | "request-ip": "catalog:", | ||
| "sass": "^1.58.3", | "sass": "^1.58.3", | ||
| "http-proxy": "^1.18.1", | |||
| "undici": "^7.18.2", | "undici": "^7.18.2", | ||
| "use-context-selector": "^1.4.4", | "use-context-selector": "^1.4.4", | ||
| "zod": "catalog:" | "zod": "catalog:" | ||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@types/http-proxy": "^1.17.15", | |||
| "@next/bundle-analyzer": "16.1.6", | "@next/bundle-analyzer": "16.1.6", | ||
| "@svgr/webpack": "^6.5.1", | "@svgr/webpack": "catalog:", | ||
| "@types/archiver": "^6.0.2", | "@types/archiver": "^6.0.2", | ||
| "@types/js-yaml": "^4.0.9", | "@types/http-proxy": "^1.17.15", | ||
| "@types/jsonwebtoken": "^9.0.3", | "@types/js-yaml": "catalog:", | ||
| "@types/jsonwebtoken": "catalog:", | |||
| "@types/lodash": "catalog:", | "@types/lodash": "catalog:", | ||
| "@types/node": "^20.14.2", | "@types/node": "catalog:", | ||
| "@types/nprogress": "^0.2.0", | "@types/nprogress": "^0.2.0", | ||
| "@types/qrcode": "^1.5.5", | "@types/qrcode": "^1.5.5", | ||
| "@types/react": "catalog:", | "@types/react": "catalog:", | ||
| "@types/react-dom": "catalog:", | "@types/react-dom": "catalog:", | ||
| "@types/react-syntax-highlighter": "^15.5.6", | "@types/react-syntax-highlighter": "^15.5.6", | ||
| "@types/request-ip": "^0.0.37", | "@types/request-ip": "catalog:", | ||
| "@typescript-eslint/eslint-plugin": "^6.21.0", | "@typescript-eslint/eslint-plugin": "catalog:", | ||
| "@typescript-eslint/parser": "^6.21.0", | "@typescript-eslint/parser": "catalog:", | ||
| "eslint": "catalog:", | "eslint": "catalog:", | ||
| "eslint-config-next": "catalog:", | "eslint-config-next": "catalog:", | ||
| "next-rspack": "catalog:", | "tailwindcss": "^3", | ||
| "tsx": "^4.20.6", | "tsx": "catalog:", | ||
| "typescript": "^5.1.3", | "typescript": "catalog:", | ||
| "vitest": "^3.0.9" | "vitest": "catalog:" | ||
| } | } | ||
| } | } |
projects/app/src/instrumentation-node.ts
0 → 100644
projects/app/vitest.config.ts
0 → 100644
| { | { | ||
| "name": "code-sandbox", | "name": "@fastgpt/code-sandbox", | ||
| "version": "5.0.0", | "version": "5.0.0", | ||
| "description": "FastGPT Code Sandbox - Bun + Hono + 统一子进程模型", | "description": "FastGPT Code Sandbox - Bun + Hono + 统一子进程模型", | ||
| "author": "", | "author": "", | ||
| ... | @@ -14,10 +14,10 @@ | ... | @@ -14,10 +14,10 @@ |
| }, | }, | ||
| "engines": { | "engines": { | ||
| "node": ">=20", | "node": ">=20", | ||
| "pnpm": "9.x" | "pnpm": "10.x" | ||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "@fastgpt-sdk/logger": "catalog:", | "@fastgpt-sdk/logger": "workspace:*", | ||
| "@fastgpt/service": "workspace:*", | "@fastgpt/service": "workspace:*", | ||
| "axios": "catalog:", | "axios": "catalog:", | ||
| "crypto-js": "^4.2.0", | "crypto-js": "^4.2.0", | ||
| ... | @@ -33,9 +33,9 @@ | ... | @@ -33,9 +33,9 @@ |
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@types/bun": "^1.2.4", | "@types/bun": "^1.2.4", | ||
| "@types/node": "^20.14.2", | "@types/node": "catalog:", | ||
| "vitest": "^3.0.9", | "vitest": "catalog:", | ||
| "@vitest/coverage-v8": "^3.0.9", | "@vitest/coverage-v8": "catalog:", | ||
| "typescript": "^5.7.3" | "typescript": "catalog:" | ||
| } | } | ||
| } | } |
| { | { | ||
| "name": "marketplace", | "name": "@fastgpt/marketplace", | ||
| "version": "0.1.0", | "version": "0.1.0", | ||
| "private": true, | "private": true, | ||
| "scripts": { | "scripts": { | ||
| ... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
| }, | }, | ||
| "engines": { | "engines": { | ||
| "node": ">=20", | "node": ">=20", | ||
| "pnpm": "9.x" | "pnpm": "10.x" | ||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "@chakra-ui/anatomy": "catalog:", | "@chakra-ui/anatomy": "catalog:", | ||
| ... | @@ -20,12 +20,12 @@ | ... | @@ -20,12 +20,12 @@ |
| "@chakra-ui/styled-system": "catalog:", | "@chakra-ui/styled-system": "catalog:", | ||
| "@chakra-ui/system": "catalog:", | "@chakra-ui/system": "catalog:", | ||
| "@fastgpt/global": "workspace:*", | "@fastgpt/global": "workspace:*", | ||
| "@fastgpt-sdk/logger": "catalog:", | "@fastgpt-sdk/logger": "workspace:*", | ||
| "@fastgpt/service": "workspace:*", | "@fastgpt/service": "workspace:*", | ||
| "@fastgpt/web": "workspace:*", | "@fastgpt/web": "workspace:*", | ||
| "axios": "catalog:", | "axios": "catalog:", | ||
| "i18next": "catalog:", | "i18next": "catalog:", | ||
| "mongoose": "^8.10.1", | "mongoose": "catalog:", | ||
| "next": "catalog:", | "next": "catalog:", | ||
| "next-i18next": "catalog:", | "next-i18next": "catalog:", | ||
| "react": "catalog:", | "react": "catalog:", | ||
| ... | @@ -34,14 +34,14 @@ | ... | @@ -34,14 +34,14 @@ |
| "zod": "catalog:" | "zod": "catalog:" | ||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@svgr/webpack": "^6.5.1", | "@svgr/webpack": "catalog:", | ||
| "@types/node": "^20", | "@types/node": "catalog:", | ||
| "@types/react": "catalog:", | "@types/react": "catalog:", | ||
| "@types/react-dom": "catalog:", | "@types/react-dom": "catalog:", | ||
| "eslint": "catalog:", | "eslint": "catalog:", | ||
| "eslint-config-next": "catalog:", | "eslint-config-next": "catalog:", | ||
| "postcss": "^8", | "postcss": "^8", | ||
| "tailwindcss": "^3.4.1", | "tailwindcss": "^3.4.1", | ||
| "typescript": "^5" | "typescript": "catalog:" | ||
| } | } | ||
| } | } |
| { | { | ||
| "name": "mcp_server", | "name": "@fastgpt/mcp_server", | ||
| "version": "0.1", | "version": "0.1", | ||
| "keywords": [], | "keywords": [], | ||
| "author": "fastgpt", | "author": "fastgpt", | ||
| ... | @@ -15,13 +15,13 @@ | ... | @@ -15,13 +15,13 @@ |
| }, | }, | ||
| "engines": { | "engines": { | ||
| "node": ">=20", | "node": ">=20", | ||
| "pnpm": "9.x" | "pnpm": "10.x" | ||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "@fastgpt/global": "workspace:*", | "@fastgpt/global": "workspace:*", | ||
| "@fastgpt-sdk/logger": "catalog:", | "@fastgpt-sdk/logger": "workspace:*", | ||
| "@modelcontextprotocol/sdk": "catalog:", | "@modelcontextprotocol/sdk": "catalog:", | ||
| "chalk": "^5.3.0", | "chalk": "catalog:", | ||
| "dayjs": "catalog:", | "dayjs": "catalog:", | ||
| "dotenv": "^16.5.0", | "dotenv": "^16.5.0", | ||
| "express": "catalog:" | "express": "catalog:" | ||
| ... | ... |
| ... | @@ -11,10 +11,10 @@ | ... | @@ -11,10 +11,10 @@ |
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "hono": "^4.6.0", | "hono": "^4.6.0", | ||
| "zod": "^4" | "zod": "catalog:" | ||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@types/bun": "latest", | "@types/bun": "latest", | ||
| "vitest": "^2.0.0" | "vitest": "catalog:" | ||
| } | } | ||
| } | } |
| { | { | ||
| "name": "icon", | "name": "@fastgpt/icon", | ||
| "version": "1.0.0", | "version": "1.0.0", | ||
| "description": "", | "description": "", | ||
| "main": "index.js", | "main": "index.js", | ||
| ... | ... |
| ... | @@ -29,7 +29,7 @@ | ... | @@ -29,7 +29,7 @@ |
| "repository": { | "repository": { | ||
| "type": "git", | "type": "git", | ||
| "url": "https://github.com/labring/FastGPT.git", | "url": "https://github.com/labring/FastGPT.git", | ||
| "directory": "FastGPT/sdk/logger" | "directory": "sdk/logger" | ||
| }, | }, | ||
| "homepage": "https://github.com/labring/FastGPT", | "homepage": "https://github.com/labring/FastGPT", | ||
| "bugs": { | "bugs": { | ||
| ... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
| }, | }, | ||
| "engines": { | "engines": { | ||
| "node": ">=20", | "node": ">=20", | ||
| "pnpm": "9.x" | "pnpm": "10.x" | ||
| }, | }, | ||
| "license": "Apache-2.0", | "license": "Apache-2.0", | ||
| "dependencies": { | "dependencies": { | ||
| ... | ... |
| ... | @@ -54,7 +54,7 @@ | ... | @@ -54,7 +54,7 @@ |
| }, | }, | ||
| "engines": { | "engines": { | ||
| "node": ">=20", | "node": ">=20", | ||
| "pnpm": ">=9" | "pnpm": "10.x" | ||
| }, | }, | ||
| "license": "Apache-2.0", | "license": "Apache-2.0", | ||
| "dependencies": { | "dependencies": { | ||
| ... | ... |
| ... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
| "repository": { | "repository": { | ||
| "type": "git", | "type": "git", | ||
| "url": "https://github.com/labring/FastGPT.git", | "url": "https://github.com/labring/FastGPT.git", | ||
| "directory": "FastGPT/packages/storage" | "directory": "sdk/storage" | ||
| }, | }, | ||
| "homepage": "https://github.com/labring/FastGPT", | "homepage": "https://github.com/labring/FastGPT", | ||
| "bugs": { | "bugs": { | ||
| ... | @@ -21,7 +21,7 @@ | ... | @@ -21,7 +21,7 @@ |
| }, | }, | ||
| "engines": { | "engines": { | ||
| "node": ">=20", | "node": ">=20", | ||
| "pnpm": "9.x" | "pnpm": "10.x" | ||
| }, | }, | ||
| "exports": { | "exports": { | ||
| ".": { | ".": { | ||
| ... | @@ -53,8 +53,8 @@ | ... | @@ -53,8 +53,8 @@ |
| "ali-oss": "^6.23.0", | "ali-oss": "^6.23.0", | ||
| "cos-nodejs-sdk-v5": "^2.15.4", | "cos-nodejs-sdk-v5": "^2.15.4", | ||
| "es-toolkit": "^1.43.0", | "es-toolkit": "^1.43.0", | ||
| "minio": "8.0.7", | "minio": "catalog:", | ||
| "vitest": "^4.0.16" | "vitest": "catalog:" | ||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@types/ali-oss": "^6.16.13", | "@types/ali-oss": "^6.16.13", | ||
| ... | ... |
File moved
test/integrationTest/READMD.md
deleted
100644 → 0
test/mocks/common/geo.ts
deleted
100644 → 0
turbo.json
0 → 100644
zhlint
deleted
100644 → 0
Please
register
or
sign in
to comment