Jiaqing Liang
caa41dd08e
refactor(tmwebdriver): remove legacy DOM bridge and guard HTTP origin
2026-07-22 15:48:12 +08:00
Kailigithub
425ec1a02e
fix(tmwebdriver): wrap prints in safe_print to survive stdout revoke ( #673 )
...
When OS revokes master stdout, bare print() raises BrokenPipeError and aborts WS handle before tab registration, causing stale web_scan data and extension reconnect loops. Mirror ga.py safe_print across TMWebDriver log sites.
Closes #672
2026-07-14 20:11:55 +08:00
Liang Jiaqing
8a823c940e
docs+fix: README install overhaul, self-hosted install scripts, TMWebDriver logging fix
...
- README (EN): clone+uv as recommended install; one-line installer demoted to convenience with script source link; drop unpolished exe section; recommend frontends/tui_v3.py (prompt_toolkit+rich, not Textual); note agent core's single dependency (requests); TMWebdriver naming
- assets: add ga_install.ps1/.sh (GLOBAL mode uses GitHub/astral-sh sources)
- TMWebDriver.py: don't let logging failure mask successful remote JS result
2026-06-10 23:18:10 +08:00
Jiaqing Liang
3f1b683651
refactor: simplify driver init wait; clarify TMWebDriver master error msg
2026-06-09 14:23:49 +08:00
Jiaqing Liang
bc09ceb4e9
goal_hive master duty: 按第一性原理/工程控制论重写为49行(探测-设计-执行-检查分形循环+J*/y/e),实验验证后增补验收线/锁边界质疑目标/遗留项如实入报告; TMWebDriver: 修mark_disconnected重复打印
2026-06-02 15:01:52 +08:00
Kailigithub
dd9a9c5b04
修复:清理 TMWebDriver 未使用的导入,修正裸 except 语法 ( #311 )
...
Co-authored-by: Kailigithub <Kailigithub@users.noreply.github.com >
2026-05-09 15:00:39 +08:00
Kailigithub
d8dc236c55
fix: add request timeout and replace assert with proper exception
2026-05-05 03:08:55 +00:00
Liang Jiaqing
892319b355
remove newtab, add terminal QR, refine task_planning sop
2026-05-04 12:39:41 +08:00
Liang Jiaqing
564f05aeee
improve TMWebDriver connection error message and SOP
2026-04-29 14:02:43 +08:00
Jiaqing Liang
d0d9741319
fix prompt flow
2026-04-15 13:57:36 +08:00
Liang Jiaqing
042259dcaa
TMWebDriver: add debug logs + CDP bridge refactor (action→cmd, extract buildExecScript, handleWsExec routing)
2026-03-31 20:37:05 +08:00
Liang Jiaqing
e47a85ba41
fix: buildCdpScript add smartProcessResult to prevent CDP serialization error on complex DOM (GitHub issues, Gmail etc); update SOP docs
2026-03-30 22:30:34 +08:00
Liang Jiaqing
8b2055c673
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
Liang Jiaqing
926cbe59dd
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
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
d7608a01f3
chore: minor tweaks - fix newline replace scope, relax turn limits, wording
2026-02-22 23:59:16 +08:00
Liang Jiaqing
a2c6bd9d90
feat: newtab机制支持 & 相关优化
2026-02-22 13:19:17 +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
2cb7c079a7
refactor: use vars(mykey) to preserve key order, fix .items() iteration
2026-02-19 09:28:29 +08:00
Liang Jiaqing
e3d2b3d14c
fix: WS session reconnect + replace tornado with wsgiref + simplify SOP
2026-02-18 19:06:21 +08:00
Liang Jiaqing
67c7b3fa71
docs: 补充mem_scanner和web_setup SOP;优化代码风格和上下文管理
2026-02-16 22:33:50 +08:00
Liang Jiaqing
8d3582e3b7
feat: add ACK mechanism for WS execute_js + timeout diagnostics
...
- TMWebDriver: add self.acks dict, HTTP implicit ACK on longpoll dequeue, WS explicit ACK handler, enhanced timeout diagnostics (4 cases)
- Fix: data.get('type') in 'result' -> == 'result'
- JS userscript: send ACK on script receive
- tgapp: fix proxy URL prefix
- mykey_template: add tg/proxy fields
2026-02-13 15:30:49 +08:00
Liang Jiaqing
69153f7a42
multi oai config support, timeout fix, execute_js_rich optimization
2026-02-12 16:56:11 +08:00
Jiaqing Liang
80862f9b56
增强TMWebDriver会话超时与无会话错误提示
2026-02-02 10:47:10 +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