CI / contract (push) Has been cancelled
为什么需要:登录助手原先只在插件目录里(宿主缓存路径 <缓存>/bin/deta-login.mjs),普通用户不知道插件装在哪;工具回执让用户「跑登录助手」时给不出可复制的命令。 实现:新增 bin/deta-cli.mjs(login 转交登录助手、status 看凭据来源/运行时/工作区、doctor 自检运行时+凭据+GSA health+MCP 握手,永不打印令牌);启动器每次拉起时幂等注册 ~/.deta/bin/deta(路径随插件更新自动刷新,幂等比较避免重复写);技能与三份 README 的登录口径统一为 \`~/.deta/bin/deta login\`。版本 studio 0.3.3 / writer 0.1.1。 实测:shim 生成与 help/status/doctor 均符合预期,doctor 准确报出唯一缺口(未登录)并握手成功 37 工具。
38 lines
1.3 KiB
JSON
38 lines
1.3 KiB
JSON
{
|
|
"name": "writer",
|
|
"version": "0.1.1",
|
|
"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": [
|
|
"读取当前项目的建筑模型,列出可用于报告的关键指标。",
|
|
"把本项目的围护结构与能耗结果整理成报告初稿,缺失数据如实标注。"
|
|
]
|
|
}
|
|
}
|