muon-ui 0.26.0 → 0.27.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 (75) hide show
  1. package/README.md +5 -0
  2. package/android.d.ts +4 -4
  3. package/dist/android/lib/index.cjs +13 -10
  4. package/dist/android/lib/index.cjs.map +1 -1
  5. package/dist/android/lib/index.mjs +14 -11
  6. package/dist/android/lib/index.mjs.map +1 -1
  7. package/dist/android/maven/dev/muon/runtime/0.1.0/runtime-0.1.0.aar +0 -0
  8. package/dist/android/maven/dev/muon/runtime/0.1.0/runtime-0.1.0.aar.md5 +1 -1
  9. package/dist/android/maven/dev/muon/runtime/0.1.0/runtime-0.1.0.aar.sha1 +1 -1
  10. package/dist/android/maven/dev/muon/runtime/0.1.0/runtime-0.1.0.aar.sha256 +1 -1
  11. package/dist/android/maven/dev/muon/runtime/0.1.0/runtime-0.1.0.aar.sha512 +1 -1
  12. package/dist/android/maven/dev/muon/runtime/0.1.0/runtime-0.1.0.module +10 -10
  13. package/dist/android/maven/dev/muon/runtime/0.1.0/runtime-0.1.0.module.md5 +1 -1
  14. package/dist/android/maven/dev/muon/runtime/0.1.0/runtime-0.1.0.module.sha1 +1 -1
  15. package/dist/android/maven/dev/muon/runtime/0.1.0/runtime-0.1.0.module.sha256 +1 -1
  16. package/dist/android/maven/dev/muon/runtime/0.1.0/runtime-0.1.0.module.sha512 +1 -1
  17. package/dist/android/maven/dev/muon/runtime/maven-metadata.xml +1 -1
  18. package/dist/android/maven/dev/muon/runtime/maven-metadata.xml.md5 +1 -1
  19. package/dist/android/maven/dev/muon/runtime/maven-metadata.xml.sha1 +1 -1
  20. package/dist/android/maven/dev/muon/runtime/maven-metadata.xml.sha256 +1 -1
  21. package/dist/android/maven/dev/muon/runtime/maven-metadata.xml.sha512 +1 -1
  22. package/dist/android/renderer/renderer.js +41 -14
  23. package/dist/android/renderer/renderer.js.map +1 -1
  24. package/dist/cli.cjs +82 -56
  25. package/dist/cli.cjs.map +1 -1
  26. package/dist/index.cjs +2 -2
  27. package/dist/index.mjs +2 -2
  28. package/dist/native/linux-amd64/muon-builder +0 -0
  29. package/dist/native/linux-amd64/muon-launcher +0 -0
  30. package/dist/native/linux-amd64/muon-runtime-helper +0 -0
  31. package/dist/native/linux-arm64/muon-builder +0 -0
  32. package/dist/native/linux-arm64/muon-launcher +0 -0
  33. package/dist/native/linux-arm64/muon-runtime-helper +0 -0
  34. package/dist/native/linux-armhf/muon-builder +0 -0
  35. package/dist/native/linux-armhf/muon-launcher +0 -0
  36. package/dist/native/linux-armhf/muon-runtime-helper +0 -0
  37. package/dist/native/windows-amd64/muon-builder.exe +0 -0
  38. package/dist/native/windows-amd64/muon-launcher.exe +0 -0
  39. package/dist/native/windows-amd64/muon-plugin-inspector.exe +0 -0
  40. package/dist/native/windows-i686/muon-builder.exe +0 -0
  41. package/dist/native/windows-i686/muon-launcher.exe +0 -0
  42. package/dist/native/windows-i686/muon-plugin-inspector.exe +0 -0
  43. package/dist/runtime/linux-amd64/libmuon-ui.so +0 -0
  44. package/dist/runtime/linux-amd64/muon-core +0 -0
  45. package/dist/runtime/linux-amd64/plugins/node-bridge.mjs +5 -5
  46. package/dist/runtime/linux-amd64/plugins/node.so +0 -0
  47. package/dist/runtime/linux-arm64/libmuon-ui.so +0 -0
  48. package/dist/runtime/linux-arm64/muon-core +0 -0
  49. package/dist/runtime/linux-arm64/plugins/node-bridge.mjs +5 -5
  50. package/dist/runtime/linux-arm64/plugins/node.so +0 -0
  51. package/dist/runtime/linux-armhf/libmuon-ui.so +0 -0
  52. package/dist/runtime/linux-armhf/muon-core +0 -0
  53. package/dist/runtime/linux-armhf/plugins/node-bridge.mjs +5 -5
  54. package/dist/runtime/linux-armhf/plugins/node.so +0 -0
  55. package/dist/runtime/windows-amd64/libcardio.dll +0 -0
  56. package/dist/runtime/windows-amd64/libmuon-ui.dll +0 -0
  57. package/dist/runtime/windows-amd64/muon-core.exe +0 -0
  58. package/dist/runtime/windows-amd64/plugins/node-bridge.mjs +5 -5
  59. package/dist/runtime/windows-amd64/plugins/node.dll +0 -0
  60. package/dist/runtime/windows-i686/libcardio.dll +0 -0
  61. package/dist/runtime/windows-i686/libmuon-ui.dll +0 -0
  62. package/dist/runtime/windows-i686/muon-core.exe +0 -0
  63. package/dist/runtime/windows-i686/plugins/node-bridge.mjs +5 -5
  64. package/dist/runtime/windows-i686/plugins/node.dll +0 -0
  65. package/dist/{vite-internals-DseKep-X.cjs → vite-internals-zb4Q4N6D.cjs} +4225 -1963
  66. package/dist/vite-internals-zb4Q4N6D.cjs.map +1 -0
  67. package/dist/vite.cjs +100 -1294
  68. package/dist/vite.cjs.map +1 -1
  69. package/dist/vite.mjs +6102 -5128
  70. package/dist/vite.mjs.map +1 -1
  71. package/images/get-started-android.png +0 -0
  72. package/muon-virtual-modules.d.ts +53 -0
  73. package/package.json +13 -11
  74. package/vite.d.ts +8 -0
  75. package/dist/vite-internals-DseKep-X.cjs.map +0 -1
