Repository navigation
feat: 每个机器人独立的只读资源与排队网页 - #6
Merged
Merged
Conversation
9 tasks done
2 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
群成员和 Agent 可以取得当前机器人的只读资源与排队链接,直接查看占用人、Agent、用途、预约顺序、预约时长和预计等待时间。管理后台复用同一列表;队列默认显示,支持搜索、筛选和手机布局,替换资源较多时难以阅读的卡片墙。
链接由普通群查询或现有
/api/agent/context返回,首次获取后固定有效 24 小时,过期后的下一次授权获取才换码。每次状态读取均验证 bot 范围和到期时间;没有匿名目录,也不能用查看码执行个人、OP 或后台操作。验证码保留在 URL fragment,普通刷新和转发可继续使用。context 只增加可选字段,API 主版本保持 1。数据库只新增每 bot 当前查看窗口表;原有锁、队列、个人 key、OP key 和操作路径不变。设计说明与虚构数据截图见 resource-view.md。
验证:
Closes #5