Feat/config UI enhancements (本地配置管理面板能力增强) - #118
Open
iinhai wants to merge 4 commits into
Open
Conversation
…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
…ui-enhancements # Conflicts: # packages/commands/tests/config-ui.test.ts
- 统一代码格式,增加多处代码块的换行和缩进保持一致 - 调整技能安装目标列表的格式,提升可读性 - 修复解压缩逻辑中异常抛出格式,增强异常信息规范 - 优化归一化文件名过滤条件表达式格式 - 修改配置文件检测逻辑,兼容环境变量和旧版配置方案 - 增强对 Bailian 相关模型提供者的检测逻辑支持 - 规范代理详情字段生成方法的代码风格 - 调整 MCP 写回相关函数的格式,提升可维护性 - 改进技能和代理详情函数参数格式,统一参数拆分显示 - 修复单元测试中路径和 JSON 写入格式,增加不同配置场景测试覆盖 - 确保软链接技能目录被正确识别为安装来源 - 增加多代理配置文件和技能安装的检测测试用例,提升测试精准度
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(config-ui): 本地配置管理面板能力增强
概述
将
bl config ui从配置档案查看扩展为一体化的本地管理面板,新增 Quick Start 引导、Playground 场景调度、本地 Agent 一键启动,以及 Skills、MCP、Agents、Assets 的聚合展示与管理能力。新增功能
Quick Start 首次引导
Playground 场景调度
bl config ui的启动目录。本地 Agent 一键启动
Skills 管理
.zip技能包一键安装到指定客户端 skills 目录的能力。MCP 管理
Assets 资源库
Config 配置档案
config.json配置面,支持默认模型等设置的编辑、激活与删除,密钥掩码保护。账号与登录
导航与整体体验