Documentation
¶
Overview ¶
Package notification defines the agent-independent delivery boundary. Validation/policy loading, origin mapping and durable admission belong to callers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deadline ¶
Deadline is captured at transport admission, before validation or locks. Seconds are boot-continuous seconds including suspend, not Unix wall time.
type DesktopTarget ¶
type DesktopTarget struct {
Provider string
Linux LinuxBinding
ThreadID string
ApplicationPath string
TeamID string
}
DesktopTarget is supplied by a trusted integration and setup adapter, never decoded from model arguments. App identity is operator-pinned, not inferred from cwd, metadata text, or whichever app happens to be foreground.
type LinuxBinding ¶ added in v1.48.2
type LinuxBinding struct {
SnapshotPath string `json:"snapshotPath"`
SHA256 string `json:"sha256"`
}
LinuxBinding selects one immutable installed callback snapshot. Empty means unavailable.
type Navigation ¶
type Navigation string
const ( Required Navigation = "required" BestEffort Navigation = "best_effort" None Navigation = "none" )
type NavigationResult ¶
type NavigationResult struct {
}
type PolicySnapshot ¶
type PolicySnapshot struct {
Valid bool
ExplicitEnabled bool
DesktopEnabled bool
ClickToFocus bool
SoundEnabled bool
}
PolicySnapshot is a value copy of the initial strict policy decision. The delivery adapter never reloads legacy defaults or mutates caller policy.
type Readiness ¶
type Readiness struct {
CorrelationID string
Status string // ready, rejected, suppressed
Reason string
Backend string
}
Readiness is a read-only snapshot, with no retry/admission/OS acceptance claim. Only Status == "ready" permits a new journal admission. The caller captures Deadline before this call and reuses it for Deliver, without resetting it.
type ReadinessPort ¶
type Request ¶
type Request struct {
Content Content
CorrelationID string // UUID assigned by the durable admission owner
Deadline Deadline
Policy PolicySnapshot
Target DesktopTarget
Silent bool
}
Directories
¶
| Path | Synopsis |
|---|---|
|
Package observation bounds notification work with a same-boot continuous clock.
|
Package observation bounds notification work with a same-boot continuous clock. |