@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.
Files changed (64) hide show
  1. package/bin/cli.mjs +6 -4
  2. package/dist/index.js +1 -1
  3. package/package.json +3 -2
  4. package/shell/_build/.vite/manifest.json +189 -0
  5. package/shell/_build/.vite/manifest.json.br +0 -0
  6. package/shell/_build/.vite/manifest.json.gz +0 -0
  7. package/shell/_build/assets/_...slug_-BNycC89F.js +1 -0
  8. package/shell/_build/assets/_...slug_-BNycC89F.js.br +0 -0
  9. package/shell/_build/assets/_...slug_-BNycC89F.js.gz +0 -0
  10. package/shell/_build/assets/api-keys-zDu0DTIi.js +1 -0
  11. package/shell/_build/assets/auth-CPW4mGTx.js +70 -0
  12. package/shell/_build/assets/auth-CPW4mGTx.js.br +0 -0
  13. package/shell/_build/assets/auth-CPW4mGTx.js.gz +0 -0
  14. package/shell/_build/assets/client-B0tH7z8C.css +1 -0
  15. package/shell/_build/assets/client-B0tH7z8C.css.br +0 -0
  16. package/shell/_build/assets/client-B0tH7z8C.css.gz +0 -0
  17. package/shell/_build/assets/client-BuqEzg-5.js +2 -0
  18. package/shell/_build/assets/client-BuqEzg-5.js.br +0 -0
  19. package/shell/_build/assets/client-BuqEzg-5.js.gz +0 -0
  20. package/shell/_build/assets/components-kMeatXhB.js +1 -0
  21. package/shell/_build/assets/dashboard-BwMkrsX2.js +1 -0
  22. package/shell/_build/assets/index-dCQOOcel.js +1 -0
  23. package/shell/_build/assets/login-BwMkrsX2.js +1 -0
  24. package/shell/_build/assets/members-CKVe_2mI.js +1 -0
  25. package/shell/_build/assets/plugin-ui-rgxz3UHD.js +10 -0
  26. package/shell/_build/assets/plugin-ui-rgxz3UHD.js.br +0 -0
  27. package/shell/_build/assets/plugin-ui-rgxz3UHD.js.gz +0 -0
  28. package/shell/_build/assets/register-BwMkrsX2.js +1 -0
  29. package/shell/_build/assets/routing-BlHUL5zP.js +1 -0
  30. package/shell/_build/assets/routing-BlHUL5zP.js.br +0 -0
  31. package/shell/_build/assets/routing-BlHUL5zP.js.gz +0 -0
  32. package/shell/_build/assets/settings-BwMkrsX2.js +1 -0
  33. package/shell/_build/assets/users-BwMkrsX2.js +1 -0
  34. package/shell/_build/assets/workspace-nav-DsOJmRdY.js +1 -0
  35. package/shell/_build/assets/workspace-nav-DsOJmRdY.js.br +0 -0
  36. package/shell/_build/assets/workspace-nav-DsOJmRdY.js.gz +0 -0
  37. package/shell/_build/assets/workspace-settings-BwMkrsX2.js +1 -0
  38. package/shell/_build/assets/workspaces-BwMkrsX2.js +1 -0
  39. package/shell/_headers +20 -0
  40. package/shell/_redirects +4 -0
  41. package/shell/_server/assets/app-B0tH7z8C.css +1 -0
  42. package/shell/_server/assets/app-B0tH7z8C.css.br +0 -0
  43. package/shell/_server/assets/app-B0tH7z8C.css.gz +0 -0
  44. package/shell/apple-touch-icon.png +0 -0
  45. package/shell/dev/apple-touch-icon.png +0 -0
  46. package/shell/dev/favicon-32.png +0 -0
  47. package/shell/dev/favicon.ico +0 -0
  48. package/shell/dev/manifest.webmanifest +31 -0
  49. package/shell/dev/pwa-192.png +0 -0
  50. package/shell/dev/pwa-512-maskable.png +0 -0
  51. package/shell/dev/pwa-512.png +0 -0
  52. package/shell/favicon-32.png +0 -0
  53. package/shell/favicon.ico +0 -0
  54. package/shell/index.html +1 -0
  55. package/shell/index.html.br +0 -0
  56. package/shell/index.html.gz +0 -0
  57. package/shell/manifest.webmanifest +31 -0
  58. package/shell/pwa-192.png +0 -0
  59. package/shell/pwa-512-maskable.png +0 -0
  60. package/shell/pwa-512.png +0 -0
  61. package/shell/sw.js +103 -0
  62. package/shell/sw.js.br +0 -0
  63. package/shell/sw.js.gz +0 -0
  64. 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
- // The harness ships as Bun source next to the package root (src/dev/), reachable from
39
- // the published package without any kernel checkout. dev-host.ts takes N plugin dirs.
40
- const devHost = join(here, "..", "src", "dev", "dev-host.ts");
41
- const child = spawn("bun", [devHost, ...dirs], { stdio: "inherit" });
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(