Problem
@poe-platform/safe-bash 0.1.549 registers ZIP commands, but standard Info-ZIP options used in scripts are rejected:
zip -q archive.zip file fails with Invalid command arguments (unsupported option: -q).
unzip -p archive.zip file fails with unsupported option: -p.
Observed while upgrading poe-internal/poe2's agent shell. Basic zip archive.zip file and unzip archive.zip -d directory are the supported forms; the missing options are compatibility gaps, not requests for a new shell dialect. The initial ZIP implementation was tracked in #687.
Expected behavior
Match standard command behavior: zip -q suppresses normal progress output while preserving diagnostics and exit status; unzip -p writes selected members' bytes to stdout, enabling pipelines without extraction to disk.
Please add compatibility tests against the standard tools, including binary bytes, selected members, missing members, cancellation, output limits, and failure/exit semantics. Keep the existing bounded VFS and decompression protections.
Problem
@poe-platform/safe-bash0.1.549 registers ZIP commands, but standard Info-ZIP options used in scripts are rejected:zip -q archive.zip filefails withInvalid command arguments (unsupported option: -q).unzip -p archive.zip filefails withunsupported option: -p.Observed while upgrading poe-internal/poe2's agent shell. Basic
zip archive.zip fileandunzip archive.zip -d directoryare the supported forms; the missing options are compatibility gaps, not requests for a new shell dialect. The initial ZIP implementation was tracked in #687.Expected behavior
Match standard command behavior:
zip -qsuppresses normal progress output while preserving diagnostics and exit status;unzip -pwrites selected members' bytes to stdout, enabling pipelines without extraction to disk.Please add compatibility tests against the standard tools, including binary bytes, selected members, missing members, cancellation, output limits, and failure/exit semantics. Keep the existing bounded VFS and decompression protections.