Package dyntabs.ai.activity


package dyntabs.ai.activity
  • Class
    Description
    A reusable, lazily-evaluated description of "the recent activity to feed the assistant" — bind it to a ActivityStore once, say which session/tab and how far back to look, then call ActivityContext.render() at each AI call to get fresh prompt text reflecting the latest activity.
    Fluent builder for ActivityContext.
    An immutable description of which slice of the activity timeline you want back from an ActivityStore — a small set of filters (session, tab, age, category) plus a cap on how many of the most recent matches to return.
    Fluent builder for ActivityQuery.
    The single application-facing entry point for writing to the ambient activity timeline — a thin facade over the ActivityStore that stamps each event with the current session and tab, so callers never have to figure out "where am I" themselves.
    Turns a slice of the activity timeline into the plain text that gets injected into an AI prompt — the bridge between structured UserActivityEvents and the words the model actually reads.
    Holder for the stateless default renderer.
    The pluggable storage backend for the Ambient Activity timeline — a tiny SPI with two jobs: write an event as it happens, and read a filtered slice back when the assistant needs context.
    Marks a business method (or a whole bean) whose invocation should be recorded onto the ambient activity timeline — the declarative way to feed the assistant's working memory without writing any capture code by hand.
    The interceptor that turns an ActivityTracked method call into a recorded UserActivityEvent — the runtime engine behind the declarative annotation.
    An immutable, lightweight pointer to one business entity the user just touched — not the entity itself, just enough to name it: a type (e.g.
    The default ActivityStore: a process-local, bounded, per-session ring-buffer that keeps only the most recent slice of activity and forgets everything when the process stops.
    One immutable "the user just did something meaningful" entry in the Ambient Activity timeline — the UI → AI counterpart to EasyAIEvent (which is AI → UI).
    Fluent builder for UserActivityEvent.
    The coarse category of a user act.