mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-08-17 03:27:02 +08:00
- 修复内存泄漏问题,该可能导致内存异常占用 - 支持俄语增加翻译范围 - 修复qwen-3.8-max中断问题(mimo也应该属于同一类问题) - 修复claude模型可能无法识别图片问题 @GGHansome - 支持自定义Openai端点 @Sxuan-Coder - WebSearch 接入百度搜索,DuckDuckGo 作为兜底 @杨超 - 修复一些兼容性问题 @kael-odin - 修复window上一些表现问题 @philau2512 🔔 如何让AI自动拉模型配置? (以下为提示词,把地址和密钥换为你的) 我的模型配置在 ~/.cursor-local-assistant-v2/config.yaml,我的API地址是:https://xxx 密钥是xxx,帮我拉所有模型配置进去,不要影响已有模型,根据models标准接口拉取。
68 lines
1.7 KiB
YAML
68 lines
1.7 KiB
YAML
# Feel free to remove those if you don't want/need to use them.
|
|
# Make sure to check the documentation at https://nfpm.goreleaser.com
|
|
#
|
|
# The lines below are called `modelines`. See `:help modeline`
|
|
|
|
name: "Cursor助手"
|
|
arch: ${GOARCH}
|
|
platform: "linux"
|
|
version: "0.0.41"
|
|
section: "default"
|
|
priority: "extra"
|
|
maintainer: ${GIT_COMMITTER_NAME} <${GIT_COMMITTER_EMAIL}>
|
|
description: "Cursor助手"
|
|
vendor: "Cursor助手"
|
|
homepage: "https://wails.io"
|
|
license: "MIT"
|
|
release: "1"
|
|
|
|
contents:
|
|
- src: "./bin/Cursor助手"
|
|
dst: "/usr/local/bin/Cursor助手"
|
|
- src: "./build/appicon.png"
|
|
dst: "/usr/share/icons/hicolor/128x128/apps/Cursor助手.png"
|
|
- src: "./build/linux/Cursor助手.desktop"
|
|
dst: "/usr/share/applications/Cursor助手.desktop"
|
|
|
|
# Default dependencies for Debian 12/Ubuntu 22.04+ with WebKit 4.1
|
|
depends:
|
|
- libgtk-3-0
|
|
- libwebkit2gtk-4.1-0
|
|
|
|
# Distribution-specific overrides for different package formats and WebKit versions
|
|
overrides:
|
|
# RPM packages for RHEL/CentOS/AlmaLinux/Rocky Linux (WebKit 4.0)
|
|
rpm:
|
|
depends:
|
|
- gtk3
|
|
- webkit2gtk4.1
|
|
|
|
# Arch Linux packages (WebKit 4.1)
|
|
archlinux:
|
|
depends:
|
|
- gtk3
|
|
- webkit2gtk-4.1
|
|
|
|
# scripts section to ensure desktop database is updated after install
|
|
scripts:
|
|
postinstall: "./build/linux/nfpm/scripts/postinstall.sh"
|
|
# You can also add preremove, postremove if needed
|
|
# preremove: "./build/linux/nfpm/scripts/preremove.sh"
|
|
# postremove: "./build/linux/nfpm/scripts/postremove.sh"
|
|
|
|
# replaces:
|
|
# - foobar
|
|
# provides:
|
|
# - bar
|
|
# depends:
|
|
# - gtk3
|
|
# - libwebkit2gtk
|
|
# recommends:
|
|
# - whatever
|
|
# suggests:
|
|
# - something-else
|
|
# conflicts:
|
|
# - not-foo
|
|
# - not-bar
|
|
# changelog: "changelog.yaml"
|