fix: 补充各子目录缺失的 package.json 文件
Showing
FastGPT-main/document/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/document", | ||
| "version": "1.0.0", | ||
| "private": true, | ||
| "packageManager": "pnpm@10.33.4", | ||
| "scripts": { | ||
| "build": "next build", | ||
| "dev": "next dev --turbo", | ||
| "start": "next start", | ||
| "postinstall": "fumadocs-mdx", | ||
| "format-doc": "pnpm exec textlint --fix \"content/**/*.mdx\" && pnpm exec prettier --config ../.prettierrc.js --write \"**/*.mdx\" && pnpm exec textlint \"content/**/*.mdx\"", | ||
| "lint-doc:text": "pnpm exec textlint \"content/**/*.mdx\"", | ||
| "initDocTime": "node ./script/initDocTime.js", | ||
| "initDocToc": "node ./script/generateToc.js", | ||
| "checkDocRefs": "node ./script/checkDocRefs.js", | ||
| "removeInvalidImg": "node ./script/removeInvalidImg.js" | ||
| }, | ||
| "dependencies": { | ||
| "@orama/orama": "^3.1.11", | ||
| "@orama/tokenizers": "^3.1.11", | ||
| "@radix-ui/react-accordion": "^1.2.12", | ||
| "class-variance-authority": "^0.7.1", | ||
| "fast-glob": "^3.3.3", | ||
| "fs-extra": "^11.3.0", | ||
| "fumadocs-core": "15.6.3", | ||
| "fumadocs-mdx": "11.6.11", | ||
| "fumadocs-ui": "15.6.3", | ||
| "gray-matter": "^4.0.3", | ||
| "lucide-react": "^0.525.0", | ||
| "mermaid": "^10.9.6", | ||
| "next": "^15.5.21", | ||
| "react": "^19.1.0", | ||
| "react-dom": "^19.1.0", | ||
| "react-responsive": "^10.0.1", | ||
| "remark": "^15.0.1", | ||
| "remark-gfm": "^4.0.1", | ||
| "remark-mdx": "^3.1.0", | ||
| "remark-stringify": "^11.0.0", | ||
| "schema-dts": "^1.1.5", | ||
| "tailwind-merge": "^3.5.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@content-collections/core": "^0.15.0", | ||
| "@content-collections/next": "^0.2.6", | ||
| "@tailwindcss/postcss": "^4.1.11", | ||
| "@types/mdx": "^2.0.13", | ||
| "@types/node": "24.0.13", | ||
| "@types/react": "^19.1.8", | ||
| "@types/react-dom": "^19.1.6", | ||
| "postcss": "catalog:", | ||
| "tailwindcss": "^4.1.11", | ||
| "textlint": "catalog:lint", | ||
| "textlint-plugin-mdx": "catalog:lint", | ||
| "textlint-rule-preset-zh-technical-writing": "catalog:lint", | ||
| "typescript": "catalog:", | ||
| "zod": "^4.0.5" | ||
| } | ||
| } |
FastGPT-main/package.json
0 → 100644
| { | ||
| "name": "fastgpt", | ||
| "version": "4.0", | ||
| "private": true, | ||
| "scripts": { | ||
| "dev:pro": "turbo run dev:pro --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", | ||
| "postinstall": "pnpm gen:theme-typings && pnpm run build:sdks", | ||
| "initIcon": "node ./scripts/icon/init.js && prettier --config \"./.prettierrc.js\" --write \"packages/web/components/common/Icon/constants.ts\"", | ||
| "previewIcon": "node ./scripts/icon/index.js", | ||
| "lint": "turbo run lint", | ||
| "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", | ||
| "test": "pnpm test:workspace", | ||
| "test:all": "pnpm test:workspace && pnpm test:vector", | ||
| "test:repo": "vitest run --config vitest.config.mts --coverage --passWithNoTests", | ||
| "test:workspace": "node ./scripts/test/withMongo.mjs pnpm exec 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/otel --filter @fastgpt-sdk/sandbox-adapter build" | ||
| }, | ||
| "devDependencies": { | ||
| "@chakra-ui/cli": "^2.4.1", | ||
| "@types/node": "catalog:", | ||
| "@vitest/coverage-v8": "catalog:", | ||
| "eslint": "catalog:lint", | ||
| "eslint-config-next": "catalog:lint", | ||
| "husky": "^8.0.3", | ||
| "i18next": "catalog:", | ||
| "js-yaml": "catalog:", | ||
| "lint-staged": "catalog:lint", | ||
| "mongodb-memory-server": "catalog:", | ||
| "next-i18next": "catalog:", | ||
| "prettier": "catalog:lint", | ||
| "react-i18next": "catalog:", | ||
| "turbo": "catalog:", | ||
| "typescript": "catalog:", | ||
| "typescript-eslint": "catalog:lint", | ||
| "vitest": "catalog:" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": "10.x" | ||
| }, | ||
| "packageManager": "pnpm@10.33.4" | ||
| } |
FastGPT-main/packages/global/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/global", | ||
| "version": "1.0.0", | ||
| "type": "module", | ||
| "scripts": { | ||
| "test": "vitest run -c vitest.config.ts", | ||
| "test:watch": "vitest -c vitest.config.ts" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": "10.x" | ||
| }, | ||
| "dependencies": { | ||
| "@apidevtools/swagger-parser": "^10.1.0", | ||
| "@bany/curl-to-json": "^1.2.8", | ||
| "@fastgpt-plugin/sdk-client": "0.1.0-alpha.2", | ||
| "@fastgpt-sdk/sandbox-adapter": "workspace:*", | ||
| "ajv": "catalog:", | ||
| "axios": "catalog:", | ||
| "ipaddr.js": "catalog:", | ||
| "cron-parser": "^4.9.0", | ||
| "dayjs": "catalog:", | ||
| "encoding": "^0.1.13", | ||
| "js-yaml": "catalog:", | ||
| "jschardet": "3.1.1", | ||
| "json5": "catalog:", | ||
| "lodash-es": "catalog:", | ||
| "nanoid": "catalog:", | ||
| "openai": "6.34.0", | ||
| "openapi-types": "^12.1.3", | ||
| "timezones-list": "^3.0.2", | ||
| "zod": "catalog:", | ||
| "zod-openapi": "^5.4.6" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/js-yaml": "catalog:", | ||
| "@types/lodash-es": "catalog:", | ||
| "@types/node": "catalog:" | ||
| } | ||
| } |
FastGPT-main/packages/next/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/next", | ||
| "version": "1.0.0", | ||
| "type": "module", | ||
| "scripts": { | ||
| "typecheck": "tsc --noEmit --pretty", | ||
| "lint": "eslint ." | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": "10.x" | ||
| }, | ||
| "dependencies": { | ||
| "next": "catalog:", | ||
| "nextjs-cors": "2.2.1" | ||
| } | ||
| } |
FastGPT-main/packages/service/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/service", | ||
| "version": "1.0.0", | ||
| "type": "module", | ||
| "scripts": { | ||
| "test": "vitest run -c vitest.config.ts", | ||
| "test:benchmark": "vitest run -c vitest.benchmark.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.19.0", | ||
| "pnpm": "10.x" | ||
| }, | ||
| "dependencies": { | ||
| "@apidevtools/json-schema-ref-parser": "^11.7.2", | ||
| "@fastgpt-sdk/otel": "workspace:*", | ||
| "@fastgpt-sdk/sandbox-adapter": "workspace:*", | ||
| "@fastgpt-sdk/storage": "workspace:*", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@llamaindex/liteparse-wasm": "catalog:", | ||
| "@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": "catalog:", | ||
| "@opentelemetry/api": "^1.9.0", | ||
| "@t3-oss/env-core": "catalog:", | ||
| "@xmldom/xmldom": "^0.8.10", | ||
| "@zilliz/milvus2-sdk-node": "2.4.10", | ||
| "axios": "catalog:", | ||
| "bullmq": "^5.52.2", | ||
| "chalk": "catalog:", | ||
| "cheerio": "1.0.0-rc.12", | ||
| "cookie": "^0.7.1", | ||
| "date-fns": "catalog:", | ||
| "dayjs": "catalog:", | ||
| "domino-ext": "^2.1.4", | ||
| "encoding": "^0.1.13", | ||
| "file-type": "catalog:", | ||
| "form-data": "^4.0.4", | ||
| "gpt-tokenizer": "catalog:", | ||
| "http-proxy-agent": "^7.0.2", | ||
| "https-proxy-agent": "^7.0.6", | ||
| "iconv-lite": "^0.6.3", | ||
| "ioredis": "^5.6.0", | ||
| "joplin-turndown-plugin-gfm": "^1.0.12", | ||
| "ipaddr.js": "catalog:", | ||
| "json5": "catalog:", | ||
| "jsonpath-plus": "^10.3.0", | ||
| "jsonrepair": "^3.0.0", | ||
| "jsonwebtoken": "catalog:", | ||
| "jszip": "^3.10.1", | ||
| "lodash-es": "catalog:", | ||
| "mammoth": "^1.11.0", | ||
| "mime": "catalog:", | ||
| "mime-types": "catalog:", | ||
| "minio": "catalog:", | ||
| "mongoose": "catalog:", | ||
| "multer": "2.2.0", | ||
| "mysql2": "^3.11.3", | ||
| "node-cron": "^3.0.3", | ||
| "p-limit": "^7.2.0", | ||
| "papaparse": "5.4.1", | ||
| "pdfjs-dist": "4.10.38", | ||
| "pg": "^8.10.0", | ||
| "pino": "^9.7.0", | ||
| "pino-opentelemetry-transport": "^1.0.1", | ||
| "proxy-addr": "catalog:", | ||
| "proxy-agent": "catalog:", | ||
| "proxy-from-env": "^1.1.0", | ||
| "turndown": "^7.1.2", | ||
| "undici": "catalog:", | ||
| "winston": "^3.17.0", | ||
| "xlsx": "0.18.5", | ||
| "yauzl": "^3.4.0", | ||
| "zod": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/async-retry": "^1.4.9", | ||
| "@types/cookie": "^0.5.2", | ||
| "@types/jsonwebtoken": "catalog:", | ||
| "@types/lodash-es": "catalog:", | ||
| "@types/mime-types": "catalog:", | ||
| "@types/multer": "^1.4.10", | ||
| "@types/node": "catalog:", | ||
| "@types/node-cron": "^3.0.11", | ||
| "@types/papaparse": "5.3.7", | ||
| "@types/pg": "^8.6.6", | ||
| "@types/proxy-addr": "catalog:", | ||
| "@types/proxy-from-env": "^1.0.4", | ||
| "@types/tunnel": "^0.0.4", | ||
| "@types/turndown": "^5.0.4", | ||
| "@types/yauzl": "^2.10.3" | ||
| } | ||
| } |
FastGPT-main/packages/web/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/web", | ||
| "version": "1.0.0", | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": "10.x" | ||
| }, | ||
| "dependencies": { | ||
| "@chakra-ui/anatomy": "catalog:", | ||
| "@chakra-ui/icons": "catalog:", | ||
| "@chakra-ui/next-js": "catalog:", | ||
| "@chakra-ui/react": "catalog:", | ||
| "@chakra-ui/styled-system": "catalog:", | ||
| "@chakra-ui/system": "catalog:", | ||
| "@emotion/react": "catalog:", | ||
| "@emotion/styled": "catalog:", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@fingerprintjs/fingerprintjs": "^4.3.0", | ||
| "@lexical/code": "0.12.6", | ||
| "@lexical/list": "0.12.6", | ||
| "@lexical/markdown": "0.12.6", | ||
| "@lexical/react": "0.12.6", | ||
| "@lexical/rich-text": "0.12.6", | ||
| "@lexical/selection": "0.12.6", | ||
| "@lexical/text": "0.12.6", | ||
| "@lexical/utils": "0.12.6", | ||
| "@monaco-editor/react": "^4.7.0", | ||
| "@tanstack/react-query": "catalog:", | ||
| "ahooks": "catalog:", | ||
| "axios": "catalog:", | ||
| "date-fns": "catalog:", | ||
| "dayjs": "catalog:", | ||
| "i18next": "catalog:", | ||
| "js-cookie": "^3.0.7", | ||
| "lexical": "0.12.6", | ||
| "lodash-es": "catalog:", | ||
| "next": "catalog:", | ||
| "next-i18next": "catalog:", | ||
| "papaparse": "^5.4.1", | ||
| "react": "catalog:", | ||
| "react-beautiful-dnd": "^13.1.1", | ||
| "react-day-picker": "^9.14.0", | ||
| "react-dom": "catalog:", | ||
| "react-hook-form": "catalog:", | ||
| "react-i18next": "catalog:", | ||
| "react-markdown": "catalog:", | ||
| "react-photo-view": "^1.2.6", | ||
| "recharts": "catalog:", | ||
| "rehype-external-links": "^3.0.0", | ||
| "remark-gfm": "catalog:", | ||
| "use-context-selector": "^1.4.4", | ||
| "zustand": "^4.3.5" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/js-cookie": "^3.0.6", | ||
| "@types/lodash-es": "catalog:", | ||
| "@types/papaparse": "^5.3.7", | ||
| "@types/react": "catalog:", | ||
| "@types/react-beautiful-dnd": "^13.1.1", | ||
| "@types/react-dom": "catalog:" | ||
| } | ||
| } |
FastGPT-main/projects/app/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/app", | ||
| "version": "4.16.0", | ||
| "private": false, | ||
| "browserslist": [ | ||
| "Chrome >= 80", | ||
| "Edge >= 80", | ||
| "Firefox >= 74", | ||
| "Safari >= 13", | ||
| "ios_saf >= 13" | ||
| ], | ||
| "scripts": { | ||
| "dev": "pnpm run build:workers && next dev", | ||
| "dev:pro": "pnpm run dev", | ||
| "build": "pnpm run build:workers && next build --debug", | ||
| "build:webpack": "pnpm run build:workers && next build --webpack --debug", | ||
| "analyze": "next experimental-analyze", | ||
| "start": "next start", | ||
| "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", | ||
| "lint": "eslint ./src", | ||
| "build:workers:watch": "tsx scripts/build-workers.ts --watch" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": "10.x" | ||
| }, | ||
| "dependencies": { | ||
| "@chakra-ui/anatomy": "catalog:", | ||
| "@chakra-ui/icons": "catalog:", | ||
| "@chakra-ui/next-js": "catalog:", | ||
| "@chakra-ui/react": "catalog:", | ||
| "@chakra-ui/styled-system": "catalog:", | ||
| "@chakra-ui/system": "catalog:", | ||
| "@dagrejs/dagre": "^1.1.4", | ||
| "@dnd-kit/core": "catalog:", | ||
| "@emotion/react": "catalog:", | ||
| "@emotion/styled": "catalog:", | ||
| "@fastgpt-sdk/otel": "workspace:*", | ||
| "@fastgpt-sdk/sandbox-adapter": "workspace:*", | ||
| "@fastgpt-sdk/storage": "workspace:*", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@fastgpt/next": "workspace:*", | ||
| "@fastgpt/service": "workspace:*", | ||
| "@fastgpt/web": "workspace:*", | ||
| "@fortaine/fetch-event-source": "^3.0.6", | ||
| "@llamaindex/liteparse-wasm": "catalog:", | ||
| "@modelcontextprotocol/sdk": "catalog:", | ||
| "@monaco-editor/react": "^4.7.0", | ||
| "@node-rs/jieba": "catalog:", | ||
| "@scalar/api-reference-react": "^0.8.1", | ||
| "@t3-oss/env-core": "catalog:", | ||
| "@tanstack/react-query": "catalog:", | ||
| "ahooks": "catalog:", | ||
| "archiver": "^7.0.1", | ||
| "axios": "catalog:", | ||
| "date-fns": "catalog:", | ||
| "dayjs": "catalog:", | ||
| "echarts": "5.4.1", | ||
| "echarts-gl": "2.0.9", | ||
| "esbuild": "^0.25.11", | ||
| "framer-motion": "9.1.7", | ||
| "hast-util-to-jsx-runtime": "^2.3.6", | ||
| "hyperdown": "^2.4.29", | ||
| "i18next": "catalog:", | ||
| "immer": "^9.0.19", | ||
| "ip2region.js": "^3.1.6", | ||
| "js-yaml": "catalog:", | ||
| "json5": "catalog:", | ||
| "jsondiffpatch": "^0.7.2", | ||
| "jsonwebtoken": "catalog:", | ||
| "jszip": "^3.10.1", | ||
| "katex": "0.16.22", | ||
| "lodash-es": "catalog:", | ||
| "marked": "^17.0.6", | ||
| "mermaid": "^10.9.6", | ||
| "mime": "catalog:", | ||
| "minio": "catalog:", | ||
| "mongoose": "catalog:", | ||
| "nanoid": "catalog:", | ||
| "next": "catalog:", | ||
| "next-i18next": "catalog:", | ||
| "nprogress": "^0.2.0", | ||
| "p-limit": "^7.2.0", | ||
| "qrcode": "^1.5.4", | ||
| "react": "catalog:", | ||
| "react-dom": "catalog:", | ||
| "react-hook-form": "catalog:", | ||
| "react-i18next": "catalog:", | ||
| "react-markdown": "catalog:", | ||
| "remark-parse": "^11.0.0", | ||
| "remark-rehype": "^11.1.1", | ||
| "react-syntax-highlighter": "^15.5.0", | ||
| "react-textarea-autosize": "^8.5.4", | ||
| "reactflow": "^11.7.4", | ||
| "recharts": "catalog:", | ||
| "rehype-external-links": "^3.0.0", | ||
| "rehype-katex": "^7.0.0", | ||
| "remark-breaks": "^4.0.0", | ||
| "remark-gfm": "catalog:", | ||
| "remark-math": "^6.0.0", | ||
| "remend": "catalog:", | ||
| "sass": "^1.58.3", | ||
| "undici": "catalog:", | ||
| "unified": "^11.0.5", | ||
| "use-context-selector": "^1.4.4", | ||
| "vaul": "catalog:", | ||
| "vfile": "^6.0.3", | ||
| "zod": "catalog:", | ||
| "@xterm/addon-fit": "catalog:", | ||
| "@xterm/xterm": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@next/bundle-analyzer": "16.1.6", | ||
| "@svgr/webpack": "catalog:", | ||
| "@types/archiver": "^6.0.2", | ||
| "@types/js-yaml": "catalog:", | ||
| "@types/jsonwebtoken": "catalog:", | ||
| "@types/lodash-es": "catalog:", | ||
| "@types/node": "catalog:", | ||
| "@types/nprogress": "^0.2.0", | ||
| "@types/qrcode": "^1.5.5", | ||
| "@types/react": "catalog:", | ||
| "@types/react-dom": "catalog:", | ||
| "@types/react-syntax-highlighter": "^15.5.6", | ||
| "eslint": "catalog:lint", | ||
| "eslint-config-next": "catalog:lint", | ||
| "tailwindcss": "^3", | ||
| "tsx": "catalog:", | ||
| "typescript": "catalog:", | ||
| "typescript-eslint": "catalog:lint", | ||
| "vitest": "catalog:" | ||
| } | ||
| } |
| { | ||
| "name": "@fastgpt/code-sandbox", | ||
| "version": "5.0.0", | ||
| "description": "FastGPT Code Sandbox - Node + Hono + 统一子进程模型", | ||
| "author": "", | ||
| "private": true, | ||
| "license": "UNLICENSED", | ||
| "type": "module", | ||
| "scripts": { | ||
| "dev": "tsx watch src/index.ts", | ||
| "start": "node dist/index.js", | ||
| "build:native:python": "cd native/python-sandbox && go build -buildmode=c-shared -o ../../src/isolated/fastgpt_python_sandbox.so ./cmd/lib", | ||
| "build": "sh build.sh", | ||
| "test": "vitest run", | ||
| "test:watch": "vitest" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": "10.x" | ||
| }, | ||
| "dependencies": { | ||
| "@fastgpt-sdk/otel": "workspace:*", | ||
| "@hono/node-server": "catalog:", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@t3-oss/env-core": "catalog:", | ||
| "acorn": "^8.15.0", | ||
| "acorn-walk": "^8.3.4", | ||
| "axios": "catalog:", | ||
| "crypto-js": "^4.2.0", | ||
| "dayjs": "catalog:", | ||
| "dotenv": "^17.3.1", | ||
| "hono": "catalog:", | ||
| "moment": "^2.30.1", | ||
| "qs": "^6.15.2", | ||
| "uuid": "^9.0.1", | ||
| "zod": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "catalog:", | ||
| "lodash": "4.17.23", | ||
| "tsdown": "catalog:", | ||
| "tsx": "catalog:", | ||
| "typescript": "catalog:", | ||
| "vitest": "catalog:", | ||
| "@vitest/coverage-v8": "catalog:" | ||
| } | ||
| } |
| { | ||
| "name": "@fastgpt/marketplace", | ||
| "version": "0.1.0", | ||
| "private": true, | ||
| "scripts": { | ||
| "dev": "next dev", | ||
| "build": "next build", | ||
| "start": "next start", | ||
| "lint": "next lint", | ||
| "typecheck": "tsc --noEmit --pretty", | ||
| "test": "vitest run -c vitest.config.ts", | ||
| "test:watch": "vitest -c vitest.config.ts" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": "10.x" | ||
| }, | ||
| "dependencies": { | ||
| "@chakra-ui/anatomy": "catalog:", | ||
| "@chakra-ui/icons": "catalog:", | ||
| "@chakra-ui/next-js": "catalog:", | ||
| "@chakra-ui/react": "catalog:", | ||
| "@chakra-ui/styled-system": "catalog:", | ||
| "@chakra-ui/system": "catalog:", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@fastgpt/next": "workspace:*", | ||
| "@fastgpt-sdk/otel": "workspace:*", | ||
| "@t3-oss/env-core": "catalog:", | ||
| "@fastgpt-sdk/storage": "workspace:*", | ||
| "@fastgpt/service": "workspace:*", | ||
| "@fastgpt/web": "workspace:*", | ||
| "axios": "catalog:", | ||
| "i18next": "catalog:", | ||
| "mongoose": "catalog:", | ||
| "next": "catalog:", | ||
| "next-i18next": "catalog:", | ||
| "react": "catalog:", | ||
| "react-dom": "catalog:", | ||
| "react-i18next": "catalog:", | ||
| "zod": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@svgr/webpack": "catalog:", | ||
| "@types/node": "catalog:", | ||
| "@types/react": "catalog:", | ||
| "@types/react-dom": "catalog:", | ||
| "eslint": "catalog:lint", | ||
| "eslint-config-next": "catalog:lint", | ||
| "postcss": "catalog:", | ||
| "tailwindcss": "^3.4.1", | ||
| "typescript": "catalog:" | ||
| } | ||
| } |
| { | ||
| "name": "@fastgpt/mcp_server", | ||
| "version": "0.1", | ||
| "keywords": [], | ||
| "author": "fastgpt", | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "type": "module", | ||
| "scripts": { | ||
| "build": "bun build src/index.ts --outdir=dist --target=node && chmod +x dist/index.js", | ||
| "dev": "bun --watch src/index.ts", | ||
| "start": "bun src/index.ts", | ||
| "mcp_test": "npx @modelcontextprotocol/inspector" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": "10.x" | ||
| }, | ||
| "dependencies": { | ||
| "@fastgpt/global": "workspace:*", | ||
| "@fastgpt-sdk/otel": "workspace:*", | ||
| "@modelcontextprotocol/sdk": "catalog:", | ||
| "@t3-oss/env-core": "catalog:", | ||
| "chalk": "catalog:", | ||
| "dayjs": "catalog:", | ||
| "dotenv": "^16.5.0", | ||
| "express": "catalog:", | ||
| "zod": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/express": "^5.0.1" | ||
| } | ||
| } |
| { | ||
| "name": "@fastgpt/volume-manager", | ||
| "version": "0.0.1", | ||
| "private": true, | ||
| "type": "module", | ||
| "scripts": { | ||
| "dev": "tsx watch src/index.ts", | ||
| "build": "sh build.sh", | ||
| "start": "node dist/index.js", | ||
| "test": "vitest run" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": "10.x" | ||
| }, | ||
| "dependencies": { | ||
| "@hono/node-server": "catalog:", | ||
| "hono": "catalog:", | ||
| "undici": "catalog:", | ||
| "zod": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "catalog:", | ||
| "tsdown": "catalog:", | ||
| "tsx": "catalog:", | ||
| "typescript": "catalog:", | ||
| "vitest": "catalog:" | ||
| } | ||
| } |
FastGPT-main/scripts/icon/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/icon", | ||
| "version": "1.0.0", | ||
| "description": "", | ||
| "main": "index.js", | ||
| "scripts": { | ||
| "test": "echo \"Error: no test specified\" && exit 1" | ||
| }, | ||
| "keywords": [], | ||
| "author": "", | ||
| "license": "ISC", | ||
| "dependencies": { | ||
| "express": "catalog:" | ||
| } | ||
| } |
FastGPT-main/sdk/otel/package.json
0 → 100644
| { | ||
| "name": "@fastgpt-sdk/otel", | ||
| "private": false, | ||
| "version": "0.1.2", | ||
| "description": "FastGPT SDK for OpenTelemetry observability", | ||
| "type": "module", | ||
| "main": "./dist/index.mjs", | ||
| "types": "./dist/index.d.mts", | ||
| "exports": { | ||
| ".": { | ||
| "import": "./dist/index.mjs", | ||
| "types": "./dist/index.d.mts" | ||
| }, | ||
| "./logger": { | ||
| "import": "./dist/logger-entry.mjs", | ||
| "types": "./dist/logger-entry.d.mts" | ||
| }, | ||
| "./metrics": { | ||
| "import": "./dist/metrics-entry.mjs", | ||
| "types": "./dist/metrics-entry.d.mts" | ||
| }, | ||
| "./tracing": { | ||
| "import": "./dist/tracing-entry.mjs", | ||
| "types": "./dist/tracing-entry.d.mts" | ||
| } | ||
| }, | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "scripts": { | ||
| "build": "tsdown", | ||
| "dev": "tsdown --watch", | ||
| "lint": "eslint .", | ||
| "test": "vitest run --config vitest.config.ts", | ||
| "prepublishOnly": "pnpm build" | ||
| }, | ||
| "keywords": [ | ||
| "otel", | ||
| "opentelemetry", | ||
| "metrics", | ||
| "tracing", | ||
| "logging" | ||
| ], | ||
| "author": "FastGPT", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/labring/FastGPT.git", | ||
| "directory": "FastGPT/sdk/otel" | ||
| }, | ||
| "homepage": "https://github.com/labring/FastGPT", | ||
| "bugs": { | ||
| "url": "https://github.com/labring/FastGPT/issues" | ||
| }, | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": "10.x" | ||
| }, | ||
| "license": "Apache-2.0", | ||
| "dependencies": { | ||
| "@logtape/logtape": "^2", | ||
| "@logtape/pretty": "^2", | ||
| "@opentelemetry/api": "^1.9.0", | ||
| "@opentelemetry/api-logs": "^0.203.0", | ||
| "@opentelemetry/exporter-logs-otlp-http": "^0.203.0", | ||
| "@opentelemetry/exporter-metrics-otlp-http": "^0.203.0", | ||
| "@opentelemetry/exporter-trace-otlp-http": "^0.203.0", | ||
| "@opentelemetry/resources": "^2.0.1", | ||
| "@opentelemetry/sdk-logs": "^0.203.0", | ||
| "@opentelemetry/sdk-metrics": "^2.0.1", | ||
| "@opentelemetry/sdk-trace-base": "^2.0.1", | ||
| "@opentelemetry/sdk-trace-node": "^2.0.1", | ||
| "@opentelemetry/semantic-conventions": "^1.39.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "catalog:", | ||
| "tsdown": "catalog:", | ||
| "typescript": "catalog:" | ||
| } | ||
| } |
| { | ||
| "name": "@fastgpt-sdk/sandbox-adapter", | ||
| "version": "0.0.40-beta.6", | ||
| "description": "Unified abstraction layer for cloud sandbox providers with adapter pattern and feature polyfilling", | ||
| "type": "module", | ||
| "main": "./dist/index.js", | ||
| "module": "./dist/index.js", | ||
| "types": "./dist/index.d.ts", | ||
| "exports": { | ||
| ".": { | ||
| "types": "./dist/index.d.ts", | ||
| "import": "./dist/index.js" | ||
| } | ||
| }, | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
| "sideEffects": false, | ||
| "engines": { | ||
| "node": ">=20" | ||
| }, | ||
| "scripts": { | ||
| "build": "tsdown", | ||
| "dev": "tsdown --watch", | ||
| "prepublishOnly": "pnpm build", | ||
| "test": "vitest run --config ./vitest.config.ts" | ||
| }, | ||
| "dependencies": { | ||
| "@alibaba-group/opensandbox": "^0.1.10" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "catalog:", | ||
| "tsdown": "catalog:", | ||
| "typescript": "catalog:", | ||
| "vitest": "catalog:", | ||
| "@vitest/coverage-v8": "catalog:" | ||
| } | ||
| } |
FastGPT-main/sdk/storage/package.json
0 → 100644
| { | ||
| "name": "@fastgpt-sdk/storage", | ||
| "private": false, | ||
| "version": "0.8.0", | ||
| "type": "module", | ||
| "main": "./dist/index.js", | ||
| "types": "./dist/index.d.ts", | ||
| "description": "FastGPT SDK for object storage", | ||
| "author": "FastGPT", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/labring/FastGPT.git", | ||
| "directory": "sdk/storage" | ||
| }, | ||
| "homepage": "https://github.com/labring/FastGPT", | ||
| "bugs": { | ||
| "url": "https://github.com/labring/FastGPT/issues" | ||
| }, | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": "10.x" | ||
| }, | ||
| "exports": { | ||
| ".": { | ||
| "import": "./dist/index.js", | ||
| "types": "./dist/index.d.ts" | ||
| }, | ||
| "./access-link": { | ||
| "import": "./dist/access-link/index.js", | ||
| "types": "./dist/access-link/index.d.ts" | ||
| } | ||
| }, | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "license": "Apache-2.0", | ||
| "keywords": [ | ||
| "object-storage", | ||
| "storage", | ||
| "aws-s3", | ||
| "cos", | ||
| "minio", | ||
| "oss" | ||
| ], | ||
| "scripts": { | ||
| "build": "tsdown", | ||
| "dev": "tsdown --watch", | ||
| "test": "vitest run --config vitest.config.ts", | ||
| "test:unit": "vitest run --config vitest.config.ts test/unit", | ||
| "test:integration": "vitest run --config vitest.config.ts test/integration", | ||
| "test:integration:common": "vitest run --config vitest.config.ts test/integration/common", | ||
| "test:integration:minio": "vitest run --config vitest.config.ts test/integration/minio", | ||
| "typecheck:test": "tsc --noEmit -p tsconfig.test.json", | ||
| "prepublishOnly": "pnpm build" | ||
| }, | ||
| "dependencies": { | ||
| "@aws-sdk/client-s3": "^3.948.0", | ||
| "@aws-sdk/lib-storage": "^3.948.0", | ||
| "@aws-sdk/s3-request-presigner": "^3.952.0", | ||
| "ali-oss": "^6.23.0", | ||
| "cos-nodejs-sdk-v5": "^2.15.4", | ||
| "es-toolkit": "^1.43.0", | ||
| "minio": "catalog:", | ||
| "vitest": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/ali-oss": "^6.16.13", | ||
| "@types/node": "^20", | ||
| "tsdown": "catalog:", | ||
| "typescript": "catalog:" | ||
| } | ||
| } |
fastgpt-merged/document/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/document", | ||
| "version": "1.0.0", | ||
| "private": true, | ||
| "packageManager": "pnpm@11.7.0", | ||
| "scripts": { | ||
| "build": "next build", | ||
| "dev": "next dev --turbo", | ||
| "start": "next start", | ||
| "postinstall": "fumadocs-mdx", | ||
| "format-doc": "pnpm exec textlint --fix \"content/**/*.mdx\" && pnpm exec prettier --config ../.prettierrc.js --write \"**/*.mdx\" && pnpm exec textlint \"content/**/*.mdx\"", | ||
| "lint-doc:text": "pnpm exec textlint \"content/**/*.mdx\"", | ||
| "initDocTime": "node ./script/initDocTime.js", | ||
| "initDocToc": "node ./script/generateToc.js", | ||
| "checkDocRefs": "node ./script/checkDocRefs.js", | ||
| "removeInvalidImg": "node ./script/removeInvalidImg.js" | ||
| }, | ||
| "dependencies": { | ||
| "@orama/orama": "^3.1.11", | ||
| "@orama/tokenizers": "^3.1.11", | ||
| "@radix-ui/react-accordion": "^1.2.12", | ||
| "class-variance-authority": "^0.7.1", | ||
| "fast-glob": "^3.3.3", | ||
| "fs-extra": "^11.3.0", | ||
| "fumadocs-core": "15.6.3", | ||
| "fumadocs-mdx": "11.6.11", | ||
| "fumadocs-ui": "15.6.3", | ||
| "gray-matter": "^4.0.3", | ||
| "lucide-react": "^0.525.0", | ||
| "mermaid": "^10.9.6", | ||
| "next": "^15.5.21", | ||
| "react": "^19.1.0", | ||
| "react-dom": "^19.1.0", | ||
| "react-responsive": "^10.0.1", | ||
| "remark": "^15.0.1", | ||
| "remark-gfm": "^4.0.1", | ||
| "remark-mdx": "^3.1.0", | ||
| "remark-stringify": "^11.0.0", | ||
| "schema-dts": "^1.1.5", | ||
| "tailwind-merge": "^3.5.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@content-collections/core": "^0.15.0", | ||
| "@content-collections/next": "^0.2.6", | ||
| "@tailwindcss/postcss": "^4.1.11", | ||
| "@types/mdx": "^2.0.13", | ||
| "@types/node": "24.0.13", | ||
| "@types/react": "^19.1.8", | ||
| "@types/react-dom": "^19.1.6", | ||
| "postcss": "catalog:", | ||
| "tailwindcss": "^4.1.11", | ||
| "textlint": "catalog:lint", | ||
| "textlint-plugin-mdx": "catalog:lint", | ||
| "textlint-rule-preset-zh-technical-writing": "catalog:lint", | ||
| "typescript": "catalog:", | ||
| "zod": "^4.0.5" | ||
| } | ||
| } |
fastgpt-merged/package.json
0 → 100644
| { | ||
| "name": "AI Agents Flow", | ||
| "version": "4.0", | ||
| "private": true, | ||
| "scripts": { | ||
| "dev:pro": "turbo run dev:pro --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", | ||
| "postinstall": "pnpm gen:theme-typings && pnpm run build:sdks", | ||
| "initIcon": "node ./scripts/icon/init.js && prettier --config \"./.prettierrc.js\" --write \"packages/web/components/common/Icon/constants.ts\"", | ||
| "previewIcon": "node ./scripts/icon/index.js", | ||
| "format-code": "prettier --config \"./.prettierrc.js\" --write \"./**/src/**/*.{ts,tsx,scss}\"", | ||
| "lint": "turbo run lint", | ||
| "create:i18n": "node ./scripts/i18n/index.js", | ||
| "format-doc": "zhlint --dir ./document/ *.mdx --fix", | ||
| "initDocTime": "node ./document/script/initDocTime.js", | ||
| "initDocToc": "node ./document/lib/generateToc.js", | ||
| "api:gen": "tsc ./scripts/openapi/index.ts && node ./scripts/openapi/index.js && npx @redocly/cli build-docs ./scripts/openapi/openapi.json -o ./projects/app/public/openapi/index.html", | ||
| "migration:collaborator": "npx ts-node scripts/migration/migrateCollaboratorToResource.ts", | ||
| "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", | ||
| "test": "pnpm test:workspace", | ||
| "test:all": "pnpm test:workspace && pnpm test:vector", | ||
| "test:repo": "vitest run --config vitest.config.mts --coverage --passWithNoTests", | ||
| "test:workspace": "node ./scripts/test/withMongo.mjs pnpm exec 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/otel --filter @fastgpt-sdk/sandbox-adapter build" | ||
| }, | ||
| "devDependencies": { | ||
| "@chakra-ui/cli": "^2.4.1", | ||
| "@types/node": "catalog:", | ||
| "@vitest/coverage-v8": "catalog:", | ||
| "eslint": "catalog:lint", | ||
| "eslint-config-next": "catalog:lint", | ||
| "husky": "^8.0.3", | ||
| "i18next": "catalog:", | ||
| "js-yaml": "catalog:", | ||
| "lint-staged": "catalog:lint", | ||
| "mongodb-memory-server": "catalog:", | ||
| "next-i18next": "catalog:", | ||
| "prettier": "catalog:lint", | ||
| "react-i18next": "catalog:", | ||
| "turbo": "catalog:", | ||
| "typescript": "catalog:", | ||
| "typescript-eslint": "catalog:lint", | ||
| "vitest": "catalog:" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": ">=10" | ||
| }, | ||
| "packageManager": "pnpm@11.7.0" | ||
| } |
fastgpt-merged/packages/global/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/global", | ||
| "version": "1.0.0", | ||
| "type": "module", | ||
| "scripts": { | ||
| "test": "vitest run -c vitest.config.ts", | ||
| "test:watch": "vitest -c vitest.config.ts" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": ">=10" | ||
| }, | ||
| "dependencies": { | ||
| "@apidevtools/swagger-parser": "^10.1.0", | ||
| "@bany/curl-to-json": "^1.2.8", | ||
| "@fastgpt-plugin/sdk-client": "0.1.0-alpha.2", | ||
| "@fastgpt-sdk/sandbox-adapter": "workspace:*", | ||
| "ajv": "catalog:", | ||
| "axios": "catalog:", | ||
| "ipaddr.js": "catalog:", | ||
| "cron-parser": "^4.9.0", | ||
| "dayjs": "catalog:", | ||
| "encoding": "^0.1.13", | ||
| "js-yaml": "catalog:", | ||
| "jschardet": "3.1.1", | ||
| "json5": "catalog:", | ||
| "lodash-es": "catalog:", | ||
| "nanoid": "catalog:", | ||
| "openai": "6.34.0", | ||
| "openapi-types": "^12.1.3", | ||
| "timezones-list": "^3.0.2", | ||
| "zod": "catalog:", | ||
| "zod-openapi": "^5.4.6" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/js-yaml": "catalog:", | ||
| "@types/lodash-es": "catalog:", | ||
| "@types/node": "catalog:" | ||
| } | ||
| } | ||
fastgpt-merged/packages/next/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/next", | ||
| "version": "1.0.0", | ||
| "type": "module", | ||
| "scripts": { | ||
| "typecheck": "tsc --noEmit --pretty", | ||
| "lint": "eslint ." | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": ">=10" | ||
| }, | ||
| "dependencies": { | ||
| "next": "catalog:", | ||
| "nextjs-cors": "2.2.1" | ||
| } | ||
| } | ||
fastgpt-merged/packages/service/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/service", | ||
| "version": "1.0.0", | ||
| "type": "module", | ||
| "scripts": { | ||
| "test": "vitest run -c vitest.config.ts", | ||
| "test:benchmark": "vitest run -c vitest.benchmark.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.19.0", | ||
| "pnpm": ">=10" | ||
| }, | ||
| "dependencies": { | ||
| "@apidevtools/json-schema-ref-parser": "^11.7.2", | ||
| "@fastgpt-sdk/otel": "workspace:*", | ||
| "@fastgpt-sdk/sandbox-adapter": "workspace:*", | ||
| "@fastgpt-sdk/storage": "workspace:*", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@llamaindex/liteparse-wasm": "catalog:", | ||
| "@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": "catalog:", | ||
| "@opentelemetry/api": "^1.9.0", | ||
| "@t3-oss/env-core": "catalog:", | ||
| "@xmldom/xmldom": "^0.8.10", | ||
| "@zilliz/milvus2-sdk-node": "2.4.10", | ||
| "axios": "catalog:", | ||
| "bullmq": "^5.52.2", | ||
| "chalk": "catalog:", | ||
| "cheerio": "1.0.0-rc.12", | ||
| "cookie": "^0.7.1", | ||
| "date-fns": "catalog:", | ||
| "dayjs": "catalog:", | ||
| "domino-ext": "^2.1.4", | ||
| "encoding": "^0.1.13", | ||
| "file-type": "catalog:", | ||
| "form-data": "^4.0.4", | ||
| "gpt-tokenizer": "catalog:", | ||
| "http-proxy-agent": "^7.0.2", | ||
| "https-proxy-agent": "^7.0.6", | ||
| "iconv-lite": "^0.6.3", | ||
| "ioredis": "^5.6.0", | ||
| "joplin-turndown-plugin-gfm": "^1.0.12", | ||
| "ipaddr.js": "catalog:", | ||
| "json5": "catalog:", | ||
| "jsonpath-plus": "^10.3.0", | ||
| "jsonrepair": "^3.0.0", | ||
| "jsonwebtoken": "catalog:", | ||
| "jszip": "^3.10.1", | ||
| "lodash-es": "catalog:", | ||
| "mammoth": "^1.11.0", | ||
| "mime": "catalog:", | ||
| "mime-types": "catalog:", | ||
| "minio": "catalog:", | ||
| "mongoose": "catalog:", | ||
| "multer": "2.2.0", | ||
| "mysql2": "^3.11.3", | ||
| "node-cron": "^3.0.3", | ||
| "p-limit": "^7.2.0", | ||
| "papaparse": "5.4.1", | ||
| "pdfjs-dist": "4.10.38", | ||
| "pg": "^8.10.0", | ||
| "pino": "^9.7.0", | ||
| "pino-opentelemetry-transport": "^1.0.1", | ||
| "proxy-addr": "catalog:", | ||
| "proxy-agent": "catalog:", | ||
| "proxy-from-env": "^1.1.0", | ||
| "turndown": "^7.1.2", | ||
| "undici": "catalog:", | ||
| "winston": "^3.17.0", | ||
| "xlsx": "0.18.5", | ||
| "yauzl": "^3.4.0", | ||
| "zod": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/async-retry": "^1.4.9", | ||
| "@types/cookie": "^0.5.2", | ||
| "@types/jsonwebtoken": "catalog:", | ||
| "@types/lodash-es": "catalog:", | ||
| "@types/mime-types": "catalog:", | ||
| "@types/multer": "^1.4.10", | ||
| "@types/node": "catalog:", | ||
| "@types/node-cron": "^3.0.11", | ||
| "@types/papaparse": "5.3.7", | ||
| "@types/pg": "^8.6.6", | ||
| "@types/proxy-addr": "catalog:", | ||
| "@types/proxy-from-env": "^1.0.4", | ||
| "@types/tunnel": "^0.0.4", | ||
| "@types/turndown": "^5.0.4", | ||
| "@types/yauzl": "^2.10.3" | ||
| } | ||
| } | ||
fastgpt-merged/packages/web/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/web", | ||
| "version": "1.0.0", | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": ">=10" | ||
| }, | ||
| "dependencies": { | ||
| "@chakra-ui/anatomy": "catalog:", | ||
| "@chakra-ui/icons": "catalog:", | ||
| "@chakra-ui/next-js": "catalog:", | ||
| "@chakra-ui/react": "catalog:", | ||
| "@chakra-ui/styled-system": "catalog:", | ||
| "@chakra-ui/system": "catalog:", | ||
| "@emotion/react": "catalog:", | ||
| "@emotion/styled": "catalog:", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@fingerprintjs/fingerprintjs": "^4.3.0", | ||
| "@lexical/code": "0.12.6", | ||
| "@lexical/list": "0.12.6", | ||
| "@lexical/markdown": "0.12.6", | ||
| "@lexical/react": "0.12.6", | ||
| "@lexical/rich-text": "0.12.6", | ||
| "@lexical/selection": "0.12.6", | ||
| "@lexical/text": "0.12.6", | ||
| "@lexical/utils": "0.12.6", | ||
| "@monaco-editor/react": "^4.7.0", | ||
| "@tanstack/react-query": "catalog:", | ||
| "ahooks": "catalog:", | ||
| "axios": "catalog:", | ||
| "date-fns": "catalog:", | ||
| "dayjs": "catalog:", | ||
| "i18next": "catalog:", | ||
| "js-cookie": "^3.0.7", | ||
| "lexical": "0.12.6", | ||
| "lodash-es": "catalog:", | ||
| "next": "catalog:", | ||
| "next-i18next": "catalog:", | ||
| "papaparse": "^5.4.1", | ||
| "react": "catalog:", | ||
| "react-beautiful-dnd": "^13.1.1", | ||
| "react-day-picker": "^9.14.0", | ||
| "react-dom": "catalog:", | ||
| "react-hook-form": "catalog:", | ||
| "react-i18next": "catalog:", | ||
| "react-markdown": "catalog:", | ||
| "react-photo-view": "^1.2.6", | ||
| "recharts": "catalog:", | ||
| "rehype-external-links": "^3.0.0", | ||
| "remark-gfm": "catalog:", | ||
| "use-context-selector": "^1.4.4", | ||
| "zustand": "^4.3.5" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/js-cookie": "^3.0.6", | ||
| "@types/lodash-es": "catalog:", | ||
| "@types/papaparse": "^5.3.7", | ||
| "@types/react": "catalog:", | ||
| "@types/react-beautiful-dnd": "^13.1.1", | ||
| "@types/react-dom": "catalog:" | ||
| } | ||
| } | ||
fastgpt-merged/projects/app/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/app", | ||
| "version": "4.16.0", | ||
| "private": false, | ||
| "browserslist": [ | ||
| "Chrome >= 80", | ||
| "Edge >= 80", | ||
| "Firefox >= 74", | ||
| "Safari >= 13", | ||
| "ios_saf >= 13" | ||
| ], | ||
| "scripts": { | ||
| "dev": "pnpm run build:workers && next dev", | ||
| "dev:pro": "pnpm run dev", | ||
| "build": "pnpm run build:workers && next build --debug", | ||
| "build:webpack": "pnpm run build:workers && next build --webpack --debug", | ||
| "analyze": "next experimental-analyze", | ||
| "start": "next start", | ||
| "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", | ||
| "lint": "eslint ./src", | ||
| "build:workers:watch": "tsx scripts/build-workers.ts --watch" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": ">=10" | ||
| }, | ||
| "dependencies": { | ||
| "@chakra-ui/anatomy": "catalog:", | ||
| "@chakra-ui/icons": "catalog:", | ||
| "@chakra-ui/next-js": "catalog:", | ||
| "@chakra-ui/react": "catalog:", | ||
| "@chakra-ui/styled-system": "catalog:", | ||
| "@chakra-ui/system": "catalog:", | ||
| "@dagrejs/dagre": "^1.1.4", | ||
| "@dnd-kit/core": "catalog:", | ||
| "@emotion/react": "catalog:", | ||
| "@emotion/styled": "catalog:", | ||
| "@fastgpt-sdk/otel": "workspace:*", | ||
| "@fastgpt-sdk/sandbox-adapter": "workspace:*", | ||
| "@fastgpt-sdk/storage": "workspace:*", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@fastgpt/next": "workspace:*", | ||
| "@fastgpt/service": "workspace:*", | ||
| "@fastgpt/web": "workspace:*", | ||
| "@fortaine/fetch-event-source": "^3.0.6", | ||
| "@llamaindex/liteparse-wasm": "catalog:", | ||
| "@modelcontextprotocol/sdk": "catalog:", | ||
| "@monaco-editor/react": "^4.7.0", | ||
| "@node-rs/jieba": "catalog:", | ||
| "@scalar/api-reference-react": "^0.8.1", | ||
| "@t3-oss/env-core": "catalog:", | ||
| "@tanstack/react-query": "catalog:", | ||
| "ahooks": "catalog:", | ||
| "archiver": "^7.0.1", | ||
| "axios": "catalog:", | ||
| "date-fns": "catalog:", | ||
| "dayjs": "catalog:", | ||
| "echarts": "5.4.1", | ||
| "echarts-gl": "2.0.9", | ||
| "esbuild": "^0.25.11", | ||
| "framer-motion": "9.1.7", | ||
| "hast-util-to-jsx-runtime": "^2.3.6", | ||
| "hyperdown": "^2.4.29", | ||
| "i18next": "catalog:", | ||
| "immer": "^9.0.19", | ||
| "ip2region.js": "^3.1.6", | ||
| "js-yaml": "catalog:", | ||
| "json5": "catalog:", | ||
| "jsondiffpatch": "^0.7.2", | ||
| "jsonwebtoken": "catalog:", | ||
| "jszip": "^3.10.1", | ||
| "katex": "0.16.22", | ||
| "lodash-es": "catalog:", | ||
| "marked": "^17.0.6", | ||
| "mermaid": "^10.9.6", | ||
| "mime": "catalog:", | ||
| "minio": "catalog:", | ||
| "mongoose": "catalog:", | ||
| "nanoid": "catalog:", | ||
| "next": "catalog:", | ||
| "next-i18next": "catalog:", | ||
| "nprogress": "^0.2.0", | ||
| "p-limit": "^7.2.0", | ||
| "qrcode": "^1.5.4", | ||
| "react": "catalog:", | ||
| "react-dom": "catalog:", | ||
| "react-hook-form": "catalog:", | ||
| "react-i18next": "catalog:", | ||
| "react-markdown": "catalog:", | ||
| "remark-parse": "^11.0.0", | ||
| "remark-rehype": "^11.1.1", | ||
| "react-syntax-highlighter": "^15.5.0", | ||
| "react-textarea-autosize": "^8.5.4", | ||
| "reactflow": "^11.7.4", | ||
| "recharts": "catalog:", | ||
| "rehype-external-links": "^3.0.0", | ||
| "rehype-katex": "^7.0.0", | ||
| "remark-breaks": "^4.0.0", | ||
| "remark-gfm": "catalog:", | ||
| "remark-math": "^6.0.0", | ||
| "remend": "catalog:", | ||
| "sass": "^1.58.3", | ||
| "undici": "catalog:", | ||
| "unified": "^11.0.5", | ||
| "use-context-selector": "^1.4.4", | ||
| "vaul": "catalog:", | ||
| "vfile": "^6.0.3", | ||
| "zod": "catalog:", | ||
| "@xterm/addon-fit": "catalog:", | ||
| "@xterm/xterm": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@next/bundle-analyzer": "16.1.6", | ||
| "@svgr/webpack": "catalog:", | ||
| "@types/archiver": "^6.0.2", | ||
| "@types/js-yaml": "catalog:", | ||
| "@types/jsonwebtoken": "catalog:", | ||
| "@types/lodash-es": "catalog:", | ||
| "@types/node": "catalog:", | ||
| "@types/nprogress": "^0.2.0", | ||
| "@types/qrcode": "^1.5.5", | ||
| "@types/react": "catalog:", | ||
| "@types/react-dom": "catalog:", | ||
| "@types/react-syntax-highlighter": "^15.5.6", | ||
| "eslint": "catalog:lint", | ||
| "eslint-config-next": "catalog:lint", | ||
| "tailwindcss": "^3", | ||
| "tsx": "catalog:", | ||
| "typescript": "catalog:", | ||
| "typescript-eslint": "catalog:lint", | ||
| "vitest": "catalog:" | ||
| } | ||
| } | ||
| { | ||
| "name": "@fastgpt/code-sandbox", | ||
| "version": "5.0.0", | ||
| "description": "FastGPT Code Sandbox - Node + Hono + 统一子进程模型", | ||
| "author": "", | ||
| "private": true, | ||
| "license": "UNLICENSED", | ||
| "type": "module", | ||
| "scripts": { | ||
| "dev": "tsx watch src/index.ts", | ||
| "start": "node dist/index.js", | ||
| "build:native:python": "cd native/python-sandbox && go build -buildmode=c-shared -o ../../src/isolated/fastgpt_python_sandbox.so ./cmd/lib", | ||
| "build": "sh build.sh", | ||
| "test": "vitest run", | ||
| "test:watch": "vitest" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": ">=10" | ||
| }, | ||
| "dependencies": { | ||
| "@fastgpt-sdk/otel": "workspace:*", | ||
| "@hono/node-server": "catalog:", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@t3-oss/env-core": "catalog:", | ||
| "acorn": "^8.15.0", | ||
| "acorn-walk": "^8.3.4", | ||
| "axios": "catalog:", | ||
| "crypto-js": "^4.2.0", | ||
| "dayjs": "catalog:", | ||
| "dotenv": "^17.3.1", | ||
| "hono": "catalog:", | ||
| "moment": "^2.30.1", | ||
| "qs": "^6.15.2", | ||
| "uuid": "^9.0.1", | ||
| "zod": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "catalog:", | ||
| "lodash": "4.17.23", | ||
| "tsdown": "catalog:", | ||
| "tsx": "catalog:", | ||
| "typescript": "catalog:", | ||
| "vitest": "catalog:", | ||
| "@vitest/coverage-v8": "catalog:" | ||
| } | ||
| } | ||
| { | ||
| "name": "@fastgpt/marketplace", | ||
| "version": "0.1.0", | ||
| "private": true, | ||
| "scripts": { | ||
| "dev": "next dev", | ||
| "build": "next build", | ||
| "start": "next start", | ||
| "lint": "next lint", | ||
| "typecheck": "tsc --noEmit --pretty", | ||
| "test": "vitest run -c vitest.config.ts", | ||
| "test:watch": "vitest -c vitest.config.ts" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": ">=10" | ||
| }, | ||
| "dependencies": { | ||
| "@chakra-ui/anatomy": "catalog:", | ||
| "@chakra-ui/icons": "catalog:", | ||
| "@chakra-ui/next-js": "catalog:", | ||
| "@chakra-ui/react": "catalog:", | ||
| "@chakra-ui/styled-system": "catalog:", | ||
| "@chakra-ui/system": "catalog:", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@fastgpt/next": "workspace:*", | ||
| "@fastgpt-sdk/otel": "workspace:*", | ||
| "@t3-oss/env-core": "catalog:", | ||
| "@fastgpt-sdk/storage": "workspace:*", | ||
| "@fastgpt/service": "workspace:*", | ||
| "@fastgpt/web": "workspace:*", | ||
| "axios": "catalog:", | ||
| "i18next": "catalog:", | ||
| "mongoose": "catalog:", | ||
| "next": "catalog:", | ||
| "next-i18next": "catalog:", | ||
| "react": "catalog:", | ||
| "react-dom": "catalog:", | ||
| "react-i18next": "catalog:", | ||
| "zod": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@svgr/webpack": "catalog:", | ||
| "@types/node": "catalog:", | ||
| "@types/react": "catalog:", | ||
| "@types/react-dom": "catalog:", | ||
| "eslint": "catalog:lint", | ||
| "eslint-config-next": "catalog:lint", | ||
| "postcss": "catalog:", | ||
| "tailwindcss": "^3.4.1", | ||
| "typescript": "catalog:" | ||
| } | ||
| } | ||
| { | ||
| "name": "@fastgpt/mcp_server", | ||
| "version": "0.1", | ||
| "keywords": [], | ||
| "author": "fastgpt", | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "type": "module", | ||
| "scripts": { | ||
| "build": "bun build src/index.ts --outdir=dist --target=node && chmod +x dist/index.js", | ||
| "dev": "bun --watch src/index.ts", | ||
| "start": "bun src/index.ts", | ||
| "mcp_test": "npx @modelcontextprotocol/inspector" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": ">=10" | ||
| }, | ||
| "dependencies": { | ||
| "@fastgpt/global": "workspace:*", | ||
| "@fastgpt-sdk/otel": "workspace:*", | ||
| "@modelcontextprotocol/sdk": "catalog:", | ||
| "@t3-oss/env-core": "catalog:", | ||
| "chalk": "catalog:", | ||
| "dayjs": "catalog:", | ||
| "dotenv": "^16.5.0", | ||
| "express": "catalog:", | ||
| "zod": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/express": "^5.0.1" | ||
| } | ||
| } | ||
| { | ||
| "name": "@fastgpt/volume-manager", | ||
| "version": "0.0.1", | ||
| "private": true, | ||
| "type": "module", | ||
| "scripts": { | ||
| "dev": "tsx watch src/index.ts", | ||
| "build": "sh build.sh", | ||
| "start": "node dist/index.js", | ||
| "test": "vitest run" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": ">=10" | ||
| }, | ||
| "dependencies": { | ||
| "@hono/node-server": "catalog:", | ||
| "hono": "catalog:", | ||
| "undici": "catalog:", | ||
| "zod": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "catalog:", | ||
| "tsdown": "catalog:", | ||
| "tsx": "catalog:", | ||
| "typescript": "catalog:", | ||
| "vitest": "catalog:" | ||
| } | ||
| } | ||
fastgpt-merged/scripts/icon/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/icon", | ||
| "version": "1.0.0", | ||
| "description": "", | ||
| "main": "index.js", | ||
| "scripts": { | ||
| "test": "echo \"Error: no test specified\" && exit 1" | ||
| }, | ||
| "keywords": [], | ||
| "author": "", | ||
| "license": "ISC", | ||
| "dependencies": { | ||
| "express": "catalog:" | ||
| } | ||
| } | ||
fastgpt-merged/sdk/otel/package.json
0 → 100644
| { | ||
| "name": "@fastgpt-sdk/otel", | ||
| "private": false, | ||
| "version": "0.1.2", | ||
| "description": "FastGPT SDK for OpenTelemetry observability", | ||
| "type": "module", | ||
| "main": "./dist/index.mjs", | ||
| "types": "./dist/index.d.mts", | ||
| "exports": { | ||
| ".": { | ||
| "import": "./dist/index.mjs", | ||
| "types": "./dist/index.d.mts" | ||
| }, | ||
| "./logger": { | ||
| "import": "./dist/logger-entry.mjs", | ||
| "types": "./dist/logger-entry.d.mts" | ||
| }, | ||
| "./metrics": { | ||
| "import": "./dist/metrics-entry.mjs", | ||
| "types": "./dist/metrics-entry.d.mts" | ||
| }, | ||
| "./tracing": { | ||
| "import": "./dist/tracing-entry.mjs", | ||
| "types": "./dist/tracing-entry.d.mts" | ||
| } | ||
| }, | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "scripts": { | ||
| "build": "tsdown", | ||
| "dev": "tsdown --watch", | ||
| "lint": "eslint .", | ||
| "test": "vitest run --config vitest.config.ts", | ||
| "prepublishOnly": "pnpm build" | ||
| }, | ||
| "keywords": [ | ||
| "otel", | ||
| "opentelemetry", | ||
| "metrics", | ||
| "tracing", | ||
| "logging" | ||
| ], | ||
| "author": "FastGPT", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/labring/FastGPT.git", | ||
| "directory": "FastGPT/sdk/otel" | ||
| }, | ||
| "homepage": "https://github.com/labring/FastGPT", | ||
| "bugs": { | ||
| "url": "https://github.com/labring/FastGPT/issues" | ||
| }, | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": ">=10" | ||
| }, | ||
| "license": "Apache-2.0", | ||
| "dependencies": { | ||
| "@logtape/logtape": "^2", | ||
| "@logtape/pretty": "^2", | ||
| "@opentelemetry/api": "^1.9.0", | ||
| "@opentelemetry/api-logs": "^0.203.0", | ||
| "@opentelemetry/exporter-logs-otlp-http": "^0.203.0", | ||
| "@opentelemetry/exporter-metrics-otlp-http": "^0.203.0", | ||
| "@opentelemetry/exporter-trace-otlp-http": "^0.203.0", | ||
| "@opentelemetry/resources": "^2.0.1", | ||
| "@opentelemetry/sdk-logs": "^0.203.0", | ||
| "@opentelemetry/sdk-metrics": "^2.0.1", | ||
| "@opentelemetry/sdk-trace-base": "^2.0.1", | ||
| "@opentelemetry/sdk-trace-node": "^2.0.1", | ||
| "@opentelemetry/semantic-conventions": "^1.39.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "catalog:", | ||
| "tsdown": "catalog:", | ||
| "typescript": "catalog:" | ||
| } | ||
| } | ||
| { | ||
| "name": "@fastgpt-sdk/sandbox-adapter", | ||
| "version": "0.0.40-beta.6", | ||
| "description": "Unified abstraction layer for cloud sandbox providers with adapter pattern and feature polyfilling", | ||
| "type": "module", | ||
| "main": "./dist/index.js", | ||
| "module": "./dist/index.js", | ||
| "types": "./dist/index.d.ts", | ||
| "exports": { | ||
| ".": { | ||
| "types": "./dist/index.d.ts", | ||
| "import": "./dist/index.js" | ||
| } | ||
| }, | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
| "sideEffects": false, | ||
| "engines": { | ||
| "node": ">=20" | ||
| }, | ||
| "scripts": { | ||
| "build": "tsdown", | ||
| "dev": "tsdown --watch", | ||
| "prepublishOnly": "pnpm build", | ||
| "test": "vitest run --config ./vitest.config.ts" | ||
| }, | ||
| "dependencies": { | ||
| "@alibaba-group/opensandbox": "^0.1.10" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "catalog:", | ||
| "tsdown": "catalog:", | ||
| "typescript": "catalog:", | ||
| "vitest": "catalog:", | ||
| "@vitest/coverage-v8": "catalog:" | ||
| } | ||
| } | ||
fastgpt-merged/sdk/storage/package.json
0 → 100644
| { | ||
| "name": "@fastgpt-sdk/storage", | ||
| "private": false, | ||
| "version": "0.8.0", | ||
| "type": "module", | ||
| "main": "./dist/index.js", | ||
| "types": "./dist/index.d.ts", | ||
| "description": "FastGPT SDK for object storage", | ||
| "author": "FastGPT", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/labring/FastGPT.git", | ||
| "directory": "sdk/storage" | ||
| }, | ||
| "homepage": "https://github.com/labring/FastGPT", | ||
| "bugs": { | ||
| "url": "https://github.com/labring/FastGPT/issues" | ||
| }, | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.19.0", | ||
| "pnpm": ">=10" | ||
| }, | ||
| "exports": { | ||
| ".": { | ||
| "import": "./dist/index.js", | ||
| "types": "./dist/index.d.ts" | ||
| }, | ||
| "./access-link": { | ||
| "import": "./dist/access-link/index.js", | ||
| "types": "./dist/access-link/index.d.ts" | ||
| } | ||
| }, | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "license": "Apache-2.0", | ||
| "keywords": [ | ||
| "object-storage", | ||
| "storage", | ||
| "aws-s3", | ||
| "cos", | ||
| "minio", | ||
| "oss" | ||
| ], | ||
| "scripts": { | ||
| "build": "tsdown", | ||
| "dev": "tsdown --watch", | ||
| "test": "vitest run --config vitest.config.ts", | ||
| "test:unit": "vitest run --config vitest.config.ts test/unit", | ||
| "test:integration": "vitest run --config vitest.config.ts test/integration", | ||
| "test:integration:common": "vitest run --config vitest.config.ts test/integration/common", | ||
| "test:integration:minio": "vitest run --config vitest.config.ts test/integration/minio", | ||
| "typecheck:test": "tsc --noEmit -p tsconfig.test.json", | ||
| "prepublishOnly": "pnpm build" | ||
| }, | ||
| "dependencies": { | ||
| "@aws-sdk/client-s3": "^3.948.0", | ||
| "@aws-sdk/lib-storage": "^3.948.0", | ||
| "@aws-sdk/s3-request-presigner": "^3.952.0", | ||
| "ali-oss": "^6.23.0", | ||
| "cos-nodejs-sdk-v5": "^2.15.4", | ||
| "es-toolkit": "^1.43.0", | ||
| "minio": "catalog:", | ||
| "vitest": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/ali-oss": "^6.16.13", | ||
| "@types/node": "^20", | ||
| "tsdown": "catalog:", | ||
| "typescript": "catalog:" | ||
| } | ||
| } | ||
fastgpt/document/package.json
0 → 100644
| { | ||
| "name": "fast", | ||
| "version": "0.0.0", | ||
| "private": true, | ||
| "scripts": { | ||
| "build": "next build", | ||
| "dev": "next dev --turbo", | ||
| "start": "next start", | ||
| "postinstall": "fumadocs-mdx" | ||
| }, | ||
| "dependencies": { | ||
| "@orama/orama": "^3.1.11", | ||
| "@orama/tokenizers": "^3.1.11", | ||
| "fast-glob": "^3.3.3", | ||
| "fs-extra": "^11.3.0", | ||
| "fumadocs-core": "15.6.3", | ||
| "fumadocs-mdx": "11.6.11", | ||
| "fumadocs-ui": "15.6.3", | ||
| "gray-matter": "^4.0.3", | ||
| "lucide-react": "^0.525.0", | ||
| "next": "15.3.5", | ||
| "react": "^19.1.0", | ||
| "react-dom": "^19.1.0", | ||
| "react-responsive": "^10.0.1", | ||
| "remark": "^15.0.1", | ||
| "remark-gfm": "^4.0.1", | ||
| "remark-mdx": "^3.1.0", | ||
| "remark-stringify": "^11.0.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@content-collections/core": "^0.10.0", | ||
| "@content-collections/next": "^0.2.6", | ||
| "@tailwindcss/postcss": "^4.1.11", | ||
| "@types/mdx": "^2.0.13", | ||
| "@types/node": "24.0.13", | ||
| "@types/react": "^19.1.8", | ||
| "@types/react-dom": "^19.1.6", | ||
| "postcss": "^8.5.6", | ||
| "tailwindcss": "^4.1.11", | ||
| "typescript": "^5.8.3", | ||
| "zod": "^4.0.5" | ||
| } | ||
| } |
fastgpt/package.json
0 → 100644
| { | ||
| "name": "AI Agents Flow", | ||
| "version": "4.0", | ||
| "private": true, | ||
| "scripts": { | ||
| "prepare": "husky install", | ||
| "format-code": "prettier --config \"./.prettierrc.js\" --write \"./**/src/**/*.{ts,tsx,scss}\"", | ||
| "format-doc": "zhlint --dir ./document/ *.mdx --fix", | ||
| "initDocTime": "node ./document/script/initDocTime.js", | ||
| "initDocToc": "node ./document/lib/generateToc.js", | ||
| "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", | ||
| "postinstall": "pnpm gen:theme-typings", | ||
| "initIcon": "node ./scripts/icon/init.js && prettier --config \"./.prettierrc.js\" --write \"packages/web/components/common/Icon/constants.ts\"", | ||
| "previewIcon": "node ./scripts/icon/index.js", | ||
| "api:gen": "tsc ./scripts/openapi/index.ts && node ./scripts/openapi/index.js && npx @redocly/cli build-docs ./scripts/openapi/openapi.json -o ./projects/app/public/openapi/index.html", | ||
| "create:i18n": "node ./scripts/i18n/index.js", | ||
| "lint": "eslint \"**/*.{ts,tsx}\" --fix --ignore-path .eslintignore", | ||
| "test": "vitest run", | ||
| "test:workflow": "vitest run workflow", | ||
| "migration:collaborator": "npx ts-node scripts/migration/migrateCollaboratorToResource.ts" | ||
| }, | ||
| "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", | ||
| "eslint": "^8.57.0", | ||
| "eslint-config-next": "^14.1.0", | ||
| "husky": "^8.0.3", | ||
| "i18next": "23.16.8", | ||
| "lint-staged": "^13.3.0", | ||
| "next-i18next": "15.4.2", | ||
| "prettier": "3.2.4", | ||
| "react-i18next": "14.1.2", | ||
| "vitest": "^3.0.9", | ||
| "js-yaml": "^4.1.0", | ||
| "mongodb-memory-server": "^10.1.4", | ||
| "zhlint": "^0.7.4" | ||
| }, | ||
| "lint-staged": { | ||
| "./**/**/*.{ts,tsx,scss}": [ | ||
| "pnpm format-code" | ||
| ], | ||
| "./**/**/*.{ts,tsx}": [ | ||
| "pnpm lint" | ||
| ], | ||
| "./document/**/**/*.mdx": [ | ||
| "pnpm format-doc", | ||
| "pnpm initDocTime", | ||
| "pnpm initDocToc", | ||
| "git add ." | ||
| ] | ||
| }, | ||
| "resolutions": { | ||
| "mdast-util-gfm-autolink-literal": "2.0.0" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20" | ||
| }, | ||
| "devEngines": { | ||
| "packageManager": { | ||
| "name": "pnpm", | ||
| "version": "9.15.9" | ||
| } | ||
| } | ||
| } |
fastgpt/packages/global/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/global", | ||
| "version": "1.0.0", | ||
| "dependencies": { | ||
| "@apidevtools/swagger-parser": "^10.1.0", | ||
| "@bany/curl-to-json": "^1.2.8", | ||
| "axios": "^1.8.2", | ||
| "cron-parser": "^4.9.0", | ||
| "dayjs": "^1.11.7", | ||
| "encoding": "^0.1.13", | ||
| "js-yaml": "^4.1.0", | ||
| "jschardet": "3.1.1", | ||
| "json5": "^2.2.3", | ||
| "nanoid": "^5.1.3", | ||
| "next": "14.2.28", | ||
| "openai": "4.61.0", | ||
| "openapi-types": "^12.1.3", | ||
| "timezones-list": "^3.0.2", | ||
| "lodash": "^4.17.21" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/lodash": "^4.14.191", | ||
| "@types/js-yaml": "^4.0.9", | ||
| "@types/node": "20.14.0" | ||
| } | ||
| } |
fastgpt/packages/service/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/service", | ||
| "version": "1.0.0", | ||
| "type": "module", | ||
| "dependencies": { | ||
| "@fastgpt-sdk/plugin": "^0.1.9", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@modelcontextprotocol/sdk": "^1.12.1", | ||
| "@node-rs/jieba": "2.0.1", | ||
| "@opentelemetry/api": "^1.9.0", | ||
| "@opentelemetry/api-logs": "^0.203.0", | ||
| "@opentelemetry/exporter-logs-otlp-http": "^0.203.0", | ||
| "@opentelemetry/resources": "^2.0.1", | ||
| "@opentelemetry/sdk-logs": "^0.203.0", | ||
| "@opentelemetry/winston-transport": "^0.14.0", | ||
| "@t3-oss/env-core": "^0.13.11", | ||
| "@vercel/otel": "^1.13.0", | ||
| "@xmldom/xmldom": "^0.8.10", | ||
| "@zilliz/milvus2-sdk-node": "2.4.10", | ||
| "axios": "^1.8.2", | ||
| "bullmq": "^5.52.2", | ||
| "chalk": "^5.3.0", | ||
| "cheerio": "1.0.0-rc.12", | ||
| "cookie": "^0.7.1", | ||
| "date-fns": "2.30.0", | ||
| "dayjs": "^1.11.7", | ||
| "decompress": "^4.2.1", | ||
| "domino-ext": "^2.1.4", | ||
| "encoding": "^0.1.13", | ||
| "file-type": "^19.0.0", | ||
| "form-data": "^4.0.4", | ||
| "iconv-lite": "^0.6.3", | ||
| "ioredis": "^5.6.0", | ||
| "joplin-turndown-plugin-gfm": "^1.0.12", | ||
| "json5": "^2.2.3", | ||
| "jsonpath-plus": "^10.3.0", | ||
| "jsonwebtoken": "^9.0.2", | ||
| "lodash": "^4.17.21", | ||
| "mammoth": "^1.6.0", | ||
| "mongoose": "^8.10.1", | ||
| "multer": "2.0.2", | ||
| "mysql2": "^3.11.3", | ||
| "next": "14.2.28", | ||
| "nextjs-cors": "^2.2.0", | ||
| "node-cron": "^3.0.3", | ||
| "node-xlsx": "^0.24.0", | ||
| "papaparse": "5.4.1", | ||
| "pdfjs-dist": "4.10.38", | ||
| "pg": "^8.10.0", | ||
| "pino": "^9.7.0", | ||
| "pino-opentelemetry-transport": "^1.0.1", | ||
| "request-ip": "^3.3.0", | ||
| "tiktoken": "1.0.17", | ||
| "tunnel": "^0.0.6", | ||
| "turndown": "^7.1.2", | ||
| "winston": "^3.17.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/cookie": "^0.5.2", | ||
| "@types/decompress": "^4.2.7", | ||
| "@types/jsonwebtoken": "^9.0.3", | ||
| "@types/lodash": "^4.14.191", | ||
| "@types/multer": "^1.4.10", | ||
| "@types/node-cron": "^3.0.11", | ||
| "@types/papaparse": "5.3.7", | ||
| "@types/pg": "^8.6.6", | ||
| "@types/request-ip": "^0.0.37", | ||
| "@types/tunnel": "^0.0.4", | ||
| "@types/turndown": "^5.0.4" | ||
| } | ||
| } |
fastgpt/packages/templates/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/templates", | ||
| "version": "1.0.0", | ||
| "type": "module", | ||
| "dependencies": {}, | ||
| "devDependencies": { | ||
| "@fastgpt/global": "workspace:*", | ||
| "@fastgpt/service": "workspace:*" | ||
| } | ||
| } |
fastgpt/packages/web/package.json
0 → 100644
| { | ||
| "name": "@fastgpt/web", | ||
| "version": "1.0.0", | ||
| "dependencies": { | ||
| "@chakra-ui/anatomy": "2.2.1", | ||
| "@chakra-ui/icons": "2.1.1", | ||
| "@chakra-ui/next-js": "2.4.2", | ||
| "@chakra-ui/react": "2.10.7", | ||
| "@chakra-ui/styled-system": "2.9.1", | ||
| "@chakra-ui/system": "2.6.1", | ||
| "@emotion/react": "11.11.1", | ||
| "@emotion/styled": "11.11.0", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@fingerprintjs/fingerprintjs": "^4.3.0", | ||
| "@lexical/react": "0.12.6", | ||
| "@lexical/selection": "^0.14.5", | ||
| "@lexical/text": "0.12.6", | ||
| "@lexical/utils": "0.12.6", | ||
| "@monaco-editor/react": "^4.6.0", | ||
| "@tanstack/react-query": "^4.24.10", | ||
| "ahooks": "^3.7.11", | ||
| "date-fns": "2.30.0", | ||
| "dayjs": "^1.11.7", | ||
| "recharts": "^2.15.0", | ||
| "i18next": "23.16.8", | ||
| "js-cookie": "^3.0.5", | ||
| "lexical": "0.12.6", | ||
| "lodash": "^4.17.21", | ||
| "next-i18next": "15.4.2", | ||
| "papaparse": "^5.4.1", | ||
| "react": "18.3.1", | ||
| "react-beautiful-dnd": "^13.1.1", | ||
| "react-day-picker": "^8.7.1", | ||
| "react-dom": "18.3.1", | ||
| "react-hook-form": "7.43.1", | ||
| "react-i18next": "14.1.2", | ||
| "react-photo-view": "^1.2.6", | ||
| "use-context-selector": "^1.4.4", | ||
| "zustand": "^4.3.5" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/js-cookie": "^3.0.5", | ||
| "@types/lodash": "^4.14.191", | ||
| "@types/papaparse": "^5.3.7", | ||
| "@types/react": "18.3.1", | ||
| "@types/react-beautiful-dnd": "^13.1.1", | ||
| "@types/react-dom": "18.3.0" | ||
| } | ||
| } |
| { | ||
| "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.8.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" | ||
| } | ||
| } |
fastgpt/projects/app/package.json
0 → 100644
| { | ||
| "name": "app", | ||
| "version": "4.12.1", | ||
| "private": false, | ||
| "scripts": { | ||
| "dev": "next dev", | ||
| "build": "next build", | ||
| "start": "next start", | ||
| "lint": "next lint" | ||
| }, | ||
| "dependencies": { | ||
| "@xmldom/xmldom": "^0.8.10", | ||
| "@chakra-ui/anatomy": "2.2.1", | ||
| "@chakra-ui/icons": "2.1.1", | ||
| "@chakra-ui/next-js": "2.4.2", | ||
| "@chakra-ui/react": "2.10.7", | ||
| "@chakra-ui/styled-system": "2.9.1", | ||
| "@chakra-ui/system": "2.6.1", | ||
| "@dagrejs/dagre": "^1.1.4", | ||
| "@emotion/react": "11.11.1", | ||
| "@emotion/styled": "11.11.0", | ||
| "@fastgpt/global": "workspace:*", | ||
| "@fastgpt/service": "workspace:*", | ||
| "@fastgpt/templates": "workspace:*", | ||
| "@fastgpt/web": "workspace:*", | ||
| "@fortaine/fetch-event-source": "^3.0.6", | ||
| "@modelcontextprotocol/sdk": "^1.12.1", | ||
| "@node-rs/jieba": "2.0.1", | ||
| "@tanstack/react-query": "^4.24.10", | ||
| "ahooks": "^3.7.11", | ||
| "axios": "^1.8.2", | ||
| "date-fns": "2.30.0", | ||
| "dayjs": "^1.11.7", | ||
| "echarts": "5.4.1", | ||
| "echarts-gl": "2.0.9", | ||
| "framer-motion": "9.1.7", | ||
| "hyperdown": "^2.4.29", | ||
| "i18next": "23.16.8", | ||
| "immer": "^9.0.19", | ||
| "js-yaml": "^4.1.0", | ||
| "json5": "^2.2.3", | ||
| "jsondiffpatch": "^0.6.0", | ||
| "jsonwebtoken": "^9.0.2", | ||
| "lodash": "^4.17.21", | ||
| "mermaid": "^10.2.3", | ||
| "nanoid": "^5.1.3", | ||
| "next": "14.2.28", | ||
| "next-i18next": "15.4.2", | ||
| "nprogress": "^0.2.0", | ||
| "qrcode": "^1.5.4", | ||
| "react": "18.3.1", | ||
| "react-day-picker": "^8.7.1", | ||
| "react-dom": "18.3.1", | ||
| "react-hook-form": "7.43.1", | ||
| "react-i18next": "14.1.2", | ||
| "react-markdown": "^9.0.1", | ||
| "react-syntax-highlighter": "^15.5.0", | ||
| "react-textarea-autosize": "^8.5.4", | ||
| "reactflow": "^11.7.4", | ||
| "recharts": "^2.15.0", | ||
| "rehype-external-links": "^3.0.0", | ||
| "rehype-katex": "^7.0.0", | ||
| "remark-breaks": "^4.0.0", | ||
| "remark-gfm": "^4.0.0", | ||
| "remark-math": "^6.0.0", | ||
| "request-ip": "^3.3.0", | ||
| "sass": "^1.58.3", | ||
| "use-context-selector": "^1.4.4", | ||
| "zod": "^3.24.2" | ||
| }, | ||
| "devDependencies": { | ||
| "@svgr/webpack": "^6.5.1", | ||
| "@types/js-yaml": "^4.0.9", | ||
| "@types/jsonwebtoken": "^9.0.3", | ||
| "@types/lodash": "^4.14.191", | ||
| "@types/node": "^20.14.2", | ||
| "@types/nprogress": "^0.2.0", | ||
| "@types/qrcode": "^1.5.5", | ||
| "@types/react": "18.3.1", | ||
| "@types/react-dom": "18.3.0", | ||
| "@types/react-syntax-highlighter": "^15.5.6", | ||
| "@types/request-ip": "^0.0.37", | ||
| "@typescript-eslint/eslint-plugin": "^6.21.0", | ||
| "@typescript-eslint/parser": "^6.21.0", | ||
| "eslint": "8.56.0", | ||
| "eslint-config-next": "14.2.26", | ||
| "typescript": "^5.1.3", | ||
| "vitest": "^3.0.2" | ||
| } | ||
| } |
fastgpt/projects/mcp_server/package.json
0 → 100644
| { | ||
| "name": "mcp_server", | ||
| "version": "0.1", | ||
| "keywords": [], | ||
| "author": "fastgpt", | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "type": "module", | ||
| "scripts": { | ||
| "build": "bun build src/index.ts --outdir=dist --target=node && chmod +x dist/index.js", | ||
| "dev": "bun --watch src/index.ts", | ||
| "start": "bun src/index.ts", | ||
| "mcp_test": "npx @modelcontextprotocol/inspector" | ||
| }, | ||
| "dependencies": { | ||
| "@fastgpt/global": "workspace:*", | ||
| "@modelcontextprotocol/sdk": "^1.12.1", | ||
| "chalk": "^5.3.0", | ||
| "dayjs": "^1.11.7", | ||
| "dotenv": "^16.5.0", | ||
| "express": "^4.21.2" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/express": "^5.0.1" | ||
| } | ||
| } |
fastgpt/projects/sandbox/package.json
0 → 100644
| { | ||
| "name": "sandbox", | ||
| "version": "4.8.3", | ||
| "description": "", | ||
| "author": "", | ||
| "private": true, | ||
| "license": "UNLICENSED", | ||
| "scripts": { | ||
| "build": "nest build", | ||
| "start": "nest start", | ||
| "dev": "NODE_OPTIONS='--no-node-snapshot' nest start --watch", | ||
| "start:debug": "nest start --debug --watch", | ||
| "start:prod": "node dist/main", | ||
| "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", | ||
| "test": "jest", | ||
| "test:watch": "jest --watch", | ||
| "test:cov": "jest --coverage", | ||
| "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", | ||
| "test:e2e": "jest --config ./test/jest-e2e.json" | ||
| }, | ||
| "dependencies": { | ||
| "@fastify/static": "^7.0.4", | ||
| "@nestjs/common": "^10.4.16", | ||
| "@nestjs/core": "^10.0.0", | ||
| "@nestjs/platform-fastify": "^10.3.8", | ||
| "@nestjs/swagger": "^7.3.1", | ||
| "dayjs": "^1.11.7", | ||
| "fastify": "^4.29.1", | ||
| "isolated-vm": "^4.7.2", | ||
| "node-gyp": "^10.1.0", | ||
| "reflect-metadata": "^0.2.0", | ||
| "rxjs": "^7.8.1", | ||
| "tiktoken": "1.0.17" | ||
| }, | ||
| "devDependencies": { | ||
| "@nestjs/cli": "^10.0.0", | ||
| "@nestjs/schematics": "^10.0.0", | ||
| "@nestjs/testing": "^10.0.0", | ||
| "@types/jest": "^29.5.2", | ||
| "@types/node": "^20.14.2", | ||
| "@types/supertest": "^6.0.0", | ||
| "@typescript-eslint/eslint-plugin": "^6.21.0", | ||
| "@typescript-eslint/parser": "^6.21.0", | ||
| "eslint": "8.56.0", | ||
| "jest": "^29.5.0", | ||
| "source-map-support": "^0.5.21", | ||
| "supertest": "^6.3.3", | ||
| "ts-jest": "^29.1.0", | ||
| "ts-loader": "^9.4.3", | ||
| "ts-node": "^10.9.1", | ||
| "tsconfig-paths": "^4.2.0", | ||
| "typescript": "^5.1.3" | ||
| }, | ||
| "jest": { | ||
| "moduleFileExtensions": [ | ||
| "js", | ||
| "json", | ||
| "ts" | ||
| ], | ||
| "rootDir": "src", | ||
| "testRegex": ".*\\.spec\\.ts$", | ||
| "transform": { | ||
| "^.+\\.(t|j)s$": "ts-jest" | ||
| }, | ||
| "collectCoverageFrom": [ | ||
| "**/*.(t|j)s" | ||
| ], | ||
| "coverageDirectory": "../coverage", | ||
| "testEnvironment": "node" | ||
| } | ||
| } |
fastgpt/scripts/icon/package.json
0 → 100644
fastgpt/scripts/openapi/package.json
0 → 100644
| { | ||
| "name": "test", | ||
| "module": "index.js", | ||
| "scripts": { | ||
| "build": "tsc index.ts" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/types": "^7.25.6", | ||
| "@types/babel__generator": "^7.6.8", | ||
| "@types/babel__traverse": "^7.20.6" | ||
| }, | ||
| "peerDependencies": { | ||
| "typescript": "^5.0.0" | ||
| }, | ||
| "dependencies": { | ||
| "@babel/generator": "^7.25.6", | ||
| "@babel/parser": "^7.25.6", | ||
| "@babel/traverse": "^7.25.6", | ||
| "babel": "^6.23.0" | ||
| } | ||
| } |
Please
register
or
sign in
to comment