Feature request: VS Code-style plugin/extension system (server and web UI)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 18/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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/removemanages 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:
- Does a plugin architecture align with Plannotator's roadmap?
- Which side would bring the most value first: server hooks, web UI extensions, or both?
- Are any of you currently maintaining local patches/forks that an extension system would solve?
- Ngôn ngữ chính
- TypeScript
- Star
- 8.7k
- Fork
- 649
- Merge trung bình
- 16 giờ 1 phút
- Pull request đã merge (30 ngày)
- 756
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của backnotprop/plannotator
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choicesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
backnotprop/plannotator#4132 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission promptsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
backnotprop/plannotator#4051 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
backnotprop/plannotator#4000 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PR description is hidden when a PR review opens on a phoneCó thể đã có người làm @flipcyde101 đã nhận 8 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
backnotprop/plannotator#3667 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
backnotprop/plannotator#2643 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của backnotprop/plannotator
Issue tương tự
-
enhancement status:needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
dongdongbh/Mindwtr#1625 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/ui-schema good first issue type/bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
duckdb/duckdb-wasm#2335 ·
Maintainer thường phản hồi trong vòng 1 ngày