Fix: Remove duplicate Protocol.kt, fix CLIENT_ID in Messages.kt

This commit is contained in:
James (ClawdBot) 2026-01-28 08:04:34 +00:00
parent 69f39ef3a3
commit 047ef52225
2 changed files with 1 additions and 20 deletions

View File

@ -24,7 +24,7 @@ import com.google.gson.annotations.SerializedName
object Protocol { object Protocol {
const val VERSION = 3 const val VERSION = 3
const val CLIENT_ID = "android-node" const val CLIENT_ID = "clawdbot-android"
const val PLATFORM = "android" const val PLATFORM = "android"
const val MODE = "node" const val MODE = "node"
const val ROLE = "node" const val ROLE = "node"

View File

@ -1,19 +0,0 @@
package com.inou.clawdnode.protocol
/**
* Clawdbot Gateway Protocol constants.
* Values from clawdbot/gateway/protocol/client-info.js
*/
object Protocol {
// Gateway client identifier for Android app
const val CLIENT_ID = "clawdbot-android"
// Client mode - "node" for ClawdNode companion apps
const val MODE = "node"
// Platform identifier
const val PLATFORM = "android"
// Role for node connections
const val ROLE = "node"
}