Package ai.mindconnect.adminui.ui.page
Class MemoryPage
java.lang.Object
ai.mindconnect.adminui.ui.AdminPage
ai.mindconnect.adminui.ui.page.MemoryPage
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
ConstructorsConstructorDescriptionMemoryPage(ai.mindconnect.agent.domain.AgentSession session, ai.mindconnect.agent.domain.AgentDefinition agent, ai.mindconnect.agent.memory.domain.WorkingMemory memory) -
Method Summary
Modifier and TypeMethodDescriptionai.mindconnect.ui.model.UiPagerender()Render the full page (initial GET, after navigation).ai.mindconnect.ui.model.UiPatchselectEntry(int seq) Patch for clicking a master-list row — replaces just the detail pane with the selected entry's content.
-
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:AdminPageRender the full page (initial GET, after navigation). -
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_SEQrenders the system prompt.
-