Class MemoryPage

java.lang.Object
ai.mindconnect.adminui.ui.AdminPage
ai.mindconnect.adminui.ui.page.MemoryPage

public final class MemoryPage extends AdminPage
Working-memory inspector page. Master-detail layout:
  • Master (MemoryMasterListComponent) — clickable list of the system prompt + every windowed message.
  • Detail (MemoryDetailSectionComponent) — Raw / LLM View tabs for the selected entry. The first render selects the system prompt; subsequent row clicks issue a patch that replaces just the detail pane.

The "Compress" header action POSTs to the compression endpoint; the controller re-renders the whole page with the post-compression snapshot, so the operator immediately sees the smaller window.

  • Constructor Summary

    Constructors
    Constructor
    Description
    MemoryPage(ai.mindconnect.agent.domain.AgentSession session, ai.mindconnect.agent.domain.AgentDefinition agent, ai.mindconnect.agent.memory.domain.WorkingMemory memory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ai.mindconnect.ui.model.UiPage
    Render the full page (initial GET, after navigation).
    ai.mindconnect.ui.model.UiPatch
    selectEntry(int seq)
    Patch for clicking a master-list row — replaces just the detail pane with the selected entry's content.

    Methods inherited from class ai.mindconnect.adminui.ui.AdminPage

    patch

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MemoryPage

      public MemoryPage(ai.mindconnect.agent.domain.AgentSession session, ai.mindconnect.agent.domain.AgentDefinition agent, ai.mindconnect.agent.memory.domain.WorkingMemory memory)
  • Method Details

    • render

      public ai.mindconnect.ui.model.UiPage render()
      Description copied from class: AdminPage
      Render the full page (initial GET, after navigation).
      Specified by:
      render in class AdminPage
    • selectEntry

      public ai.mindconnect.ui.model.UiPatch selectEntry(int seq)
      Patch for clicking a master-list row — replaces just the detail pane with the selected entry's content. seq == MemoryMasterListComponent.SYS_PROMPT_SEQ renders the system prompt.