# Cron Job: morning-briefing

**Job ID:** 18c46fde1520
**Run Time:** 2026-05-18 05:15:16
**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

**K.W. 早晨播报 — 2026年5月18日（星期一）**

---

**播报文本：**

K.W.，早上好！欢迎收听今天的信息播报。今天是二零二六年五月十八日，星期一。

**新闻方面：**
- 今日是国务院例行发布会日；另一方面，中美双方已证实将共同成立美中贸易委员会与美中投资委员会，两国经贸合作迈入新阶段。
- 习近平主席就推动哲学社会科学高质量发展作出重要指示，为相关领域发展指明方向。
- 第十届中俄博览会开幕，习近平与普京分别致贺信，深化两国经贸人文交流。

**天气方面：**
今天杭州天气晴转多云，气温二十度到二十七度。

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

---

**音频文件：** `/home/kuhnn/.hermes/audio_cache/tts_20260518_051435.ogg`

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