Skip to content

Commit ed71d4e

Browse files
committed
fix: use class-based detection for model selector dropdown
1 parent 15c27fb commit ed71d4e

File tree

8 files changed

+502
-12
lines changed

8 files changed

+502
-12
lines changed

.amazonq/agents/default.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"name": "q_ide_default",
3+
"description": "Default agent configuration",
4+
"prompt": "",
5+
"mcpServers": {
6+
"huggingface-remote": {
7+
"type": "registry",
8+
"timeout": 60000
9+
}
10+
},
11+
"tools": [
12+
"fs_read",
13+
"execute_bash",
14+
"fs_write",
15+
"report_issue",
16+
"use_aws",
17+
"@huggingface-remote"
18+
],
19+
"toolAliases": {},
20+
"allowedTools": [
21+
"fs_read",
22+
"report_issue",
23+
"use_aws",
24+
"execute_bash",
25+
"fs_write"
26+
],
27+
"toolsSettings": {
28+
"use_aws": {
29+
"preset": "readOnly"
30+
},
31+
"execute_bash": {
32+
"preset": "readOnly"
33+
}
34+
},
35+
"resources": [
36+
"file://AmazonQ.md",
37+
"file://README.md",
38+
"file://.amazonq/rules/**/*.md"
39+
],
40+
"hooks": {
41+
"agentSpawn": [],
42+
"userPromptSubmit": []
43+
},
44+
"useLegacyMcpJson": true
45+
}

aws haiku

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Cloud services rise,
2+
Lambda functions dance in code,
3+
AWS toolkit.
4+
5+
Serverless dreams flow,
6+
JetBrains IDE embraces,
7+
Amazon's power.
8+
9+
Regions far and wide,
10+
S3 buckets hold our data,
11+
Innovation soars.

