Skip to content

feat(automations): an upload step — a file from this computer to the … - #14

Merged
Sniphs98 merged 1 commit into
mainfrom
feat/automation-upload
Sep 26, 2026
Merged

Sniphs98 merged 1 commit into
mainfrom
feat/automation-upload

Conversation

@Sniphs98

Copy link
Copy Markdown
Owner

…host

A new built-in node, picked from the "+" menu like a snippet ("Upload a file to the host…"): From this computer, To on the host (a folder ending in / keeps the name). It goes over the automation's own SSH connection as SFTP, so saved passwords, 1Password, jump hosts and known host keys all apply. Both paths take {{params.…}} and {{nodes.…}}, and the node's output is where the file landed: docker load < {{nodes.upload.output}}.

Stored as a node with upload = { from, to } and snippetId "", always targeting the host; export bundles skip it when gathering snippets.

Local nodes now run in the home folder instead of the app's working directory (the install folder, often not writable), and an upload's relative path means the same folder, so docker save -o image.tar followed by an upload of image.tar.gz just works.

Also fixes the editor's "needs a host parameter" check, which read a field that no longer exists and never fired.

What and why

How it was tested

Checklist

  • PR title is a Conventional Commit (it decides the release)
  • npm run check and npm test pass
  • Tests added or updated for the change
  • README updated if the change is user-visible

…host

A new built-in node, picked from the "+" menu like a snippet ("Upload a file to
the host…"): From this computer, To on the host (a folder ending in / keeps the
name). It goes over the automation's own SSH connection as SFTP, so saved
passwords, 1Password, jump hosts and known host keys all apply. Both paths take
{{params.…}} and {{nodes.…}}, and the node's output is where the file landed:
`docker load < {{nodes.upload.output}}`.

Stored as a node with upload = { from, to } and snippetId "", always targeting
the host; export bundles skip it when gathering snippets.

Local nodes now run in the home folder instead of the app's working directory
(the install folder, often not writable), and an upload's relative path means
the same folder, so `docker save -o image.tar` followed by an upload of
image.tar.gz just works.

Also fixes the editor's "needs a host parameter" check, which read a field that
no longer exists and never fired.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Sniphs98
Sniphs98 merged commit 3528f8b into main Sep 26, 2026
9 checks passed
@Sniphs98
Sniphs98 deleted the feat/automation-upload branch September 26, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant