feat(coding-agent/web): added web search CLI subcommand and refactored provider management

- Added new `omp q` CLI subcommand for testing web search providers with query, provider, recency, and limit options.
- Added web search provider information API with centralized provider-info module supporting authentication requirements and provider metadata.
- Added support for `hour` recency filter option in Perplexity web search.
- Refactored web search provider definitions into centralized provider-info module for improved maintainability.
- Updated web search result rendering to support long-form answers with text wrapping in CLI mode.
- Removed related questions section from web search result rendering.
This commit is contained in:
can1357
2026-02-05 11:22:25 +01:00
parent 3ff628764d
commit b9ab0cc5cf
9 changed files with 679 additions and 216 deletions
+1
View File
@@ -196,6 +196,7 @@ ${chalk.bold("Subcommands:")}
jupyter Manage the shared Jupyter gateway
shell Interactive shell console (brush-core test)
grep Test grep tool
q Test web search providers
${chalk.bold("Options:")}
--model <pattern> Model to use (fuzzy match: "opus", "gpt-5.2", or "p-openai/gpt-5.2")