Skip to content

v0.24.0

Latest

Choose a tag to compare

@gimalay gimalay released this 09 Sep 03:51

You can now scope a query to a folder. $startsWith on $key selects every
document whose key begins with a prefix — --filter '$key: { $startsWith: notes/ }'
on the CLI, the same shape in the iwe_query MCP tool — so searches and
retrievals can be pointed at one part of the store instead of all of it. The
prefix is matched as plain text, so write the trailing / when you mean the
directory alone.

iwe

Added

  • --filter '$key: { $startsWith: notes/ }' selects documents by key prefix. The prefix is a case-sensitive string, not a path segment, so notes also matches the hub note notes and a sibling directory like notes-archive/; write the trailing separator to mean the directory alone.

iwec

Added

  • iwe_query accepts $startsWith on $key{ $key: { $startsWith: notes/ } } selects documents by key prefix.
Library crates (liwe, diwe)

liwe

Added

  • KeyOp::StartsWith$key: { $startsWith: notes/ } matches documents whose key begins with the given prefix. The operand is normalized as a key, so a trailing .md / .dj is stripped, and the test is a case-sensitive string prefix rather than a path-segment match. An empty prefix is a parse error.

Fixed

  • A malformed $key expression now reports the operators it accepts instead of the tautological "$key predicates are not allowed inside $key".