Liang Jiaqing
b525684378
fix: hoist filter should not catch sticky elements or oversized containers
...
- Remove position:sticky from hoist criteria (sticky is scroll-following, not popup)
- Add cover < 1.0 upper bound (real dialogs do not exceed viewport area)
2026-04-07 10:17:55 +08:00
Liang Jiaqing
054674baa1
simphtml: elementFromPoint弹窗修复 + findMainList评分优化 + _ljq ID注入 + smart_truncate重写
2026-04-07 10:10:27 +08:00
Liang Jiaqing
8e829730a9
smart truncation, iframe preservation, streamlit filter
...
- simphtml: truncate_biggest replaces naive string cut, targets fattest content block via 70% drill-down
- simphtml: iframe children preserved through div proxy (bypass BS4 limitation)
- background/content.js: filter streamlit tabs and skip content script injection
- ga.py: file_content tag regex allows attributes; maxchars 38k->35k
2026-04-06 12:19:20 +08:00
Liang Jiaqing
555eeabf56
simphtml: SVG className fix, CSS.escape, DOMRect compat, cutlist tuning; tmwebdriver_sop update
2026-04-03 22:34:41 +08:00
Liang Jiaqing
97abc43a40
refactor(simphtml): rewrite list detection & cutlist for multi-list support
...
- simphtml: replace center-point ancestor-chain approach with global container scan;
support multiple lists per page; add container-scoped selector prefixes;
inline FAKE ELEMENT hints with hidden item previews; remove findMainContent
- ga: hot-reload simphtml on each web_scan; fix file_read total_lines for keyword search;
add errors='replace' for global_mem encoding safety
- llmcore: stabilize NativeClaude session/device IDs across requests;
rename no_system_prompt to fake_cc_system_prompt; deep-copy message content
- launch: adjust window width 700->600
2026-04-03 19:38:51 +08:00
Liang Jiaqing
5bc763d319
fix(simphtml): improve bounding box calculation for transparent containers by using children union rect
2026-04-03 11:14:25 +08:00
Liang Jiaqing
8d537e954b
fix: simphtml visibility/dialog/SVG improvements & minor agent fixes
...
- simphtml: rewrite visibility inheritance (area-based maxC), add isVisible to childrenInfo,
fix className SVG compat (getAttribute), expand isDialog detection, hoist deep fixed dialogs,
clear SVG attrs, fix warning message concat
- ga: return error messages instead of None for code_run/web_execute_js failures
- stapp: disable unsafe_allow_html
- code_run_header: add excepthook hint for ImportError/AttributeError
- mykey_template: remove stale prompt_cache comment
2026-04-03 09:40:09 +08:00
Liang Jiaqing
117028b5d9
simphtml: refine pathType detection, simplify secondary marking, init response, reduce sleep
2026-03-30 20:37:27 +08:00
Liang Jiaqing
f320d141a0
feat: CDP bridge extension integration - ext_ws session type, DOM-channel CDP/batch/cookies/tabs, autofill bringToFront fix, await support in SOP
2026-03-30 20:01:27 +08:00
Jiaqing Liang
eb8834b9df
feat: enhance text_only mode - add form element annotations, block-level line breaks, and whitespace cleanup
2026-03-23 15:26:05 +08:00
Liang Jiaqing
908c1a52ed
perf: localhost→127.0.0.1 fix IPv6 2s delay; simphtml radio/checkbox/svg/dropdown fixes; poll interval 0.5→0.2s
2026-03-13 20:13:33 +08:00
Jiaqing Liang
1520a85a9e
simphtml: remove dead code (js_cleanDOM, isValidInteractiveElement, redundant return)
2026-03-11 15:18:23 +08:00
Jiaqing Liang
33f2df4270
feat: 添加web_scan的text_only参数支持Shadow DOM文本提取
2026-03-11 14:48:19 +08:00
Liang Jiaqing
7ab47af8e8
fix: zIndex auto coverage bug + monitor maxchars unlimit + autofill CDP sop update
2026-03-07 10:10:26 +08:00
Jiaqing Liang
c6af92e612
feat: web_scan iframe穿透 + plan_sop术语优化
2026-03-06 00:09:52 +08:00
Liang Jiaqing
313f8a28f0
feat: CDP bridge batch support - cookies/tabs/cdp mixed commands, lazy attach, $N chain refs, file upload & screenshot verified
2026-03-04 13:06:21 +08:00
Liang Jiaqing
3f8407a853
CDP bridge扩展完善+SOP精简+insight修复+plan_sop+autonomous_sop更新
2026-03-04 12:02:50 +08:00
Jiaqing Liang
9ae045c93c
launch: auto port discovery; simphtml: init newTabs; SOP docs update
2026-02-25 12:56:40 +08:00
Liang Jiaqing
83167e47a6
refactor: remove detect_newtab, use session dict diff for new tab detection
2026-02-25 08:47:02 +08:00
Liang Jiaqing
708ffb3248
rename: update_working_mem->update_working_ckp, trigger_memory_update->start_long_term_update; add tab_id to execute_js_rich; remove debug print
2026-02-24 22:27:18 +08:00
Liang Jiaqing
09b0cec45a
update simphtml.py
2026-02-22 13:27:10 +08:00
Liang Jiaqing
a2c6bd9d90
feat: newtab机制支持 & 相关优化
2026-02-22 13:19:17 +08:00
Liang Jiaqing
bf5554e7a8
feat: simphtml保留表单value属性+列表裁剪提示; web_execute_js支持switch_tab_id
2026-02-22 11:03:28 +08:00
Liang Jiaqing
66ae64c98e
refine: tool descriptions, js diff top_change, compact find_changed_elements
2026-02-22 09:28:57 +08:00
Liang Jiaqing
8329efeb9c
add cookie_grabber extension; minor fixes to TMWebDriver/SOPs/simphtml
2026-02-19 18:40:28 +08:00
Liang Jiaqing
67c7b3fa71
docs: 补充mem_scanner和web_setup SOP;优化代码风格和上下文管理
2026-02-16 22:33:50 +08:00
Liang Jiaqing
4163341bb3
harden execute_js_rich + fix GBK encoding crash on pyw
2026-02-13 15:54:52 +08:00
Liang Jiaqing
69153f7a42
multi oai config support, timeout fix, execute_js_rich optimization
2026-02-12 16:56:11 +08:00
Liang Jiaqing
6e6e5d989d
优化:移除unused依赖、懒加载和容错处理
2026-02-01 20:03:39 +08:00
Liang Jiaqing
35a1b70208
Refactor: restructure directory and clean up redundant scripts
2026-02-01 08:58:26 +08:00
Jiaqing Liang
01c477c050
chore: self-commit core logic updates and agent state
2026-01-30 14:51:52 +08:00
Liang Jiaqing
7810f38f44
optimize: add -X utf8 to python subprocess in ga.py to fix unicode output issues
2026-01-29 18:41:46 +08:00
Liang Jiaqing
424ddc4ab1
Update core logic and prompts
2026-01-28 09:29:56 +08:00
Liang Jiaqing
9b20ca8297
fix: restore files removed by mistake and keep zip ignored
2026-01-16 23:50:19 +08:00
Liang Jiaqing
27c78d08db
chore: ignore zip files
2026-01-16 23:50:07 +08:00
Liang Jiaqing
1c13bf5526
Initial commit for GenericAgent
2026-01-16 23:43:35 +08:00