core: generate type definitions for node import
This commit is contained in:
parent
847fc9d268
commit
407825bdad
17 changed files with 129 additions and 61496 deletions
|
|
@ -33,12 +33,10 @@ export function setWslConfig(config: WslConfig) {
|
|||
export async function spawnLocalServer(hostname: string, port: number, password: string) {
|
||||
prepareServerEnv(password)
|
||||
const { Log, Server } = await import("virtual:opencode-server")
|
||||
await Log.init({ level: "WARN" })
|
||||
await Log.init({ level: "WARN", print: true })
|
||||
const listener = await Server.listen({
|
||||
port,
|
||||
hostname,
|
||||
username: "opencode",
|
||||
password,
|
||||
})
|
||||
|
||||
const wait = (async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue