Junghwan
adcfb8f730
fix(L4): preserve raw sessions skipped as recent(<2h) ( #90 )
...
compress_session.py Phase 4 builds to_del from both processed files
and every skipped file. Phase 1 marks files younger than 2h as
'recent(<2h)' (line 175) so their still-active writer is not
interrupted, but Phase 4 then deletes them anyway.
Filter the skipped-loop by reason so 'recent' files are preserved.
Processed files and other skip reasons (dup, compression error)
still proceed through deletion as before.
2026-04-17 17:35:50 +08:00
Jiaqing Liang
47f106c8db
refactor: extract slash cmd handler; fix inline_eval param name; support extra_sys_prompt
2026-04-17 15:39:51 +08:00
Liang Jiaqing
b1f72a202e
fix: clarify file_write usage — content before call
2026-04-17 00:04:12 +08:00
张洲嘉
82b8535b7c
feat: update plan_sop & verify_sop
...
- plan_sop: improved planning workflow
- verify_sop: rewritten inspired by Claude Code verification agent design
- Added two failure mode anchoring (verification avoidance & seduced by first 80%)
- Anti-rationalization checklist
- BEFORE PASS/FAIL guardrails
- Compressed from 104 to 65 lines while increasing coverage
2026-04-16 18:42:03 +08:00
Liang Jiaqing
3d7832a750
feat: multi code_run support, inline_eval logging & cwd fix, tool reinject upgrade
2026-04-16 12:56:17 +08:00
Jiaqing Liang
e3a2526932
feat: add plan mode (enter/exit/completion check/verification gate/periodic hints)
2026-04-15 17:02:54 +08:00
Kagura
b2465df4e0
feat: add GitHub contribution SOP
2026-04-15 15:06:04 +08:00
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