0.2.0
Licences and the Personal Center
Agents now join the studio by claiming a licence. The licence type decides whether the machine belongs to a person or to the lab.
Licences replace the browser-confirm onboarding. A machine now joins the studio by claiming a licence, and the licence's type decides who owns the machine.
Added
- Licences β one-shot tickets that authorise exactly one agent registration. Each licence
carries a type (
personalorlab), a status (pending,consumed,revokedorexpired), an optional label and location, and an optional expiry date. - Personal licences β every signed-in person issues their own from the Personal Center. The code is shown once, at issue.
- Lab licences β administrators issue them from Admin β Licences for the shared benches.
- The Personal Center β the licences you issued and the machines they registered, in one place.
- Ownership by licence type β a machine registered with a personal licence belongs to that person and appears under My Computer; a machine registered with a lab licence belongs to the lab. Where the machine physically sits makes no difference.
- Licence preview β the agent's own page asks the studio what kind of licence a code is before anything is registered, so the operator sees the outcome first.
- In-place re-registration β an agent that comes back with its own
agentIdandagentSecretis updated rather than duplicated, keeping its identity and its place in the pool. - Licence endpoints β
GET /api/licenses,POST /api/licenses,POST /api/licenses/{id}/revokeandDELETE /api/licenses/{id}.
Changed
- Registration β
POST /api/agent/registernow takes acodeand answers withlicenseType,scopeandownerUserId. Presenting a code that was already spent is refused withused. - The agent's own page β the registration form asks for the studio URL, the agent name and the licence code, with a Check licence action that previews the outcome.