@syengup/friday-channel-next
v0.1.30
Published
OpenClaw Friday Next Apple channel plugin
Readme
Friday Next Channel Plugin
friday-next is an OpenClaw channel plugin for Apple apps (iOS/macOS) using HTTP + standard SSE.
Features
- Channel id:
friday-next(alongside legacyfridayif configured) - Transparent proxy SSE: forwards OpenClaw
onAgentEventasevent: agent, dispatchdeliverasevent: deliver, tool hooks asevent: tool-hook, channel pushes asevent: outbound - Single synthetic event:
connected(deviceId,serverTime,lastSeq) - Disk-backed SSE replay per
deviceId(JSONL +Last-Event-ID/lastEventId) for offline gaps and restarts - File upload/download (
POST /friday-next/files,GET /friday-next/files/:id) - Cancel (
POST /friday-next/cancel) and status withactiveRuns(GET /friday-next/status)
Endpoints
GET /friday-next/events?deviceId=...POST /friday-next/messagesPOST /friday-next/filesGET /friday-next/files/:idPOST /friday-next/cancelGET /friday-next/status
See API.md (English) and API.zh-CN.md (Chinese) for payloads, event shapes, offline queue paths, and breaking changes.
Testing
pnpm test:unit— Vitest unit tests (excludes*.e2e.test.ts)pnpm test:e2e— in-process app simulator (vitest.e2e.config.ts)pnpm test—test:unitthentest:e2epnpm test:smoke— optional live gateway smoke (gateway running; token from env or config)
Migration
- There is no
GET/DELETE /friday-next/history; clients must reconstruct state from SSE. - Legacy SSE names (
final,run-start,run-complete,run-error,reasoning,attachment,tts,block, …) are not emitted; useagent+deliver+tool-hook+outbound.
