rust-daily

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Rust Daily Report

Rust 日报

Version: 2.1.0 | Last Updated: 2025-01-27
Fetch Rust community updates, filtered by time range.
版本: 2.1.0 | 最后更新: 2025-01-27
获取Rust社区动态,可按时间范围筛选。

Data Sources

数据源

CategorySources
EcosystemReddit r/rust, This Week in Rust
Officialblog.rust-lang.org, Inside Rust
Foundationrustfoundation.org (news, blog, events)
分类来源
生态Reddit r/rust, This Week in Rust
官方blog.rust-lang.org, Inside Rust
基金会rustfoundation.org (新闻、博客、活动)

Parameters

参数

  • time_range
    : day | week | month (default: week)
  • category
    : all | ecosystem | official | foundation
  • time_range
    : day | week | month(默认:week)
  • category
    : all | ecosystem | official | foundation

Execution Mode Detection

执行模式检测

CRITICAL: Check agent file availability first to determine execution mode.
Try to read:
../../agents/rust-daily-reporter.md

重要提示:请首先检查Agent文件是否存在以确定执行模式。
尝试读取:
../../agents/rust-daily-reporter.md

Agent Mode (Plugin Install)

Agent 模式(已安装插件)

When
../../agents/rust-daily-reporter.md
exists:
../../agents/rust-daily-reporter.md
存在时:

Workflow

工作流

1. Read: ../../agents/rust-daily-reporter.md
2. Task(subagent_type: "general-purpose", run_in_background: false, prompt: <agent content>)
3. Wait for result
4. Format and present to user

1. Read: ../../agents/rust-daily-reporter.md
2. Task(subagent_type: "general-purpose", run_in_background: false, prompt: <agent content>)
3. Wait for result
4. Format and present to user

Inline Mode (Skills-only Install)

内联模式(仅安装技能)

When agent file is NOT available, execute each source directly:
当Agent文件不存在时,直接执行每个来源的抓取逻辑:

1. Reddit r/rust

1. Reddit r/rust

bash
undefined
bash
undefined

Using agent-browser CLI

Using agent-browser CLI

agent-browser open "https://www.reddit.com/r/rust/hot/" agent-browser get text ".Post" --limit 10 agent-browser close

**Or with WebFetch fallback:**
WebFetch("https://www.reddit.com/r/rust/hot/", "Extract top 10 posts with scores and titles")

**Parse output into:**
| Score | Title | Link |
|-------|-------|------|
agent-browser open "https://www.reddit.com/r/rust/hot/" agent-browser get text ".Post" --limit 10 agent-browser close

**或使用WebFetch作为备选方案:**
WebFetch("https://www.reddit.com/r/rust/hot/", "Extract top 10 posts with scores and titles")

**将输出解析为如下格式:**
| 得分 | 标题 | 链接 |
|-------|-------|------|

2. This Week in Rust

2. This Week in Rust

bash
undefined
bash
undefined

Check actionbook first

Check actionbook first

mcp__actionbook__search_actions("this week in rust") mcp__actionbook__get_action_by_id(<action_id>)
mcp__actionbook__search_actions("this week in rust") mcp__actionbook__get_action_by_id(<action_id>)

Then fetch

Then fetch

agent-browser open "https://this-week-in-rust.org/" agent-browser get text "<selector_from_actionbook>" agent-browser close

**Parse output into:**
- Issue #{number} ({date}): highlights
agent-browser open "https://this-week-in-rust.org/" agent-browser get text "<selector_from_actionbook>" agent-browser close

**将输出解析为如下格式:**
- 第#{number}期 ({date}): 亮点内容

3. Rust Blog (Official)

3. Rust 官方博客

bash
agent-browser open "https://blog.rust-lang.org/"
agent-browser get text "article" --limit 5
agent-browser close
Or with WebFetch fallback:
WebFetch("https://blog.rust-lang.org/", "Extract latest 5 blog posts with dates and titles")
Parse output into:
DateTitleSummary
bash
agent-browser open "https://blog.rust-lang.org/"
agent-browser get text "article" --limit 5
agent-browser close
或使用WebFetch作为备选方案:
WebFetch("https://blog.rust-lang.org/", "Extract latest 5 blog posts with dates and titles")
将输出解析为如下格式:
日期标题摘要

4. Inside Rust

4. Inside Rust

bash
agent-browser open "https://blog.rust-lang.org/inside-rust/"
agent-browser get text "article" --limit 3
agent-browser close
Or with WebFetch fallback:
WebFetch("https://blog.rust-lang.org/inside-rust/", "Extract latest 3 posts with dates and titles")
bash
agent-browser open "https://blog.rust-lang.org/inside-rust/"
agent-browser get text "article" --limit 3
agent-browser close
或使用WebFetch作为备选方案:
WebFetch("https://blog.rust-lang.org/inside-rust/", "Extract latest 3 posts with dates and titles")

