Recover sources
hexvero_recoverExtract recoverable sources from a bundle or source map into a new directory, writing bundle modules (plus a manifest of requires/exports) or embedded sourcesContent without executing anything.
Instructions
Write recoverable sources into a new directory: the modules of a webpack/Rspack/browserify/esbuild bundle (one file each plus hexvero-bundle.json with requires/exports), or the original files embedded in a source map (sourcesContent). No engine needed; nothing is executed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"targetId": "<targetId>",
"outputDir": "<outputDir>"
},
"name": "hexvero_recover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetId | Yes | Target id returned by hexvero_open | |
| outputDir | Yes | Absent or empty directory to write into |