@ecmaos/kernel 0.7.0 → 0.8.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 (274) hide show
  1. package/README.md +1 -1
  2. package/dist/.vite/manifest.json +12 -12
  3. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/.nojekyll +1 -0
  4. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/CNAME +1 -0
  5. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/custom.css +3 -0
  6. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/dmt-component-data.js +1 -0
  7. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/dmt-components.css +20 -0
  8. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/dmt-components.js +67 -0
  9. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/dmt-search.cmp +0 -0
  10. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/dmt-theme.css +1 -0
  11. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/icons/service/github.png +0 -0
  12. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/icons/service/npm.png +0 -0
  13. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/hierarchy.js +1 -0
  14. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/highlight.css +92 -0
  15. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/icons.js +18 -0
  16. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/icons.svg +1 -0
  17. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/main.js +60 -0
  18. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/style.css +1610 -0
  19. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_auth.Auth.html +15 -0
  20. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_components.Component.html +21 -0
  21. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_components.Components.html +22 -0
  22. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_dom.Dom.html +6 -0
  23. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_events.Events.html +39 -0
  24. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_fdtable.FDTable.html +39 -0
  25. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_filesystem.Filesystem.html +37 -0
  26. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_i18n.I18n.html +6 -0
  27. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_intervals.Intervals.html +6 -0
  28. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_kernel.Kernel.html +180 -0
  29. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_lib_commands.TerminalCommand.html +33 -0
  30. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_log.Log.html +25 -0
  31. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_memory.Memory.html +18 -0
  32. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_processes.Process.html +80 -0
  33. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_processes.ProcessManager.html +10 -0
  34. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_protocol.Protocol.html +5 -0
  35. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_service.Service.html +34 -0
  36. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_shell.Shell.html +50 -0
  37. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_sockets.Sockets.html +24 -0
  38. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_storage.Storage.html +25 -0
  39. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_telemetry.Telemetry.html +6 -0
  40. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_terminal.Spinner.html +12 -0
  41. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_terminal.Terminal.html +108 -0
  42. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_users.Users.html +27 -0
  43. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_wasm.Wasm.html +18 -0
  44. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_windows.Windows.html +30 -0
  45. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_workers.Workers.html +19 -0
  46. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/enums/kernel_src_tree_terminal.CommandPath.html +3 -0
  47. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/enums/types_kernel.KernelEvents.html +9 -0
  48. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/enums/types_kernel.KernelState.html +7 -0
  49. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/enums/types_processes.ProcessEvents.html +8 -0
  50. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/enums/types_terminal.TerminalEvents.html +17 -0
  51. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/favicon.ico +0 -0
  52. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.TerminalCommands.html +4 -0
  53. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.chown.html +2 -0
  54. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.clear.html +2 -0
  55. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.df.html +2 -0
  56. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.download.html +2 -0
  57. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.env.html +2 -0
  58. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.fetch.html +2 -0
  59. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.load.html +2 -0
  60. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.mount.html +2 -0
  61. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.observe.html +2 -0
  62. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.open.html +2 -0
  63. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.passwd.html +2 -0
  64. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.play.html +2 -0
  65. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.ps.html +2 -0
  66. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.reboot.html +2 -0
  67. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.screensaver.html +2 -0
  68. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.snake.html +2 -0
  69. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.su.html +2 -0
  70. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.umount.html +2 -0
  71. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.unzip.html +2 -0
  72. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.upload.html +2 -0
  73. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.video.html +2 -0
  74. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.zip.html +2 -0
  75. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands_install.default.html +2 -0
  76. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands_uninstall.default.html +2 -0
  77. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_screensavers_blank.default.html +2 -0
  78. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_screensavers_blank.exit.html +2 -0
  79. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_screensavers_matrix.default.html +2 -0
  80. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_screensavers_matrix.exit.html +2 -0
  81. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/index.html +293 -0
  82. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/kernel_src_tree_lib_commands.CommandArgs.html +11 -0
  83. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_auth.Auth.html +3 -0
  84. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_components.Components.html +3 -0
  85. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_device.KernelDevice.html +21 -0
  86. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_device.KernelDeviceCLIOptions.html +13 -0
  87. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_device.KernelDeviceData.html +4 -0
  88. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_dom.Dom.html +10 -0
  89. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_dom.DomOptions.html +5 -0
  90. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_events.Events.html +29 -0
  91. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_filesystem.FileHeader.html +9 -0
  92. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_filesystem.Filesystem.html +24 -0
  93. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_filesystem.FilesystemDescriptions.html +5 -0
  94. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_i18n.I18n.html +9 -0
  95. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_i18n.I18nOptions.html +25 -0
  96. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_intervals.Intervals.html +14 -0
  97. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.BootOptions.html +7 -0
  98. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.Kernel.html +95 -0
  99. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelExecuteEvent.html +6 -0
  100. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelExecuteOptions.html +14 -0
  101. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelOptions.html +13 -0
  102. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelPanicEvent.html +3 -0
  103. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelShutdownEvent.html +3 -0
  104. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelUploadEvent.html +4 -0
  105. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_keyboard.Keyboard.html +15 -0
  106. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_log.Log.html +32 -0
  107. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_log.LogOptions.html +9 -0
  108. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_memory.Memory.html +46 -0
  109. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_modules.KernelModule.html +10 -0
  110. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.FDTable.html +28 -0
  111. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.FileHandle.html +18 -0
  112. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.Process.html +68 -0
  113. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessEntryParams.html +33 -0
  114. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessExitEvent.html +5 -0
  115. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessManager.html +23 -0
  116. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessOptions.html +37 -0
  117. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessPauseEvent.html +3 -0
  118. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessResumeEvent.html +3 -0
  119. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessStartEvent.html +3 -0
  120. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessStopEvent.html +3 -0
  121. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_protocol.Protocol.html +8 -0
  122. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_protocol.ProtocolOptions.html +7 -0
  123. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_service.Service.html +23 -0
  124. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_service.ServiceOptions.html +9 -0
  125. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_shell.Shell.html +32 -0
  126. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_shell.ShellOptions.html +15 -0
  127. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_sockets.Sockets.html +25 -0
  128. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_sockets.SocketsOptions.html +5 -0
  129. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_sockets.WebSocketConnection.html +17 -0
  130. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_sockets.WebTransportConnection.html +17 -0
  131. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_storage.StorageOptions.html +9 -0
  132. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_storage.StorageProvider.html +15 -0
  133. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_telemetry.Telemetry.html +7 -0
  134. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_telemetry.TelemetryOptions.html +5 -0
  135. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.Terminal.html +86 -0
  136. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalAttachEvent.html +5 -0
  137. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalCommand.html +16 -0
  138. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalCreatedEvent.html +3 -0
  139. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalExecuteEvent.html +4 -0
  140. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalInputEvent.html +4 -0
  141. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalInterruptEvent.html +3 -0
  142. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalKeyEvent.html +4 -0
  143. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalListenEvent.html +3 -0
  144. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalMessageEvent.html +4 -0
  145. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalMountEvent.html +4 -0
  146. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalOptions.html +23 -0
  147. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalPasteEvent.html +3 -0
  148. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalResizeEvent.html +4 -0
  149. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalUnlistenEvent.html +3 -0
  150. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalWriteEvent.html +3 -0
  151. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalWritelnEvent.html +3 -0
  152. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.AddUserOptions.html +9 -0
  153. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.Passkey.html +15 -0
  154. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.User.html +21 -0
  155. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.Users.html +48 -0
  156. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.UsersOptions.html +5 -0
  157. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_wasm.Wasm.html +9 -0
  158. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_wasm.WasmOptions.html +5 -0
  159. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_windows.WindowOptions.html +15 -0
  160. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_windows.Windows.html +20 -0
  161. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_workers.Workers.html +9 -0
  162. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/media/package.json +72 -0
  163. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/media/turbo.json +38 -0
  164. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_auth.html +2 -0
  165. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_components.html +2 -0
  166. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_device.html +2 -0
  167. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_dom.html +2 -0
  168. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_events.html +2 -0
  169. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_fdtable.html +2 -0
  170. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_filesystem.html +2 -0
  171. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_i18n.html +2 -0
  172. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_intervals.html +2 -0
  173. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_kernel.html +2 -0
  174. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_lib_commands.html +2 -0
  175. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_lib_commands_install.html +2 -0
  176. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_lib_commands_uninstall.html +2 -0
  177. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_lib_screensavers_blank.html +2 -0
  178. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_lib_screensavers_matrix.html +2 -0
  179. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_log.html +2 -0
  180. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_memory.html +2 -0
  181. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_processes.html +2 -0
  182. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_protocol.html +2 -0
  183. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_service.html +2 -0
  184. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_shell.html +2 -0
  185. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_sockets.html +2 -0
  186. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_storage.html +2 -0
  187. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_telemetry.html +2 -0
  188. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_terminal.html +2 -0
  189. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_users.html +2 -0
  190. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_wasm.html +2 -0
  191. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_windows.html +2 -0
  192. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_workers.html +2 -0
  193. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_auth.html +2 -0
  194. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_components.html +2 -0
  195. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_device.html +2 -0
  196. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_dom.html +2 -0
  197. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_events.html +2 -0
  198. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_filesystem.html +2 -0
  199. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_i18n.html +2 -0
  200. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_intervals.html +2 -0
  201. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_kernel.html +2 -0
  202. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_keyboard.html +2 -0
  203. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_log.html +2 -0
  204. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_memory.html +2 -0
  205. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_modules.html +2 -0
  206. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_processes.html +2 -0
  207. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_protocol.html +2 -0
  208. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_service.html +2 -0
  209. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_shell.html +2 -0
  210. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_sockets.html +2 -0
  211. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_storage.html +2 -0
  212. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_telemetry.html +2 -0
  213. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_terminal.html +2 -0
  214. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_users.html +2 -0
  215. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_wasm.html +2 -0
  216. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_windows.html +2 -0
  217. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules/types_workers.html +2 -0
  218. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/modules.html +2 -0
  219. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/kernel_src_tree_fdtable.ZenFSFileHandle.html +2 -0
  220. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_auth.PasswordCredentialInit.html +3 -0
  221. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_components.ComponentListener.html +3 -0
  222. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_events.EventCallback.html +3 -0
  223. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_filesystem.FilesystemConfigMounts.html +3 -0
  224. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_filesystem.FilesystemOptions.html +3 -0
  225. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_filesystem.Path.html +3 -0
  226. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_intervals.IntervalMap.html +3 -0
  227. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Address.html +3 -0
  228. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Collection.html +3 -0
  229. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Config.html +3 -0
  230. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Heap.html +3 -0
  231. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Stack.html +3 -0
  232. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.StackFrame.html +3 -0
  233. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_modules.KernelModules.html +2 -0
  234. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_processes.ProcessStatus.html +3 -0
  235. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_processes.ProcessesMap.html +3 -0
  236. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_sockets.SocketConnection.html +3 -0
  237. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_sockets.WebSocketState.html +3 -0
  238. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_sockets.WebTransportState.html +3 -0
  239. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_users.GID.html +3 -0
  240. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_users.UID.html +3 -0
  241. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_windows.WindowId.html +3 -0
  242. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_device.DefaultDevices.html +2 -0
  243. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_dom.DefaultDomOptions.html +2 -0
  244. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_filesystem.DefaultFilesystemOptions.html +2 -0
  245. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_i18n.DefaultI18nOptions.html +2 -0
  246. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_log.DefaultLogOptions.html +2 -0
  247. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_service.DefaultServiceOptions.html +2 -0
  248. package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_terminal.DefaultTerminalOptions.html +2 -0
  249. package/dist/initfs/usr/share/docs/@ecmaos/kernel/index.md +415 -0
  250. package/dist/initfs/usr/share/docs/@zenfs/core/architecture.md +30 -0
  251. package/dist/initfs/usr/share/docs/@zenfs/core/backends.md +61 -0
  252. package/dist/initfs/usr/share/docs/@zenfs/core/configuration.md +54 -0
  253. package/dist/initfs/usr/share/docs/@zenfs/core/devices.md +58 -0
  254. package/dist/initfs/usr/share/docs/@zenfs/core/internal.md +31 -0
  255. package/dist/initfs/usr/share/docs/@zenfs/core/security.md +64 -0
  256. package/dist/initfs/usr/share/docs/@zenfs/core/vfs.md +35 -0
  257. package/dist/initfs/usr/share/licenses/@ecmaos/kernel/LICENSE +7 -0
  258. package/dist/initfs/usr/share/licenses/@ecmaos/kernel/LICENSE-APACHE +176 -0
  259. package/dist/initfs/usr/share/licenses/@ecmaos/kernel/LICENSE-MIT +21 -0
  260. package/dist/initfs.tar.gz +0 -0
  261. package/dist/{install-CVp32aAu.js → install-q2Renhgi.js} +2 -2
  262. package/dist/{install-CVp32aAu.js.map → install-q2Renhgi.js.map} +1 -1
  263. package/dist/{kernel-Bpu9Ujml.js → kernel-BR5am0OX.js} +14918 -20190
  264. package/dist/kernel-BR5am0OX.js.map +1 -0
  265. package/dist/kernel.js +1 -1
  266. package/dist/{topbar.min-5c8PffLE.js → topbar.min-dK87tSZy.js} +2 -2
  267. package/dist/{topbar.min-5c8PffLE.js.map → topbar.min-dK87tSZy.js.map} +1 -1
  268. package/dist/ui.js +1 -1
  269. package/dist/{uninstall-CJIvqogq.js → uninstall-CzJG8s4q.js} +2 -2
  270. package/dist/{uninstall-CJIvqogq.js.map → uninstall-CzJG8s4q.js.map} +1 -1
  271. package/package.json +9 -8
  272. package/dist/kernel-Bpu9Ujml.js.map +0 -1
  273. /package/dist/initfs/usr/share/licenses/{zenfs → @zenfs/core}/COPYRIGHT.txt +0 -0
  274. /package/dist/initfs/usr/share/licenses/{zenfs → @zenfs/core}/LICENSE.md +0 -0
