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

@@ -71,19 +71,18 @@ export class ProcessManager {
// Start the opencode serve process (headless server, no browser)
// OpenCode is initialized with the vault directory as the project
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,
cwd: this.workingDirectory,
projectDirectory: this.projectDirectory,
});
this.process = spawn(
this.settings.opencodePath,
[
"serve",
this.projectDirectory,
"--port",
this.settings.port.toString(),
"--hostname",