We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
init:
1 parent d0a48a0 commit 5a9f4e5Copy full SHA for 5a9f4e5
packages/opencode/src/cli/cmd/tui/worker.ts
@@ -2,6 +2,7 @@ import { Installation } from "@/installation"
2
import { Server } from "@/server/server"
3
import { Log } from "@/util/log"
4
import { Instance } from "@/project/instance"
5
+import { InstanceBootstrap } from "@/project/bootstrap"
6
import { Rpc } from "@/util/rpc"
7
import { upgrade } from "@/cli/upgrade"
8
@@ -43,6 +44,7 @@ export const rpc = {
43
44
async checkUpgrade(input: { directory: string }) {
45
await Instance.provide({
46
directory: input.directory,
47
+ init: InstanceBootstrap,
48
fn: async () => {
49
await upgrade().catch(() => {})
50
},
0 commit comments