Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1import {type ChildProcess} from 'node:child_process';2 3export type Options = {4 /**5 Wait for the opened app to exit before fulfilling the promise. If `false` it's fulfilled immediately when opening the app.6 7 Note that it waits for the app to exit, not just for the window to close.8 9 On Windows, you have to explicitly specify an app for it to be able to wait.10 11 @default false12 */13 readonly wait?: boolean;14 15 /**16 __macOS only__17 18 Do not bring the app to the foreground.19 20 @default false21 */22 readonly background?: boolean;23 24 /**25 __macOS only__26 27 Open a new instance of the app even it's already running.28 29 A new instance is always opened on other platforms.30 31 @default false32 */33 readonly newInstance?: boolean;34 35 /**36 Specify the `name` of the app to open the `target` with, and optionally, app `arguments`. `app` can be an array of apps to try to open and `name` can be an array of app names to try. If each app fails, the last error will be thrown.37 38 The app name is platform dependent. Don't hard code it in reusable modules. For example, Chrome is `google chrome` on macOS, `google-chrome` on Linux and `chrome` on Windows. If possible, use `apps` which auto-detects the correct binary to use.39 40 You may also pass in the app's full path. For example on WSL, this can be `/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe` for the Windows installation of Chrome.41 42 The app `arguments` are app dependent. Check the app's documentation for what arguments it accepts.43 */44 readonly app?: App | readonly App[];45 46 /**47 Allow the opened app to exit with nonzero exit code when the `wait` option is `true`.48 49 We do not recommend setting this option. The convention for success is exit code zero.50 51 @default false52 */53 readonly allowNonzeroExitCode?: boolean;54};55 56export type OpenAppOptions = {57 /**58 Arguments passed to the app.59 60 These arguments are app dependent. Check the app's documentation for what arguments it accepts.61 */62 readonly arguments?: readonly string[];63} & Omit<Options, 'app'>;64 65export type AppName =66 | 'chrome'67 | 'brave'68 | 'firefox'69 | 'edge'70 | 'browser'71 | 'browserPrivate';72 73export type App = {74 name: string | readonly string[];75 arguments?: readonly string[];76};77 78/**79An object containing auto-detected binary names for common apps. Useful to work around cross-platform differences.80 81@example82```83import open, {apps} from 'open';84 85await open('https://google.com', {86 app: {87 name: apps.chrome88 }89});90```91*/92export const apps: Record<AppName, string | readonly string[]>;93 94/**95Open stuff like URLs, files, executables. Cross-platform.96 97Uses the command `open` on macOS, `start` on Windows and `xdg-open` on other platforms.98 99There is a caveat for [double-quotes on Windows](https://github.com/sindresorhus/open#double-quotes-on-windows) where all double-quotes are stripped from the `target`.100 101@param target - The thing you want to open. Can be a URL, file, or executable. Opens in the default app for the file type. For example, URLs open in your default browser.102@returns The [spawned child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess). You would normally not need to use this for anything, but it can be useful if you'd like to attach custom event listeners or perform other operations directly on the spawned process.103 104@example105```106import open, {apps} from 'open';107 108// Opens the image in the default image viewer.109await open('unicorn.png', {wait: true});110console.log('The image viewer app quit');111 112// Opens the URL in the default browser.113await open('https://sindresorhus.com');114 115// Opens the URL in a specified browser.116await open('https://sindresorhus.com', {app: {name: 'firefox'}});117 118// Specify app arguments.119await open('https://sindresorhus.com', {app: {name: 'google chrome', arguments: ['--incognito']}});120 121// Opens the URL in the default browser in incognito mode.122await open('https://sindresorhus.com', {app: {name: apps.browserPrivate}});123```124*/125export default function open(126 target: string,127 options?: Options128): Promise<ChildProcess>;129 130/**131Open an app. Cross-platform.132 133Uses the command `open` on macOS, `start` on Windows and `xdg-open` on other platforms.134 135@param name - The app you want to open. Can be either builtin supported `apps` names or other name supported in platform.136@returns The [spawned child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess). You would normally not need to use this for anything, but it can be useful if you'd like to attach custom event listeners or perform other operations directly on the spawned process.137 138@example139```140import open, {openApp, apps} from 'open';141 142// Open Firefox.143await openApp(apps.firefox);144 145// Open Chrome in incognito mode.146await openApp(apps.chrome, {arguments: ['--incognito']});147 148// Open default browser.149await openApp(apps.browser);150 151// Open default browser in incognito mode.152await openApp(apps.browserPrivate);153 154// Open Xcode.155await openApp('xcode');156```157*/158export function openApp(name: App['name'], options?: OpenAppOptions): Promise<ChildProcess>;159 