Fix: Remove duplicate Protocol.kt, fix CLIENT_ID in Messages.kt
This commit is contained in:
parent
69f39ef3a3
commit
047ef52225
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue