朱潮
742eaf0a1c
remove robot_type
2026-02-08 00:04:39 +08:00
朱潮
e5ee24a765
create_project_directory
2026-02-07 23:59:05 +08:00
朱潮
f93abfebbd
create_tables
2026-02-07 23:55:58 +08:00
朱潮
b7afbd0216
Merge branch 'master' into bot_manager
2026-02-07 15:39:43 +08:00
朱潮
3ec992436c
add USER_IDENTIFIER
2026-02-07 15:39:20 +08:00
朱潮
1df52ca8d0
merge from prod
2026-02-06 22:07:47 +08:00
朱潮
c7e9f305b7
feat: 实现 Claude Plugins 模式的 Hook 机制
...
- 新增 agent/plugin_hook_loader.py:支持通过 .claude-plugin/plugin.json 配置 hooks 和 mcpServers
- 修改 agent/prompt_loader.py:集成 PrePrompt hooks,优先读取 skill MCP 配置
- 修改 routes/chat.py:添加 PostAgent 和 PreSave hooks
- 修改 routes/skill_manager.py:优先从 plugin.json 读取 name/description,fallback 到 SKILL.md
- 删除旧的 agent/skill_hook_loader.py
- 新增示例 skill user-context-loader,演示完整的 hooks 用法
Hook 类型:
- PrePrompt: 在 system_prompt 加载时注入内容
- PostAgent: 在 agent 执行后处理
- PreSave: 在消息保存前处理
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 20:15:54 +08:00
朱潮
e67d50b4fc
rename general agent
2026-02-06 17:05:17 +08:00
朱潮
66f228960b
update poetry
2026-02-05 18:56:50 +08:00
朱潮
6d32a49c09
update novare.md
2026-02-05 10:35:58 +08:00
朱潮
7e058e1505
Merge branch 'prod' into bot_manager
2026-02-04 17:54:42 +08:00
朱潮
2e429e82f7
remove summary output
2026-02-04 17:39:51 +08:00
朱潮
525801d7f5
update summary
2026-02-04 15:31:41 +08:00
朱潮
352a2f2f44
降低MAX_CONTEXT_TOKENS
2026-02-03 16:53:51 +08:00
朱潮
a22211da32
过期时间
2026-02-01 23:40:29 +08:00
朱潮
35f91a7d03
admin share
2026-02-01 21:48:23 +08:00
朱潮
f110b26efc
admin share
2026-02-01 20:25:03 +08:00
朱潮
c9d00a1b04
admin share
2026-02-01 19:39:26 +08:00
朱潮
4a96f98a40
admin share
2026-02-01 18:40:58 +08:00
朱潮
2ee0bca96d
admin share
2026-02-01 18:28:04 +08:00
朱潮
230b6c62a4
bot_share
2026-02-01 16:28:23 +08:00
朱潮
d71ae8d16d
update icor
2026-01-30 22:38:28 +08:00
朱潮
5d8efd0dc4
删除部分表
2026-01-30 19:37:22 +08:00
朱潮
51f988e535
update sql表名
2026-01-30 00:03:26 +08:00
朱潮
f88aca74f2
add table prefix
2026-01-29 15:59:42 +08:00
Henry_Sys_Arch
15b66f2a08
Auto stash before merge of "master" and "staging"
2026-01-29 15:40:52 +09:00
Henry_Sys_Arch
4e19c27edf
Merge branch 'staging'
2026-01-29 15:40:37 +09:00
Henry_Sys_Arch
05cffe8e16
add staging cicd
2026-01-29 12:31:20 +09:00
Henry_Sys_Arch
50cf725c93
update
2026-01-29 12:31:12 +09:00
Henry_Sys_Arch
e5e2ecc35c
update
2026-01-29 11:29:04 +09:00
朱潮
4c70857ff6
增加bot_manager
2026-01-28 23:32:34 +08:00
朱潮
f1107ea35a
增加enable_thinking和enable_memory
2026-01-28 17:13:41 +08:00
朱潮
26a85299b3
add skills_developing
2026-01-27 12:08:00 +08:00
朱潮
f9efe09f24
Merge branch 'prod'
2026-01-25 21:46:06 +08:00
朱潮
5134c0d8a6
添加环境变量
2026-01-25 21:46:02 +08:00
朱潮
4e8e94861f
execute sql result
2026-01-23 18:33:29 +08:00
朱潮
f8a44e8d6d
execute sql
2026-01-23 17:44:34 +08:00
朱潮
44b4295a87
update parse_skill_frontmatter
2026-01-23 08:52:27 +08:00
朱潮
3dc119bca8
refactor(mem0): optimize connection pool and async memory handling
...
- Fix mem0 connection pool exhausted error with proper pooling
- Convert memory operations to async tasks
- Optimize docker-compose configuration
- Add skill upload functionality
- Reduce cache size for better performance
- Update dependencies
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 19:39:12 +08:00
朱潮
f29fd1fb54
📝 docs(prompt): add skill execution workflow with read_file pattern
...
- Add 3-step workflow: read_file → extract command → bash execute
- Include complete example showing read_file + bash execution pattern
- Clarify that SKILL.md must be read with read_file tool before execution
- Add key rules with checkmarks (always read_file, always absolute paths)
Generated with [Claude Code](https://claude.ai/code )
via [Happy](https://happy.engineering )
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-01-21 17:50:58 +08:00
朱潮
d3f60e129b
📝 docs(prompt): enhance skill script path handling instructions
...
- Add CRITICAL path handling section with skill-specific conversion rules
- Include path conversion table showing SKILL.md relative paths to absolute paths
- Add 4-step execution guide for skill script path resolution
- Clarify skill directory structure (scripts/ can be at root or in scripts/ subfolder)
Generated with [Claude Code](https://claude.ai/code )
via [Happy](https://happy.engineering )
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-01-21 17:21:53 +08:00
朱潮
0922ad084a
patch
2026-01-21 13:23:11 +08:00
朱潮
60bd1e4042
✨ feat(prompt): add fact retrieval prompt with contact tracking
...
Add comprehensive prompt for extracting and storing user facts from
conversations, with special focus on relationship/contact tracking:
- Full name and nickname association (e.g., "Mike" → "Michael Johnson")
- Relationship context recording (family, friend, colleague, etc.)
- Multi-language name support
- Few-shot examples for various fact extraction scenarios
Generated with [Claude Code](https://claude.ai/code )
via [Happy](https://happy.engineering )
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-01-21 13:22:17 +08:00
朱潮
99755ceab5
remove settingsetting
2026-01-21 10:38:29 +08:00
朱潮
40bd50c439
update claude.md
2026-01-21 09:03:12 +08:00
朱潮
3aa223d71d
update requirements.txt
2026-01-21 08:47:55 +08:00
朱潮
b53174ae9f
需要 openai_api_key的环境变量
2026-01-21 08:38:06 +08:00
朱潮
223c63047d
fix(mem0): use asyncio.run() for async call in sync embed method
...
在 CustomMem0Embedding.embed() 同步方法中使用 asyncio.run()
调用异步的 manager.get_model(),解决同步/异步混合调用问题。
Generated with [Claude Code](https://claude.com/claude-code )
via [Happy](https://happy.engineering )
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-01-20 23:03:21 +08:00
朱潮
366a64283e
Added memory log
2026-01-20 21:30:32 +08:00
朱潮
f694101747
refactor: migrate from Memori to Mem0 for long-term memory
...
Replace Memori with Mem0 for memory management:
- Delete memori_config.py, memori_manager.py, memori_middleware.py
- Add mem0_config.py, mem0_manager.py, mem0_middleware.py
- Update environment variables (MEMORI_* -> MEM0_*)
- Integrate Mem0 with LangGraph middleware
- Add sync connection pool for Mem0 in DBPoolManager
- Move checkpoint message prep to config creation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 21:15:30 +08:00