mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 16:08:05 +00:00
Rework the plugin system per docs/plugin_plan.md (P0–P8): - Extension-point registry (ide-extension) so new contribution types register without touching the kernel; languages, run detectors, providers, views and UI contributions go through it. - Per-plugin capability consent with a risk-graded ledger; process capabilities are pinned to resolved binary paths and hashes. - Async, actor-per-plugin Wasm runtime with lazy activation, cancellation, events, long-running tasks and idle reclamation. - Plugin host moved into ide-host, shared by local and remote projects. - Distribution: install/package tooling (openidea-plugin bin) and a static market index. - WIT frozen as openidea:plugin@1.0.0; Rust SDK with mock host. - Ten official validation plugins under plugins/official.
27 lines
1.0 KiB
TOML
27 lines
1.0 KiB
TOML
id = "openidea.git-toolbox"
|
|
name = "Git Toolbox"
|
|
version = "0.1.0"
|
|
description = "Fetches your repositories in the background and shows the branch with how far it is ahead of and behind its upstream in the status bar."
|
|
authors = ["OpenIDEA contributors"]
|
|
license = "Apache-2.0"
|
|
change-notes = "0.1.0 — first release: auto-fetch every 5 minutes, ahead/behind in the status bar, Fetch Now."
|
|
engines.openidea = "^1.0"
|
|
wasm = "dist/plugin.wasm"
|
|
# Fetches on schedule (also after being reclaimed while idle) and refreshes
|
|
# the status bar when the focused editor or a repository changes.
|
|
activation = ["on-schedule:300", "on-event:editor-focused", "on-event:vcs-changed", "on-command:*"]
|
|
|
|
[capabilities]
|
|
# `vcs.write` runs `git fetch` (only in trusted projects).
|
|
required = ["project.read", "vcs.read", "vcs.write", "events", "storage"]
|
|
|
|
[[contributes.commands]]
|
|
id = "fetch"
|
|
title = "Git Toolbox: Fetch Now"
|
|
category = "Git Toolbox"
|
|
|
|
[[contributes.commands]]
|
|
id = "refresh"
|
|
title = "Git Toolbox: Refresh Status"
|
|
category = "Git Toolbox"
|