Package commands

Usage and options for commands that manage packages.

Syntax · Options · ExamplesEnglish

Basic package workflow

create → author → save-draft → validate → run

Create an actual draft, then save it. Create a package in the app explains the role of each command before you begin.

Use the values you have just observed

Get revision, runId, waitRevision, and similar values from get/status responses. Stale values are rejected as conflicts.

Command list

33 commands · Select one to open its details.

orke package list

Read up to 50 metadata entries by default (maximum 100), within 1 MiB of JSON. Continue with --cursor until nextCursor is null. Use get/status for full definitions, state, and the current mutation target. Concurrent changes may require a new scan; this is not a snapshot.

↗
orke package get

Read the definition and observed target. A revision does not replace a read failure.

↗
orke package history

Page through saved execution cycles from newest to oldest, including cycles older than the first 50. Running cycle details may change between reads.

↗
orke package cycle

Read the definition actually used by a cycle and its execution journal, rather than the current package.md. Definition limit is 1 MiB; page journal records with nextCursor.

↗
orke package attachments

Page through attachment names, sizes, and modification times in assets. Do not follow links or read file content.

↗
orke package create

Create a definition in the chosen --groupId group. Open AI authoring separately with author.

↗
orke package author

Open the package's AI authoring session. A running session for the same package and AI is returned instead of a new one (session_reused); otherwise the AI's latest conversation in the package folder continues when the AI can resume (conversation_resumed). --editing false always starts a new conversation. Disconnecting does not end the session.

↗
orke package validate

Validate the saved definition and report issues and run refusals without running it.

↗
orke package save

Save the definition using the observed revision. During a run, changes apply from the next cycle. text/stdin must be strict UTF-8, up to 1048576 bytes.

↗
orke package save-draft

Apply the existing package.draft.md with its name. Changes made elsewhere are combined; places changed differently are returned as draftConflicts. --preferDraft true saves those places as drafted.

↗
orke package recover-draft

Preserve the draft, then reload the current definition into the draft. The running definition is unchanged.

↗
orke package run

Submit a run. Observe completion with status/wait.

↗
orke package stop

Request that the current package run stop; inspect completed stages and partial stop results.

↗
orke package repeat

Set whether the package repeats; use stop to request that its current work stop.

↗
orke package retry

Retry the observed retry/schedule wait target now; provide its exact current target.

↗
orke package skip

Skip the observed current step; stop it first when running and preserve partial results.

↗
orke package resolve

Resolve an observed decision wait by rerunning, marking done or skipping the cycle.

↗
orke package restart-changed

After confirming the observed target has stopped, start with the modified definition. Partial stop results are preserved.

↗
orke package set-provider

Save the provider in the definition. Rejected while running.

↗
orke package set-run-option

Save one definition option. Omitting value removes the line. Rejected while running.

↗
orke package status

Observe current state. changeRevision differs from the runtime waitRevision.

↗
orke package wait

Wait for changes after the observed changeRevision. Cancelling the request does not stop the run.

↗
orke package logs

Read a log tail of up to 8192 bytes with a fixed end offset. Distinguishes missing, ready, and unreadable.

↗
orke package results

Omitting cycle lists work files. An explicit preview can read beyond the first 100 listed files.

↗
orke package rename

Change the package display name while retaining its slug.

↗
orke package duplicate

Copy the definition to a new task, inheriting its source group unless --groupId chooses another group. Execution and cycle history are not copied.

↗
orke package delete

Delete only a stopped package. Request stop first if it is running.

↗
orke package group list

Read group IDs, names, current member counts and revision, 50 per page by default and at most 100. Continue with nextCursor.

↗
orke package group get

Read one group's name, member count and revision without member documents or starting work.

↗
orke package group create

Create an empty group in this scope. Trimmed names require 1..80 UTF-16 characters, no controls, and no duplicate name in this scope.

↗
orke package group rename

Rename using the observed group catalog revision, preserving group ID and running work.

↗
orke package group delete

Delete an empty group, or atomically move all members to another --moveTo group in the same scope before deletion. Preserve work and folders.

↗
orke package move

Move an item using the observed group catalog revision, including while running. Preserve definitions, state, and working folders.

↗

Search documentation

The page could not be displayed. Reload ×