cherry-studio/packages/shared/prompts/index.ts
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

2 lines
72 B
TypeScript

export { getHubModeSystemPrompt, type ToolInfo } from './hubModePrompt'