Commit Graph

92 Commits

Author SHA1 Message Date
Liang Jiaqing
273150a9ce feat: publish memory_cleanup_sop 2026-04-15 09:26:46 +08:00
Liang Jiaqing
97560a4fba feat: publish ocr_utils, vision_sop, ui_detect to public repo 2026-04-15 00:00:14 +08:00
Liang Jiaqing
0da9bd15c9 refactor: turn_end_callback + desktop pet + keychain
- agent_loop: next_prompt_patcher -> turn_end_callback with full context
- agent_loop: exit logic unified (break + callback), no early return
- ga: summary extraction moved from tool_after_callback to turn_end_callback
- ga: _turn_end_hooks support for external subscribers
- stapp: desktop pet button with HTTP status push
- keychain: XOR-masked secret storage with SecretStr
- gitignore: whitelist keychain.py
2026-04-13 18:27:17 +08:00
Liang Jiaqing
2b5cbff7be feat: --verbose flag, lazy mykeys loading, temperature config support
- agentmain: add --verbose arg for subagent monitoring mode
- llmcore: lazy-load mykeys/proxies via module __getattr__
- llmcore: fix auto_make_url regex for trailing slash cases
- llmcore: support temperature override from session config
- docs: update subagent.md with --verbose usage note
2026-04-12 14:29:32 +08:00
Liang Jiaqing
9e03a675ae fix: MixinSession copy before override & add no-tools warning; refine subagent SOP 2026-04-11 18:50:26 +08:00
Liang Jiaqing
946c239c03 refactor: rename mem_scanner→procmem_scanner, add L4 layer, remove make_prompts.py 2026-04-11 18:30:00 +08:00
Liang Jiaqing
62ac73c773 feat: task模式干预机制 _stop/_keyinfo/_intervene + consume_file 2026-04-11 17:14:35 +08:00
Liang Jiaqing
de8adf76a9 feat: L4 session archiver + scheduler cron integration
- Add compress_session.py: compress raw model_responses into L4 archives
- Integrate 12h silent cron into scheduler.check() (runs before TASKS dir check)
- Whitelist compress_session.py in .gitignore (archives excluded)
- llmcore: refactor SSE warn handling, max_retries default 2->1
- scheduler: remove unused health_check(), INTERVAL 60->120
2026-04-11 15:55:35 +08:00
Liang Jiaqing
5e28902cb4 cleanup: rm user.js, untrack copilot_proxy.pyw; ljqCtrl: DPI via GDI + GrabWindow(hwnd) 2026-04-10 22:17:24 +08:00
Liang Jiaqing
2977be33c6 Update llmcore truncation, adb_ui parsing, stapp regex, and subagent docs 2026-04-09 18:43:20 +08:00
Liang Jiaqing
6628a3d987 tune: read_timeout 60s, simphtml print/newTabs fix, remove obsolete iframe sop 2026-04-08 20:45:06 +08:00
Liang Jiaqing
1c561db0b9 feat: enhance CDP bridge management and fix JS falsy returns
- background.js: Add management API, auto-return for JS, refactor new tab capture
- simphtml.py: Fix falsy return value bug, flatten return structure
- agent_loop.py: Simplify UI icons
- manifest.json: Add management permission
- tools_schema: Optimize prompts for web tools
- tmwebdriver_sop.md: Update documentation
2026-04-08 18:28:33 +08:00
Jiaqing Liang
25fe3e42fd fix: popup.js action->cmd; add disable_dialogs.js with toast; update manifest 2026-04-07 12:17:18 +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
629e57ad83 Refactor: 统一消息格式和Session架构重构
核心改动:
- 统一所有Session内部使用Claude content-block格式
- 引入BaseSession基类,简化代码结构
- tool_results从字符串改为结构化字典列表
- NativeClaudeSession增强:支持cr_token、metadata、thinking提取
- ToolClient简化:删除structured分支,统一使用protocol prompt
- MixinSession支持按名称选择session
- ljqCtrl_sop增加DPI坐标陷阱警告
2026-04-01 22:20:18 +08:00
Liang Jiaqing
d922303645 TMWebDriver: add debug logs + CDP bridge refactor (action→cmd, extract buildExecScript, handleWsExec routing) 2026-03-31 20:37:05 +08:00
Liang Jiaqing
106c6b04f1 docs: update save_to_file desc, add iframe scan note, cdp_bridge notice 2026-03-31 09:04:22 +08:00
Liang Jiaqing
72a85a0823 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
18d5aafed8 gitignore: universal __pycache__ exclusion, remove tracked .pyc files 2026-03-30 20:39:46 +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
Liang Jiaqing
bc5d1eafaf feat: add --bg/--input flags to agentmain, rename & simplify subagent SOP 2026-03-30 15:03:28 +08:00
Liang Jiaqing
6cec6d8014 feat: autonomous SOP refactor + helper.py with auto date/numbering
- Refactored autonomous_operation_sop.md with clearer path warnings and workflow
- Added helper.py: complete_task() auto-prepends R-number + date to history
- Updated scheduled_task_sop.md and web_setup_sop.md
2026-03-30 14:30:30 +08:00
Liang Jiaqing
38e2a460e3 refactor: optimize code extraction priority in tool handlers & update autofill SOP 2026-03-27 19:43:46 +08:00
Jiaqing Liang
f6c5011eb0 refactor: rewrite GETTING_STARTED, cleanup README, add hub.pyw, remove QUICK_START.pdf 2026-03-27 12:58:13 +08:00
Liang Jiaqing
5643bfb5f0 code_run自动注入常用import+memory路径; ljqCtrl_sop补充文本输入方法 2026-03-24 00:00:20 +08:00
Jiaqing Liang
065a5ee4bf refactor: working memory dict, merge chat paths, simplify SKILL docs 2026-03-16 13:18:41 +08:00
Liang Jiaqing
bbde5399cf add skill_search SOP to tracked memory files 2026-03-14 20:33:54 +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
Liang Jiaqing
3f66368689 add autonomous_operation_sop folder to tracking; update .gitignore whitelist; agent_loop changes 2026-03-13 14:16:43 +08:00
Liang Jiaqing
fd7bf241d0 rename sidercall.py to llmcore.py; add cache-aware cd to compress_history_tags 2026-03-13 13:21:32 +08:00
Liang Jiaqing
029cd91c9a refine autonomous_sop single-task enforcement + subagent input.txt length rule 2026-03-13 09:51:14 +08:00
Liang Jiaqing
3942fe2056 minor: round-end newline, web error msg, autonomous subagent review, tmwebdriver troubleshoot 2026-03-12 22:24:35 +08:00
Liang Jiaqing
f52975fd95 Merge PR #23: update plan_sop.md and subagent_sop.md 2026-03-12 22:22:33 +08:00
liaoying
71c59d2688 更新plan_sop.md和subagent_sop.md文档 2026-03-12 18:09:32 +08:00
Jiaqing Liang
9f10e55d5e fix: defensive CDP config init (makedirs+try/except); tweak autonomous sop wording 2026-03-12 12:59:05 +08:00
Jiaqing Liang
03069dbd89 修复自主行动SOP:规划完立即停止+避免模仿低价值任务 2026-03-12 09:29:20 +08:00
Jiaqing Liang
006b915533 refactor: scheduler to JSON+cooldown, update SOP 2026-03-11 12:11:22 +08:00
Liang Jiaqing
5dc44ba637 refactor: 优化自主行动SOP - 强化路径提示和格式规范防止history错乱 2026-03-11 10:01:42 +08:00
Liang Jiaqing
2b387f2dcf ref: simplify feishu history injection, tune web_scan/plan_sop/driver 2026-03-09 08:55:22 +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
Liang Jiaqing
524944dfc8 安全性提升:TID动态生成+Streamlit页面排除+工作记忆修复 2026-03-06 18:54:09 +08:00
Jiaqing Liang
c6af92e612 feat: web_scan iframe穿透 + plan_sop术语优化 2026-03-06 00:09:52 +08:00
Liang Jiaqing
ed75d103f5 优化中间输出频率/plan_sop重构/autofill batch示例/README便携版链接 2026-03-04 17:14:13 +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
Liang Jiaqing
0ab90af250 rename cookie_grabber -> tmwd_cdp_bridge (CDP bridge extension) 2026-03-04 11:15:32 +08:00
Jiaqing Liang
5c3193f326 non-verbose output: exhaust stream silently, yield content only; add plan_sop; subagent_sop cleanup 2026-03-02 23:06:07 +08:00
Jiaqing Liang
d010ab1995 refine insight: trim impl details, keep trigger keywords only (1049t) 2026-03-02 21:24:54 +08:00
Jiaqing Liang
066a2995e4 update start_long_term desc: remove single-call limit, add 15-turn rule 2026-03-02 17:25:37 +08:00