Skip to content

Commit 54ae07c

Browse files
gcmsgclaude
andcommitted
docs: add send-file and transfer commands to README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 90dce72 commit 54ae07c

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,19 @@ peerclaw agent contacts add <agent-id> --contact <contact-agent-id> --alias "My
111111
peerclaw 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

README_zh.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,19 @@ peerclaw agent contacts add <agent-id> --contact <contact-agent-id> --alias "我
101101
peerclaw 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

0 commit comments

Comments
 (0)