GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: merge main into creator/443-internal-whitespace (pick up #447/… · developing-today-forks/opencode@f09361b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • ROADMAP.md
  • packages
    • client/src/promise/generated
      • types.ts
    • cli
      • src
        • acp
          • permission.ts
        • commands/handlers
          • acp.ts
        • cpu-profile.ts
      • test
        • import-boundaries.test.ts
    • core/test/config
      • normalization.test.ts
    • tui/test/mini
      • footer.view.test.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎ROADMAP.md‎

Copy file name to clipboardExpand all lines: ROADMAP.md
+8Lines changed: 8 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ No open items. The daily Jules sync issue (#41) closed as transient on 2026-10-2
7575

7676
| Title | Date | Result |
7777
| ---------------------------------------------------------------- | ---------- | -------- |
78+
| ROADMAP Done records the #442, #447 and #450 completions | 2026-10-25 | #455 |
79+
| Generated client regenerated for ConfigEntry aliases | 2026-10-25 | #451 |
80+
| TUI footer test fixture gains label and description | 2026-10-25 | #449 |
81+
| Node build drops Bun globals from ACP and CPU-profile paths | 2026-10-25 | #448 |
82+
| ROADMAP Done records the #435-#438 completions | 2026-10-25 | #446 |
83+
| Import handlers read files with node fs, not Bun.file | 2026-10-25 | #441 |
84+
| ModelAlias rejects padded and empty reference segments | 2026-10-25 | #440 |
85+
| ROADMAP Done records the #432 completion | 2026-10-25 | #439 |
7886
| ROADMAP Done records the #432 completion | 2026-10-25 | #433 |
7987
| ROADMAP Done records the #429 completion | 2026-10-25 | #430 |
8088
| ROADMAP Done records the #426 completion | 2026-10-25 | #427 |
Collapse file

‎packages/cli/src/acp/permission.ts‎

Copy file name to clipboardExpand all lines: packages/cli/src/acp/permission.ts
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import type { Permission } from "@opencode/schema/permission"
55
import { Patch } from "@opencode/util/patch"
66
import { applyPatch, parsePatch, reversePatch, structuredPatch, type StructuredPatch } from "diff"
77
import { Effect, Option, Schema } from "effect"
8+
import { readFile } from "node:fs/promises"
89
import { ACPChild } from "./child"
910
import { ACPClient } from "./client"
1011
import type { ACPConnection } from "./connection"
@@ -93,7 +94,7 @@ export const withCompletedDiffs = Effect.fnUntraced(function* (
9394
(file) =>
9495
Effect.gen(function* () {
9596
const path = absolutePath(file.file, cwd)
96-
const newText = file.status === "deleted" ? "" : yield* Effect.tryPromise(() => Bun.file(path).text())
97+
const newText = file.status === "deleted" ? "" : yield* Effect.tryPromise(() => readFile(path, "utf8"))
9798
if (file.status === "added") return [diff(path, null, newText)]
9899
const recorded = parsePatch(file.patch)[0]
99100
if (!recorded) return []
@@ -134,7 +135,7 @@ const permissionPreviews = Effect.fnUntraced(function* (
134135
(file) =>
135136
Effect.gen(function* () {
136137
const path = absolutePath(file.file, cwd)
137-
const oldText = file.status === "added" ? null : yield* Effect.tryPromise(() => Bun.file(path).text())
138+
const oldText = file.status === "added" ? null : yield* Effect.tryPromise(() => readFile(path, "utf8"))
138139
const newText = yield* Effect.try(() => applyPatch(oldText ?? "", file.patch))
139140
return newText === false ? [] : [diff(path, oldText, newText)]
140141
}),
@@ -153,7 +154,7 @@ function patchPreviews(input: ToolInput, cwd: string) {
153154
const newText = hunk.contents.endsWith("\n") || hunk.contents === "" ? hunk.contents : `${hunk.contents}\n`
154155
return diff(path, null, newText)
155156
}
156-
const oldText = yield* Effect.tryPromise(() => Bun.file(path).text())
157+
const oldText = yield* Effect.tryPromise(() => readFile(path, "utf8"))
157158
if (hunk.type === "delete") return diff(path, oldText, "")
158159
const derived = yield* Effect.try(() => Patch.derive(hunk.path, hunk.chunks, oldText))
159160
return diff(hunk.movePath ? absolutePath(hunk.movePath, cwd) : path, oldText, derived.content)
Collapse file

‎packages/cli/src/commands/handlers/acp.ts‎

Copy file name to clipboardExpand all lines: packages/cli/src/commands/handlers/acp.ts
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Service } from "@opencode/client/effect/service"
44
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner"
55
import { Effect, Option } from "effect"
66
import { FetchHttpClient, HttpClient, HttpClientRequest } from "effect/http"
7-
import { Writable } from "node:stream"
7+
import { Readable, Writable } from "node:stream"
88
import { ACP } from "../../acp/agent"
99
import { Commands } from "../commands"
1010
import { Runtime } from "../../framework/runtime"
@@ -34,7 +34,9 @@ export default Runtime.handler(
3434
),
3535
Effect.provide(FetchHttpClient.layer),
3636
)
37-
const connection = yield* ACP.connect(client, ndJsonStream(Writable.toWeb(process.stdout), Bun.stdin.stream()))
37+
// Node types `Readable.toWeb` as `ReadableStream<any>`; stdin is a byte stream, as `ndJsonStream` expects.
38+
const stdin = Readable.toWeb(process.stdin) as unknown as ReadableStream<Uint8Array>
39+
const connection = yield* ACP.connect(client, ndJsonStream(Writable.toWeb(process.stdout), stdin))
3840
const failure = yield* Effect.raceFirst(
3941
Effect.promise(() => connection.closed).pipe(
4042
Effect.map(() =>
Collapse file

‎packages/cli/src/cpu-profile.ts‎

Copy file name to clipboardExpand all lines: packages/cli/src/cpu-profile.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export * as CpuProfile from "./cpu-profile"
22

33
import { Global } from "@opencode/util/global"
44
import { Effect, FileSystem, Queue } from "effect"
5+
import { writeFile } from "node:fs/promises"
56
import { Session } from "node:inspector"
67
import path from "node:path"
78

@@ -51,7 +52,7 @@ function run<A, E, R>(file: string, effect: Effect.Effect<A, E, R>) {
5152
session.post("Profiler.stop", (error, result) => {
5253
session.disconnect()
5354
if (error) return reject(error)
54-
Bun.write(target, JSON.stringify(result.profile)).then(() => resolve(), reject)
55+
writeFile(target, JSON.stringify(result.profile)).then(() => resolve(), reject)
5556
})
5657
}),
5758
).pipe(
Collapse file

‎packages/cli/test/import-boundaries.test.ts‎

Copy file name to clipboardExpand all lines: packages/cli/test/import-boundaries.test.ts
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ describe("CLI frontend import boundaries", () => {
2525
expect(imports).toEqual([])
2626
})
2727

28+
test("does not reference the Bun global in CLI runtime code", async () => {
29+
const glob = new Bun.Glob("src/**/*.{ts,tsx}")
30+
const offenders: string[] = []
31+
for await (const file of glob.scan({ cwd: path.join(root, "packages/cli") })) {
32+
if (/\.test\.(ts|tsx)$/.test(file)) continue
33+
const source = await Bun.file(path.join(root, "packages/cli", file)).text()
34+
if (/\bBun\./.test(source)) offenders.push(file)
35+
}
36+
expect(offenders).toEqual([])
37+
})
38+
2839
test("exposes only the intentional package entrypoints", async () => {
2940
const run = await import("@opencode/cli/run")
3041
const mini = await import("@opencode/tui/mini")
Collapse file

‎packages/client/src/promise/generated/types.ts‎

Copy file name to clipboardExpand all lines: packages/client/src/promise/generated/types.ts
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2637,7 +2637,17 @@ export type ConfigEntry =
26372637
}
26382638
}
26392639
}
2640+
aliases?: {
2641+
providers?: { [x: string]: string }
2642+
models?: { [x: string]: string }
2643+
variants?: { [x: string]: string }
2644+
}
26402645
experimental?: {
2646+
aliases?: {
2647+
providers?: { [x: string]: string }
2648+
models?: { [x: string]: string }
2649+
variants?: { [x: string]: string }
2650+
}
26412651
portable_shell_scanner?: boolean
26422652
subagent_depth?: number
26432653
shell_timeout?: number
Collapse file

‎packages/core/test/config/normalization.test.ts‎

Copy file name to clipboardExpand all lines: packages/core/test/config/normalization.test.ts
+15Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,21 @@ function withoutEmptyCompatibilityContainers(input: Record<string, unknown>) {
5555
if (!Object.keys(experimental).length) delete result.experimental
5656
}
5757
}
58+
// Deprecated experimental aliases normalize into top-level aliases (a top-level
59+
// aliases block wins when both are present, matching normalizeAliases).
60+
if (typeof result.experimental === "object" && result.experimental !== null && !Array.isArray(result.experimental)) {
61+
const experimental = result.experimental as Record<string, unknown>
62+
if (
63+
typeof experimental.aliases === "object" &&
64+
experimental.aliases !== null &&
65+
!Array.isArray(experimental.aliases)
66+
) {
67+
if (typeof result.aliases !== "object" || result.aliases === null || Array.isArray(result.aliases))
68+
result.aliases = experimental.aliases
69+
delete experimental.aliases
70+
if (!Object.keys(experimental).length) delete result.experimental
71+
}
72+
}
5873
return result
5974
}
6075

Collapse file

‎packages/tui/test/mini/footer.view.test.tsx‎

Copy file name to clipboardExpand all lines: packages/tui/test/mini/footer.view.test.tsx
+10-1Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,16 @@ test("direct footer preserves a partial multi-field form draft across permission
585585
height: 16,
586586
view: { type: "form", request },
587587
subagents: {
588-
tabs: [{ sessionID: "ses_child", title: "My Subagent", status: "running", background: false }],
588+
tabs: [
589+
{
590+
sessionID: "ses_child",
591+
title: "My Subagent",
592+
label: "My Subagent",
593+
description: "Deployment form",
594+
status: "running",
595+
background: false,
596+
},
597+
],
589598
details: {}, permissions: [], forms: []
590599
}
591600
})

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.