5. Rust Foundation

5. Rust 基金会

bash
undefined
bash
undefined

News

新闻

agent-browser open "https://rustfoundation.org/media/category/news/" agent-browser get text "article" --limit 3 agent-browser close
agent-browser open "https://rustfoundation.org/media/category/news/" agent-browser get text "article" --limit 3 agent-browser close

Blog

博客

agent-browser open "https://rustfoundation.org/media/category/blog/" agent-browser get text "article" --limit 3 agent-browser close
agent-browser open "https://rustfoundation.org/media/category/blog/" agent-browser get text "article" --limit 3 agent-browser close

Events

活动

agent-browser open "https://rustfoundation.org/events/" agent-browser get text "article" --limit 3 agent-browser close
undefined
agent-browser open "https://rustfoundation.org/events/" agent-browser get text "article" --limit 3 agent-browser close
undefined

Time Filtering

时间筛选

After fetching all sources, filter by time range:
RangeFilter
dayLast 24 hours
weekLast 7 days
monthLast 30 days
抓取完所有来源内容后,按时间范围筛选:
范围筛选规则
过去24小时
过去7天
过去30天

Combining Results

结果合并

After fetching all sources, combine into the output format below.

抓取完所有来源内容后,合并为如下输出格式。

Tool Chain Priority

工具链优先级

Both modes use the same tool chain order:
  1. actionbook MCP - Check for cached/pre-fetched content first
    mcp__actionbook__search_actions("rust news {date}")
    mcp__actionbook__search_actions("this week in rust")
    mcp__actionbook__search_actions("rust blog")
  2. agent-browser CLI - For dynamic web content
    bash
    agent-browser open "<url>"
    agent-browser get text "<selector>"
    agent-browser close
  3. WebFetch - Fallback if agent-browser unavailable
SourcePrimary ToolFallback
Redditagent-browserWebFetch
TWIRactionbook → agent-browserWebFetch
Rust Blogactionbook → WebFetch-
Foundationactionbook → WebFetch-
DO NOT use:
  • Chrome MCP directly
  • WebSearch for fetching news pages

两种模式使用相同的工具链顺序:
  1. actionbook MCP - 优先检查缓存/预抓取内容
    mcp__actionbook__search_actions("rust news {date}")
    mcp__actionbook__search_actions("this week in rust")
    mcp__actionbook__search_actions("rust blog")
  2. agent-browser CLI - 用于抓取动态网页内容
    bash
    agent-browser open "<url>"
    agent-browser get text "<selector>"
    agent-browser close
  3. WebFetch - agent-browser不可用时的备选方案
来源首选工具备选工具
Redditagent-browserWebFetch
TWIRactionbook → agent-browserWebFetch
Rust Blogactionbook → WebFetch-
Foundationactionbook → WebFetch-
禁止使用:
  • 直接调用Chrome MCP
  • 使用WebSearch抓取新闻页面

Output Format

输出格式

markdown
undefined
markdown
undefined

Rust {Weekly|Daily|Monthly} Report

Rust {Weekly|Daily|Monthly} Report

Time Range: {start} - {end}
Time Range: {start} - {end}

Ecosystem

Ecosystem

Reddit r/rust

Reddit r/rust

ScoreTitleLink
{score}{title}link
ScoreTitleLink
{score}{title}link

This Week in Rust

This Week in Rust

  • Issue #{number} ({date}): highlights
  • Issue #{number} ({date}): highlights

Official

Official

DateTitleSummary
{date}{title}{summary}
DateTitleSummary
{date}{title}{summary}

Foundation

Foundation

DateTitleSummary
{date}{title}{summary}

---
DateTitleSummary
{date}{title}{summary}

---

Validation

校验规则

  • Each source should have at least 1 result, otherwise mark "No updates"
  • On fetch failure, retry with alternative tool
  • Report reason if all tools fail for a source
  • 每个来源至少要有1条结果,否则标记为「暂无更新」
  • 抓取失败时,使用备选工具重试
  • 若某个来源的所有工具都抓取失败,需报告失败原因

Error Handling

错误处理

ErrorCauseSolution
Agent file not foundSkills-only installUse inline mode
agent-browser unavailableCLI not installedUse WebFetch
Site timeoutNetwork issuesRetry once, then skip source
Empty resultsSelector mismatchReport and use fallback
错误原因解决方案
未找到Agent文件仅安装了技能使用内联模式
agent-browser不可用未安装CLI使用WebFetch
站点超时网络问题重试一次,仍失败则跳过该来源
结果为空选择器不匹配上报问题并使用备选方案