Manifest Reference
이 문서는 P!npoint plugin manifest.json field를 설명합니다.
Example
{
"id": "example.diff-analyzer",
"name": "Diff Analyzer",
"version": "0.1.0",
"description": "Analyzes Snapshot/Diff results.",
"author": "Your Name",
"license": "MIT",
"homepage": "https://example.com/my-plugin",
"engines": {
"pinpoint": ">=1.2.0"
},
"entry": "dist/index.js",
"extension_points": ["diffAnalyzer"],
"permissions": ["diff:read"],
"capabilities": ["diff-analysis"]
}
Fields
| Field | Required | Type | Default | Description |
|---|
id | yes | string | none | 안정적인 plugin id입니다. example.diff-analyzer처럼 소문자, 숫자, dot, hyphen을 사용합니다. |
name | yes | string | none | 앱에 표시되는 이름입니다. |
version | yes | string | none | SemVer 형식입니다. |
description | yes | string | none | 짧은 설명입니다. |
author | yes | string | none | 작성자 또는 조직입니다. |
license | no | string | none | plugin license입니다. |
homepage | no | uri | none | 문서 또는 project URL입니다. |
repository | no | uri | none | source repository URL입니다. |
official | no | boolean | false | P!npoint가 관리하는 공식 plugin만 true를 사용합니다. |
trusted | no | boolean | false | catalog metadata용 trust marker입니다. |
categories | no | string[] | [] | discovery tag입니다. |
icon | no | string | none | package 안의 icon path입니다. |
engines.pinpoint | yes | string | none | 지원하는 P!npoint version range입니다. |
entry | yes | string | none | package 안의 JavaScript entry file입니다. |
extension_points | yes | string[] | none | 구현하는 extension point입니다. |
permissions | yes | string[] | none | bridge API 사용 권한입니다. |
capabilities | no | string[] | [] | 사람이 읽는 capability tag입니다. |
Permissions
| Permission | Allows |
|---|
project:read | readTextFile과 listProjectFiles 사용 |
preview:inject | previewInjector 구현 |
capture:filter | captureFilter 구현 |
command:contribute | commandProvider 구현 |
diff:read | diffAnalyzer와 getCurrentDiff 사용 |
panel:render | workspacePanel 구현 |
network:fetch | future network bridge reserved |