omp-web v0.8.6
🎉 This release merges upstream pi-web v0.8.6 into omp-web while preserving omp-web's identity and custom feature set.
🎉 本版本合并上游 pi-web v0.8.6,同时保留 omp-web 自身定位与自定义功能。
✨ New Features / 新功能
🇨🇳 中文
- 完整引入上游 pi-web 0.8.6 的国际化系统(i18n),支持界面双语/多语言切换
- 新增模型作用域 / 模型目录解析(
enabledModelsglob 模糊匹配,与 TUI 一致的可见模型列表) - 新增项目信任(project trust)机制:打开仓库不再自动执行不受信任的
.pi/extensions代码 - 新增能力驱动的 Provider 列表(按
auth.apiKey/auth.oauth声明判断,双认证服务商只出现一次) - 新增请求安全校验(
request-security)、Web 基础认证(Basic Auth) - 新增原子文件写入、可拖拽面板、PWA 清单与离线支持
- 代理层 SSE 流式旁路,避免长轮询/事件流被缓冲或超时
EN
- Full i18n system from upstream pi-web 0.8.6, with bilingual / multi-language UI switching
- Model scope / catalog resolution (glob-based
enabledModels, consistent with the TUI) - Project trust mechanism — opening a repo no longer auto-runs untrusted
.pi/extensionscode - Capability-driven provider listing (membership by declared
auth.apiKey/auth.oauth, dual-auth providers appear once) - Request security (
request-security) and web Basic Auth - Atomic file writes, resizable panels, PWA manifest + offline support
- SSE bypass in the proxy so event streams are not buffered or timed out
🔧 Merged Upstream Bug Fixes / 合并的上游修复
🇨🇳 中文
- API Key 保存不再因慢速目录刷新而挂起
- 多行 / 深层线性会话导出不再触发浏览器调用栈溢出
- Windows 驱动器选择器、iOS PWA 视口与键盘布局优化
- 会话关闭时正确释放 agent 会话、扩展对话框播放提示音优化
EN
- Saving an API key no longer hangs on a slow catalog refresh
- Deep/linear session export no longer overflows the browser call stack
- Windows drive picker, iOS PWA viewport & keyboard layout improvements
- Agent sessions disposed on shutdown, sound for extension dialogs
🧩 omp-web 保留的独家功能 / Kept omp-web-only features
🇨🇳 中文
.omp/agent数据目录,与 Oh My Pi (omp) 工作流完全一致models.yml直接持久化,与 omp CLI 的模型/凭据同步(含 sqliteagent.db、models.db读取与映射、模型角色)- 独立代码块主题选择器(One Dark Pro / VS Code Dark+/Light 等)
- 星空主题欢迎界面与 Emblem、主题/语言切换器
- IDE 风格文件夹选择器、按项目检索历史会话
- 中文为主的本地化与 README
EN
.omp/agentdata directory, fully aligned with the Oh My Pi (omp) workflow- Direct
models.ymlpersistence with omp CLI model/credential sync (sqliteagent.db/models.dbreads, model roles) - Standalone code theme selector (One Dark Pro / VS Code Dark+/Light, …)
- Starfield welcome screen & emblem, theme / language pickers
- IDE-style folder picker, browse past sessions by project
- Chinese-first localization and README
⬆️ Dependency Updates / 依赖更新
EN: pi SDK packages @earendil-works/pi-* → 0.83.0 · Next.js → 16.2.12 · added proper-lockfile
中文: pi SDK 相关包 @earendil-works/pi-* → 0.83.0 · Next.js → 16.2.12 · 新增 proper-lockfile
📦 Install / 安装
# From source / 从源码运行
git clone https://github.com/17380936778/omp-web.git
cd omp-web
npm install
npm run dev # http://127.0.0.1:30141
# Or build & run production / 或构建后运行生产模式
npm run build
npm startRequirements / 环境要求: Node.js ≥ 22.19.0 · Git on PATH
🙏 Credits / 致谢
感谢上游 pi-web 团队与社区的工作,本版本的绝大部分新功能与修复源自上游 v0.8.6。
Thanks to the pi-web team and community — most new features and fixes in this release come from upstream v0.8.6.
Full Changelog / 完整变更: 2f76cdb...5fea95a