Rebuild the original from parts
rebuildReconstruct an original file or zip from AgentParcel parts with SHA-256 and size verification; it fails and names any missing or corrupt parts.
Instructions
Rebuild the original from AgentParcel parts (made by this server or by any AgentParcel app). Zip part sets become the original zip (every file verified, size + SHA-256). A byte-split set (folder with _agentparcel_bytes.json, or any file in that folder) becomes the original file, byte for byte. Give the folder, any single part (the others are found next to it), or an explicit list. If parts are missing or corrupt it fails and names exactly which (missing_parts / missing_names / corrupt_parts). AgentParcel-apps.zip is ignored. Output never overwrites. extract=true unpacks a rebuilt zip into a new folder; it does not apply to a byte-split file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parts | Yes | Absolute paths: a folder containing the parts, one part, or all parts. A single string is also accepted. | |
| extract | No | Also extract the rebuilt zip into a new folder next to it. | |
| password | No | Password for an encrypted byte-split set. Never stored. Omit for zip sets and for plain byte sets. | |
| output_dir | No | Absolute folder for the rebuilt zip (default: next to the parts). | |
| create_output_dir | No | Create output_dir if it does not exist (otherwise that is an error). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| bytes | No | ||
| verified | No | ||
| output_path | No |