Commit Graph
161 Commits
Author SHA1 Message Date
Liang Jiaqing 5205f4080f Simplify memory maintenance and remove legacy plan mode 2026-10-18 09:47:34 +08:00
Liang Jiaqing f7cadb6087 fix: infer shell commands when code_run type is empty 2026-10-16 14:04:14 +08:00
Liang Jiaqing f7e4cc5a84 fix: retry malformed DSML endings when no tool was called 2026-10-14 19:10:26 +08:00
cuipengcx90and崔朋 67817ccf4c fix(ga): fold periodic global_memory re-injection like <history> (#832) (#834)
Co-authored-by: 崔朋 <peng.cui@smyze.cn>
2026-10-14 17:43:48 +08:00
Liang Jiaqing f308ee7eb0 memory distill prompt rework; bump claude-cli UA 2.1.280; subagent hub note; memory_cleanup L3 audit principles 2026-09-30 17:52:52 +08:00
Liang Jiaqing 1b6442fe4f prompt: constitution#3 dedupe (3-failure rule already in RULES); remember tool requires task success/checkpoint 2026-09-14 11:42:59 +08:00
Liang Jiaqing 71cf559fab fix: str() session_id/tab_id; bump UA to 2.1.251; trim subagent.md 2026-09-02 08:20:29 +08:00
Liang Jiaqing d6403d9783 ui: idle fragment tick 5s + streamlit>=1.62; fix !!!Error tail check 2026-08-20 12:31:06 +08:00
Liang Jiaqing f06d550380 fix(ga): only treat short </summary>-only replies as incomplete
Long replies ending with </summary> were false-positive retried.
Also relax L1 insight RULES: drop hard es/win32gui/git-loop mandates.
2026-08-13 10:19:48 +08:00
Liang Jiaqing e55e198dc2 refactor(wm): unify turn-summary extraction (<summary> first, else full text, skip empty) across ga/worldline/continue_cmd; fix hinfo delta slicing base for old-tree mixed lineage 2026-08-11 11:50:11 +08:00
Liang Jiaqing 0c2b3e0d51 tune prompt tags, raise context_win defaults, simplify code_run schema desc
- ga: blank/incomplete/max_tokens retries use [ERROR]; summary tip [TIPS]; turn checkpoints [DANGER]
- llmcore: default context_win 30k->35k, deepseek 70k->80k
- tools_schema: shorten code_run.script description
2026-08-08 12:20:15 +08:00
Liang Jiaqing 6bed654dce feat: improve conductor files and runtime handling 2026-07-31 21:56:27 +08:00
Liang Jiaqing a3a626af89 stapp: stabilize long-session streaming and add runtime stats 2026-07-29 18:25:46 +08:00
Liang Jiaqing 4086d5c858 refactor: tighten working memory tool guidance 2026-07-23 15:30:36 +08:00
Liang Jiaqing 7fede5a050 feat: improve conductor controls and token import refresh 2026-07-23 13:25:22 +08:00
Liang Jiaqing 733615d889 fix: sticky llm_no on reload, portal UX, mainland install without Git
- agentmain: keep current LLM across mykey hot-reload by backend.name
- stapp: fix DeltaGenerator leak from ternary, update reopen_page wording
- ga_install: mainland mode skips PortableGit, use NJU python mirror + --no-bin
- ga: block start_long_term_update before turn 10
2026-07-22 23:38:10 +08:00
Jiaqing Liang 2b661eb265 chore: update gitignore, memory templates, ga retry logic, llmcore beta parts 2026-07-20 15:38:01 +08:00
Liang Jiaqing 0c67da2364 revert(ga): restore pre-c921bad empty-response check in do_no_tool
c921bad tightened blank-turn detection by stripping <thinking>/<summary>
and treating meta-only replies as empty. That is too aggressive for the
main agent loop (summary-only / thinking-only turns get forced retries).
Keep desktop_bridge behavior; only revert ga.py core path.
2026-07-15 18:20:06 +08:00
dd3xp 5887450e6a Merge upstream main into desktop main 2026-07-14 00:47:12 -04:00
dd3xp 58cb4cdc7c fix desktop empty turn handling 2026-07-13 23:50:14 -04:00
Liang Jiaqing 8553e98723 feat: scale tool-output limits with context_win
Add maxlen_multiplier derived from context_win (capped 3x); drives per-tool
truncation caps and history compression interval. WebScan uses half-increment
growth to avoid saturating its 35000 base. Docs updated for the new coupling.
2026-07-13 09:55:52 +08:00
Liang Jiaqing d910b689be rename verify_sop -> deliverable_audit_sop (避免名字过宽导致主agent小任务误触发验证审计SOP); ga.py: file_patch/file_write 保持原文件换行符, 修复LF文件被污染成CRLF; _arg 类型强转修复字符串false等 2026-07-12 15:09:34 +08:00
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
yanghang eacd3d176d Merge remote-tracking branch 'upstream/main' into merge-upstream-main-20260710 2026-07-10 18:56:03 +08:00
Liang Jiaqing 9d99e9fc74 fix: isolate project mode per agent instance 2026-07-10 17:31:52 +08:00
dd3xp dd174cfd01 Merge origin/main into main 2026-07-07 10:37:48 -04: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