Skip to content

Commit e13d96a

Browse files
authored
projects: return the invite kind in GET /api/projects/{id}/invites (prerequisite for #2067, not the UI) (#2973)
* Surface pending invites in Members screen + Agents app (issue #2067) Docs-Reviewed: executor rescue commit -- the model left these edits uncommitted and wrote no commit message, so doc drift was NOT assessed by the model; the lead reviews docs at PR time. * changelog: fragment for the invite kind field added to the invite list payload
1 parent 9d7f6f0 commit e13d96a

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### Added
2+
3+
- `GET /api/projects/{id}/invites` now returns each invite's `kind` (`agent` or `collab`), so the Members and Agents screens can badge pending invites by type

‎tinyagentos/routes/project_invites.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@ async def list_invites(
737737
"status": i["status"],
738738
"expires_ts": i["expires_ts"],
739739
"redeemed_by": i.get("redeemed_by"),
740+
"kind": i.get("kind", "agent"),
740741
}
741742
for i in items
742743
]

0 commit comments

Comments
 (0)