Commit Graph
126 Commits
Author SHA1 Message Date
Jiaqing Liang 3f1b683651 refactor: simplify driver init wait; clarify TMWebDriver master error msg 2026-06-09 14:23:49 +08:00
Liang Jiaqing 8ec764a87e Update agent hints and UI SOP note 2026-06-08 09:28:05 +08:00
Liang Jiaqing 3acd58b36e core: per-instance print injection (no_print), EXIT sentinel for run loop, log name collision fix, checklist poll hard cap 2026-06-04 11:09:54 +08:00
Liang Jiaqing 20fbc5e3cb Update SOP notes and response history window 2026-05-29 21:02:31 +08:00
Jiaqing Liang fce7238391 fix: force UTF-8 output for PowerShell code_run 2026-05-26 12:16:30 +08:00
hao yang 2f2905dfee feat: prefer pwsh over powershell in code_run on Windows
Use pwsh when available for better UTF-8 and modern PowerShell behavior, with fallback to legacy powershell.
2026-05-26 11:52:25 +08:00
w286554018 73e555c1ec fix: wrap _turn_end_hooks iteration with list()
Prevent RuntimeError when a turn-end hook mutates _turn_end_hooks during callback iteration.
2026-05-26 11:47:04 +08:00
Jiaqing Liang 8cbb112545 fix: hive worker death loop - remove on_done 120s, add failed reset, done_prompt shutdown mechanism 2026-05-18 12:26:24 +08:00
Liang Jiaqing cebd6a37c9 agentloop yield turn dict marker; agentmain intercepts and tracks per-turn outputs 2026-05-16 17:13:42 +08:00
Jiaqing Liang e4c39b16d3 feat: tighten context budget - maxlen 15k, trim refactor with staged compress 2026-05-13 23:02:52 +08:00
Liang Jiaqing 867facc58d feat: dynamic tool_result maxlen based on parallel tool count 2026-05-13 10:21:13 +08:00
Liang Jiaqing ffeae5e59b fix: hide code runner console window 2026-05-11 09:39:52 +08:00
Liang Jiaqing b80a13fd4d fix: unify retry logic in do_no_tool with shared counter to prevent infinite loop (#312) 2026-05-09 15:40:39 +08:00
Liang Jiaqing f33a814e56 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 3ddf4cb6f9 Add lightweight goal mode reflect workflow 2026-05-08 17:28:16 +08:00
Jiaqing Liang 27428395e2 refactor: rename GeneraticAgent, default bg for task, add fork history support 2026-05-07 15:12:46 +08:00
Jiaqing Liang f50b6507e3 Improve English UI defaults and task timeout 2026-05-06 13:23:33 +08:00
Liang Jiaqing 5aaa26e69b file_write: support content arg in native mode, strip it in text-emulated mode 2026-05-06 10:30:08 +08:00
Liang Jiaqing 1bf2a530b9 /resume prompt优化(v5) + wechatapp去or空占位 + summary截断80 2026-05-03 16:36:48 +08:00
Liang Jiaqing 26d5fc6781 feat: auto-inject summary text block when model outputs thinking+tool_use without text; stapp fallback uses content preview 2026-05-03 12:22:05 +08:00
Liang Jiaqing 2eb69983dd feat: peer_hint mechanism & history folding compression 2026-05-02 20:30:33 +08:00
Liang Jiaqing 74831f83f7 fix: non-greedy file_content extraction, empty response retry limit, vision template pass 2026-05-02 12:59:40 +08:00
Liang Jiaqing 913a90bc63 fix: sanitize backticks in code_run output & simplify subagent turn header 2026-04-29 18:26:16 +08:00
Liang Jiaqing 4e41b15972 统一流重试行为: 不管mixin/非mixin中途断连都重试; 更新ga.py错误检测条件 2026-04-28 20:41:14 +08:00
Liang Jiaqing c82df6e347 refactor: 提取script_dir为模块级变量,清理procmem_sop涉敏感代码 2026-04-27 17:46:31 +08:00
Liang Jiaqing fc78d06156 file_read: add PARTIAL hint when count < total lines 2026-04-26 20:11:00 +08:00
Liang Jiaqing 2575daf9a6 improve ask_user tool display and memory SOP prompt 2026-04-26 18:24:21 +08:00
Liang Jiaqing e07c1b046b hotreload mykeys, fix SSE residual block, unify context_win, cleanup 2026-04-26 17:46:24 +08:00
Liang Jiaqing 492d55788a feat: reasoning/thinking互通适配 + history窗口扩大 + summary提示强化 2026-04-25 10:33:42 +08:00
Liang Jiaqing 29d5ca928c fix: thinking非空时不再误判为空响应触发重试 2026-04-24 10:00:23 +08:00
Jiaqing Liang a5aca5988e fix: add requests to pip install & tune max_turns/prompt 2026-04-23 17:21:22 +08:00
Liang Jiaqing 5b886ccf7b fix: agent-level retry for intermittent SSL errors during streaming
- llmcore: prefix all error outputs with !!! marker
- ga: detect !!!Error: [SSL: in tail of content as incomplete response and retry
- add len(content)>100 guard to avoid false positives on short responses
2026-04-23 11:24:54 +08:00
Liang Jiaqing 777c517949 refactor: update agent loop and tool extraction 2026-04-19 23:21:37 +08:00
Jiaqing Liang 5b595e9ca5 fix: inline_eval exec() exception escaping crash; update schema description 2026-04-17 16:06:13 +08:00
Liang Jiaqing 51ed38c6c0 fix: clarify file_write usage — content before call 2026-04-17 00:04:12 +08:00
Liang Jiaqing ca76daddd3 refactor: unify docstrings, add /resume command, simplify error msg 2026-04-16 21:04:04 +08:00
Liang Jiaqing a1d8304457 feat: i18n support - auto-detect system language for zh/en prompts 2026-04-16 18:47:40 +08:00
Liang Jiaqing 16329ffdc1 fix: empty file ZeroDivisionError in file_read; remove SiderLLMSession; init global_mem with header 2026-04-16 16:04:18 +08:00
Liang Jiaqing ce72054a09 feat: multi code_run support, inline_eval logging & cwd fix, tool reinject upgrade 2026-04-16 12:56:17 +08:00
Liang Jiaqing c5280fedb5 feat(file_read): fuzzy file suggestion on not-found with history dirs; sync L1 template 2026-04-15 20:58:29 +08:00
Jiaqing Liang 731b3c7baa feat: add plan mode (enter/exit/completion check/verification gate/periodic hints) 2026-04-15 17:02:54 +08:00
Jiaqing Liang d0d9741319 fix prompt flow 2026-04-15 13:57:36 +08:00
Liang Jiaqing a7d6e24204 fix: use script_dir for cwd path instead of relative path 2026-04-14 23:38:32 +08:00
Liang Jiaqing da66c34a4a 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 31e0dfaa48 feat: task模式干预机制 _stop/_keyinfo/_intervene + consume_file 2026-04-11 17:14:35 +08:00
Liang Jiaqing fae8c72fcf fix: restore stop signal detection broken by render_segments cache optimization
- stapp.py: add st.empty() after render_segments to force Streamlit StopException check on every iteration (incl. heartbeat)
- agentmain.py: fix nround type check, fix timeout comment
2026-04-11 16:25:19 +08:00
Liang Jiaqing 973befeeca fix: _fix_messages for Claude API compliance, raw_ask simplify, no_tool orphan fix, summary extraction improvement 2026-04-11 13:24:33 +08:00
Jiaqing Liang 33af178b04 fix: handle window object serialization in CDP bridge; improve file_write error msg; minor llmcore style cleanup 2026-04-10 14:04:41 +08:00
Liang Jiaqing bd4e7de7ac Fix tool call conversion and working checkpoint result 2026-04-10 10:45:00 +08:00
Liang Jiaqing 86e83c1b96 fix: verbose logic & insight wording & file_read anchor skip 2026-04-10 09:56:22 +08:00