Skip to main content

crewship slides

Read or initialize a native schema-1 Slides deck. The deck is saved on a private artifact, and the artifact’s slug or @<artifact-id> addresses it. With the Artifacts library enabled, the deck is listed there as Slides. The singular slide alias accepts the same commands. These human commands refuse agent credentials.

Availability

This is the native Slides adapter. It is separate from the Slides preview of a typed artifact version (crewship page artifact slides), which the artifact_slides workspace flag controls. Enabling one does not enable the other.

Access

An ADMIN role or an ordinary share does not widen a private artifact’s audience. A missing artifact, an artifact you cannot see and a deck that has no revision yet all return the same 404 Slides not found, so the error does not reveal which one applies. Agent, internal and acting-agent credentials are refused; with CREWSHIP_AGENT_TOKEN set, the CLI stops before sending the request.

crewship slides read <slug|@artifact-id>

Read the confirmed head. The result contains schema_version, revision, order_version, content_hash and the complete native deck.
The default table format prints the same object as one line of JSON. -f yaml prints it as YAML.

crewship slides at-rev <slug|@artifact-id> <revision>

Read one immutable revision. The output has the same fields as read. The revision must be a positive integer; 0 or a non-number stops locally with positive revision required (exit 1). A revision that does not exist returns 404. The command never substitutes the latest head.

crewship slides initialize <slug|@artifact-id> --file <request.json>

Save revision 1 of a deck. --file is required; --file - reads stdin. The request is at most 2 MiB of JSON with page_id, schema_version: 1, base_rev: 0, a stable mutation_id and a complete deck whose deck_id equals page_id. See the native Slides guide for the schema fixture. The CLI validates the request before sending it. Unknown or wrongly cased fields fail locally with Slides object contains unknown or incorrectly cased fields. The target must be a private artifact that you own personally, with no other content: no document, typed version, Project, board, workbook, panels or live project. A private artifact is visible only to its owner and, after an audit, to the workspace OWNER. The current release has no CLI command or UI control that creates such an empty private artifact for a deck. crewship page create, with or without --allow-empty, creates an artifact that is shared with the workspace in the usual way. That artifact is a valid target for crewship doc initialize, which does not require a private artifact, but this command refuses it with 404 Slides not found. Without such a target, use slides read and slides at-rev on decks that already exist.
Keep the exact request file if you are not sure the request was confirmed. Retrying it with the same current actor returns the original receipt with duplicate: true. Changed content under the same mutation ID returns 409 (Slides identity or mutation conflict). Initialization creates no artifact and no sharing grant. Patch, reorder, restore, agent creation, presentation mode and export are not available through these commands.

Errors

With -f json, errors are printed as an error object with message, status, detail and exit_code. See exit codes.