@ecmaos/kernel 0.9.2 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +10 -19
- package/dist/{index-CyR7px7Y.js → index-B8XyCNX4.js} +2 -2
- package/dist/{index-CyR7px7Y.js.map → index-B8XyCNX4.js.map} +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/dmt-search.cmp +0 -0
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_auth.Auth.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_components.Component.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_components.Components.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_dom.Dom.html +5 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_events.Events.html +8 -8
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_fdtable.FDTable.html +14 -14
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_filesystem.Filesystem.html +12 -12
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_i18n.I18n.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_intervals.Intervals.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_kernel.Kernel.html +61 -61
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_lib_commands.TerminalCommand.html +4 -4
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_log.Log.html +3 -3
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_memory.Memory.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_processes.Process.html +33 -33
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_processes.ProcessManager.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_protocol.Protocol.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_service.Service.html +10 -10
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_shell.Shell.html +16 -16
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_sockets.Sockets.html +7 -7
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_storage.Storage.html +8 -8
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_telemetry.Telemetry.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_terminal.Spinner.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_terminal.Terminal.html +33 -32
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_users.Users.html +13 -13
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_wasm.Wasm.html +4 -4
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_windows.Windows.html +8 -8
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_workers.Workers.html +4 -4
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/enums/kernel_src_tree_terminal.CommandPath.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/enums/types_kernel.KernelEvents.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/enums/types_kernel.KernelState.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/enums/types_processes.ProcessEvents.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/enums/types_terminal.TerminalEvents.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.TerminalCommands.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.clear.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.df.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.download.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.load.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.passwd.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.ps.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.reboot.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.screensaver.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.snake.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.su.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.upload.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands_install.default.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands_uninstall.default.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_crontab.parseCrontabFile.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_crontab.parseCrontabLine.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_fstab.parseFstabFile.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_fstab.parseFstabLine.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_screensavers_blank.default.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_screensavers_blank.exit.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_screensavers_matrix.default.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_screensavers_matrix.exit.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/kernel_src_tree_lib_commands.CommandArgs.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/kernel_src_tree_lib_crontab.CrontabEntry.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_auth.Auth.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_components.Components.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_device.KernelDevice.html +4 -4
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_device.KernelDeviceCLIOptions.html +6 -6
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_device.KernelDeviceData.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_dom.Dom.html +10 -4
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_dom.DomOptions.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_events.Events.html +8 -8
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_filesystem.FileHeader.html +4 -4
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_filesystem.Filesystem.html +10 -10
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_filesystem.FilesystemDescriptions.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_filesystem.FstabEntry.html +5 -5
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_i18n.I18n.html +4 -4
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_i18n.I18nOptions.html +7 -7
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_intervals.ITimerHandle.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_intervals.Intervals.html +8 -8
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.BootOptions.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.Kernel.html +46 -46
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelExecuteEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelExecuteOptions.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelOptions.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelPanicEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelShutdownEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelUploadEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_keyboard.Keyboard.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_log.Log.html +10 -10
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_log.LogOptions.html +4 -4
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_memory.Memory.html +16 -16
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_modules.KernelModule.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.FDTable.html +13 -13
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.FileHandle.html +8 -8
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.Process.html +31 -31
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessEntryParams.html +16 -16
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessExitEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessManager.html +8 -8
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessOptions.html +18 -18
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessPauseEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessResumeEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessStartEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessStopEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_protocol.Protocol.html +3 -3
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_protocol.ProtocolOptions.html +3 -3
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_service.Service.html +9 -9
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_service.ServiceOptions.html +4 -4
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_shell.Shell.html +13 -13
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_shell.ShellOptions.html +7 -7
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_sockets.Sockets.html +7 -7
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_sockets.SocketsOptions.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_sockets.WebSocketConnection.html +8 -8
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_sockets.WebTransportConnection.html +8 -8
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_storage.StorageOptions.html +3 -3
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_storage.StorageProvider.html +7 -7
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_telemetry.Telemetry.html +3 -3
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_telemetry.TelemetryOptions.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.Terminal.html +30 -30
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalAttachEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalCommand.html +4 -4
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalCreatedEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalExecuteEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalInputEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalInterruptEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalKeyEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalListenEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalMessageEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalMountEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalOptions.html +6 -6
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalPasteEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalResizeEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalUnlistenEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalWriteEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalWritelnEvent.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.AddUserOptions.html +4 -4
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.Passkey.html +7 -7
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.User.html +9 -9
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.Users.html +14 -14
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.UsersOptions.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_wasm.Wasm.html +3 -3
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_wasm.WasmOptions.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_windows.WindowOptions.html +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_windows.Windows.html +7 -7
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_workers.Workers.html +3 -3
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/media/package.json +2 -2
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/kernel_src_tree_fdtable.ZenFSFileHandle.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_auth.PasswordCredentialInit.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_components.ComponentListener.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_events.EventCallback.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_filesystem.FilesystemConfigMounts.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_filesystem.FilesystemOptions.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_filesystem.Fstab.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_filesystem.Path.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_intervals.CronMap.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_intervals.IntervalMap.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Address.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Collection.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Config.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Heap.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Stack.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.StackFrame.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_modules.KernelModules.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_processes.ProcessStatus.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_processes.ProcessesMap.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_sockets.SocketConnection.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_sockets.WebSocketState.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_sockets.WebTransportState.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_users.GID.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_users.UID.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/types/types_windows.WindowId.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_device.DefaultDevices.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_dom.DefaultDomOptions.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_filesystem.DefaultFilesystemOptions.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_i18n.DefaultI18nOptions.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_log.DefaultLogOptions.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_service.DefaultServiceOptions.html +1 -1
- package/dist/initfs/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_terminal.DefaultTerminalOptions.html +1 -1
- package/dist/initfs.demo/root/.env +5 -0
- package/dist/initfs.demo/root/archive.zip +0 -0
- package/dist/initfs.demo/root/audio.mp3 +0 -0
- package/dist/initfs.demo/root/document.pdf +0 -0
- package/dist/initfs.demo/root/photo.jpg +0 -0
- package/dist/initfs.demo/root/sample.txt +15 -0
- package/dist/initfs.demo/root/video.mp4 +0 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/.nojekyll +1 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/CNAME +1 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/custom.css +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/dmt-component-data.js +1 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/dmt-components.css +20 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/dmt-components.js +67 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/dmt-search.cmp +0 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/dmt-theme.css +1 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/icons/service/github.png +0 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/dmt/icons/service/npm.png +0 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/hierarchy.js +1 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/highlight.css +92 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/icons.js +18 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/icons.svg +1 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/main.js +60 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/assets/style.css +1610 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_auth.Auth.html +15 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_components.Component.html +21 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_components.Components.html +22 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_dom.Dom.html +9 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_events.Events.html +39 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_fdtable.FDTable.html +39 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_filesystem.Filesystem.html +40 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_i18n.I18n.html +6 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_intervals.Intervals.html +10 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_kernel.Kernel.html +188 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_lib_commands.TerminalCommand.html +33 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_log.Log.html +25 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_memory.Memory.html +18 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_processes.Process.html +80 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_processes.ProcessManager.html +10 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_protocol.Protocol.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_service.Service.html +34 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_shell.Shell.html +50 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_sockets.Sockets.html +24 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_storage.Storage.html +25 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_telemetry.Telemetry.html +6 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_terminal.Spinner.html +12 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_terminal.Terminal.html +109 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_users.Users.html +27 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_wasm.Wasm.html +18 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_windows.Windows.html +30 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/classes/kernel_src_tree_workers.Workers.html +19 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/enums/kernel_src_tree_terminal.CommandPath.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/enums/types_kernel.KernelEvents.html +9 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/enums/types_kernel.KernelState.html +7 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/enums/types_processes.ProcessEvents.html +8 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/enums/types_terminal.TerminalEvents.html +17 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/favicon.ico +0 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.TerminalCommands.html +4 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.chown.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.clear.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.df.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.download.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.env.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.fetch.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.load.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.mount.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.observe.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.open.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.passwd.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.play.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.ps.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.reboot.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.screensaver.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.snake.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.su.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.umount.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.unzip.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.upload.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.video.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands.zip.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands_install.default.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_commands_uninstall.default.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_crontab.parseCrontabFile.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_crontab.parseCrontabLine.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_fstab.parseFstabFile.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_fstab.parseFstabLine.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_screensavers_blank.default.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_screensavers_blank.exit.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_screensavers_matrix.default.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/functions/kernel_src_tree_lib_screensavers_matrix.exit.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/index.html +347 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/kernel_src_tree_lib_commands.CommandArgs.html +11 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/kernel_src_tree_lib_crontab.CrontabEntry.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_auth.Auth.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_components.Components.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_device.KernelDevice.html +21 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_device.KernelDeviceCLIOptions.html +13 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_device.KernelDeviceData.html +4 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_dom.Dom.html +16 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_dom.DomOptions.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_events.Events.html +29 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_filesystem.FileHeader.html +9 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_filesystem.Filesystem.html +26 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_filesystem.FilesystemDescriptions.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_filesystem.FstabEntry.html +13 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_i18n.I18n.html +9 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_i18n.I18nOptions.html +25 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_intervals.ITimerHandle.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_intervals.Intervals.html +28 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.BootOptions.html +7 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.Kernel.html +95 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelExecuteEvent.html +6 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelExecuteOptions.html +14 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelOptions.html +13 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelPanicEvent.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelShutdownEvent.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_kernel.KernelUploadEvent.html +4 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_keyboard.Keyboard.html +15 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_log.Log.html +32 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_log.LogOptions.html +9 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_memory.Memory.html +46 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_modules.KernelModule.html +10 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.FDTable.html +28 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.FileHandle.html +18 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.Process.html +68 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessEntryParams.html +33 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessExitEvent.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessManager.html +23 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessOptions.html +37 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessPauseEvent.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessResumeEvent.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessStartEvent.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_processes.ProcessStopEvent.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_protocol.Protocol.html +8 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_protocol.ProtocolOptions.html +7 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_service.Service.html +23 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_service.ServiceOptions.html +9 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_shell.Shell.html +32 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_shell.ShellOptions.html +15 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_sockets.Sockets.html +25 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_sockets.SocketsOptions.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_sockets.WebSocketConnection.html +17 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_sockets.WebTransportConnection.html +17 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_storage.StorageOptions.html +9 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_storage.StorageProvider.html +15 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_telemetry.Telemetry.html +7 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_telemetry.TelemetryOptions.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.Terminal.html +86 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalAttachEvent.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalCommand.html +16 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalCreatedEvent.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalExecuteEvent.html +4 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalInputEvent.html +4 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalInterruptEvent.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalKeyEvent.html +4 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalListenEvent.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalMessageEvent.html +4 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalMountEvent.html +4 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalOptions.html +23 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalPasteEvent.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalResizeEvent.html +4 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalUnlistenEvent.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalWriteEvent.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_terminal.TerminalWritelnEvent.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.AddUserOptions.html +9 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.Passkey.html +15 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.User.html +21 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.Users.html +48 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_users.UsersOptions.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_wasm.Wasm.html +9 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_wasm.WasmOptions.html +5 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_windows.WindowOptions.html +15 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_windows.Windows.html +20 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/interfaces/types_workers.Workers.html +9 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/media/package.json +75 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/media/turbo.json +40 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_auth.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_components.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_device.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_dom.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_events.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_fdtable.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_filesystem.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_i18n.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_intervals.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_kernel.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_lib_commands.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_lib_commands_install.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_lib_commands_uninstall.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_lib_crontab.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_lib_fstab.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_lib_screensavers_blank.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_lib_screensavers_matrix.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_log.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_memory.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_processes.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_protocol.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_service.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_shell.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_sockets.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_storage.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_telemetry.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_terminal.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_users.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_wasm.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_windows.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/kernel_src_tree_workers.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_auth.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_components.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_device.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_dom.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_events.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_filesystem.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_i18n.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_intervals.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_kernel.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_keyboard.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_log.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_memory.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_modules.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_processes.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_protocol.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_service.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_shell.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_sockets.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_storage.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_telemetry.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_terminal.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_users.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_wasm.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_windows.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules/types_workers.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/modules.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/tutorials/ai.md +114 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/tutorials/passkey.md +147 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/kernel_src_tree_fdtable.ZenFSFileHandle.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_auth.PasswordCredentialInit.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_components.ComponentListener.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_events.EventCallback.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_filesystem.FilesystemConfigMounts.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_filesystem.FilesystemOptions.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_filesystem.Fstab.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_filesystem.Path.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_intervals.CronMap.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_intervals.IntervalMap.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Address.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Collection.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Config.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Heap.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.Stack.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_memory.StackFrame.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_modules.KernelModules.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_processes.ProcessStatus.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_processes.ProcessesMap.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_sockets.SocketConnection.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_sockets.WebSocketState.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_sockets.WebTransportState.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_users.GID.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_users.UID.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/types/types_windows.WindowId.html +3 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_device.DefaultDevices.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_dom.DefaultDomOptions.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_filesystem.DefaultFilesystemOptions.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_i18n.DefaultI18nOptions.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_log.DefaultLogOptions.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_service.DefaultServiceOptions.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/docs/variables/kernel_src_tree_terminal.DefaultTerminalOptions.html +2 -0
- package/dist/initfs.demo/usr/share/docs/@ecmaos/kernel/index.md +508 -0
- package/dist/initfs.demo/usr/share/docs/@zenfs/core/architecture.md +30 -0
- package/dist/initfs.demo/usr/share/docs/@zenfs/core/backends.md +61 -0
- package/dist/initfs.demo/usr/share/docs/@zenfs/core/configuration.md +54 -0
- package/dist/initfs.demo/usr/share/docs/@zenfs/core/devices.md +58 -0
- package/dist/initfs.demo/usr/share/docs/@zenfs/core/index.md +192 -0
- package/dist/initfs.demo/usr/share/docs/@zenfs/core/internal.md +31 -0
- package/dist/initfs.demo/usr/share/docs/@zenfs/core/security.md +64 -0
- package/dist/initfs.demo/usr/share/docs/@zenfs/core/vfs.md +35 -0
- package/dist/initfs.demo/usr/share/licenses/@ecmaos/kernel/LICENSE +7 -0
- package/dist/initfs.demo/usr/share/licenses/@ecmaos/kernel/LICENSE-APACHE +176 -0
- package/dist/initfs.demo/usr/share/licenses/@ecmaos/kernel/LICENSE-MIT +21 -0
- package/dist/initfs.demo/usr/share/licenses/@zenfs/core/COPYRIGHT.txt +3 -0
- package/dist/initfs.demo/usr/share/licenses/@zenfs/core/LICENSE.md +157 -0
- package/dist/initfs.demo.tar.gz +0 -0
- package/dist/initfs.tar.gz +0 -0
- package/dist/{install-D0LkoGOT.js → install-PevWJTeY.js} +2 -2
- package/dist/{install-D0LkoGOT.js.map → install-PevWJTeY.js.map} +1 -1
- package/dist/{kernel-C6epJL8R.js → kernel-2kw8MkKw.js} +12806 -9183
- package/dist/{kernel-C6epJL8R.js.map → kernel-2kw8MkKw.js.map} +1 -1
- package/dist/kernel.css +71 -4
- package/dist/kernel.js +1 -1
- package/dist/ui.js +1 -1
- package/dist/{uninstall-B0_dI4uT.js → uninstall-D1P1S1Ux.js} +2 -2
- package/dist/{uninstall-B0_dI4uT.js.map → uninstall-D1P1S1Ux.js.map} +1 -1
- package/package.json +14 -12
- package/dist/topbar.min-vu2vh4R-.js +0 -50
- package/dist/topbar.min-vu2vh4R-.js.map +0 -1
|
@@ -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>exit | 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_lib_screensavers_matrix.html">kernel/src/tree/lib/screensavers/matrix</a></li><li><a href="kernel_src_tree_lib_screensavers_matrix.exit.html">exit</a></li></ul><div class="dmt-title-header-flex"><h1>Function exit</h1></div></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="exit" class="tsd-anchor"></a><span class="tsd-kind-call-signature">exit</span><span class="tsd-signature-symbol">(</span><br> <span class="tsd-kind-parameter">interval</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Timeout</span><span class="tsd-signature-symbol">,</span><br> <span class="tsd-kind-parameter">canvas</span><span class="tsd-signature-symbol">:</span> <a href="https://typhonjs-typedoc.github.io/ts-lib-docs/2024/dom/interfaces/HTMLCanvasElement-1.html" class="tsd-signature-type external" target="_blank">HTMLCanvasElement</a><span class="tsd-signature-symbol">,</span><br> <span class="tsd-kind-parameter">terminal</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Terminal</span><span class="tsd-signature-symbol">,</span><br><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="https://typhonjs-typedoc.github.io/ts-lib-docs/2024/es/interfaces/Promise-1.html" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#exit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">interval</span>: <span class="tsd-signature-type">Timeout</span></span></li><li><span><span class="tsd-kind-parameter">canvas</span>: <a href="https://typhonjs-typedoc.github.io/ts-lib-docs/2024/dom/interfaces/HTMLCanvasElement-1.html" class="tsd-signature-type external" target="_blank">HTMLCanvasElement</a></span></li><li><span><span class="tsd-kind-parameter">terminal</span>: <span class="tsd-signature-type">Terminal</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="https://typhonjs-typedoc.github.io/ts-lib-docs/2024/es/interfaces/Promise-1.html" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/ecmaos/ecmaos/blob/1c0b126756d00361abe4364eb322939a8d79c2fe/core/kernel/src/tree/lib/screensavers/matrix.ts#L48">core/kernel/src/tree/lib/screensavers/matrix.ts:48</a></li></ul></aside></li></ul></section></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,347 @@
|
|
|
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>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"><div class="dmt-title-header-flex"><h1>ecmaOS</h1></div></div><div class="tsd-panel tsd-typography"><a id="the-web-kernel" class="tsd-anchor"></a><h1 class="tsd-anchor-link">The Web Kernel<a href="#the-web-kernel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1><p><a href="https://ecmaos.sh" target="_blank" class="external"><img src="https://img.shields.io/badge/launch-ecmaos.sh-blue?style=for-the-badge" alt="Launch ecmaOS.sh"></a></p>
|
|
3
|
+
<blockquote>
|
|
4
|
+
<p>Made with ❤️ by <a href="https://jaymath.is" target="_blank" class="external">Jay Mathis</a></p>
|
|
5
|
+
<p><a href="https://github.com/mathiscode" target="_blank" class="external"><img src="https://img.shields.io/github/stars/mathiscode?style=flat&logo=github&label=%E2%AD%90%EF%B8%8F" alt="Stars"></a> <a href="https://github.com/mathiscode" target="_blank" class="external"><img src="https://img.shields.io/github/followers/mathiscode?style=flat&logo=github&label=follow" alt="Followers"></a></p>
|
|
6
|
+
</blockquote>
|
|
7
|
+
<p><a href="https://ecmaos.sh" target="_blank" class="external">ecmaOS</a> is a browser-based operating system kernel and suite of applications written primarily in TypeScript, AssemblyScript, and C++. It's the successor of <a href="https://github.com/web3os-org/kernel" target="_blank" class="external">web3os</a>.</p>
|
|
8
|
+
<p>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.</p>
|
|
9
|
+
<p>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.</p>
|
|
10
|
+
<hr>
|
|
11
|
+
<blockquote>
|
|
12
|
+
<p><em>"The computer can be used as a tool to liberate and protect people, rather than to control them."</em>
|
|
13
|
+
— Hal Finney</p>
|
|
14
|
+
</blockquote>
|
|
15
|
+
<p><a href="https://www.npmjs.com/package/@ecmaos/kernel" target="_blank" class="external"><img src="https://img.shields.io/github/package-json/v/ecmaos/ecmaos?color=success" alt="Version"></a>
|
|
16
|
+
<a href="https://ecmaos.sh" target="_blank" class="external"><img src="https://img.shields.io/website?url=https%3A%2F%2Fecmaos.sh" alt="Site Status"></a>
|
|
17
|
+
<a href="https://github.com/ecmaos/ecmaos/pulse" target="_blank" class="external"><img src="https://img.shields.io/github/created-at/ecmaos/ecmaos?style=flat&label=created&color=success" alt="Created"></a>
|
|
18
|
+
<a href="https://github.com/ecmaos/ecmaos/commit/main" target="_blank" class="external"><img src="https://img.shields.io/github/last-commit/ecmaos/ecmaos.svg" alt="Last Commit"></a>
|
|
19
|
+
<a href="https://docs.ecmaos.sh" target="_blank" class="external"><img src="https://img.shields.io/badge/API-Reference-success" alt="API Reference"></a>
|
|
20
|
+
<a href="https://github.com/ecmaos/ecmaos/blob/main/LICENSE" target="_blank" class="external"><img src="https://img.shields.io/badge/license-MIT+Apache2.0-success" alt="GitHub license"></a></p>
|
|
21
|
+
<p><a href="https://github.com/ecmaos/ecmaos/issues" target="_blank" class="external"><img src="https://img.shields.io/github/issues/ecmaos/ecmaos.svg?logo=github" alt="Open issues"></a>
|
|
22
|
+
<a href="https://github.com/ecmaos/ecmaos/issues?q=is%3Aissue+is%3Aclosed" target="_blank" class="external"><img src="https://img.shields.io/github/issues-closed/ecmaos/ecmaos.svg?logo=github" alt="Closed issues"></a>
|
|
23
|
+
<a href="https://github.com/ecmaos/ecmaos/pulls" target="_blank" class="external"><img src="https://img.shields.io/github/issues-pr-raw/ecmaos/ecmaos.svg?logo=github&label=PRs" alt="Open PRs"></a>
|
|
24
|
+
<a href="https://github.com/ecmaos/ecmaos/pulls?q=is%3Apr+is%3Aclosed" target="_blank" class="external"><img src="https://img.shields.io/github/issues-pr-closed/ecmaos/ecmaos.svg?logo=github&label=PRs" alt="Closed PRs"></a></p>
|
|
25
|
+
<p><a href="https://github.com/ecmaos/ecmaos/stargazers" target="_blank" class="external"><img src="https://img.shields.io/github/stars/ecmaos/ecmaos?style=flat&logo=github&label=%E2%AD%90%EF%B8%8F%20stars" alt="Star on GitHub"></a>
|
|
26
|
+
<a href="https://github.com/ecmaos/ecmaos/forks" target="_blank" class="external"><img src="https://img.shields.io/github/forks/ecmaos/ecmaos?style=flat&logo=github&label=%F0%9F%94%80%20forks" alt="GitHub forks"></a>
|
|
27
|
+
<a href="https://github.com/ecmaos/ecmaos/watchers" target="_blank" class="external"><img src="https://img.shields.io/github/watchers/ecmaos/ecmaos?style=flat&logo=github&label=%F0%9F%91%80%20watchers" alt="GitHub watchers"></a>
|
|
28
|
+
<a href="https://github.com/sponsors/mathiscode" target="_blank" class="external"><img src="https://img.shields.io/github/sponsors/mathiscode?color=red&logo=github&label=%F0%9F%92%96%20sponsors" alt="Sponsors"></a>
|
|
29
|
+
<a href="https://github.com/ecmaos/ecmaos/graphs/contributors" target="_blank" class="external"><img src="https://img.shields.io/github/contributors/ecmaos/ecmaos?color=yellow&logo=github&label=%F0%9F%91%A5%20contributors" alt="Contributors"></a></p>
|
|
30
|
+
<p><a href="https://discord.gg/ZJYGkbVsCh" target="_blank" class="external"><img src="https://img.shields.io/discord/1311804229127508081?label=discord&logo=discord&logoColor=white" alt="Discord"></a>
|
|
31
|
+
<a href="https://matrix.to/#/#ecmaos:matrix.org" target="_blank" class="external"><img src="https://img.shields.io/matrix/ecmaos:matrix.org.svg?label=%23ecmaos%3Amatrix.org&logo=matrix&logoColor=white" alt="Matrix"></a>
|
|
32
|
+
<a href="https://ecmaos.bsky.social" target="_blank" class="external"><img src="https://img.shields.io/badge/follow-on%20Bluesky-blue?logo=bluesky&logoColor=white" alt="Bluesky"></a>
|
|
33
|
+
<a href="https://www.reddit.com/r/ecmaos" target="_blank" class="external"><img src="https://img.shields.io/reddit/subreddit-subscribers/ecmaos?style=flat&logo=reddit&logoColor=white&label=r/ecmaos" alt="Reddit"></a></p>
|
|
34
|
+
<a id="features" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Features<a href="#features" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><ul>
|
|
35
|
+
<li>TypeScript, WebAssembly, AssemblyScript, C++</li>
|
|
36
|
+
<li>Filesystem supporting multiple backends powered by <a href="https://github.com/zen-fs/core" target="_blank" class="external">zenfs</a></li>
|
|
37
|
+
<li>Terminal interface powered by <a href="https://xtermjs.org" target="_blank" class="external">xterm.js</a></li>
|
|
38
|
+
<li>Pseudo-streams, allowing redirection and piping</li>
|
|
39
|
+
<li>Device framework with a common interface for working with hardware: WebBluetooth, WebSerial, WebHID, WebUSB, etc.</li>
|
|
40
|
+
<li>Some devices have a builtin CLI, so you can run them like normal commands: <code># /dev/bluetooth</code></li>
|
|
41
|
+
<li>Install any client-side npm package (this doesn't mean it will work out of the box as expected)</li>
|
|
42
|
+
<li>Event manager for dispatching and subscribing to events</li>
|
|
43
|
+
<li>Process manager for running applications and daemons</li>
|
|
44
|
+
<li>Interval manager for scheduling recurring operations with support for cron expressions via the <code>cron</code> command</li>
|
|
45
|
+
<li>Memory manager for managing pseudo-memory: Collections, Config, Heap, and Stack</li>
|
|
46
|
+
<li>Storage manager for managing Storage API capabilities: IndexedDB, localStorage, etc.</li>
|
|
47
|
+
<li>Internationalization framework for translating text powered by <a href="https://www.i18next.com" target="_blank" class="external">i18next</a></li>
|
|
48
|
+
<li>Window manager powered by <a href="https://github.com/nextapps-de/winbox" target="_blank" class="external">WinBox</a></li>
|
|
49
|
+
</ul>
|
|
50
|
+
<!-- - `BIOS`: A C++ module compiled to WebAssembly with [Emscripten](https://emscripten.org) providing performance-critical functionality -->
|
|
51
|
+
<!-- - `Jaffa`: A [Tauri](https://tauri.app) app for running ecmaOS in a desktop or mobile environment -->
|
|
52
|
+
<ul>
|
|
53
|
+
<li><code>Metal</code>: An API server for allowing connections to physical systems from ecmaOS using <a href="https://hono.dev" target="_blank" class="external">Hono</a></li>
|
|
54
|
+
<li><code>SWAPI</code>: An API server running completely inside a service worker using <a href="https://hono.dev" target="_blank" class="external">Hono</a></li>
|
|
55
|
+
</ul>
|
|
56
|
+
<a id="basic-concepts" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Basic Concepts<a href="#basic-concepts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><a id="apps" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Apps<a href="#apps" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><blockquote>
|
|
57
|
+
<p><a href="/apps">/apps</a></p>
|
|
58
|
+
</blockquote>
|
|
59
|
+
<ul>
|
|
60
|
+
<li>These are full applications that are developed specifically to work with ecmaOS</li>
|
|
61
|
+
<li>Refer to the full list of <a href="https://www.npmjs.com/org/ecmaos-apps" target="_blank" class="external">official published apps on npm</a></li>
|
|
62
|
+
<li>See the <a href="/APPS.md">APPS.md</a> file for a list of community apps; submit a PR to add your app!</li>
|
|
63
|
+
<li>An app is an npm package, in which the bin file has a shebang line of <code>#!ecmaos:bin:app:myappname</code></li>
|
|
64
|
+
<li>Its default export (or exported <code>main</code> function) will be called with the <code>ProcessEntryParams</code> object</li>
|
|
65
|
+
<li>They can be installed from the terminal using the <code>install</code> command, e.g. <code># install @ecmaos-apps/code</code></li>
|
|
66
|
+
<li>Run the installed app (bins are linked to <code>/usr/bin</code>): <code># code /root/hello.js</code></li>
|
|
67
|
+
<li>During development, it can be useful to run a <a href="https://github.com/verdaccio/verdaccio" target="_blank" class="external">Verdaccio</a> server to test local packages</li>
|
|
68
|
+
<li>To publish to Verdaccio, run <code># npm publish --registry http://localhost:4873</code> in your app's development environment</li>
|
|
69
|
+
<li>Then to install from your local registry, run (inside ecmaOS) <code># install @myscope/mypackage --registry http://localhost:4873</code></li>
|
|
70
|
+
</ul>
|
|
71
|
+
<!-- Will revamp once more work is done on this -->
|
|
72
|
+
<!-- ### BIOS
|
|
73
|
+
|
|
74
|
+
> [/core/bios](/core/bios)
|
|
75
|
+
|
|
76
|
+
- The BIOS is a C++ module compiled to WebAssembly with [Emscripten](https://emscripten.org) providing performance-critical functionality
|
|
77
|
+
- 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
|
|
78
|
+
- 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
|
|
79
|
+
- Confusingly, the Kernel loads the BIOS — not the other way around -->
|
|
80
|
+
<a id="commands" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Commands<a href="#commands" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><blockquote>
|
|
81
|
+
<p><a href="/core/kernel/src/tree/lib/commands">/core/kernel/src/tree/lib/commands</a></p>
|
|
82
|
+
</blockquote>
|
|
83
|
+
<ul>
|
|
84
|
+
<li><code>Commands</code> are built-in shell commands that are provided by the kernel, e.g. <code>download</code>, <code>install</code>, <code>load</code>, etc.</li>
|
|
85
|
+
</ul>
|
|
86
|
+
<a id="coreutils" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Coreutils<a href="#coreutils" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><blockquote>
|
|
87
|
+
<p><a href="/core/utils">/core/utils</a></p>
|
|
88
|
+
</blockquote>
|
|
89
|
+
<ul>
|
|
90
|
+
<li><code>Coreutils</code> are similar to <code>Commands</code>, but are provided by the <code>@ecmaos/coreutils</code> package, e.g. <code>cat</code>, <code>cd</code>, <code>chmod</code>, <code>cp</code>, <code>echo</code>, <code>ls</code>, <code>mkdir</code>, <code>mv</code>, <code>pwd</code>, <code>rm</code>, <code>rmdir</code>, <code>stat</code>, <code>touch</code>, etc.</li>
|
|
91
|
+
</ul>
|
|
92
|
+
<a id="devices" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Devices<a href="#devices" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><blockquote>
|
|
93
|
+
<p><a href="/devices">/devices</a></p>
|
|
94
|
+
</blockquote>
|
|
95
|
+
<ul>
|
|
96
|
+
<li>Refer to the full list of <a href="https://www.npmjs.com/org/ecmaos-devices" target="_blank" class="external">official devices on npm</a></li>
|
|
97
|
+
<li>See the <a href="/DEVICES.md">DEVICES.md</a> file for a list of community devices; submit a PR to add your device!</li>
|
|
98
|
+
<li>Devices get loaded on boot, e.g. <code>/dev/bluetooth</code>, <code>/dev/random</code>, <code>/dev/battery</code>, etc.</li>
|
|
99
|
+
<li>A device can support being "run" by a user, e.g. <code># /dev/battery status</code></li>
|
|
100
|
+
<li>Devices may also be directly read/written using <code>fs</code> methods, and will behave accordingly (or have no effect if not supported)</li>
|
|
101
|
+
<li>An individual device module can provide multiple device drivers, e.g. <code>/dev/usb</code> provides <code>/dev/usb-mydevice-0001-0002</code></li>
|
|
102
|
+
</ul>
|
|
103
|
+
<a id="filesystems" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Filesystems<a href="#filesystems" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><blockquote>
|
|
104
|
+
<p><a href="/core/utils/src/commands/mount.ts">/core/utils/src/commands/mount.ts</a></p>
|
|
105
|
+
</blockquote>
|
|
106
|
+
<p>ecmaOS supports multiple filesystem backends powered by <a href="https://zenfs.dev" target="_blank" class="external">zenfs</a>, allowing you to mount various storage types into the virtual filesystem.</p>
|
|
107
|
+
<a id="supported-filesystem-types" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Supported Filesystem Types<a href="#supported-filesystem-types" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
|
|
108
|
+
<li><strong>memory</strong>: In-memory filesystem (temporary, lost on page reload)</li>
|
|
109
|
+
<li><strong>indexeddb</strong>: IndexedDB-backed persistent filesystem</li>
|
|
110
|
+
<li><strong>webstorage</strong>: WebStorage-backed filesystem (localStorage or sessionStorage)</li>
|
|
111
|
+
<li><strong>webaccess</strong>: File System Access API filesystem (requires user interaction)</li>
|
|
112
|
+
<li><strong>singlebuffer</strong>: Filesystem backed by a single buffer</li>
|
|
113
|
+
<li><strong>fetch</strong>: Remote filesystem via HTTP fetch</li>
|
|
114
|
+
<li><strong>xml</strong>: DOM XML filesystem (WIP)</li>
|
|
115
|
+
<li><strong>zip</strong>: Read-only filesystem from a zip archive (file or URL)</li>
|
|
116
|
+
<li><strong>iso</strong>: Read-only filesystem from an ISO image (file or URL)</li>
|
|
117
|
+
<li><strong>dropbox</strong>: Dropbox filesystem (WIP)</li>
|
|
118
|
+
<li><strong>s3</strong>: S3 filesystem (WIP)</li>
|
|
119
|
+
<li><strong>googledrive</strong>: Google Drive filesystem (WIP)</li>
|
|
120
|
+
</ul>
|
|
121
|
+
<a id="basic-usage" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Basic Usage<a href="#basic-usage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="sh"><span class="hl-0"># Mount a memory filesystem</span><br><span class="hl-1">mount</span><span class="hl-2"> </span><span class="hl-3">-t</span><span class="hl-2"> </span><span class="hl-4">memory</span><span class="hl-2"> </span><span class="hl-4">/mnt/tmp</span><br><br><span class="hl-0"># Mount an IndexedDB store</span><br><span class="hl-1">mount</span><span class="hl-2"> </span><span class="hl-3">-t</span><span class="hl-2"> </span><span class="hl-4">indexeddb</span><span class="hl-2"> </span><span class="hl-4">mydb</span><span class="hl-2"> </span><span class="hl-4">/mnt/db</span><br><br><span class="hl-0"># Mount WebStorage (localStorage by default)</span><br><span class="hl-1">mount</span><span class="hl-2"> </span><span class="hl-3">-t</span><span class="hl-2"> </span><span class="hl-4">webstorage</span><span class="hl-2"> </span><span class="hl-4">/mnt/storage</span><br><br><span class="hl-0"># Mount WebStorage using sessionStorage</span><br><span class="hl-1">mount</span><span class="hl-2"> </span><span class="hl-3">-t</span><span class="hl-2"> </span><span class="hl-4">webstorage</span><span class="hl-2"> </span><span class="hl-4">/mnt/storage</span><span class="hl-2"> </span><span class="hl-3">-o</span><span class="hl-2"> </span><span class="hl-4">storage=sessionStorage</span><br><br><span class="hl-0"># Mount a zip archive</span><br><span class="hl-1">mount</span><span class="hl-2"> </span><span class="hl-3">-t</span><span class="hl-2"> </span><span class="hl-4">zip</span><span class="hl-2"> </span><span class="hl-4">/tmp/archive.zip</span><span class="hl-2"> </span><span class="hl-4">/mnt/zip</span><br><br><span class="hl-0"># Mount from a remote URL</span><br><span class="hl-1">mount</span><span class="hl-2"> </span><span class="hl-3">-t</span><span class="hl-2"> </span><span class="hl-4">zip</span><span class="hl-2"> </span><span class="hl-4">https://example.com/archive.zip</span><span class="hl-2"> </span><span class="hl-4">/mnt/zip</span><br><br><span class="hl-0"># Mount a fetch filesystem (see utils/fetch-fs-server.js)</span><br><span class="hl-1">mount</span><span class="hl-2"> </span><span class="hl-3">-t</span><span class="hl-2"> </span><span class="hl-4">fetch</span><span class="hl-2"> </span><span class="hl-4">index.json</span><span class="hl-2"> </span><span class="hl-4">/mnt/api</span><span class="hl-2"> </span><span class="hl-3">-o</span><span class="hl-2"> </span><span class="hl-4">baseUrl=http://localhost:30808</span><br><br><span class="hl-0"># List all mounted filesystems</span><br><span class="hl-1">mount</span><span class="hl-2"> </span><span class="hl-3">-l</span><br><br><span class="hl-0"># Unmount a filesystem</span><br><span class="hl-1">umount</span><span class="hl-2"> </span><span class="hl-4">/mnt/tmp</span>
|
|
122
|
+
</code><button type="button">Copy</button></pre>
|
|
123
|
+
|
|
124
|
+
<a id="etcfstab" class="tsd-anchor"></a><h4 class="tsd-anchor-link">/etc/fstab<a href="#etcfstab" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h4><p>The kernel automatically processes <code>/etc/fstab</code> during boot to mount filesystems. The fstab format is space or tab-separated:</p>
|
|
125
|
+
<pre><code class="plaintext">source target type [options]
|
|
126
|
+
</code><button type="button">Copy</button></pre>
|
|
127
|
+
|
|
128
|
+
<p><strong>Format:</strong></p>
|
|
129
|
+
<ul>
|
|
130
|
+
<li><code>source</code>: Device/URL/database name (use <code>none</code> for filesystems that don't require a source)</li>
|
|
131
|
+
<li><code>target</code>: Mount point (absolute path)</li>
|
|
132
|
+
<li><code>type</code>: Filesystem type</li>
|
|
133
|
+
<li><code>options</code>: Optional comma-separated key=value pairs</li>
|
|
134
|
+
</ul>
|
|
135
|
+
<p><strong>Example /etc/fstab:</strong></p>
|
|
136
|
+
<pre><code class="plaintext"># ecmaOS fstab - Filesystem mount table
|
|
137
|
+
# Format: source target type [options]
|
|
138
|
+
|
|
139
|
+
# Memory filesystem for temporary data
|
|
140
|
+
none /mnt/tmp memory
|
|
141
|
+
|
|
142
|
+
# IndexedDB filesystem for persistent storage
|
|
143
|
+
mydb /mnt/db indexeddb
|
|
144
|
+
|
|
145
|
+
# WebStorage filesystem using localStorage
|
|
146
|
+
none /mnt/storage webstorage storage=localStorage
|
|
147
|
+
|
|
148
|
+
# Fetch filesystem from a remote API
|
|
149
|
+
index.json /mnt/api fetch baseUrl=http://localhost:30808
|
|
150
|
+
</code><button type="button">Copy</button></pre>
|
|
151
|
+
|
|
152
|
+
<a id="generators" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Generators<a href="#generators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><blockquote>
|
|
153
|
+
<p><a href="/turbo/generators">/turbo/generators</a></p>
|
|
154
|
+
</blockquote>
|
|
155
|
+
<ul>
|
|
156
|
+
<li>Generators are used to scaffold new apps, devices, modules, etc.</li>
|
|
157
|
+
<li>They are located in the <code>turbo/generators</code> directory of the repository</li>
|
|
158
|
+
<li>They are used by the <code>turbo gen</code> command, e.g. <code>turbo gen app</code>, <code>turbo gen device</code>, <code>turbo gen module</code>, etc.</li>
|
|
159
|
+
</ul>
|
|
160
|
+
<!-- Will revamp once more work is done on this -->
|
|
161
|
+
<!-- ### Jaffa
|
|
162
|
+
|
|
163
|
+
> [/core/jaffa](/core/jaffa)
|
|
164
|
+
|
|
165
|
+
- Jaffa is a [Tauri](https://tauri.app) wrapper for the ecmaOS kernel
|
|
166
|
+
- It's used to tie the kernel into a desktop or mobile environment, allowing for native functionality
|
|
167
|
+
- It needs more work -->
|
|
168
|
+
<a id="kernel" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Kernel<a href="#kernel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><blockquote>
|
|
169
|
+
<p><a href="/core/kernel">/core/kernel</a></p>
|
|
170
|
+
</blockquote>
|
|
171
|
+
<ul>
|
|
172
|
+
<li>The kernel ties together the various components of the system into a cohesive whole
|
|
173
|
+
<ul>
|
|
174
|
+
<li>Authentication (Passwords, Passkeys, Credentials)</li>
|
|
175
|
+
<li>Components (Web Components/Custom Elements)</li>
|
|
176
|
+
<li>Coreutils (Built-in commands)</li>
|
|
177
|
+
<li>Devices (Web Hardware APIs)</li>
|
|
178
|
+
<li>DOM (DOM Utilities and Interfaces)</li>
|
|
179
|
+
<li>Events (CustomEvents)</li>
|
|
180
|
+
<li>Filesystem (ZenFS)</li>
|
|
181
|
+
<li>Internationalization (i18next)</li>
|
|
182
|
+
<li>Interval Manager (setInterval and cron scheduling)</li>
|
|
183
|
+
<li>Log Manager (tslog)</li>
|
|
184
|
+
<li>Memory Manager (Abstractions)</li>
|
|
185
|
+
<li>Process Manager</li>
|
|
186
|
+
<li>Protocol Handlers (web+ecmaos://...)</li>
|
|
187
|
+
<li>Service Worker Manager</li>
|
|
188
|
+
<li>Shell</li>
|
|
189
|
+
<li>Sockets (WebSocket, WebTransport)</li>
|
|
190
|
+
<li>Storage (IndexedDB, localStorage, sessionStorage, etc.)</li>
|
|
191
|
+
<li>Telemetry (OpenTelemetry)</li>
|
|
192
|
+
<li>Terminal (xterm.js)</li>
|
|
193
|
+
<li>User Manager</li>
|
|
194
|
+
<li>WASM Loader</li>
|
|
195
|
+
</ul>
|
|
196
|
+
<!-- - [WebContainer](https://github.com/stackblitz/webcontainer-core) for running Node.js apps -->
|
|
197
|
+
<ul>
|
|
198
|
+
<li>Web Workers</li>
|
|
199
|
+
<li>Window Manager (WinBox)</li>
|
|
200
|
+
</ul>
|
|
201
|
+
</li>
|
|
202
|
+
</ul>
|
|
203
|
+
<a id="metal" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Metal<a href="#metal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><blockquote>
|
|
204
|
+
<p><a href="/core/metal">/core/metal</a></p>
|
|
205
|
+
</blockquote>
|
|
206
|
+
<ul>
|
|
207
|
+
<li>Metal is an API server for allowing connections to physical systems from ecmaOS using <a href="https://hono.dev" target="_blank" class="external">Hono</a></li>
|
|
208
|
+
<li>Authenticated and encrypted connections with JWK/JWE/JOSE</li>
|
|
209
|
+
</ul>
|
|
210
|
+
<a id="modules" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Modules<a href="#modules" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><blockquote>
|
|
211
|
+
<p><a href="/modules">/modules</a></p>
|
|
212
|
+
</blockquote>
|
|
213
|
+
<ul>
|
|
214
|
+
<li>Refer to the full list of <a href="https://www.npmjs.com/org/ecmaos-modules" target="_blank" class="external">official modules on npm</a></li>
|
|
215
|
+
<li>See the <a href="/MODULES.md">MODULES.md</a> file for a list of community modules; submit a PR to add your module!</li>
|
|
216
|
+
<li>Modules are dynamically loaded into the kernel at boot and can be enabled or disabled</li>
|
|
217
|
+
<li>They are specified during build via the <code>ECMAOS_KERNEL_MODULES</code> environment variable
|
|
218
|
+
<ul>
|
|
219
|
+
<li>e.g. <code>ECMAOS_KERNEL_MODULES=@ecmaos-modules/boilerplate@0.1.0,@your/package@1.2.3</code></li>
|
|
220
|
+
</ul>
|
|
221
|
+
</li>
|
|
222
|
+
<li>Versions must be pinned and are mandatory - you cannot use NPM version specifiers</li>
|
|
223
|
+
<li>They can provide additional functionality, devices, commands, etc.</li>
|
|
224
|
+
<li>They offer a <a href="modules/types_modules.html">common interface</a> for interacting with the kernel</li>
|
|
225
|
+
<li>Generally they should be written in <a href="https://www.assemblyscript.org" target="_blank" class="external">AssemblyScript</a>, but this isn't required</li>
|
|
226
|
+
</ul>
|
|
227
|
+
<a id="packages" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Packages<a href="#packages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><ul>
|
|
228
|
+
<li>Packages are <a href="https://www.npmjs.com" target="_blank" class="external">NPM packages</a> that are installed into the ecmaOS environment</li>
|
|
229
|
+
<li>They can be installed from the terminal using the <code>install</code> command, e.g. <code># install @ecmaos-apps/ai</code></li>
|
|
230
|
+
<li>Client-side packages should work well</li>
|
|
231
|
+
<li>Some basic Node emulation is in place, but don't expect anything to work at this point</li>
|
|
232
|
+
<li>NPM version specifiers are supported, e.g.:
|
|
233
|
+
<ul>
|
|
234
|
+
<li><code># install jquery@3.7.1</code></li>
|
|
235
|
+
<li><code># install jquery@^3.7.1</code></li>
|
|
236
|
+
<li><code># install jquery@latest</code></li>
|
|
237
|
+
</ul>
|
|
238
|
+
</li>
|
|
239
|
+
<li><a href="https://jsr.io" target="_blank" class="external">JSR</a> may be used with the <a href="https://jsr.io/docs/npm-compatibility" target="_blank" class="external">NPM compatibility layer</a>:
|
|
240
|
+
<ul>
|
|
241
|
+
<li><code># install @jsr/defaude__hello-jsr --registry https://npm.jsr.io</code></li>
|
|
242
|
+
</ul>
|
|
243
|
+
</li>
|
|
244
|
+
</ul>
|
|
245
|
+
<a id="sockets" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Sockets<a href="#sockets" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><ul>
|
|
246
|
+
<li>A socket manager is available for creating and managing WebSocket and WebTransport connections</li>
|
|
247
|
+
<li>It can be accessed via the <code>kernel.sockets</code> property or the <code>sockets</code> command</li>
|
|
248
|
+
</ul>
|
|
249
|
+
<a id="swapi" class="tsd-anchor"></a><h3 class="tsd-anchor-link">SWAPI<a href="#swapi" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><blockquote>
|
|
250
|
+
<p><a href="/core/swapi">/core/swapi</a></p>
|
|
251
|
+
</blockquote>
|
|
252
|
+
<ul>
|
|
253
|
+
<li>The SWAPI is an API server running completely inside a service worker using <a href="https://hono.dev" target="_blank" class="external">Hono</a></li>
|
|
254
|
+
<li>It allows for various operations including the <code>fs</code> route to fetch files via URL</li>
|
|
255
|
+
<li>e.g., <code># fetch /swapi/fs/home/user/hello.txt</code></li>
|
|
256
|
+
<li>e.g., <code># fetch /swapi/fake/person/fullName</code></li>
|
|
257
|
+
</ul>
|
|
258
|
+
<a id="telemetry" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Telemetry<a href="#telemetry" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><ul>
|
|
259
|
+
<li><a href="https://opentelemetry.io" target="_blank" class="external">OpenTelemetry</a> is used for collecting and analyzing telemetry data from the kernel and applications</li>
|
|
260
|
+
<li>It is only active if the ECMAOS_OPENTELEMETRY_ENDPOINT environment variable is set when building the kernel</li>
|
|
261
|
+
<li>There is a simple test server included in the <code>utils/opentelemetry</code> directory that can be used to test the telemetry system: <code>python3 utils/opentelemetry/otlp-server.py</code></li>
|
|
262
|
+
</ul>
|
|
263
|
+
<a id="utils" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Utils<a href="#utils" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><blockquote>
|
|
264
|
+
<p><a href="/utils">/utils</a></p>
|
|
265
|
+
</blockquote>
|
|
266
|
+
<ul>
|
|
267
|
+
<li>Utilities and configuration used during development</li>
|
|
268
|
+
</ul>
|
|
269
|
+
<a id="important-files-and-directories" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Important Files and Directories<a href="#important-files-and-directories" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><ul>
|
|
270
|
+
<li><code>/bin/</code>: Built-in commands</li>
|
|
271
|
+
</ul>
|
|
272
|
+
<!-- - `/bios/`: The BIOS filesystem -->
|
|
273
|
+
<ul>
|
|
274
|
+
<li><code>/boot/init</code>: A script that runs on boot</li>
|
|
275
|
+
<li><code>/dev/</code>: All devices are here</li>
|
|
276
|
+
<li><code>/etc/crontab</code>: System-wide crontab file (loaded on boot)</li>
|
|
277
|
+
<li><code>/etc/packages</code>: A list of installed packages to load on boot</li>
|
|
278
|
+
<li><code>/home/</code>: Contains user home directories</li>
|
|
279
|
+
<li><code>~/.config/crontab</code>: User-specific crontab file (loaded on login)</li>
|
|
280
|
+
<li><code>/proc/</code>: Contains various dynamic system information</li>
|
|
281
|
+
<li><code>/root/</code>: The home directory for the root user</li>
|
|
282
|
+
<li><code>/usr/bin/</code>: Executable packages get linked here</li>
|
|
283
|
+
<li><code>/usr/lib/</code>: All installed packages are here</li>
|
|
284
|
+
<li><code>/var/log/kernel.log</code>: The kernel log</li>
|
|
285
|
+
</ul>
|
|
286
|
+
<a id="command-examples" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Command Examples<a href="#command-examples" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><pre><code class="sh"><span class="hl-1">ai</span><span class="hl-2"> </span><span class="hl-4">"Despite all my rage"</span><span class="hl-2"> </span><span class="hl-0"># use `env OPENAI_API_KEY=`</span><br><span class="hl-1">cat</span><span class="hl-2"> </span><span class="hl-4">/var/log/kernel.lo</span><br><span class="hl-1">cd</span><span class="hl-2"> </span><span class="hl-4">/tmp</span><br><span class="hl-1">echo</span><span class="hl-2"> </span><span class="hl-4">"Hello, world!"</span><span class="hl-2"> > </span><span class="hl-4">hello.txt</span><br><span class="hl-1">chmod</span><span class="hl-2"> </span><span class="hl-5">700</span><span class="hl-2"> </span><span class="hl-4">hello.txt</span><br><span class="hl-1">chown</span><span class="hl-2"> </span><span class="hl-4">user</span><span class="hl-2"> </span><span class="hl-4">hello.txt</span><br><span class="hl-1">clear</span><br><span class="hl-1">cp</span><span class="hl-2"> </span><span class="hl-4">/tmp/hello.txt</span><span class="hl-2"> </span><span class="hl-4">/tmp/hi.txt</span><br><span class="hl-1">cron</span><span class="hl-2"> </span><span class="hl-4">add</span><span class="hl-2"> </span><span class="hl-4">"* * * * *"</span><span class="hl-2"> </span><span class="hl-4">"echo hello"</span><span class="hl-2"> </span><span class="hl-0"># add a cron job</span><br><span class="hl-1">cron</span><span class="hl-2"> </span><span class="hl-4">reload</span><span class="hl-2"> </span><span class="hl-0"># reload crontabs from files</span><br><span class="hl-1">cron</span><span class="hl-2"> </span><span class="hl-4">list</span><span class="hl-2"> </span><span class="hl-0"># list all cron jobs</span><br><span class="hl-1">download</span><span class="hl-2"> </span><span class="hl-4">hello.txt</span><br><span class="hl-1">edit</span><span class="hl-2"> </span><span class="hl-4">hello.txt</span><br><span class="hl-1">env</span><span class="hl-2"> </span><span class="hl-4">hello</span><span class="hl-2"> </span><span class="hl-3">--set</span><span class="hl-2"> </span><span class="hl-4">world</span><span class="hl-2"> ; </span><span class="hl-1">env</span><br><span class="hl-1">fetch</span><span class="hl-2"> </span><span class="hl-4">https://ipecho.net/plain</span><span class="hl-2"> > </span><span class="hl-4">/tmp/myip.txt</span><br><span class="hl-1">fetch</span><span class="hl-2"> </span><span class="hl-3">-o</span><span class="hl-2"> </span><span class="hl-4">/tmp/initfs.tar.gz</span><span class="hl-2"> </span><span class="hl-4">/initfs.tar.gz</span><br><span class="hl-1">fetch</span><span class="hl-2"> </span><span class="hl-4">/initfs.tar.gz</span><span class="hl-2"> | </span><span class="hl-1">head</span><span class="hl-2"> | </span><span class="hl-1">hex</span><br><span class="hl-1">fetch</span><span class="hl-2"> </span><span class="hl-4">/xkcd-os.sixel</span><span class="hl-2"> </span><span class="hl-0"># xterm.js includes sixel support</span><br><span class="hl-1">fetch</span><span class="hl-2"> </span><span class="hl-4">/swapi/fs/home/user/hello.txt</span><span class="hl-2"> </span><span class="hl-0"># fetch a file from the filesystem</span><br><span class="hl-1">fetch</span><span class="hl-2"> </span><span class="hl-4">/swapi/fake/person/fullName</span><span class="hl-2"> </span><span class="hl-0"># fetch a random person from the SWAPI</span><br><span class="hl-1">install</span><span class="hl-2"> </span><span class="hl-4">jquery</span><br><span class="hl-1">install</span><span class="hl-2"> </span><span class="hl-4">@ecmaos-apps/boilerplate</span><br><span class="hl-1">ls</span><span class="hl-2"> </span><span class="hl-4">/dev</span><br><span class="hl-1">mkdir</span><span class="hl-2"> </span><span class="hl-4">/tmp/zip</span><span class="hl-2"> ; </span><span class="hl-1">cd</span><span class="hl-2"> </span><span class="hl-4">/tmp/zip</span><br><span class="hl-1">upload</span><br><span class="hl-1">mount</span><span class="hl-2"> </span><span class="hl-3">-t</span><span class="hl-2"> </span><span class="hl-4">zip</span><span class="hl-2"> </span><span class="hl-4">myuploaded.zip</span><span class="hl-2"> </span><span class="hl-4">/mnt/zip</span><br><span class="hl-1">cd</span><span class="hl-2"> </span><span class="hl-4">..</span><span class="hl-2"> ; </span><span class="hl-1">pwd</span><br><span class="hl-1">unzip</span><span class="hl-2"> </span><span class="hl-4">zip/myuploaded.zip</span><br><span class="hl-1">mv</span><span class="hl-2"> </span><span class="hl-4">zip/myuploaded.zip</span><span class="hl-2"> </span><span class="hl-4">/tmp/backup.zip</span><br><span class="hl-1">passwd</span><span class="hl-2"> </span><span class="hl-4">old</span><span class="hl-2"> </span><span class="hl-4">new</span><br><span class="hl-1">play</span><span class="hl-2"> </span><span class="hl-4">/root/test.mp3</span><br><span class="hl-1">ps</span><br><span class="hl-1">rm</span><span class="hl-2"> </span><span class="hl-4">/tmp/backup.zip</span><br><span class="hl-1">screensaver</span><br><span class="hl-1">snake</span><br><span class="hl-1">stat</span><span class="hl-2"> </span><span class="hl-4">/tmp/hello.txt</span><br><span class="hl-1">touch</span><span class="hl-2"> </span><span class="hl-4">/tmp/test.bin</span><br><span class="hl-1">umount</span><span class="hl-2"> </span><span class="hl-4">/mnt/zip</span><br><span class="hl-1">user</span><span class="hl-2"> </span><span class="hl-4">add</span><span class="hl-2"> </span><span class="hl-4">user</span><br><span class="hl-1">su</span><span class="hl-2"> </span><span class="hl-4">user</span><br><span class="hl-1">video</span><span class="hl-2"> </span><span class="hl-4">/root/video.mp4</span><br><span class="hl-1">zip</span><span class="hl-2"> </span><span class="hl-4">/root/tmp.zip</span><span class="hl-2"> </span><span class="hl-4">/tmp</span>
|
|
287
|
+
</code><button type="button">Copy</button></pre>
|
|
288
|
+
|
|
289
|
+
<a id="device-examples" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Device Examples<a href="#device-examples" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><pre><code class="sh"><span class="hl-1">/dev/audio</span><span class="hl-2"> </span><span class="hl-4">test</span><br><span class="hl-1">/dev/battery</span><span class="hl-2"> </span><span class="hl-4">status</span><br><span class="hl-1">/dev/bluetooth</span><span class="hl-2"> </span><span class="hl-4">scan</span><br><span class="hl-1">/dev/gamepad</span><span class="hl-2"> </span><span class="hl-4">list</span><br><span class="hl-1">/dev/geo</span><span class="hl-2"> </span><span class="hl-4">position</span><br><span class="hl-1">/dev/gpu</span><span class="hl-2"> </span><span class="hl-4">test</span><br><span class="hl-1">/dev/hid</span><span class="hl-2"> </span><span class="hl-4">list</span><br><span class="hl-1">/dev/midi</span><span class="hl-2"> </span><span class="hl-4">list</span><br><span class="hl-1">/dev/presentation</span><span class="hl-2"> </span><span class="hl-4">start</span><span class="hl-2"> </span><span class="hl-4">https://wikipedia.org</span><br><span class="hl-1">/dev/sensors</span><span class="hl-2"> </span><span class="hl-4">list</span><br><span class="hl-1">/dev/serial</span><span class="hl-2"> </span><span class="hl-4">devices</span><br><span class="hl-1">/dev/usb</span><span class="hl-2"> </span><span class="hl-4">list</span><br><span class="hl-1">/dev/webgpu</span><span class="hl-2"> </span><span class="hl-4">test</span><br><span class="hl-1">echo</span><span class="hl-2"> </span><span class="hl-4">"Goodbye"</span><span class="hl-2"> > </span><span class="hl-4">/dev/null</span><br><span class="hl-1">echo</span><span class="hl-2"> </span><span class="hl-4">"This will error"</span><span class="hl-2"> > </span><span class="hl-4">/dev/full</span><br><span class="hl-1">head</span><span class="hl-2"> </span><span class="hl-3">-c</span><span class="hl-2"> </span><span class="hl-5">32</span><span class="hl-2"> </span><span class="hl-4">/dev/random</span><span class="hl-2"> > </span><span class="hl-4">/tmp/random.txt</span><br><span class="hl-1">head</span><span class="hl-2"> </span><span class="hl-3">-c</span><span class="hl-2"> </span><span class="hl-5">32</span><span class="hl-2"> </span><span class="hl-4">/dev/zero</span><span class="hl-2"> > </span><span class="hl-4">/dev/null</span>
|
|
290
|
+
</code><button type="button">Copy</button></pre>
|
|
291
|
+
|
|
292
|
+
<a id="code-execution-example" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Code Execution Example<a href="#code-execution-example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><pre><code class="sh"><span class="hl-1">echo</span><span class="hl-2"> </span><span class="hl-4">"window.alert('Hello, world!')"</span><span class="hl-2"> > </span><span class="hl-4">/root/hello.js</span><br><span class="hl-1">load</span><span class="hl-2"> </span><span class="hl-4">/root/hello.js</span>
|
|
293
|
+
</code><button type="button">Copy</button></pre>
|
|
294
|
+
|
|
295
|
+
<a id="scripting" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Scripting<a href="#scripting" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><pre><code class="txt">#!ecmaos:bin:script
|
|
296
|
+
echo "Hello, world!"
|
|
297
|
+
install jquery
|
|
298
|
+
</code><button type="button">Copy</button></pre>
|
|
299
|
+
|
|
300
|
+
<a id="startup" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Startup<a href="#startup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><ul>
|
|
301
|
+
<li><code>/boot/init</code> is a script that runs on boot inside the init process (PID 0)</li>
|
|
302
|
+
<li><code>/etc/crontab</code> is loaded on boot and contains system-wide scheduled tasks</li>
|
|
303
|
+
<li><code>~/.config/crontab</code> is loaded on user login and contains user-specific scheduled tasks</li>
|
|
304
|
+
<li><code>/etc/packages</code> is a list of already installed packages to load on boot; one per line</li>
|
|
305
|
+
<li>The env var <code>ECMAOS_KERNEL_MODULES</code> is a list of modules to load on boot; CSV with pinned versions</li>
|
|
306
|
+
<li>The env var <code>ECMAOS_RECOMMENDED_APPS</code> is a list of apps to suggest to new users</li>
|
|
307
|
+
</ul>
|
|
308
|
+
<a id="app-development" class="tsd-anchor"></a><h2 class="tsd-anchor-link">App Development<a href="#app-development" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><p>The <a href="/apps">apps</a> directory in the repository contains some examples of how to develop apps, but there are many approaches you could take.</p>
|
|
309
|
+
<ul>
|
|
310
|
+
<li><code>@ecmaos-apps/boilerplate</code>: A minimal boilerplate app for reference</li>
|
|
311
|
+
<li><code>@ecmaos-apps/code</code>: A simple code editor app using <a href="https://microsoft.github.io/monaco-editor/" target="_blank" class="external">Monaco</a>; serves as a good reference for more complex apps</li>
|
|
312
|
+
</ul>
|
|
313
|
+
<p>Basically, your app's <a href="https://docs.npmjs.com/cli/v10/configuring-npm/package-json#bin" target="_blank" class="external">bin</a> file has a <code>main</code> (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 <code>#!ecmaos:bin:app:myappname</code> is required at the top of the bin file to identify it as an app.</p>
|
|
314
|
+
<a id="appkernel-interface-example" class="tsd-anchor"></a><h2 class="tsd-anchor-link">App/Kernel Interface Example<a href="#appkernel-interface-example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><blockquote>
|
|
315
|
+
<p>See the <a href="https://docs.ecmaos.sh" target="_blank" class="external">docs</a> for more information</p>
|
|
316
|
+
</blockquote>
|
|
317
|
+
<pre><code class="ts"><span class="hl-0">#!ecmaos:bin:app:example</span><br><span class="hl-0">// shebang format: ecmaos:exectype:execnamespace:execname</span><br><span class="hl-6">export</span><span class="hl-2"> </span><span class="hl-6">default</span><span class="hl-2"> </span><span class="hl-3">async</span><span class="hl-2"> </span><span class="hl-3">function</span><span class="hl-2"> </span><span class="hl-1">main</span><span class="hl-2">(</span><span class="hl-7">params</span><span class="hl-2">: </span><span class="hl-8">ProcessEntryParams</span><span class="hl-2">) {</span><br><span class="hl-2"> </span><span class="hl-3">const</span><span class="hl-2"> { </span><span class="hl-9">args</span><span class="hl-2">, </span><span class="hl-9">kernel</span><span class="hl-2">, </span><span class="hl-9">terminal</span><span class="hl-2"> } = </span><span class="hl-7">params</span><br><span class="hl-2"> </span><span class="hl-7">kernel</span><span class="hl-2">.</span><span class="hl-7">log</span><span class="hl-2">.</span><span class="hl-1">info</span><span class="hl-2">(</span><span class="hl-4">'Hello, world!'</span><span class="hl-2">)</span><br><span class="hl-2"> </span><span class="hl-7">kernel</span><span class="hl-2">.</span><span class="hl-7">log</span><span class="hl-2">.</span><span class="hl-1">debug</span><span class="hl-2">(</span><span class="hl-7">args</span><span class="hl-2">)</span><br><span class="hl-2"> </span><span class="hl-7">terminal</span><span class="hl-2">.</span><span class="hl-1">writeln</span><span class="hl-2">(</span><span class="hl-4">'Hello, world!'</span><span class="hl-2">)</span><br><span class="hl-2"> </span><span class="hl-6">await</span><span class="hl-2"> </span><span class="hl-7">kernel</span><span class="hl-2">.</span><span class="hl-7">filesystem</span><span class="hl-2">.</span><span class="hl-7">fs</span><span class="hl-2">.</span><span class="hl-1">writeFile</span><span class="hl-2">(</span><span class="hl-4">'/tmp/hello.txt'</span><span class="hl-2">, </span><span class="hl-4">'Hello, world!'</span><span class="hl-2">)</span><br><span class="hl-2"> </span><span class="hl-3">const</span><span class="hl-2"> </span><span class="hl-9">win</span><span class="hl-2"> = </span><span class="hl-7">kernel</span><span class="hl-2">.</span><span class="hl-7">windows</span><span class="hl-2">.</span><span class="hl-1">create</span><span class="hl-2">({ </span><span class="hl-7">title:</span><span class="hl-2"> </span><span class="hl-4">'Example'</span><span class="hl-2">, </span><span class="hl-7">width:</span><span class="hl-2"> </span><span class="hl-5">800</span><span class="hl-2">, </span><span class="hl-7">height:</span><span class="hl-2"> </span><span class="hl-5">600</span><span class="hl-2"> })</span><br><span class="hl-2"> </span><span class="hl-3">const</span><span class="hl-2"> </span><span class="hl-9">container</span><span class="hl-2"> = </span><span class="hl-7">document</span><span class="hl-2">.</span><span class="hl-1">createElement</span><span class="hl-2">(</span><span class="hl-4">'div'</span><span class="hl-2">)</span><br><span class="hl-2"> </span><span class="hl-7">container</span><span class="hl-2">.</span><span class="hl-7">innerHTML</span><span class="hl-2"> = </span><span class="hl-4">'<h1>Hello, world!</h1>'</span><br><span class="hl-2"> </span><span class="hl-7">win</span><span class="hl-2">.</span><span class="hl-1">mount</span><span class="hl-2">(</span><span class="hl-7">container</span><span class="hl-2">)</span><br><span class="hl-2">}</span>
|
|
318
|
+
</code><button type="button">Copy</button></pre>
|
|
319
|
+
|
|
320
|
+
<a id="early-days" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Early Days<a href="#early-days" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><p>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.</p>
|
|
321
|
+
<p>Things to keep in mind:</p>
|
|
322
|
+
<ul>
|
|
323
|
+
<li>If things go wrong or break, clear your browser cache and site data for ecmaOS</li>
|
|
324
|
+
<li>Things have changed a lot since the tests were written, so they need to be updated and fixed</li>
|
|
325
|
+
<li>The kernel is designed to be run in an environment with a DOM (i.e. a browser)</li>
|
|
326
|
+
<li>Many features are only available on Chromium-based browsers, and many more behind feature flags</li>
|
|
327
|
+
<li>There will be a lot of technical challenges to overcome, and many things will first be implemented in a non-optimal way</li>
|
|
328
|
+
<li>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.</li>
|
|
329
|
+
<li>Globbing doesn't work in the terminal yet, <a href="https://zenfs.dev/core/functions/fs.promises.glob.html" target="_blank" class="external">but is supported at the filesystem level</a></li>
|
|
330
|
+
</ul>
|
|
331
|
+
<a id="development" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Development<a href="#development" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><p><a href="https://turbo.build/repo" target="_blank" class="external">Turborepo</a> is used to manage the monorepo, and <a href="https://pnpm.io" target="_blank" class="external">pnpm</a> is used for package management.</p>
|
|
332
|
+
<p>PNPM Workspaces:</p>
|
|
333
|
+
<ul>
|
|
334
|
+
<li><a href="/apps">apps</a></li>
|
|
335
|
+
<li><a href="/core">core</a></li>
|
|
336
|
+
<li><a href="/devices">devices</a></li>
|
|
337
|
+
<li><a href="/modules">modules</a></li>
|
|
338
|
+
<li><a href="/utils">utils</a></li>
|
|
339
|
+
</ul>
|
|
340
|
+
<p>A good place to start is viewing the <code>scripts</code> property of <a href="media/package.json">package.json</a> in the root of the repository.</p>
|
|
341
|
+
<pre><code class="bash"><span class="hl-0"># Clone</span><br><span class="hl-1">git</span><span class="hl-2"> </span><span class="hl-4">clone</span><span class="hl-2"> </span><span class="hl-4">https://github.com/ecmaos/ecmaos.git</span><br><br><span class="hl-0"># Install dependencies</span><br><span class="hl-1">cd</span><span class="hl-2"> </span><span class="hl-4">ecmaos</span><span class="hl-2"> && </span><span class="hl-1">pnpm</span><span class="hl-2"> </span><span class="hl-4">install</span><br><br><span class="hl-0"># Run the dev server</span><br><span class="hl-1">pnpm</span><span class="hl-2"> </span><span class="hl-4">run</span><span class="hl-2"> </span><span class="hl-4">dev:kernel</span><br><br><span class="hl-0"># Run the docs server (optional)</span><br><span class="hl-1">pnpm</span><span class="hl-2"> </span><span class="hl-4">run</span><span class="hl-2"> </span><span class="hl-4">dev:docs</span><br><br><span class="hl-0"># Build</span><br><span class="hl-1">pnpm</span><span class="hl-2"> </span><span class="hl-4">run</span><span class="hl-2"> </span><span class="hl-4">build</span><br><br><span class="hl-0"># Run tests</span><br><span class="hl-1">pnpm</span><span class="hl-2"> </span><span class="hl-4">run</span><span class="hl-2"> </span><span class="hl-4">test</span><br><span class="hl-1">pnpm</span><span class="hl-2"> </span><span class="hl-4">run</span><span class="hl-2"> </span><span class="hl-4">test:watch</span><br><span class="hl-1">pnpm</span><span class="hl-2"> </span><span class="hl-4">run</span><span class="hl-2"> </span><span class="hl-4">test:coverage</span><br><span class="hl-1">pnpm</span><span class="hl-2"> </span><span class="hl-4">run</span><span class="hl-2"> </span><span class="hl-4">test:bench</span><br><span class="hl-1">pnpm</span><span class="hl-2"> </span><span class="hl-4">run</span><span class="hl-2"> </span><span class="hl-4">test:ui</span><br><br><span class="hl-0"># Generate modules</span><br><span class="hl-1">turbo</span><span class="hl-2"> </span><span class="hl-4">gen</span><span class="hl-2"> </span><span class="hl-4">app</span><span class="hl-2"> </span><span class="hl-0"># generate a new app template</span><br><span class="hl-1">turbo</span><span class="hl-2"> </span><span class="hl-4">gen</span><span class="hl-2"> </span><span class="hl-4">device</span><span class="hl-2"> </span><span class="hl-0"># generate a new device template</span><br><span class="hl-1">turbo</span><span class="hl-2"> </span><span class="hl-4">gen</span><span class="hl-2"> </span><span class="hl-4">module</span><span class="hl-2"> </span><span class="hl-0"># generate a new module template</span>
|
|
342
|
+
</code><button type="button">Copy</button></pre>
|
|
343
|
+
|
|
344
|
+
<p>Also see <a href="media/turbo.json">turbo.json</a> and <a href="/CONTRIBUTING.md">CONTRIBUTING.md</a> for more information.</p>
|
|
345
|
+
<a id="security-vulnerabilities" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Security Vulnerabilities<a href="#security-vulnerabilities" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><p>See <a href="/SECURITY.md">SECURITY.md</a> for more information.</p>
|
|
346
|
+
<p>If you find a serious security vulnerability, please submit a new <a href="https://github.com/ecmaos/ecmaos/security" target="_blank" class="external">Draft Security Advisory</a> or contact the project maintainer directly at <a href="mailto:code@mathis.network">code@mathis.network</a>.</p>
|
|
347
|
+
</div></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><details open="" class="tsd-accordion tsd-page-navigation"><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>On This Page</h3></summary><div class="tsd-accordion-details" tabindex="-1"><a href="#the-web-kernel"><span>The <wbr>Web <wbr>Kernel</span></a><ul><li><a href="#features"><span>Features</span></a></li><li><a href="#basic-concepts"><span>Basic <wbr>Concepts</span></a></li><li><ul><li><a href="#apps"><span>Apps</span></a></li><li><a href="#commands"><span>Commands</span></a></li><li><a href="#coreutils"><span>Coreutils</span></a></li><li><a href="#devices"><span>Devices</span></a></li><li><a href="#filesystems"><span>Filesystems</span></a></li><li><ul><li><a href="#supported-filesystem-types"><span>Supported <wbr>Filesystem <wbr>Types</span></a></li><li><a href="#basic-usage"><span>Basic <wbr>Usage</span></a></li><li><a href="#etcfstab"><span>/etc/fstab</span></a></li></ul></li><li><a href="#generators"><span>Generators</span></a></li><li><a href="#kernel"><span>Kernel</span></a></li><li><a href="#metal"><span>Metal</span></a></li><li><a href="#modules"><span>Modules</span></a></li><li><a href="#packages"><span>Packages</span></a></li><li><a href="#sockets"><span>Sockets</span></a></li><li><a href="#swapi"><span>SWAPI</span></a></li><li><a href="#telemetry"><span>Telemetry</span></a></li><li><a href="#utils"><span>Utils</span></a></li></ul></li><li><a href="#important-files-and-directories"><span>Important <wbr>Files and <wbr>Directories</span></a></li><li><a href="#command-examples"><span>Command <wbr>Examples</span></a></li><li><a href="#device-examples"><span>Device <wbr>Examples</span></a></li><li><a href="#code-execution-example"><span>Code <wbr>Execution <wbr>Example</span></a></li><li><a href="#scripting"><span>Scripting</span></a></li><li><a href="#startup"><span>Startup</span></a></li><li><a href="#app-development"><span>App <wbr>Development</span></a></li><li><a href="#appkernel-interface-example"><span>App/<wbr>Kernel <wbr>Interface <wbr>Example</span></a></li><li><a href="#early-days"><span>Early <wbr>Days</span></a></li><li><a href="#development"><span>Development</span></a></li><li><a href="#security-vulnerabilities"><span>Security <wbr>Vulnerabilities</span></a></li></ul></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="modules.html" class="current">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>
|