@hudhod/core 1.0.0 → 1.1.0
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/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -977,6 +977,7 @@ interface CreateHudhodRuntimeOptions {
|
|
|
977
977
|
readonly version?: string;
|
|
978
978
|
readonly workspace?: WorkspaceApi;
|
|
979
979
|
readonly terminal?: TerminalApi;
|
|
980
|
+
readonly workspaceConfig?: WorkspaceConfig;
|
|
980
981
|
}
|
|
981
982
|
/** Creates an environment-agnostic Hudhod runtime from host-provided adapters. */
|
|
982
983
|
declare function createHudhodRuntime(options: CreateHudhodRuntimeOptions): HudhodRuntime;
|
package/dist/index.js
CHANGED
|
@@ -1966,7 +1966,7 @@ const unavailableTerminal = {
|
|
|
1966
1966
|
};
|
|
1967
1967
|
/** Creates an environment-agnostic Hudhod runtime from host-provided adapters. */
|
|
1968
1968
|
function createHudhodRuntime(options) {
|
|
1969
|
-
const fs = new FileSystemService(options.fileSystemProvider);
|
|
1969
|
+
const fs = new FileSystemService(options.fileSystemProvider, { config: options.workspaceConfig });
|
|
1970
1970
|
const process = new ProcessService(options.processSpawner);
|
|
1971
1971
|
const commands = new CommandRegistry();
|
|
1972
1972
|
const keybindings = new KeybindingRegistry(options.platform ?? "other");
|
package/package.json
CHANGED