admin
|
8ad1db33f7
|
feat(editor): add markdown presets, heading folding and external file refresh
|
2026-09-06 12:57:09 +08:00 |
|
admin
|
415efc4444
|
feat(editor): add themed callouts and desktop command boundary
|
2026-09-06 11:33:19 +08:00 |
|
admin
|
7001794a22
|
fix(phase2): restore agent streams and persist extension installations
|
2026-09-06 02:21:27 +08:00 |
|
admin
|
6107b7ff1b
|
fix(editor): handle paired inline code input and complete markdown rendering
|
2026-09-05 23:14:19 +08:00 |
|
admin
|
8d626ee16b
|
feat: 完善模型用量趋势与全局手账卡片并补齐阶段验收
|
2026-09-05 20:40:36 +08:00 |
|
admin
|
0f08cd051b
|
fix(frontend): 同步 main 并修复 phase2 关闭审阅意见
|
2026-09-05 17:32:34 +08:00 |
|
admin
|
08fd62e7c5
|
fix(editor): 支持完整 Shiki 语言并修复语言标识与图标展示
|
2026-09-05 17:16:09 +08:00 |
|
admin
|
ed37099ba1
|
fix(editor): 修复语言菜单裁剪并接入 GitHub Shiki 配色
|
2026-09-05 16:52:18 +08:00 |
|
saint
|
639f38c1fc
|
feat(frontend): 第二阶段前端 Agent Trace / 主题包 / Mermaid 能力
实现第二阶段分工表中吉海燕负责的 P0/P1 前端能力。
- Agent Trace 可视化:新增 traceService 将扁平事件流折叠为树
(ModelCallStarted 区间内的工具/文本事件挂为子节点,运行级事件保持顶层),
TraceTimeline 支持时间线/树两种视图、耗时统计与引用跳转。
- 主题包:新增 themePackageService(Web Mock Adapter),
校验 manifest 必填字段与 theme_id 格式,拒绝远程 css_entry;
CSS 侧拒绝 @import / expression() / javascript:,
未通过校验的 CSS 不会注入页面。内置主题走 data-theme=light|dark|sepia,
自定义主题走 data-theme={theme_id} + 独立 style 节点。
ThemesView 增加“已安装/社区主题”两个标签页与导入、预览、卸载流程。
- Mermaid:新增 mermaidService(securityLevel: strict)与 MermaidBlock,
markdown 渲染管线识别 mermaid 代码块;MarkdownContent 随亮/暗主题重渲染
(SVG 配色在渲染时烘焙,无法靠 CSS 变量事后调整)。
- 插件贡献 UI:PluginsView 增加“概览/命令/设置”标签页,
PluginSettingsPanel 按 Schema 动态生成表单;
secret 字段只写不读,仅展示 configured 状态,不进 store 也不回显。
与 main 上队友成果的整合(rebase 时处理):
- 命令面板保留队友基于真实后端的实现(when 条件求值、效果白名单、
参数命令跳详情页),仅叠加我新增的主题/任务两条内置命令。
- 删除我先前的 pluginContributionService(mock 版),
统一改用队友已落地的 pluginService 真实接口;
相应修正表单以匹配真实契约(options 为 string[]、min/max 可空、无 placeholder)。
- 移除 contracts 中与队友重复的 PluginHostStatus / PluginCommand /
PluginSettingField / PluginSettingsSchema 声明,以队友版本为准。
- PluginsView 概览页保留队友的 PluginMcpPanel,并补回被我改写时丢掉的空状态。
顺带修复:
- 开启 skipLibCheck —— mermaid 11.17 把 type-fest 泄漏进了发布产物的
.d.ts,但只声明为自身 devDependency,vue-tsc -b 会因此报错。
验证:pnpm test 26 文件 / 113 测试通过(新增 traceService、
themePackageService 两个测试文件共 22 项);pnpm build 通过。
|
2026-09-04 21:36:47 +08:00 |
|
admin
|
49c856a69c
|
chore(frontend): 补充状态与服务边界注释
|
2026-08-30 22:59:58 +08:00 |
|
admin
|
c5193626a5
|
feat(frontend): 引入可视化Markdown写作与Shiki高亮
|
2026-08-30 09:57:22 +08:00 |
|
admin
|
5aa0026bb9
|
fix(frontend): 完善Markdown与Chat事件渲染
|
2026-08-29 23:59:01 +08:00 |
|