55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"name": "OpenHands SDK Inline Direct Test",
|
|
"meta": {
|
|
"instanceId": "openhands-sdk-inline-direct"
|
|
},
|
|
"nodes": [
|
|
{
|
|
"parameters": {},
|
|
"id": "manual-trigger",
|
|
"name": "Manual Trigger",
|
|
"type": "n8n-nodes-base.manualTrigger",
|
|
"typeVersion": 1,
|
|
"position": [240, 300]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"command": "cd /tmp/software-agent-sdk && . .venv/bin/activate && source /home/bam/openhands/.env && python /home/bam/openhands-sdk-wrapper-fixed.py \"Create file: n8n-inline-test-\\$(date +%s).txt with content: SUCCESS - Direct inline SDK execution!\" && ls -lt /home/bam/*.txt 2>/dev/null | head -5",
|
|
"options": {
|
|
"sessionId": "inline-test-session"
|
|
}
|
|
},
|
|
"id": "execute-inline",
|
|
"name": "Execute OpenHands SDK (Inline)",
|
|
"type": "n8n-nodes-base.executeCommand",
|
|
"typeVersion": 1,
|
|
"position": [460, 300]
|
|
}
|
|
],
|
|
"connections": {
|
|
"Manual Trigger": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Execute OpenHands SDK (Inline)",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"pinData": {},
|
|
"settings": {
|
|
"executionOrder": "v1"
|
|
},
|
|
"staticData": null,
|
|
"triggerCount": 0,
|
|
"updatedAt": "2025-12-01T11:42:00.000Z",
|
|
"versionId": "1",
|
|
"active": false,
|
|
"meta": {
|
|
"templateCredsSetupCompleted": false
|
|
}
|
|
}
|