yiyan-browser-agent 1.0.15 → 1.0.16

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/browser.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yiyan-browser-agent",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "AI coding agent powered by Yiyan (文心一言) via browser automation — no API key needed",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/browser.js CHANGED
@@ -391,6 +391,10 @@ class YiyanBrowser {
391
391
  }
392
392
 
393
393
  const directSelectors = [
394
+ // Yiyan specific: answer text container (highest priority)
395
+ '#answer_text_id',
396
+ '[id="answer_text_id"]',
397
+ // Generic selectors
394
398
  '[class*="answer"]',
395
399
  '[class*="response"]',
396
400
  '[class*="message"][class*="content"]',