{% extends "base.html" %} {% block title %}能力总览 · 西湖生存手册{% endblock %} {% block content %}

能力总览

{% if error %}
{{ error }}
{% endif %} {% if counts %}
共 {{ counts.total }} 项能力:命令行 {{ counts.cli }} · MCP 工具 {{ counts.mcp }} · 网页 {{ counts.web }}; 其中 {{ counts.needs_auth }} 项需要凭据,其余为官网公开数据。
{% for group in groups %}

{{ group.title }}({{ group.rows | length }})

{% for row in group.rows %}
{{ row.name }} {% if row.needs_auth %} 需凭据 {% else %} 公开 {% endif %}
{{ row.summary }}
{% if row.auth_hint %}
凭据:{{ row.auth_hint }}
{% endif %} {% if row.commands %}
子命令:{% for c in row.commands %}{{ c.name }}{% if not loop.last %} · {% endif %}{% endfor %}
{% endif %} {% if row.params %}
参数:{{ row.params | join('、') }}
{% endif %} {% if row.kind == 'web' %}
打开页面 →
{% endif %}
{% endfor %}
{% endfor %}

服务普查

直连探测学校子域(绕系统代理);点击运行,几秒后出结果。

{% if api_endpoints %}

HTTP 接口({{ api_endpoints | length }})

本机只读接口;日历订阅在校历页有专门入口。样例为当前实时数据,超长已截断。

{% for item in api_endpoints %}
{{ item.title }} {{ item.path }} 打开 →
{{ item.note }}
{% endfor %}
{% endif %}

机器可读版本:/api/capabilities。 CLI 与 MCP 一一对应同一批库函数,数据源都是官网或校内系统。

{% endif %} {% endblock %}