Binary file
@@ -6,6 +6,59 @@
6
6
  declare module "muon:environments" {
7
7
  /** Return the merged application configuration from muon config files. */
8
8
  export const getConfigValues: () => Promise<Record<string, string>>;
9
+ /** Return the process environment variables. */
10
+ export const getVariables: MuonEnvironmentsApi["getVariables"];
11
+ /** Return the application process ID. */
12
+ export const getProcessId: MuonEnvironmentsApi["getProcessId"];
13
+ /** Return backend and application version information. */
14
+ export const getRuntimeInfo: MuonEnvironmentsApi["getRuntimeInfo"];
15
+ }
16
+
17
+ declare module "muon:fs" {
18
+ /** Read a file as bytes. */
19
+ export const readFile: MuonFsApi["readFile"];
20
+ /** Write bytes to a file. */
21
+ export const writeFile: MuonFsApi["writeFile"];
22
+ /** Read a text file. */
23
+ export const readTextFile: MuonFsApi["readTextFile"];
24
+ /** Write a text file. */
25
+ export const writeTextFile: MuonFsApi["writeTextFile"];
26
+ /** Return metadata for a path, following symbolic links. */
27
+ export const stat: MuonFsApi["stat"];
28
+ /** Return metadata for a path without following symbolic links. */
29
+ export const lstat: MuonFsApi["lstat"];
30
+ /** Check whether a path exists. */
31
+ export const exists: MuonFsApi["exists"];
32
+ /** Check access to a path. */
33
+ export const access: MuonFsApi["access"];
34
+ /** List directory entries. */
35
+ export const readdir: MuonFsApi["readdir"];
36
+ /** Create a directory. */
37
+ export const mkdir: MuonFsApi["mkdir"];
38
+ /** Remove a file or directory. */
39
+ export const rm: MuonFsApi["rm"];
40
+ /** Remove a file. */
41
+ export const unlink: MuonFsApi["unlink"];
42
+ /** Remove a directory. */
43
+ export const rmdir: MuonFsApi["rmdir"];
44
+ /** Rename a path. */
45
+ export const rename: MuonFsApi["rename"];
46
+ /** Copy a file. */
47
+ export const copyFile: MuonFsApi["copyFile"];
48
+ /** Append bytes to a file. */
49
+ export const appendFile: MuonFsApi["appendFile"];
50
+ /** Append text to a file. */
51
+ export const appendTextFile: MuonFsApi["appendTextFile"];
52
+ /** Change a file's length. */
53
+ export const truncate: MuonFsApi["truncate"];
54
+ /** Resolve a canonical path. */
55
+ export const realpath: MuonFsApi["realpath"];
56
+ /** Read a symbolic link target. */
57
+ export const readlink: MuonFsApi["readlink"];
58
+ /** Create a symbolic link. */
59
+ export const symlink: MuonFsApi["symlink"];
60
+ /** Watch a path until the watcher is closed. */
61
+ export const watch: MuonFsApi["watch"];
9
62
  }
10
63
 
