Commit Graph
117 Commits
Author SHA1 Message Date
Liang Jiaqing 78a9414e05 feat: add SSL verify option and enable TG draft 2026-04-27 18:15:57 +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
AspasZhang fd58b85fe4 docs: 更新微信群二维码,移除群8,新增群12 2026-04-26 22:55:02 +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 cd0ce4d9b0 fix: summary提取与fold_turns防误切,强化thinking模型summary输出 2026-04-26 00:01:42 +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
MuziIsabel 3b93c6137d fix(sandbox): patch Popen + block startfile to prevent window leaks
subprocess.run was already patched with CREATE_NO_WINDOW, but Popen and
os.startfile were unprotected. Agent code could open visible GUI windows
via subprocess.Popen(['notepad.exe']) or os.startfile().
2026-04-25 10:59:15 +08:00
Liang Jiaqing cac3ba4769 feat: reasoning/thinking互通适配 + history窗口扩大 + summary提示强化 2026-04-25 10:33:42 +08:00
Huang richao 446d7bf549 Merge remote-tracking branch 'origin/main' into feat/macos-desktop-app 2026-04-24 17:53:18 +08:00
Huang richao b34965b936 fix: narrow macOS app installer per review 2026-04-24 17:52:47 +08:00
AspasZhang be2386661d docs: update WeChat community group QR codes (remove 6&10, add 11) 2026-04-24 11:08:20 +08:00
Xinyi Wang 09a78573f5 docs: update WeChat community group QR codes
- Replace 3 old QR codes (group 5/6/7) with 4 new ones (group 6/8/9/10)
- Update both English and Chinese sections in README.md
- Remove obsolete wechat_group5.jpg and wechat_group7.jpg
- Add wechat_group8.jpg, wechat_group9.jpg, wechat_group10.jpg
2026-04-21 11:47:55 +08:00
Liang Jiaqing 86ca4625ad refactor: simplify HTTP error handling in _openai_stream, add non-stream support, broadcast history in MixinSession 2026-04-19 20:57:07 +08:00
Liang Jiaqing 4abb8e205d sys_prompt_en: 去掉强制英文,跟随用户语言 2026-04-19 11:29:30 +08:00
Liang Jiaqing 77d44c8cd0 update technical report 2026-04-19 10:03:32 +08:00
Liang Jiaqing 5d015d42c9 update technical report: language polish and table layout improvements 2026-04-18 19:58:56 +08:00
Liang Jiaqing 2632478d96 fix: get_llm_name case-insensitive match & refactor to accept optional backend param 2026-04-18 14:46:05 +08:00
Liang Jiaqing c529abce3c fix: clarify start_long_term_update should only be called when task is completed (not mid-task) 2026-04-18 13:09:01 +08:00
Liang Jiaqing 3c2d22b948 refactor: move chat bubble asset to frontends/ and rename to English 2026-04-18 11:13:38 +08:00
Liang Jiaqing 13b15f3255 Add technical report PDF 2026-04-18 00:09:36 +08:00
Jiaqing Liang 0e3e602121 fix: inline_eval exec() exception escaping crash; update schema description 2026-04-17 16:06:13 +08:00
Liang Jiaqing b1f72a202e fix: clarify file_write usage — content before call 2026-04-17 00:04:12 +08:00
LJQ 2c0146232a Merge pull request #79 from ViviqwerAsd/docs/update-wechat-group-qrcodes
docs: 更新微信群二维码 (group 5/6/7)
2026-04-16 19:50:42 +08:00
Xinyi Wang 753bde713f docs: update WeChat group QR codes (group 5/6/7) in README Support section 2026-04-16 19:45:57 +08:00
Liang Jiaqing c43c07487f feat: add English version of global_mem_insight_template 2026-04-16 18:52:07 +08:00
Liang Jiaqing 7cadbd7403 feat: i18n support - auto-detect system language for zh/en prompts 2026-04-16 18:47:40 +08:00
Liang Jiaqing 3d7832a750 feat: multi code_run support, inline_eval logging & cwd fix, tool reinject upgrade 2026-04-16 12:56:17 +08:00
Liang Jiaqing 85480b16a6 docs: use wechat_group4.jpg to bypass CDN cache 2026-04-15 23:57:11 +08:00
Liang Jiaqing 39f90149fb fix: change desktop pet port 51983->41983 (avoid Hyper-V reserved range) & update wechat group QR code 2026-04-15 23:50:48 +08:00
Liang Jiaqing bd9e45f761 feat(file_read): fuzzy file suggestion on not-found with history dirs; sync L1 template 2026-04-15 20:58:29 +08:00
Jinyi Han 9f004c059d docs: add community group QR codes to README 2026-04-14 15:08:22 +08:00
Xinyi Wang c80cc2d823 docs: update README recent highlights and group image 2026-04-13 16:05:04 +08:00
Liang Jiaqing 2b5cbff7be feat: --verbose flag, lazy mykeys loading, temperature config support
- agentmain: add --verbose arg for subagent monitoring mode
- llmcore: lazy-load mykeys/proxies via module __getattr__
- llmcore: fix auto_make_url regex for trailing slash cases
- llmcore: support temperature override from session config
- docs: update subagent.md with --verbose usage note
2026-04-12 14:29:32 +08:00
Liang Jiaqing 946c239c03 refactor: rename mem_scanner→procmem_scanner, add L4 layer, remove make_prompts.py 2026-04-11 18:30:00 +08:00
Liang Jiaqing 5e28902cb4 cleanup: rm user.js, untrack copilot_proxy.pyw; ljqCtrl: DPI via GDI + GrabWindow(hwnd) 2026-04-10 22:17:24 +08:00
Jiaqing Liang 5a1d3a41da 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 cc283a96f3 fix: verbose logic & insight wording & file_read anchor skip 2026-04-10 09:56:22 +08:00
Liang Jiaqing 1c561db0b9 feat: enhance CDP bridge management and fix JS falsy returns
- background.js: Add management API, auto-return for JS, refactor new tab capture
- simphtml.py: Fix falsy return value bug, flatten return structure
- agent_loop.py: Simplify UI icons
- manifest.json: Add management permission
- tools_schema: Optimize prompts for web tools
- tmwebdriver_sop.md: Update documentation
2026-04-08 18:28:33 +08:00
Jiaqing Liang 25fe3e42fd fix: popup.js action->cmd; add disable_dialogs.js with toast; update manifest 2026-04-07 12:17:18 +08:00
LJQ f44c05931c Merge pull request #55 from JinyiHan99/update-wechat-group-image
Update wechat_group.jpg
2026-04-06 21:57:09 +08:00
Jinyi Han 34d945d425 Update wechat_group.jpg 2026-04-06 21:52:52 +08:00
Liang Jiaqing 8e829730a9 smart truncation, iframe preservation, streamlit filter
- simphtml: truncate_biggest replaces naive string cut, targets fattest content block via 70% drill-down
- simphtml: iframe children preserved through div proxy (bypass BS4 limitation)
- background/content.js: filter streamlit tabs and skip content script injection
- ga.py: file_content tag regex allows attributes; maxchars 38k->35k
2026-04-06 12:19:20 +08:00
Liang Jiaqing 8d537e954b fix: simphtml visibility/dialog/SVG improvements & minor agent fixes
- simphtml: rewrite visibility inheritance (area-based maxC), add isVisible to childrenInfo,
  fix className SVG compat (getAttribute), expand isDialog detection, hoist deep fixed dialogs,
  clear SVG attrs, fix warning message concat
