Feature request: VS Code-style plugin/extension system (server and web UI)

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
typescript
領域
api, tooling

調査の方向性

This is an architecture proposal, not a scoped task: it asks maintainers three open questions (roadmap fit, server hooks vs web UI first, existing forks) before any implementation. Start by reading the server entry points and the web UI shell in the TypeScript sources to learn how routes, MCP tools and toolbar actions are currently registered, and look at how the existing agent integrations (Claude Code, OpenCode, Gemini) plug in. Done here means a maintainer decision on scope and a written design for manifests, contribution points and lifecycle, not a patch.

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

説明

Feature request: VS Code-style plugin/extension system (server and web UI)

  • AI written
  • Human reviewed

Summary

Today, adding custom behavior to the Plannotator server or web UI requires modifying the core or maintaining a fork—which breaks on upgrades and keeps useful features trapped in local patches. Existing integrations (Claude Code, OpenCode, Gemini, etc.) only extend the agent side.

I'd like to propose a lightweight, VS Code-style extension system so users can add server and UI features without touching the core.

Core Idea

An extension would be a self-contained folder (e.g., in ~/.plannotator/extensions/<name>/ or installed via CLI/git URL) with a single manifest defining its metadata, required apiVersion, and contributions:

  • Server API: Register namespaced HTTP routes (/ext/<name>/...), custom MCP tools, lifecycle hooks (e.g., message received/sent, thread created), and isolated storage.
  • Web UI SDK (@plannotator/extension-sdk): Register UI contribution points (toolbar buttons, command palette actions, sidebar panels, custom message renderers) with lazy activation and access to core theme tokens.
  • Safety & Lifecycle: Broken extensions fail gracefully without crashing the server/UI, and plannotator extension list/add/remove manages them cleanly.

Example Use Cases

  • Integrations: A toolbar button to export an annotation straight to Jira/Linear, or a custom Inbox delivery channel.
  • Custom UI: A sidebar view grouping threads by project, or an inline diff/chart renderer for specific message types.
  • Team Workflows: Pre-send redaction rules or custom notification formatting.

Non-goals (v1)

  • A hosted marketplace/registry (local folders and git URLs are enough to start).
  • Full code sandboxing (extensions run as trusted code, like VS Code).
  • Replacing existing agent-side integrations.

Open Questions

Before diving into implementation details, I'd love to hear from the maintainers and community:

  1. Does a plugin architecture align with Plannotator's roadmap?
  2. Which side would bring the most value first: server hooks, web UI extensions, or both?
  3. Are any of you currently maintaining local patches/forks that an extension system would solve?
主要言語
TypeScript
スター
8.7k
フォーク
649
平均マージ
16時間 1分
マージ済み PR(30日)
756

環境構築

はじめの一歩

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

backnotprop/plannotator のほかの issue

backnotprop/plannotator の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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