reworked the Rust extension to create a TCP Client in order to send cot payloads to the connected server

This commit is contained in:
Valmo Trindade
2025-01-29 19:25:18 -03:00
parent 57c69c604c
commit 7bb59ef2ed
3 changed files with 234 additions and 5 deletions

View File

@@ -43,7 +43,9 @@ pub fn init() -> Extension {
"cot_router",
Group::new()
.command("start", cot_router::start)
.command("send_cot", cot_router::send_payload)
.command("send_payload", cot_router::send_payload)
.command("send_human_cot", cot_router::send_human_cot)
.command("send_marker_cot", cot_router::send_marker_cot)
.command("stop", cot_router::stop)
)
.finish()