Package at.aimon.session.web
package at.aimon.session.web
Web-facing agent session manager primitives.
This package hosts the WebAgentSessionManager interface plus its public value types
(WebSubmitRequest, WebSubmitOutcome,
LocalSessionCache). The manager wraps AgentSession
with the cross-node concerns required by a multi-instance web deployment: distributed locking, cross-node signal
fan-out, mailbox hand-off for inputs that arrive at non-holder nodes, and idempotency.
SPI interfaces and their in-memory reference implementations live in
at.aimon.session.web.spi / at.aimon.session.web.spi.inmemory. Internal bridge components live in
at.aimon.session.web.internal. The cross-node mailbox envelope lives in
at.aimon.session.web.inbox.
Design reference: docs/design/implemented/web-agent-session-manager-design.md.
-
ClassDescriptionStrategy used by
LocalSessionCacheto lazily open anAgentSession.Deployment topology declared at builder time.Per-node, per-conversation session cache backed by Caffeine.Live entry held by the cache: exposes theAgentSessionand ensures idempotent close.Multi-instance-ready agent session manager facade.Outcome ofWebAgentSessionManager.submit(WebSubmitRequest).Distinguishes the two manager-level outcomes.Immutable submit request envelope forWebAgentSessionManager.submit(WebSubmitRequest).Builder forWebSubmitRequest.