GooDAnDReaDY/dsh-grok-xsearch
Real-time X (Twitter) search, author profiling, trends, and fact-checking tool suite powered by SuperGrok OAuth for DeepSeek Harness.
Project Overview项目介绍
dsh-grok-xsearch is a native plugin built specifically for the DeepSeek Harness runtime, distributed through npm under the @goodandready scope and installed with the single command dsh plugin --profile web add @goodandready/dsh-grok-xsearch from a profile-scoped terminal. It targets the upstream xAI Responses API endpoint that exposes the x_search tool type, routing every agent request through a SuperGrok OAuth PKCE session so DSH agents can read live breaking news, developer sentiment, Community Notes fact-checking, author timelines, and viral trends without paying for premium per-query X API tiers. The package requires Node.js 20 or newer, exposes management surfaces over a dedicated set of HTTP routes including /dsh-grok-xsearch/config, /dsh-grok-xsearch/cache/clear, /oauth/start, /oauth/callback, /oauth/complete, and /logout, and registers a structured settings card directly inside the DSH web profile interface for live cache inspection and one-click cache flushing.
Inside ctx.tools the plugin registers six purpose-built tools: x_search for natural-language post and thread queries with comma-separated allowed_x_handles/excluded_x_handles filters (up to ten each), from_date/to_date ISO date ranges, only_original_posts, has_media, and has_links toggles; x_author_profile for stance and timeline summaries; x_trending_topics for live trending discovery; x_fact_check_notes for Community Notes fact verification; x_thread_reader for reconstructing thread context; and x_find_experts for targeted expert discovery. Every call first traverses an in-memory TTL cache, and misses are normalized through a multimodal filter, deduplicated, canonicalized to https://x.com/<handle>/status/<id> URLs with tracking parameters such as utm_*, ?s=, ?t=, and ref_src stripped, and then persisted back to cache for a five-minute window. The intended users are researchers, investigative journalists, social-listening operators, and quant traders who want live X intelligence injected directly into DSH reasoning loops without bespoke integration code.
Dependencies are limited to a valid SuperGrok OAuth subscription tied to the installing user's xAI account, and runtime hardening includes a single-flight mutex on the refresh token path, automatic HTTP 401 retry-after-refresh, exponential backoff for transient 5xx and network errors, capacity-bounded proactive cache pruning for both SEARCH_CACHE and MODELS_CACHE, and a graceful Grok 4.5 fallback when the upstream x_search endpoint returns HTTP 429 rate-limit responses. First-run operators must authenticate once via Settings → Plugins → Grok X Search & Intelligence Suite inside the DSH web profile before any tool call will succeed; standalone operators can alternatively complete the PKCE flow by visiting /oauth/start, pasting the redirected URL into /oauth/complete, and clearing their session at any time through /logout. The plugin is released under the permissive MIT license at no cost, although downstream usage volume is ultimately bounded by the user's own SuperGrok subscription quotas and the xAI model's published rate limits.
dsh-grok-xsearch 是一款专为 DeepSeek Harness 设计的 DSH 原生插件,名称以 dsh- 前缀命名并发布在 npm 上,通过 dsh plugin --profile web add @goodandready/dsh-grok-xsearch 一行命令即可安装。插件调用 xAI Responses API 的 x_search 工具类型,借助经过 OAuth PKCE 认证的 SuperGrok 会话,使 DSH 智能体在无需购买昂贵 X API 套餐的前提下,就能实时检索推文、媒体与互动指标。运行时需要 Node.js 20 及以上环境,并通过内置 HTTP 路由(/dsh-grok-xsearch/config、/oauth/start、/oauth/callback 等)完成配置、缓存清理与登出等管理操作。
插件在 ctx.tools 中注册六个专门工具:x_search 支持自然语言与 @handle、日期、原创、含媒体或链接等过滤条件;x_author_profile 汇总作者立场与时间线;x_trending_topics 抓取当下热门话题;x_fact_check_notes 提取社区注释;x_thread_reader 解析长帖上下文;x_find_experts 定向发现领域专家。所有调用先经过内存 TTL 缓存,命中即返回,未命中则经多模态标准化、去重与点击引用格式化后再回填缓存。适合需要在 DSH 中引入实时 X 情报的研究型用户、调查记者、社交聆听运营者及量化交易信号构建者,他们可借此把 X 上的突发新闻、舆论走向、事实核查结果直接注入到 DSH 工作流。
依赖方面,授权完全依赖用户的 SuperGrok OAuth 会话与 xAI 模型目录,每次调用都会按需刷新令牌并具备 HTTP 401 自动恢复、网络 5xx 指数退避重试等容错机制;内置缓存设有容量上限和主动清理,引用会去除 utm_* 等追踪参数并将链接规范化为 x.com 形式。授权通过 "Settings → Plugins → Grok X Search & Intelligence Suite" 完成,速率触发 429 时会自动回退到 Grok 4.5 模型。许可为 MIT,完全免费,但用户需自行持有有效的 SuperGrok 订阅方可使用全部实时检索功能。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-grok-xsearch(GooDAnDReaDY/dsh-grok-xsearch)
仓库:https://github.com/GooDAnDReaDY/dsh-grok-xsearch
本站详情页:https://www.yhbd.top/plugins/goodandready-dsh-grok-xsearch/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-09-29 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add @goodandready/dsh-grok-xsearch
把 GooDAnDReaDY/dsh-grok-xsearch 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
📦 @goodandready/dsh-grok-xsearch
Real-Time X (Twitter) Intelligence & Search Tool Suite Powered by SuperGrok OAuth for DeepSeek Harness
🇬🇧 English • 🇷🇺 Русский • 🇨🇳 中文说明
|
⭐ If you like this plugin, please star it on GitHub — it shows me that the plugin is useful to you and motivates me to keep developing it.
🐛 If you find a bug or would like to request a feature, open a GitHub issue in any language — I will review your proposal and implement useful suggestions in a future plugin version. |
⚡ Overview
dsh-grok-xsearch equips your DeepSeek Harness agents with real-time X (Twitter) intelligence and a suite of dedicated analytical tools.
By leveraging authenticated SuperGrok OAuth sessions with the xAI Responses API (POST /responses), agents can query live breaking news, developer sentiment, community threads, author timelines, viral trends, and Community Notes fact-checking without expensive per-query X API tiers.
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Q00/ouroboros
crafter-station/petdex
anywhere-labs/Agents-Anywhere
amlyczz/dsh-agy-link
opencues/opencues
chaos-03x/dsh-agy