Commit Graph
137 Commits
Author SHA1 Message Date
Liang Jiaqing 3a315f3e1c Fix Python compatibility and tune checkpoint intervals 2026-07-11 22:05:05 +08:00
nianyucatfish be90c8d2d3 fix(tui-v2): detach tool subprocess stdin (#678) 2026-07-10 22:25:54 +08:00
Liang Jiaqing 9d99e9fc74 fix: isolate project mode per agent instance 2026-07-10 17:31:52 +08:00
Liang Jiaqing 7ed13c009d fix(ga): turn_end summary fallback prefers cleaned response body (_c) over args dict 2026-06-28 22:24:52 +08:00
Liang Jiaqing 1e4ca151a7 feat: support --history arg and in-memory intervene/keyinfo injection; add export_history; fix GenericAgent typo 2026-06-27 17:10:33 +08:00
Liang Jiaqing 904ade4907 fix(desktop_bridge): collect all mixin members for inMixin check; simplify ask_user schema; enhance turn-25 prompt
- desktop_bridge.py: iterate all keys to collect mixin llm_nos, fixing inMixin bug when multiple mixins exist
- tools_schema*.json: trim verbose descriptions for token efficiency
- ga.py: clarify turn-25 prompt to write to file (not only working_checkpoint)
2026-06-23 10:06:09 +08:00
Liang Jiaqing f052a27af1 chore: simplify summary, english turn hints, reasoning field compat 2026-06-20 10:43:46 +08:00
Liang Jiaqing df025ab34f feat: loop mode + idle auto-action in stapp, cleanup launch.pyw
- stapp.py: add loop mode (auto-inject prompt after each reply)
- stapp.py: replace DOM-based idle monitor with st.fragment timer
- stapp.py: i18n for all new UI text and LLM prompts
- launch.pyw: remove inject/get_last_reply_time/idle_monitor, keep only paste hook
- agentmain/ga: raise max_turns 80->180, DANGER thresholds accordingly
- remove obsolete tool_usable_history.json
2026-06-19 19:00:44 +08:00
Liang Jiaqing b267ce8dd3 Update supervisor SOP and execution reminders 2026-06-15 21:35:28 +08:00
Liang Jiaqing abe233b06e Fix stapp bottom input layout 2026-06-13 12:07:46 +08:00
陈克文 f43ea23ccf fix: os.startfile is Windows-only, use webbrowser.open to wake the browser (#598)
web driver init nudges the browser by opening a page when no session
appears; os.startfile raises AttributeError on Linux/macOS, killing
the retry loop on headless servers. webbrowser.open is stdlib and
cross-platform with the same effect.
2026-06-12 13:16:23 +08:00
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