Commit Graph
45 Commits
Author SHA1 Message Date
Jiaqing Liang 8dcdb23477 fix: defensive CDP config init (makedirs+try/except); tweak autonomous sop wording 2026-03-12 12:59:05 +08:00
Jiaqing Liang 51c80f7976 refactor: scheduler to JSON+cooldown, update SOP 2026-03-11 12:11:22 +08:00
Liang Jiaqing 2308f93edb ref: simplify feishu history injection, tune web_scan/plan_sop/driver 2026-03-09 08:55:22 +08:00
AspasZhangand张洲嘉 e08f628a24 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 a22eac2175 update: minor fixes to agentmain, mykey_template, sidercall 2026-03-07 22:34:23 +08:00
Liang Jiaqing 22f773c517 style: simplify open/write + shorten prompt text 2026-03-06 21:49:43 +08:00
Liang Jiaqing 102eb12d04 refactor: use script_dir for init paths 2026-03-06 21:44:49 +08:00
Liang Jiaqing 88670764a5 Merge PR #6: 火山引擎适配 + 路径修复
# Conflicts:
#	.gitignore
#	agentmain.py
2026-03-06 21:43:04 +08:00
Liang Jiaqing 098d101bdc 安全性提升:TID动态生成+Streamlit页面排除+工作记忆修复 2026-03-06 18:54:09 +08:00
wangmc1024 aec54bfb52 允许消息内容中包含HTML代码并直接渲染 | 将纯相对路径改为基于脚本文件的绝对路径,便于全局调用 2026-03-05 22:59:26 +08:00
Liang Jiaqing 484dd11613 优化中间输出频率/plan_sop重构/autofill batch示例/README便携版链接 2026-03-04 17:14:13 +08:00
Liang Jiaqing 5350c2e775 CDP bridge扩展完善+SOP精简+insight修复+plan_sop+autonomous_sop更新 2026-03-04 12:02:50 +08:00
Jiaqing Liang ad6b651b24 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
Liang Jiaqing 2cb7c079a7 refactor: use vars(mykey) to preserve key order, fix .items() iteration 2026-02-19 09:28:29 +08:00
Liang Jiaqing 38b5b3b86d refactor: insight两层场景映射格式 + L0同步 + 模板更新 2026-02-18 11:28:25 +08:00
Liang Jiaqing 55b5b4f8a3 fix: dedup working_mem hint, flush incremental output tail, sche_tasks path, CLI KeyboardInterrupt handling; add Termux instructions to README 2026-02-18 11:05:40 +08:00
Liang Jiaqing f8e501a27a feat: add XaiSession backend, improve handler switch & tg resilience 2026-02-17 13:18:09 +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 480b131a0a update: README重写+agentmain/tgapp改进+SOP优化 2026-02-15 08:49:12 +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 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 4163341bb3 harden execute_js_rich + fix GBK encoding crash on pyw 2026-02-13 15:54:52 +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
Liang Jiaqing 87e522ff8e feat: add ClaudeSession for native Claude Messages API support 2026-02-12 18:07:45 +08:00
Liang Jiaqing 69153f7a42 multi oai config support, timeout fix, execute_js_rich optimization 2026-02-12 16:56:11 +08:00
Jiaqing Liang 1276021422 refactor: restructure memory hierarchy and fix ljqCtrl coordinate logic 2026-02-11 12:54:09 +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
Jiaqing Liang de0cce72e0 Fix stop signal handling and Sider streaming wrapper 2026-02-06 10:39:36 +08:00
Jiaqing Liang b37b56a780 chore: sync core logic updates 2026-02-05 17:36:30 +08:00
Jiaqing Liang 52558c7f60 feat: optimize streaming output, add thread safety, and refine system prompts 2026-02-05 13:40:37 +08:00
Liang Jiaqing 16bf93dafa Refine memory SOP and LLM session behaviour 2026-02-04 21:29:59 +08:00
Liang Jiaqing a9209daaf7 feat: stream LLM responses and improve agent UI 2026-02-04 18:56:50 +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 74e1d74726 feat: update agent logic and main entry 2026-02-03 20:28:51 +08:00