feat(devtools): scaffolding (just new-plugin) + just-таргеты

templates/plugin (валидный манифест+locales+README); new-plugin генерит и валидирует;
validate-manifest / plugin-dev-run (каркас, App-Host v3) / sim (плейсхолдер v2). plugins/ — в .gitignore.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Alexander <akotenev2003@gmail.com>
This commit is contained in:
2026-06-24 13:22:16 +03:00
parent 69e4e06940
commit 9d0b5b5aa7
5 changed files with 53 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# Плагин __NAME__
Сгенерирован `just new-plugin __NAME__`. Манифест — `manifest.yaml`.
Проверка: `just validate-manifest plugins/__NAME__/manifest.yaml`.
Запуск в dev (появится с App-Host, v3): `just plugin-dev-run plugins/__NAME__`.
+4
View File
@@ -0,0 +1,4 @@
# Русские строки плагина (ru обязателен; i18n-ready — другие локали добавляются рядом).
name: "__NAME__"
tiles:
main: "__NAME__"
+11
View File
@@ -0,0 +1,11 @@
plugin:
id: dev.example.__NAME__
name: "__NAME__"
version: 0.1.0
shturman_api: "1"
capabilities:
ui_tiles: 1
extension_points:
tiles:
- id: main
title: "__NAME__"