Files
deta-agent-plugins/plugins/writer/.codex-plugin/plugin.json
T
ringo 5778962ba5
CI / contract (push) Has been cancelled
fix(plugin): 产品档位改读插件清单,修缓存布局下把版本号当产品名
症状(实测):宿主缓存布局是 <市场>/<插件>/<版本>/,deta-cli 原先用「自身目录名的上一级」推断产品名,于是 status 显示工作区 ~/.deta/0.3.3/workspace,doctor 会以 --profile 0.3.3 拉起服务并真的创建该目录。

修复:detectProfile 优先读 .codex-plugin/plugin.json 的 name(开发态与缓存态都对),DETA_PROFILE 仍可覆盖,清单不可读才回落目录名。studio 0.3.4 / writer 0.1.2。

验证:重装 0.3.4 后 status 显示 /Users/ringo/.deta/studio/workspace,doctor 以 --profile studio 握手成功 37 工具。
2026-09-20 12:13:10 +08:00

38 lines
1.3 KiB
JSON

{
"name": "writer",
"version": "0.1.2",
"description": "DETA Writer 插件:读取建筑模型与模拟结果,产出报告 / 文档内容。",
"author": {
"name": "DETA",
"url": "https://deta.city"
},
"homepage": "https://deta.city",
"license": "Proprietary",
"keywords": [
"architecture",
"report",
"document",
"building-performance",
"energy"
],
"skills": "./skills/",
"interface": {
"displayName": "DETA Writer",
"shortDescription": "建筑性能报告与文档产出",
"longDescription": "在编码代理中为建筑项目产出报告内容:读取 AML 设计源码与编译产物,取围护结构统计、能耗与舒适度分析、模拟结果缓存与规范指标,整理成报告初稿并落盘。报告模板插槽与 docx 导出由门户 Writer 负责,本插件只提供数据与文本。",
"developerName": "DETA",
"category": "Productivity",
"capabilities": [
"Interactive",
"Read",
"Write"
],
"brandColor": "#2F6F4E",
"websiteURL": "https://deta.city",
"defaultPrompt": [
"读取当前项目的建筑模型,列出可用于报告的关键指标。",
"把本项目的围护结构与能耗结果整理成报告初稿,缺失数据如实标注。"
]
}
}