feat(plugin): 品牌图标用 deta.city logo(iconSmall/iconLarge + 契约守卫 E5),studio 0.3.12 / writer 0.1.3
CI / contract (push) Has been cancelled

plugin.json 的 interface 补 iconSmall/iconLarge = ./assets/logo.svg(与门户 favicon 同一份 brand 标),brandColor 由 #2F6F4E 改为 #333333 对齐品牌标与门店令牌色。契约校验新增 E5:图标必须是插件根内相对路径且文件存在(实测写坏能抓到)。
This commit is contained in:
ringo
2026-09-20 16:28:15 +08:00
parent d137a012c6
commit 774e27cfc8
9 changed files with 54 additions and 12 deletions
+5 -3
View File
@@ -1,6 +1,6 @@
{
"name": "writer",
"version": "0.1.2",
"version": "0.1.3",
"description": "DETA Writer 插件:读取建筑模型与模拟结果,产出报告 / 文档内容。",
"author": {
"name": "DETA",
@@ -27,11 +27,13 @@
"Read",
"Write"
],
"brandColor": "#2F6F4E",
"brandColor": "#333333",
"websiteURL": "https://deta.city",
"defaultPrompt": [
"读取当前项目的建筑模型,列出可用于报告的关键指标。",
"把本项目的围护结构与能耗结果整理成报告初稿,缺失数据如实标注。"
]
],
"iconSmall": "./assets/logo.svg",
"iconLarge": "./assets/logo.svg"
}
}