fluxplugin 1.0.2 → 1.0.4

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 (50) hide show
  1. package/README.md +15 -12
  2. package/dist/browser/chunks/chunk-AV4KI7LI.js +1792 -0
  3. package/dist/browser/chunks/{chunk-TL63576R.js → chunk-OAYWYU5O.js} +48 -11
  4. package/dist/browser/index.js +3 -1
  5. package/dist/browser/manager-ui.js +386 -185
  6. package/dist/browser/react.js +46 -2
  7. package/dist/cli.js +3622 -257
  8. package/dist/node/chunks/{chunk-EVX2O65A.js → chunk-SDCGUBEW.js} +49 -11
  9. package/dist/node/chunks/{chunk-C7VWZZOX.js → chunk-ZLA5XUXN.js} +175 -51
  10. package/dist/node/cli-api.js +742 -76
  11. package/dist/node/index.js +3 -1
  12. package/dist/node/main.js +8 -2
  13. package/dist/node/preload.js +1 -1
  14. package/dist/types/cli/build.d.ts +5 -0
  15. package/dist/types/cli/cli.d.ts +2 -0
  16. package/dist/types/cli/dist.d.ts +18 -0
  17. package/dist/types/cli/host-templates.d.ts +2 -0
  18. package/dist/types/cli/store.d.ts +13 -0
  19. package/dist/types/cli/templates.d.ts +2 -0
  20. package/dist/types/core/manifest.d.ts +15 -1
  21. package/dist/types/core/protocol.d.ts +18 -5
  22. package/dist/types/core/registry.d.ts +11 -0
  23. package/dist/types/core/routes.d.ts +3 -1
  24. package/dist/types/main/adapters.d.ts +3 -0
  25. package/dist/types/main/assets.d.ts +8 -0
  26. package/dist/types/main/github-registry.d.ts +2 -1
  27. package/dist/types/main/index.d.ts +1 -0
  28. package/dist/types/main/registry.d.ts +55 -18
  29. package/dist/types/main/stores.d.ts +7 -1
  30. package/dist/types/manager-ui/index.d.ts +35 -3
  31. package/dist/types/react/base-css.d.ts +6 -2
  32. package/dist/types/react/http-bridge.d.ts +5 -0
  33. package/dist/types/react/i18n.d.ts +33 -0
  34. package/dist/types/react/index.d.ts +5 -0
  35. package/dist/types/react/markdown.d.ts +2 -1
  36. package/dist/types/react/media.d.ts +33 -0
  37. package/dist/types/react/settings.d.ts +6 -0
  38. package/dist/types/react/sidebar.d.ts +42 -0
  39. package/dist/types/react/theme.d.ts +42 -4
  40. package/dist/types/react/ui.d.ts +42 -0
  41. package/docs/CUSTOMIZING.md +56 -0
  42. package/docs/STORE.md +19 -0
  43. package/docs/screenshots/plugin-page.png +0 -0
  44. package/docs/screenshots/settings-appearance.png +0 -0
  45. package/docs/screenshots/site-guide-dark.png +0 -0
  46. package/docs/screenshots/site-home.png +0 -0
  47. package/docs/screenshots/site-mobile.png +0 -0
  48. package/docs/screenshots/site-search.png +0 -0
  49. package/package.json +1 -1
  50. package/dist/browser/chunks/chunk-VXQJIDXW.js +0 -1232
package/README.md CHANGED
@@ -43,7 +43,16 @@ Custom **title bar + menu bar** that adapts to macOS / Windows / Linux · **sear
43
43
  store-style page per plugin (icon, screenshots, YouTube video, Markdown description) · plugins shipped as **JavaScript only** ·
44
44
  optional **Tailwind v4** · permissions, signatures, rollback · a **plugin store** (GitHub by default, or your own) with `fluxplugin publish`.
45
45
 
