mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-23 16:42:19 +00:00
vault_hosts_list always returned every saved host, which costs a lot of tokens in large vaults when the agent only needs one host to resolve a hostId. Add two optional parameters: - query: case-insensitive; every space-separated word must match the label, hostname, username, or tags. Does not search group. - group: group path that also matches subgroups on a path boundary (prod matches prod/web, not production). Case-sensitive. Missing, empty, or non-string filters mean no filter, so existing calls return the same result as before. Malformed host data (non-array tags) no longer risks crashing the listing. Regenerated the capability tool specs.