Follow-up to #107: /v1/coding_plan/search API needs pagination support
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- python
調査の方向性
MiniMax-AI/MiniMax-Coding-Plan-MCP/minimax_mcp/server.py から始めて web_search ツールを調べ、続いて /v1/coding_plan/search をプロキシする基盤の API gateway をたどってください。ページネーションパラメータとレスポンスの動作をどこに実装できるか確認してください。API が文書化された count と page または offset の仕組みを受け付け、その後 CLI と SDK で対応するオプションを公開できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Follow-up to #107
Issue #107 (closed by docs-only PR) asked for pagination on mmx search query because the API returns at most 10 results per call.
Investigation result
The /v1/coding_plan/search endpoint does not currently expose any pagination parameter. The canonical reference client (MiniMax-AI/MiniMax-Coding-Plan-MCP/minimax_mcp/server.py, web_search) only sends {"q": query} and the response is just { organic: [...], related_searches: [...] } — no count, page, limit, or offset is accepted or returned.
In other words, the 10-result cap is a hard limit imposed by the API, not by the CLI. The CLI cannot expose pagination flags that the server will not honor.
What is needed on the API side
To make #107 actionable, the /v1/coding_plan/search endpoint needs to accept a pagination mechanism. The simplest options would be:
- Add a
countparameter (1–N, default 10) so callers can request larger pages, and - Add an
offsetorpageparameter (1-indexed or 0-indexed) so callers can paginate beyond the first page.
Both should be added to:
MiniMax-AI/MiniMax-Coding-Plan-MCP/minimax_mcp/server.py(web_searchtool)- Any underlying API gateway that proxies the request
Once the API supports these, the CLI can be updated to expose --page and --limit flags (and the SDK's SearchSDK.query can accept the same options).
Tracking
Closing the docs gap for #107 in this repo was done in the matching PR. This issue tracks the API-side work.
Refs #107.
- 主要言語
- TypeScript
- スター
- 2.2k
- フォーク
- 181
- 平均マージ
- 9時間 4分
- マージ済み PR(30日)
- 13
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MiniMax-AI/cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
MiniMax-AI/cli#259 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
MiniMax-AI/cli#258 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
MiniMax-AI/cli#265 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
MiniMax-AI/cli#260 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
MiniMax-AI/cli#257 · コメント 1 件 ·
似ている issue
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
Mend: dependency security vulnerability untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100