46
+ ## New in this version
47
+ macOS-style design (translucent materials, grouped lists, switches) · **Settings** screen with **Appearance** and **Language** plugins included ·
48
+ fully customizable fonts/size/spacing/accent/themes · collapsible **sidebar with icons and sub-menus** · plugin pages like an app store
49
+ (separate screen, screenshots, video, iOS-style Markdown) · images from any source · YouTube/Vimeo/Dailymotion/Loom/Streamable/HTML5 video ·
50
+ catalog stores (GitHub repo of plugin folders + one JSON, or any JSON link) · `fluxplugin dist` / `export` / `store build` / `package --all` ·
51
+ plugins as standalone projects with their own libraries (`npm create fluxplugin-plugin`).
52
+
46
53
  ## Docs
54
+ **Documentation website** (React + Vite, searchable): `website/` — `cd website && npm install && npm run dev` · deploy guide in `website/README.md`.
55
+
47
56
  **[STORE](docs/STORE.md)** (develop → publish → install; your own store) · **[CUSTOMIZING](docs/CUSTOMIZING.md)** (add your own APIs, permissions, hooks, title/menu bar, search, notifications, themes, Tailwind) ·
48
57
  [PLUGIN-AUTHORS](docs/PLUGIN-AUTHORS.md) · [TROUBLESHOOTING](docs/TROUBLESHOOTING.md) · [ARCHITECTURE](docs/ARCHITECTURE.md) · [SECURITY](docs/SECURITY.md) · [RELEASE](docs/RELEASE.md)
49
58
 
@@ -60,16 +69,10 @@ plugins/ loaded at startup
60
69
  ```
61
70
 
62
71
  ## Status — read this
63
- * **Verified:** ~140 automated tests and strict typecheck; the packed tarball installed into freshly generated apps (default and
64
- `--tailwindcss`) → build → run; the generated app run in **real Electron 44** (Linux/Xvfb) *with Electron's install script blocked*
65
- (auto-download works): custom title bar, plugin menus, search, notifications, theme, plugin page (icon/README), no Node leak
66
- into the page; a Playwright E2E in a browser with 3 plugins.
67
- * **Store:** publish → search → install is tested end to end against an in-process imitation of the GitHub API (release, asset upload,
68
- topics, checksum, tampering, rate limit, pruning of `.map`/`.ts`), the GitHub search request shape was confirmed against the real API
69
- (read-only, HTTP 200), and installing from a custom HTTP store was run through the app's UI. **`fluxplugin publish` itself has not been run
70
- against real github.com** (no credentials here): try it with `--dry-run` first, then on a throw-away repository.
71
- * **Not verified:** Windows and macOS runs (only Linux was available — the OS-specific branches follow Electron's documented API:
72
- `hiddenInset` on macOS, `titleBarOverlay` on Windows/Linux); installers/auto-update (electron-builder/forge not set up);
73
- YouTube playback itself (no internet video in the test environment — the embed URL and sandboxed iframe are asserted).
72
+ * **Verified:** strict typecheck; ~170 automated tests; `publint` clean and `are-the-types-wrong` green (ESM/bundler); the packed tarball installed into a generated
73
+ app (with Tailwind) → typecheck → build (host + 3 plugins) → run in a real browser: collapsing sidebar, language switch via the Language plugin, font/size/accent/theme
74
+ via the Appearance plugin, plugin details as a separate screen with navigation, Markdown tables. Earlier rounds ran the app in real Electron 44 (Linux, Xvfb).
75
+ * **Not re-run in this round:** Electron after the latest UI changes, `fluxplugin dist` (electron-builder installers) and `fluxplugin export` end to end, Windows/macOS,
76
+ playback of YouTube/Dailymotion/Loom (embed URLs and sandboxed iframes are asserted, not played), and `fluxplugin publish` against real github.com.
74
77
  * **Not published** on npm — see `docs/RELEASE.md`. **Security:** plugin `main` code is not sandboxed (see `docs/SECURITY.md`).
75
- * **Not done:** per-plugin process isolation, hosted marketplace (only `PluginRegistry` + local/HTTP), OS-level (native) notifications.
78
+ * **Not done:** per-plugin process isolation, hosted marketplace service, native (OS) notifications, translations of permission titles (English fallback).