mothieras
mothieras
Thanks for the review. Three things: **1. `getAgentDir()` / `PI_CODING_AGENT_DIR` (the substantive one).** Correct — this resolver uses `home + getConfigAgentDirName()` and so doesn't honor `PI_CODING_AGENT_DIR`. That was deliberate, to...
建议收窄标题和诉求 你贴出的日志样例确实能确认页面令牌会进入反代访问日志。我对照了报告版本 `f926af99e` 的源码,补充两点现象边界: 1. **令牌不只在 query 里,路径里也有**:插件视图运行在受限 iframe 中,静态资源标签无法自行设置 `Authorization` 请求头。这一版本已经采用 `/_t//` 路径令牌来让相对资源自然继承鉴权,入口 URL 末尾的 `?asset_token=` 则是为兼容读取 `location.search` 的旧视图脚本保留的回显。所以反代侧如果做日志脱敏,路径和 query 都需要覆盖。 [路径令牌](https://github.com/AstrBotDevs/AstrBot/blob/f926af99ec5f8bd85b64413f8bfad55da76ef73b/astrbot/dashboard/services/plugin_page_service.py#L548-L570) · [兼容参数](https://github.com/AstrBotDevs/AstrBot/blob/f926af99ec5f8bd85b64413f8bfad55da76ef73b/astrbot/dashboard/services/plugin_page_service.py#L657-L668) 2. **关于 Referer 外泄**:同一版本的视图响应已经设置了 `Referrer-Policy:...