Class MemoryDetailSectionComponent

java.lang.Object
ai.mindconnect.adminui.ui.component.MemoryDetailSectionComponent
All Implemented Interfaces:
UiComponent

public final class MemoryDetailSectionComponent extends Object implements UiComponent
Detail pane of the working-memory inspector — two tabs:
  • Raw — the underlying record JSON via the json-viewer.
  • LLM View — what the model actually sees: compressed stub if compression has run on the message, otherwise the original content. TOOL_CALL / TOOL_RESULT bodies (themselves JSON) route through the json-viewer too; everything else renders in a fenced markdown code block.

The seq parameter selects the entry. MemoryMasterListComponent.SYS_PROMPT_SEQ picks the system prompt; any other value selects the windowed message with that sequenceNum.

DOM ids stay stable across replacements so the JS tab handler keeps working after detail-pane swaps.

  • Field Details

  • Constructor Details

    • MemoryDetailSectionComponent

      public MemoryDetailSectionComponent(ai.mindconnect.agent.memory.domain.WorkingMemory memory, int seq)
  • Method Details

    • id

      public String id()
      Description copied from interface: UiComponent
      The DOM id this component renders with. Patch operations targeting this component (REPLACE / CLEAR / REMOVE) use this id, so it must match the id on the root UiNode returned by UiComponent.render().
      Specified by:
      id in interface UiComponent
    • render

      public ai.mindconnect.ui.model.UiSection render()
      Description copied from interface: UiComponent
      Full render — emit the component as a UiNode. Used both inside a page's full render and as the payload of a REPLACE patch.
      Specified by:
      render in interface UiComponent