Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

以下内容面向日常使用,主要记录你能直接感知到的变化,不展示内部实现细节。

## [0.5.1] - 2026-07-21

### 新增
- 小妍桌面伴侣新增注视方向反馈,会随着鼠标位置自然转动视线,互动更有陪伴感。

### 优化
- 设置、论文、知识库、写作、投稿和小妍协同等区域统一拟态视觉与基础组件,按钮、弹窗和图标风格更加一致。
- 语料库搜索框更醒目,复制、编辑和删除等常用操作无需悬停即可直接使用。
- 论文库会记住文件夹展开状态,重新进入后可以继续此前的整理位置。

### 修复
- 修复部分论文图表提取错位或缺失的问题;旧版内嵌位图记录会自动触发重新提取。
- 复现或分析任务失败时会保留已有结果和正确状态,避免已完成的解读退回未处理状态。
- 修复不同任务的模型与接口地址可能配对错误,以及翻译专用接口被主对话配置覆盖的问题。
- 减少数据库繁忙时的写入冲突,并为自动 Wiki 整理增加重试,连续处理任务更加稳定。

## [0.5.0] - 2026-07-14

### 新增
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<a href="CHANGELOG.md">更新日志</a>
</p>

> 当前版本:**v0.5.0**。小妍仍处于快速迭代阶段,升级前建议备份重要数据。
> 当前版本:**v0.5.1**。小妍仍处于快速迭代阶段,升级前建议备份重要数据。

## 为什么选择小妍

Expand Down Expand Up @@ -53,13 +53,13 @@
| 数据与同步 | 本地数据库、加密配置导出、备份恢复及可选的加密同步 |

<details>
<summary><strong>查看 v0.5.0 主要更新</strong></summary>
<summary><strong>查看 v0.5.1 主要更新</strong></summary>

- 实验代码助手与实验快照对比
- 研究领域动态与历史洞察
- PDF 全文搜索、命中高亮和阅读位置恢复
- 多文件 LaTeX 与流式学术翻译
- 方法、实验、写作、相关工作等角色化投稿预审
- 小妍桌面伴侣新增跟随鼠标的注视方向反馈
- 设置、论文、知识库、写作与投稿区域统一拟态视觉
- 语料库常用操作更加直观,论文库会记住文件夹展开状态
- 修复论文图表提取与复现、分析状态恢复问题
- 减少数据库写入冲突并修复模型接口配对问题

</details>

Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@research-copilot/desktop",
"private": true,
"version": "0.5.0",
"version": "0.5.1",
"license": "Apache-2.0",
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xiaoyan-desktop"
version = "0.5.0"
version = "0.5.1"
edition = "2021"
license = "Apache-2.0"

Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/src/commands/arxiv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::time::{Duration as StdDuration, Instant};
use tauri::State;

const ARXIV_API_URL: &str = "https://export.arxiv.org/api/query";
const ARXIV_USER_AGENT: &str = "xiaoyan-desktop/0.5.0 (+https://github.com/Yurken/xiaoyan)";
const ARXIV_USER_AGENT: &str = "xiaoyan-desktop/0.5.1 (+https://github.com/Yurken/xiaoyan)";
const ARXIV_MIN_INTERVAL_SECS: f64 = 3.5;
const ARXIV_MAX_RETRIES: u32 = 3;

Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/src/commands/field_dynamics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use uuid::Uuid;

use super::papers::papers_upload;

const FIELD_DYNAMICS_IMPORT_USER_AGENT: &str = "XiaoYanDesktop/0.5.0 (+https://github.com/openai)";
const FIELD_DYNAMICS_IMPORT_USER_AGENT: &str = "XiaoYanDesktop/0.5.1 (+https://github.com/openai)";

