Skip to content

[pull] main from lobehub:main#479

Merged
pull[bot] merged 18 commits intocode:mainfrom
lobehub:main
Oct 21, 2025
Merged

[pull] main from lobehub:main#479
pull[bot] merged 18 commits intocode:mainfrom
lobehub:main

Conversation

@pull
Copy link

@pull pull bot commented Oct 21, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

arvinxx and others added 18 commits October 21, 2025 11:24
- Update environment file setup instructions to use docker-compose/local/.env.example instead of .env.example.development
- Fix references to environment file locations in both English and Chinese documentation
- Align documentation with actual Docker Compose configuration that uses env_file: .env in docker-compose/local/ directory

Fixes #9525

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix dev hydration

* 🐛 fix: pass threadId to messages in sendMessageInServer

- Add threadId parameter to CreateMessageParams interface
- Pass threadId when creating user and assistant messages in aiChat router
- Add comprehensive tests for threadId handling and outputJSON method

This ensures thread context is properly maintained across message creation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* ✅ test: add comprehensive tests for addUserMessage

- Test early return when activeId is undefined
- Test message creation with files
- Test threadId propagation when activeThreadId is set
- Test input message clearing after message creation
- Test handling messages without fileList

This ensures the addUserMessage action correctly handles all scenarios including thread context.

🤖 Generated with [Claude Code](https://claude.com/claude-code)



* fix thread fix

* move

* baseline

* ✅ test: fix and improve message integration tests

- Mock FileService to avoid S3 initialization issues
- Mock getServerDB to use test database instance
- Add test for threadId parameter in message creation
- Fix pagination test to handle variable message counts
- Fix batchCreate test to skip rowCount assertion (undefined in PGlite)
- Skip topicId validation test (not currently enforced)

All 15 integration tests now passing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


* refactor

* improve
### [Version&nbsp;1.139.4](v1.139.3...v1.139.4)
<sup>Released on **2025-10-21**</sup>

#### 🐛 Bug Fixes

- **misc**: Pass threadId to messages in sendMessageInServer.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Pass threadId to messages in sendMessageInServer, closes [#9808](#9808) ([d99a3a8](d99a3a8))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
* feat: when branching topic id was dynmic fetch

* fix: add topic id into callback dep
### [Version&nbsp;1.139.5](v1.139.4...v1.139.5)
<sup>Released on **2025-10-21**</sup>

#### 🐛 Bug Fixes

- **desktop**: Fix desktop open error in some edge cases.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **desktop**: Fix desktop open error in some edge cases, closes [#9813](#9813) ([6334f62](6334f62))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Co-authored-by: YuTengjing <ytj2713151713@gmail.com>
## [Version&nbsp;1.140.0](v1.139.5...v1.140.0)
<sup>Released on **2025-10-21**</sup>

#### ✨ Features

- **misc**: Add ComfyUI integration Phase1(RFC-128).

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add ComfyUI integration Phase1(RFC-128), closes [#9043](#9043) ([15ffe28](15ffe28))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
* fix model runtime issue

* fix model runtime issue
- Add abort error detection in lambda client error handling link
- Prevent showing notifications for aborted requests (e.g., rapid settings updates)
- Check for various abort error patterns: 'aborted', 'AbortError', 'signal is aborted without reason'

Fixes #9401

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
…9817)

fix: slove when pwa user info have code cCannot be viewed in full
* feat: add PDF export functionality to share modal

- Create usePdfExport hook with jsPDF and html2canvas
- Add "Export as PDF" button to screenshot tab in share modal
- Support multi-page PDFs for long conversations
- Add required dependencies: jspdf@^2.5.2 and html2canvas@^1.4.1
- Add localization support for PDF export button

Fixes #9299

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: LobeHub Bot <lobehubbot@users.noreply.github.com>

* ♻️ refactor: convert PDF export to separate tab with backend generation

- Create new SharePdf tab component with PDF.js preview
- Move PDF generation from frontend to backend via tRPC
- Add server-side PDF generation using jsPDF
- Remove old PDF export button from ShareImage component
- Add proper loading states and error handling
- Update localization for PDF tab

Co-authored-by: Shinji-Li <ONLY-yours@users.noreply.github.com>

* 🐛 fix: resolve unicorn/no-await-expression-member lint error in PDF exporter

Split await expression member access to avoid linting error in exporter.ts

Co-authored-by: Shinji-Li <ONLY-yours@users.noreply.github.com>

* feat: add i18n

* feat: use pdfkit to export a pdf

* feat: add fullscreen preview

* feat: update pdf preview styles

* feat: add i18n locales

* feat: add single pdf share modal

* feat: update css & client mode cant use pdf genertate

* fix: mobile style fixed

* fix: delete console.log & useless packagejson

* feat: use online otf link

---------

Co-authored-by: Shinji-Li <ONLY-yours@users.noreply.github.com>
* feat: Add knowlwdge base entry

* feat: Bump dayjs

* style: Mansory

* feat: Persist state in URL

* lint: Remove unesd file

* feat: Skelton

* fix: Persist view preference

* fix: Chunk label

* fix: Lint error

* fix: Activate style

* fix: Image size
@pull pull bot locked and limited conversation to collaborators Oct 21, 2025
@pull pull bot added the ⤵️ pull label Oct 21, 2025
@pull pull bot merged commit e9de9e3 into code:main Oct 21, 2025
12 of 13 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants