@sharky.gg/cli
v1.0.1
Published
Securely pull Sharky game projects for authorized Remix work
Readme
Sharky CLI
Pull a complete web-game project after its creator has enabled Remix and your Sharky account has permanent access.
npx --yes @sharky.gg/[email protected] pull GAME_ID --output ./my-gameThe CLI opens Sharky's device-authorization page and prints the same official URL plus a short user code. The copied command never contains a login, token, device code, archive URL, or email. A pull grant stays only in process memory.
Use --version VERSION to request an exact historical source version. Omit it
for the newest ready version. Version text is matched locally against Sharky's
metadata; downloads use an opaque artifact ID rather than placing that text in
an archive URL.
The target must be new or empty. Before extraction, the CLI downloads the private archive in bounded, retryable byte ranges to a mode-0600 temporary file and validates its exact byte size and SHA-256. ZIP archive size, paths, types, file counts, per-file sizes and total expanded size are validated against the same limits as Sharky's archive producer, without invoking a system unzip command. Partial files are removed after any failure.
Release operations
Publish and pin this package only through the controlled Free rollout in
../../services/backend/docs/game-remix-free-cli-rollout.md. The production
command must pin the exact package version and include only the game ID and
output path; never add a login, token, device/user code, pull grant, archive
URL, or storage locator.
Paid Remix is not enabled by this CLI release. The current production wallet preflight is NO-GO, so this package must not initiate a credit debit, creator payout, or fee write.
