配置更新
This commit is contained in:
@@ -31,6 +31,9 @@
|
|||||||
| **目标管理** | 短期/中期/长期目标追踪 |
|
| **目标管理** | 短期/中期/长期目标追踪 |
|
||||||
| **智能建议** | 节流优化、负债管理、储蓄提升方案 |
|
| **智能建议** | 节流优化、负债管理、储蓄提升方案 |
|
||||||
|
|
||||||
## 常用数据库
|
## 数据库
|
||||||
- MySQL (root/5gynj20J) → 数据库: finances
|
|
||||||
- 表: family_members, income_records, fixed_expenses, variable_expenses, assets, liabilities, financial_goals, conversation_log
|
共享配置:`~/.config/clawdbot/db-config.json`(名称:理财财务)
|
||||||
|
- **数据库**:finances(MySQL, Docker 127.0.0.1:3306)
|
||||||
|
- **用户名**:root
|
||||||
|
- **表**:family_members, income_records, fixed_expenses, variable_expenses, assets, liabilities, financial_goals, conversation_log
|
||||||
|
|||||||
@@ -49,8 +49,11 @@
|
|||||||
| **复查提醒** | 定期复查提醒,指标变化趋势追踪 |
|
| **复查提醒** | 定期复查提醒,指标变化趋势追踪 |
|
||||||
| **智能问答** | 结合历史数据的个性化即时建议 |
|
| **智能问答** | 结合历史数据的个性化即时建议 |
|
||||||
|
|
||||||
## 常用数据库
|
## 数据库
|
||||||
- MySQL (root/5gynj20J) → 数据库: fitness
|
|
||||||
- 表:
|
共享配置:`~/.config/clawdbot/db-config.json`(名称:健身健康)
|
||||||
|
- **数据库**:fitness(MySQL, Docker 127.0.0.1:3306)
|
||||||
|
- **用户名**:root
|
||||||
|
- **表**:
|
||||||
- **减脂核心**: food_library, user_profiles, diet_records, body_records, exercise_records, health_status_logs, weekly_reports
|
- **减脂核心**: food_library, user_profiles, diet_records, body_records, exercise_records, health_status_logs, weekly_reports
|
||||||
- **健康管理**: health_checkups, health_abnormal_indicators, health_restrictions, health_alerts, health_reminders, health_indicator_trends, user_health_summary
|
- **健康管理**: health_checkups, health_abnormal_indicators, health_restrictions, health_alerts, health_reminders, health_indicator_trends, user_health_summary
|
||||||
|
|||||||
@@ -31,3 +31,10 @@
|
|||||||
| **子女** | 杨锦书(儿子) |
|
| **子女** | 杨锦书(儿子) |
|
||||||
| **结婚纪念日** | 2021年2月28日 |
|
| **结婚纪念日** | 2021年2月28日 |
|
||||||
| **领证纪念日** | 2020年3月13日 |
|
| **领证纪念日** | 2020年3月13日 |
|
||||||
|
|
||||||
|
## 数据库
|
||||||
|
|
||||||
|
共享配置:`~/.config/clawdbot/db-config.json`(名称:卷儿记账)
|
||||||
|
- **数据库**:juaner(MySQL, Docker 127.0.0.1:3306)
|
||||||
|
- **表**:transactions(记账流水)、todos(待办事项)
|
||||||
|
- **用户名**:root
|
||||||
|
|||||||
@@ -18,8 +18,7 @@
|
|||||||
"cacheWrite": 0
|
"cacheWrite": 0
|
||||||
},
|
},
|
||||||
"contextWindow": 1000000,
|
"contextWindow": 1000000,
|
||||||
"maxTokens": 384000,
|
"maxTokens": 384000
|
||||||
"api": "openai-completions"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "deepseek-v4-flash",
|
"id": "deepseek-v4-flash",
|
||||||
@@ -35,12 +34,11 @@
|
|||||||
"cacheWrite": 0
|
"cacheWrite": 0
|
||||||
},
|
},
|
||||||
"contextWindow": 1000000,
|
"contextWindow": 1000000,
|
||||||
"maxTokens": 384000,
|
"maxTokens": 384000
|
||||||
"api": "openai-completions"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"apiKey": "sk-893b90b270ad4697a0b0b24969964d79",
|
"api": "openai-completions",
|
||||||
"api": "openai-completions"
|
"apiKey": "sk-893b90b270ad4697a0b0b24969964d79"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"operator.read",
|
"operator.read",
|
||||||
"operator.write"
|
"operator.write"
|
||||||
],
|
],
|
||||||
"updatedAtMs": 1784095214737
|
"updatedAtMs": 1784098986853
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"o9cq80w6ZnnPGItW-GGACkwd69bA@im.wechat":"AARzJWAFAAABAAAAAAAYm4Qoror18kSCZVJWaiAAAAB+9905Q6UiugPBawU3n3cyzQX+LkN8ofRzsCZYN0mt7qJZVqRz/AiX/G5khUmJnRs/tZh4gb85vUgIMhrlaP4B5cdv2b95"}
|
{"o9cq80w6ZnnPGItW-GGACkwd69bA@im.wechat":"AARzJWAFAAABAAAAAAC9UVgZ+t/z2/vhcChXaiAAAAB+9905Q6UiugPBawU3n3cyzQX+LkN8ofRzsCZYN0mt7kP/BHgErxQWzCL4vVqfqTeGvh2VAkdvRQjQR3NNngt+ap7J3YuD"}
|
||||||
@@ -1 +1 @@
|
|||||||
{"get_updates_buf":"ChAIDhCnvceJ9jMYmp6chfYzEjplNDhhY2U5ODE0ZjBAaW0uYm90OjA2MDAwMGQ0ZmYwNzg5NWY2NDFlMmZjNmIzNGUzMzNkZDIwMjgx"}
|
{"get_updates_buf":"ChAIERDV7tej9jMYmp6chfYzEjplNDhhY2U5ODE0ZjBAaW0uYm90OjA2MDAwMGQ0ZmYwNzg5NWY2NDFlMmZjNmIzNGUzMzNkZDIwMjgx"}
|
||||||
+9
-22
@@ -71,29 +71,11 @@
|
|||||||
"model": "text-embedding-v4"
|
"model": "text-embedding-v4"
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
"ollama/huihui_ai/glm-4.7-flash-abliterated:latest": {
|
|
||||||
"alias": "GLM 4.7 Flash(本地)"
|
|
||||||
},
|
|
||||||
"ollama/deepseek-v4-flash:cloud": {
|
|
||||||
"alias": "DeepSeek V4 Flash(云端)"
|
|
||||||
},
|
|
||||||
"deepseek/deepseek-v4-pro": {
|
"deepseek/deepseek-v4-pro": {
|
||||||
"alias": "DeepSeek V4 Pro"
|
"alias": "DeepSeek V4 Pro"
|
||||||
},
|
},
|
||||||
"deepseek/deepseek-v4-flash": {
|
"deepseek/deepseek-v4-flash": {
|
||||||
"alias": "DeepSeek V4 Flash"
|
"alias": "DeepSeek V4 Flash"
|
||||||
},
|
|
||||||
"new-api/deepseek-v4-flash": {
|
|
||||||
"alias": "New Api V4 Flash"
|
|
||||||
},
|
|
||||||
"new-api/qwen3.5-plus": {
|
|
||||||
"alias": "New Api Qwen 3.5 Plus"
|
|
||||||
},
|
|
||||||
"new-api/qwen3.7-max": {
|
|
||||||
"alias": "New Api Qwen 3.7 Max"
|
|
||||||
},
|
|
||||||
"new-api/glm-5.1": {
|
|
||||||
"alias": "New Api GLM 5.1"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"workspace": "/home/yangxuan/.openclaw/workspace",
|
"workspace": "/home/yangxuan/.openclaw/workspace",
|
||||||
@@ -420,10 +402,10 @@
|
|||||||
"enabled": false
|
"enabled": false
|
||||||
},
|
},
|
||||||
"MySQL": {
|
"MySQL": {
|
||||||
"enabled": false
|
"enabled": true
|
||||||
},
|
},
|
||||||
"sql-toolkit": {
|
"sql-toolkit": {
|
||||||
"enabled": false
|
"enabled": true
|
||||||
},
|
},
|
||||||
"tmux": {
|
"tmux": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
@@ -494,7 +476,7 @@
|
|||||||
"agentId": "main",
|
"agentId": "main",
|
||||||
"match": {
|
"match": {
|
||||||
"channel": "openclaw-weixin",
|
"channel": "openclaw-weixin",
|
||||||
"accountId": "d843ed5f6ccc-im-bot"
|
"accountId": "e48ace9814f0-im-bot"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -504,5 +486,10 @@
|
|||||||
"accountId": "89623f3b5d79-im-bot"
|
"accountId": "89623f3b5d79-im-bot"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"cron": {
|
||||||
|
"triggers": {
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Executable
+23
@@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# 运动提醒触发条件脚本
|
||||||
|
# 返回 0(触发)或 1(跳过)
|
||||||
|
|
||||||
|
HOUR=$(date +%H)
|
||||||
|
DOW=$(date +%u) # 1=周一, 5=周五, 2/4=周二/周四
|
||||||
|
|
||||||
|
# 只在工作日执行 (1-5)
|
||||||
|
if [ "$DOW" -lt 1 ] || [ "$DOW" -gt 5 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 9:00-17:00 整点提醒(12点午休跳过)
|
||||||
|
if [ "$HOUR" -ge 9 ] && [ "$HOUR" -le 17 ] && [ "$HOUR" -ne 12 ]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 周二/周四 20:00 额外提醒
|
||||||
|
if [ "$HOUR" -eq 20 ] && { [ "$DOW" -eq 2 ] || [ "$DOW" -eq 4 ]; }; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 1
|
||||||
Reference in New Issue
Block a user