@kahitsan/plugin-sdk 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.mjs +6 -4
- package/dist/index.js +1 -1
- package/package.json +3 -2
- package/shell/_build/.vite/manifest.json +189 -0
- package/shell/_build/.vite/manifest.json.br +0 -0
- package/shell/_build/.vite/manifest.json.gz +0 -0
- package/shell/_build/assets/_...slug_-BNycC89F.js +1 -0
- package/shell/_build/assets/_...slug_-BNycC89F.js.br +0 -0
- package/shell/_build/assets/_...slug_-BNycC89F.js.gz +0 -0
- package/shell/_build/assets/api-keys-zDu0DTIi.js +1 -0
- package/shell/_build/assets/auth-CPW4mGTx.js +70 -0
- package/shell/_build/assets/auth-CPW4mGTx.js.br +0 -0
- package/shell/_build/assets/auth-CPW4mGTx.js.gz +0 -0
- package/shell/_build/assets/client-B0tH7z8C.css +1 -0
- package/shell/_build/assets/client-B0tH7z8C.css.br +0 -0
- package/shell/_build/assets/client-B0tH7z8C.css.gz +0 -0
- package/shell/_build/assets/client-BuqEzg-5.js +2 -0
- package/shell/_build/assets/client-BuqEzg-5.js.br +0 -0
- package/shell/_build/assets/client-BuqEzg-5.js.gz +0 -0
- package/shell/_build/assets/components-kMeatXhB.js +1 -0
- package/shell/_build/assets/dashboard-BwMkrsX2.js +1 -0
- package/shell/_build/assets/index-dCQOOcel.js +1 -0
- package/shell/_build/assets/login-BwMkrsX2.js +1 -0
- package/shell/_build/assets/members-CKVe_2mI.js +1 -0
- package/shell/_build/assets/plugin-ui-rgxz3UHD.js +10 -0
- package/shell/_build/assets/plugin-ui-rgxz3UHD.js.br +0 -0
- package/shell/_build/assets/plugin-ui-rgxz3UHD.js.gz +0 -0
- package/shell/_build/assets/register-BwMkrsX2.js +1 -0
- package/shell/_build/assets/routing-BlHUL5zP.js +1 -0
- package/shell/_build/assets/routing-BlHUL5zP.js.br +0 -0
- package/shell/_build/assets/routing-BlHUL5zP.js.gz +0 -0
- package/shell/_build/assets/settings-BwMkrsX2.js +1 -0
- package/shell/_build/assets/users-BwMkrsX2.js +1 -0
- package/shell/_build/assets/workspace-nav-DsOJmRdY.js +1 -0
- package/shell/_build/assets/workspace-nav-DsOJmRdY.js.br +0 -0
- package/shell/_build/assets/workspace-nav-DsOJmRdY.js.gz +0 -0
- package/shell/_build/assets/workspace-settings-BwMkrsX2.js +1 -0
- package/shell/_build/assets/workspaces-BwMkrsX2.js +1 -0
- package/shell/_headers +20 -0
- package/shell/_redirects +4 -0
- package/shell/_server/assets/app-B0tH7z8C.css +1 -0
- package/shell/_server/assets/app-B0tH7z8C.css.br +0 -0
- package/shell/_server/assets/app-B0tH7z8C.css.gz +0 -0
- package/shell/apple-touch-icon.png +0 -0
- package/shell/dev/apple-touch-icon.png +0 -0
- package/shell/dev/favicon-32.png +0 -0
- package/shell/dev/favicon.ico +0 -0
- package/shell/dev/manifest.webmanifest +31 -0
- package/shell/dev/pwa-192.png +0 -0
- package/shell/dev/pwa-512-maskable.png +0 -0
- package/shell/dev/pwa-512.png +0 -0
- package/shell/favicon-32.png +0 -0
- package/shell/favicon.ico +0 -0
- package/shell/index.html +1 -0
- package/shell/index.html.br +0 -0
- package/shell/index.html.gz +0 -0
- package/shell/manifest.webmanifest +31 -0
- package/shell/pwa-192.png +0 -0
- package/shell/pwa-512-maskable.png +0 -0
- package/shell/pwa-512.png +0 -0
- package/shell/sw.js +103 -0
- package/shell/sw.js.br +0 -0
- package/shell/sw.js.gz +0 -0
- package/src/dev/serve.ts +141 -0
package/bin/cli.mjs
CHANGED
|
@@ -35,10 +35,12 @@ if (dirs.length === 0 || wantsHelp) {
|
|
|
35
35
|
process.exit(wantsHelp ? 0 : 2);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
//
|
|
39
|
-
//
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
// serve.ts is the FULL launcher: it boots the plugins + the dev-kernel AND serves the
|
|
39
|
+
// prebuilt kernel-identical host-UI shell (shipped at <pkg>/shell), so the developer
|
|
40
|
+
// gets the real visual app — not just the backend — entirely from the installed
|
|
41
|
+
// package, no kernel checkout. (dev-host.ts remains the headless/backend-only variant.)
|
|
42
|
+
const launcher = join(here, "..", "src", "dev", "serve.ts");
|
|
43
|
+
const child = spawn("bun", [launcher, ...dirs], { stdio: "inherit" });
|
|
42
44
|
child.on("error", (err) => {
|
|
43
45
|
if (err && err.code === "ENOENT") {
|
|
44
46
|
console.error(
|