11
64
  declare module "muon:node" {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muon-ui",
3
- "version": "0.26.0",
3
+ "version": "0.27.0",
4
4
  "type": "module",
5
5
  "types": "./muon.d.ts",
6
6
  "bin": {
@@ -24,6 +24,7 @@
24
24
  "LICENSE",
25
25
  "images/muon-120.png",
26
26
  "images/vscode.png",
27
+ "images/get-started-android.png",
27
28
  "dist",
28
29
  "muon.d.ts",
29
30
  "muon-virtual-modules.d.ts",
@@ -31,11 +32,11 @@
31
32
  "android.d.ts"
32
33
  ],
33
34
  "scripts": {
34
- "build": "npm run build:js && npm run build --workspace muon-builder && node scripts/stage-muon-builder.mjs && npm run build --workspace muon-android && node ../muon-android/scripts/stage-package.mjs dist/android",
35
- "build:js": "vite build --mode cjs && vite build --mode esm",
35
+ "build": "npm run build:js && npm run build --workspace muon-builder && node scripts/stage-muon-builder.mjs && npm run build --workspace muon-android && node scripts/stage-android-runtime.mjs dist/android",
36
+ "build:js": "vite build --mode cjs && vite build --mode esm && vite build --mode android-host",
36
37
  "build:dist": "bash ../build_package.sh --target dist",
37
38
  "test": "npm run build && vitest run",
38
- "test:windows-nsis-e2e": "npm run build && MUON_E2E_REMOTE_WINDOWS=1 vitest run test/nsis-windows-e2e.test.ts",
39
+ "test:windows-nsis-e2e": "npm run build && vitest run cef-test/nsis-windows-e2e.test.ts",
39
40
  "verify:package-runtime": "node scripts/verify-package-runtime.mjs",
40
41
  "pack": "bash ../build_package.sh",
41
42
  "dependencies": "reskill"
@@ -58,10 +59,11 @@
58
59
  }
59
60
  },
60
61
  "devDependencies": {
62
+ "muon-plugin-sdk": "0.0.1",
61
63
  "@types/adm-zip": ">=0.5.8",
62
64
  "@types/node": ">=24.0.0",
63
65
  "@types/semver": ">=7.7.0",
64
- "agent-rover": "^0.5.0",
66
+ "agent-rover": "^0.10.0",
65
67
  "async-primitives": ">=1.7.0",
66
68
  "prettier-max": ">=1.16.0",
67
69
  "screw-up": ">=1.35.0",
@@ -71,18 +73,18 @@
71
73
  },
72
74
  "git": {
73
75
  "tags": [
74
- "0.26.0"
76
+ "0.27.0"
75
77
  ],
76
78
  "branches": [
77
79
  "main"
78
80
  ],
79
81
  "commit": {
80
- "hash": "4bceacb2bf609778560407d23f4cba0e36315098",
81
- "shortHash": "4bceacb",
82
- "date": "2026-10-08T04:46:26+09:00",
82
+ "hash": "95dc2712686873c8a022483fd9abf18598019bd7",
83
+ "shortHash": "95dc271",
84
+ "date": "2026-10-12T10:28:29+09:00",
83
85
  "message": "Merge branch 'develop'"
84
86
  },
85
- "version": "0.26.0"
87
+ "version": "0.27.0"
86
88
  },
87
89
  "description": "A multi-platform GUI application framework that uses CEF as its backend",
88
90
  "keywords": [
@@ -98,5 +100,5 @@
98
100
  "url": "https://github.com/kekyo/muon-ui.git"
99
101
  },
100
102
  "homepage": "https://github.com/kekyo/muon-ui#readme",
101
- "buildDate": "2026-10-08T05:29:15+09:00"
103
+ "buildDate": "2026-10-12T13:56:30+09:00"
102
104
  }
package/vite.d.ts CHANGED
@@ -309,6 +309,14 @@ export interface MuonVitePluginAccessImportOptions {
309
309
  * Plugin entry and capability import configuration for muon virtual modules.
310
310
  */
311
311
  export interface MuonVitePluginAccessEntryOptions {
312
+ /** Explicit source config, artifact manifest, or prebuilt NPM package. */
313
+ readonly native?: {
314
+ /** Source configuration path, built with muon-plugin-sdk. */ readonly source?: string;
315
+ /** Prebuilt muon-plugin.json path. */ readonly manifest?: string;
316
+ /** Installed NPM package exporting ./muon-plugin.json. */ readonly package?: string;
317
+ /** Cross target development sysroot, used only for source builds. */ readonly sysroot?: string;
318
+ /** Android SDK override for source builds. */ readonly androidSdkPath?: string;
319
+ };
312
320
  /**
313
321
  * Plugin entry name.
314
322
  */