Merge remote-tracking branch 'origin/polecat/Slit'

This commit is contained in:
Steve Yegge
2025-12-19 01:26:59 -08:00
4 changed files with 282 additions and 0 deletions

View File

@@ -103,6 +103,8 @@ type UpdateArgs struct {
RelatesTo *string `json:"relates_to,omitempty"` // JSON array of related issue IDs
DuplicateOf *string `json:"duplicate_of,omitempty"` // Canonical issue ID if duplicate
SupersededBy *string `json:"superseded_by,omitempty"` // Replacement issue ID if obsolete
// Pinned field (bd-iea)
Pinned *bool `json:"pinned,omitempty"` // If true, issue is a persistent context marker
}
// CloseArgs represents arguments for the close operation

View File

@@ -97,6 +97,10 @@ func updatesFromArgs(a UpdateArgs) map[string]interface{} {
if a.SupersededBy != nil {
u["superseded_by"] = *a.SupersededBy
}
// Pinned field (bd-iea)
if a.Pinned != nil {
u["pinned"] = *a.Pinned
}
return u
}