feat(github-copilot-sdk): release v0.12.0 with adaptive console, stream deduplication and TTFT profiling
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# GitHub Copilot SDK Pipe for OpenWebUI
|
||||
|
||||
| By [Fu-Jie](https://github.com/Fu-Jie) · v0.11.0 | [⭐ Star this repo](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| By [Fu-Jie](https://github.com/Fu-Jie) · v0.12.0 | [⭐ Star this repo](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| :--- | ---: |
|
||||
|
||||
|  |  |  |  |  |  |  |
|
||||
@@ -39,14 +39,12 @@ When the selection dialog opens, search for this plugin, check it, and continue.
|
||||
> [!IMPORTANT]
|
||||
> If the official OpenWebUI Community version is already installed, remove it first. After that, Batch Install Plugins can keep this plugin updated in future runs.
|
||||
|
||||
## ✨ v0.11.0: High-Speed Pool Fix, BYOK-only Mode & Stable RichUI
|
||||
## ✨ v0.12.0: Adaptive Actions Console, Stream Deduplication & Full TTFT Profiling
|
||||
|
||||
- **🚀 Shared Client Pool Fix**: Resolved a critical bug where the shared singleton pool was incorrectly stopped, restoring instant response speeds for subsequent turns.
|
||||
- **🔑 BYOK-only Mode**: You can now use the plugin with only BYOK settings (OpenAI/Anthropic keys) without requiring a `GH_TOKEN`.
|
||||
- **🛡️ Environment Isolation**: Improved security by isolating user-specific environment variables, preventing token pollution in concurrent requests.
|
||||
- **📏 RichUI Height Stability**: Fixed the infinite sizing loop bug in embedded components, ensuring precise auto-height calculation.
|
||||
- **🩺 Smart Stall Detection**: Integrated `client.ping()` to rescue slow but alive processes from being prematurely aborted during heavy tasks.
|
||||
- **🧹 Smart TODO Visibility**: Automatically hides the TODO widget in subsequent chats once all tasks are completed to keep the interface clean.
|
||||
- **📊 Predictive Adaptive Console**: Automatically models continuous decision layouts using `interactive_controls` state tables on the per-session workspace database so visual panels don't go stale.
|
||||
- **🛡️ Stream Overlap Deduplication**: Mitigated overlay dual delivery bugs on `assistant.message_delta` frames using conservative overlap trimming rules during turn resumptions.
|
||||
- **⏱️ Segmented Profiling Loadtimes**: Fine-grained timers identifying local startup overhead and pure cloud network turnaround time tracking calibration.
|
||||
- **🧹 Eliminate Redundancies**: Reduced redundant secondary heavy `_parse_mcp_servers()` loops inside session resumes for faster handshake callbacks.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# GitHub Copilot Official SDK Pipe
|
||||
|
||||
| 作者:[Fu-Jie](https://github.com/Fu-Jie) · v0.11.0 | [⭐ 点个 Star 支持项目](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| 作者:[Fu-Jie](https://github.com/Fu-Jie) · v0.12.0 | [⭐ 点个 Star 支持项目](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| :--- | ---: |
|
||||
|
||||
|  |  |  |  |  |  |  |
|
||||
@@ -40,14 +40,12 @@
|
||||
> [!IMPORTANT]
|
||||
> 如果你已经安装了 OpenWebUI 官方社区里的同名版本,请先删除旧版本,否则重新安装时可能报错。删除后,Batch Install Plugins 后续就可以继续负责更新这个插件。
|
||||
|
||||
## ✨ v0.11.0:单例进程池修复、纯 BYOK 模式与 RichUI 高度稳定性
|
||||
## ✨ v0.12.0:自适应动作面板、流排重拦截与全链路 TTFT 测定
|
||||
|
||||
- **🚀 共享进程池修复**:修复了 `stream_response` 误停止单例客户端的重大 Bug,显著提升多轮对话响应速度。
|
||||
- **🔑 支持纯 BYOK 模式**:现在支持仅配置自带密钥(BYOK)而不提供 `GH_TOKEN` 的运行模式。
|
||||
- **🛡️ 并发环境隔离**:重构环境变量注入逻辑,实现用户级 Token 隔离,杜绝高并发下的信息污染。
|
||||
- **📏 RichUI 稳定性增强**:彻底解决了嵌入式组件高度计算循环导致的页面无限变高问题。
|
||||
- **🩺 智能防挂死检测**:引入 `client.ping()` 探测机制,有效减少复杂任务(如长时间运行的脚本)被误杀的概率。
|
||||
- **🧹 智能 TODO 显隐**:当 TODO 任务全部完成后,下一次对话将自动隐藏 UI,保持界面整洁。
|
||||
- **📊 连续自适应看板 (Adaptive Actions Console)**:自动在 `interactive_controls` 辅助常驻状态表中追踪动作,引导 LLM 有选择性地在最新输出中展示最可能用到的点击控制面板,实现不翻页连续持久化点击操作。
|
||||
- **🛡️ 叠加流排重拦截 (Deduplicate Stream overlap)**:对接 `_dedupe_stream_chunk` 保守重叠裁剪,彻底消除二轮对话流重叠叠加异常。
|
||||
- **⏱️ 分段 ⏱️ Profiling 埋点**:拆装本地预热阻断与云端网络 Trip 数据时间,直观测算 Time-to-First-Byte。
|
||||
- **🧹 消除冗余解析**:剔除 Resume 过程对 MCP 的二次昂贵循环,提效握手微观时延。
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ author_url: https://github.com/Fu-Jie/openwebui-extensions
|
||||
funding_url: https://github.com/open-webui
|
||||
openwebui_id: ce96f7b4-12fc-4ac3-9a01-875713e69359
|
||||
description: A powerful Agent SDK integration for OpenWebUI. It deeply bridges GitHub Copilot SDK with OpenWebUI's ecosystem, enabling the Agent to autonomously perform intent recognition, web search, and context compaction. It seamlessly reuses your existing Tools, MCP servers, OpenAPI servers, and Skills for a professional, full-featured experience.
|
||||
version: 0.11.0
|
||||
version: 0.12.0
|
||||
requirements: github-copilot-sdk==0.1.30
|
||||
"""
|
||||
|
||||
|
||||
27
plugins/pipes/github-copilot-sdk/v0.12.0.md
Normal file
27
plugins/pipes/github-copilot-sdk/v0.12.0.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# v0.12.0 Release Notes
|
||||
|
||||
This update (`v0.12.0`) delivers a structural reinforcement resolving stream duplication/overlays during prompt resumes, and introduces highly requested predictive control surface sustainability.
|
||||
|
||||
## 📊 New Features
|
||||
|
||||
### 1. Predictive Adaptive Actions Console
|
||||
Injected a **Predictive Adaptive Controller** design directive into the system prompt context.
|
||||
* **Continuity Architecture**: Micro-views (`<iframe>`, `<richui>`, or HTML embeds) are now recognized by the LLM as Dynamic Operational State machines, preventing the panel from going stale/unclicked between new conversational turns.
|
||||
* **Physical Isolation & Persistence**: The Pipe now pre-emptively initializes an **`interactive_controls` state table** in the per-session `session.db` workspace database. The LLM can use its `sql` tool to track continuous actions reliably.
|
||||
* **Selective Recall**: Evaluates next-turn likelihoods natively to include *only* relevant unclicked control bars into the latest response stream so you don't scroll back up to click.
|
||||
|
||||
---
|
||||
|
||||
## 🛠️ Bug Fixes
|
||||
|
||||
1. **Stream Overlap Deduplication**:
|
||||
* Resolved concurrent string duplication overlay bugs on `assistant.message_delta` frames (e.g., repeating prefixes) by enforcing strict conservative overlap trimming rules during turn resumptions.
|
||||
2. **TTFT Fine-grained Profiling**:
|
||||
* Deployed micro-segment timers separating local subprocess setups (~1.6s) from cloud network intervals (~2.3s) for full accounting calibration data readout directly in browser consoles.
|
||||
3. **Eliminate Redundancies**:
|
||||
* Cut redundant secondary heavy `_parse_mcp_servers()` loops inside session resume packager for slight performance speed improvements.
|
||||
|
||||
---
|
||||
|
||||
## 📖 Docs Update
|
||||
* Local and Mirror docs (`index.md`, `github-copilot-sdk.md`) version synchronization pushed up to `0.12.0`.
|
||||
27
plugins/pipes/github-copilot-sdk/v0.12.0_CN.md
Normal file
27
plugins/pipes/github-copilot-sdk/v0.12.0_CN.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# v0.12.0 版本发布说明 (Release Notes)
|
||||
|
||||
针对二轮对话(Resume Session)时输出流式重复叠加,以及看板控件不持久的痛点,本次 `v0.12.0` 带来了一次结构性的功能加固。
|
||||
|
||||
## 📊 新功能 (New Features)
|
||||
|
||||
### 1. 连续自适应看板 (Adaptive Actions Console)
|
||||
在系统提示词层级注入了 **Predictive Adaptive Controller** 预测性控制面板指南。
|
||||
* 大模型现在被引导去感知自己生成的 `<iframe>` 或富文本动作面板是一个“高度状态化的连续应用”,而非单次抛弃式气泡。
|
||||
* **物理级隔离与持久化**:底层 `.pipe_impl` 现已透明为本次会话初始化了 `session.db` 空间中的 **`interactive_controls` 辅助常驻状态表**。大模型可以通过调用 `sql` 工具记录和跨 Turn 读取哪些动作目前依然活跃。
|
||||
* **有选择性召回 (Selective Recall)**:结合本轮上下文,大模型只在输出末端带上“逻辑概率最高”的幸存按钮,保证不翻页就能持续点击、协同工作,不造成消息轰炸或错乱。
|
||||
|
||||
---
|
||||
|
||||
## 🛠️ 问题修复 (Bug Fixes)
|
||||
|
||||
1. **叠加重复输出剔除 (Deduplicate Stream overlap)**:
|
||||
* 在 `assistant.message_delta` 时,严格对接 `_dedupe_stream_chunk` 保守重置算法,过滤掉了 CLI 多路通道在极速握手期间重播的上轮前缀,彻底解决 `🎉 删 🎉 删除成功` 这类叠加显示错误。
|
||||
2. **耗时精密度测定 (Fine-grained TTFT Profiling)**:
|
||||
* 针对 First-Byte Latency 增加了分步测速:把 Process 初始化 (1.6s) 与网络云端Trip (2.3s) 严格通过时间差算出。排除了计算漏电。
|
||||
3. **消除冗余解析**:
|
||||
* 移除了 `resume_params` 时不必要重复触发的高昂 MCP 解析迭代,降低微观响应时延。
|
||||
|
||||
---
|
||||
|
||||
## 📖 文档更新 (Docs)
|
||||
* 本地与 docs 镜像页 (`index.zh.md`, `github-copilot-sdk.zh.md`) 版本同步推至 `0.12.0`。
|
||||
Reference in New Issue
Block a user