Skip to content
This repository was archived by the owner on Jul 2, 2026. It is now read-only.

[codex] add memory list action#1

Open
shiyan521 wants to merge 1 commit into
mainfrom
codex/memory-list-action
Open

[codex] add memory list action#1
shiyan521 wants to merge 1 commit into
mainfrom
codex/memory-list-action

Conversation

@shiyan521

Copy link
Copy Markdown
Owner

What changed

  • Added a list action to the core memory tool so it can browse current entries without mutating state.
  • Updated the memory tool schema and dispatcher to expose the new action.
  • Added regression coverage for list on both memory and user targets.

Why

The memory tool previously supported add/replace/remove only. That made it awkward to inspect current entries directly from the tool API. This PR makes listing first-class and keeps the tool behavior aligned with the existing file-backed memory store.

Validation

  • python3 -m pytest /tmp/hermes-agent-pr/tests/tools/test_memory_tool.py -q -o addopts='-ra'
  • Result: 35 passed

Notes

This change is intentionally narrow: it only adds a browse/read path and does not alter persistence or mutation behavior.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant