147 lines
3.1 KiB
YAML
147 lines
3.1 KiB
YAML
configVersion: 1
|
|
userName: multipass
|
|
|
|
providers:
|
|
local:
|
|
adapter: loopback
|
|
platform: loopback
|
|
loopback:
|
|
delayMs: 0
|
|
|
|
slack-native:
|
|
adapter: slack
|
|
platform: slack
|
|
env:
|
|
- SLACK_BOT_TOKEN
|
|
- SLACK_SIGNING_SECRET
|
|
slack:
|
|
recorder:
|
|
path: ./.multipass/recorders/slack-native.jsonl
|
|
webhook:
|
|
host: 127.0.0.1
|
|
port: 8787
|
|
path: /slack/events
|
|
publicUrl: https://example.ngrok.app/slack/events
|
|
|
|
slack-openclaw:
|
|
adapter: script
|
|
platform: slack
|
|
env:
|
|
- OPENCLAW_URL
|
|
- OPENCLAW_TOKEN
|
|
script:
|
|
commands:
|
|
probe: node ./scripts/openclaw-slack-probe.mjs
|
|
send: node ./scripts/openclaw-slack-send.mjs
|
|
waitForInbound: node ./scripts/openclaw-slack-wait.mjs
|
|
|
|
discord-native:
|
|
adapter: discord
|
|
platform: discord
|
|
env:
|
|
- DISCORD_BOT_TOKEN
|
|
discord:
|
|
recorder:
|
|
path: ./.multipass/recorders/discord-native.jsonl
|
|
webhook:
|
|
host: 127.0.0.1
|
|
port: 8788
|
|
path: /discord/interactions
|
|
publicUrl: https://example.ngrok.app/discord/interactions
|
|
|
|
matrix-native:
|
|
adapter: matrix
|
|
platform: matrix
|
|
env:
|
|
- MATRIX_BASE_URL
|
|
- MATRIX_ACCESS_TOKEN
|
|
matrix:
|
|
baseURL: https://matrix.example.com
|
|
recorder:
|
|
path: ./.multipass/recorders/matrix-native.jsonl
|
|
|
|
imessage-native:
|
|
adapter: imessage
|
|
platform: imessage
|
|
env:
|
|
- IMESSAGE_SERVER_URL
|
|
- IMESSAGE_API_KEY
|
|
imessage:
|
|
local: false
|
|
serverUrl: https://imessage-gateway.example.com
|
|
recorder:
|
|
path: ./.multipass/recorders/imessage-native.jsonl
|
|
|
|
fixtures:
|
|
- id: loopback-roundtrip
|
|
provider: local
|
|
mode: roundtrip
|
|
target:
|
|
id: echo-bot
|
|
behavior: echo
|
|
|
|
- id: loopback-agent
|
|
provider: local
|
|
mode: agent
|
|
target:
|
|
id: agent-bot
|
|
behavior: agent
|
|
|
|
- id: slack-openclaw-demo
|
|
provider: slack-openclaw
|
|
mode: roundtrip
|
|
env:
|
|
- OPENCLAW_URL
|
|
- OPENCLAW_TOKEN
|
|
target:
|
|
id: C0123456789
|
|
channelId: slack:C0123456789
|
|
inboundMatch:
|
|
author: assistant
|
|
strategy: contains
|
|
nonce: contains
|
|
|
|
- id: slack-native-agent
|
|
provider: slack-native
|
|
mode: agent
|
|
target:
|
|
id: C0123456789
|
|
channelId: C0123456789
|
|
inboundMatch:
|
|
author: assistant
|
|
strategy: contains
|
|
nonce: contains
|
|
|
|
- id: matrix-native-agent
|
|
provider: matrix-native
|
|
mode: agent
|
|
target:
|
|
id: "!room:example.com"
|
|
channelId: "!room:example.com"
|
|
inboundMatch:
|
|
author: assistant
|
|
strategy: contains
|
|
nonce: contains
|
|
|
|
- id: discord-native-agent
|
|
provider: discord-native
|
|
mode: agent
|
|
target:
|
|
id: "123456789012345678"
|
|
metadata:
|
|
guildId: "987654321098765432"
|
|
inboundMatch:
|
|
author: assistant
|
|
strategy: contains
|
|
nonce: contains
|
|
|
|
- id: imessage-native-agent
|
|
provider: imessage-native
|
|
mode: agent
|
|
target:
|
|
id: chat-guid
|
|
inboundMatch:
|
|
author: assistant
|
|
strategy: contains
|
|
nonce: contains
|