0.7.0
- Load CLI commands on demand, batch local
catreads in one helper, and avoid whole-document allocation for budget-only output.
Added
- Collection item listing supports property and text filters, compact metadata, and opt-in previews.
craft lib list/get/exportreads a remote skill catalog without body previews, validates publication metadata, retrieves selected skills, and exports single-fileSKILL.mdfiles without overwriting existing skills.- Local-first markdown reads:
docs get,docs daily,blocks get, andcatserve content from the Craft Desktop PlainTextSearch cache and fall back to the API when the local copy is missing. Reads print(local)or(api)to stderr so stdout stays pipe-clean. craft read <id>aliasesdocs get; Markdown reads support--lines A:B,--head N,--outline, and--budget Nwith explicit truncation and a shared budget forcat.
Changed
- Expanded remote skill library help and agent manifest with the portable collection contract, setup, authoring and export workflow; bundled the adoption reference with the shipped skill.
- Local markdown output normalizes Craft's empty page heading to the real document title, and keeps the local
craftdocs://opendeeplinks that resolve cross-space links the API renders asinvalid:out_of_scope. - Backlinks are now opt-in via
--links. They always need an API round trip, so reads no longer fetch them by default.--no-linksis still accepted as a no-op. - A markdown read without backlinks is a single API request instead of two; the structured fetch is only made when backlinks need the title.
- Keep Craft Desktop cache authoritative for ordinary reads; use
--source apifor immediate read-after-write confirmation. Remove persistent local/API equality gating.
Fixed
- Preserve meaningful whitespace in local Markdown; enforce strict local content reads, honor raw/exhaustive flags, and validate daily dates consistently across local and API paths.
- Local
docs searchreturned zero document matches for common terms. TheentityTypefilter now runs in SQL instead of after aLIMIT, so a term likecinfinds its documents again.
Read performance goal: common local actions under 100 ms. Craft Desktop owns the read-only cache and synchronization; no additional content mirror. Use --source api for immediate remote confirmation after writes.