Releases: ArtronShop/flowcode-agent
FlowCode Agent V2.0.1
It is recommended to run flowcode-agent-Vx.x.x.exe as Administrator.
Windows background agent that acts as a bridge between FlowCode (web app) and Arduino CLI on the user’s machine
Features
WebSocket API
Supports connections from all origins (CORS allow-all) via WebSocket and HTTP
Message system in the format { id, action, params } with streaming responses for long-running actions
Arduino CLI Integration
- board.list / board.listall — List connected boards and all supported boards
- core.install — Install Arduino core with progress streaming
- lib.install — Install libraries with progress streaming
- compile — Compile sketch with real-time streaming of stdout/stderr
- upload — Upload sketch to the board with real-time streaming of stdout/stderr
- version — Check arduino-cli version
Sketch Management
- sketch.list — List all sketches
- sketch.create — Create a new sketch
- sketch.read / sketch.write — Read/write sketch code
- sketch.delete — Delete a sketch
Serial Port
- port.list — List available serial ports
- port.connect — Connect to a serial port with real-time incoming data streaming and event notification when the port closes
- port.disconnect — Disconnect
- port.write — Send data to the serial port
Config System
- Config file stored at %LocalAppData%\FlowcodeAgent\configs.json
- Automatically reads sketchbook.path and boardsmanager.additional.urls from Arduino IDE preferences.txt
- Open/edit config via system tray (opens with Notepad and auto-reloads)
System Tray
- Runs as a background process with a system tray icon
- Settings menu to open the config file
- Exit menu to close the program
Auto-start
- Can be configured to start automatically on Windows boot via config (auto_start: true)
Installation
- Download flowcode-agent-V2.0.0.exe
- Run the file as Administrator — the program will automatically create a config file at %LocalAppData%\FlowcodeAgent\configs.json
- Update the arduino-cli path in the config to match your installation (default is Arduino IDE 2 path)
- The program runs on ws://localhost:8080 and http://localhost:8080/
FlowCode Agent V2.0.0
It is recommended to run flowcode-agent-Vx.x.x.exe as Administrator.
Windows background agent that acts as a bridge between FlowCode (web app) and Arduino CLI on the user’s machine
Features
WebSocket API
Supports connections from all origins (CORS allow-all) via WebSocket and HTTP
Message system in the format { id, action, params } with streaming responses for long-running actions
Arduino CLI Integration
- board.list / board.listall — List connected boards and all supported boards
- core.install — Install Arduino core with progress streaming
- lib.install — Install libraries with progress streaming
- compile — Compile sketch with real-time streaming of stdout/stderr
- upload — Upload sketch to the board with real-time streaming of stdout/stderr
- version — Check arduino-cli version
Sketch Management
- sketch.list — List all sketches
- sketch.create — Create a new sketch
- sketch.read / sketch.write — Read/write sketch code
- sketch.delete — Delete a sketch
Serial Port
- port.list — List available serial ports
- port.connect — Connect to a serial port with real-time incoming data streaming and event notification when the port closes
- port.disconnect — Disconnect
- port.write — Send data to the serial port
Config System
- Config file stored at %LocalAppData%\FlowcodeAgent\configs.json
- Automatically reads sketchbook.path and boardsmanager.additional.urls from Arduino IDE preferences.txt
- Open/edit config via system tray (opens with Notepad and auto-reloads)
System Tray
- Runs as a background process with a system tray icon
- Settings menu to open the config file
- Exit menu to close the program
Auto-start
- Can be configured to start automatically on Windows boot via config (auto_start: true)
Installation
- Download flowcode-agent-V2.0.0.exe
- Run the file as Administrator — the program will automatically create a config file at %LocalAppData%\FlowcodeAgent\configs.json
- Update the arduino-cli path in the config to match your installation (default is Arduino IDE 2 path)
- The program runs on ws://localhost:8080 and http://localhost:8080/
FlowCode Agent V1.0.1 | Fixed: Hide console windows when click Run
Windows background agent ที่ทำหน้าที่เป็น bridge ระหว่าง FlowCode (เว็บแอป) กับ Arduino CLI บนเครื่องของผู้ใช้
Features
WebSocket API
รองรับการเชื่อมต่อจากทุก origin (CORS allow-all) ผ่าน WebSocket และ HTTP
ระบบ message แบบ { id, action, params } พร้อม streaming response สำหรับ action ที่ใช้เวลานาน
Arduino CLI Integration
- board.list / board.listall — ดูบอร์ดที่เชื่อมต่อและบอร์ดที่รองรับทั้งหมด
- core.install — ติดตั้ง Arduino core พร้อม streaming ความคืบหน้า
- lib.install — ติดตั้ง library พร้อม streaming ความคืบหน้า
- compile — คอมไพล์ sketch พร้อม streaming stdout/stderr แบบ real-time
- upload — อัปโหลด sketch ไปยังบอร์ด พร้อม streaming stdout/stderr แบบ real-time
- version — ตรวจสอบเวอร์ชัน arduino-cli
Sketch Management
- sketch.list — แสดงรายชื่อ sketch ทั้งหมด
- sketch.create — สร้าง sketch ใหม่
- sketch.read / sketch.write — อ่าน/เขียนโค้ดใน sketch
- sketch.delete — ลบ sketch
Serial Port
- port.list — แสดง serial port ที่ใช้งานได้
- port.connect — เชื่อมต่อ serial port พร้อม streaming ข้อมูลที่รับเข้ามาแบบ real-time และ event แจ้งเมื่อ port ปิด
- port.disconnect — ตัดการเชื่อมต่อ
- port.write — ส่งข้อมูลไปยัง serial port
Config System
- ไฟล์ config เก็บที่ %LocalAppData%\FlowcodeAgent\configs.json
- อ่านค่า sketchbook.path และ boardsmanager.additional.urls จาก preferences.txt ของ Arduino IDE ได้อัตโนมัติ
- เปิด/แก้ไข config ผ่าน system tray ได้เลย (เปิดด้วย Notepad แล้ว reload อัตโนมัติ)
System Tray
- ทำงานเป็น background process มี icon ใน system tray
- เมนู Settings เพื่อเปิดไฟล์ config
- เมนู Exit เพื่อปิดโปรแกรม
Auto-start
- ตั้งให้เริ่มทำงานอัตโนมัติตอน Windows boot ได้ผ่าน config (auto_start: true)
Installation
- ดาวน์โหลด flowcode-agent-v1.0.1.exe
- รันไฟล์ — โปรแกรมจะสร้างไฟล์ config ที่ %LocalAppData%\FlowcodeAgent\configs.json อัตโนมัติ
- ปรับ path ของ arduino-cli ใน config ให้ตรงกับที่ติดตั้งไว้ (ค่าเริ่มต้นคือ path ของ Arduino IDE 2)
- โปรแกรมจะรันบน ws://localhost:8080 และ http://localhost:8080
FlowCode Agent V1.0.0
Windows background agent ที่ทำหน้าที่เป็น bridge ระหว่าง FlowCode (เว็บแอป) กับ Arduino CLI บนเครื่องของผู้ใช้
Features
WebSocket API
รองรับการเชื่อมต่อจากทุก origin (CORS allow-all) ผ่าน WebSocket และ HTTP
ระบบ message แบบ { id, action, params } พร้อม streaming response สำหรับ action ที่ใช้เวลานาน
Arduino CLI Integration
- board.list / board.listall — ดูบอร์ดที่เชื่อมต่อและบอร์ดที่รองรับทั้งหมด
- core.install — ติดตั้ง Arduino core พร้อม streaming ความคืบหน้า
- lib.install — ติดตั้ง library พร้อม streaming ความคืบหน้า
- compile — คอมไพล์ sketch พร้อม streaming stdout/stderr แบบ real-time
- upload — อัปโหลด sketch ไปยังบอร์ด พร้อม streaming stdout/stderr แบบ real-time
- version — ตรวจสอบเวอร์ชัน arduino-cli
Sketch Management
- sketch.list — แสดงรายชื่อ sketch ทั้งหมด
- sketch.create — สร้าง sketch ใหม่
- sketch.read / sketch.write — อ่าน/เขียนโค้ดใน sketch
- sketch.delete — ลบ sketch
Serial Port
- port.list — แสดง serial port ที่ใช้งานได้
- port.connect — เชื่อมต่อ serial port พร้อม streaming ข้อมูลที่รับเข้ามาแบบ real-time และ event แจ้งเมื่อ port ปิด
- port.disconnect — ตัดการเชื่อมต่อ
- port.write — ส่งข้อมูลไปยัง serial port
Config System
- ไฟล์ config เก็บที่ %LocalAppData%\FlowcodeAgent\configs.json
- อ่านค่า sketchbook.path และ boardsmanager.additional.urls จาก preferences.txt ของ Arduino IDE ได้อัตโนมัติ
- เปิด/แก้ไข config ผ่าน system tray ได้เลย (เปิดด้วย Notepad แล้ว reload อัตโนมัติ)
System Tray
- ทำงานเป็น background process มี icon ใน system tray
- เมนู Settings เพื่อเปิดไฟล์ config
- เมนู Exit เพื่อปิดโปรแกรม
Auto-start
- ตั้งให้เริ่มทำงานอัตโนมัติตอน Windows boot ได้ผ่าน config (auto_start: true)
Installation
- ดาวน์โหลด flowcode-agent-v1.0.0.exe
- รันไฟล์ — โปรแกรมจะสร้างไฟล์ config ที่ %LocalAppData%\FlowcodeAgent\configs.json อัตโนมัติ
- ปรับ path ของ arduino-cli ใน config ให้ตรงกับที่ติดตั้งไว้ (ค่าเริ่มต้นคือ path ของ Arduino IDE 2)
- โปรแกรมจะรันบน ws://localhost:8080 และ http://localhost:8080