Documentation
¶
Overview ¶
Package windowscallback owns the retained Windows callback contract. It does not install a generation or qualify a route for notification delivery.
Index ¶
- Constants
- Variables
- func ActivationArgument(reference string) (string, error)
- func EncodeRecord(r Record) ([]byte, error)
- func EncodeSnapshot(s Snapshot) ([]byte, error)
- func ThreadURI(id string) (string, error)
- func TrustedAsset() ([]byte, string, error)
- type Binding
- type NativePort
- type Outcome
- type Port
- type Record
- type Result
- type Snapshot
Constants ¶
const ( ReaderVersion uint16 = 1 MaxEnvelope = 64 * 1024 VendorName = "OpenAI.Codex" VendorPublisher = "CN=50BDFD77-8903-4850-9FFE-6E8522F64D5B" VendorFamily = "OpenAI.Codex_2p2nqsd0c76g0" )
Variables ¶
var ErrEnvelope = errors.New("invalid WinEnvelope1")
Functions ¶
func ActivationArgument ¶
func EncodeRecord ¶
func EncodeSnapshot ¶
func ThreadURI ¶
ThreadURI escapes UTF-8 bytes, including percent, slash, query and fragment. Existing percent sequences are opaque input, never decoded or trusted.
func TrustedAsset ¶
TrustedAsset is a defensive copy of bytes generated by the release build. No caller-supplied hash, PATH lookup or runtime download can supply provenance.
Types ¶
type NativePort ¶
type Port ¶
type Port struct {
// contains filtered or unexported fields
}
Port is intentionally inert until checkpoint B installs and qualifies the actual custody/readiness/submission contract. Even present release bytes do not enable this adapter. Construction and calls perform no native probes.
func NewPort ¶
func NewPort() Port
NewPort captures release bytes without inspecting them or any installed state. The Windows session retains this value as the future explicit setup seam.
func (Port) CheckReadiness ¶
type Record ¶
type Record struct {
Generation, Reference, Provider, ThreadID, SnapshotSHA256 string
}