Commit Graph

82 Commits

Author SHA1 Message Date
Luke Parker 301b1bf205 fix(project): await git id cache write (#14977) 2026-02-25 00:46:12 +00:00
Erik Demaine 90d2e6b775 fix(desktop): change detection on Windows, especially Cygwin (#13659)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-02-23 09:49:05 +10:00
Dax f03cb504c4 refactor: migrate from Bun.Glob to npm glob package (#14317) 2026-02-19 13:40:09 -05:00
Dax Raad 350a377fca Revert "refactor: migrate from Bun.Glob to npm glob package"
This reverts commit 25917459f0.
2026-02-19 12:48:43 -05:00
Dax Raad 25917459f0 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 019134be58 Remove use of Bun.file (#14215) 2026-02-19 11:32:32 -05:00
Dax Raad 1567fa548c Revert: all refactor commits migrating from Bun.file() to Filesystem module 2026-02-18 19:41:14 -05:00
Dax f7f149a396 refactor: migrate src/project/project.ts from Bun.file() to Filesystem/stat modules (#14126) 2026-02-18 19:37:10 -05:00
Dax 3010323ee0 sqlite again (#10597)
Co-authored-by: Github Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
2026-02-14 04:19:02 +00:00
projectArtur a9e44df330 fix: resolve ACP hanging indefinitely in thinking state on Windows (#13222)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-12 18:20:00 -06:00
adamelmore 4ac755e6e1 chore: cleanup 2026-01-28 07:28:03 -06:00
adamelmore eeac5c0b70 chore: cleanup 2026-01-28 07:28:03 -06:00
adamelmore ab0a58ea84 wip(app): global config 2026-01-28 07:28:03 -06:00
Adam 6f392b9bbe perf(app): faster workspace creation 2026-01-23 05:18:42 -06:00
Adam 526b00d413 feat(app): add workspace startup script to projects 2026-01-22 07:42:56 -06:00
Adam 9c61681431 fix(app): no more favicons 2026-01-19 14:59:47 -06:00
Adam d9b29d8acb feat(app): delete workspace 2026-01-19 07:35:52 -06:00
Aiden Cline b775887049 add scheduler, cleanup module (#9346) 2026-01-18 23:33:23 -06:00
Adam d2f2771247 fix(core): more defensive project list 2026-01-15 13:58:39 -06:00
Adam 29acd1058b fix(core): filter dead worktrees 2026-01-15 13:33:49 -06:00
Daniel Sauer 6b0f4c69b5 fix(state): delete key from recordsByKey on instance disposal (#8252) 2026-01-13 12:43:16 -06:00
Dillon Mulroy 6c3ef5c7c5 fix: check worktree for external_directory permission in subdirs (#7811) 2026-01-11 14:17:36 -06:00
Adam 77ee19c111 fix(core): filter dead worktrees 2026-01-05 16:37:18 -06:00
Adam 6da1429063 fix(app): more defensive, handle no git 2026-01-05 15:12:02 -06:00
Dax Raad 1193d7c380 core: add sandbox support for git worktrees to allow working in multiple directories per project 2026-01-03 18:52:53 -05:00
Adam 30800b0b05 feat: add managed git worktrees (#6674) 2026-01-02 20:17:02 -06:00
Dax Raad 831c95199c ignore 2025-12-10 22:36:57 -05:00
Dax Raad 55bffabae1 ignore 2025-12-10 22:34:16 -05:00
Dax Raad d5bf02f994 tui: use random free port and enable icon discovery by default
- Tauri app now automatically finds an available port instead of defaulting to 4096
- Icon discovery feature is now enabled by default in the Tauri app
- Prevents port conflicts when multiple OpenCode instances are running
2025-12-10 16:13:11 -05:00
Dax Raad 3381781b67 core: enable project discovery for experimental builds 2025-12-09 21:23:55 -05:00
Dax Raad 28e015bf97 core: fix project icon update handling to preserve existing icon properties 2025-12-09 16:55:26 -05:00
Dax Raad 3433e5bbd1 fix tests 2025-12-09 16:03:33 -05:00
Dax Raad edbe015078 discover logic 2025-12-09 15:51:55 -05:00
Dax Raad f8bffeaca1 sync 2025-12-09 15:48:22 -05:00
Dax Raad 40b2a24753 core: fix project event emission to include updated worktree data 2025-12-09 15:41:38 -05:00
Dax Raad 0dc4cc396c test fixes 2025-12-09 15:41:38 -05:00
Dax Raad 71eced2fc9 core: fix project creation to include updated timestamp 2025-12-09 15:18:55 -05:00
Dax Raad 7b5a485d65 core: make project updated timestamp optional to support legacy project data 2025-12-09 15:18:55 -05:00
Dax Raad 30598c8766 core: fix project icon update to preserve existing icon properties 2025-12-09 15:11:00 -05:00
Dax Raad 31c49cd6c7 core: add automatic project icon discovery from favicon/logo files 2025-12-09 15:06:24 -05:00
Dax Raad 12d730ec45 fix ci 2025-12-09 14:53:47 -05:00
Dax Raad 839b8903ef rework project loading 2025-12-09 14:41:14 -05:00
Dax Raad c4d4c5cf7c rename bus 2025-12-09 14:32:09 -05:00
Adam bd3cef5398 feat: add color to project 2025-12-09 13:29:59 -06:00
Dax Raad 6d86da7e46 add project.name/icon 2025-12-09 13:57:18 -05:00
Dax Raad b2f59e9d08 core: add project update timestamps to track when projects were last modified
Projects now track when they were last updated, making it easier for users
to see recent activity and identify stale projects in their workspace.
2025-12-09 11:52:53 -05:00
Aiden Cline 6ff4106a1e core: prevent sessions from disappearing after git init
Previously, sessions created in a non-git directory would disappear from
the session picker after running git init and making the first commit.
This happened because the migration logic ran prematurely before a stable
project ID existed.
2025-12-06 23:32:47 -06:00
Aiden Cline e68039a889 ignore: tweak 2025-12-05 01:00:47 -06:00
Aiden Cline e3a734e9eb fix: ensure projects that go from having no commits to having commits have sessions migrated (#5105)
Co-authored-by: GitHub Action <action@github.com>
2025-12-05 00:49:07 -06:00
Aiden Cline 848cfda06e fix: ensure that vcs is still set to git even if no commits in repo 2025-12-04 23:02:11 -06:00