Commit Graph
506 Commits
Author SHA1 Message Date
yiqi-017 7e357dcc64 refactor: move acp bridge to frontends/ 2026-05-05 14:28:13 +08:00
yiqi-017 88f0e69231 fix: mark ACP stdout fd as non-inheritable to prevent child process pollution
- os.set_inheritable(_stdout_fd, False) on both Windows and Unix
- Unix path now uses os.dup() + os.fdopen() consistent with Windows
- Prevents subprocess.Popen children from inheriting the ACP JSON-RPC
  file descriptor, which could corrupt the protocol stream
2026-05-02 17:46:13 +08:00
yiqi-017 6770a02d59 feat: enable verbose output in ACP bridge 2026-04-29 21:13:11 +08:00
yiqi-017 21d2a4ca20 feat: add ACP bridge for codeg integration
Stdio-based JSON-RPC bridge implementing the Agent Client Protocol,
allowing codeg to connect to GenericAgent as a live ACP agent.

Handles Windows binary stdout/stdin, redirects stray prints to stderr,
and converts GenericAgent's cumulative text queue to ACP delta streaming.
2026-04-29 15:46:47 +08:00
Liang Jiaqing 564f05aeee improve TMWebDriver connection error message and SOP 2026-04-29 14:02:43 +08:00
Liang Jiaqing 3da34d2f58 cleanup: remove NextWillSummary, add supervisor_sop, fix streaming fence protection, tighten L1 rules 2026-04-29 13:29:03 +08:00
Liang Jiaqing 0f2d1d3165 refactor: deduplicate _parse_mixed_response by reusing _parse_text_tool_calls; fix orphan tool_result in _fix_messages 2026-04-28 22:15:07 +08:00
Liang Jiaqing 4e41b15972 统一流重试行为: 不管mixin/非mixin中途断连都重试; 更新ga.py错误检测条件 2026-04-28 20:41:14 +08:00
Tianye Song 02a36a9db3 fix(dingtalkapp): exponential reconnect backoff and token fetch retry (#210)
- Reconnect: exponential backoff 5→300s, reset on healthy session ≥60s
- Access token: retry once after 1s before returning None
2026-04-28 20:25:00 +08:00
LJQ f167a254bf 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
LJQ b6b53aa648 Merge pull request #214 from YooooEX/telegram-polish
fix(tgapp): handle Telegram stream rate limits
2026-04-28 20:16:08 +08:00
YooooEX 6f6944746d fix(tgapp): handle Telegram stream rate limits 2026-04-28 18:34:36 +08:00
YooooEX 128bf97a0f Merge remote-tracking branch 'origin/main' into telegram-polish 2026-04-28 18:30:35 +08:00
Liang Jiaqing 2e4775f98a refactor: extract _stream_with_retry, MixinSession failover on stream abort 2026-04-28 17:54:37 +08:00
YooooEX 2a3bb71b98 Merge remote-tracking branch 'origin/main' into telegram-polish 2026-04-28 12:15:50 +08:00
YooooEX 831aade42f feat(tg): stream Telegram responses by turn with summaries (#208) 2026-04-28 12:01:07 +08:00
Liang Jiaqing a8ff9aa60a autonomous sop: 收尾改为4步,完成即停不贪多 2026-04-28 11:45:12 +08:00
YooooEX b02a6a3ee8 feat(tg): stream Telegram responses by turn with summaries 2026-04-28 11:21:09 +08:00
Liang Jiaqing 86ac99c9dc fix: /resume normalize literal \n to real newlines before regex matching 2026-04-28 09:38:04 +08:00
AspasZhang a78b299f6a 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
LJQ 3e57ec07f5 Merge pull request #196 from YooooEX/telegram-polish
feat(tgapp): add ask_user inline candidate menu
2026-04-27 18:51:29 +08:00
LJQ 08244cec1e Merge pull request #198 from voidborne-d/fix/stapp-autonomous-enabled-fragment-rerun
fix(stapp): defend autonomous_enabled init against fragment-only reruns
2026-04-27 18:20:24 +08:00
Liang Jiaqing 340d663b77 feat: add SSL verify option and enable TG draft 2026-04-27 18:15:57 +08:00
voidborne-d 6e45fd95db fix(stapp): defend autonomous_enabled init against fragment-only reruns
closes #197
2026-04-27 17:51:32 +08:00
Liang Jiaqing c82df6e347 refactor: 提取script_dir为模块级变量,清理procmem_sop涉敏感代码 2026-04-27 17:46:31 +08:00
YooooEX 844ddabe84 feat(tgapp): add ask_user inline candidate menu 2026-04-27 16:02:24 +08:00
Jiaqing Liang eb3fa0041f feat: ensure thinking blocks for deepseek models in history 2026-04-27 15:11:09 +08:00
Jiaqing Liang 624058d25c refactor: _openai_stream takes sess+messages; add service_tier support 2026-04-27 15:11:08 +08:00
UnsongK effd2ee0d1 feat(wecom): upgrade wecom bot to full media + progress streaming (#184)
* feat(wecom): upgrade wecom bot from text-only to full media + progress streaming

- Add image/file message handling with encrypted media download
- Add media upload & send (auto image/file type detection, fallback to text on failure)
- Add real-time per-turn progress streaming via _turn_end_hooks
- Add send_done with automatic file attachment extraction from agent replies
- Add terminal CLI: help/status/stop/exit for runtime control
- Add run stats tracking (received/completed counts)
- Refactor message parsing into shared _accept() method (dedup + auth + register)
- Harden None-safety on body.get(from) and dedup ID fallback
- Move state from module globals to instance attributes

* refactor(wecomapp): parameterize agent & client, remove dead code

- Remove module-level agent creation; inject via constructor
- Make WSClient injectable in start() for testability
- Clean up stale comments and version tag
- Add inline doc for split_limit
2026-04-27 14:13:28 +08:00
Junghwan a48cbc7fbf fix(schema): align file_write mode default with implementation
assets/tools_schema.json declares file_write.mode default as 'append',
but assets/tools_schema_cn.json and ga.py both default to 'overwrite':

    # ga.py:369
    mode = args.get("mode", "overwrite")

Since the i18n switch in 7cadbd7 loads the English schema for en_*
locales, an LLM that trusts the schema default and omits the mode
parameter will silently overwrite instead of append. Align the English
schema with the Chinese schema and the Python handler so all three
agree on 'overwrite'.
2026-04-27 10:06:15 +08:00
LJQ e8ba04eb92 Merge pull request #185 from AspasZhang/docs/update-wechat-group12-qr
docs: 更新微信群二维码,移除群8,新增群12
2026-04-27 09:34:21 +08:00
weijia e4116bf1df fix(fsapp): show truncated tail instead of silent "..." fallback (#186)
When model output contains only stripped tags, surface warning + last 300 chars instead of silent "...".
2026-04-26 23:16:43 +08:00
Liang Jiaqing 35985c5f5b chore: remove unused test files 2026-04-26 22:58:43 +08:00
AspasZhang b7476d6909 docs: 更新微信群二维码,移除群8,新增群12 2026-04-26 22:55:02 +08:00
Liang Jiaqing 2a5967bb8c fix: remove inherited HTTPS_PROXY to prevent WeChat long-poll SSL EOF 2026-04-26 22:09:55 +08:00
Liang Jiaqing 6022f2dc4d handle file paste in webview 2026-04-26 20:51:49 +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 89b45f3d1d wechatapp: add image thumbnail pipeline, UA coverage, refactor turn-based streaming 2026-04-26 17:24:32 +08:00
Liang Jiaqing ea757b4ea3 fix: summary提取与fold_turns防误切,强化thinking模型summary输出 2026-04-26 00:01:42 +08:00
Liang Jiaqing f581c5fb18 fix: fallback to getpass.getuser() when os.getlogin() raises OSError 2026-04-25 22:55:17 +08:00
LJQ 8c0a3d3378 Merge pull request #140 from huangrichao2020/feat/macos-desktop-app
feat: add macOS Desktop App installation script
2026-04-25 22:17:44 +08:00
LJQ d42763f003 Merge pull request #173 from Stark-X/fix/linux-desktop-pet-pyside6
fix: add Linux desktop pet implementation
2026-04-25 22:09:35 +08:00
LJQ 2dcb7ca17e Merge pull request #164 from kukudelaomao/fix/wecomapp-event-handlers
fix(wecomapp): 修复WebSocket连接和事件处理器问题
2026-04-25 22:04:31 +08:00
LJQ baf3112e2e Merge pull request #160 from YooooEX/telegram-polish
fix(tgapp): polish Telegram MarkdownV2 rendering and startup helpers
2026-04-25 21:59:49 +08:00
LJQ cff5afdd1c Fix Telegram startup without a configured proxy
Fix Telegram startup without a configured proxy
2026-04-25 21:51:54 +08:00
LJQ b8ced4db47 fix(sandbox): patch Popen + block startfile to prevent window leaks
fix(sandbox): patch Popen + block startfile to prevent window leaks
2026-04-25 21:49:15 +08:00
Liang Jiaqing f1537de52b tg: support document upload, disable draft streaming; wx: streaming flush during task; llmcore: safeprint, max_tokens fixes 2026-04-25 21:33:38 +08:00
Jiaqing Liang 1686312f93 Remove responses max output token limit 2026-04-25 14:03:21 +08:00