You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release Notes
Changed
Requires pcli2 2.0 or newer. Tool definitions were synced with the pcli2 2.0.1 command tree.
pcli2_asset_thumbnail now passes --output (pcli2 2.0 removed --file); thumbnail calls failed against pcli2 2.x before this fix.
Tool schemas and argv construction are generated from a single declarative table (src/tools.rs); arguments are validated (required keys, enums, numeric ranges, types) before pcli2 runs, and string-typed booleans/numbers are accepted.
pcli2 is always spawned non-interactively with PCLI2_NO_INPUT=1, PCLI2_NO_COLOR=1, PCLI2_NO_UPDATE_CHECK=1 and PCLI2_ERROR_FORMAT=json; JSON error lines from pcli2 are rendered as LEVEL (kind): message in tool errors.
pcli2 (legacy list tool) with resource=asset now accepts folder_uuid as well as folder_path.
pcli2_tenant_use requires name (or the legacy alias tenant_name) instead of failing at pcli2.
Long flags (--tenant, --format) are used instead of -t/-f.
Added
New pcli2 2.x options on existing tools: recursive, checkpoint, format=xls + output (folder geometric-match), limit/threshold (visual-match), limit (text-match), reload (folder resolve), metadata type url, yes on mutating tools.
Unit test table with an argv case for every tool (fails when a tool is added without one); integration tests with an argv-echoing mock pcli2 covering call_tool, the thumbnail --output path, the child environment, and JSON error rendering.
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release Notes
Changed
Breaking (MCP tool names): Renamed pcli2_config_environment_list → pcli2_environment_list and pcli2_config_environment_get → pcli2_environment_get to match pcli2 v1.1.7, which promoted environment from a config subcommand to a top-level command.
pcli2 list tool: when resource=asset, folder_path is now required and folder_uuid is no longer accepted (reflects pcli2 v1.1.7 asset list signature). A new recursive option forwards --recursive to asset list.