CLI
Patches
Attach scripts to checkpoints from the CLI
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Attach scripts to checkpoints from the CLI
# From a file
oc patch create cp-7f3a1b2c --script ./setup.sh --description "Install deps"
# One-liner from stdin
echo "npm install -g typescript" | oc patch create cp-7f3a1b2c --script=-
oc patch create cp-7f3a1b2c --script ./install-node.sh --description "Node.js 20"
oc patch create cp-7f3a1b2c --script ./app-config.sh --description "App config"
# Each spawned sandbox gets both patches applied in order
oc cp spawn cp-7f3a1b2c
oc patch list cp-7f3a1b2c
# ID SEQ DESCRIPTION STRATEGY CREATED
# pa-abc123 1 Node.js 20 on_wake 2025-01-15T10:30:00Z
# pa-def456 2 App config on_wake 2025-01-15T10:31:00Z
oc patch delete cp-7f3a1b2c pa-abc123