Files
deta-agent-plugins/plugins/studio/.codex-plugin/plugin.json
T
ringo ef6a174255
CI / contract (push) Has been cancelled
fix(launcher): 注入 ANT_WORKSPACE_BRIDGE_URL(云项目写入前置),studio 0.3.8
缺该 env 时 build_model 无法写云项目、退回只写本地工作区(用户以为已同步)。启动器改为:显式 env → 本机 127.0.0.1:3180 探测(dev 网关)→ 生产 https://deta.city/workspace-api,并把解析结果打进启动行(网关桥=…)便于排查。

陷阱:探测写成 (exec 3<>/dev/tcp/...) 后不要紧跟 exec 3<&- —— 父 shell 无该 fd 时在 set -e 下会直接退出脚本(症状:启动行只剩一行提示、MCP 不启)。
2026-09-20 14:12:50 +08:00

40 lines
1.3 KiB
JSON

{
"name": "studio",
"version": "0.3.8",
"description": "DETA Studio 插件:以 AML 为唯一事实源编辑建筑模型,编译为建筑模型并执行规则校验。",
"author": {
"name": "DETA",
"url": "https://deta.city"
},
"homepage": "https://deta.city",
"license": "Proprietary",
"keywords": [
"architecture",
"aml",
"building-performance",
"energy",
"bim",
"design"
],
"skills": "./skills/",
"interface": {
"displayName": "DETA Studio",
"shortDescription": "AML 建筑模型读写、编译与校验",
"longDescription": "在编码代理中直接操作建筑模型:读取与编辑 AML 设计源码,经编译器编译为建筑模型,执行语法与规则校验、围护结构统计与空间邻接查询。AML 是建筑语义的唯一事实源,所有几何编辑均落到 AML 文本。",
"developerName": "DETA",
"category": "Education & Research",
"capabilities": [
"Interactive",
"Read",
"Write"
],
"brandColor": "#2F6F4E",
"websiteURL": "https://deta.city",
"defaultPrompt": [
"读取当前 AML 设计源码并说明建筑构成。",
"在 AML 中修改指定空间的层高,然后重新编译校验。",
"统计当前模型的围护结构面积与外窗面积。"
]
}
}