Repository navigation
v0.14.0
Added
-
kb my-files,kb findandkb childrenaccept the filters the API has
always offered. Five of the eight shared query parameters were never wired
up:--status,--sort-by,--sort-order,--tag-idsand--role. The
absences were not cosmetic — without--statusthere was
no way to list the documents whose ingestion failed, and without--sort-by
no way to order a page at all. The closed sets are validated locally, so
--status archivednow exits 2 naming the valid values instead of spending a
round trip on a 400.--limitis checked for being a whole number of at least
1 but deliberately not capped at 50: the API documents higher values as capped
rather than rejected, and it silently read a non-numeric limit as 50. -
Search results now show the KB node ID, so a hit can be acted on. The
search endpoints returnkb_node_idalongsidecontent_id, and the CLI
surfaces it first in every rendering. It is the id the rest of the CLI takes:
kb get,kb rename,kb moveandkb deleteall address a node, and
content_idis a different id space that 404s against them.content_idis
still shown, because it is what--content-idsaccepts — the two ids answer
different questions: what to read next, and what to scope the next search to.
senso search <query>'s plain output previously labelledcontent_idas
plainID:, which is the one id that does not work with anykbcommand.
Fixed
-
search context,search fullandsearch contentrender a table again
under--output table. They printed the entire response as a single
key/value blob, with the hits stuffed into onevaluecell as raw JSON,
because a search payload carriesqueryandsearch_typebeside its list and
the list-detection rule deliberately refuses anything that is not a list plus
pagination metadata. The three variants now pass their rows explicitly, as
senso search <query>already did. -
The raw-content
--datahelp no longer promises tagging that does not
happen. All three commands advertisedtag_ids. Onkb create-rawthe API
accepts the field and discards it — the document is auto-tagged from its
content instead — so the flag silently did nothing and the help now says so.
Onkb update-rawandkb patch-rawit does work, but it replaces the whole
tag set rather than adding to it; omit it to keep the current tags, pass[]
to clear them, and note that every ID must already exist or the entire update
is rejected. Both descriptions also now mention that re-ingestion re-runs
auto-tagging, which can add tags of its own after the call returns. -
A version bump no longer fails CI. The generated command reference named
the package version, so everynpm versionleft it stale and the release
commit failed the test that keeps it current. That is what stopped 0.13.0 from
publishing. The reference no longer names a version.