cherry-studio/packages/shared/package.json
Vaayne 894b2fd487 ♻️ refactor: move getHubModeSystemPrompt to shared package
- Create @cherrystudio/shared workspace package with exports
- Move getHubModeSystemPrompt and ToolInfo to packages/shared/prompts
- Add @cherrystudio/shared dependency to @cherrystudio/ai-core
- Update promptToolUsePlugin to import from shared package
- Update renderer prompts-code-mode.ts to re-export from shared
- Add toolSetToToolInfoArray converter for type compatibility
2026-01-07 00:23:04 +08:00

17 lines
351 B
JSON

{
"name": "@cherrystudio/shared",
"version": "1.0.0",
"description": "Cherry Studio Shared Utilities",
"main": "index.ts",
"types": "index.ts",
"scripts": {},
"license": "MIT",
"sideEffects": false,
"exports": {
".": "./index.ts",
"./mcp": "./mcp.ts",
"./utils": "./utils.ts",
"./prompts": "./prompts/index.ts"
}
}