تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

node-transfer

بواسطة eisonme

Coding Agents & IDEs
784التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

High-speed, memory-efficient file transfer between OpenClaw nodes using native Node.js streams.

الوصف

ما الذي تفعله هذه المهارة

node-transfer moves files between OpenClaw nodes using native Node.js HTTP streams, bypassing the standard invoke mechanism. It avoids Base64 encoding and in-memory buffering, keeping memory usage under 10MB regardless of file size. Scripts deploy once per node and persist for subsequent transfers.

Streaming raw binary over HTTP instead of serializing through the standard invoke mechanism reduces a 1GB transfer from 15-30 minutes to roughly 8 seconds.

متى تستخدمها

  • Transferring multi-GB model weights between GPU nodes
  • Moving database dumps from production to staging nodes
  • Syncing build artifacts between CI and deployment nodes
  • Copying large log archives off a node for analysis
  • Migrating Docker image tarballs between cluster nodes

مثال على سير العمل

الإدخال

User asks: transfer C:/data/large-file.zip from node E3V3 to node E3V3-Docker

الوكيل
  1. 1

    Check ensure-installed.js on both source and destination nodes in parallel

  2. 2

    Deploy scripts to any node where installed is false

  3. 3

    Invoke send.js on E3V3 with the source file path, receive url, token, and fileSize in output

  4. 4

    Invoke receive.js on E3V3-Docker with the url, token, and destination path

  5. 5

    Parse receive output and report bytesReceived, duration, and speedMBps

الإخراج

Transfer complete: 1073741824 bytes in 8.42s at 121.5 MB/s

التثبيت

clawhub install eisonme/node-transfer

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط