P!npoint

Plugins

Runtime Security

이 문서는 P!npoint plugin runtime의 격리와 permission model을 설명합니다.

Worker Runtime

P!npoint는 plugin entry code를 메인 window에 직접 import하지 않습니다.

plugin logic은 Worker 안에서 실행되고 앱과 message passing으로 통신합니다.

Bridge Permission

모든 bridge API 호출은 manifest.jsonpermissions를 확인합니다.

예를 들어 readTextFilelistProjectFilesproject:read가 있어야 호출할 수 있습니다.

Project Boundary

readTextFile은 현재 열린 project root 밖의 file을 읽지 못합니다.

상대 경로와 절대 경로 모두 최종 resolved path가 project root 안에 있어야 합니다.

Diff Boundary

diffAnalyzer는 Snapshot/Diff 데이터를 읽을 수 있지만 file을 수정하지 않습니다.

UI Boundary

workspacePanel은 sandboxed iframe으로 render됩니다.

plugin panel HTML은 P!npoint app DOM을 직접 수정할 수 없습니다.

Third-Party Status

Plugin Beta는 third-party ecosystem을 열기 전 단계입니다.

unreviewed third-party catalog publication과 arbitrary network bridge는 아직 열지 않습니다.