exportrequest

package
v0.1.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package exportrequest carries trusted export-operation identity outside the model-visible tool arguments.

Index

Constants

View Source
const Header = "X-Agently-Export-Request-ID"

Variables

This section is empty.

Functions

func ID

func ID(ctx context.Context) string

ID returns the trusted export-operation ID, if one was injected by the runtime or host boundary.

func NewID

func NewID() string

NewID allocates one trusted host/runtime operation ID.

func WithID

func WithID(ctx context.Context, id string) context.Context

WithID binds one trusted transport operation ID to ctx. Callers must reuse the same ID when retrying the same submission and allocate a new ID for a new user command or click.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL