Skip to content

feat(gateway): add memory.search operator method - #115346

Merged
steipete merged 5 commits into
mainfrom
steipete/memory-search-rpc-96a7bc
Jul 28, 2026
Merged

steipete merged 5 commits into
mainfrom
steipete/memory-search-rpc-96a7bc

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Control UI Memories tab needs an operator-scoped read RPC to search the memory index. Agents already have memory_search, and the CLI can search the index, but operators had no gateway method for this workflow.

Why This Change Was Made

This is part of the Memory settings destination-page program. It follows the existing wiki.search and sessions.search precedent for domain-specific gateway search methods while keeping the operation read-only and validating any supplied agent ID against configured agents.

User Impact

There is no user-visible change yet. This enables the upcoming Memories browse tab to search indexed memory through an operator-scoped gateway API.

Evidence

Focused gateway proof after rebasing onto current origin/main:

Test Files  3 passed (3)
Tests       33 passed (33)
[test] passed 1 Vitest shard in 15.86s

The method is registered as operator.read. It supports FTS-only search without requiring an embedding provider.

@steipete
steipete marked this pull request as ready for review July 28, 2026 17:59
@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: M maintainer Maintainer-authored PR labels Jul 28, 2026
@openclaw-barnacle openclaw-barnacle Bot added the app: android App: android label Jul 28, 2026
@steipete
steipete merged commit 5e3a8e3 into main Jul 28, 2026
124 checks passed
@steipete
steipete deleted the steipete/memory-search-rpc-96a7bc branch July 28, 2026 18:40
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit to christian-lallo/openclaw that referenced this pull request Jul 28, 2026
* origin/main: (61 commits)
  perf(ui): debounce event-driven session list refreshes and right-size child paging (openclaw#115374)
  feat(talk): support GPT-Live realtime voice over ChatGPT OAuth (openclaw#115226)
  feat(system-agent): guide gateway configuration in Ask OpenClaw (openclaw#115363)
  fix(agents): make overflow recovery append-only via branch-and-reappend (openclaw#115271) (openclaw#115310)
  fix(macos): bound websocket ping so a dropped pong cannot orphan its continuation (openclaw#115362)
  fix(codex): isolate native hook relay startup (openclaw#115078)
  fix(ci): stop reviving superseded pull request workflows (openclaw#115378)
  feat(openshell): add workspace selection (openclaw#114952)
  fix(skills): persist workshop apply reason; correct Skill Workshop docs (openclaw#114471)
  fix: agent stops replying when a session transcript has no header row (openclaw#115080)
  perf(usage): stale-while-revalidate caches for usage.status and sessions.usage (openclaw#115369)
  fix(discord): reject invalid UTF-8 probe responses (openclaw#111734)
  feat(gateway): add memory.search operator method (openclaw#115346)
  fix(android): keep welcome action reachable with large text (openclaw#111747)
  fix(gateway): validate doctor memory agent ids (openclaw#115365)
  refactor: harden shell completion and shard Control UI E2E (openclaw#115332)
  fix(ui): anchor the thread branches menu to its trigger button (openclaw#115352)
  perf(sessions): incremental snapshot revalidation and shallow list projections (openclaw#115359)
  refactor(sessions): consolidate entry state (openclaw#115299)
  feat(ui): swap three plain Lobsterdex palettes for balloon, ascii, and portal (openclaw#115308)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 29, 2026
* feat(gateway): add memory.search operator method

* fix(gateway): validate memory.search agentId against configured agents

* test(gateway): keep memory.search handler tests core-only

* chore(protocol): regenerate android method registry for memory.search

* test(gateway): type memory.search stub results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: android App: android gateway Gateway runtime maintainer Maintainer-authored PR size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant