Skip to main content

Module chatend

Module chatend 

Source
Expand description

Kennedy’s reconstructed, provider-independent durable session context.

This module owns Kennedy’s box model, context projection, context representations, token policy, and replay rules. Durable session history is owned by the separate kcode-session-log package.

Structs§

BoxContent
BoxId
BoxState
CanonicalRevision
Chatend
ContextProjection
Event
EventId
ObjectLocation
ObjectMetadata
PendingId
ProjectionItem
Session
SessionMetadata
ToolSlot
ToolSlotInput
ToolState
Transition

Enums§

BoxOwner
BoxRepresentation
EventKind
PendingKind
Representation
SessionKind

Constants§

ESTIMATED_CHARACTERS_PER_TOKEN
FORMAT_VERSION
MAX_OBJECT_BYTES

Functions§

estimate_tokens