Liang Jiaqing
9e18ce26dc
fix: empty file ZeroDivisionError in file_read; remove SiderLLMSession; init global_mem with header
2026-04-16 16:04:18 +08:00
Jiaqing Liang
16fe369f5a
preserve history across llm switch
2026-04-15 14:34:06 +08:00
Jiaqing Liang
d111db5454
fix prompt flow
2026-04-15 13:57:36 +08:00
Liang Jiaqing
127a4e631c
feat: add /session.key=value system command to set LLM params at runtime
2026-04-13 22:44:17 +08:00
Liang Jiaqing
499f0119bb
refactor llm session params and thinking parsing
2026-04-13 20:20:31 +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
62ac73c773
feat: task模式干预机制 _stop/_keyinfo/_intervene + consume_file
2026-04-11 17:14:35 +08:00
Liang Jiaqing
3531146792
fix: restore stop signal detection broken by render_segments cache optimization
...
- stapp.py: add st.empty() after render_segments to force Streamlit StopException check on every iteration (incl. heartbeat)
- agentmain.py: fix nround type check, fix timeout comment
2026-04-11 16:25:19 +08:00
Liang Jiaqing
7bfd6e43e6
fix: _fix_messages for Claude API compliance, raw_ask simplify, no_tool orphan fix, summary extraction improvement
2026-04-11 13:24:33 +08:00
Liang Jiaqing
4e2b806917
Refactor: use native st.expander for folding turns, optimize stream trigger, and adjust window width
2026-04-03 11:47:07 +08:00
Liang Jiaqing
88f32b208b
feat: support NativeToolClient and optimize tool use format for native API
2026-04-01 23:09:48 +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
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
bc5d1eafaf
feat: add --bg/--input flags to agentmain, rename & simplify subagent SOP
2026-03-30 15:03:28 +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
53c492b682
agentmain: auto-switch cn schema for glm/minimax/kimi; tools_schema: trim descriptions; hub: fix scroll position on refresh
2026-03-29 15:08:11 +08:00
Liang Jiaqing
a5dbce396a
refactor: remove XAI/Gemini sessions, add MixinSession fallback, improve error handling
...
- Remove GeminiSession and XaiSession from llmcore.py
- Add MixinSession: multi-endpoint fallback with exponential backoff
- ga.py: handle empty/incomplete/max_tokens responses
- Update mykey_template.py and GETTING_STARTED.md accordingly
2026-03-28 08:14:35 +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
ddce7ef549
feat: reflect hot-reload + enhance prompt caching & history compression
2026-03-24 22:58:20 +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
a9f0e9628f
fix: llm session tweaks & agent init refactor
2026-03-22 09:55:24 +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
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
Liang Jiaqing
68a936eb2c
debug print result; kimi temp=1.0 compat
2026-03-14 20:34:57 +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
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
3942fe2056
minor: round-end newline, web error msg, autonomous subagent review, tmwebdriver troubleshoot
2026-03-12 22:24:35 +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
006b915533
refactor: scheduler to JSON+cooldown, update SOP
2026-03-11 12:11:22 +08:00
Liang Jiaqing
2b387f2dcf
ref: simplify feishu history injection, tune web_scan/plan_sop/driver
2026-03-09 08:55:22 +08:00
AspasZhang
7d444d065e
feat: 添加飞书机器人集成 ( #13 )
...
* feat: add Feishu bot integration
- Add fsapp.py: Feishu bot webhook handler (root directory)
- Add assets/SETUP_FEISHU.md: Setup guide for Feishu integration
- Add assets/install_python_windows.bat: Windows Python installer script
* fix: 历史注入仅在飞书场景生效,避免混入本地CLI历史
* fix: fsapp调用put_task时传source='feishu'以触发历史注入
---------
Co-authored-by: 张洲嘉 <zhangzhoujia@zhangzhoujiadeMacBook-Air.local >
2026-03-09 08:45:11 +08:00
Liang Jiaqing
61d07a16a6
update: minor fixes to agentmain, mykey_template, sidercall
2026-03-07 22:34:23 +08:00
Liang Jiaqing
fd9f172588
style: simplify open/write + shorten prompt text
2026-03-06 21:49:43 +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
524944dfc8
安全性提升:TID动态生成+Streamlit页面排除+工作记忆修复
2026-03-06 18:54:09 +08:00
wangmc1024
ffd08bcd21
允许消息内容中包含HTML代码并直接渲染 | 将纯相对路径改为基于脚本文件的绝对路径,便于全局调用
2026-03-05 22:59:26 +08:00
Liang Jiaqing
ed75d103f5
优化中间输出频率/plan_sop重构/autofill batch示例/README便携版链接
2026-03-04 17:14:13 +08:00
Liang Jiaqing
3f8407a853
CDP bridge扩展完善+SOP精简+insight修复+plan_sop+autonomous_sop更新
2026-03-04 12:02:50 +08:00
Jiaqing Liang
9219042a8f
feat: add --reflect mode with error handling + scheduler/autonomous scripts
2026-03-02 23:25:31 +08:00
remy
df3b347653
Add retry/backoff and richer error logs for relay calls
2026-03-02 00:38:27 +10:00
remy
998382aebe
Add responses api_mode support for OpenAI relay
2026-03-02 00:17:25 +10:00
Jiaqing Liang
07a53889fb
fix: ljqCtrl Press list bug, update SOPs (must call working_mem), agentmain round-end marker
2026-02-24 16:43:05 +08:00
Jiaqing Liang
860d305c44
friendlier exit messages for tgapp; scheduler sleep-first and dir check
2026-02-24 11:13:24 +08:00
Liang Jiaqing
ac2f8ad1e1
agentmain: add timeout+sampling snapshot for task queue consumer
2026-02-23 21:51:21 +08:00
Liang Jiaqing
bb8331f926
fix: add try/except for LLM init, improve working memory prompt, fix autonomous report format
2026-02-21 13:33:28 +08:00
Liang Jiaqing
b8ce2ecf13
fix: move input outside try block to allow Ctrl+C exit
2026-02-20 12:54:29 +08:00
Liang Jiaqing
08d6cedc7d
feat: 优化LLM显示、修复API路径、重构自主操作SOP、添加sche_tasks到gitignore
...
- agentmain.py: LLM列表显示增加backend类型
- sidercall.py: 统一API endpoint路径为/v1/chat/completions
- autonomous_operation_sop.md: 重构任务选择逻辑和报告目录规则
- .gitignore: 添加sche_tasks/目录排除
- 移除git追踪的sche_tasks任务报告文件
2026-02-20 11:10:04 +08:00