File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,6 +111,19 @@ peerclaw agent contacts add <agent-id> --contact <contact-agent-id> --alias "My
111111peerclaw agent contacts remove < agent-id> --contact < contact-agent-id>
112112```
113113
114+ ### P2P File Transfer
115+
116+ ``` bash
117+ # Send a file to another agent
118+ peerclaw send-file --to < agent-id> --file ./document.pdf --keypair ./my.key
119+
120+ # Check transfer status
121+ peerclaw transfer status
122+
123+ # Check specific transfer
124+ peerclaw transfer status --transfer-id < id>
125+ ```
126+
114127### Sending Messages
115128
116129``` bash
Original file line number Diff line number Diff line change @@ -101,6 +101,19 @@ peerclaw agent contacts add <agent-id> --contact <contact-agent-id> --alias "我
101101peerclaw agent contacts remove < agent-id> --contact < contact-agent-id>
102102```
103103
104+ ### P2P 文件传输
105+
106+ ``` bash
107+ # 向另一个 Agent 发送文件
108+ peerclaw send-file --to < agent-id> --file ./document.pdf --keypair ./my.key
109+
110+ # 查看传输状态
111+ peerclaw transfer status
112+
113+ # 查看特定传输
114+ peerclaw transfer status --transfer-id < id>
115+ ```
116+
104117### 发送消息
105118
106119``` bash
You can’t perform that action at this time.
0 commit comments