Spike: run the CLI SDK on workerd

オープン
#1,882 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cloud, nodejs, sqlite, typescript

調査の方向性

Start with the cli-first-mcp task 6.1 design document linked in the issue, then find where createSentrySDK() and the exposed commands are assembled. Bundle them for workerd with nodejs_compat and the current compatibility date, then try a few read commands with a token and SQLite stubbed out. Record bundle or runtime failures by module and command, compare bundle size with the Workers script limit, and update the design document with findings and any stdio-only commands.

索引モデルが issue の本文から書いたものです。

説明

CLI MCP

Part of #1357. Plan: cli-first-mcp task 6.1 (design).

Why

The hosted MCP will run commands through createSentrySDK(), one instance per request, with the OAuth grant's token and persistence off. Whether the exposed commands bundle and run under nodejs_compat is unknown until we build it. This can start now; it doesn't depend on the API client move.

Scope

  • Bundle createSentrySDK() with the exposed commands for workerd, under nodejs_compat and a current compatibility date. mcp-cloudflare is on 2025-03-21 today.
  • Run a few read commands with a token and SQLite stubbed out.
  • Record what fails to bundle or run (by module and by command) and the bundle size against the Workers script limit, in the cli-first-mcp design.

Done when

  • The findings are in the design doc, and blocked commands are marked stdio-only (or filed if they look fixable).

via @BYK.

--

View Session in Sentry

主要言語
TypeScript
スター
961
フォーク
179
平均マージ
15時間 33分
マージ済み PR(30日)
476

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/toolkit のほかの issue

getsentry/toolkit の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。