34 Commits

Author SHA1 Message Date
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
Jiaqing Liang 9e20e28028 fix: widen window & collapse sidebar to work around streamlit narrow-viewport bug 2026-06-09 16:43:05 +08:00
Liang Jiaqing 1a32a3030c fix(launch): skip paste interception when clipboard contains text
PPT/Word copies include both image/png and text/plain items.
Only intercept paste when no text item is present (pure screenshot/image).
2026-05-11 20:27:26 +08:00
AspasZhang 6a4db9a140 fix: disable Streamlit dev shortcuts to prevent Ctrl+C triggering Clear Caches on Windows (#309) 2026-05-09 12:31:28 +08:00
TraderLife 35f249bd95 feat: add --wechat/--wx launch argument (#288) 2026-05-08 11:53:54 +08:00
Liang Jiaqing b55b50a0ec Revert "fix: make launcher resilient to pywebview startup failures (#203)"
This reverts commit dbb562f550.
2026-05-02 12:47:21 +08:00
CauchYoung 86bed816ad fix: make launcher resilient to pywebview startup failures (#203)
Co-authored-by: laplace young <yangqk12@whu.edu.cn>
2026-05-02 12:45:57 +08:00
Liang Jiaqing 6022f2dc4d handle file paste in webview 2026-04-26 20:51:49 +08:00
Liang Jiaqing 2324fd68f4 refactor(simphtml): rewrite list detection & cutlist for multi-list support
- simphtml: replace center-point ancestor-chain approach with global container scan;
  support multiple lists per page; add container-scoped selector prefixes;
  inline FAKE ELEMENT hints with hidden item previews; remove findMainContent
- ga: hot-reload simphtml on each web_scan; fix file_read total_lines for keyword search;
  add errors='replace' for global_mem encoding safety
- llmcore: stabilize NativeClaude session/device IDs across requests;
  rename no_system_prompt to fake_cc_system_prompt; deep-copy message content
- launch: adjust window width 700->600
2026-04-03 19:38:51 +08:00
Liang Jiaqing 7e47e8b5fb Refactor: use native st.expander for folding turns, optimize stream trigger, and adjust window width 2026-04-03 11:47:07 +08:00
Jiaqing Liang e89a6714c0 update userscript guard and scheduler flag 2026-03-27 15:41:42 +08:00
Jiaqing Liang 6f4f7a0e3f refactor: rewrite GETTING_STARTED, cleanup README, add hub.pyw, remove QUICK_START.pdf 2026-03-27 12:58:13 +08:00
Liang Jiaqing 7b3af193b7 enhance SSE parsing, add stream error/truncation detection, fix tool_call fallback extraction 2026-03-26 18:42:09 +08:00
Liang Jiaqing 28ffb0f9dc refactor: move frontend apps to frontends/ and fix path references 2026-03-22 17:45:20 +08:00
Vivi 8n24 b18f4a2976 Add chat app adapters for QQ, Feishu, WeCom, and DingTalk 2026-03-13 16:04:18 +08:00
Jiaqing Liang 51c80f7976 refactor: scheduler to JSON+cooldown, update SOP 2026-03-11 12:11:22 +08:00
Liang Jiaqing 20c249ef2f fix: unified auto_make_url for all API base_url formats, closes #12 2026-03-08 10:24:54 +08:00
wangmc1024 aec54bfb52 允许消息内容中包含HTML代码并直接渲染 | 将纯相对路径改为基于脚本文件的绝对路径,便于全局调用 2026-03-05 22:59:26 +08:00
Liang Jiaqing 0adb8d73a6 launch: bind streamlit to localhost + use high port range 18501-18599 2026-03-03 21:05:34 +08:00
Jiaqing Liang 75f8ef2564 refactor: improve update_working_checkpoint description and adjust TG bot default behavior 2026-02-27 20:17:49 +08:00
Jiaqing Liang 9ae045c93c launch: auto port discovery; simphtml: init newTabs; SOP docs update 2026-02-25 12:56:40 +08:00
Liang Jiaqing 32ad26f4ce feat: subagent SOP, autonomous SOP overhaul, ga.py try-block fix, launch llm_no param, agentmain streamline 2026-02-16 19:08:55 +08:00
Liang Jiaqing 5c3ef2a532 压缩 launch.pyw 代码:124行→90行 (减少34行)
- 合并 import 语句为单行
- 压缩配置变量定义
- 合并 argparse 参数定义
- 压缩 socket 和 subprocess 代码
- 参数名优化:--no-scheduler → --no-sched
- 使用 lambda 统一清理资源
2026-02-14 10:34:52 +08:00
Liang Jiaqing ab48b35ca9 refactor: 使用假端口实现调度器单例控制
- 恢复 agentmain.py 到原始状态
- launch.pyw 使用端口 65432 检测单例
- 避免重复启动调度器实例
2026-02-14 10:17:26 +08:00
Liang Jiaqing cf8c191ae9 feat: 添加调度器单例控制和launch启动集成
- agentmain.py: 添加单例锁机制,防止重复启动
- launch.pyw: 集成调度器启动,支持--no-scheduler参数
2026-02-14 10:13:16 +08:00
Liang Jiaqing b06cd52cf2 feat: add --no-tg flag to launch.pyw for multi-machine sync 2026-02-13 14:10:02 +08:00
Liang Jiaqing 98c349a1e8 fix: greedy match for file_content extraction; tgapp: add running indicator, HTML formatting, single instance lock; misc improvements 2026-02-13 13:34:21 +08:00
Jiaqing Liang 3f1fad8ab9 feat: upgrade architecture, add idle monitor, and include new assets 2026-02-09 13:24:08 +08:00
Liang Jiaqing 8cfafe119d Refactor: decouple task queues, add JS injection support, and simplify stapp rendering 2026-02-09 09:24:53 +08:00
Jiaqing Liang 70d7894898 Refactor LLM backend structure and optimize config/launch 2026-02-06 14:18:09 +08:00
Liang Jiaqing 541d44567d Refactor: replace agentapp.py with stapp.py, optimize abort logic and cross-platform compatibility 2026-02-03 20:45:33 +08:00
Liang Jiaqing 9b20ca8297 fix: restore files removed by mistake and keep zip ignored 2026-01-16 23:50:19 +08:00
Liang Jiaqing 27c78d08db chore: ignore zip files 2026-01-16 23:50:07 +08:00
Liang Jiaqing 1c13bf5526 Initial commit for GenericAgent 2026-01-16 23:43:35 +08:00