c0beab0f8a
- Updated version to 1.7.0-rc.3 in package.json - Added new features including support for Silicon provider and AIHubMix - Consolidated bug fixes related to providers, models, UI, and settings - Improved SDK integration with upgraded dependencies
190 lines
7.1 KiB
YAML
190 lines
7.1 KiB
YAML
appId: com.kangfenmao.CherryStudio
|
|
productName: Cherry Studio
|
|
electronLanguages:
|
|
- zh-CN
|
|
- zh-TW
|
|
- en-US
|
|
- ja # macOS/linux/win
|
|
- ru # macOS/linux/win
|
|
- zh_CN # for macOS
|
|
- zh_TW # for macOS
|
|
- en # for macOS
|
|
- de
|
|
directories:
|
|
buildResources: build
|
|
|
|
protocols:
|
|
- name: Cherry Studio
|
|
schemes:
|
|
- cherrystudio
|
|
files:
|
|
- "**/*"
|
|
- "!**/{.vscode,.yarn,.yarn-lock,.github,.cursorrules,.prettierrc}"
|
|
- "!electron.vite.config.{js,ts,mjs,cjs}}"
|
|
- "!.*"
|
|
- "!components.json"
|
|
- "!**/{.eslintignore,.eslintrc.js,.eslintrc.json,.eslintcache,root.eslint.config.js,eslint.config.js,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,eslint.config.mjs,dev-app-update.yml,CHANGELOG.md,README.md,biome.jsonc}"
|
|
- "!**/{.env,.env.*,.npmrc,pnpm-lock.yaml}"
|
|
- "!**/{tsconfig.json,tsconfig.tsbuildinfo,tsconfig.node.json,tsconfig.web.json}"
|
|
- "!**/{.editorconfig,.jekyll-metadata}"
|
|
- "!src"
|
|
- "!scripts"
|
|
- "!local"
|
|
- "!docs"
|
|
- "!packages"
|
|
- "!.swc"
|
|
- "!.bin"
|
|
- "!._*"
|
|
- "!*.log"
|
|
- "!stats.html"
|
|
- "!*.md"
|
|
- "!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}"
|
|
- "!**/*.{map,ts,tsx,jsx,less,scss,sass,css.d.ts,d.cts,d.mts,md,markdown,yaml,yml}"
|
|
- "!**/{test,tests,__tests__,powered-test,coverage}/**"
|
|
- "!**/{example,examples}/**"
|
|
- "!**/*.{spec,test}.{js,jsx,ts,tsx}"
|
|
- "!**/*.min.*.map"
|
|
- "!**/*.d.ts"
|
|
- "!**/dist/es6/**"
|
|
- "!**/dist/demo/**"
|
|
- "!**/amd/**"
|
|
- "!**/{.DS_Store,Thumbs.db,thumbs.db,__pycache__}"
|
|
- "!**/{LICENSE,license,LICENSE.*,*.LICENSE.txt,NOTICE.txt,README.md,readme.md,CHANGELOG.md}"
|
|
- "!node_modules/rollup-plugin-visualizer"
|
|
- "!node_modules/js-tiktoken"
|
|
- "!node_modules/@tavily/core/node_modules/js-tiktoken"
|
|
- "!node_modules/pdf-parse/lib/pdf.js/{v1.9.426,v1.10.88,v2.0.550}"
|
|
- "!node_modules/mammoth/{mammoth.browser.js,mammoth.browser.min.js}"
|
|
- "!node_modules/selection-hook/prebuilds/**/*" # we rebuild .node, don't use prebuilds
|
|
- "!node_modules/selection-hook/node_modules" # we don't need what in the node_modules dir
|
|
- "!node_modules/selection-hook/src" # we don't need source files
|
|
- "!node_modules/tesseract.js-core/{tesseract-core.js,tesseract-core.wasm,tesseract-core.wasm.js}" # we don't need source files
|
|
- "!node_modules/tesseract.js-core/{tesseract-core-lstm.js,tesseract-core-lstm.wasm,tesseract-core-lstm.wasm.js}" # we don't need source files
|
|
- "!node_modules/tesseract.js-core/{tesseract-core-simd-lstm.js,tesseract-core-simd-lstm.wasm,tesseract-core-simd-lstm.wasm.js}" # we don't need source files
|
|
- "!**/*.{h,iobj,ipdb,tlog,recipe,vcxproj,vcxproj.filters,Makefile,*.Makefile}" # filter .node build files
|
|
asarUnpack:
|
|
- resources/**
|
|
- "**/*.{metal,exp,lib}"
|
|
- "node_modules/@img/sharp-libvips-*/**"
|
|
|
|
# copy from node_modules/claude-code-plugins/plugins to resources/data/claude-code-pluginso
|
|
extraResources:
|
|
- from: "./node_modules/claude-code-plugins/plugins/"
|
|
to: "claude-code-plugins"
|
|
|
|
win:
|
|
executableName: Cherry Studio
|
|
artifactName: ${productName}-${version}-${arch}-setup.${ext}
|
|
target:
|
|
- target: nsis
|
|
- target: portable
|
|
signtoolOptions:
|
|
sign: scripts/win-sign.js
|
|
verifyUpdateCodeSignature: false
|
|
nsis:
|
|
artifactName: ${productName}-${version}-${arch}-setup.${ext}
|
|
shortcutName: ${productName}
|
|
uninstallDisplayName: ${productName}
|
|
createDesktopShortcut: always
|
|
allowToChangeInstallationDirectory: true
|
|
oneClick: false
|
|
include: build/nsis-installer.nsh
|
|
buildUniversalInstaller: false
|
|
portable:
|
|
artifactName: ${productName}-${version}-${arch}-portable.${ext}
|
|
buildUniversalInstaller: false
|
|
mac:
|
|
entitlementsInherit: build/entitlements.mac.plist
|
|
notarize: false
|
|
artifactName: ${productName}-${version}-${arch}.${ext}
|
|
extendInfo:
|
|
- NSCameraUsageDescription: Application requests access to the device's camera.
|
|
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
|
|
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
|
|
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
|
|
target:
|
|
- target: dmg
|
|
- target: zip
|
|
linux:
|
|
artifactName: ${productName}-${version}-${arch}.${ext}
|
|
target:
|
|
- target: AppImage
|
|
- target: deb
|
|
- target: rpm
|
|
maintainer: electronjs.org
|
|
category: Utility
|
|
desktop:
|
|
entry:
|
|
StartupWMClass: CherryStudio
|
|
mimeTypes:
|
|
- x-scheme-handler/cherrystudio
|
|
rpm:
|
|
# Workaround for electron build issue on rpm package:
|
|
# https://github.com/electron/forge/issues/3594
|
|
fpm: ["--rpm-rpmbuild-define=_build_id_links none"]
|
|
publish:
|
|
provider: generic
|
|
url: https://releases.cherry-ai.com
|
|
electronDownload:
|
|
mirror: https://npmmirror.com/mirrors/electron/
|
|
beforePack: scripts/before-pack.js
|
|
afterPack: scripts/after-pack.js
|
|
afterSign: scripts/notarize.js
|
|
artifactBuildCompleted: scripts/artifact-build-completed.js
|
|
releaseInfo:
|
|
releaseNotes: |
|
|
<!--LANG:en-->
|
|
What's New in v1.7.0-rc.3
|
|
|
|
✨ New Features:
|
|
- Provider: Added Silicon provider support for Anthropic API compatibility
|
|
- Provider: AIHubMix support for nano banana
|
|
|
|
🐛 Bug Fixes:
|
|
- i18n: Clean up translation tags and untranslated strings
|
|
- Provider: Fixed Silicon provider code list
|
|
- Provider: Fixed Poe API reasoning parameters for GPT-5 and reasoning models
|
|
- Provider: Fixed duplicate /v1 in Anthropic API endpoints
|
|
- Provider: Fixed Azure provider handling in AI SDK integration
|
|
- Models: Added Claude Opus 4.5 pattern to THINKING_TOKEN_MAP
|
|
- Models: Improved Gemini reasoning and message handling
|
|
- Models: Fixed custom parameters for Gemini models
|
|
- Models: Fixed qwen-mt-flash text delta support
|
|
- Models: Fixed Groq verbosity setting
|
|
- UI: Fixed quota display and quota tips
|
|
- UI: Fixed web search button condition
|
|
- Settings: Fixed updateAssistantPreset reducer to properly update preset
|
|
- Settings: Respect enableMaxTokens setting when maxTokens is not configured
|
|
- SDK: Fixed header merging logic in AI SDK
|
|
|
|
⚡ Improvements:
|
|
- SDK: Upgraded @anthropic-ai/claude-agent-sdk to 0.1.53
|
|
|
|
<!--LANG:zh-CN-->
|
|
v1.7.0-rc.3 更新内容
|
|
|
|
✨ 新功能:
|
|
- 提供商:新增 Silicon 提供商对 Anthropic API 的兼容性支持
|
|
- 提供商:AIHubMix 支持 nano banana
|
|
|
|
🐛 问题修复:
|
|
- 国际化:清理翻译标签和未翻译字符串
|
|
- 提供商:修复 Silicon 提供商代码列表
|
|
- 提供商:修复 Poe API 对 GPT-5 和推理模型的推理参数
|
|
- 提供商:修复 Anthropic API 端点重复 /v1 问题
|
|
- 提供商:修复 Azure 提供商在 AI SDK 集成中的处理
|
|
- 模型:Claude Opus 4.5 添加到 THINKING_TOKEN_MAP
|
|
- 模型:改进 Gemini 推理和消息处理
|
|
- 模型:修复 Gemini 模型自定义参数
|
|
- 模型:修复 qwen-mt-flash text delta 支持
|
|
- 模型:修复 Groq verbosity 设置
|
|
- 界面:修复配额显示和配额提示
|
|
- 界面:修复 Web 搜索按钮条件
|
|
- 设置:修复 updateAssistantPreset reducer 正确更新 preset
|
|
- 设置:尊重 enableMaxTokens 设置
|
|
- SDK:修复 AI SDK 中 header 合并逻辑
|
|
|
|
⚡ 改进:
|
|
- SDK:升级 @anthropic-ai/claude-agent-sdk 到 0.1.53
|
|
<!--LANG:END-->
|