fn resolve_pdf_url(raw_pdf_url: &str, external_id: &str, source: &str) -> String {
let pdf_url = raw_pdf_url.trim();
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/src/commands/paper_search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::time::Duration;
use tauri::State;

const SEMANTIC_SCHOLAR_API_URL: &str = "https://api.semanticscholar.org/graph/v1/paper/search";
const SEMANTIC_SCHOLAR_USER_AGENT: &str = "xiaoyan-desktop/0.5.0";
const SEMANTIC_SCHOLAR_USER_AGENT: &str = "xiaoyan-desktop/0.5.1";

#[derive(Debug, Clone, Default, Deserialize, Serialize)]
#[serde(rename_all = "snake_case", default)]
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schema.tauri.app/config/2",
"productName": "小妍",
"identifier": "com.researchcopilot.desktop",
"version": "0.5.0",
"version": "0.5.1",
"mainBinaryName": "xiaoyan",
"build": {
"frontendDist": "../dist",
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"expo": {
"name": "小妍",
"slug": "research-copilot",
"version": "0.5.0",
"version": "0.5.1",
"orientation": "portrait",
"icon": "./assets/icon.png",
"scheme": "research-copilot",
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@research-copilot/mobile",
"version": "0.5.0",
"version": "0.5.1",
"license": "Apache-2.0",
"private": true,
"main": "expo-router/entry",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@research-copilot/web",
"version": "0.5.0",
"version": "0.5.1",
"license": "Apache-2.0",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "research-copilot",
"version": "0.5.0",
"version": "0.5.1",
"license": "Apache-2.0",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@research-copilot/config",
"version": "0.5.0",
"version": "0.5.1",
"license": "Apache-2.0",
"private": true
}
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@research-copilot/types",
"version": "0.5.0",
"version": "0.5.1",
"license": "Apache-2.0",
"private": true,
"main": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@research-copilot/ui",
"version": "0.5.0",
"version": "0.5.1",
"license": "Apache-2.0",
"private": true,
"main": "./src/index.ts",
Expand Down
20 changes: 17 additions & 3 deletions scripts/sync-version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -92,20 +92,34 @@ updateText("apps/desktop/src-tauri/Cargo.toml", (text) => {
return text.replace(/^version = ".*"$/m, `version = "${appVersion}"`);
}, touched);

updateText("apps/desktop/src-tauri/Cargo.lock", (text) => {
return text.replace(
/(\[\[package\]\]\nname = "xiaoyan-desktop"\nversion = ")[^"]+("\n)/,
`$1${appVersion}$2`,
);
}, touched);

updateText("apps/desktop/src-tauri/src/commands/arxiv.rs", (text) => {
return text.replace(
/^(const ARXIV_USER_AGENT: &str = "xiaoyan-desktop\/)[0-9A-Za-z.+-]+(?= )/m,
`$1${appVersion}`,
);
}, touched);

updateText("README.md", (text) => {
updateText("apps/desktop/src-tauri/src/commands/field_dynamics.rs", (text) => {
return text.replace(
/(badge\/release-v)[0-9A-Za-z.+-]+(-)/,
`$1${releaseVersion}$2`,
/^(const FIELD_DYNAMICS_IMPORT_USER_AGENT: &str = "XiaoYanDesktop\/)[0-9A-Za-z.+-]+(?= )/m,
`$1${appVersion}`,
);
}, touched);

updateText("README.md", (text) => {
return text
.replace(/(badge\/release-v)[0-9A-Za-z.+-]+(-)/, `$1${releaseVersion}$2`)
.replace(/(> 当前版本:\*\*v)[0-9A-Za-z.+-]+(\*\*。)/, `$1${releaseVersion}$2`)
.replace(/(<summary><strong>查看 v)[0-9A-Za-z.+-]+( 主要更新<\/strong><\/summary>)/, `$1${releaseVersion}$2`);
}, touched);

updateText("apps/desktop/src-tauri/src/commands/paper_search.rs", (text) => {
return text.replace(
/^(const SEMANTIC_SCHOLAR_USER_AGENT: &str = "xiaoyan-desktop\/)[0-9A-Za-z.+-]+(")/m,
Expand Down
Loading