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", | ||
| "private": true, | ||
| "scripts": { | ||
| ... | ... |
| ... | ... | @@ -3,6 +3,9 @@ |
| "version": "4.0", | ||
| "private": true, | ||
| "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", | ||
| "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", | ||
| ... | ... | @@ -10,36 +13,42 @@ |
| "initIcon": "node ./scripts/icon/init.js && prettier --config \"./.prettierrc.js\" --write \"packages/web/components/common/Icon/constants.ts\"", | ||
| "previewIcon": "node ./scripts/icon/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", | ||
| "test": "vitest run --coverage", | ||
| "test:vector": "vitest run --config test/integrationTest/vectorDB/vitest.config.mts" | ||
| "test": "pnpm test:workspace", | ||
| "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": { | ||
| "@chakra-ui/cli": "^2.4.1", | ||
| "@typescript-eslint/eslint-plugin": "^6.21.0", | ||
| "@typescript-eslint/parser": "^6.21.0", | ||
| "@vitest/coverage-v8": "^3.0.9", | ||
| "@typescript-eslint/eslint-plugin": "catalog:", | ||
| "@typescript-eslint/parser": "catalog:", | ||
| "@vitest/coverage-v8": "catalog:", | ||
| "eslint": "catalog:", | ||
| "eslint-config-next": "catalog:", | ||
| "husky": "^8.0.3", | ||
| "i18next": "catalog:", | ||
| "js-yaml": "catalog:", | ||
| "lint-staged": "^13.3.0", | ||
| "mongodb-memory-server": "^10.1.4", | ||
| "mongodb-memory-server": "catalog:", | ||
| "next-i18next": "catalog:", | ||
| "prettier": "3.2.4", | ||
| "react-i18next": "catalog:", | ||
| "typescript": "^5.1.3", | ||
| "vitest": "^3.0.9", | ||
| "zhlint": "^0.7.4" | ||
| "turbo": "2.9.6", | ||
| "typescript": "catalog:", | ||
| "vitest": "catalog:" | ||
| }, | ||
| "lint-staged": { | ||
| "./**/**/*.{ts,tsx,scss}": [ | ||
| "prettier --config ./.prettierrc.js --write --ignore-unknown" | ||
| ], | ||
| "./**/**/*.{ts,tsx}": [ | ||
| "eslint --fix --ignore-path .eslintignore" | ||
| ], | ||
| "./document/**/**/*.mdx": [ | ||
| "pnpm -C ./document run format-doc", | ||
| "pnpm -C ./document run initDocTime", | ||
| ... | ... | @@ -47,10 +56,18 @@ |
| "pnpm -C ./document run checkDocRefs", | ||
| "pnpm -C ./document run removeInvalidImg", | ||
| "git add ." | ||
| ], | ||
| "**/*.{ts,tsx}": [ | ||
| "prettier --config ./.prettierrc.js --write", | ||
| "eslint --fix --ignore-path .eslintignore" | ||
| ], | ||
| "**/*.scss": [ | ||
| "prettier --config ./.prettierrc.js --write" | ||
| ] | ||
| }, | ||
| "engines": { | ||
| "node": ">=20", | ||
| "pnpm": "9.x" | ||
| } | ||
| "pnpm": "10.x" | ||
| }, | ||
| "packageManager": "pnpm@10.33.2" | ||
| } |
| { | ||
| "name": "@fastgpt/global", | ||
| "version": "1.0.0", | ||
| "scripts": { | ||
| "test": "vitest run -c vitest.config.ts", | ||
| "test:watch": "vitest -c vitest.config.ts" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20", | ||
| "pnpm": "9.x" | ||
| "pnpm": "10.x" | ||
| }, | ||
| "dependencies": { | ||
| "@fastgpt-sdk/plugin": "0.6.0", | ||
| ... | ... | @@ -16,7 +20,7 @@ |
| "js-yaml": "catalog:", | ||
| "jschardet": "3.1.1", | ||
| "json5": "catalog:", | ||
| "nanoid": "^5.1.3", | ||
| "nanoid": "catalog:", | ||
| "next": "catalog:", | ||
| "openai": "4.104.0", | ||
| "openapi-types": "^12.1.3", | ||
| ... | ... | @@ -27,7 +31,7 @@ |
| }, | ||
| "devDependencies": { | ||
| "@types/lodash": "catalog:", | ||
| "@types/js-yaml": "^4.0.9", | ||
| "@types/node": "20.14.0" | ||
| "@types/js-yaml": "catalog:", | ||
| "@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 @@ |
| "name": "@fastgpt/service", | ||
| "version": "1.0.0", | ||
| "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": { | ||
| "node": ">=20", | ||
| "pnpm": "9.x" | ||
| "pnpm": "10.x" | ||
| }, | ||
| "dependencies": { | ||
| "@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/storage": "catalog:", | ||
| "@fastgpt-sdk/storage": "workspace:*", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@mariozechner/pi-agent-core": "^0.67.3", | ||
| "@mariozechner/pi-ai": "^0.67.3", | ||
| "@maxmind/geoip2-node": "^6.3.4", | ||
| "@modelcontextprotocol/sdk": "catalog:", | ||
| "@node-rs/jieba": "2.0.1", | ||
| "@node-rs/jieba": "catalog:", | ||
| "@opentelemetry/api": "^1.9.0", | ||
| "@t3-oss/env-core": "0.13.10", | ||
| "@xmldom/xmldom": "^0.8.10", | ||
| "@zilliz/milvus2-sdk-node": "2.4.10", | ||
| "axios": "catalog:", | ||
| "bullmq": "^5.52.2", | ||
| "chalk": "^5.3.0", | ||
| "chalk": "catalog:", | ||
| "cheerio": "1.0.0-rc.12", | ||
| "cookie": "^0.7.1", | ||
| "date-fns": "catalog:", | ||
| ... | ... | @@ -42,14 +48,14 @@ |
| "json5": "catalog:", | ||
| "jsonpath-plus": "^10.3.0", | ||
| "jsonrepair": "^3.0.0", | ||
| "jsonwebtoken": "^9.0.2", | ||
| "jsonwebtoken": "catalog:", | ||
| "jszip": "^3.10.1", | ||
| "lodash": "catalog:", | ||
| "mammoth": "^1.11.0", | ||
| "mime": "catalog:", | ||
| "mime-types": "catalog:", | ||
| "minio": "catalog:", | ||
| "mongoose": "^8.10.1", | ||
| "mongoose": "catalog:", | ||
| "multer": "2.1.0", | ||
| "mysql2": "^3.11.3", | ||
| "next": "catalog:", | ||
| ... | ... | @@ -64,7 +70,7 @@ |
| "pino-opentelemetry-transport": "^1.0.1", | ||
| "proxy-agent": "catalog:", | ||
| "proxy-from-env": "^1.1.0", | ||
| "request-ip": "^3.3.0", | ||
| "request-ip": "catalog:", | ||
| "tiktoken": "1.0.17", | ||
| "tunnel": "^0.0.6", | ||
| "turndown": "^7.1.2", | ||
| ... | ... | @@ -76,7 +82,7 @@ |
| "@types/async-retry": "^1.4.9", | ||
| "@types/cookie": "^0.5.2", | ||
| "@types/decompress": "^4.2.7", | ||
| "@types/jsonwebtoken": "^9.0.3", | ||
| "@types/jsonwebtoken": "catalog:", | ||
| "@types/lodash": "catalog:", | ||
| "@types/mime-types": "catalog:", | ||
| "@types/multer": "^1.4.10", | ||
| ... | ... | @@ -84,7 +90,7 @@ |
| "@types/papaparse": "5.3.7", | ||
| "@types/pg": "^8.6.6", | ||
| "@types/proxy-from-env": "^1.0.4", | ||
| "@types/request-ip": "^0.0.37", | ||
| "@types/request-ip": "catalog:", | ||
| "@types/tunnel": "^0.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
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
File moved
File moved
File moved
File moved
This diff is collapsed.
Click to expand it.
File moved
File moved
File moved
File moved
File moved
packages/service/test/integrations/README.md
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
File moved
This diff is collapsed.
Click to expand it.
File moved
packages/service/test/tsconfig.json
0 → 100644
This diff is collapsed.
Click to expand it.
File moved
packages/service/vitest.config.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
plugins/README.md
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/model/ocr-surya/Dockerfile
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/model/ocr-surya/README.md
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/model/ocr-surya/app.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
plugins/model/pdf-marker/Dockerfile
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/model/pdf-marker/Readme.md
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/model/pdf-marker/api_mp.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/model/pdf-marker/pip.conf
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
plugins/model/pdf-mineru/.env
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/model/pdf-mineru/Dockerfile
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/model/pdf-mineru/README.md
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
plugins/model/pdf-mistral/.env
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/model/pdf-mistral/README.md
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/model/pdf-mistral/api_mp.py
deleted
100755 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
plugins/model/rerank-bge/README.md
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
plugins/model/rerank-bge/rerank1.png
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
plugins/model/stt-sensevoice/main.py
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/model/stt-sensevoice/run.sh
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
plugins/webcrawler/.dockerignore
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/webcrawler/.gitignore
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/webcrawler/.searchxng.env
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/webcrawler/Caddyfile
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/webcrawler/Dockerfile
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
plugins/webcrawler/README.md
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
projects/app/src/instrumentation-node.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
projects/app/vitest.config.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
File moved
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/integrationTest/READMD.md
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/mocks/common/geo.ts
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
turbo.json
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
zhlint
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment