Skip to content

NotifyInput

Defined in: src/push.ts:48

A notification described by intent, not text — localized per device at send time.

optional ciState?: ChecksState

Defined in: src/push.ts:69

For kind “ci”: the new rollup state, selecting the body copy.


optional cooldownKey?: string

Defined in: src/push.ts:91

Overrides the cooldown key (default ${kind}:${sessionId}).


optional creditCap?: number

Defined in: src/push.ts:85

For kind “extra_credits”: the extra-credit cap for this window.


optional creditSpent?: number

Defined in: src/push.ts:83

For kind “extra_credits”: paid extra-credit overage spent this window.


optional currency?: string

Defined in: src/push.ts:87

For kind “extra_credits”: currency symbol/prefix for the amounts.


optional decision?: "changes_requested" | "commented"

Defined in: src/push.ts:67

For kind “review”: which critic verdict, selecting the body copy.


optional desig?: 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


optional mergeState?: "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


optional pct?: number

Defined in: src/push.ts:79

For kind “usage_limit”: percent of the 5-hour window already used.


optional reason?: BlockReason

Defined in: src/push.ts:65


optional resetAt?: number

Defined in: src/push.ts:81

For kind “usage_limit”: epoch ms when the window resets.


optional retiredCount?: number

Defined in: src/push.ts:89

For kind “learnings_retired”: how many rules the auto-retire sweep retired.


optional reviewState?: "changes_requested" | "commented" | "approved"

Defined in: src/push.ts:71

For kind “review-human”: the human review state, selecting the body copy.


sessionId: string

Defined in: src/push.ts:62


optional summary?: 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