|
@@ -146,6 +146,7 @@ const remoteServerAddresses = computed(() => Object.fromEntries(groups.nodes
|
|
|
.map(node => [node.nodeId, serverAddress(node.serverUrl)])))
|
|
.map(node => [node.nodeId, serverAddress(node.serverUrl)])))
|
|
|
const hostAgent = computed(() => groups.hostProtocol ? groups.agents.find(agent => agent.isHost) : undefined)
|
|
const hostAgent = computed(() => groups.hostProtocol ? groups.agents.find(agent => agent.isHost) : undefined)
|
|
|
const connected = computed(() => ['connected', 'ready'].includes(groups.connectionState))
|
|
const connected = computed(() => ['connected', 'ready'].includes(groups.connectionState))
|
|
|
|
|
+const synced = computed(() => groups.connectionState === 'ready' && !groups.isLoading)
|
|
|
const activeInteraction = computed(() => groupInteraction(groups.pendingInteractions[0]))
|
|
const activeInteraction = computed(() => groupInteraction(groups.pendingInteractions[0]))
|
|
|
const room = computed(() => groups.selectedRoom ? roomToUi(groups.selectedRoom) : null)
|
|
const room = computed(() => groups.selectedRoom ? roomToUi(groups.selectedRoom) : null)
|
|
|
const profiles = computed<GroupProfileOption[]>(() => [
|
|
const profiles = computed<GroupProfileOption[]>(() => [
|
|
@@ -646,7 +647,7 @@ watch(() => auth.activeProfile?.name, profile => { if (profile) restoreShowThink
|
|
|
:loading="groups.isLoading"
|
|
:loading="groups.isLoading"
|
|
|
:has-older="groups.hasMoreBefore"
|
|
:has-older="groups.hasMoreBefore"
|
|
|
:connected="connected"
|
|
:connected="connected"
|
|
|
- :synced="!!groups.selectedRoom"
|
|
|
|
|
|
|
+ :synced="synced"
|
|
|
:show-tools="showThinking"
|
|
:show-tools="showThinking"
|
|
|
:interaction="activeInteraction"
|
|
:interaction="activeInteraction"
|
|
|
:mention-names="mentionNames"
|
|
:mention-names="mentionNames"
|