Repository navigation
Releases
Releases · csanfilippo/oxus
v0.4.0
v0.3.0
Added
spotlight_queryandsearchresults carrytruncated: truewhen more matches exist thanpathsholds, so a client can raiselimitor narrow the search. A result with every match has notruncatedkey.
v0.2.1
Fixed
- As many concurrent tool calls as the Mac has CPUs, or more, no longer hang the server with no reply: Spotlight queries now run one at a time.
v0.2.0
Added
oxus --versionprintsoxus <version>on stdout and exits without starting a server, so a binary installed from the release zip can report its version.
Changed
- oxus rejects any arguments other than a lone
--version: it printsusage: oxus [--version]on stderr and exits with status 64, instead of ignoring them and starting the server. A client configuration that passes arguments to oxus must drop them.
v0.1.0
Added
spotlight_querytool: runs a raw Spotlight query and returns the paths of matching files, in Spotlight's order.searchtool: finds files byname_contains(ignoring case and diacritics),kind(image,movie,audio,pdf,folder,application) andfolder(an absolute path,~, or a path starting with~/), or any combination of them, without Spotlight query syntax.- Both tools take an optional
limit, default 25, capped at 100. - Both tools return
{"paths": [...]}as structured content, described by anoutputSchema, and as JSON in a single text block. - A
searchfolderthat does not exist, is a file, is a package, or cannot be read returns an error result naming the path and the fix, instead of an empty list. - A
searchfolderdenied by macOS privacy protection names the Privacy & Security setting to change, and one lacking read permission says so. - A
searchwhosefoldercontains~/Downloads,~/Documentsor~/Desktop, asearchwithout afolder, and everyspotlight_querylist inunreadableFoldersthose of the three folders macOS privacy protection denies, each with the setting to change, since Spotlight silently leaves out their files.