[PR #20382] [CLOSED] fix: Add missing y-protocols dependency for collaboration features #64447

Closed
opened 2026-05-06 10:02:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/20382
Author: @Classic298
Created: 1/5/2026
Status: Closed

Base: devHead: y-shit


📝 Commits (4)

📊 Changes

4 files changed (+25 additions, -1 deletions)

View changed files

📝 backend/open_webui/utils/middleware.py (+20 -0)
📝 package-lock.json (+1 -1)
📝 package.json (+1 -0)
📝 vite.config.ts (+3 -0)

📄 Description

Summary

Added y-protocols as an explicit dependency in package.json to fix Vite build errors with collaborative editing features.

Problem

The y-prosemirror package has y-protocols as a peer dependency, but it wasn't explicitly listed in package.json. This caused
Vite to fail with "Could not resolve y-protocols/awareness" during dependency optimization.

Solution

Added "y-protocols": "^1.0.7" to the dependencies section to ensure it's installed and available for Vite's dependency
optimizer.

Changes

Added y-protocols dependency

Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.

Note

Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/20382 **Author:** [@Classic298](https://github.com/Classic298) **Created:** 1/5/2026 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `y-shit` --- ### 📝 Commits (4) - [`cc42135`](https://github.com/open-webui/open-webui/commit/cc421351d324dc80e366ac7f7c6208b07854319a) refac - [`fea43b9`](https://github.com/open-webui/open-webui/commit/fea43b9341ebed4a866416b273a438e8a7358a9d) Delete setup.md - [`c899eb2`](https://github.com/open-webui/open-webui/commit/c899eb2c44477614029d27aca207fcdc6e382bba) fix - [`1f37566`](https://github.com/open-webui/open-webui/commit/1f375667e9f0577c9e5ee4b7b5d99204056bc0a8) Merge branch 'y-shit' of https://github.com/Classic298/open-webui into y-shit ### 📊 Changes **4 files changed** (+25 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/utils/middleware.py` (+20 -0) 📝 `package-lock.json` (+1 -1) 📝 `package.json` (+1 -0) 📝 `vite.config.ts` (+3 -0) </details> ### 📄 Description # Summary Added y-protocols as an explicit dependency in package.json to fix Vite build errors with collaborative editing features. # Problem The y-prosemirror package has y-protocols as a peer dependency, but it wasn't explicitly listed in package.json. This caused Vite to fail with "Could not resolve y-protocols/awareness" during dependency optimization. # Solution Added "y-protocols": "^1.0.7" to the dependencies section to ensure it's installed and available for Vite's dependency optimizer. # Changes Added y-protocols dependency ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. > [!NOTE] > Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 10:02:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#64447