Skip to content

feat(news): add Seltz-powered web news search#170

Open
amallia wants to merge 2 commits intoTraderAlice:masterfrom
amallia:feat/seltz-news-search
Open

feat(news): add Seltz-powered web news search#170
amallia wants to merge 2 commits intoTraderAlice:masterfrom
amallia:feat/seltz-news-search

Conversation

@amallia
Copy link
Copy Markdown

@amallia amallia commented May 7, 2026

Summary

  • Adds a searchNews AI tool powered by the Seltz API (scope: "news") for on-demand semantic web news search
  • Complements the existing RSS-based archive tools (globNews/grepNews/readNews) with live web coverage
  • Gated on SELTZ_API_KEY env var — tool only registers when the key is present

Details

  • New file: src/domain/news/query/search.ts — tool definition using Seltz v2 named-parameter API
  • Exports wired through src/domain/news/index.ts and src/tool/news.ts
  • Registration in src/main.ts as 'news-search' tool group

Full commit log

014f761 feat(news): add Seltz-powered web news search tool
7c0fd92 chore(deps): update seltz to v2, migrate to named-parameter API

Test plan

  • tsc --noEmit clean (no new errors)
  • pnpm test passes (all 760 tests)
  • Manual: set SELTZ_API_KEY, start dev, verify searchNews tool appears in tool list
  • Manual: invoke searchNews via agent, confirm results returned

amallia added 2 commits May 8, 2026 00:39
Adds a `searchNews` AI tool that queries the live web for news articles
via the Seltz API (scope: "news"), complementing the existing RSS-based
archive tools. Gated on SELTZ_API_KEY env var — tool is only registered
when the key is present.
The v2 SDK replaces positional arguments with a single SearchParams
object. Updated the searchNews tool call site accordingly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant