@alfe.ai/openclaw-chat
v0.9.19
Published
OpenClaw chat plugin for Alfe — web widget and mobile app channels
Readme
packages/openclaw-chat (@alfe.ai/openclaw-chat)
OpenClaw chat plugin for Alfe — web widget and mobile app channels
What It Does
OpenClaw plugin that registers the alfe channel with the OpenClaw agent runtime. It:
- connects to Alfe's chat relay over an authenticated WebSocket;
- dispatches web, mobile, voice, and agent-to-agent turns through OpenClaw;
- streams tool/thinking activity and persists bounded local history;
- uploads agent-produced media through the attachment presign flow; and
- exposes
list_agents,message_agent,end_conversation, andchat_present_componentsto the model.
Key Files
src/
├── plugin.ts # Activation, relay RPC, dispatch, inbound attachments
├── alfe-channel.ts # Channel config and outbound delivery
├── a2a-tools.ts # Cross-agent and interactive-component tools
├── session-store.ts # Atomic local conversation persistence
├── transcript-activity.ts # Bounded OpenClaw transcript replay
├── outbound-media.ts # Bounded local-media upload
├── index.ts # Public re-exports
└── types.ts # Plugin-specific type definitionsDevelopment
pnpm install
pnpm --filter @alfe.ai/openclaw-chat build
pnpm --filter @alfe.ai/openclaw-chat typecheck
pnpm --filter @alfe.ai/openclaw-chat lintTesting
pnpm --filter @alfe.ai/openclaw-chat testopenclaw is an optional peer dependency supplied by the host runtime. Alfe
API calls use @alfe.ai/agent-api-client; runtime configuration comes from
@alfe.ai/config; the relay transport is @alfe.ai/chat.
Links
- 🌐 Website: https://alfe.ai
- 📚 Docs: https://docs.alfe.ai
