@ecmaos/kernel 0.9.3 → 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 -10
- package/dist/{index-BpihY4nP.js → index-B8XyCNX4.js} +2 -2
- package/dist/{index-BpihY4nP.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-BC_V5fcu.js → install-PevWJTeY.js} +2 -2
- package/dist/{install-BC_V5fcu.js.map → install-PevWJTeY.js.map} +1 -1
- package/dist/{kernel-C_OWCzCU.js → kernel-2kw8MkKw.js} +46 -47
- package/dist/{kernel-C_OWCzCU.js.map → kernel-2kw8MkKw.js.map} +1 -1
- package/dist/kernel.js +1 -1
- package/dist/ui.js +1 -1
- package/dist/{uninstall-CTp8v-SH.js → uninstall-D1P1S1Ux.js} +2 -2
- package/dist/{uninstall-CTp8v-SH.js.map → uninstall-D1P1S1Ux.js.map} +1 -1
- package/package.json +8 -7
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Devices and Device Drivers
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
> [!WARNING]
|
|
6
|
+
> The device and device driver API is being upgraded into a broader "kernel" module API.
|
|
7
|
+
> See [#262](https://github.com/zen-fs/core/issues/262) for more information.
|
|
8
|
+
|
|
9
|
+
ZenFS includes support for device files. These are designed to follow Linux's device file behavior, for consistency and ease of use. You can automatically add some normal devices with the `addDevices` configuration option:
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
await configure({
|
|
13
|
+
mounts: {
|
|
14
|
+
/* ... */
|
|
15
|
+
},
|
|
16
|
+
addDevices: true,
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
fs.writeFileSync('/dev/null', 'Some data to be discarded');
|
|
20
|
+
|
|
21
|
+
const randomData = new Uint8Array(100);
|
|
22
|
+
|
|
23
|
+
const random = fs.openSync('/dev/random', 'r');
|
|
24
|
+
fs.readSync(random, randomData);
|
|
25
|
+
fs.closeSync(random);
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Device Drivers
|
|
29
|
+
|
|
30
|
+
You can create your own devices by implementing a `DeviceDriver`. For example, the null device looks similar to this:
|
|
31
|
+
|
|
32
|
+
```ts
|
|
33
|
+
const customNullDevice = {
|
|
34
|
+
name: 'custom_null',
|
|
35
|
+
// only 1 can exist per DeviceFS
|
|
36
|
+
singleton: true,
|
|
37
|
+
// optional if false
|
|
38
|
+
isBuffered: false,
|
|
39
|
+
read() {
|
|
40
|
+
return 0;
|
|
41
|
+
},
|
|
42
|
+
write() {
|
|
43
|
+
return 0;
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Note the actual implementation's write is slightly more complicated since it adds to the file position. You can find more information on the docs.
|
|
49
|
+
|
|
50
|
+
Finally, if you'd like to use your custom device with the file system:
|
|
51
|
+
|
|
52
|
+
```ts
|
|
53
|
+
import { addDevice, fs } from '@zenfs/core';
|
|
54
|
+
|
|
55
|
+
addDevice(customNullDevice);
|
|
56
|
+
|
|
57
|
+
fs.writeFileSync('/dev/custom', 'This gets discarded.');
|
|
58
|
+
```
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
# ZenFS
|
|
2
|
+
|
|
3
|
+
ZenFS is a cross-platform library that emulates the [Node.js filesystem API](http://nodejs.org/api/fs.html).
|
|
4
|
+
It works using a system of backends, which are used by ZenFS to store and retrieve data.
|
|
5
|
+
ZenFS can also integrate with other tools.
|
|
6
|
+
|
|
7
|
+
## Backends
|
|
8
|
+
|
|
9
|
+
ZenFS is modular and easily extended. The core includes some built-in backends:
|
|
10
|
+
|
|
11
|
+
- `InMemory`: Stores files in-memory. This is cleared when the runtime ends (e.g. a user navigating away from a web page or a Node process exiting)
|
|
12
|
+
- `CopyOnWrite`: Use readable and writable file systems with [copy-on-write](https://en.wikipedia.org/wiki/Copy-on-write).
|
|
13
|
+
- `Fetch`: Downloads files over HTTP with the `fetch` API
|
|
14
|
+
- `Port`: Interacts with a remote over a `MessagePort`-like interface (e.g. a worker)
|
|
15
|
+
- `Passthrough`: Use an existing `node:fs` interface with ZenFS
|
|
16
|
+
- `SingleBuffer`: A backend contained within a single buffer. Can be used for synchronous multi-threaded operations using `SharedArrayBuffer`
|
|
17
|
+
|
|
18
|
+
ZenFS supports a number of other backends.
|
|
19
|
+
Many are provided as separate packages under `@zenfs`.
|
|
20
|
+
More backends can be defined by separate libraries by extending the `FileSystem` class and providing a `Backend` object.
|
|
21
|
+
|
|
22
|
+
You can find all of the packages available over on [NPM](https://www.npmjs.com/org/zenfs). Below is a list of the backends included with some of them:
|
|
23
|
+
|
|
24
|
+
- @zenfs/archives: `Zip`, `Iso`
|
|
25
|
+
- @zenfs/cloud: `Dropbox`, `GoogleDrive`, `S3Bucket`
|
|
26
|
+
- @zenfs/dom: `WebAccess` (Web [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API)/OPFS), `IndexedDB`, `WebStorage` (`localStorage`/`sessionStorage`), `XML` (DOM elements)
|
|
27
|
+
- @zenfs/emscripten: `Emscripten` and a plugin for Emscripten's file system API
|
|
28
|
+
|
|
29
|
+
As an added bonus, all ZenFS backends support synchronous operations.
|
|
30
|
+
Additionally, all of the backends included with the core are cross-platform.
|
|
31
|
+
|
|
32
|
+
For more information, see the [docs](https://zenfs.dev/core).
|
|
33
|
+
|
|
34
|
+
## Installing
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
npm install @zenfs/core
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
If you're using ZenFS, especially for big projects, please consider supporting the project.
|
|
41
|
+
Thousands of hours have been dedicated to its development.
|
|
42
|
+
Your financial support would go a long way toward improving ZenFS and its community.
|
|
43
|
+
|
|
44
|
+
## Usage
|
|
45
|
+
|
|
46
|
+
```js
|
|
47
|
+
import { fs } from '@zenfs/core'; // You can also use the default export
|
|
48
|
+
|
|
49
|
+
fs.writeFileSync('/test.txt', 'You can do this anywhere, including browsers!');
|
|
50
|
+
|
|
51
|
+
const contents = fs.readFileSync('/test.txt', 'utf-8');
|
|
52
|
+
console.log(contents);
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
#### Using different and/or multiple backends
|
|
56
|
+
|
|
57
|
+
A single `InMemory` backend is created by default, mounted on `/`.
|
|
58
|
+
|
|
59
|
+
You can configure ZenFS to use a different backend and mount multiple backends. It is strongly recommended to do so using the `configure` function.
|
|
60
|
+
|
|
61
|
+
You can use multiple backends by passing an object to `configure` which maps paths to file systems.
|
|
62
|
+
|
|
63
|
+
The following example mounts a zip file to `/zip`, in-memory storage to `/tmp`, and IndexedDB to `/home`. Note that `/` has the default in-memory backend.
|
|
64
|
+
|
|
65
|
+
```js
|
|
66
|
+
import { configure, InMemory } from '@zenfs/core';
|
|
67
|
+
import { IndexedDB } from '@zenfs/dom';
|
|
68
|
+
import { Zip } from '@zenfs/archives';
|
|
69
|
+
|
|
70
|
+
const res = await fetch('mydata.zip');
|
|
71
|
+
|
|
72
|
+
await configure({
|
|
73
|
+
mounts: {
|
|
74
|
+
'/mnt/zip': { backend: Zip, data: await res.arrayBuffer() },
|
|
75
|
+
'/tmp': InMemory,
|
|
76
|
+
'/home': IndexedDB,
|
|
77
|
+
},
|
|
78
|
+
});
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Note that while you aren't required to use absolute paths for the keys of `mounts`, it is a good practice to do so.
|
|
82
|
+
|
|
83
|
+
> [!TIP]
|
|
84
|
+
> When configuring a mount point, you can pass in
|
|
85
|
+
>
|
|
86
|
+
> 1. A `Backend` object, if the backend has no required options
|
|
87
|
+
> 2. An object that has the options accepted by the backend and a `backend` property which is a `Backend` object
|
|
88
|
+
> 3. A `FileSystem` instance
|
|
89
|
+
|
|
90
|
+
Here is an example that mounts the `WebStorage` backend from `@zenfs/dom` on `/`:
|
|
91
|
+
|
|
92
|
+
```js
|
|
93
|
+
import { configureSingle, fs } from '@zenfs/core';
|
|
94
|
+
import { WebStorage } from '@zenfs/dom';
|
|
95
|
+
|
|
96
|
+
await configureSingle({ backend: WebStorage });
|
|
97
|
+
|
|
98
|
+
if (!fs.existsSync('/test.txt')) {
|
|
99
|
+
fs.writeFileSync('/test.txt', 'This will persist across reloads!');
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
const contents = fs.readFileSync('/test.txt', 'utf-8');
|
|
103
|
+
console.log(contents);
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
#### FS Promises
|
|
107
|
+
|
|
108
|
+
The FS promises API is exposed as `promises`.
|
|
109
|
+
|
|
110
|
+
```js
|
|
111
|
+
import { configureSingle } from '@zenfs/core';
|
|
112
|
+
import { exists, writeFile } from '@zenfs/core/promises';
|
|
113
|
+
import { IndexedDB } from '@zenfs/dom';
|
|
114
|
+
|
|
115
|
+
await configureSingle({ backend: IndexedDB });
|
|
116
|
+
|
|
117
|
+
const exists = await exists('/myfile.txt');
|
|
118
|
+
if (!exists) {
|
|
119
|
+
await writeFile('/myfile.txt', 'Lots of persistent data');
|
|
120
|
+
}
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
> [!NOTE]
|
|
124
|
+
> You can import the promises API using:
|
|
125
|
+
>
|
|
126
|
+
> 1. Exports from `@zenfs/core/promises`
|
|
127
|
+
> 2. The `promises` export from `@zenfs/core`
|
|
128
|
+
> 3. `fs.promises` on the exported `fs` from `@zenfs/core`.
|
|
129
|
+
|
|
130
|
+
#### Mounting and unmounting, creating backends
|
|
131
|
+
|
|
132
|
+
If you would like to create backends without configure (e.g. to do something dynamic at runtime), you may do so by importing the backend and calling `resolveMountConfig` with it.
|
|
133
|
+
|
|
134
|
+
You can then mount and unmount the backend instance by using `mount` and `umount`.
|
|
135
|
+
|
|
136
|
+
```js
|
|
137
|
+
import { configure, resolveMountConfig, InMemory } from '@zenfs/core';
|
|
138
|
+
import { IndexedDB } from '@zenfs/dom';
|
|
139
|
+
import { Zip } from '@zenfs/archives';
|
|
140
|
+
|
|
141
|
+
await configure({
|
|
142
|
+
mounts: {
|
|
143
|
+
'/tmp': InMemory,
|
|
144
|
+
'/home': IndexedDB,
|
|
145
|
+
},
|
|
146
|
+
});
|
|
147
|
+
|
|
148
|
+
fs.mkdirSync('/mnt/zip', { recursive: true });
|
|
149
|
+
|
|
150
|
+
const res = await fetch('mydata.zip');
|
|
151
|
+
const zipfs = await resolveMountConfig({ backend: Zip, data: await res.arrayBuffer() });
|
|
152
|
+
fs.mount('/mnt/zip', zipfs);
|
|
153
|
+
|
|
154
|
+
// do stuff with the mounted zip
|
|
155
|
+
|
|
156
|
+
fs.umount('/mnt/zip'); // finished using the zip
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
> [!CAUTION]
|
|
160
|
+
> Instances of backends follow the _internal_ API. You should never use a backend's methods unless you are extending a backend.
|
|
161
|
+
|
|
162
|
+
### Devices and device files
|
|
163
|
+
|
|
164
|
+
ZenFS includes support for device files. These are designed to follow Linux's device file behavior, for consistency and ease of use. Check out the [Devices and Device Drivers](https://zenfs.dev/core/documents/Devices_and_Device_Drivers) documentation for more information.
|
|
165
|
+
|
|
166
|
+
## `node:*` emulation
|
|
167
|
+
|
|
168
|
+
ZenFS also includes emulation of some other `node:` modules for various reasons, importable from `@zenfs/core/<name>`:
|
|
169
|
+
|
|
170
|
+
- `node:path`
|
|
171
|
+
- `node:readline`
|
|
172
|
+
|
|
173
|
+
For example:
|
|
174
|
+
|
|
175
|
+
```ts
|
|
176
|
+
import * as path from '@zenfs/core/path';
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
## Bundling
|
|
180
|
+
|
|
181
|
+
ZenFS exports a drop-in for Node's `fs` module, so you can use it for your bundler of preference using the default export.
|
|
182
|
+
|
|
183
|
+
> [!IMPORTANT]
|
|
184
|
+
> See [COPYING.md](./COPYING.md)
|
|
185
|
+
|
|
186
|
+
## Sponsors
|
|
187
|
+
|
|
188
|
+
A huge thank you to [deco.cx](https://github.com/deco-cx) for sponsoring ZenFS and helping to make this possible.
|
|
189
|
+
|
|
190
|
+
## Contact and Support
|
|
191
|
+
|
|
192
|
+
You can reach out [on Discord](https://zenfs.dev/discord) or by emailing jp@zenfs.dev
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Internal API
|
|
3
|
+
category: Internals
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Overview
|
|
7
|
+
|
|
8
|
+
The Internal API is the foundation of ZenFS, providing a standardized interface for managing file systems and file operations. All backends must instantiate a `FileSystem` implementation that conforms to this API, ensuring compatibility with the Virtual File System (VFS) and applications using ZenFS.
|
|
9
|
+
|
|
10
|
+
## `FileSystem`
|
|
11
|
+
|
|
12
|
+
The `FileSystem` class is the core of the internal API. It abstracts file storage operations, metadata management, and error handling. `FileSystem` does a few things:
|
|
13
|
+
|
|
14
|
+
**Storage Abstraction:** Defines how files and directories are represented within a backend.
|
|
15
|
+
|
|
16
|
+
**Usage Information (`UsageInfo`):** Tracks available storage, block sizes, and inode counts.
|
|
17
|
+
|
|
18
|
+
**Metadata:** Various pieces of metadata, which are used by the VFS. This includes:
|
|
19
|
+
|
|
20
|
+
- `attributes` is designed to keep track of simple values. This is analogous to options in [/etc/fstab](https://en.wikipedia.org/wiki/Fstab).
|
|
21
|
+
- `name` is for the name of the file system type. For example, `tmpfs` is the name of `InMemory`. This is modeled after `file_system_type->name` in Linux
|
|
22
|
+
- `id` is a unique 32-bit unsigned integer for the type of file system. It is currently unused internally but may in the future (one compelling use case is to resolve collisions of `name`). This is primarily designed for users, for example it could be used for partition tables.
|
|
23
|
+
- `label` is an optional field that is designed to be used with instances. This is the same as labels in the context of normal partitions and file systems.
|
|
24
|
+
|
|
25
|
+
**File Operations:** Implements core actions like creating, reading, writing, and deleting files.
|
|
26
|
+
|
|
27
|
+
**Error Handling:** Standardizes file system errors.
|
|
28
|
+
|
|
29
|
+
## Backends and the Internal API
|
|
30
|
+
|
|
31
|
+
Backends in ZenFS do not implement file operations directly. Instead, they instantiate a `FileSystem` implementation that conforms to the internal API.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Security
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
> [!WARNING]
|
|
6
|
+
> Since ZenFS exists purely client-side, this is **not** a true security boundary!
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Security in ZenFS is handled at the Virtual File System (VFS) level, ensuring that file operations comply with access control rules before interacting with storage backends. The primary mechanisms for enforcing security include permissions enforcement, user credential management, and execution contexts. ZenFS is designed to be used with a _single import per ES realm_.
|
|
11
|
+
|
|
12
|
+
## Permissions Enforcement in the VFS
|
|
13
|
+
|
|
14
|
+
The VFS is responsible for checking file permissions before executing operations. This ensures that unauthorized access attempts are blocked before reaching the backend storage system. Permissions are enforced based on the user ID (UID) and group ID (GID) associated with the process performing the operation.
|
|
15
|
+
|
|
16
|
+
## `chroot`: Isolated Execution
|
|
17
|
+
|
|
18
|
+
`chroot` in ZenFS is implemented as a shortcut for creating a new execution context or modifying an existing one. The effective uid or gid of the current set of credentials object _must_ be 0, which ensures untrusted code given a `chroot`ed environment cannot escape.
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
import { fs } from '@zenfs/core';
|
|
22
|
+
|
|
23
|
+
const ctx = fs.chroot('/sandbox');
|
|
24
|
+
ctx.writeFileSync('/file.txt', 'Restricted');
|
|
25
|
+
console.log(ctx.readdirSync('/'));
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## User and Group ID Management via `configure`
|
|
29
|
+
|
|
30
|
+
ZenFS allows modifying user and group IDs (UID/GID) through configure. This allows you to use permissions, since by default the root user always has permission.
|
|
31
|
+
|
|
32
|
+
Example Configuration
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
await configure({ uid: 1001, gid: 1001 });
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Credentials Management
|
|
39
|
+
|
|
40
|
+
ZenFS maintains an internal credentials system, similar to the Linux `cred` struct, which defines the user and group ownership of operations.
|
|
41
|
+
|
|
42
|
+
## Contexts: Secure Execution Environments (kind of)
|
|
43
|
+
|
|
44
|
+
Contexts (`FSContext`/`BoundContext`) in ZenFS define isolated execution environments that enforce security constraints. Each context has:
|
|
45
|
+
|
|
46
|
+
- A root directory (enabling `chroot`-like isolation).
|
|
47
|
+
- Bound credentials that determine access permissions.
|
|
48
|
+
- A present working directory for the context
|
|
49
|
+
- A map of open files and their descriptors
|
|
50
|
+
- References to the parent and children contexts
|
|
51
|
+
|
|
52
|
+
**Example: Using a Context**
|
|
53
|
+
|
|
54
|
+
```ts
|
|
55
|
+
import { bindContext, fs } from '@zenfs/core';
|
|
56
|
+
|
|
57
|
+
const ctx = bindContext({ root: '/secure', uid: 333, gid: 333 });
|
|
58
|
+
|
|
59
|
+
ctx.writeFileSync('/data.txt', 'Restricted Access');
|
|
60
|
+
|
|
61
|
+
console.log(fs.readdirSync('/secure')); // ['data.txt']
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Contexts provide the fundamentals for building custom processes, the primary unit of execution in operating systems. By encapsulating a root directory and credentials, contexts allow for controlled access, process isolation, and flexible permission management. This design mirrors how modern OSes handle security and execution environments, enabling fine-grained control over filesystem interactions.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Virtual File System (VFS)
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
The Virtual File System (VFS) in ZenFS provides an abstraction layer that emulates the `node:fs` API, allowing applications to interact with files and directories in a unified manner. The VFS is responsible for handling path resolution, managing file system contexts, and mounting various storage backends.
|
|
8
|
+
|
|
9
|
+
### Path Translation and Resolution
|
|
10
|
+
|
|
11
|
+
The VFS converts user-provided paths into normalized absolute paths that the system can process. It also resolves which path corresponds to which mounted file system. This ensures compatibility with different storage backends and maintains a consistent structure across the system. Also, the VFS handles support for symlinks— which the internal API is unaware of.
|
|
12
|
+
|
|
13
|
+
### `node:fs` Emulation
|
|
14
|
+
|
|
15
|
+
The VFS provides a consistent API that mirrors Node.js's built-in file system module— down to full type compatibility!
|
|
16
|
+
|
|
17
|
+
### Contexts and permissions
|
|
18
|
+
|
|
19
|
+
_Main article: [Security](./security.md)_
|
|
20
|
+
|
|
21
|
+
Contexts in ZenFS encapsulate file system operations within an execution scope. In addition to changing the uid/gid, this allows the ability to effectively `chroot`.
|
|
22
|
+
|
|
23
|
+
### Mounts
|
|
24
|
+
|
|
25
|
+
ZenFS allows mounting multiple storage backends, enabling seamless access to diverse storage implementations. A mounted backend can be a local filesystem, an in-memory store, a cloud providers storage system (e.g. Google Drive), etc. The limit is your imagination. Some nice features include hot-swapping mounts and per-mount configurations.
|
|
26
|
+
|
|
27
|
+
### Files and File Descriptors
|
|
28
|
+
|
|
29
|
+
The VFS is also responsible for handling open files and file descriptors.
|
|
30
|
+
|
|
31
|
+
### Integration with Backends
|
|
32
|
+
|
|
33
|
+
_Main article: [Backends](./backends.md)_
|
|
34
|
+
|
|
35
|
+
The VFS does not directly interact with storage media but instead routes all file operations to the appropriate backend. This design ensures modularity and simplifies the addition of new storage backends.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Dual MIT/Apache-2.0 License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024-2026 Jay Mathis <code@mathis.network>
|
|
4
|
+
|
|
5
|
+
Except as otherwise noted in individual files, this software is licensed under the MIT license (<http://opensource.org/licenses/MIT>), or the Apache License, Version 2.0 (<http://www.apache.org/licenses/LICENSE-2.0>).
|
|
6
|
+
|
|
7
|
+
Downstream projects and end users may choose either license individually, or both together, at their discretion. The motivation for this dual-licensing is the additional software patent assurance provided by Apache 2.0.
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
Copyright (c) 2024-2026 Jay Mathis <code@mathis.network>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024-2026 Jay Mathis <code@mathis.network>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|