Skip to content

Commit e9e2612

Browse files
chore: Update fff to 0.9.4 (#31583)
1 parent 4ae468f commit e9e2612

5 files changed

Lines changed: 19 additions & 14 deletions

File tree

bun.lock

Lines changed: 11 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli/script/build.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ for (const item of targets) {
9292
OPENCODE_MODELS_DEV: modelsData,
9393
OPENCODE_CHANNEL: `'${Script.channel}'`,
9494
OPENCODE_LIBC: item.os === "linux" ? `'${item.abi ?? "glibc"}'` : "undefined",
95+
// FFF_LIBC selects the fff native lib variant: "musl" or "gnu".
96+
FFF_LIBC: item.os === "linux" ? `'${item.abi ?? "gnu"}'` : "undefined",
9597
OTUI_TREE_SITTER_WORKER_PATH:
9698
(item.os === "win32" ? '"B:/~BUN/root/' : '"/$bunfs/root/') +
9799
path.relative(dir, parserWorker).replaceAll("\\", "/") +

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"@effect/platform-node": "catalog:",
8686
"@effect/sql-sqlite-bun": "catalog:",
8787
"@lydell/node-pty": "catalog:",
88-
"@ff-labs/fff-bun": "0.9.3",
88+
"@ff-labs/fff-bun": "0.9.4",
8989
"@npmcli/arborist": "9.4.0",
9090
"@npmcli/config": "10.8.1",
9191
"@opencode-ai/effect-drizzle-sqlite": "workspace:*",

packages/core/src/filesystem/fff.bun.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ import {
1212
type SearchResult,
1313
} from "@ff-labs/fff-bun"
1414

15+
declare global {
16+
const FFF_LIBC: "gnu" | "musl"
17+
}
18+
1519
export type Result<T> = { ok: true; value: T } | { ok: false; error: string }
1620

1721
export type Init = InitOptions

packages/opencode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"@clack/prompts": "1.0.0-alpha.1",
7979
"@effect/opentelemetry": "catalog:",
8080
"@effect/platform-node": "catalog:",
81-
"@ff-labs/fff-bun": "0.9.3",
81+
"@ff-labs/fff-bun": "0.9.4",
8282
"@gitlab/opencode-gitlab-auth": "1.3.3",
8383
"@modelcontextprotocol/sdk": "1.29.0",
8484
"@octokit/graphql": "9.0.2",

0 commit comments

Comments
 (0)