- ga: return error messages instead of None for code_run/web_execute_js failures
- stapp: disable unsafe_allow_html
- code_run_header: add excepthook hint for ImportError/AttributeError
- mykey_template: remove stale prompt_cache comment
2026-04-03 09:40:09 +08:00
Liang Jiaqing 629e57ad83 Refactor: 统一消息格式和Session架构重构
核心改动:
- 统一所有Session内部使用Claude content-block格式
- 引入BaseSession基类,简化代码结构
- tool_results从字符串改为结构化字典列表
- NativeClaudeSession增强:支持cr_token、metadata、thinking提取
- ToolClient简化:删除structured分支,统一使用protocol prompt
- MixinSession支持按名称选择session
- ljqCtrl_sop增加DPI坐标陷阱警告
2026-04-01 22:20:18 +08:00
Liang Jiaqing d922303645 TMWebDriver: add debug logs + CDP bridge refactor (action→cmd, extract buildExecScript, handleWsExec routing) 2026-03-31 20:37:05 +08:00
Jiaqing Liang 86210296c1 fix: MV3 SW keepalive for WS connection via periodic alarm ping 2026-03-31 11:19:48 +08:00
Liang Jiaqing 106c6b04f1 docs: update save_to_file desc, add iframe scan note, cdp_bridge notice 2026-03-31 09:04:22 +08:00
Liang Jiaqing 72a85a0823 fix: buildCdpScript add smartProcessResult to prevent CDP serialization error on complex DOM (GitHub issues, Gmail etc); update SOP docs 2026-03-30 22:30:34 +08:00
Liang Jiaqing f320d141a0 feat: CDP bridge extension integration - ext_ws session type, DOM-channel CDP/batch/cookies/tabs, autofill bringToFront fix, await support in SOP 2026-03-30 20:01:27 +08:00
Liang Jiaqing 08ac18be6e fix: code_run encoding compat; wechat truncate long code blocks & limit msg count 2026-03-29 17:43:06 +08:00