mirror of
https://github.com/lmstudio-ai/lms.git
synced 2025-09-23 09:44:09 +08:00
Transition to rollup to support exports (#106)
* Use .js for imports * WIP * WIP * Finish transitioning to esm * Disable experimental commands * Bring back bootstrap
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import { SimpleLogger, text, Validator } from "@lmstudio/lms-common";
|
||||
import { EsPluginRunnerWatcher, UtilBinary } from "@lmstudio/lms-es-plugin-runner";
|
||||
import { pluginManifestSchema } from "@lmstudio/lms-shared-types/dist/PluginManifest";
|
||||
import { EsPluginRunnerWatcher } from "@lmstudio/lms-es-plugin-runner/runner-watcher";
|
||||
import { UtilBinary } from "@lmstudio/lms-es-plugin-runner/util-binary";
|
||||
import { pluginManifestSchema } from "@lmstudio/lms-shared-types";
|
||||
import {
|
||||
type LMStudioClient,
|
||||
type PluginManifest,
|
||||
@ -11,12 +12,12 @@ import { boolean, command, flag } from "cmd-ts";
|
||||
import { cp, mkdir, readFile } from "fs/promises";
|
||||
import { join } from "path";
|
||||
import { cwd } from "process";
|
||||
import { askQuestion } from "../confirm";
|
||||
import { createClient, createClientArgs } from "../createClient";
|
||||
import { exists } from "../exists";
|
||||
import { findProjectFolderOrExit } from "../findProjectFolder";
|
||||
import { pluginsFolderPath } from "../lmstudioPaths";
|
||||
import { createLogger, logLevelArgs } from "../logLevel";
|
||||
import { askQuestion } from "../confirm.js";
|
||||
import { createClient, createClientArgs } from "../createClient.js";
|
||||
import { exists } from "../exists.js";
|
||||
import { findProjectFolderOrExit } from "../findProjectFolder.js";
|
||||
import { pluginsFolderPath } from "../lmstudioPaths.js";
|
||||
import { createLogger, logLevelArgs } from "../logLevel.js";
|
||||
|
||||
type PluginProcessStatus = "stopped" | "starting" | "running" | "restarting";
|
||||
|
||||
|
Reference in New Issue
Block a user