Liang Jiaqing
38e2a460e3
refactor: optimize code extraction priority in tool handlers & update autofill SOP
2026-03-27 19:43:46 +08:00
Liang Jiaqing
a1c289dbd1
feat(web_driver): support await in executeCode via AsyncFunction fallback
2026-03-27 18:57:47 +08:00
Liang Jiaqing
55a5eae4f6
perf: replace MutationObserver with setInterval to fix performance issue
2026-03-27 18:41:39 +08:00
Jiaqing Liang
04448dcee9
update userscript guard and scheduler flag
2026-03-27 15:41:42 +08:00
Jiaqing Liang
f6c5011eb0
refactor: rewrite GETTING_STARTED, cleanup README, add hub.pyw, remove QUICK_START.pdf
2026-03-27 12:58:13 +08:00
Liang Jiaqing
ff258dd0a9
refine: context window, timeout, abort guard, code_run multi-call check, clean logs
2026-03-26 21:31:48 +08:00
Liang Jiaqing
47ad98239f
enhance SSE parsing, add stream error/truncation detection, fix tool_call fallback extraction
2026-03-26 18:42:09 +08:00
Liang Jiaqing
650c14dc1a
update wechat group QR code (group 2, as group 1 is full)
2026-03-26 13:37:41 +08:00
Liang Jiaqing
551666a53b
refactor: unify OpenAI streaming into _openai_stream(), add Responses API support
...
- Extract shared _openai_stream() from LLMSession and NativeOAISession
- Add Responses API compatibility: system->developer role, flat tools format, no temperature
- Improve error handling: read body before raise_for_status in stream mode
- Add retry mechanism to NativeOAISession (was missing)
- Add api_mode, connect_timeout, read_timeout config to NativeOAISession
2026-03-25 23:50:28 +08:00
Liang Jiaqing
507e886322
refactor llmcore: extract _parse_claude_sse, simplify ToolClient, enhance logging and context trimming
2026-03-25 21:41:33 +08:00
Liang Jiaqing
1b60d2c773
minor: tweak prompt wording, improve OAI history compression
2026-03-25 10:00:16 +08:00
Liang Jiaqing
85250c2694
fix: unify assistant content format for prompt caching to work
2026-03-25 09:45:43 +08:00
Liang Jiaqing
b92d2bc97d
fix: always compress history tags, adjust context trim thresholds
2026-03-25 08:37:46 +08:00
Liang Jiaqing
ddce7ef549
feat: reflect hot-reload + enhance prompt caching & history compression
2026-03-24 22:58:20 +08:00
Liang Jiaqing
274bbcb9e4
docs: update WeChat group QR code
2026-03-24 22:55:04 +08:00
Liang Jiaqing
28f22c3973
feat: add prompt caching for NativeClaudeSession
2026-03-24 20:00:44 +08:00
Liang Jiaqing
f9a0aa71fa
fix: add tool_result placeholder for NativeClaudeSession to prevent 502
2026-03-24 19:54:27 +08:00
Liang Jiaqing
651e0d2bc8
refactor: extract code_run header to external file, add subprocess gbk fallback patch
2026-03-24 09:52:55 +08:00
Liang Jiaqing
5643bfb5f0
code_run自动注入常用import+memory路径; ljqCtrl_sop补充文本输入方法
2026-03-24 00:00:20 +08:00
Liang Jiaqing
515b0cd985
feat: unified media download in wechatapp + proxy support for NativeOAISession
2026-03-23 20:57:39 +08:00
Liang Jiaqing
60f40e3c5e
feat(wechat): add send_file via CDN upload; fix _strip_md robustness
...
- Add WxBotClient.send_file() with AES-128-ECB encryption and CDN upload
- Extract [FILE:] tags before _clean() to preserve filenames
- Fix _strip_md: support 3+ backticks via backreference, stop stripping underscores
- Remove verbose key_info echo from update_working_checkpoint
2026-03-23 17:55:20 +08:00
Jiaqing Liang
eb8834b9df
feat: enhance text_only mode - add form element annotations, block-level line breaks, and whitespace cleanup
2026-03-23 15:26:05 +08:00
Jiaqing Liang
b4bdaf11da
style: remove trailing periods in tool schema descriptions (-31 tokens/round)
2026-03-23 13:56:03 +08:00
Jiaqing Liang
47e9a55feb
feat: add file ref expansion syntax for file_patch and file_write
2026-03-23 13:50:11 +08:00
Jiaqing Liang
66dff812fb
docs: add personal WeChat bot frontend to Latest News
2026-03-23 12:05:23 +08:00
Jiaqing Liang
4b4dc51336
fix: tool_use regex negative lookahead to prevent cross-tag matching; tgapp relative path resolve
2026-03-23 11:46:10 +08:00
Liang Jiaqing
6f6d9f6570
feat: add NativeOAISession + minor fixes (code_run script fallback, thinking prompt tags)
2026-03-22 22:19:46 +08:00
Liang Jiaqing
fd5150ffad
feat: strip markdown formatting in wechat output
2026-03-22 20:45:40 +08:00
Liang Jiaqing
ba6ab901f8
feat: add WeChat bot frontend (wechatapp.py)
2026-03-22 20:20:33 +08:00
Liang Jiaqing
8794c85cfe
docs: update paths for frontends/ migration
2026-03-22 17:47:56 +08:00
Liang Jiaqing
87d557260c
refactor: move frontend apps to frontends/ and fix path references
2026-03-22 17:45:20 +08:00
Liang Jiaqing
a9f0e9628f
fix: llm session tweaks & agent init refactor
2026-03-22 09:55:24 +08:00
Liang Jiaqing
122b6c431c
improve mykey_template: add apibase rules, all session types with full cfg comments
2026-03-21 12:23:58 +08:00
Liang Jiaqing
fdc24e4dd0
add NativeClaudeSession+NativeToolClient, support parallel tool calls, fix tool_calls[-1:], add llm log
2026-03-21 12:13:46 +08:00
Liang Jiaqing
85f17db487
feat: prompt_cache skip compress + style
2026-03-20 23:47:15 +08:00
Jiaqing Liang
05800a4f48
Merge PR #40 : Fix feishu group chat reply and add docs
2026-03-19 14:42:20 +08:00
Jiaqing Liang
4ebb421fd5
Merge PR #39 : Add reasoning_effort config support
2026-03-19 14:38:23 +08:00
Liang Jiaqing
00038cd1ae
refactor: unify LLM session constructors to accept cfg dict
2026-03-17 16:52:12 +08:00
Jiaqing Liang
d896355bad
fix: key_info regex residue accumulation bug - non-greedy match stopped at first 工作记忆 leaving tail behind
2026-03-16 13:57:52 +08:00
Jiaqing Liang
065a5ee4bf
refactor: working memory dict, merge chat paths, simplify SKILL docs
2026-03-16 13:18:41 +08:00
Jiaqing Liang
3e6be97ec9
feat: add IME composition fix for macOS ( closes #33 )
...
Based on PR #33 by UnsongK. Compressed to 4 lines with OS guard
so Windows users are completely unaffected.
2026-03-16 13:15:48 +08:00
LJQ
5fdc2c60b2
Merge pull request #31 from wjl2023/fix-readme-date
...
fix: Update release date to 2026-03-10
2026-03-14 21:14:44 +08:00
LJQ
da00664a00
Merge pull request #29 from wjl2023/fix-moonshot-temperature
...
fix: Add moonshot API temperature=1.0 constraint
2026-03-14 20:47:44 +08:00
Liang Jiaqing
68a936eb2c
debug print result; kimi temp=1.0 compat
2026-03-14 20:34:57 +08:00
Liang Jiaqing
bbde5399cf
add skill_search SOP to tracked memory files
2026-03-14 20:33:54 +08:00
Liang Jiaqing
afa288f240
docs: add note about 2 memory management tools alongside 7 atomic tools
2026-03-14 08:53:11 +08:00
Liang Jiaqing
75a0e86820
docs: update README with enhanced structure, news section, bot interfaces, and comparison table (from hjy)
2026-03-14 08:49:07 +08:00
LJQ
d5f1d03a59
Add MIT License
2026-03-13 22:31:29 +08:00
Liang Jiaqing
90bfd2324a
Remove license section from README
2026-03-13 22:14:37 +08:00
Liang Jiaqing
0100bf10af
refactor: replace insight template comments with real out-of-box entries
2026-03-13 20:50:04 +08:00
Liang Jiaqing
908c1a52ed
perf: localhost→127.0.0.1 fix IPv6 2s delay; simphtml radio/checkbox/svg/dropdown fixes; poll interval 0.5→0.2s
2026-03-13 20:13:33 +08:00
LJQ
081aa12657
Merge PR #25 : Refactor chat app adapters with shared chatapp_common
...
Refactor text-first chat app adapters to reduce duplicated scaffolding
2026-03-13 18:28:27 +08:00
LJQ
b380e395c0
Merge pull request #24 from ViviqwerAsd/codex/chat-app-adapters
...
Add chat app adapters for QQ, Feishu, WeCom, and DingTalk
2026-03-13 16:14:44 +08:00
Liang Jiaqing
3f66368689
add autonomous_operation_sop folder to tracking; update .gitignore whitelist; agent_loop changes
2026-03-13 14:16:43 +08:00
Liang Jiaqing
fd7bf241d0
rename sidercall.py to llmcore.py; add cache-aware cd to compress_history_tags
2026-03-13 13:21:32 +08:00
Liang Jiaqing
2a98cc44e5
chore: update repo name from pc-agent-loop to GenericAgent
2026-03-13 12:48:38 +08:00
Liang Jiaqing
029cd91c9a
refine autonomous_sop single-task enforcement + subagent input.txt length rule
2026-03-13 09:51:14 +08:00
Liang Jiaqing
3942fe2056
minor: round-end newline, web error msg, autonomous subagent review, tmwebdriver troubleshoot
2026-03-12 22:24:35 +08:00
Liang Jiaqing
f52975fd95
Merge PR #23 : update plan_sop.md and subagent_sop.md
2026-03-12 22:22:33 +08:00
Jiaqing Liang
9f10e55d5e
fix: defensive CDP config init (makedirs+try/except); tweak autonomous sop wording
2026-03-12 12:59:05 +08:00
Jiaqing Liang
03069dbd89
修复自主行动SOP:规划完立即停止+避免模仿低价值任务
2026-03-12 09:29:20 +08:00
Jiaqing Liang
1520a85a9e
simphtml: remove dead code (js_cleanDOM, isValidInteractiveElement, redundant return)
2026-03-11 15:18:23 +08:00
Jiaqing Liang
33f2df4270
feat: 添加web_scan的text_only参数支持Shadow DOM文本提取
2026-03-11 14:48:19 +08:00
Jiaqing Liang
006b915533
refactor: scheduler to JSON+cooldown, update SOP
2026-03-11 12:11:22 +08:00
Liang Jiaqing
5dc44ba637
refactor: 优化自主行动SOP - 强化路径提示和格式规范防止history错乱
2026-03-11 10:01:42 +08:00
Liang Jiaqing
f0e5d25636
add factory memory entries to insight template
2026-03-10 22:08:57 +08:00
Jiaqing Liang
389fd09765
fix: disable unsafe_allow_html to prevent XSS in chat rendering
2026-03-10 13:55:40 +08:00
Liang Jiaqing
2b387f2dcf
ref: simplify feishu history injection, tune web_scan/plan_sop/driver
2026-03-09 08:55:22 +08:00
Liang Jiaqing
378799f8ea
fix: /status命令 is_busy() → is_running
2026-03-09 08:46:05 +08:00
Liang Jiaqing
14f1009ddc
fix: unified auto_make_url for all API base_url formats, closes #12
2026-03-08 10:24:54 +08:00
Liang Jiaqing
5eac3c1027
refactor: unified mykeys dict, support mykey.py and mykey.json dual format
2026-03-07 23:33:13 +08:00
Liang Jiaqing
61d07a16a6
update: minor fixes to agentmain, mykey_template, sidercall
2026-03-07 22:34:23 +08:00
Liang Jiaqing
7ab47af8e8
fix: zIndex auto coverage bug + monitor maxchars unlimit + autofill CDP sop update
2026-03-07 10:10:26 +08:00
Liang Jiaqing
fd9f172588
style: simplify open/write + shorten prompt text
2026-03-06 21:49:43 +08:00
Liang Jiaqing
2156bc6fc6
restore context_win=10000 max_tokens=6144
2026-03-06 21:46:41 +08:00
Liang Jiaqing
959cf6a5a6
refactor: use script_dir for init paths
2026-03-06 21:44:49 +08:00
Liang Jiaqing
cccbecb974
Merge PR #6 : 火山引擎适配 + 路径修复
...
# Conflicts:
# .gitignore
# agentmain.py
2026-03-06 21:43:04 +08:00
Liang Jiaqing
2272f255f2
feat: add file sending support for telegram bot
2026-03-06 19:19:56 +08:00
Liang Jiaqing
524944dfc8
安全性提升:TID动态生成+Streamlit页面排除+工作记忆修复
2026-03-06 18:54:09 +08:00
Jiaqing Liang
c6af92e612
feat: web_scan iframe穿透 + plan_sop术语优化
2026-03-06 00:09:52 +08:00
Liang Jiaqing
ed75d103f5
优化中间输出频率/plan_sop重构/autofill batch示例/README便携版链接
2026-03-04 17:14:13 +08:00
Liang Jiaqing
313f8a28f0
feat: CDP bridge batch support - cookies/tabs/cdp mixed commands, lazy attach, $N chain refs, file upload & screenshot verified
2026-03-04 13:06:21 +08:00
Liang Jiaqing
3f8407a853
CDP bridge扩展完善+SOP精简+insight修复+plan_sop+autonomous_sop更新
2026-03-04 12:02:50 +08:00
Liang Jiaqing
ffe1f3c4c0
fix: update extension display name to TMWD CDP Bridge
2026-03-04 11:16:42 +08:00
Liang Jiaqing
0ab90af250
rename cookie_grabber -> tmwd_cdp_bridge (CDP bridge extension)
2026-03-04 11:15:32 +08:00
Liang Jiaqing
dcf65d72c7
launch: bind streamlit to localhost + use high port range 18501-18599
2026-03-03 21:05:34 +08:00
Jiaqing Liang
9219042a8f
feat: add --reflect mode with error handling + scheduler/autonomous scripts
2026-03-02 23:25:31 +08:00
Jiaqing Liang
5c3193f326
non-verbose output: exhaust stream silently, yield content only; add plan_sop; subagent_sop cleanup
2026-03-02 23:06:07 +08:00
Jiaqing Liang
d010ab1995
refine insight: trim impl details, keep trigger keywords only (1049t)
2026-03-02 21:24:54 +08:00
Jiaqing Liang
066a2995e4
update start_long_term desc: remove single-call limit, add 15-turn rule
2026-03-02 17:25:37 +08:00
LJQ
82991c4a69
Merge pull request #2 from frank-marecogito/main
...
chore(gitignore): add mykey.py to ignore sensitive API keys and credentials
2026-03-02 09:49:19 +08:00
Jiaqing Liang
2655d79acb
Update autonomous_operation_sop.md
2026-03-01 23:19:00 +08:00
Liang Jiaqing
f27c067b1d
autonomous_sop: 加强autonomous_reports路径防护(SOP文本+checkpoint模板双层)
2026-03-01 23:18:36 +08:00
Liang Jiaqing
75ddf8fd1d
ljqCtrl: 兼容RDP断开场景的屏幕尺寸/DPI获取; ljqCtrl_sop: ClientToScreen避坑; .gitignore清理
2026-03-01 23:18:36 +08:00
LJQ
392747798a
Merge pull request #1 from redreamality/fix/oai-responses-api-mode
...
Add responses api_mode support for OpenAI relay
2026-03-01 23:16:47 +08:00
Jiaqing Liang
66989fc2e0
chore: 清理 .gitignore 中文注释和乱码
2026-02-27 23:43:24 +08:00
Jiaqing Liang
1d07183d09
refactor: 清理ga.py无用字段,重组subagent_sop结构
2026-02-27 23:41:33 +08:00
Jiaqing Liang
b271b48489
update L0: 优化 L1 描述,移除更新机制部分
2026-02-27 23:40:20 +08:00
Jiaqing Liang
66e3ccbf0d
refactor: 优化file_read统计逻辑 - 紧凑化+路径修复+编码安全
2026-02-27 23:01:30 +08:00
Jiaqing Liang
bb2d595fb6
重构轮次警告机制并修复路径问题
...
- 提取next_prompt_patcher回调让handler自定义警告策略
- 修复turn显示不一致问题
- 每10轮注入全局记忆防止上下文丢失
- 强化autonomous_reports路径警告
- 新增subagent测试驱动SOP优化方法
2026-02-27 21:41:52 +08:00