summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-16 03:42:25 +0000
committeropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-16 03:42:25 +0000
commit225a769411f35a0e2dd357589374766dae77ae6a (patch)
treefaead9650a21bc46f22b421034f5bf14a530eb1d
parent0e2038239699b430595980be2939c08c5e4cde93 (diff)
downloadopencode-225a769411f35a0e2dd357589374766dae77ae6a.tar.gz
opencode-225a769411f35a0e2dd357589374766dae77ae6a.zip
chore: generate
-rw-r--r--packages/opencode/src/lsp/server.ts4
-rw-r--r--packages/opencode/src/project/project.ts7
2 files changed, 3 insertions, 8 deletions
diff --git a/packages/opencode/src/lsp/server.ts b/packages/opencode/src/lsp/server.ts
index 25aaaa36a..390c5f242 100644
--- a/packages/opencode/src/lsp/server.ts
+++ b/packages/opencode/src/lsp/server.ts
@@ -457,9 +457,7 @@ export const Ty: Info = {
if (!binary) {
for (const venvPath of potentialVenvPaths) {
const isWindows = process.platform === "win32"
- const potentialTyPath = isWindows
- ? path.join(venvPath, "Scripts", "ty.exe")
- : path.join(venvPath, "bin", "ty")
+ const potentialTyPath = isWindows ? path.join(venvPath, "Scripts", "ty.exe") : path.join(venvPath, "bin", "ty")
if (await Filesystem.exists(potentialTyPath)) {
binary = potentialTyPath
break
diff --git a/packages/opencode/src/project/project.ts b/packages/opencode/src/project/project.ts
index 050951a60..f838d9ab4 100644
--- a/packages/opencode/src/project/project.ts
+++ b/packages/opencode/src/project/project.ts
@@ -54,9 +54,7 @@ type Row = typeof ProjectTable.$inferSelect
export function fromRow(row: Row): Info {
const icon =
- row.icon_url || row.icon_color
- ? { url: row.icon_url ?? undefined, color: row.icon_color ?? undefined }
- : undefined
+ row.icon_url || row.icon_color ? { url: row.icon_url ?? undefined, color: row.icon_color ?? undefined } : undefined
return {
id: row.id,
worktree: row.worktree,
@@ -256,8 +254,7 @@ export const layer: Layer.Layer<
time: { created: Date.now(), updated: Date.now() },
}
- if (Flag.OPENCODE_EXPERIMENTAL_ICON_DISCOVERY)
- yield* discover(existing).pipe(Effect.ignore, Effect.forkIn(scope))
+ if (Flag.OPENCODE_EXPERIMENTAL_ICON_DISCOVERY) yield* discover(existing).pipe(Effect.ignore, Effect.forkIn(scope))
const result: Info = {
...existing,