feat: 外置插件一等公民——entry.renderer 宿主内 React 组件(.pi/extensions 一等插件源 + 开发版门控)

This commit is contained in:
Rick Ye
2026-09-11 00:46:52 +08:00
parent 52f93ddc84
commit 8b94d42930
11 changed files with 291 additions and 53 deletions
+2 -1
View File
@@ -6,7 +6,8 @@
"description": "Inkreach harness 插件契约:清单/主进程工厂类型 + definePlugin + 插件页桥接 client(主入口给 main.mjs 作者,./client 给 iframe 页作者)",
"exports": {
".": "./src/index.ts",
"./client": "./src/page.ts"
"./client": "./src/page.ts",
"./renderer": "./src/renderer.ts"
},
"scripts": {
"typecheck": "tsc --noEmit"