Commit Graph
507 Commits
Author SHA1 Message Date
yiqi-017andClaude Opus 4.6 7deb330c11 docs: add codeg integration section to README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-05 15:34:57 +08:00
yiqi-017andClaude Opus 4.6 dfe6bf0709 refactor: move acp bridge to frontends/
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-05 14:28:13 +08:00
yiqi-017andClaude Opus 4.6 e8bb346eb9 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

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-02 17:46:13 +08:00
yiqi-017andClaude Opus 4.6 75d063a553 feat: enable verbose output in ACP bridge
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-29 21:13:11 +08:00
yiqi-017andClaude Opus 4.6 be4d2f58c1 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.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-29 15:46:47 +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
Liang Jiaqing 9e19b8a8de 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 513b644252 统一流重试行为: 不管mixin/非mixin中途断连都重试; 更新ga.py错误检测条件 2026-04-28 20:41:14 +08:00
Tianye Song 68982c36dc 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 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
LJQ eb9c4c4752 Merge pull request #214 from YooooEX/telegram-polish
fix(tgapp): handle Telegram stream rate limits
2026-04-28 20:16:08 +08:00
YooooEX 5e1a788af1 fix(tgapp): handle Telegram stream rate limits 2026-04-28 18:34:36 +08:00
YooooEX 972c55bcb2 Merge remote-tracking branch 'origin/main' into telegram-polish 2026-04-28 18:30:35 +08:00
Liang Jiaqing 7070880b4e refactor: extract _stream_with_retry, MixinSession failover on stream abort 2026-04-28 17:54:37 +08:00
YooooEX 442ab73c48 Merge remote-tracking branch 'origin/main' into telegram-polish 2026-04-28 12:15:50 +08:00
YooooEX baf0f27793 feat(tg): stream Telegram responses by turn with summaries (#208) 2026-04-28 12:01:07 +08:00
Liang Jiaqing f421913703 autonomous sop: 收尾改为4步,完成即停不贪多 2026-04-28 11:45:12 +08:00
YooooEX 41c79ac5c4 feat(tg): stream Telegram responses by turn with summaries 2026-04-28 11:21:09 +08:00
Liang Jiaqing e58934c744 fix: /resume normalize literal \n to real newlines before regex matching 2026-04-28 09:38:04 +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
LJQ 776f4e267d 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 0ed89ebdeb 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 78a9414e05 feat: add SSL verify option and enable TG draft 2026-04-27 18:15:57 +08:00
voidborne-d b8ecdc7922 fix(stapp): defend autonomous_enabled init against fragment-only reruns
closes #197
2026-04-27 17:51:32 +08:00
Liang Jiaqing 3c9496ffa2 refactor: 提取script_dir为模块级变量,清理procmem_sop涉敏感代码 2026-04-27 17:46:31 +08:00
YooooEX 7ef7283fad feat(tgapp): add ask_user inline candidate menu 2026-04-27 16:02:24 +08:00
Jiaqing Liang b83cf28e29 feat: ensure thinking blocks for deepseek models in history 2026-04-27 15:11:09 +08:00
Jiaqing Liang 16c22432e3 refactor: _openai_stream takes sess+messages; add service_tier support 2026-04-27 15:11:08 +08:00
UnsongK 11442847b0 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 15112bccf1 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 8e7cb8f559 Merge pull request #185 from AspasZhang/docs/update-wechat-group12-qr
docs: 更新微信群二维码,移除群8,新增群12
2026-04-27 09:34:21 +08:00
weijia db6bf00d0a 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 df77311516 chore: remove unused test files 2026-04-26 22:58:43 +08:00
AspasZhang fd58b85fe4 docs: 更新微信群二维码,移除群8,新增群12 2026-04-26 22:55:02 +08:00
Liang Jiaqing 1d0b86d110 fix: remove inherited HTTPS_PROXY to prevent WeChat long-poll SSL EOF 2026-04-26 22:09:55 +08:00
Liang Jiaqing f11a056d17 handle file paste in webview 2026-04-26 20:51:49 +08:00
Liang Jiaqing d949a59ebb file_read: add PARTIAL hint when count < total lines 2026-04-26 20:11:00 +08:00
Liang Jiaqing adfa805fe3 improve ask_user tool display and memory SOP prompt 2026-04-26 18:24:21 +08:00
Liang Jiaqing 13850b85a8 hotreload mykeys, fix SSE residual block, unify context_win, cleanup 2026-04-26 17:46:24 +08:00
Liang Jiaqing 6f1f02eddb wechatapp: add image thumbnail pipeline, UA coverage, refactor turn-based streaming 2026-04-26 17:24:32 +08:00
Liang Jiaqing cd0ce4d9b0 fix: summary提取与fold_turns防误切,强化thinking模型summary输出 2026-04-26 00:01:42 +08:00
Liang Jiaqing 69f66997fd fix: fallback to getpass.getuser() when os.getlogin() raises OSError 2026-04-25 22:55:17 +08:00
LJQ 567c7f582b 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 adf393c0a5 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 12f23138e0 Merge pull request #164 from kukudelaomao/fix/wecomapp-event-handlers
fix(wecomapp): 修复WebSocket连接和事件处理器问题
2026-04-25 22:04:31 +08:00
LJQ c19ac2dae6 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 5805566d88 Fix Telegram startup without a configured proxy
Fix Telegram startup without a configured proxy
2026-04-25 21:51:54 +08:00
LJQ da91a0643f 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 5b0d96b1b5 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