Skip to content

Feat/config UI enhancements (本地配置管理面板能力增强)#118

Open
iinhai wants to merge 2 commits into
mainfrom
feat/config-ui-enhancements
Open

Feat/config UI enhancements (本地配置管理面板能力增强)#118
iinhai wants to merge 2 commits into
mainfrom
feat/config-ui-enhancements

Conversation

@iinhai

@iinhai iinhai commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

feat(config-ui): 本地配置管理面板能力增强

概述

bl config ui 从配置档案查看扩展为一体化的本地管理面板,新增 Quick Start 引导、Playground 场景调度、本地 Agent 一键启动,以及 Skills、MCP、Agents、Assets 的聚合展示与管理能力。

新增功能

Quick Start 首次引导

  • 新增引导页,以「灰到绿」的步骤卡片呈现首次配置进度:环境检查、登录百炼、连接本地 Agent、运行首个任务。
  • 每一步实时读取运行环境与登录/连接状态并自动点亮;完成状态本地记忆,避免重复引导。

Playground 场景调度

  • 新增场景中心,内置按分类(图像、音频、视频、多模态、代码、文档)组织的多模态预设场景。
  • 支持将预设任务一键下发到已连接的本地编码 Agent,在新终端窗口中执行,运行目录为 bl config ui 的启动目录。
  • 内置场景支持编辑、保存、删除,并可创建自定义场景(本地覆盖 / 隐藏,持久化保存)。
  • 下发弹窗预选上次使用过的 Agent,支持搜索与分页。

本地 Agent 一键启动

  • Agents 页展示各编码 Agent 框架的安装/连接状态(Connected / Installed / Not installed)。
  • 新增一键启动:在新终端中拉起对应 Agent 的 CLI,并按可执行文件是否在 PATH 上进行可用性判定与禁用态提示。
  • Agent 详情抽屉展示本地配置与文件路径,密钥掩码显示并支持按需查看。

Skills 管理

  • 跨多个 Agent 模块聚合发现本地技能,详情抽屉渲染 SKILL.md(支持 Markdown,含 GFM 表格)。
  • 新增上传本地 .zip 技能包一键安装到指定客户端 skills 目录的能力。
  • 扩展扫描目录,覆盖更多客户端与工作区。

MCP 管理

  • 聚合展示各客户端配置的 MCP server,详情抽屉提供可编辑的 JSON 配置。
  • 支持 MCP server 的新增、编辑、删除,改动直接写回来源配置文件;敏感值自动掩码,未改动的密钥保存时自动保真。
  • 扩展扫描来源,覆盖主流客户端。

Assets 资源库

  • 递归扫描生成产物目录,按类型聚合为图库展示。
  • 详情抽屉支持图片/音视频预览与本地打开、删除,并支持按时间排序。

Config 配置档案

  • 完整呈现本地 config.json 配置面,支持默认模型等设置的编辑、激活与删除,密钥掩码保护。

账号与登录

  • 顶部账号组件集成控制台登录,登录二维码与会话链接收纳到账号弹层,登录后同步凭据与头像。

导航与整体体验

  • 侧边栏改为可折叠的分组导航(图标 + 分组标题,折叠态图标栏,状态持久化)。
  • 统一响应式布局、卡片样式与分页,全站英文 UI。

inhai added 2 commits July 21, 2026 21:54
…d model catalog

- Add Skills / MCP / Agents / Assets inventory views with click-to-open
  right-side detail drawers (reusable infoDrawer)
- Render SKILL.md as Markdown via a self-contained, XSS-safe inline renderer
  (HTML-escape first, strip YAML frontmatter, no external deps)
- Add local vs remote origin badges to Skills and MCP items
- Add quick-launch for coding agents (allowlisted id->binary, execFile, no
  shell); gate the button on Connected AND the CLI binary being on PATH
- Add per-category model catalog surfaced as click-to-fill suggestion chips
  under each default_*_model field, sourced from real bl pipeline model names
- Add assets browser (categorized, time-sorted) with preview, open-locally
  and delete, backed by path-traversal-guarded file serving
- Convert Profiles to a tile grid with an add-tile and design-consistent
  new-profile modal; make view headers sticky and use drawers for editing
- Tests for inventory, agent-launch, assets and config-ui endpoints
- MCP: editable JSON config in the detail drawer with secret masking and
  mask-preserving writes; create/update/delete across claude-code, qwen-code,
  opencode, cursor, windsurf, gemini, qoderwork, openclaw and Claude Desktop
- Skills: upload a .zip and install into any agent's skills root (self-contained
  ZIP reader, zip-slip safe); scan more roots (openclaw workspace, qoderwork,
  windsurf/codeium, gemini antigravity, workbuddy)
- Markdown: GFM table rendering in the skill detail drawer
- Layout: collapsible grouped sidebar with icons + persistent state, responsive
  breakpoint, wider main, single-line tile titles, 2-line description clamp,
  round icon run buttons, custom file picker, modal spacing
- Server: /api/mcp POST/DELETE, /api/skill/install, binary upload reader,
  constant-time token compare, CSP/no-store headers, error logging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant