NotifyInput
Defined in: src/push.ts:48
A notification described by intent, not text — localized per device at send time.
Properties
Section titled “Properties”ciState?
Section titled “ciState?”
optionalciState?:ChecksState
Defined in: src/push.ts:69
For kind “ci”: the new rollup state, selecting the body copy.
cooldownKey?
Section titled “cooldownKey?”
optionalcooldownKey?:string
Defined in: src/push.ts:91
Overrides the cooldown key (default ${kind}:${sessionId}).
creditCap?
Section titled “creditCap?”
optionalcreditCap?:number
Defined in: src/push.ts:85
For kind “extra_credits”: the extra-credit cap for this window.
creditSpent?
Section titled “creditSpent?”
optionalcreditSpent?:number
Defined in: src/push.ts:83
For kind “extra_credits”: paid extra-credit overage spent this window.
currency?
Section titled “currency?”
optionalcurrency?:string
Defined in: src/push.ts:87
For kind “extra_credits”: currency symbol/prefix for the amounts.
decision?
Section titled “decision?”
optionaldecision?:"changes_requested"|"commented"
Defined in: src/push.ts:67
For kind “review”: which critic verdict, selecting the body copy.
desig?
Section titled “desig?”
optionaldesig?:string
Defined in: src/push.ts:77
For kind “merge_attention”: the desig of the session that needs attention.
kind:
"review"|"blocked"|"done"|"ready"|"usage_limit"|"ci"|"review-human"|"autopilot"|"autopilot-done"|"merge_attention"|"extra_credits"|"learnings_retired"
Defined in: src/push.ts:49
mergeState?
Section titled “mergeState?”
optionalmergeState?:"rebase_cap"|"merge_error"
Defined in: src/push.ts:75
For kind “merge_attention”: the automerge state (“merge_error” | “rebase_cap”).
name:
string
Defined in: src/push.ts:64
optionalpct?:number
Defined in: src/push.ts:79
For kind “usage_limit”: percent of the 5-hour window already used.
reason?
Section titled “reason?”
optionalreason?:BlockReason
Defined in: src/push.ts:65
resetAt?
Section titled “resetAt?”
optionalresetAt?:number
Defined in: src/push.ts:81
For kind “usage_limit”: epoch ms when the window resets.
retiredCount?
Section titled “retiredCount?”
optionalretiredCount?:number
Defined in: src/push.ts:89
For kind “learnings_retired”: how many rules the auto-retire sweep retired.
reviewState?
Section titled “reviewState?”
optionalreviewState?:"changes_requested"|"commented"|"approved"
Defined in: src/push.ts:71
For kind “review-human”: the human review state, selecting the body copy.
sessionId
Section titled “sessionId”sessionId:
string
Defined in: src/push.ts:62
summary?
Section titled “summary?”
optionalsummary?:string
Defined in: src/push.ts:73
For kind “autopilot”/“autopilot-done”: the classifier’s hand-back summary (verbatim).
tag:
string
Defined in: src/push.ts:63