Allow configuring starting dir

This commit is contained in:
Mateusz Tymek
2026-01-03 20:28:35 +00:00
parent 794317dbc7
commit c12fa12419
5 changed files with 186 additions and 10 deletions

View File

@@ -25,10 +25,14 @@ export class ProcessManager {
this.onStateChange = onStateChange;
}
updateSettings(settings: OpenCodeSettings) {
updateSettings(settings: OpenCodeSettings): void {
this.settings = settings;
}
updateProjectDirectory(directory: string): void {
this.projectDirectory = directory;
}
getState(): ProcessState {
return this.state;
}