Jeden/Docs

CLI command

jeden search-sessions

Search durable session event payloads for a case-insensitive text fragment.

Exact invocation#

Shell
jeden search-sessions "query" [limit]

Inputs and options#

  • Required: a non-empty query as the first positional value.
  • Optional: a numeric session scan limit as the second positional value.

Output and state effect#

Scans newest session directories first and prints at most one tab-separated matching event row per scanned session: id, timestamp, event type, and whitespace-collapsed event JSON. It does not mutate sessions.

Refusals and boundaries#

  • Missing and blank queries are refused as search-sessions requires a query and search-sessions requires a non-empty query.
  • An unreadable matching session is reported as cannot search session ...; a non-numeric limit is ignored.