├── .eslintignore ├── .eslintrc.json ├── .github └── workflows │ └── cla.yml ├── .gitignore ├── .nvmrc ├── .prettierrc.json ├── .vscode ├── extensions.json └── settings.json ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── package.json ├── src ├── FileData.ts ├── ProgressBar.ts ├── SimpleFileData.ts ├── architectureStylizations.ts ├── cliPref.ts ├── compareVersions.test.ts ├── compareVersions.ts ├── confirm.ts ├── createClient.ts ├── downloadPbUpdater.ts ├── ensureAuthenticated.ts ├── exists.ts ├── findProjectFolder.ts ├── formatElapsedTime.ts ├── formatSizeBytes1000.ts ├── handleDownloadWithProgressBar.ts ├── index.ts ├── lmstudioPaths.ts ├── logLevel.ts ├── openUrl.ts ├── prompt.ts ├── stderrConsole.ts ├── subcommands │ ├── bootstrap.ts │ ├── chat │ │ ├── index.ts │ │ └── util.ts │ ├── clone.ts │ ├── create.ts │ ├── daemon │ │ ├── down.ts │ │ ├── index.ts │ │ ├── shared.ts │ │ ├── status.ts │ │ ├── up.ts │ │ └── update.ts │ ├── dev │ │ ├── DenoPluginProcess.ts │ │ ├── NodePluginProcess.ts │ │ ├── PluginProcess.ts │ │ └── index.ts │ ├── flags.ts │ ├── get.ts │ ├── importCmd.ts │ ├── list.ts │ ├── load.ts │ ├── log.ts │ ├── login.ts │ ├── push.ts │ ├── runtime │ │ ├── get.ts │ │ ├── helpers │ │ │ ├── findLatestVersion.ts │ │ │ ├── invertSelections.ts │ │ │ ├── resolveRuntimeExtensions.ts │ │ │ └── runtimeExtensionDownload.ts │ │ ├── index.ts │ │ ├── list.ts │ │ ├── remove.ts │ │ ├── select.ts │ │ └── update.ts │ ├── server.ts │ ├── status.ts │ ├── unload.ts │ └── version.ts └── types │ ├── UserInputError.ts │ └── refinedNumber.ts └── tsconfig.json /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/cla.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/.github/workflows/cla.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v20.12.2 2 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/package.json -------------------------------------------------------------------------------- /src/FileData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/FileData.ts -------------------------------------------------------------------------------- /src/ProgressBar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/ProgressBar.ts -------------------------------------------------------------------------------- /src/SimpleFileData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/SimpleFileData.ts -------------------------------------------------------------------------------- /src/architectureStylizations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/architectureStylizations.ts -------------------------------------------------------------------------------- /src/cliPref.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/cliPref.ts -------------------------------------------------------------------------------- /src/compareVersions.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/compareVersions.test.ts -------------------------------------------------------------------------------- /src/compareVersions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/compareVersions.ts -------------------------------------------------------------------------------- /src/confirm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/confirm.ts -------------------------------------------------------------------------------- /src/createClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/createClient.ts -------------------------------------------------------------------------------- /src/downloadPbUpdater.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/downloadPbUpdater.ts -------------------------------------------------------------------------------- /src/ensureAuthenticated.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/ensureAuthenticated.ts -------------------------------------------------------------------------------- /src/exists.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/exists.ts -------------------------------------------------------------------------------- /src/findProjectFolder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/findProjectFolder.ts -------------------------------------------------------------------------------- /src/formatElapsedTime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/formatElapsedTime.ts -------------------------------------------------------------------------------- /src/formatSizeBytes1000.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/formatSizeBytes1000.ts -------------------------------------------------------------------------------- /src/handleDownloadWithProgressBar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/handleDownloadWithProgressBar.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/lmstudioPaths.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/lmstudioPaths.ts -------------------------------------------------------------------------------- /src/logLevel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/logLevel.ts -------------------------------------------------------------------------------- /src/openUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/openUrl.ts -------------------------------------------------------------------------------- /src/prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/prompt.ts -------------------------------------------------------------------------------- /src/stderrConsole.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/stderrConsole.ts -------------------------------------------------------------------------------- /src/subcommands/bootstrap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/bootstrap.ts -------------------------------------------------------------------------------- /src/subcommands/chat/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/chat/index.ts -------------------------------------------------------------------------------- /src/subcommands/chat/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/chat/util.ts -------------------------------------------------------------------------------- /src/subcommands/clone.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/clone.ts -------------------------------------------------------------------------------- /src/subcommands/create.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/create.ts -------------------------------------------------------------------------------- /src/subcommands/daemon/down.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/daemon/down.ts -------------------------------------------------------------------------------- /src/subcommands/daemon/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/daemon/index.ts -------------------------------------------------------------------------------- /src/subcommands/daemon/shared.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/daemon/shared.ts -------------------------------------------------------------------------------- /src/subcommands/daemon/status.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/daemon/status.ts -------------------------------------------------------------------------------- /src/subcommands/daemon/up.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/daemon/up.ts -------------------------------------------------------------------------------- /src/subcommands/daemon/update.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/daemon/update.ts -------------------------------------------------------------------------------- /src/subcommands/dev/DenoPluginProcess.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/dev/DenoPluginProcess.ts -------------------------------------------------------------------------------- /src/subcommands/dev/NodePluginProcess.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/dev/NodePluginProcess.ts -------------------------------------------------------------------------------- /src/subcommands/dev/PluginProcess.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/dev/PluginProcess.ts -------------------------------------------------------------------------------- /src/subcommands/dev/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/dev/index.ts -------------------------------------------------------------------------------- /src/subcommands/flags.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/flags.ts -------------------------------------------------------------------------------- /src/subcommands/get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/get.ts -------------------------------------------------------------------------------- /src/subcommands/importCmd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/importCmd.ts -------------------------------------------------------------------------------- /src/subcommands/list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/list.ts -------------------------------------------------------------------------------- /src/subcommands/load.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/load.ts -------------------------------------------------------------------------------- /src/subcommands/log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/log.ts -------------------------------------------------------------------------------- /src/subcommands/login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/login.ts -------------------------------------------------------------------------------- /src/subcommands/push.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/push.ts -------------------------------------------------------------------------------- /src/subcommands/runtime/get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/runtime/get.ts -------------------------------------------------------------------------------- /src/subcommands/runtime/helpers/findLatestVersion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/runtime/helpers/findLatestVersion.ts -------------------------------------------------------------------------------- /src/subcommands/runtime/helpers/invertSelections.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/runtime/helpers/invertSelections.ts -------------------------------------------------------------------------------- /src/subcommands/runtime/helpers/resolveRuntimeExtensions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/runtime/helpers/resolveRuntimeExtensions.ts -------------------------------------------------------------------------------- /src/subcommands/runtime/helpers/runtimeExtensionDownload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/runtime/helpers/runtimeExtensionDownload.ts -------------------------------------------------------------------------------- /src/subcommands/runtime/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/runtime/index.ts -------------------------------------------------------------------------------- /src/subcommands/runtime/list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/runtime/list.ts -------------------------------------------------------------------------------- /src/subcommands/runtime/remove.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/runtime/remove.ts -------------------------------------------------------------------------------- /src/subcommands/runtime/select.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/runtime/select.ts -------------------------------------------------------------------------------- /src/subcommands/runtime/update.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/runtime/update.ts -------------------------------------------------------------------------------- /src/subcommands/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/server.ts -------------------------------------------------------------------------------- /src/subcommands/status.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/status.ts -------------------------------------------------------------------------------- /src/subcommands/unload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/unload.ts -------------------------------------------------------------------------------- /src/subcommands/version.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/subcommands/version.ts -------------------------------------------------------------------------------- /src/types/UserInputError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/types/UserInputError.ts -------------------------------------------------------------------------------- /src/types/refinedNumber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/src/types/refinedNumber.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lmstudio-ai/lms/HEAD/tsconfig.json --------------------------------------------------------------------------------