Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
390 commits
Select commit Hold shift + click to select a range
644d1c2
chore: add dev command and fix CI workflow for Electron v41
Alpaca233114514 Mar 30, 2026
4383640
fix: windows dev command quotes
Alpaca233114514 Mar 30, 2026
dc7e064
fix: electron path encoding issue in dev mode
Alpaca233114514 Mar 30, 2026
a737ab2
fix: Python module import path and launcher PYTHONPATH
Alpaca233114514 Mar 30, 2026
58f5510
fix: add PYTHONPATH to electron main.js backend spawn
Alpaca233114514 Mar 30, 2026
4e49ed7
feat: add splash screen, frameless window and window controls
Alpaca233114514 Mar 30, 2026
12a67db
docs: update Electron version to 41.1.0 in PRD
Alpaca233114514 Mar 30, 2026
0c6d0b4
fix: change PyInstaller to one-dir mode for all platforms
Alpaca233114514 Mar 30, 2026
a873f43
refactor: rename app from Papyrus Frontend to Papyrus
Alpaca233114514 Mar 30, 2026
aa33def
feat: add provider management backend with encrypted API key storage
Alpaca233114514 Mar 30, 2026
7a3d9af
build: add portable version for Windows
Alpaca233114514 Mar 30, 2026
1767ecf
feat: add diagnostic logging and debug build config
Alpaca233114514 Mar 30, 2026
46e79cd
feat: add diagnostic window for startup troubleshooting
Alpaca233114514 Mar 30, 2026
e8820d2
fix: correct import path for DATABASE_FILE and asar-unpacked paths
Alpaca233114514 Mar 30, 2026
c8461b1
fix: fix template string syntax error in diagnostic window
Alpaca233114514 Mar 30, 2026
4a3926b
feat: 整理文件
Alpaca233114514 Mar 30, 2026
b9cc808
fix: 修复工作流和构建配置问题
Alpaca233114514 Mar 30, 2026
91f81d9
fix: 修复打包后 Python 可执行文件路径错误
Alpaca233114514 Mar 30, 2026
9add446
ci: 加强工作流错误处理和测试验证
Alpaca233114514 Mar 30, 2026
06a475d
fix: 修复工作流触发条件,添加 v2.0.0beta* 分支匹配
Alpaca233114514 Mar 30, 2026
1c289dd
fix: 设置 PYTHONPATH=src 运行测试
Alpaca233114514 Mar 30, 2026
c46454a
fix: 修复 PyInstaller one-dir 模式路径不匹配
Alpaca233114514 Mar 30, 2026
ce48df7
fix: 修复测试脚本 PYTHONPATH 传递和错误输出
Alpaca233114514 Mar 30, 2026
34174c5
ci: 加强测试步骤错误处理,失败立即停止构建
Alpaca233114514 Mar 30, 2026
f23b13e
fix: 修复 verify_import_structure 路径设置
Alpaca233114514 Mar 30, 2026
0ffc6cd
refactor: 简化测试验证,移除易失败的服务器测试
Alpaca233114514 Mar 30, 2026
c1eb1cc
ci: 加强打包文件验证,防止后端丢失
Alpaca233114514 Mar 30, 2026
7199f08
fix: add missing papyrus.data module files to git
Alpaca233114514 Mar 30, 2026
6bafa75
ci: specify bash shell for test step on Windows
Alpaca233114514 Mar 30, 2026
7b5d3d7
ci: fix executable size check for Linux/macOS one-dir mode
Alpaca233114514 Mar 30, 2026
9033658
ci: fix Unicode encoding issues on Windows
Alpaca233114514 Mar 30, 2026
c787f35
ci: fix encoding when reading files in verify script
Alpaca233114514 Mar 30, 2026
42bc21a
ci: fix macOS build path from mac/ to mac-arm64/
Alpaca233114514 Mar 30, 2026
21f2dd8
ci: fix Windows build verification for one-dir mode
Alpaca233114514 Mar 30, 2026
3cebbcb
ci: fix Python executable path for macOS/Linux verification
Alpaca233114514 Mar 30, 2026
b362fd3
ci: lower size thresholds for one-dir mode builds
Alpaca233114514 Mar 30, 2026
6187cfd
feat: 实现 WCAG 2.1 AA/AAA 无障碍支持,修复 Electron 启动崩溃问题
Alpaca233114514 Mar 31, 2026
ae04016
fix: 修复多个 UI 和启动问题
Alpaca233114514 Mar 31, 2026
a87e611
添加canvas文件夹作为预留
Alpaca233114514 Apr 6, 2026
0935cd9
Update README.md
Alpaca233114514 Apr 6, 2026
f10b14d
V2.0.0beta1 (#16)
ChimeHsia Apr 6, 2026
af8bfff
chore: 更新颜色文档,修开发bug
Alpaca233114514 Apr 7, 2026
20375a8
把安全相关文件忽略掉,不宜公开;git先写将头像加入项目文件夹
Alpaca233114514 Apr 10, 2026
74923d4
security: 修复审计报告中的 P0/P1/P2 级安全漏洞
Alpaca233114514 Apr 11, 2026
022c39c
security(fix): 放宽本地模型 base_url 校验,支持常见本地部署标识
Alpaca233114514 Apr 11, 2026
d0a5c6f
feat: 添加模型/提供商图标并更新配置
Alpaca233114514 Apr 11, 2026
7bfe87e
feat(backend): migrate Python backend to TypeScript with Fastify
Alpaca233114514 Apr 24, 2026
a546a76
feat(ai,mcp): implement AI and MCP subsystems in TypeScript
Alpaca233114514 Apr 24, 2026
9ca04b3
feat(integrations): add chokidar file watcher and wire into server
Alpaca233114514 Apr 24, 2026
e16419e
chore(deps): bump uuid from 11.1.0 to 14.0.0
Alpaca233114514 Apr 24, 2026
ca96bab
fix(server): correct direct-run detection and package main entry
Alpaca233114514 Apr 24, 2026
aa869f6
fix(backend): resolve P0/P1/P2 bugs across TS backend
Alpaca233114514 Apr 24, 2026
c3dfbc8
fix: 修复安全漏洞
Alpaca233114514 Apr 25, 2026
8a8cc0e
fix: 修复安全更改
Alpaca233114514 Apr 25, 2026
353c462
feat: 增加显式报错
Alpaca233114514 Apr 25, 2026
1d41107
feat(backend): add note/card versioning and security hardening
Alpaca233114514 Apr 25, 2026
46ef3e0
chore(release): finalize TS migration and harden release pipeline
Alpaca233114514 Apr 25, 2026
7099801
feat(release): prebuild release workflow and fix production backend s…
Alpaca233114514 Apr 25, 2026
93a7449
ci(release): auto-trigger release on tag push
Alpaca233114514 Apr 25, 2026
5f7dd6a
fix(ci): add tag push trigger to release workflow
Alpaca233114514 Apr 26, 2026
d375330
fix(ci,backend): correct release workflow and harden test isolation
Alpaca233114514 Apr 26, 2026
83592bb
fix(ci): use github.event.inputs for cross-event compatibility
Alpaca233114514 Apr 26, 2026
facf430
fix(ci,test): remove console noise, isolate api tests, extend timeout
Alpaca233114514 Apr 26, 2026
d21c764
ci(workflow): capture test output artifact on failure
Alpaca233114514 Apr 26, 2026
5cb5ea4
fix(notes): case-insensitive path check for Windows obsidian import
Alpaca233114514 Apr 26, 2026
7f24dbe
debug(notes): add console.log to diagnose obsidian import failure on CI
Alpaca233114514 Apr 26, 2026
2e12839
fix(notes): use realpathSync.native on Windows for obsidian import
Alpaca233114514 Apr 26, 2026
4fb6f9e
fix(notes): use inode-based path check for obsidian import root
Alpaca233114514 Apr 26, 2026
d068e0f
ci(workflow): trigger build on TS后端重写 branch
Alpaca233114514 Apr 26, 2026
de8c553
chore(release): v2.0.0-beta.3
Alpaca233114514 Apr 26, 2026
3dd5a47
chore:增加缓存命中
Alpaca233114514 Apr 26, 2026
fb7b40c
fix(ci): use origin/main for release notes diff base
Alpaca233114514 Apr 26, 2026
6cf20c5
ci(release): use CHANGELOG section as release body
Alpaca233114514 Apr 26, 2026
db649b4
fix(ci): pass --publish=never to electron-builder
Alpaca233114514 Apr 26, 2026
c1d469f
fix(ci): match release artifacts under any subdir
Alpaca233114514 Apr 26, 2026
5565855
docs(readme): rewrite README with English / Chinese / Japanese versio…
Alpaca233114514 Apr 26, 2026
88da3ec
chore: 预留免费接口
Alpaca233114514 Apr 27, 2026
da51b81
fix(chat): 修复聊天框模型同步与前后端 API 协议对齐
Alpaca233114514 Apr 27, 2026
1f2f783
fix(backend): 修复测试日志噪音与 Provider 种子数量断言
Alpaca233114514 Apr 27, 2026
3e6c1ff
chore(release): bump version to v2.0.0-beta.4
Alpaca233114514 Apr 27, 2026
bc50ee9
fix(electron,api): 修复打包后后端启动失败及卡片导入问题
Alpaca233114514 Apr 27, 2026
7d1d7b5
fix(frontend): 修复代码审查 P1/P2 问题 — 供应商 Key 同步、文件夹创建交互、ID 碰撞
Alpaca233114514 Apr 28, 2026
f058eaa
fix(backend): 修复 OpenAI SDK node-fetch 与原生 fetch 类型不兼容
Alpaca233114514 Apr 28, 2026
b913acc
fix: 全面修复 P0/P1 审计问题 — 构建配置、快捷键、安全、数据完整性
Alpaca233114514 Apr 28, 2026
e21ed0b
fix(ci): 删除 electron-builder.json 并显式指定 JS 配置文件
Alpaca233114514 Apr 28, 2026
ee610ed
fix(ci): 移除 !backend/node_modules 排他规则以包含后端依赖
Alpaca233114514 Apr 28, 2026
9a005c8
chore(release): v2.0.0-beta.4 release notes and workflow simplification
Alpaca233114514 Apr 28, 2026
a008376
fix(ci): move backend node_modules from extraResources to asarUnpack
Alpaca233114514 Apr 28, 2026
21cca73
fix(ci): add backend/node_modules to files config for asar packaging
Alpaca233114514 Apr 28, 2026
ed5404b
fix(ci): simplify electron build verification and batch fixes
Alpaca233114514 Apr 28, 2026
84b9ad4
fix(ci): add frontend typecheck step and fix type error
Alpaca233114514 Apr 28, 2026
04d946e
chore(release): bump version to v2.0.0-beta.5
Alpaca233114514 Apr 29, 2026
e758ffa
chore(release): v2.0.0-beta.5 release notes
Alpaca233114514 Apr 29, 2026
8721ff1
ci(release): strengthen backend dependency verification
Alpaca233114514 Apr 29, 2026
7c3dc1a
fix(ci): fix asarUnpack config and improve packaged dep verification
Alpaca233114514 Apr 29, 2026
b695416
fix(ci): use object syntax for backend/node_modules in electron-build…
Alpaca233114514 Apr 29, 2026
d7b597f
fix(ci): repair packaged backend dependency verification
Alpaca233114514 Apr 29, 2026
a218d85
fix(ci): use FileSet object for backend/node_modules in files config
Alpaca233114514 Apr 29, 2026
dd8029b
refactor(build): remove version number from Windows installer filename
Alpaca233114514 Apr 29, 2026
8e7bb5f
fix(ci,ui,test): v2.0.0-beta.5 verification fixes
Alpaca233114514 Apr 29, 2026
531d154
v2.0.0beta6
Alpaca233114514 Apr 29, 2026
e97fd82
ci(release): enable automatic release notes generation
Alpaca233114514 Apr 29, 2026
4b34146
fix(i18n): pass t function into components outside hook scope
Alpaca233114514 Apr 29, 2026
48099c2
ci(release): enable draft release on v2.0.0beta.6 branch push
Alpaca233114514 Apr 29, 2026
119a9fb
chore: 准备重写聊天后端
Alpaca233114514 May 1, 2026
755d725
1111
Alpaca233114514 May 1, 2026
af4ae21
改忽略
Alpaca233114514 May 1, 2026
df92139
fix:修复了已知问题
Alpaca233114514 May 1, 2026
9d699f0
test(api): fix 17 baseline failures in api.test.ts
Alpaca233114514 May 2, 2026
c052ff2
fix(backend,frontend): 修复功能使用失败问题
Alpaca233114514 May 2, 2026
8181c52
fix: 修复了已知问题
Alpaca233114514 May 3, 2026
7f60c05
fix(start-page): 修复窗景悬停 mask 动画方向
Alpaca233114514 May 3, 2026
2d2cdbb
fix: 修复了已知问题
Alpaca233114514 May 3, 2026
cf69423
feat(desktop): default to liyuan-deepseek with V4PRO support
Alpaca233114514 May 4, 2026
44e0f47
feat(desktop): wire up anonymous auth to proxy server
Alpaca233114514 May 4, 2026
a7d24f2
feat(desktop): send PapyrusDesktop User-Agent to proxy
Alpaca233114514 May 4, 2026
7ed278b
v2.0.0-beta.7
Alpaca233114514 May 4, 2026
2159138
fix(workflow): correct branch name and resolve test failure
Alpaca233114514 May 4, 2026
784ee6b
refactor(desktop): unify app identity as Papyrus Desktop
Alpaca233114514 May 4, 2026
570c9da
fix: 解决了无法切换模型也无法发送消息的问题的问题
Alpaca233114514 May 4, 2026
bef99b2
chore(release): bump version to v2.0.0-beta.7
Alpaca233114514 May 4, 2026
694f703
fix(about): update app name to Papyrus Desktop
Alpaca233114514 May 4, 2026
f951006
chore(release): v2.0.0-beta.8
Alpaca233114514 May 4, 2026
d6f8ae4
fix: 修复工作流失败问题
Alpaca233114514 May 4, 2026
3660eb4
feat(update): add system proxy auto-detection and automated bump tooling
Alpaca233114514 May 5, 2026
ef12acf
chore(release): v2.0.0-beta.9
Alpaca233114514 May 5, 2026
b13a232
fix(bump): use refs/tags/ prefix to avoid branch/tag name collision
Alpaca233114514 May 5, 2026
ca390d0
### 发布功能
Alpaca233114514 May 5, 2026
0dbf96a
feat: improve proxy resilience and unify branding to Papyrus Desktop
Alpaca233114514 May 5, 2026
25811ee
chore(release): v2.0.0-beta.10
Alpaca233114514 May 5, 2026
eb2bb4a
chore: 适配笔记库的markdown渲染
Alpaca233114514 May 5, 2026
7f3756f
v2.0.0-beta.11
Alpaca233114514 May 5, 2026
7b178e4
feat: 添加模型选择器钩子和工具函数
ChimeHsia May 6, 2026
addaabd
feat: 更新图标资源并重构前端代码结构
ChimeHsia May 6, 2026
4577e63
feat: 优化输入框和选择框的焦点样式
ChimeHsia May 6, 2026
b8e2132
feat: 优化笔记页面布局和功能,改进构建流程
ChimeHsia May 8, 2026
e4e7a50
build: 修改electron构建配置
ChimeHsia May 8, 2026
8f96c88
refactor(build): 优化构建配置和CI工作流
ChimeHsia May 8, 2026
0a7a7d3
ci(workflow): 优化后端依赖处理流程
ChimeHsia May 8, 2026
04e9c42
fix(build): add asarUnpack to properly unpack backend files from asar
ChimeHsia May 8, 2026
ff72653
merge: squash develop branches into beta11
ChimeHsia May 10, 2026
e846bb0
chore: 完成一系列功能迭代与体验优化
ChimeHsia May 11, 2026
609e11e
chore: 优化项目构建和缓存配置,修复小问题
ChimeHsia May 11, 2026
ce6863d
chore: 清理大量废弃测试文件与临时文档
ChimeHsia May 12, 2026
b27aa2a
style(frontend,build): 调整UI样式与打包配置
ChimeHsia May 12, 2026
2fdd2a6
chore(scripts): 调整目录遍历深度与资源目录匹配逻辑
ChimeHsia May 12, 2026
d0b2825
ci(github-actions): 为node_modules添加缓存并优化依赖安装流程
ChimeHsia May 12, 2026
34b12f6
refactor: 优化关联关系功能与文件导航体验
ChimeHsia May 12, 2026
69ab236
ci: remove duplicate generate_release_notes from gh-release action
ChimeHsia May 12, 2026
3e9b50e
fix: wrap clearAllData in transaction, restore integration tests, rem…
ChimeHsia May 12, 2026
c75e448
fix(ci): add contents:write permission to build job for release upload
ChimeHsia May 13, 2026
0786a84
fix: 修复16项bug,优化UI与国际化支持
ChimeHsia May 13, 2026
da9ff8a
fix: 补全 updateNote 异步调用 await 和 checkpointDb 导入
ChimeHsia May 13, 2026
301be71
chore: debug前备份
Alpaca233114514 May 23, 2026
064e2d7
fix: 修复了大量安全问题和bug
Alpaca233114514 May 23, 2026
02d3c77
ci: add AUTO_RELEASE_DRAFT switch for release branch draft control
Alpaca233114514 May 24, 2026
4c0fc18
ci: fix release draft switch - use ref_type to distinguish tag vs bra…
Alpaca233114514 May 24, 2026
5fca644
codex: update AGENTS.md
Alpaca233114514 May 25, 2026
15f6875
CI: 添加BA称呼分支工作流触发支持,并取消v2前缀分支支持
Alpaca233114514 May 26, 2026
c74ac38
CI: 修复缓存挤爆构建,发布开关多余,Node不适配的问题
Alpaca233114514 May 26, 2026
9787b9f
feat(test): 增加测试覆盖率
Alpaca233114514 May 26, 2026
6145ad4
fix: repair startup, chat, scenery, tags, and no-animation UI bugs
Alpaca233114514 May 26, 2026
b1be225
fix: clean the shithill
Alpaca233114514 May 27, 2026
b28845f
feat: update workflow trigger
Alpaca233114514 May 27, 2026
ac05880
CI:add codex/BA-named branch to default workflow
Alpaca233114514 May 27, 2026
6263877
fix: update npm ver to solve security problem
Alpaca233114514 May 27, 2026
d309e21
feat:添加了版本更新工具
Alpaca233114514 May 28, 2026
de51cd2
doc: 加入版本guide
Alpaca233114514 May 28, 2026
66ee674
feat: CLI与skill化
Alpaca233114514 May 29, 2026
00c5c51
test: 改进测试流
Alpaca233114514 May 29, 2026
2eba750
Update release workflow test coverage
Alpaca233114514 May 30, 2026
4981421
Update release workflow to match current tests
Alpaca233114514 May 30, 2026
1bed3b5
Fix LLM cache TTL expiration boundary
Alpaca233114514 May 30, 2026
6f6bf55
CI: fix the workflow typecheck
Alpaca233114514 May 30, 2026
3113cae
fix: 重写工作流类型检查部分
Alpaca233114514 May 30, 2026
850c719
继续修复工作流
Alpaca233114514 May 30, 2026
35b4cdc
重写工作流
Alpaca233114514 May 31, 2026
4428507
fix: fix 5 bugs for app
Alpaca233114514 Jun 3, 2026
6495d28
Add i18n and GitHub update fallbacks
Alpaca233114514 Jun 3, 2026
c6a9da0
改善安全测试
Alpaca233114514 Jun 4, 2026
ba1b5b0
fix(LA-6): 日期格式设置真正生效
Alpaca233114514 Jun 4, 2026
6b5f3c0
chore: remove Liyuan (liyuan-deepseek) from default provider and mode…
Alpaca233114514 Jun 4, 2026
7cb2d83
fix: resolve __APP_VERSION__ undefined in Electron non-Vite environments
Alpaca233114514 Jun 4, 2026
46fec7f
修复UI错位问题
Alpaca233114514 Jun 4, 2026
73228a6
Fetch scenery only if no due cards
Alpaca233114514 Jun 4, 2026
2f65c2b
修改LA7
Alpaca233114514 Jun 4, 2026
c9926ad
Add global font-size vars and component sizing
Alpaca233114514 Jun 4, 2026
3a00c87
完成LA11和LA12
Alpaca233114514 Jun 4, 2026
6cc94c7
Persist chat panel side and UI toggle
Alpaca233114514 Jun 4, 2026
6a68ea1
提交LA17的大部分内容,仍然有主题字字号问题待解决
Alpaca233114514 Jun 4, 2026
15b059f
Migrate AI config from JSON file to DB
Alpaca233114514 Jun 5, 2026
7d8e6e7
fix: 处理了开始,设置页字重不对的问题
Alpaca233114514 Jun 5, 2026
b27c322
Use font-weight CSS vars; update headings; fix test conflict
Alpaca233114514 Jun 5, 2026
32abbfe
Use font-weight CSS vars; update headings; fix test conflict
Alpaca233114514 Jun 5, 2026
eeb1ddd
fix: review bug and fix it
Alpaca233114514 Jun 5, 2026
e45863e
改框子动画(feat)
Alpaca233114514 Jun 5, 2026
5fc444b
修复日期格式问题
Alpaca233114514 Jun 5, 2026
ea6450a
merge: LA6 - 日期格式修复、安全测试改善、移除Liyuan提供商
Alpaca233114514 Jun 5, 2026
4043fd4
Merge branch 'LA15' into codex/BA11-release
Alpaca233114514 Jun 5, 2026
8813c1d
fix(CI): 修复工作流typeerr问题
Alpaca233114514 Jun 5, 2026
c7823d8
修复了报告的五个bug
Alpaca233114514 Jun 5, 2026
0ad9d2c
这个B工作流再报错我撅死它
Alpaca233114514 Jun 5, 2026
a542365
fix: 修复了窗景的定位错位问题
Alpaca233114514 Jun 5, 2026
2fdf1f4
feat: 去除agent模式在未拉起状态下的文本显示
Alpaca233114514 Jun 16, 2026
46ddb27
fix: 修改引入bug
Alpaca233114514 Jun 16, 2026
eb32f33
fix(frontend): avoid duplicate backend startup in npm run dev
Alpaca233114514 Jun 16, 2026
f0498a7
refactor(chat): move model selector into ChatToolbar
Alpaca233114514 Jun 16, 2026
8387120
feat: 改脚本
Alpaca233114514 Jun 16, 2026
33a046c
feat: 拉脚本
Alpaca233114514 Jun 16, 2026
4e2162d
Release v2.0.0-beta.11 and AI/tooling updates
Alpaca233114514 Jun 17, 2026
0ca636b
Update chat bubble mock image
Alpaca233114514 Jun 17, 2026
b528d7b
fix(ci): 支持 AUTO_RELEASE_DRAFT 变量控制非手动触发的 draft 状态
Alpaca233114514 Jun 17, 2026
82770f6
chore(ci): 统一工作流文件换行符为 LF
Alpaca233114514 Jun 17, 2026
61cde17
fix: 修复了agent标志和搜索框过于宽的问题
Alpaca233114514 Jun 17, 2026
011ee56
feat: 优化搜索栏长度
Alpaca233114514 Jun 17, 2026
c64a9af
Remove shortcut cards from start page
Alpaca233114514 Jul 8, 2026
a6e1fd9
feat(chat): optimize narrow panel layout and enrich message actions
Alpaca233114514 Jul 8, 2026
9b129ce
chore(release): remove mock assets and fix CI workflow conflict
Alpaca233114514 Jul 8, 2026
6220a37
chore(release): v2.0.0-beta.12
Alpaca233114514 Jul 8, 2026
62db0b4
fix(ci): restore complete release-optimized workflow file
Alpaca233114514 Jul 8, 2026
e496f34
fix(security): harden API auth, SSRF, and key exposure (#23)
Alpaca233114514 Jul 8, 2026
b49b0b8
fix: address Codex review on token reuse and PDF preview (#24)
Alpaca233114514 Jul 8, 2026
98a50f0
feat: 设置中新增翻译模型选择 (#25)
Alpaca233114514 Jul 9, 2026
68d2b21
docs: sync to beta.12 SQLite stack and remove stale docs (#26)
Alpaca233114514 Jul 10, 2026
79acf8c
fix: align StartPage hero card with scroll scenery layout
Alpaca233114514 Jul 10, 2026
bf96b63
Add Node.js bundle and fix ESM/CSS layout issues
Alpaca233114514 Jul 10, 2026
3163307
Add sidebar chat history and nest extensions in settings
Alpaca233114514 Jul 17, 2026
92b204a
Refine sidebar navigation and prevent blank chat duplication
Alpaca233114514 Jul 17, 2026
93a5859
Add chat session rename and delete handling
Alpaca233114514 Jul 17, 2026
e5a8ec8
Unify frontend theme tokens and card styling
Alpaca233114514 Jul 17, 2026
44f6ba3
Standardize UI styling with design tokens
Alpaca233114514 Jul 17, 2026
db79278
Add Windows Acrylic title bar styling and refine chart labels
Alpaca233114514 Jul 18, 2026
758814c
Add inline confirmation for chat history deletion
Alpaca233114514 Jul 18, 2026
2b46b35
Preserve chat session ordering and localize file addition UI
Alpaca233114514 Jul 18, 2026
1ba28e9
Improve application features and behavior
Alpaca233114514 Jul 18, 2026
5a7aad9
Add AI-generated conversation titles
Alpaca233114514 Jul 18, 2026
32b2ecd
Isolate API edge-case tests from user data
Alpaca233114514 Jul 18, 2026
1489be9
fix(ci): normalize packaged ASAR paths
Alpaca233114514 Jul 18, 2026
3e7f2fa
chore(release): v2.0.0-beta.13
Alpaca233114514 Jul 18, 2026
a97199b
docs: standardize release publishing format
Alpaca233114514 Jul 18, 2026
ce4a7fe
Strengthen title bar search field border visibility
Alpaca233114514 Jul 22, 2026
bd820c0
Constrain generated session titles and sidebar overflow
Alpaca233114514 Jul 22, 2026
a2125b6
Add knowledge base version control
Alpaca233114514 Jul 23, 2026
d7213e4
Polish knowledge version control and harden restores
Alpaca233114514 Jul 23, 2026
1d70b26
Merge chat history overflow fix into BA14
Alpaca233114514 Jul 23, 2026
4a7039a
Merge knowledge version control into BA14
Alpaca233114514 Jul 23, 2026
9b2dd4d
Prepare v2.0.0-beta.14 release
Alpaca233114514 Jul 23, 2026
a9e8d29
Fix BA14 release blockers
Alpaca233114514 Jul 23, 2026
9e24587
Merge main into BA14-release
Alpaca233114514 Jul 24, 2026
ed503a7
fix: address automated review regressions
Alpaca233114514 Jul 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
154 changes: 154 additions & 0 deletions .electron-builder.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
/**
* Electron Builder Configuration (JavaScript version)
* Alternative to electron-builder.json for more dynamic configuration
*/

const path = require('path');
const fs = require('fs');
const os = require('os');

// Check if running in CI environment
const isCI = process.env.CI === 'true' || process.env.GITHUB_ACTIONS === 'true';

// Certificate configuration (only for local builds, stored outside project dir)
const certificateFile = path.join(os.homedir(), '.papyrus-certs', 'code-signing.pfx');
const hasCertificate = fs.existsSync(certificateFile);

module.exports = {
appId: 'com.papyrus.desktop',
productName: 'Papyrus Desktop',
copyright: 'Copyright © 2026 Papyrus Team',

directories: {
output: 'dist-electron',
buildResources: 'build',
},

files: [
'electron/**/*',
{
from: 'frontend/dist',
to: 'frontend/dist',
},
'!node_modules/**/*',
'!frontend/node_modules/**/*',
'!backend/**/*',
'!**/*.map',
'!**/*.ts',
'!**/*.tsx',
],

extraResources: [
{
from: 'assets',
to: 'assets',
},
{
from: 'backend/dist',
to: 'backend/dist',
},
{
from: 'backend/node_modules',
to: 'backend/node_modules',
},
{
from: 'backend/package.json',
to: 'backend/package.json',
},
],

asar: true,
asarUnpack: [],
compression: 'maximum',
removePackageScripts: true,
nodeGypRebuild: false,
buildDependenciesFromSource: false,
npmRebuild: false,

// Windows configuration - 仅 NSIS 安装器
win: {
target: [
{ target: 'nsis', arch: ['x64'] },
],
icon: 'assets/icon.ico',
verifyUpdateCodeSignature: !isCI,
executableName: 'Papyrus Desktop',
// Only sign locally (CI builds are unsigned)
...(hasCertificate && !isCI ? {
certificateFile: certificateFile,
certificatePassword: process.env.CERTIFICATE_PASSWORD,
} : {}),
},

nsis: {
oneClick: false,
allowToChangeInstallationDirectory: true,
createDesktopShortcut: true,
createStartMenuShortcut: true,
shortcutName: 'Papyrus Desktop',
uninstallDisplayName: 'Papyrus Desktop',
include: 'build/installer.nsh',
deleteAppDataOnUninstall: true,
artifactName: '${productName}-Setup.${ext}',
},

// macOS configuration
mac: {
// 不在配置中固定 CPU 架构;CI 在原生 arm64/x64 runner 上分别传入 --arm64/--x64,
// 确保 sharp 等原生后端依赖与最终 Electron 架构一致。
target: ['dmg'],
icon: 'assets/icon.icns',
category: 'public.app-category.productivity',
darkModeSupport: true,
hardenedRuntime: true,
gatekeeperAssess: false,
entitlements: 'build/entitlements.mac.plist',
entitlementsInherit: 'build/entitlements.mac.plist',
// Electron 41 基于 Chromium 的运行时最低支持 macOS 12,声明更低版本只会产生无法启动的安装包。
minimumSystemVersion: '12.0',
},

dmg: {
sign: false,
artifactName: '${productName}-macOS-${arch}.${ext}',
contents: [
{ x: 130, y: 220 },
{ x: 410, y: 220, type: 'link', path: '/Applications' },
],
window: {
width: 540,
height: 380,
},
},

// Linux configuration
linux: {
target: [
{ target: 'AppImage', arch: ['x64'] },
{ target: 'deb', arch: ['x64'] },
],
artifactName: '${productName}-Linux-${arch}.${ext}',
icon: 'assets/icon.png',
category: 'Office',
maintainer: 'Papyrus Team',
vendor: 'Papyrus Team',
synopsis: 'Modern note-taking and learning application',
description: 'Papyrus Desktop is a modern note-taking and learning application with AI integration and spaced repetition.',
desktop: {
entry: {
Name: 'Papyrus Desktop',
Comment: 'Note-taking and learning application',
Categories: 'Office;Education;',
StartupWMClass: 'Papyrus Desktop',
},
},
},

// Publish configuration
publish: {
provider: 'github',
owner: 'papyrus-team',
repo: 'papyrus',
releaseType: 'release',
},
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
95 changes: 0 additions & 95 deletions .github/workflows/build-and-release.yml

This file was deleted.

Loading
Loading