mirror of
https://github.com/kevwillow/scaffold.git
synced 2026-10-20 08:37:34 +02:00
New tool schemas:
- tools/ssh.json — OpenSSH secure shell client (37 args)
- tools/scp.json — OpenSSH secure file copy (21 args)
- tools/tar.json — GNU tar archiving utility (57 args)
Bundled presets under default_presets/ (seeded into
presets/{tool}/ on first open):
- ssh: jump_host, keep_alive, local_port_forward,
socks_proxy, verbose_debug (5 presets)
- scp: download_file, upload_directory, bandwidth_limited,
via_jump_host (4 presets)
- tar: create_tar_gz, create_tar_xz, extract_tar_gz,
extract_strip_top, list_contents (5 presets)
New example cascade:
- cascades/cascade_ssh_scp.json — two-step
ssh-check-then-scp-download pattern with three runtime
variables and stop_on_error gating.
Docs:
- README bundled-tools badge 22 -> 25 schemas
- Getting Started tool count 21 -> 24 tools
- Detailed Features list adds scp, ssh, tar
- Cascade chaining section: 2 -> 5 example cascade files
- CHANGELOG v2.9.2 notes the new tools, presets, cascade,
and doc updates
All three new schemas pass normalize_tool() and
validate_tool(). Full suite: 2449/2449 passed (+3 vs
pre-add, from the schema-validation loop in section 32i
picking up the new files).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
47 lines
927 B
JSON
47 lines
927 B
JSON
{
|
|
"_format": "scaffold_cascade",
|
|
"name": "ssh-check-then-scp-download",
|
|
"description": "Two-step cascade: SSH to verify a file exists on the remote host, then SCP to download it.",
|
|
"loop_mode": false,
|
|
"stop_on_error": true,
|
|
"variables": [
|
|
{
|
|
"name": "Remote Host",
|
|
"flag": "DESTINATION",
|
|
"type_hint": "string",
|
|
"apply_to": [
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"name": "Remote File Path",
|
|
"flag": "SOURCE",
|
|
"type_hint": "string",
|
|
"apply_to": [
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"name": "Local Destination",
|
|
"flag": "TARGET",
|
|
"type_hint": "string",
|
|
"apply_to": [
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"steps": [
|
|
{
|
|
"tool": "tools/ssh.json",
|
|
"preset": null,
|
|
"delay": 0,
|
|
"captures": []
|
|
},
|
|
{
|
|
"tool": "tools/scp.json",
|
|
"preset": "presets/scp/download_file.json",
|
|
"delay": 1,
|
|
"captures": []
|
|
}
|
|
]
|
|
} |