dsh-grok-xsearch
文件与数据 活跃维护

dsh-grok-xsearch

GooDAnDReaDY/dsh-grok-xsearch

依托独立SuperGrok OAuth授权,提供X(原Twitter)平台公开内容快速检索能力,无需复杂配置即可使用,搜索响应稳定高效,操作流程简单顺畅。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
20 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:GooDAnDReaDY/dsh-grok-xsearch
git clone https://github.com/GooDAnDReaDY/dsh-grok-xsearch.git
git clone git@github.com:GooDAnDReaDY/dsh-grok-xsearch.git
README.md main

dsh-grok-xsearch

x_search tool for DeepSeek Harness: search X (Twitter) via the xAI Responses API.

Uses a separate SuperGrok OAuth account (GROK_XSEARCH_OAUTH_1), independent from @goodandready/dsh-subscriptions chat Grok.

Install

dsh plugin --profile web add @goodandready/dsh-grok-xsearch

Settings

  1. Open Settings → Grok X Search.
  2. Click Connect and finish SuperGrok OAuth (paste the redirected URL if the browser does not return to Harness).
  3. Pick a model from the dropdown (Grok 4.5 recommended; Grok 4.6 may be rate-limited).
  4. In chat, ask the agent to use the x_search tool for X/Twitter queries.

Host configuration (optional)

OAuth client id and redirect URI are normally set in the profile patch on the host, not in the UI:

- id: dsh-grok-xsearch
  config:
    grokClientId: '<GROK_CLIENT_ID>'
    redirectUri: 'http://127.0.0.1:56121/callback'
    model: 'grok-4.5'

Credential ref: GROK_XSEARCH_OAUTH_1 (never returned by Settings GET).

Tool

x_search posts to https://api.x.ai/v1/responses with built-in tool { type: 'x_search' }.

Parameters: query, optional handle filters, date range, image/video understanding flags.

Identity

Place Value
package.json name @goodandready/dsh-grok-xsearch
cordis.patch.yml name: @goodandready/dsh-grok-xsearch
lib/client.js loader id @goodandready/dsh-grok-xsearch

License

MIT