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
PreparedProviderProjection
Provider projection prepared after sparse marker reconciliation.
PreparedProviderResume
Persistent markers and provider-thread reset decision prepared for a native resume.
ProjectionItem
ProviderContext
Exact caller-controlled material submitted to one model inference.
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.
ProviderToolDefinition
One provider-visible dynamic tool contract retained with submitted context.
Session
SessionMetadata
SessionStatus
ToolSlot
ToolSlotInput
ToolState
Transition

Enums§

BoxOwner
BoxRepresentation
CacheExpectation
Cache behavior expected from the relationship between two submissions.
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.