Commit Graph

6 Commits

Author SHA1 Message Date
James (ClawdBot) 4462bf4cdf fix: Resolve NotificationManager import conflict
Use alias for our custom NotificationManager to avoid conflict with android.app.NotificationManager
2026-01-28 22:25:38 +00:00
James (ClawdBot) e3b68c9c21 feat: Add DirectGateway - our own WebSocket server
- DirectGateway.kt: bidirectional WebSocket to ws://100.123.216.65:9878
- No auth, no restrictions - full control
- Sends notifications and calls
- Receives commands: notification.action, call.answer/reject/hangup
- App sets up command handlers and auto-connects
- NotificationListener & CallScreener now send to both debug + gateway

Server: /home/johan/dev/clawdnode-gateway/server.js
HTTP API: http://100.123.216.65:9877
WebSocket: ws://100.123.216.65:9878
2026-01-28 21:55:50 +00:00
James (ClawdBot) e0835e0626 feat: Add direct HTTP debug logging
- Add DebugClient that POSTs directly to debug server (100.123.216.65:9876)
- NotificationListener: POST all events directly, full lifecycle logging
- CallScreener: POST all calls directly, full lifecycle logging
- App: Log startup and initialization
- Bypass WebSocket complexity for debugging visibility

Debug server: node /home/johan/dev/clawdnode-debug-server/server.js
Tail: tail -f /tmp/clawdnode-debug.log
2026-01-28 21:15:11 +00:00
James (ClawdBot) 97a095e073 Fix: Implement proper Gateway WebSocket protocol
- Connect to /ws endpoint instead of /ws/node?token=...
- Handle connect.challenge event and send proper handshake
- Implement protocol v3 frame types (req/res/event)
- Add node.invoke command handling for gateway RPC
- Create DeviceIdentity for challenge signing (EC P-256 via Keystore)
- Declare caps: notifications, calls, voice
- Declare commands: notification.action/dismiss, call.answer/reject/speak/hangup
- Send proper responses for node.invoke requests
2026-01-28 05:24:48 +00:00
James (ClawdBot) 16c0fce034 Fix: Remove BuildConfig reference (generated at build time) 2026-01-28 03:53:48 +00:00
James (ClawdBot) 003d26cd4d v0.1 - Initial ClawdNode Android app 2026-01-28 03:49:06 +00:00