gemini-proxy-client 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -134,10 +134,12 @@ export class BrowserManager {
134
134
  // 这取决于 Build App 的实现方式
135
135
  // 尝试多种方式找到连接按钮
136
136
  const buttonSelectors = [
137
+ 'button:has-text("Connect WS")', // 实际按钮文字
138
+ 'button[aria-label="Connect WebSocket Proxy"]', // aria-label
139
+ 'button[title="Connect WebSocket Proxy"]', // title 属性
137
140
  'button:has-text("ws connect")',
138
141
  'button:has-text("connect")',
139
- '[data-action="connect"]',
140
- '.connect-button',
142
+ 'button.bg-green-500', // 绿色按钮
141
143
  ];
142
144
  let clicked = false;
143
145
  for (const selector of buttonSelectors) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemini-proxy-client",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Gemini Proxy Build App 客户端 - 使用 Camoufox 自动保持连接",
5
5
  "main": "dist/index.js",
6
6
  "bin": {