mcp_server.log

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
2025-11-19 14:50:27,546 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
2+
2025-11-19 14:50:27,547 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
3+
2025-11-19 14:50:27,547 - mcp_sqlite_server - INFO - Initializing McpServer
4+
2025-11-19 14:50:27,547 - mcp_sqlite_server - DEBUG - Initializing database connection
5+
2025-11-19 14:50:27,548 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
6+
2025-11-19 14:50:27,548 - mcp_sqlite_server - DEBUG - Registering handlers
7+
2025-11-19 14:50:27,569 - mcp_sqlite_server - INFO - Server running with stdio transport
8+
2025-11-19 15:04:21,071 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
9+
2025-11-19 15:04:21,072 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
10+
2025-11-19 15:04:21,072 - mcp_sqlite_server - INFO - Initializing McpServer
11+
2025-11-19 15:04:21,073 - mcp_sqlite_server - DEBUG - Initializing database connection
12+
2025-11-19 15:04:21,074 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
13+
2025-11-19 15:04:21,074 - mcp_sqlite_server - DEBUG - Registering handlers
14+
2025-11-19 15:04:21,104 - mcp_sqlite_server - INFO - Server running with stdio transport
15+
2025-11-19 15:04:29,259 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
16+
2025-11-19 15:04:29,260 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
17+
2025-11-19 15:04:29,260 - mcp_sqlite_server - INFO - Initializing McpServer
18+
2025-11-19 15:04:29,260 - mcp_sqlite_server - DEBUG - Initializing database connection
19+
2025-11-19 15:04:29,262 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
20+
2025-11-19 15:04:29,262 - mcp_sqlite_server - DEBUG - Registering handlers
21+
2025-11-19 15:04:29,269 - mcp_sqlite_server - INFO - Server running with stdio transport
22+
2025-11-19 15:13:50,095 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
23+
2025-11-19 15:13:50,096 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
24+
2025-11-19 15:13:50,096 - mcp_sqlite_server - INFO - Initializing McpServer
25+
2025-11-19 15:13:50,096 - mcp_sqlite_server - DEBUG - Initializing database connection
26+
2025-11-19 15:13:50,098 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
27+
2025-11-19 15:13:50,098 - mcp_sqlite_server - DEBUG - Registering handlers
28+
2025-11-19 15:13:50,105 - mcp_sqlite_server - INFO - Server running with stdio transport
29+
2025-11-19 15:16:00,259 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
30+
2025-11-19 15:16:00,259 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
31+
2025-11-19 15:16:00,259 - mcp_sqlite_server - INFO - Initializing McpServer
32+
2025-11-19 15:16:00,259 - mcp_sqlite_server - DEBUG - Initializing database connection
33+
2025-11-19 15:16:00,261 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
34+
2025-11-19 15:16:00,261 - mcp_sqlite_server - DEBUG - Registering handlers
35+
2025-11-19 15:16:00,271 - mcp_sqlite_server - INFO - Server running with stdio transport
36+
2025-11-19 15:17:08,765 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
37+
2025-11-19 15:17:08,766 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
38+
2025-11-19 15:17:08,766 - mcp_sqlite_server - INFO - Initializing McpServer
39+
2025-11-19 15:17:08,766 - mcp_sqlite_server - DEBUG - Initializing database connection
40+
2025-11-19 15:17:08,766 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
41+
2025-11-19 15:17:08,766 - mcp_sqlite_server - DEBUG - Registering handlers
42+
2025-11-19 15:17:08,771 - mcp_sqlite_server - INFO - Server running with stdio transport
43+
2025-11-19 15:23:38,929 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
44+
2025-11-19 15:23:38,930 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
45+
2025-11-19 15:23:38,930 - mcp_sqlite_server - INFO - Initializing McpServer
46+
2025-11-19 15:23:38,930 - mcp_sqlite_server - DEBUG - Initializing database connection
47+
2025-11-19 15:23:38,930 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
48+
2025-11-19 15:23:38,930 - mcp_sqlite_server - DEBUG - Registering handlers
49+
2025-11-19 15:23:38,933 - mcp_sqlite_server - INFO - Server running with stdio transport
50+
2025-11-19 15:36:57,509 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
51+
2025-11-19 15:36:57,510 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
52+
2025-11-19 15:36:57,510 - mcp_sqlite_server - INFO - Initializing McpServer
53+
2025-11-19 15:36:57,510 - mcp_sqlite_server - DEBUG - Initializing database connection
54+
2025-11-19 15:36:57,511 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
55+
2025-11-19 15:36:57,512 - mcp_sqlite_server - DEBUG - Registering handlers
56+
2025-11-19 15:36:57,518 - mcp_sqlite_server - INFO - Server running with stdio transport
57+
2025-11-19 15:37:38,682 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
58+
2025-11-19 15:37:38,683 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
59+
2025-11-19 15:37:38,683 - mcp_sqlite_server - INFO - Initializing McpServer
60+
2025-11-19 15:37:38,683 - mcp_sqlite_server - DEBUG - Initializing database connection
61+
2025-11-19 15:37:38,683 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
62+
2025-11-19 15:37:38,683 - mcp_sqlite_server - DEBUG - Registering handlers
63+
2025-11-19 15:37:38,686 - mcp_sqlite_server - INFO - Server running with stdio transport
64+
2025-11-19 15:37:56,071 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
65+
2025-11-19 15:37:56,072 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
66+
2025-11-19 15:37:56,072 - mcp_sqlite_server - INFO - Initializing McpServer
67+
2025-11-19 15:37:56,072 - mcp_sqlite_server - DEBUG - Initializing database connection
68+
2025-11-19 15:37:56,072 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
69+
2025-11-19 15:37:56,072 - mcp_sqlite_server - DEBUG - Registering handlers
70+
2025-11-19 15:37:56,075 - mcp_sqlite_server - INFO - Server running with stdio transport
71+
2025-11-19 15:38:03,676 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
72+
2025-11-19 15:38:03,677 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
73+
2025-11-19 15:38:03,677 - mcp_sqlite_server - INFO - Initializing McpServer
74+
2025-11-19 15:38:03,677 - mcp_sqlite_server - DEBUG - Initializing database connection
75+
2025-11-19 15:38:03,678 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
76+
2025-11-19 15:38:03,678 - mcp_sqlite_server - DEBUG - Registering handlers
77+
2025-11-19 15:38:03,684 - mcp_sqlite_server - INFO - Server running with stdio transport
78+
2025-11-19 15:38:07,425 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
79+
2025-11-19 15:38:07,426 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
80+
2025-11-19 15:38:07,426 - mcp_sqlite_server - INFO - Initializing McpServer
81+
2025-11-19 15:38:07,426 - mcp_sqlite_server - DEBUG - Initializing database connection
82+
2025-11-19 15:38:07,427 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
83+
2025-11-19 15:38:07,427 - mcp_sqlite_server - DEBUG - Registering handlers
84+
2025-11-19 15:38:07,430 - mcp_sqlite_server - INFO - Server running with stdio transport
85+
2025-11-19 15:38:16,455 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
86+
2025-11-19 15:38:16,456 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
87+
2025-11-19 15:38:16,456 - mcp_sqlite_server - INFO - Initializing McpServer
88+
2025-11-19 15:38:16,456 - mcp_sqlite_server - DEBUG - Initializing database connection
89+
2025-11-19 15:38:16,457 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
90+
2025-11-19 15:38:16,457 - mcp_sqlite_server - DEBUG - Registering handlers
91+
2025-11-19 15:38:16,461 - mcp_sqlite_server - INFO - Server running with stdio transport
92+
2025-11-19 15:38:28,448 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
93+
2025-11-19 15:38:28,449 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
94+
2025-11-19 15:38:28,449 - mcp_sqlite_server - INFO - Initializing McpServer
95+
2025-11-19 15:38:28,449 - mcp_sqlite_server - DEBUG - Initializing database connection
96+
2025-11-19 15:38:28,450 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
97+
2025-11-19 15:38:28,450 - mcp_sqlite_server - DEBUG - Registering handlers
98+
2025-11-19 15:38:28,453 - mcp_sqlite_server - INFO - Server running with stdio transport
99+
2025-11-19 15:39:07,037 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
100+
2025-11-19 15:39:07,038 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
101+
2025-11-19 15:39:07,038 - mcp_sqlite_server - INFO - Initializing McpServer
102+
2025-11-19 15:39:07,038 - mcp_sqlite_server - DEBUG - Initializing database connection
103+
2025-11-19 15:39:07,039 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
104+
2025-11-19 15:39:07,039 - mcp_sqlite_server - DEBUG - Registering handlers
105+
2025-11-19 15:39:07,045 - mcp_sqlite_server - INFO - Server running with stdio transport
106+
2025-11-19 15:39:23,855 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
107+
2025-11-19 15:39:23,855 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
108+
2025-11-19 15:39:23,855 - mcp_sqlite_server - INFO - Initializing McpServer
109+
2025-11-19 15:39:23,855 - mcp_sqlite_server - DEBUG - Initializing database connection
110+
2025-11-19 15:39:23,856 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
111+
2025-11-19 15:39:23,856 - mcp_sqlite_server - DEBUG - Registering handlers
112+
2025-11-19 15:39:23,858 - mcp_sqlite_server - INFO - Server running with stdio transport
113+
2025-11-19 15:40:44,923 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
114+
2025-11-19 15:40:44,924 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
115+
2025-11-19 15:40:44,924 - mcp_sqlite_server - INFO - Initializing McpServer
116+
2025-11-19 15:40:44,924 - mcp_sqlite_server - DEBUG - Initializing database connection
117+
2025-11-19 15:40:44,924 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
118+
2025-11-19 15:40:44,924 - mcp_sqlite_server - DEBUG - Registering handlers
119+
2025-11-19 15:40:44,928 - mcp_sqlite_server - INFO - Server running with stdio transport
120+
2025-11-19 15:41:00,323 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
121+
2025-11-19 15:41:00,324 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
122+
2025-11-19 15:41:00,324 - mcp_sqlite_server - INFO - Initializing McpServer
123+
2025-11-19 15:41:00,324 - mcp_sqlite_server - DEBUG - Initializing database connection
124+
2025-11-19 15:41:00,326 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
125+
2025-11-19 15:41:00,326 - mcp_sqlite_server - DEBUG - Registering handlers
126+
2025-11-19 15:41:00,332 - mcp_sqlite_server - INFO - Server running with stdio transport
127+
2025-11-19 15:43:44,236 - mcp_sqlite_server - INFO - Starting MCP SQLite Server
128+
2025-11-19 15:43:44,236 - mcp_sqlite_server - INFO - Starting SQLite MCP Server with DB path: /tmp/test.db
129+
2025-11-19 15:43:44,236 - mcp_sqlite_server - INFO - Initializing McpServer
130+
2025-11-19 15:43:44,236 - mcp_sqlite_server - DEBUG - Initializing database connection
131+
2025-11-19 15:43:44,237 - mcp_sqlite_server - DEBUG - Initialized database at /tmp/test.db
132+
2025-11-19 15:43:44,237 - mcp_sqlite_server - DEBUG - Registering handlers
133+
2025-11-19 15:43:44,239 - mcp_sqlite_server - INFO - Server running with stdio transport
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
call user aseem king
Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
/* Custom dropdown styles - Hide native select */
2+
select.mynah-form-input {
3+
-webkit-appearance: menulist !important;
4+
appearance: menulist !important;
5+
padding: 0 !important;
6+
}
7+
8+
select.mynah-form-input[data-jb-replaced="true"] {
9+
position: absolute !important;
10+
width: 1px !important;
11+
height: 1px !important;
12+
opacity: 0 !important;
13+
pointer-events: none !important;
14+
}
15+
16+
.mynah-select-handle {
17+
visibility: hidden;
18+
}
19+
20+
/* Custom dropdown container */
21+
.jb-custom-select {
22+
position: absolute !important;
23+
width: 100% !important;
24+
top: 0 !important;
25+
left: 0 !important;
26+
right: 0 !important;
27+
font-family: var(--mynah-font-family) !important;
28+
}
29+
30+
.mynah-form-input-wrapper {
31+
position: relative !important;
32+
min-width: 100% !important;
33+
width: 100% !important;
34+
min-height: 40px !important;
35+
}
36+
37+
.jb-custom-select-trigger {
38+
display: flex !important;
39+
align-items: center !important;
40+
justify-content: space-between !important;
41+
padding: 8px 12px !important;
42+
background: var(--mynah-color-bg) !important;
43+
border: 1px solid var(--mynah-color-border-default) !important;
44+
border-radius: 4px !important;
45+
cursor: pointer !important;
46+
color: var(--mynah-color-text-default) !important;
47+
width: 100% !important;
48+
box-sizing: border-box !important;
49+
}
50+
51+
.jb-custom-select-trigger > span:first-child {
52+
flex: 1 !important;
53+
white-space: nowrap !important;
54+
}
55+
56+
.jb-custom-select-trigger:hover {
57+
border-color: var(--mynah-color-border-hover, var(--mynah-color-border-default)) !important;
58+
}
59+
60+
.jb-custom-select-arrow {
61+
width: 0 !important;
62+
height: 0 !important;
63+
border-left: 4px solid transparent !important;
64+
border-right: 4px solid transparent !important;
65+
border-top: 4px solid var(--mynah-color-text-default) !important;
66+
margin-left: 8px !important;
67+
transition: transform 0.2s !important;
68+
}
69+
70+
.jb-custom-select-arrow.open {
71+
transform: rotate(180deg) !important;
72+
}
73+
74+
/* Modal overlay */
75+
.jb-modal-overlay {
76+
position: fixed !important;
77+
top: 0 !important;
78+
left: 0 !important;
79+
right: 0 !important;
80+
bottom: 0 !important;
81+
background: rgba(0, 0, 0, 0.5) !important;
82+
z-index: 2147483646 !important;
83+
display: none !important;
84+
align-items: flex-end !important;
85+
justify-content: flex-start !important;
86+
padding-bottom: 20px !important;
87+
padding-left: 20px !important;
88+
}
89+
90+
.jb-modal-overlay.open {
91+
display: flex !important;
92+
}
93+
94+
/* Dropdown menu */
95+
.jb-custom-select-dropdown {
96+
background: #252526 !important;
97+
border: 1px solid #454545 !important;
98+
border-radius: 6px !important;
99+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8) !important;
100+
min-width: 300px !important;
101+
max-width: 400px !important;
102+
overflow: hidden !important;
103+
}
104+
105+
.jb-custom-select-option {
106+
padding: 14px 20px !important;
107+
cursor: pointer !important;
108+
font-size: 14px !important;
109+
color: #cccccc !important;
110+
background: #252526 !important;
111+
border-bottom: 1px solid #3e3e42 !important;
112+
transition: background 0.15s !important;
113+
}
114+
115+
.jb-custom-select-option:last-child {
116+
border-bottom: none !important;
117+
}
118+
119+
.jb-custom-select-option:hover {
120+
background: #2a2d2e !important;
121+
color: #ffffff !important;
122+
}
123+
124+
.jb-custom-select-option.selected {
125+
background: #094771 !important;
126+
color: #ffffff !important;
127+
font-weight: 500 !important;
128+
}
129+
130+
.jb-custom-select-option.selected:hover {
131+
background: #0e639c !important;
132+
}

0 commit comments

Comments
 (0)