kapi pack
kapi pack -o <snapshot.kpz>Snapshot a kapi project's working state — the block-store overlays, the authoritative content memory, and the terms store — into a portable .kpz. Regenerable caches and secrets are excluded. Move the snapshot to another machine and "kapi unpack" it to resume work there.
Try it
Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.
kapi pack -o snapshot.kpz # a kapi projectFlags
| Flag | Type | Default | Description |
|---|---|---|---|
| --color | string | auto | colorize output: auto, always, never |
| --jq | string | filter JSON output through a jq expression (implies --json) | |
| --json | bool | false | Output in JSON format |
| --log | bool | false | stamp a tamper-evident provenance line into the snapshot's advisory history |
| --output, -o | string | output .kpz snapshot path | |
| --output-format | string | Output format: text (alias: table), json, yaml | |
| --project, -p | string | path to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted) | |
| --text | bool | false | Output in text format (default) |
| --with-source | bool | false | embed raw source bytes in the .kpz (default: identity + skeleton only) |
More examples
kapi pack work.kpz # eject a .kpz workspace's cache← Back to the Command Reference