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
Liang Jiaqing
1e39032c67
refactor: optimize non-verbose output - tool icons, compact args, clean content
2026-04-07 19:03:43 +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
473659ba6e
refactor: agent loop done_hooks, inline_eval, scheduler logging & health_check
...
- agent_loop: for→while, _done_hooks callback mechanism, max_turns=40
- agentmain: pass self to handler, abort clears task queue
- stapp: heartbeat yield for Streamlit StopException detection
- ga: _inline_eval param for in-process eval, no_tool thresholds tuned
- scheduler: logging, max_delay_hours, weekday repeat, health_check()
2026-03-30 13:51:21 +08:00
Liang Jiaqing
226fa69cc3
refactor MixinSession._raw_ask: simplify retry logic, skip yielding first-only error chunk
2026-03-29 10:53:26 +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
Vivi 8n24
6fe93e9cb4
Add chat app adapters for QQ, Feishu, WeCom, and DingTalk
2026-03-13 16:04:18 +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
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
066a2995e4
update start_long_term desc: remove single-call limit, add 15-turn rule
2026-03-02 17:25:37 +08:00
Jiaqing Liang
bb2d595fb6
重构轮次警告机制并修复路径问题
...
- 提取next_prompt_patcher回调让handler自定义警告策略
- 修复turn显示不一致问题
- 每10轮注入全局记忆防止上下文丢失
- 强化autonomous_reports路径警告
- 新增subagent测试驱动SOP优化方法
2026-02-27 21:41:52 +08:00
Liang Jiaqing
63d9bea9b2
tweak: soften checkpoint reminder to optional hint
2026-02-26 12:36:41 +08:00
Liang Jiaqing
c9a0b61bf2
tweak: soften checkpoint reminder wording in agent_loop 7-turn prompt
2026-02-26 12:36:13 +08:00
Liang Jiaqing
d7608a01f3
chore: minor tweaks - fix newline replace scope, relax turn limits, wording
2026-02-22 23:59:16 +08:00
Liang Jiaqing
dbc28fbc35
fix: print编码防崩 + 未知工具时自动重注入tool schema
2026-02-16 20:15:46 +08:00
Liang Jiaqing
12d79b7847
feat: 添加定时任务调度器和相关配置
...
- 新增定时任务调度器(agentmain.py):支持基于时间戳的任务自动执行
- 添加scheduled_task_sop.md:定时任务执行流程文档
- 优化agent_loop.py:移除错误提示emoji
- 调整sidercall.py:降低context_win至10000
- 更新.gitignore:忽略tasks目录,白名单scheduled_task_sop.md
2026-02-14 10:10:10 +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
Liang Jiaqing
6bc5f3e80d
feat: add verbose mode and telegram bot integration
...
- Add exhaust() helper for generator handling
- Add verbose parameter to control output verbosity
- Extend next_llm() to support direct index switching
- Add list_llms() and get_llm_name() query methods
- New tgapp.py: Telegram bot with streaming updates
- Update stapp.py to use new LLM query API
2026-02-13 11:21:14 +08:00
Liang Jiaqing
df6645adcc
fix: improve JSON parsing error handling with bad_json mechanism
2026-02-12 21:25:15 +08:00
Jiaqing Liang
1276021422
refactor: restructure memory hierarchy and fix ljqCtrl coordinate logic
2026-02-11 12:54:09 +08:00
Liang Jiaqing
8f593c4eaf
refine agent loop and working memory tools
2026-02-10 13:15:31 +08:00
Jiaqing Liang
61daedec3f
Update core scripts and tools schema
2026-02-09 14:55:41 +08:00
Jiaqing Liang
b37b56a780
chore: sync core logic updates
2026-02-05 17:36:30 +08:00
Liang Jiaqing
a9209daaf7
feat: stream LLM responses and improve agent UI
2026-02-04 18:56:50 +08:00
Liang Jiaqing
669095699e
feat: refine vision processing logic and update SOP
2026-01-31 15:47:23 +08:00
Jiaqing Liang
01c477c050
chore: self-commit core logic updates and agent state
2026-01-30 14:51:52 +08:00
Liang Jiaqing
35ce8f7c9e
fix: resolve path inconsistency between code_run and file_read
2026-01-29 20:06:09 +08:00
Jiaqing Liang
2ae60d4d0b
minor updates
2026-01-29 15:38:44 +08:00
Jiaqing Liang
32a5af2608
chore: auto update by agent
2026-01-29 15:34:22 +08:00
Liang Jiaqing
424ddc4ab1
Update core logic and prompts
2026-01-28 09:29:56 +08:00
Liang Jiaqing
3c1525e427
update agent_loop and ga logic
2026-01-18 12:28:56 +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