feat: add created_by and last_updated_by user tracking to Entity (#602)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jope-bm
2026-02-23 11:20:59 -07:00
committed by GitHub
parent 0f3889fdd0
commit da4d369c32
6 changed files with 279 additions and 0 deletions
+4
View File
@@ -139,6 +139,10 @@ class EntityResponseV2(BaseModel):
created_at: datetime = Field(..., description="Creation timestamp")
updated_at: datetime = Field(..., description="Last update timestamp")
# User tracking (cloud only, null for local/CLI usage)
created_by: Optional[str] = Field(None, description="User profile ID of creator")
last_updated_by: Optional[str] = Field(None, description="User profile ID of last editor")
# V2-specific metadata
api_version: Literal["v2"] = Field(
default="v2", description="API version (always 'v2' for this response)"