agent-messenger 2.32.0 → 2.32.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/bun.lock +7 -0
- package/dist/package.json +2 -1
- package/dist/src/platforms/channeltalk/token-extractor.d.ts.map +1 -1
- package/dist/src/platforms/channeltalk/token-extractor.js +67 -18
- package/dist/src/platforms/channeltalk/token-extractor.js.map +1 -1
- package/dist/src/platforms/discord/commands/channel.d.ts.map +1 -1
- package/dist/src/platforms/discord/commands/channel.js +3 -2
- package/dist/src/platforms/discord/commands/channel.js.map +1 -1
- package/dist/src/platforms/discord/commands/snapshot.d.ts.map +1 -1
- package/dist/src/platforms/discord/commands/snapshot.js +7 -6
- package/dist/src/platforms/discord/commands/snapshot.js.map +1 -1
- package/dist/src/platforms/discord/types.d.ts +17 -0
- package/dist/src/platforms/discord/types.d.ts.map +1 -1
- package/dist/src/platforms/discord/types.js +36 -0
- package/dist/src/platforms/discord/types.js.map +1 -1
- package/dist/src/platforms/kakaotalk/client.d.ts.map +1 -1
- package/dist/src/platforms/kakaotalk/client.js +2 -0
- package/dist/src/platforms/kakaotalk/client.js.map +1 -1
- package/dist/src/platforms/slack/index.d.ts +1 -0
- package/dist/src/platforms/slack/index.d.ts.map +1 -1
- package/dist/src/platforms/slack/index.js.map +1 -1
- package/dist/src/platforms/slack/qr-confirmation.d.ts +19 -0
- package/dist/src/platforms/slack/qr-confirmation.d.ts.map +1 -0
- package/dist/src/platforms/slack/qr-confirmation.js +68 -0
- package/dist/src/platforms/slack/qr-confirmation.js.map +1 -0
- package/dist/src/platforms/slack/qr-cookie-jar.d.ts +7 -0
- package/dist/src/platforms/slack/qr-cookie-jar.d.ts.map +1 -0
- package/dist/src/platforms/slack/qr-cookie-jar.js +48 -0
- package/dist/src/platforms/slack/qr-cookie-jar.js.map +1 -0
- package/dist/src/platforms/slack/qr-http-login.d.ts +2 -1
- package/dist/src/platforms/slack/qr-http-login.d.ts.map +1 -1
- package/dist/src/platforms/slack/qr-http-login.js +88 -53
- package/dist/src/platforms/slack/qr-http-login.js.map +1 -1
- package/docs/content/docs/cli/channeltalk.mdx +4 -4
- package/package.json +2 -1
- package/skills/agent-channeltalk/SKILL.md +5 -5
- package/skills/agent-channeltalk/references/authentication.md +9 -5
- package/skills/agent-channeltalkbot/SKILL.md +1 -1
- package/skills/agent-discord/SKILL.md +8 -4
- package/skills/agent-discord/references/common-patterns.md +7 -3
- package/skills/agent-discordbot/SKILL.md +1 -1
- package/skills/agent-imessage/SKILL.md +1 -1
- package/skills/agent-instagram/SKILL.md +1 -1
- package/skills/agent-kakaotalk/SKILL.md +1 -1
- package/skills/agent-line/SKILL.md +1 -1
- package/skills/agent-slack/SKILL.md +25 -2
- package/skills/agent-slackbot/SKILL.md +1 -1
- package/skills/agent-teams/SKILL.md +1 -1
- package/skills/agent-telegram/SKILL.md +1 -1
- package/skills/agent-telegrambot/SKILL.md +1 -1
- package/skills/agent-webex/SKILL.md +1 -1
- package/skills/agent-webexbot/SKILL.md +1 -1
- package/skills/agent-wechatbot/SKILL.md +1 -1
- package/skills/agent-whatsapp/SKILL.md +1 -1
- package/skills/agent-whatsappbot/SKILL.md +1 -1
- package/src/platforms/channeltalk/token-extractor.test.ts +235 -0
- package/src/platforms/channeltalk/token-extractor.ts +81 -22
- package/src/platforms/discord/commands/channel.test.ts +33 -23
- package/src/platforms/discord/commands/channel.ts +3 -2
- package/src/platforms/discord/commands/snapshot.test.ts +80 -2
- package/src/platforms/discord/commands/snapshot.ts +7 -6
- package/src/platforms/discord/types.test.ts +45 -0
- package/src/platforms/discord/types.ts +41 -0
- package/src/platforms/kakaotalk/client.test.ts +29 -0
- package/src/platforms/kakaotalk/client.ts +1 -0
- package/src/platforms/slack/index.ts +1 -0
- package/src/platforms/slack/qr-confirmation.ts +86 -0
- package/src/platforms/slack/qr-cookie-jar.ts +54 -0
- package/src/platforms/slack/qr-http-login-2fa.test.ts +398 -0
- package/src/platforms/slack/qr-http-login.test.ts +10 -18
- package/src/platforms/slack/qr-http-login.ts +109 -52
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qr-http-login.js","sourceRoot":"","sources":["../../../../src/platforms/slack/qr-http-login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"qr-http-login.js","sourceRoot":"","sources":["../../../../src/platforms/slack/qr-http-login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,EACL,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,GAEtB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAe1C,MAAM,qBAAqB,GAAG,EAAE,CAAA;AAEhC,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,OAAe,EAAE,OAAO,GAAmB,EAAE;IAC7E,MAAM,KAAK,GAAG,aAAa,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAA;IAC3C,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAA;IAC3B,KAAK,EAAE,CAAC,4BAA4B,KAAK,CAAC,SAAS,EAAE,CAAC,CAAA;IAEtD,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,MAAM,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;IAClF,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,IAAI,UAAU,CAClB,uBAAuB,CAAC,YAAY,EAAE,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE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BAAmB,CAAC,IAAI,QAAQ,CAAC,QAAQ,CAAC,cAAc,CAAC;QAAE,OAAO,eAAe,CAAA;IACvG,IAAI,QAAQ,CAAC,QAAQ,CAAC,YAAY,CAAC;QAAE,OAAO,OAAO,CAAA;IACnD,OAAO,IAAI,CAAA;AACb,CAAC;AAED,SAAS,yBAAyB,CAAC,IAAY;IAC7C,IAAI,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,yBAAyB,CAAC,IAAI,CAAC,IAAI,CAAC;QAAE,OAAO,cAAc,CAAA;IAC7F,IAAI,+BAA+B,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACpG,OAAO,8BAA8B,CAAA;IACvC,CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,MAAc;IACxC,IAAI,CAAC;QACH,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAA;QAC9C,IAAI,QAAQ,KAAK,QAAQ;YAAE,OAAO,KAAK,CAAA;QACvC,OAAO,QAAQ,KAAK,WAAW,IAAI,QAAQ,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAA;IACpE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAA;IACd,CAAC;AACH,CAAC"}
|
|
@@ -238,16 +238,16 @@ Use **agent-channeltalk** when you want zero-config access acting as yourself. U
|
|
|
238
238
|
|
|
239
239
|
### Channel Talk desktop app not found
|
|
240
240
|
|
|
241
|
-
The CLI looks for the
|
|
241
|
+
The CLI looks for the desktop app's cookie database in the locations below. The app was rebranded from Channel Talk to Channel Works, so both names are probed, `Channel Works` first.
|
|
242
242
|
|
|
243
243
|
**macOS:**
|
|
244
244
|
|
|
245
|
-
1. `~/Library/Containers/com.zoyi.channel.desk.osx/Data/Library/Application Support/Channel Talk/Cookies` (Mac App Store)
|
|
246
|
-
2. `~/Library/Application Support/Channel Talk/Cookies` (Electron version)
|
|
245
|
+
1. `~/Library/Containers/com.zoyi.channel.desk.osx/Data/Library/Application Support/{Channel Works,Channel Talk}/Cookies` (Mac App Store)
|
|
246
|
+
2. `~/Library/Application Support/{Channel Works,Channel Talk}/Cookies` (Electron version)
|
|
247
247
|
|
|
248
248
|
**Windows:**
|
|
249
249
|
|
|
250
|
-
1. `%APPDATA%\Channel Talk\Network\Cookies`
|
|
250
|
+
1. `%APPDATA%\{Channel Works,Channel Talk}\Network\Cookies`
|
|
251
251
|
|
|
252
252
|
If none exist, either install the Channel Talk desktop app and log in, or log in via a Chromium browser (Chrome, Edge, Arc, Brave, etc.) — the CLI will fall back to browser extraction automatically.
|
|
253
253
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-messenger",
|
|
3
|
-
"version": "2.32.
|
|
3
|
+
"version": "2.32.2",
|
|
4
4
|
"description": "Multi-platform messaging CLI for AI agents (Slack, Discord, Teams, Webex, Telegram, Telegram Bot, WhatsApp, LINE, iMessage, Instagram, KakaoTalk, Channel Talk)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -193,6 +193,7 @@
|
|
|
193
193
|
"pngjs": "^7.0.0",
|
|
194
194
|
"qrcode": "^1.5.4",
|
|
195
195
|
"thrift": "^0.20.0",
|
|
196
|
+
"tough-cookie": "^6.0.2",
|
|
196
197
|
"tweetnacl": "^1.0.3",
|
|
197
198
|
"webex-message-handler": "^0.6.10",
|
|
198
199
|
"ws": "^8.19.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agent-channeltalk
|
|
3
3
|
description: Interact with Channel Talk using extracted desktop app or browser credentials - read chats, send messages, search messages, manage groups
|
|
4
|
-
version: 2.32.
|
|
4
|
+
version: 2.32.2
|
|
5
5
|
allowed-tools: Bash(agent-channeltalk:*)
|
|
6
6
|
metadata:
|
|
7
7
|
openclaw:
|
|
@@ -438,14 +438,14 @@ npx -y agent-messenger channeltalk snapshot --pretty
|
|
|
438
438
|
|
|
439
439
|
### Channel Talk desktop app not found
|
|
440
440
|
|
|
441
|
-
The CLI looks for the
|
|
441
|
+
The CLI looks for the desktop app's cookie database in these locations. The app was rebranded from Channel Talk to Channel Works, so both names are probed, `Channel Works` first.
|
|
442
442
|
|
|
443
443
|
**macOS:**
|
|
444
|
-
1. `~/Library/Containers/com.zoyi.channel.desk.osx/Data/Library/Application Support/Channel Talk/Cookies` (Mac App Store version)
|
|
445
|
-
2. `~/Library/Application Support/Channel Talk/Cookies` (direct download / Electron version)
|
|
444
|
+
1. `~/Library/Containers/com.zoyi.channel.desk.osx/Data/Library/Application Support/{Channel Works,Channel Talk}/Cookies` (Mac App Store version)
|
|
445
|
+
2. `~/Library/Application Support/{Channel Works,Channel Talk}/Cookies` (direct download / Electron version)
|
|
446
446
|
|
|
447
447
|
**Windows:**
|
|
448
|
-
1. `%APPDATA%\Channel Talk\Network\Cookies`
|
|
448
|
+
1. `%APPDATA%\{Channel Works,Channel Talk}\Network\Cookies`
|
|
449
449
|
|
|
450
450
|
If none exist, log in to Channel Talk in a supported Chromium browser (Chrome, Edge, Arc, Brave) or install the desktop app and log in.
|
|
451
451
|
|
|
@@ -29,7 +29,7 @@ Use `--browser-profile <path>` for agent-browser profiles, custom Chrome user da
|
|
|
29
29
|
1. Locates the Channel Talk desktop app's SQLite cookie database
|
|
30
30
|
2. Scans Chromium browser profiles for Channel Talk cookies when the desktop app isn't found, or when custom `--browser-profile` paths are provided
|
|
31
31
|
3. Copies the database to a temp file (avoids locking the original)
|
|
32
|
-
4. Reads `x-account` and `ch-session-1` cookies for `*.channel.io`
|
|
32
|
+
4. Reads `x-account` and `ch-session-1` cookies for `*.channel.io` and `*.channel.works`
|
|
33
33
|
5. Decrypts encrypted cookies if needed (macOS Keychain, Linux peanuts, Windows DPAPI)
|
|
34
34
|
6. Validates cookies against the Channel Talk API
|
|
35
35
|
7. Discovers ALL workspaces you belong to
|
|
@@ -48,15 +48,19 @@ When extracting from the desktop app, no Keychain prompt is needed (cookies are
|
|
|
48
48
|
|
|
49
49
|
### Platform-Specific Paths
|
|
50
50
|
|
|
51
|
+
The desktop app was rebranded from Channel Talk to Channel Works. Both directory names are probed, `Channel Works` first, so upgraded and legacy installs both work.
|
|
52
|
+
|
|
51
53
|
**macOS (Mac App Store / sandboxed):**
|
|
52
54
|
|
|
53
55
|
```
|
|
56
|
+
~/Library/Containers/com.zoyi.channel.desk.osx/Data/Library/Application Support/Channel Works/Cookies
|
|
54
57
|
~/Library/Containers/com.zoyi.channel.desk.osx/Data/Library/Application Support/Channel Talk/Cookies
|
|
55
58
|
```
|
|
56
59
|
|
|
57
60
|
**macOS (Electron / direct download):**
|
|
58
61
|
|
|
59
62
|
```
|
|
63
|
+
~/Library/Application Support/Channel Works/Cookies
|
|
60
64
|
~/Library/Application Support/Channel Talk/Cookies
|
|
61
65
|
```
|
|
62
66
|
|
|
@@ -253,10 +257,10 @@ No credentials are configured and auto-extraction failed:
|
|
|
253
257
|
|
|
254
258
|
The CLI first checks for the desktop app, then falls back to Chromium browsers.
|
|
255
259
|
|
|
256
|
-
Desktop app paths:
|
|
257
|
-
1. **macOS (Mac App Store)**: `~/Library/Containers/com.zoyi.channel.desk.osx/Data/Library/Application Support/Channel Talk/Cookies`
|
|
258
|
-
2. **macOS (Electron)**: `~/Library/Application Support/Channel Talk/Cookies`
|
|
259
|
-
3. **Windows**: `%APPDATA%/Channel Talk/Network/Cookies`
|
|
260
|
+
Desktop app paths (`Channel Works` is the current name, `Channel Talk` the legacy one; both are probed):
|
|
261
|
+
1. **macOS (Mac App Store)**: `~/Library/Containers/com.zoyi.channel.desk.osx/Data/Library/Application Support/{Channel Works,Channel Talk}/Cookies`
|
|
262
|
+
2. **macOS (Electron)**: `~/Library/Application Support/{Channel Works,Channel Talk}/Cookies`
|
|
263
|
+
3. **Windows**: `%APPDATA%/{Channel Works,Channel Talk}/Network/Cookies`
|
|
260
264
|
|
|
261
265
|
If neither the desktop app nor browser cookies are found:
|
|
262
266
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agent-discord
|
|
3
3
|
description: Interact with Discord servers - send messages, read channels, manage reactions
|
|
4
|
-
version: 2.32.
|
|
4
|
+
version: 2.32.2
|
|
5
5
|
allowed-tools: Bash(agent-discord:*)
|
|
6
6
|
metadata:
|
|
7
7
|
openclaw:
|
|
@@ -212,7 +212,9 @@ agent-discord message search "hello" --channel <channel-id> --author <user-id>
|
|
|
212
212
|
### Channel Commands
|
|
213
213
|
|
|
214
214
|
```bash
|
|
215
|
-
# List channels in current server
|
|
215
|
+
# List channels in current server
|
|
216
|
+
# Includes text, announcement, voice/stage (voice channels carry text chat),
|
|
217
|
+
# forum, media, and directory channels. Categories and threads are excluded.
|
|
216
218
|
agent-discord channel list
|
|
217
219
|
|
|
218
220
|
# Get channel info
|
|
@@ -377,9 +379,11 @@ agent-discord snapshot --full --limit 10
|
|
|
377
379
|
Default returns brief JSON with:
|
|
378
380
|
|
|
379
381
|
- Server metadata (id, name)
|
|
380
|
-
- Channels (id, name) —
|
|
382
|
+
- Channels (id, name) — all listable channels (text, announcement, voice/stage, forum, media, directory; excludes categories and threads)
|
|
381
383
|
- Hint for next commands
|
|
382
384
|
|
|
385
|
+
> Not every listed channel accepts a direct `message list`. Forum, media, and directory channels are containers or hub views with no direct message timeline — their messages live in child posts/threads. Use text, announcement, voice, or stage channels for `message list`.
|
|
386
|
+
|
|
383
387
|
With `--full`, returns comprehensive JSON with:
|
|
384
388
|
|
|
385
389
|
- Server metadata (id, name)
|
|
@@ -556,7 +560,7 @@ See the [Discord SDK documentation](https://agent-messenger.dev/docs/sdk/discord
|
|
|
556
560
|
|
|
557
561
|
## Limitations
|
|
558
562
|
|
|
559
|
-
- No voice
|
|
563
|
+
- No voice audio support (voice/stage channels are listed and their embedded text chat is readable, but joining voice or streaming audio is unsupported)
|
|
560
564
|
- No server management (create/delete channels, roles)
|
|
561
565
|
- No slash commands
|
|
562
566
|
- No webhook support
|
|
@@ -87,12 +87,16 @@ CHANNEL_COUNT=$(echo "$SNAPSHOT" | jq -r '.channels | length')
|
|
|
87
87
|
echo "Server: $SERVER_NAME"
|
|
88
88
|
echo "Channels: $CHANNEL_COUNT"
|
|
89
89
|
|
|
90
|
-
# List all
|
|
90
|
+
# List all channels
|
|
91
91
|
echo -e "\nChannels:"
|
|
92
92
|
echo "$SNAPSHOT" | jq -r '.channels[] | " #\(.name) (\(.id))"'
|
|
93
93
|
|
|
94
|
-
# Then drill into a specific channel for recent activity
|
|
95
|
-
|
|
94
|
+
# Then drill into a specific channel for recent activity.
|
|
95
|
+
# Only text (0), announcement (5), voice (2), and stage (13) channels accept
|
|
96
|
+
# `message list`; forum (15), media (16), and directory (14) channels do not.
|
|
97
|
+
# A full snapshot includes `type`, so pick the first message-readable channel.
|
|
98
|
+
FULL=$(agent-discord snapshot --full)
|
|
99
|
+
CHANNEL_ID=$(echo "$FULL" | jq -r '[.channels[] | select(.type == 0 or .type == 5 or .type == 2 or .type == 13)][0].id // empty')
|
|
96
100
|
if [ -n "$CHANNEL_ID" ]; then
|
|
97
101
|
echo -e "\nRecent messages:"
|
|
98
102
|
agent-discord message list "$CHANNEL_ID" --limit 10
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agent-slack
|
|
3
3
|
description: Interact with Slack workspaces - send messages, read channels, manage reactions
|
|
4
|
-
version: 2.32.
|
|
4
|
+
version: 2.32.2
|
|
5
5
|
allowed-tools: Bash(agent-slack:*)
|
|
6
6
|
metadata:
|
|
7
7
|
openclaw:
|
|
@@ -607,7 +607,30 @@ await new SlackCredentialManager().setWorkspace({
|
|
|
607
607
|
})
|
|
608
608
|
```
|
|
609
609
|
|
|
610
|
-
`loginWithQr(dataUrl, options)` accepts an optional `{ debug, fetchImpl, maxRedirects }`. It throws `SlackError` with codes `qr_session_failed` (link expired / no session) or `qr_token_failed` (token could not be retrieved). To decode the QR without logging in, use `decodeSlackQr(dataUrl)` which returns `{ url, workspace, teamId, userId }`.
|
|
610
|
+
`loginWithQr(dataUrl, options)` accepts an optional `{ debug, fetchImpl, maxRedirects, requestConfirmationCode }`. It throws `SlackError` with codes `qr_session_failed` (link expired / no session) or `qr_token_failed` (token could not be retrieved). To decode the QR without logging in, use `decodeSlackQr(dataUrl)` which returns `{ url, workspace, teamId, userId }`.
|
|
611
|
+
|
|
612
|
+
### Handling Slack confirmation codes (workspace 2FA)
|
|
613
|
+
|
|
614
|
+
Some workspaces make a QR sign-in surface a confirmation-code page (email code, SMS, TOTP, etc.) before issuing the session cookie. Pass `requestConfirmationCode` to complete that step. The callback is only invoked when Slack actually shows a confirmation page — ordinary QR logins that receive the session cookie directly stay prompt-free.
|
|
615
|
+
|
|
616
|
+
```typescript
|
|
617
|
+
import { loginWithQr, type SlackConfirmationChallenge } from 'agent-messenger/slack'
|
|
618
|
+
|
|
619
|
+
const session = await loginWithQr(dataUrl, {
|
|
620
|
+
requestConfirmationCode: async (challenge: SlackConfirmationChallenge) => {
|
|
621
|
+
// challenge.email is the address Slack sent the code to.
|
|
622
|
+
// challenge.type is the mechanism ("email", "sms", "totp", ...) or null if unknown.
|
|
623
|
+
return await promptUserForCode(challenge)
|
|
624
|
+
},
|
|
625
|
+
})
|
|
626
|
+
```
|
|
627
|
+
|
|
628
|
+
Contract:
|
|
629
|
+
|
|
630
|
+
- Return the raw code as a `string`. Whitespace is trimmed before submission.
|
|
631
|
+
- Return an empty string (or all whitespace) to abort — `loginWithQr` throws `qr_session_failed` and no code is posted.
|
|
632
|
+
- The code is submitted to the exact `https://<workspace>.slack.com/login/<qrSecret>` endpoint bound to the QR payload. Redirects to a different workspace host or an unexpected pathname reject the flow before the callback is invoked.
|
|
633
|
+
- The callback and `email`/`type` fields never appear in `debug` output.
|
|
611
634
|
|
|
612
635
|
## SDK: Real-Time Events
|
|
613
636
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agent-webexbot
|
|
3
3
|
description: Interact with Cisco Webex using bot tokens - send messages, reply in threads, upload and download files, look up people, read spaces, manage memberships, stream real-time events
|
|
4
|
-
version: 2.32.
|
|
4
|
+
version: 2.32.2
|
|
5
5
|
allowed-tools: Bash(agent-webexbot:*)
|
|
6
6
|
metadata:
|
|
7
7
|
openclaw:
|