nicer icons. different port

This commit is contained in:
Tommy D. Rossi
2025-11-16 11:29:35 +01:00
parent 52d2726d7d
commit 29488aca76
25 changed files with 27 additions and 27 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 571 B

After

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 774 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 999 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 530 B

After

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 913 B

After

Width:  |  Height:  |  Size: 764 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 776 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

+7 -7
View File
@@ -2,7 +2,7 @@ import { RelayConnection, debugLog } from './relayConnection'
import { create } from 'zustand'
// Relay URL - fixed port for MCP bridge
const RELAY_URL = 'ws://localhost:9988/extension'
const RELAY_URL = 'ws://localhost:19988/extension'
type ConnectionState = 'disconnected' | 'reconnecting' | 'connected' | 'error'
@@ -42,10 +42,10 @@ chrome.runtime.onInstalled.addListener((details) => {
const icons = {
connected: {
path: {
'16': '/icons/icon-green-16.png',
'32': '/icons/icon-green-32.png',
'48': '/icons/icon-green-48.png',
'128': '/icons/icon-green-128.png',
'16': '/icons/icon-16.png',
'32': '/icons/icon-32.png',
'48': '/icons/icon-48.png',
'128': '/icons/icon-128.png',
},
title: 'Connected - Click to disconnect',
badgeText: '',
@@ -122,12 +122,12 @@ async function ensureConnection(): Promise<void> {
}
debugLog('No existing connection, creating new relay connection')
debugLog('Waiting for server at http://localhost:9988...')
debugLog('Waiting for server at http://localhost:19988...')
useExtensionStore.setState({ connectionState: 'reconnecting' })
while (true) {
try {
await fetch('http://localhost:9988', { method: 'HEAD' })
await fetch('http://localhost:19988', { method: 'HEAD' })
debugLog('Server is available')
break
} catch (error: any) {