Ajoute la vue window host qui charge le layout plugin dans une fenêtre OS détachée, expose react/react-dom/jsx-runtime hébergés sous frontend/public/plugin-host pour que le runtime SDK y résolve React, et câble services.windows.open() côté runtime plugin (loader/services/registry). npm test -- --run src/adapters/window.test.ts src/app/ViewWindow.test.tsx src/plugins/runtime/loader.test.ts src/plugins/runtime/services.test.ts : 39/39 npm run typecheck : OK npm run build : OK Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
31 lines
1.0 KiB
HTML
31 lines
1.0 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<!-- `viewport-fit=cover` (#69) lets the web client paint under a notch and
|
|
exposes the `env(safe-area-inset-*)` values the shell pads with. Zoom is
|
|
deliberately left unrestricted (no `maximum-scale`/`user-scalable=no`):
|
|
pinch-zoom is an accessibility affordance. -->
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1.0, viewport-fit=cover"
|
|
/>
|
|
<title>IdeA</title>
|
|
<script type="importmap">
|
|
{
|
|
"imports": {
|
|
"react": "./plugin-host/react.js",
|
|
"react-dom": "./plugin-host/react-dom.js",
|
|
"react-dom/client": "./plugin-host/react-dom-client.js",
|
|
"react/jsx-runtime": "./plugin-host/react-jsx-runtime.js",
|
|
"react/jsx-dev-runtime": "./plugin-host/react-jsx-dev-runtime.js"
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/app/main.tsx"></script>
|
|
</body>
|
|
</html>
|