Skip to main content

Module chatend

Module chatend 

Source
Expand description

Provider-independent Chatend state and durable session API.

This re-export preserves the original kcode_session_history::chatend boundary while kcode-chatend owns its cohesive implementation.

Structs§

BoxContent
BoxId
BoxState
CanonicalRevision
Chatend
ContextProjection
Event
EventId
ObjectLocation
ObjectMetadata
PendingId
ProjectionItem
ProviderCostEstimate
One compatibility price returned by the application-owned provider catalog.
ProviderCostSummary
Read-time cost fields reconstructed from one immutable session archive.
ProviderTokenUsage
Provider token dimensions retained by historical Chatend receipts.
Session
SessionMetadata
SessionStatus
ToolSlot
ToolSlotInput
ToolState
Transition

Enums§

BoxOwner
BoxRepresentation
EventKind
PendingKind
ProviderMetering
Provider metering that can be reconstructed without changing durable history.
Representation
SessionKind

Constants§

ESTIMATED_BYTES_PER_TOKEN
FORMAT_VERSION
MAX_OBJECT_BYTES

Functions§

estimate_tokens

Type Aliases§

ProviderCostEstimator
Application callback used only for legacy receipts that did not store a cost.