{% extends "base.html" %} {% from "dashboard/_macros.html" import stamp, num, needs_json %} {% block title %}工具 · tuner workbench{% endblock %} {% block body %} {% set c = dash.counts or {} %}

工具

{{ stamp(dash) }}
{{ num(c.kit_commands) }}工作台通用命令
{{ num(c.workspace_tools) }}项目自建工具
{{ num(c.workspace_apps_without_tool) }}无 tool.py 的 app
{{ needs_json(dash) }} {% if section and not section.error %}

项目自建工具(apps/)

{% if section.workspace %} {% for t in section.workspace %} {% endfor %}
工具名称分组端口说明
{% if t.visibility == "workbench" and not t.error %}{{ t.id }}{% else %}{{ t.id }}{% endif %} {{ t.name }}{% if t.destructive %} 会写数据{% endif %} {{ t.group }} {{ t.port or "—" }} {% if t.error %}{{ t.error }}{% else %}{{ t.summary }}{% endif %}
{% else %}

暂无

{% endif %} {% if section.workspace_without_tool %}

没有 tool.py(只在命令行用):{{ section.workspace_without_tool|join("、") }}

{% endif %}

工作台通用命令(kit {{ section.kit_version or "?" }})

{% for t in section.kit_commands %} {% endfor %}
命令做什么工作台可运行
{{ t.command }}{{ t.summary or "—" }}{{ "是" if t.workbench else "—" }}
{% endif %} {% endblock %}