mvp-factory-setups/openhands-cli-tmux-workflow...

54 lines
1.4 KiB
JSON

{
"meta": {
"instanceId": "openhands-cli-tmux-test"
},
"nodes": [
{
"parameters": {
"command": "cd /home/bam && tmux new-session -d -s openhands-task && tmux send-keys -t openhands-task 'python3 /home/bam/openhands-pty.py \"$TASK\"' C-m && sleep 60 && tmux capture-pane -t openhands-task -p",
"sessionId": "test-session"
},
"id": "ssh-execute",
"name": "Execute OpenHands CLI via tmux",
"type": "n8n-nodes-base.ssh",
"typeVersion": 2,
"position": [460, 300],
"credentials": {
"sshPassword": {
"id": "ai-dev-localhost",
"name": "ai-dev-localhost"
}
}
},
{
"parameters": {
"command": "ls -la /home/bam/*.txt 2>/dev/null | tail -10",
"sessionId": "test-session"
},
"id": "ssh-verify",
"name": "Verify Files Created",
"type": "n8n-nodes-base.ssh",
"typeVersion": 2,
"position": [680, 300],
"credentials": {
"sshPassword": {
"id": "ai-dev-localhost",
"name": "ai-dev-localhost"
}
}
}
],
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"tags": [],
"triggerCount": 0,
"updatedAt": "2025-11-30T22:00:00.000Z",
"versionId": "1",
"active": false,
"meta": {
"templateCredsSetupCompleted": false
}
}