@@ -0,0 +1,2 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><style>body { visibility: hidden; }</style><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="IE=edge"><title>DefaultFilesystemOptions | ecmaOS</title><meta name="description" content="Documentation for ecmaOS"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="../assets/style.css"><link rel="stylesheet" href="../assets/highlight.css"><link rel="stylesheet" href="../assets/custom.css"><script defer="" src="../assets/main.js"></script><script async="" src="../assets/icons.js" id="tsd-icons-script"></script><link rel="stylesheet" href="../assets/dmt/dmt-components.css"><link rel="stylesheet" href="../assets/dmt/dmt-theme.css"><script src="../assets/dmt/dmt-components.js" type="module"></script><link rel="icon" href="../favicon.ico"><noscript><style>body { visibility: visible; }</style></noscript></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";</script><div class="overlay"></div>
2
+ <main><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field" id="dmt-search-main"></div><div class="field" id="dmt-toolbar"><a href="../index.html" class="title">ecmaOS</a></div></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main" tabindex="-1"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules/kernel_src_tree_filesystem.html">kernel/src/tree/filesystem</a></li><li><a href="kernel_src_tree_filesystem.DefaultFilesystemOptions.html">DefaultFilesystemOptions</a></li></ul><div class="dmt-title-header-flex"><h1>Variable DefaultFilesystemOptions<code class="tsd-tag">Const</code></h1></div></div><div class="tsd-signature"><span class="tsd-kind-variable">DefaultFilesystemOptions</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Configuration</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ConfigMounts</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/ecmaos/ecmaos/blob/b7950f68c438080219faf5155716180ca09a1a9c/core/kernel/src/tree/filesystem.ts#L26">core/kernel/src/tree/filesystem.ts:26</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked=""><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">ecmaOS</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> with the <a href="https://www.npmjs.com/package/@typhonjs-typedoc/typedoc-theme-dmt" target="_blank">Default Modern Theme</a></p></footer></main></body></html>
@@ -0,0 +1,2 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><style>body { visibility: hidden; }</style><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="IE=edge"><title>DefaultI18nOptions | ecmaOS</title><meta name="description" content="Documentation for ecmaOS"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="../assets/style.css"><link rel="stylesheet" href="../assets/highlight.css"><link rel="stylesheet" href="../assets/custom.css"><script defer="" src="../assets/main.js"></script><script async="" src="../assets/icons.js" id="tsd-icons-script"></script><link rel="stylesheet" href="../assets/dmt/dmt-components.css"><link rel="stylesheet" href="../assets/dmt/dmt-theme.css"><script src="../assets/dmt/dmt-components.js" type="module"></script><link rel="icon" href="../favicon.ico"><noscript><style>body { visibility: visible; }</style></noscript></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";</script><div class="overlay"></div>
2
+ <main><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field" id="dmt-search-main"></div><div class="field" id="dmt-toolbar"><a href="../index.html" class="title">ecmaOS</a></div></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main" tabindex="-1"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules/kernel_src_tree_i18n.html">kernel/src/tree/i18n</a></li><li><a href="kernel_src_tree_i18n.DefaultI18nOptions.html">DefaultI18nOptions</a></li></ul><div class="dmt-title-header-flex"><h1>Variable DefaultI18nOptions<code class="tsd-tag">Const</code></h1></div></div><div class="tsd-signature"><span class="tsd-kind-variable">DefaultI18nOptions</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">InitOptions</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/ecmaos/ecmaos/blob/b7950f68c438080219faf5155716180ca09a1a9c/core/kernel/src/tree/i18n.ts#L9">core/kernel/src/tree/i18n.ts:9</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked=""><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">ecmaOS</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> with the <a href="https://www.npmjs.com/package/@typhonjs-typedoc/typedoc-theme-dmt" target="_blank">Default Modern Theme</a></p></footer></main></body></html>
@@ -0,0 +1,2 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><style>body { visibility: hidden; }</style><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="IE=edge"><title>DefaultLogOptions | ecmaOS</title><meta name="description" content="Documentation for ecmaOS"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="../assets/style.css"><link rel="stylesheet" href="../assets/highlight.css"><link rel="stylesheet" href="../assets/custom.css"><script defer="" src="../assets/main.js"></script><script async="" src="../assets/icons.js" id="tsd-icons-script"></script><link rel="stylesheet" href="../assets/dmt/dmt-components.css"><link rel="stylesheet" href="../assets/dmt/dmt-theme.css"><script src="../assets/dmt/dmt-components.js" type="module"></script><link rel="icon" href="../favicon.ico"><noscript><style>body { visibility: visible; }</style></noscript></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";</script><div class="overlay"></div>
2
+ <main><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field" id="dmt-search-main"></div><div class="field" id="dmt-toolbar"><a href="../index.html" class="title">ecmaOS</a></div></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main" tabindex="-1"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules/kernel_src_tree_log.html">kernel/src/tree/log</a></li><li><a href="kernel_src_tree_log.DefaultLogOptions.html">DefaultLogOptions</a></li></ul><div class="dmt-title-header-flex"><h1>Variable DefaultLogOptions<code class="tsd-tag">Const</code></h1></div></div><div class="tsd-signature"><span class="tsd-kind-variable">DefaultLogOptions</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">LogOptions</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/ecmaos/ecmaos/blob/b7950f68c438080219faf5155716180ca09a1a9c/core/kernel/src/tree/log.ts#L5">core/kernel/src/tree/log.ts:5</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked=""><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">ecmaOS</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> with the <a href="https://www.npmjs.com/package/@typhonjs-typedoc/typedoc-theme-dmt" target="_blank">Default Modern Theme</a></p></footer></main></body></html>
@@ -0,0 +1,2 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><style>body { visibility: hidden; }</style><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="IE=edge"><title>DefaultServiceOptions | ecmaOS</title><meta name="description" content="Documentation for ecmaOS"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="../assets/style.css"><link rel="stylesheet" href="../assets/highlight.css"><link rel="stylesheet" href="../assets/custom.css"><script defer="" src="../assets/main.js"></script><script async="" src="../assets/icons.js" id="tsd-icons-script"></script><link rel="stylesheet" href="../assets/dmt/dmt-components.css"><link rel="stylesheet" href="../assets/dmt/dmt-theme.css"><script src="../assets/dmt/dmt-components.js" type="module"></script><link rel="icon" href="../favicon.ico"><noscript><style>body { visibility: visible; }</style></noscript></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";</script><div class="overlay"></div>
2
+ <main><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field" id="dmt-search-main"></div><div class="field" id="dmt-toolbar"><a href="../index.html" class="title">ecmaOS</a></div></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main" tabindex="-1"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules/kernel_src_tree_service.html">kernel/src/tree/service</a></li><li><a href="kernel_src_tree_service.DefaultServiceOptions.html">DefaultServiceOptions</a></li></ul><div class="dmt-title-header-flex"><h1>Variable DefaultServiceOptions<code class="tsd-tag">Const</code></h1></div></div><div class="tsd-signature"><span class="tsd-kind-variable">DefaultServiceOptions</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ServiceOptions</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/ecmaos/ecmaos/blob/b7950f68c438080219faf5155716180ca09a1a9c/core/kernel/src/tree/service.ts#L28">core/kernel/src/tree/service.ts:28</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked=""><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">ecmaOS</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> with the <a href="https://www.npmjs.com/package/@typhonjs-typedoc/typedoc-theme-dmt" target="_blank">Default Modern Theme</a></p></footer></main></body></html>
@@ -0,0 +1,2 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><style>body { visibility: hidden; }</style><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="IE=edge"><title>DefaultTerminalOptions | ecmaOS</title><meta name="description" content="Documentation for ecmaOS"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="../assets/style.css"><link rel="stylesheet" href="../assets/highlight.css"><link rel="stylesheet" href="../assets/custom.css"><script defer="" src="../assets/main.js"></script><script async="" src="../assets/icons.js" id="tsd-icons-script"></script><link rel="stylesheet" href="../assets/dmt/dmt-components.css"><link rel="stylesheet" href="../assets/dmt/dmt-theme.css"><script src="../assets/dmt/dmt-components.js" type="module"></script><link rel="icon" href="../favicon.ico"><noscript><style>body { visibility: visible; }</style></noscript></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";</script><div class="overlay"></div>
2
+ <main><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field" id="dmt-search-main"></div><div class="field" id="dmt-toolbar"><a href="../index.html" class="title">ecmaOS</a></div></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main" tabindex="-1"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules/kernel_src_tree_terminal.html">kernel/src/tree/terminal</a></li><li><a href="kernel_src_tree_terminal.DefaultTerminalOptions.html">DefaultTerminalOptions</a></li></ul><div class="dmt-title-header-flex"><h1>Variable DefaultTerminalOptions<code class="tsd-tag">Const</code></h1></div></div><div class="tsd-signature"><span class="tsd-kind-variable">DefaultTerminalOptions</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TerminalOptions</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/ecmaos/ecmaos/blob/b7950f68c438080219faf5155716180ca09a1a9c/core/kernel/src/tree/terminal.ts#L57">core/kernel/src/tree/terminal.ts:57</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked=""><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">ecmaOS</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> with the <a href="https://www.npmjs.com/package/@typhonjs-typedoc/typedoc-theme-dmt" target="_blank">Default Modern Theme</a></p></footer></main></body></html>
@@ -0,0 +1,415 @@
1
+ # The Web Kernel
2
+
3
+ [![Launch ecmaOS.sh](https://img.shields.io/badge/launch-ecmaos.sh-blue?style=for-the-badge)](https://ecmaos.sh)
4
+
5
+ > Made with ❤️ by [Jay Mathis](https://jaymath.is)
6
+ >
7
+ > [![Stars](https://img.shields.io/github/stars/mathiscode?style=flat&logo=github&label=⭐️)](https://github.com/mathiscode) [![Followers](https://img.shields.io/github/followers/mathiscode?style=flat&logo=github&label=follow)](https://github.com/mathiscode)
8
+
9
+ [ecmaOS](https://ecmaos.sh) is a browser-based operating system kernel and suite of applications written primarily in TypeScript, AssemblyScript, and C++. It's the successor of [web3os](https://github.com/web3os-org/kernel).
10
+
11
+ The goal is to create a kernel and supporting apps that tie together modern web technologies and utilities to form an "operating system" that can run on modern browsers, not just to create a "desktop experience". It offers the ability to run a wide variety of apps on top of an already (mostly) sandboxed foundation, offering some measure of security by default as well as rich developer tooling. Its main use case is to provide a consistent environment for running web apps, but it has features that allow for more powerful custom scenarios, such as a platform for custom applications, games, and more.
12
+
13
+ This is NOT intended to be a "Linux kernel in Javascript" - while it takes its heaviest inspiration from Linux, it is more experimental and follows different design principles and architecture, and also doesn't need to cover nearly the same scope.
14
+
15
+ ---
16
+
17
+ > *"The computer can be used as a tool to liberate and protect people, rather than to control them."*
18
+ > — Hal Finney
19
+
20
+ [![Version](https://img.shields.io/github/package-json/v/ecmaos/ecmaos?color=success)](https://www.npmjs.com/package/@ecmaos/kernel)
21
+ [![Site Status](https://img.shields.io/website?url=https%3A%2F%2Fecmaos.sh)](https://ecmaos.sh)
22
+ [![Created](https://img.shields.io/github/created-at/ecmaos/ecmaos?style=flat&label=created&color=success)](https://github.com/ecmaos/ecmaos/pulse)
23
+ [![Last Commit](https://img.shields.io/github/last-commit/ecmaos/ecmaos.svg)](https://github.com/ecmaos/ecmaos/commit/main)
24
+ [![API Reference](https://img.shields.io/badge/API-Reference-success)](https://docs.ecmaos.sh)
25
+ [![GitHub license](https://img.shields.io/badge/license-MIT+Apache2.0-success)](https://github.com/ecmaos/ecmaos/blob/main/LICENSE)
26
+
27
+ [![Open issues](https://img.shields.io/github/issues/ecmaos/ecmaos.svg?logo=github)](https://github.com/ecmaos/ecmaos/issues)
28
+ [![Closed issues](https://img.shields.io/github/issues-closed/ecmaos/ecmaos.svg?logo=github)](https://github.com/ecmaos/ecmaos/issues?q=is%3Aissue+is%3Aclosed)
29
+ [![Open PRs](https://img.shields.io/github/issues-pr-raw/ecmaos/ecmaos.svg?logo=github&label=PRs)](https://github.com/ecmaos/ecmaos/pulls)
30
+ [![Closed PRs](https://img.shields.io/github/issues-pr-closed/ecmaos/ecmaos.svg?logo=github&label=PRs)](https://github.com/ecmaos/ecmaos/pulls?q=is%3Apr+is%3Aclosed)
31
+
32
+ [![Star on GitHub](https://img.shields.io/github/stars/ecmaos/ecmaos?style=flat&logo=github&label=⭐️%20stars)](https://github.com/ecmaos/ecmaos/stargazers)
33
+ [![GitHub forks](https://img.shields.io/github/forks/ecmaos/ecmaos?style=flat&logo=github&label=🔀%20forks)](https://github.com/ecmaos/ecmaos/forks)
34
+ [![GitHub watchers](https://img.shields.io/github/watchers/ecmaos/ecmaos?style=flat&logo=github&label=👀%20watchers)](https://github.com/ecmaos/ecmaos/watchers)
35
+ [![Sponsors](https://img.shields.io/github/sponsors/mathiscode?color=red&logo=github&label=💖%20sponsors)](https://github.com/sponsors/mathiscode)
36
+ [![Contributors](https://img.shields.io/github/contributors/ecmaos/ecmaos?color=yellow&logo=github&label=👥%20contributors)](https://github.com/ecmaos/ecmaos/graphs/contributors)
37
+
38
+ [![Discord](https://img.shields.io/discord/1311804229127508081?label=discord&logo=discord&logoColor=white)](https://discord.gg/ZJYGkbVsCh)
39
+ [![Matrix](https://img.shields.io/matrix/ecmaos:matrix.org.svg?label=%23ecmaos%3Amatrix.org&logo=matrix&logoColor=white)](https://matrix.to/#/#ecmaos:matrix.org)
40
+ [![Bluesky](https://img.shields.io/badge/follow-on%20Bluesky-blue?logo=bluesky&logoColor=white)](https://ecmaos.bsky.social)
41
+ [![Reddit](https://img.shields.io/reddit/subreddit-subscribers/ecmaos?style=flat&logo=reddit&logoColor=white&label=r/ecmaos)](https://www.reddit.com/r/ecmaos)
42
+
43
+ ## Features
44
+
45
+ - TypeScript, WebAssembly, AssemblyScript, C++
46
+ - Filesystem supporting multiple backends powered by [zenfs](https://github.com/zen-fs/core)
47
+ - Terminal interface powered by [xterm.js](https://xtermjs.org)
48
+ - Pseudo-streams, allowing redirection and piping
49
+ - Device framework with a common interface for working with hardware: WebBluetooth, WebSerial, WebHID, WebUSB, etc.
50
+ - Some devices have a builtin CLI, so you can run them like normal commands: `# /dev/bluetooth`
51
+ - Install any client-side npm package (this doesn't mean it will work out of the box as expected)
52
+ - Event manager for dispatching and subscribing to events
53
+ - Process manager for running applications and daemons
54
+ - Interval manager for scheduling recurring operations
55
+ - Memory manager for managing pseudo-memory: Collections, Config, Heap, and Stack
56
+ - Storage manager for managing Storage API capabilities: IndexedDB, localStorage, etc.
57
+ - Internationalization framework for translating text powered by [i18next](https://www.i18next.com)
58
+ - Window manager powered by [WinBox](https://github.com/nextapps-de/winbox)
59
+ <!-- - `BIOS`: A C++ module compiled to WebAssembly with [Emscripten](https://emscripten.org) providing performance-critical functionality -->
60
+ <!-- - `Jaffa`: A [Tauri](https://tauri.app) app for running ecmaOS in a desktop or mobile environment -->
61
+ - `Metal`: An API server for allowing connections to physical systems from ecmaOS using [Hono](https://hono.dev)
62
+ - `SWAPI`: An API server running completely inside a service worker using [Hono](https://hono.dev)
63
+
64
+ ## Basic Concepts
65
+
66
+ ### Apps
67
+
68
+ > [/apps](/apps)
69
+
70
+ - These are full applications that are developed specifically to work with ecmaOS
71
+ - Refer to the full list of [official published apps on npm](https://www.npmjs.com/org/ecmaos-apps)
72
+ - See the [APPS.md](/APPS.md) file for a list of community apps; submit a PR to add your app!
73
+ - An app is an npm package, in which the bin file has a shebang line of `#!ecmaos:bin:app:myappname`
74
+ - Its default export (or exported `main` function) will be called with the `ProcessEntryParams` object
75
+ - They can be installed from the terminal using the `install` command, e.g. `# install @ecmaos-apps/code`
76
+ - Run the installed app (bins are linked to `/usr/bin`): `# code /root/hello.js`
77
+ - During development, it can be useful to run a [Verdaccio](https://github.com/verdaccio/verdaccio) server to test local packages
78
+ - To publish to Verdaccio, run `# npm publish --registry http://localhost:4873` in your app's development environment
79
+ - Then to install from your local registry, run (inside ecmaOS) `# install @myscope/mypackage --registry http://localhost:4873`
80
+
81
+ <!-- Will revamp once more work is done on this -->
82
+ <!-- ### BIOS
83
+
84
+ > [/core/bios](/core/bios)
85
+
86
+ - The BIOS is a C++ module compiled to WebAssembly with [Emscripten](https://emscripten.org) providing performance-critical functionality
87
+ - The BIOS has its own filesystem, located at `/bios` — this allows data to be copied in and out of the BIOS for custom code and utilities
88
+ - The main idea is that data and custom code can be loaded into it from the OS for WASM-native performance, as well as providing various utilities
89
+ - Confusingly, the Kernel loads the BIOS — not the other way around -->
90
+
91
+ ### Commands
92
+
93
+ > [/core/kernel/src/tree/lib/commands](/core/kernel/src/tree/lib/commands)
94
+
95
+ - `Commands` are built-in shell commands that are provided by the kernel, e.g. `download`, `install`, `load`, etc.
96
+
97
+ ### Coreutils
98
+
99
+ > [/core/utils](/core/utils)
100
+
101
+ - `Coreutils` are similar to `Commands`, but are provided by the `@ecmaos/coreutils` package, e.g. `cat`, `cd`, `chmod`, `cp`, `echo`, `ls`, `mkdir`, `mv`, `pwd`, `rm`, `rmdir`, `stat`, `touch`, etc.
102
+
103
+ ### Devices
104
+
105
+ > [/devices](/devices)
106
+
107
+ - Refer to the full list of [official devices on npm](https://www.npmjs.com/org/ecmaos-devices)
108
+ - See the [DEVICES.md](/DEVICES.md) file for a list of community devices; submit a PR to add your device!
109
+ - Devices get loaded on boot, e.g. `/dev/bluetooth`, `/dev/random`, `/dev/battery`, etc.
110
+ - A device can support being "run" by a user, e.g. `# /dev/battery status`
111
+ - Devices may also be directly read/written using `fs` methods, and will behave accordingly (or have no effect if not supported)
112
+ - An individual device module can provide multiple device drivers, e.g. `/dev/usb` provides `/dev/usb-mydevice-0001-0002`
113
+
114
+ ### Generators
115
+
116
+ > [/turbo/generators](/turbo/generators)
117
+
118
+ - Generators are used to scaffold new apps, devices, modules, etc.
119
+ - They are located in the `turbo/generators` directory of the repository
120
+ - They are used by the `turbo gen` command, e.g. `turbo gen app`, `turbo gen device`, `turbo gen module`, etc.
121
+
122
+ <!-- Will revamp once more work is done on this -->
123
+ <!-- ### Jaffa
124
+
125
+ > [/core/jaffa](/core/jaffa)
126
+
127
+ - Jaffa is a [Tauri](https://tauri.app) wrapper for the ecmaOS kernel
128
+ - It's used to tie the kernel into a desktop or mobile environment, allowing for native functionality
129
+ - It needs more work -->
130
+
131
+ ### Kernel
132
+
133
+ > [/core/kernel](/core/kernel)
134
+
135
+ - The kernel ties together the various components of the system into a cohesive whole
136
+ - Authentication (Passwords, Passkeys, Credentials)
137
+ - Components (Web Components/Custom Elements)
138
+ - Coreutils (Built-in commands)
139
+ - Devices (Web Hardware APIs)
140
+ - DOM (DOM Utilities and Interfaces)
141
+ - Events (CustomEvents)
142
+ - Filesystem (ZenFS)
143
+ - Internationalization (i18next)
144
+ - Interval Manager (setInterval)
145
+ - Log Manager (tslog)
146
+ - Memory Manager (Abstractions)
147
+ - Process Manager
148
+ - Protocol Handlers (web+ecmaos://...)
149
+ - Service Worker Manager
150
+ - Shell
151
+ - Sockets (WebSocket, WebTransport)
152
+ - Storage (IndexedDB, localStorage, sessionStorage, etc.)
153
+ - Telemetry (OpenTelemetry)
154
+ - Terminal (xterm.js)
155
+ - User Manager
156
+ - WASM Loader
157
+ <!-- - [WebContainer](https://github.com/stackblitz/webcontainer-core) for running Node.js apps -->
158
+ - Window Manager (WinBox)
159
+ - Web Workers
160
+
161
+ ### Metal
162
+
163
+ > [/core/metal](/core/metal)
164
+
165
+ - Metal is an API server for allowing connections to physical systems from ecmaOS using [Hono](https://hono.dev)
166
+ - Authenticated and encrypted connections with JWK/JWE/JOSE
167
+
168
+ ### Modules
169
+
170
+ > [/modules](/modules)
171
+
172
+ - Refer to the full list of [official modules on npm](https://www.npmjs.com/org/ecmaos-modules)
173
+ - See the [MODULES.md](/MODULES.md) file for a list of community modules; submit a PR to add your module!
174
+ - Modules are dynamically loaded into the kernel at boot and can be enabled or disabled
175
+ - They are specified during build via the `VITE_KERNEL_MODULES` environment variable
176
+ - e.g. `VITE_KERNEL_MODULES=@ecmaos-modules/boilerplate@0.1.0,@your/package@1.2.3`
177
+ - Versions must be pinned and are mandatory - you cannot use NPM version specifiers
178
+ - They can provide additional functionality, devices, commands, etc.
179
+ - They offer a [common interface](./core/types/modules.ts) for interacting with the kernel
180
+ - Generally they should be written in [AssemblyScript](https://www.assemblyscript.org), but this isn't required
181
+
182
+ ### Packages
183
+
184
+ - Packages are [NPM packages](https://www.npmjs.com) that are installed into the ecmaOS environment
185
+ - They can be installed from the terminal using the `install` command, e.g. `# install @ecmaos-apps/ai`
186
+ - Client-side packages should work well
187
+ - Some basic Node emulation is in place, but don't expect anything to work at this point
188
+ - NPM version specifiers are supported, e.g.:
189
+ - `# install jquery@3.7.1`
190
+ - `# install jquery@^3.7.1`
191
+ - `# install jquery@latest`
192
+ - [JSR](https://jsr.io) may be used with the [NPM compatibility layer](https://jsr.io/docs/npm-compatibility):
193
+ - `# install @jsr/defaude__hello-jsr --registry https://npm.jsr.io`
194
+
195
+ ### Sockets
196
+
197
+ - A socket manager is available for creating and managing WebSocket and WebTransport connections
198
+ - It can be accessed via the `kernel.sockets` property or the `sockets` command
199
+
200
+ ### SWAPI
201
+
202
+ > [/core/swapi](/core/swapi)
203
+
204
+ - The SWAPI is an API server running completely inside a service worker using [Hono](https://hono.dev)
205
+ - It allows for various operations including the `fs` route to fetch files via URL
206
+ - e.g., `# fetch /swapi/fs/home/user/hello.txt`
207
+ - e.g., `# fetch /swapi/fake/person/fullName`
208
+
209
+ ### Telemetry
210
+
211
+ - [OpenTelemetry](https://opentelemetry.io) is used for collecting and analyzing telemetry data from the kernel and applications
212
+ - It is only active if the VITE_OPENTELEMETRY_ENDPOINT environment variable is set when building the kernel
213
+ - There is a simple test server included in the `utils/opentelemetry` directory that can be used to test the telemetry system: `python3 utils/opentelemetry/otlp-server.py`
214
+
215
+ ### Utils
216
+
217
+ > [/utils](/utils)
218
+
219
+ - Utilities and configuration used during development
220
+
221
+ ## Important Files and Directories
222
+
223
+ - `/bin/`: Built-in commands
224
+ - `/bios/`: The BIOS filesystem
225
+ - `/boot/init`: A script that runs on boot
226
+ - `/dev/`: All devices are here
227
+ - `/etc/packages`: A list of installed packages to load on boot
228
+ - `/home/`: Contains user home directories
229
+ - `/proc/`: Contains various dynamic system information
230
+ - `/root/`: The home directory for the root user
231
+ - `/usr/bin/`: Executable packages get linked here
232
+ - `/usr/lib/`: All installed packages are here
233
+ - `/var/log/kernel.log`: The kernel log
234
+
235
+ ## Command Examples
236
+
237
+ ```sh
238
+ ai "Despite all my rage" # use `env OPENAI_API_KEY --set sk-`
239
+ cat /var/log/kernel.log
240
+ cd /tmp
241
+ echo "Hello, world!" > hello.txt
242
+ chmod 700 hello.txt
243
+ chown user hello.txt
244
+ clear
245
+ cp /tmp/hello.txt /tmp/hi.txt
246
+ download hello.txt
247
+ edit hello.txt
248
+ env hello --set world ; env
249
+ fetch https://ipecho.net/plain > /tmp/myip.txt
250
+ fetch /xkcd-os.sixel # xterm.js includes sixel support
251
+ fetch /swapi/fs/home/user/hello.txt # fetch a file from the filesystem
252
+ fetch /swapi/fake/person/fullName # fetch a random person from the SWAPI
253
+ install jquery
254
+ install @ecmaos-apps/boilerplate
255
+ ls /dev
256
+ mkdir /tmp/zip ; cd /tmp/zip
257
+ upload
258
+ mount myuploadedzip.zip /mnt/zip -t zip
259
+ cd .. ; pwd
260
+ unzip zip/myuploaded.zip
261
+ mv zip/myuploaded.zip /tmp/backup.zip
262
+ passwd old new
263
+ play /root/test.mp3
264
+ ps
265
+ rm /tmp/backup.zip
266
+ screensaver
267
+ snake
268
+ stat /tmp/hello.txt
269
+ touch /tmp/test.bin
270
+ umount /mnt/zip
271
+ user add --username user
272
+ su user
273
+ video /root/video.mp4
274
+ zip /root/tmp.zip /tmp
275
+ ```
276
+
277
+ ## Device Examples
278
+
279
+ ```sh
280
+ /dev/audio test
281
+ /dev/battery status
282
+ /dev/bluetooth scan
283
+ echo "This will error" > /dev/full
284
+ /dev/gamepad list
285
+ /dev/geo position
286
+ /dev/gpu test
287
+ /dev/hid list
288
+ /dev/midi list
289
+ echo "Goodbye" > /dev/null
290
+ /dev/presentation start https://wikipedia.org
291
+ cat /dev/random --bytes 10
292
+ /dev/sensors list
293
+ /dev/serial devices
294
+ /dev/usb list
295
+ /dev/webgpu test
296
+ cat /dev/zero --bytes 10 > /dev/null
297
+ ```
298
+
299
+ Note: many device implementations are incomplete, but provide a solid starting point
300
+
301
+ ## Code Execution Example
302
+
303
+ ```sh
304
+ echo "window.alert('Hello, world!')" > /root/hello.js
305
+ load /root/hello.js
306
+ ```
307
+
308
+ ## Scripting
309
+
310
+ ```txt
311
+ #!ecmaos:bin:script
312
+ echo "Hello, world!"
313
+ install jquery
314
+ ```
315
+
316
+ ## Startup
317
+
318
+ - `/boot/init` is a script that runs on boot inside the init process (PID 0)
319
+ - `/etc/packages` is a list of already installed packages to load on boot; one per line
320
+ - The env var `VITE_KERNEL_MODULES` is a list of modules to load on boot; CSV with pinned versions
321
+ - The env var `VITE_RECOMMENDED_APPS` is a list of apps to suggest to new users
322
+
323
+ ## App Development
324
+
325
+ The [apps](/apps) directory in the repository contains some examples of how to develop apps, but there are many approaches you could take.
326
+
327
+ - `@ecmaos-apps/boilerplate`: A minimal boilerplate app for reference
328
+ - `@ecmaos-apps/code`: A simple code editor app using [Monaco](https://microsoft.github.io/monaco-editor/); serves as a good reference for more complex apps
329
+
330
+ Basically, your app's [bin](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#bin) file has a `main` (or default) function export that is passed the kernel reference and can use it to interact with the system as needed. A shebang line of `#!ecmaos:bin:app:myappname` is required at the top of the bin file to identify it as an app.
331
+
332
+ ## App/Kernel Interface Example
333
+
334
+ > See the [docs](https://docs.ecmaos.sh) for more information
335
+
336
+ ```ts
337
+ #!ecmaos:bin:app:example
338
+ // shebang format: ecmaos:exectype:execnamespace:execname
339
+ export default async function main(params: ProcessEntryParams) {
340
+ const { args, kernel, terminal } = params
341
+ kernel.log.info('Hello, world!')
342
+ kernel.log.debug(args)
343
+ terminal.writeln('Hello, world!')
344
+ await kernel.filesystem.fs.writeFile('/tmp/hello.txt', 'Hello, world!')
345
+ const win = kernel.windows.create({ title: 'Example', width: 800, height: 600 })
346
+ const container = document.createElement('div')
347
+ container.innerHTML = '<h1>Hello, world!</h1>'
348
+ win.mount(container)
349
+ }
350
+ ```
351
+
352
+ ## Early Days
353
+
354
+ ecmaOS is currently in active development. It is not considered stable and the structure and API are very likely to change in unexpected and possibly unannounced ways until version 1.0.0. Use cautiously and at your own risk.
355
+
356
+ Things to keep in mind:
357
+
358
+ - If things go wrong or break, clear your browser cache and site data for ecmaOS
359
+ - Things have changed a lot since the tests were written, so they need to be updated and fixed
360
+ - The kernel is designed to be run in an environment with a DOM (i.e. a browser)
361
+ - Many features are only available on Chromium-based browsers, and many more behind feature flags
362
+ - There will be a lot of technical challenges to overcome, and many things will first be implemented in a non-optimal way
363
+ - Command interfaces won't match what you might be used to from a traditional Linux environment; not all commands and options are supported. Over time, Linuxish commands will be fleshed out and made to behave in a more familiar way.
364
+ - Globbing doesn't work in the terminal yet, [but is supported at the filesystem level](https://zenfs.dev/core/functions/fs.promises.glob.html)
365
+
366
+ ## Development
367
+
368
+ [Turborepo](https://turbo.build/repo) is used to manage the monorepo, and [pnpm](https://pnpm.io) is used for package management.
369
+
370
+ PNPM Workspaces:
371
+
372
+ - [apps](/apps)
373
+ - [core](/core)
374
+ - [devices](/devices)
375
+ - [modules](/modules)
376
+ - [utils](/utils)
377
+
378
+ A good place to start is viewing the `scripts` property of [package.json](./package.json) in the root of the repository.
379
+
380
+ ```bash
381
+ # Clone
382
+ git clone https://github.com/ecmaos/ecmaos.git
383
+
384
+ # Install dependencies
385
+ cd ecmaos && pnpm install
386
+
387
+ # Run the dev server
388
+ pnpm run dev:kernel
389
+
390
+ # Run the docs server (optional)
391
+ pnpm run dev:docs
392
+
393
+ # Build
394
+ pnpm run build
395
+
396
+ # Run tests
397
+ pnpm run test
398
+ pnpm run test:watch
399
+ pnpm run test:coverage
400
+ pnpm run test:bench
401
+ pnpm run test:ui
402
+
403
+ # Generate modules
404
+ turbo gen app # generate a new app template
405
+ turbo gen device # generate a new device template
406
+ turbo gen module # generate a new module template
407
+ ```
408
+
409
+ Also see [turbo.json](./turbo.json) and [CONTRIBUTING.md](/CONTRIBUTING.md) for more information.
410
+
411
+ ## Security Vulnerabilities
412
+
413
+ See [SECURITY.md](/SECURITY.md) for more information.
414
+
415
+ If you find a serious security vulnerability, please submit a new [Draft Security Advisory](https://github.com/ecmaos/ecmaos/security) or contact the project maintainer directly at [code@mathis.network](mailto:code@mathis.network).
@@ -0,0 +1,30 @@
1
+ ---
2
+ title: Architecture
3
+ ---
4
+
5
+ ZenFS is modular, designed to provide a flexible abstraction over multiple storage backends. It allows applications to interact with files and directories without needing to be aware of the underlying storage mechanism. Separating the file system logic into distinct layers ensures maintainability and extensibility, without a major impact on performance.
6
+
7
+ ZenFS is built upon three main components:
8
+
9
+ ## 1. Virtual File System (VFS)
10
+
11
+ _Main article: [Virtual File System (VFS)](./vfs.md)_
12
+
13
+ The Virtual File System (VFS) is responsible for emulating the `node:fs` API, path resolution, and mounting different storage backends. It provides a unified interface that applications interact with, abstracting away differences between storage implementations. The VFS is responsible for:
14
+
15
+ - Path translation and resolution
16
+ - `node:fs` emulation
17
+ - Managing contexts and permissions
18
+ - Handling mounts for different backends
19
+
20
+ ## 2. Backends
21
+
22
+ _Main article: [Backends](./backends.md)_
23
+
24
+ Backends provide a modular way to configure and use various underlying storage implementations. They are the metaphorical glue between the VFS, configuration, and the internal API.
25
+
26
+ ## 3. Internal API
27
+
28
+ _Main article: [Internal API](./internal.md)_
29
+
30
+ The Internal API provides the core functionality of ZenFS. It serves as the foundation that both the VFS and backends rely on. The internal API is what backend implementations conform to, allowing the VFS to easily perform operations without knowledge of the underlying implementation.
@@ -0,0 +1,61 @@
1
+ ---
2
+ title: Backends
3
+ ---
4
+
5
+ ## Overview
6
+
7
+ Backends in ZenFS are configuration-driven objects that instantiate storage implementations conforming to the internal API. Rather than directly handling file operations, the VFS routes all interactions through a backend, which creates and configures a `FileSystem` instance.
8
+
9
+ ## Configuration
10
+
11
+ Backends in ZenFS are designed to be configuration-driven. Each backend provides:
12
+
13
+ A `name`, used to identify the backend type.
14
+
15
+ A set of configuration `options`, defined via `OptionsConfig<T>`.
16
+
17
+ A `create` method, which returns an instance of `FileSystem` or a promise resolving to an instance of `FileSystem`.
18
+
19
+ ## An example
20
+
21
+ An example implementation of a backend might look something like this:
22
+
23
+ ```ts
24
+ interface ExampleOptions {
25
+ raw: RawExampleData; // e.g. `Storage` for a backend that works with `localStorage`
26
+ }
27
+
28
+ const Example = {
29
+ name: 'ExampleStorage',
30
+ options: {
31
+ raw: { type: 'object', required: true },
32
+ },
33
+ async create({ raw }: ExampleOptions) {
34
+ await raw.doSomethingAsync();
35
+ return new ExampleFS(raw);
36
+ },
37
+ } as const satisfies Backend<ExampleFS, ExampleOptions>;
38
+ ```
39
+
40
+ **Why do backends use `as const`, `satisfies`, and other strange ways to export a simple object**
41
+
42
+ If you've taken a look at ZenFS' code, you may have noticed just how convoluted an actual backend definition is:
43
+
44
+ ```ts
45
+ const _InMemory = {
46
+ // ...
47
+ } as const satisfies Backend<StoreFS<InMemoryStore>, { name?: string }>;
48
+ type _InMemory = typeof _InMemory;
49
+ export interface InMemory extends _InMemory {}
50
+ export const InMemory: InMemory = _InMemory;
51
+ ```
52
+
53
+ There are quite a few things going on here, but they are all for a good reason:
54
+
55
+ 1. `as const` and `satisfies`: This is to make sure the backend has the strictest types Typescript will allow, which in turn allow for more detailed and precise information when you try to incorrectly configure a backend
56
+ 2. `type _...` and `interface`: The `type` alias is needed since [interfaces can't extend typeof types](https://github.com/Microsoft/TypeScript/issues/14757). Using an interface means when a backend is incorrectly `configure`d, you will see the interface name. If this isn't done, VS Code and Typescript will show the _entire_ expanded `as const` type definition in the error message.
57
+ 3. Exporting with a different name: This is done since a type can not be referenced in its own definition
58
+
59
+ ## Integration with VFS and Internal API
60
+
61
+ The VFS does not interact directly with storage media. Instead, it mounts a configured backend, which in turn instantiates a `FileSystem`. This design ensures modularity and simplifies adding new storage types.