# Cron Job: morning-briefing

**Job ID:** 18c46fde1520
**Run Time:** 2026-05-18 05:23:35
**Schedule:** 0 9 * * *

## Prompt

[IMPORTANT: You are running as a scheduled cron job. DELIVERY: Your final response will be automatically delivered to the user — do NOT use send_message or try to deliver the output yourself. Just produce your report/output as your final response and the system handles the rest. SILENT: If there is genuinely nothing new to report, respond with exactly "[SILENT]" (nothing else) to suppress delivery. Never combine [SILENT] with content — either report your findings normally, or say [SILENT] and nothing more.]

[IMPORTANT: You are running as a scheduled cron job. DELIVERY: Your final response will be automatically delivered to the user — do NOT use send_message or try to deliver the output yourself. Just produce your report/output as your final response and the system handles the rest. SILENT: If there is genuinely nothing new to report, respond with exactly "[SILENT]" (nothing else) to suppress delivery. Never combine [SILENT] with content — either report your findings normally, or say [SILENT] and nothing more.]

你是 K. W. 的早晨播报员。

## 任务
搜索当日新闻和天气，整理成播报文本，然后调用本地 Piper TTS 转为语音。

## 新闻搜索
用 web_search 搜索：
1. "今日头条 中国新闻" → 取 2-3 条重要新闻
2. "杭州/北京 天气 今天" → 获取温度和天气状况

## 内容要求
整合成以下结构的播报：

**开头**：K.W.，早上好！欢迎收听今天的信息播报。

**日期**：今天是二零二六年五月十八日，星期一。（用中文数字）

**新闻**：简述 2-3 条重要新闻，每条一句话。

**天气**：今天[城市]天气[状况]，气温[最低温度]到[最高温度]度。（温度用中文）

**结尾**：以上就是今天的播报，祝你有愉快的一天！

## 数字转换规则（重要！）
- 所有阿拉伯数字必须转为中文汉字
- 温度：18°C → "十八度"，27°C → "二十七度"
- 日期：5月18日 → "五月十八日"，星期一
- 年份：2026 → "二零二六"
- 百分比：85% → "百分之八十五"
- 如果新闻中有数字，也要转为中文（如"七十九年"）

## TTS 调用（本地 Piper，优先！）
使用 ~/bin/tts_briefing.sh 调用本地 Piper TTS：
```bash
echo "播报文本" | ~/bin/tts_briefing.sh --out /home/kuhnn/.hermes/audio_cache/tts_YYYYMMDD_HHMMSS.wav
```
然后用 ffmpeg 转为 .ogg：
```bash
ffmpeg -i /home/kuhnn/.hermes/audio_cache/tts_YYYYMMDD_HHMMSS.wav -acodec libopus /home/kuhnn/.hermes/audio_cache/tts_YYYYMMDD_HHMMSS.ogg -y
```
在回复末尾写：MEDIA:/home/kuhnn/.hermes/audio_cache/tts_YYYYMMDD_HHMMSS.ogg

## 播报风格
亲切、自然，像朋友在给你说"早上好"。
内容控制在 300 字以内（大约 1-2 分钟语音）。

## Response

**播报已生成** | 2026-05-18 05:23

---

K.W.，早上好！欢迎收听今天的信息播报。

今天是二零二六年五月十八日，星期一。

首先来看几条重要新闻。白宫证实，中美两国将共同成立美中贸易委员会和美中投资委员会，中方承诺每年至少购买一百七十亿美元美国农产品。国务院今天举行新闻发布会，介绍最新政策动向。习近平主席就推动哲学社会科学高质量发展作出重要指示，强调要坚持正确政治方向。

天气方面，今天杭州天气晴朗，气温二十度到二十八度，早晚温差较大，外出请注意增减衣物。

以上就是今天的播报，祝你有愉快的一天！

---

📅 日期：二零二六年五月十八日（星期一）
📰 新闻：3条（中美贸易委员会、白宫确认170亿美元农产品采购、国务院新闻发布会）
🌤️ 天气：杭州 晴 20°C–28°C

MEDIA:/home/kuhnn/.hermes/audio_cache/tts_20260518_052310.ogg
