You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove reviewer-facing verification steps from the user guide.
Drop the extra bot P2P entered event note.
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/en/feishu-bridge.md
-49Lines changed: 0 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,6 @@ The local `ai server` daemon can host IM adapters. The Feishu adapter connects t
10
10
2. Enable the Bot capability and add the bot to the test chat.
11
11
3. Under Events & callbacks, choose long connection mode and subscribe to `im.message.receive_v1`.
12
12
13
-
The adapter only handles `im.message.receive_v1`. Events such as `im.chat.access_event.bot_p2p_chat_entered_v1` prove that the long connection is alive, but they do not trigger `/ping`.
14
-
15
13
## Permissions
16
14
17
15
Use the narrowest set that matches the chat types you want to test:
@@ -44,53 +42,6 @@ Put the app credentials in `.agents/server.local.json`. This file is git-ignored
44
42
45
43
`appId` must match `cli_[0-9a-fA-F]{16}`. The daemon fails fast if `appId` or `appSecret` is missing.
46
44
47
-
## Verify
48
-
49
-
Build and run the current checkout when validating unpublished changes:
50
-
51
-
```bash
52
-
npm run build
53
-
node dist/bin/cli.js server start
54
-
node dist/bin/cli.js server status
55
-
```
56
-
57
-
Watch the latest server log:
58
-
59
-
```bash
60
-
latest_log=$(find ~/.agent-infra/logs -name server.log -exec ls -t {} + | head -1)
61
-
tail -f "$latest_log"
62
-
```
63
-
64
-
Send a non-command first to confirm that message events reach the daemon:
65
-
66
-
```text
67
-
/hello
68
-
```
69
-
70
-
The log should show an unknown command. Then send:
71
-
72
-
```text
73
-
/ping
74
-
```
75
-
76
-
In a group chat, mention the bot:
77
-
78
-
```text
79
-
@bot /ping
80
-
```
81
-
82
-
The bot should reply:
83
-
84
-
```text
85
-
pong v<VERSION>
86
-
```
87
-
88
-
Stop the daemon when done:
89
-
90
-
```bash
91
-
node dist/bin/cli.js server stop
92
-
```
93
-
94
45
## References
95
46
96
47
-[Feishu long connection event subscription](https://open.feishu.cn/document/server-docs/event-subscription-guide/event-subscription-configure-/request-url-configuration-case?lang=en-US)
0 commit comments