Dax Raad
af72010e9f
Revert "refactor: migrate from Bun.Glob to npm glob package"
...
This reverts commit 3c21735b35f779d69a5458b1fa5fada49fb7decb.
2026-02-19 12:48:43 -05:00
Dax Raad
3c21735b35
refactor: migrate from Bun.Glob to npm glob package
...
Replace Bun.Glob usage with a new Glob utility wrapper around the npm 'glob' package.
This moves us off Bun-specific APIs toward standard Node.js compatible solutions.
Changes:
- Add new src/util/glob.ts utility module with scan(), scanSync(), and match()
- Default include option is 'file' (only returns files, not directories)
- Add symlink option (default: false) to control symlink following
- Migrate all 12 files using Bun.Glob to use the new Glob utility
- Add comprehensive tests for the glob utility
Breaking changes:
- Removed support for include: 'dir' option (use include: 'all' and filter manually)
- symlink now defaults to false (was true in most Bun.Glob usages)
Files migrated:
- src/util/log.ts
- src/util/filesystem.ts
- src/tool/truncation.ts
- src/session/instruction.ts
- src/storage/json-migration.ts
- src/storage/storage.ts
- src/project/project.ts
- src/cli/cmd/tui/context/theme.tsx
- src/config/config.ts
- src/tool/registry.ts
- src/skill/skill.ts
- src/file/ignore.ts
2026-02-19 12:34:18 -05:00
Dax
02a9495063
Remove use of Bun.file ( #14215 )
2026-02-19 11:32:32 -05:00
Adam
8ebdbe0ea2
fix(core): text files missclassified as binary
2026-02-19 07:32:58 -06:00
Brendan Allan
885d71636f
desktop: fetch defaultServer at top level
2026-02-19 21:14:59 +08:00
Adam
d07f09925f
fix(app): terminal rework ( #14217 )
2026-02-19 06:35:14 -06:00
Aiden Cline
308e500832
tweak: bake in the aws and google auth pkgs ( #14241 )
2026-02-19 00:31:33 -06:00
opencode-agent[bot]
4b878f6aeb
chore: generate
2026-02-19 05:19:18 +00:00
Ariane Emory
1893473148
fix: token substitution in OPENCODE_CONFIG_CONTENT (alternate take) ( #14047 )
2026-02-18 23:18:24 -06:00
Dax Raad
11a37834c2
tui: ensure onExit callback fires after terminal output is written
2026-02-18 20:43:50 -05:00
Dax Raad
568eccb4c6
Revert: all refactor commits migrating from Bun.file() to Filesystem module
2026-02-18 19:41:14 -05:00
Dax
3a07dd8d96
refactor: migrate src/project/project.ts from Bun.file() to Filesystem/stat modules ( #14126 )
2026-02-18 19:37:10 -05:00
Dax
14c0989411
refactor: migrate src/tool/read.ts from Bun.file() to Filesystem module ( #14118 )
2026-02-18 19:29:11 -05:00
Dax
36bc07a5af
refactor: migrate src/tool/write.ts from Bun.file() to Filesystem module ( #14119 )
2026-02-18 19:27:11 -05:00
Dax
270b807cdf
refactor: migrate src/tool/edit.ts from Bun.file() to Filesystem module ( #14120 )
2026-02-18 19:26:45 -05:00
Dax
bd52ce5640
refactor: migrate remaining tool files from Bun.file() to Filesystem/stat modules ( #14121 )
2026-02-18 19:24:21 -05:00
Dax
a624871ccd
refactor: migrate src/storage/storage.ts from Bun.file()/Bun.write() to Filesystem module ( #14122 )
2026-02-18 19:21:21 -05:00
Dax
819d09e64e
refactor: migrate src/storage/json-migration.ts from Bun.file() to Filesystem module ( #14123 )
2026-02-18 19:20:40 -05:00
Dax
9e6cb89101
refactor: migrate src/mcp/auth.ts from Bun.file()/Bun.write() to Filesystem module ( #14125 )
2026-02-18 19:20:16 -05:00
Dax
a8347c3762
refactor: migrate src/storage/db.ts from Bun.file() to statSync ( #14124 )
2026-02-18 19:20:03 -05:00
Dax
57b63ea83d
refactor: migrate src/session/prompt.ts from Bun.file() to Filesystem/stat modules ( #14128 )
2026-02-19 00:18:05 +00:00
Aiden Cline
088eac9d4e
fix: opencode run crashing, and show errored tool calls in output ( #14206 )
2026-02-18 17:13:01 -06:00
Dax
5fe237a3fd
refactor: migrate src/skill/discovery.ts from Bun.file()/Bun.write() to Filesystem module ( #14133 )
2026-02-18 23:10:24 +00:00
Dax
ae398539c5
refactor: migrate src/session/instruction.ts from Bun.file() to Filesystem module ( #14130 )
2026-02-18 18:09:45 -05:00
Dax
359360ad86
refactor: migrate src/provider/provider.ts from Bun.file() to Filesystem module ( #14132 )
2026-02-18 18:08:48 -05:00
Dax
5d12eb9528
refactor: migrate src/shell/shell.ts from Bun.file() to statSync ( #14134 )
2026-02-18 22:55:50 +00:00
Dax
6fb4f2a7a5
refactor: migrate src/cli/cmd/tui/thread.ts from Bun.file() to Filesystem module ( #14135 )
2026-02-18 17:28:41 -05:00
Dax
48dfa45a9a
refactor: migrate src/util/log.ts from Bun.file() to Node.js fs module ( #14136 )
2026-02-18 17:28:08 -05:00
Dax
97520c827e
refactor: migrate src/provider/models.ts from Bun.file()/Bun.write() to Filesystem module ( #14131 )
2026-02-18 17:26:13 -05:00
Eduardo Bellido Bellido
87c16374aa
fix(lsp): use HashiCorp releases API for installing terraform-ls ( #14200 )
2026-02-18 16:11:57 -06:00
Dax
d366a1430f
refactor: migrate src/lsp/server.ts from Bun.file()/Bun.write() to Filesystem module ( #14138 )
2026-02-18 21:41:07 +00:00
Dax
e37a9081a6
refactor: migrate src/cli/cmd/session.ts from Bun.file() to statSync ( #14144 )
2026-02-18 16:20:58 -05:00
Dax
a2469d933e
refactor: migrate src/acp/agent.ts from Bun.file() to Filesystem module ( #14139 )
2026-02-18 16:14:20 -05:00
Dax
3cde93bf2d
refactor: migrate src/auth/index.ts from Bun.file()/Bun.write() to Filesystem module ( #14140 )
2026-02-18 16:13:50 -05:00
Dax
898bcdec87
refactor: migrate src/cli/cmd/agent.ts from Bun.file()/Bun.write() to Filesystem module ( #14142 )
2026-02-18 21:08:01 +00:00
Dax
d5971e2da5
refactor: migrate src/cli/cmd/import.ts from Bun.file() to Filesystem module ( #14143 )
2026-02-18 21:07:32 +00:00
opencode-agent[bot]
2d7c9c9692
chore: generate
2026-02-18 20:15:14 +00:00
Helge Tesdal
1aa18c6cd6
feat(plugin): pass sessionID and callID to shell.env hook input ( #13662 )
2026-02-18 14:14:18 -06:00
Adam
de25703e9d
fix(app): terminal cross-talk ( #14184 )
2026-02-18 13:56:05 -06:00
Frank
24a9841322
zen: update sst version
2026-02-18 13:54:23 -05:00
Dax
8bf06cbcc1
refactor: migrate src/global/index.ts from Bun.file() to Filesystem module ( #14146 )
2026-02-18 13:25:18 -05:00
OpeOginni
be2e6f1926
fix(opencode): update pasteImage to only increment count when the previous attachment is an image too ( #14173 )
2026-02-18 12:09:09 -06:00
Matt Silverlock
d447b7694a
fix(github): emit PROMPT_TOO_LARGE error on context overflow ( #14166 )
2026-02-18 11:45:27 -06:00
Dax
5638b782c5
refactor: migrate editor.ts from Bun.file()/Bun.write() to Filesystem module ( #14149 )
2026-02-18 17:44:33 +00:00
Dax
eb3f337695
refactor: migrate clipboard.ts from Bun.file() to Filesystem module ( #14148 )
2026-02-18 12:38:44 -05:00
Dax
c88ff3c08b
refactor: migrate src/bun/index.ts from Bun.file()/Bun.write() to Filesystem module ( #14147 )
2026-02-18 12:38:30 -05:00
Dax
8f4a72c57a
refactor: migrate config/markdown.ts from Bun.file() to Filesystem module ( #14151 )
2026-02-18 12:35:32 -05:00
Dax
ef155f3766
refactor: migrate file/index.ts from Bun.file() to Filesystem module ( #14152 )
2026-02-18 12:33:20 -05:00
Dax
a500eaa2d4
refactor: migrate format/formatter.ts from Bun.file() to Filesystem module ( #14153 )
2026-02-18 12:31:35 -05:00
Dax
472d01fbaf
refactor: migrate cli/cmd/run.ts from Bun.file() to Filesystem/stat modules ( #14155 )
2026-02-18 17:22:46 +00:00