Commit Graph
124 Commits
Author SHA1 Message Date
Liang Jiaqing 05c6b427c6 feat: add conductor system, code_review_principles; update llmcore, supervisor_sop, goal_mode constraints, gitignore whitelist 2026-05-13 23:02:52 +08:00
Liang Jiaqing 2ddeab20a0 hub.pyw: add EXCLUDES set for goal_mode/chatapp_common/tuiapp; ga.py: fix missing summary prompt wording 2026-05-09 09:51:32 +08:00
Liang Jiaqing 1a7d54b82f Add lightweight goal mode reflect workflow 2026-05-08 17:28:16 +08:00
Liang Jiaqing 639da67916 feat: fsapp reconnect loop, tui branch/rewind, simphtml flow-child fix, sop updates 2026-05-08 15:48:16 +08:00
Liang Jiaqing 7b51599088 fix: 堵死自主规划绕过subagent评审的漏洞
- subagent.md: 隐藏--nobg选项防止同步阻塞超时
- task_planning.md: 加第7条无限重试禁自评+探测策略重排序
- autonomous_operation_sop.md: set_todo前缀提示
2026-05-08 08:02:23 +08:00
Jiaqing Liang 93490d1634 refactor: rename GeneraticAgent, default bg for task, add fork history support 2026-05-07 15:12:46 +08:00
LJQ f98f6eac39 Merge pull request #268
fix: remove duplicate backtick key in VK_CODE dictionary
2026-05-05 18:44:57 +08:00
Liang Jiaqing a1a0cb815b feat: add contentSettings cmd to CDP bridge (bypass multi-download dialog); minor agentmain cleanup 2026-05-05 11:57:40 +08:00
Kailigithub fe1d8a1e1f fix: remove duplicate backtick key in VK_CODE dictionary 2026-05-05 03:07:35 +00:00
Liang Jiaqing f0ff7ee49e remove newtab, add terminal QR, refine task_planning sop 2026-05-04 12:39:41 +08:00
Liang Jiaqing 52f5d06766 fix: non-greedy file_content extraction, empty response retry limit, vision template pass 2026-05-02 12:59:40 +08:00
Liang Jiaqing d4f8303053 feat: add Discord bot frontend; refine memory SOP index rule 2026-04-29 19:29:36 +08:00
Liang Jiaqing d626c9f02c improve TMWebDriver connection error message and SOP 2026-04-29 14:02:43 +08:00
Liang Jiaqing 513fec91fc cleanup: remove NextWillSummary, add supervisor_sop, fix streaming fence protection, tighten L1 rules 2026-04-29 13:29:03 +08:00
LJQ 9390435cde Merge pull request #199 from AspasZhang/fix/plan-sop-remove-sop-index-dep
fix: remove sop_index.md dependency in plan_sop
2026-04-28 20:17:16 +08:00
Liang Jiaqing f421913703 autonomous sop: 收尾改为4步,完成即停不贪多 2026-04-28 11:45:12 +08:00
AspasZhang aaf15b6797 fix: remove sop_index.md dependency in plan_sop, use L1 Insight index instead
sop_index.md is a user-specific file that doesn't exist in the shared repo.
Replace it with L1 Insight index which is auto-injected into context each turn.
2026-04-27 19:25:37 +08:00
Liang Jiaqing 3c9496ffa2 refactor: 提取script_dir为模块级变量,清理procmem_sop涉敏感代码 2026-04-27 17:46:31 +08:00
Liang Jiaqing 69f66997fd fix: fallback to getpass.getuser() when os.getlogin() raises OSError 2026-04-25 22:55:17 +08:00
Liang Jiaqing fd46d61543 fix: SSE tool_call streaming compat for non-standard index/id, MockToolCall handle list args & None fallback; sop: CDP bringToFront note 2026-04-23 23:44:50 +08:00
Liang Jiaqing a53b7a8593 refine L0 sync rule: default L3, bracket trigger words only for non-intuitive scenarios 2026-04-22 19:49:27 +08:00
Liang Jiaqing d25cfa5a2a refactor: vision_sop精简改写 + 新增vision_api.template.py 2026-04-20 23:22:36 +08:00
Liang Jiaqing 5c1dd1270c refactor stapp rerun reset logic and simplify vision SOP 2026-04-20 21:10:49 +08:00
Liang Jiaqing c6319594c7 清理SOP: web_setup去TM方案, tmwebdriver排查流程优化 2026-04-19 11:16:29 +08:00
Liang Jiaqing 11c41e7c4a refine memory_cleanup_sop: 4 compression principles, RULES triage, anti-intuitive trigger words, layered placement 2026-04-18 12:33:41 +08:00
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