Files
prompt-optimizer/packages/core/package.json
T
linshen 2ffb7556ee feat: 实现图像模式与多模态功能架构
- 新增图像模式支持文生图(T2I)和图生图(I2I)功能
- 实现图像服务层,支持Gemini/Seedream/OpenAI等多适配器
- 升级功能模式架构:basic/pro/image三重模式系统
- 新增图像模型管理器与专用UI组件
- 优化存储键管理,统一图像模式相关配置
- 完善国际化支持,新增图像模式相关翻译
- 增强模型管理器,支持文本/图像双模型管理
2025-09-20 21:55:26 +08:00

44 lines
1.1 KiB
JSON

{
"name": "@prompt-optimizer/core",
"version": "0.0.0",
"private": true,
"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",
"require": "./dist/index.cjs"
}
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:unit": "vitest run tests/unit",
"test:integration": "vitest run tests/integration"
},
"devDependencies": {
"@types/node": "^20.11.0",
"dotenv": "^16.4.7",
"tsup": "^8.0.2",
"typescript": "^5.3.3",
"vitest": "^3.0.2"
},
"dependencies": {
"@google/generative-ai": "^0.21.0",
"@google/genai": "^1.0.0",
"@types/mustache": "^4.2.5",
"dexie": "^4.0.11",
"diff": "^8.0.2",
"mustache": "^4.2.0",
"openai": "^4.83.0",
"uuid": "^11.0.5",
"zod": "^3.22.4"
}
}