Add OpenSpec foudnation

This commit is contained in:
Mateusz Tymek
2026-01-04 21:32:03 +00:00
parent 13dcd8bb5a
commit 6a24431c1b
9 changed files with 697 additions and 9 deletions

View File

@@ -439,18 +439,17 @@ var ProcessManager = class {
this.setState("running");
return true;
}
console.log("[OpenCode] Starting server with vault:", {
vaultDirectory: this.projectDirectory,
workingDirectory: this.workingDirectory,
console.log("[OpenCode] Starting server:", {
opencodePath: this.settings.opencodePath,
port: this.settings.port,
hostname: this.settings.hostname
hostname: this.settings.hostname,
cwd: this.workingDirectory,
projectDirectory: this.projectDirectory
});
this.process = (0, import_child_process.spawn)(
this.settings.opencodePath,
[
"serve",
this.projectDirectory,
"--port",
this.settings.port.toString(),
"--hostname",