Skip to content

docs(patrol): 2026-06-25 文档维护 #786

Description

@hotplex-ai

文档巡逻 2026-06-25

变更窗口:自上次基线 a42de781#775)以来 3 个提交(#781 / #779 / #784)。后端仅 2 个 Go 文件契约变更;#781 文档巡逻时序最早,未覆盖其后 #779/#784 引入的契约。

修复内容(reference/admin-api.md

  • PATCH /api/workspaces/{id} body 语义:补充 worker_preference 指针三态(省略=不更新 / 空串=清除回默认 / 非空=设置,校验失败 400 INVALID_WORKER_TYPE),与 nameagent_config_overrides 的「空串=不更新」显式区分;work_dir 不可变整合说明。来源 #779 review P2 闭环(string→*string)。
  • GET /api/admin/invitations:补充响应字段 is_expired(服务器计算:邀请码未被使用且已过期,规避客户端时钟漂移)。来源 #784

说明

cron 模板指定的 fork aaronw1989/hotplex-1 推送认证已失效(其 token 对该仓库仅只读,REST 404),改用 hotplex-ai/hotplex fork 作为 PR head,流程不变。

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDocs: README, examples, API reference

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions