anitnilay20 / anitnilay20/thoth

Plugin capability-permissions prompt on first load

オープン
#119 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
architecture feature size:medium
主要言語
Rust
スター
70
フォーク
5
平均マージ
10時間 33分
マージ済み PR(30日)
2

説明

Split out from the plugin-system foundation epic #16 (Phase 4).

A plugin should surface the host capabilities it needs (network / tcp, filesystem, secure-storage, tabs, cross-plugin data, …) and the user should approve them on first load — a single capability-permissions prompt, distinct from the per-action consent already in place.

## Context
- Network/tcp already has a consent + policy layer (domain allowlist, SSRF guard) from the URL Source work (#14), and cross-plugin *data* consent is tracked separately (#116).
- What's missing: a general, manifest-declared capability set shown as an approve/deny prompt when a plugin is first loaded or installed.

## Scope
- Declare required capabilities in `plugin.toml`.
- Host prompt on first load listing them; persist the grant.
- Enforce at the host boundary (deny ungranted capability calls).

**Releasable:** installing/first-loading a plugin shows a capability prompt; denied capabilities are blocked.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

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

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