Skip to content

sync: merge upstream v1.2.7 into shuvcode-dev#329

Merged
shuv1337 merged 258 commits intointegrationfrom
shuvcode-dev
Feb 19, 2026
Merged

sync: merge upstream v1.2.7 into shuvcode-dev#329
shuv1337 merged 258 commits intointegrationfrom
shuvcode-dev

Conversation

@shuv1337
Copy link
Collaborator

Summary

Syncs the shuvcode fork with upstream opencode v1.2.7.

Changes

Upstream (v1.2.6 -> v1.2.7)

  • Major filesystem refactor: migrated from Bun.file()/Bun.write() to centralized Filesystem module across all packages
  • Server connection management reworked with typed ServerConnection namespace (Http, Sidecar, Ssh)
  • File type detection moved from buffer-based checks to extension-based whitelist/blacklist
  • Session side panel extracted into dedicated SessionSidePanel component
  • New glob npm package replaces Bun.Glob
  • New providers: Kilo, GitLab Duo bump, Gemini 3.1 support
  • Bun requirement bumped to 1.3.9
  • Numerous UI polish and theme updates (oc-2 theme)

Fork-specific fixes

  • Preserved __SHUVCODE__ Tauri globals and shuv.ai hostname detection
  • Updated welcome-screen.tsx to use new ServerConnection.Any types
  • Fixed duplicate bootstrap() block in global-sync.tsx
  • Added missing fs/$ imports for fork's project creation feature
  • Fixed grep.ts streaming to use MATCH_LIMIT constant
  • Restored z.enum(["text", "binary"]) type in file content schema
  • Fixed setDiffWrapMode destructuring in TUI session
  • Removed stale ghostty-web patch reference

Breaking Changes

None

goniz and others added 30 commits February 17, 2026 12:13
Co-authored-by: David Hill <iamdavidhill@gmail.com>
Co-authored-by: David Hill <iamdavidhill@gmail.com>
Always show the titlebar file tree button (and space the right-side icon buttons at 4px) so it stays accessible regardless of the review panel state.
Use pr-2 (instead of pr-6) on the titlebar right section when not on Windows.
Use border-border-weak-base for the titlebar status and open actions (including the open button divider) and adjust the English copy-path label casing.
Use the ghost hover background for active/expanded titlebar actions and tighten titlebar popover gutters to 4px.
Use the same 12px text style for the titlebar search placeholder as the status and open actions.
Mount the titlebar search in the center area and tune its sizing/spacing; use regular weight for the keybind pill text.
Ensure the titlebar search placeholder truncates cleanly and left-aligns; match the fallback copy-path button left padding to the open action.
Use pr-2 for the status and fallback copy-path actions, and tighten the copy icon/text gap to 1.5.
Replace the magnifying-glass glyph with a 16px viewBox variant and keep default 1px stroke; adjust the titlebar search to render the icon at 16x16.
Adds a hover-only metadata line under user messages showing agent, provider, model, and timestamp for quicker context.
adamdotdevin and others added 28 commits February 19, 2026 11:12
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
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
@greptile-apps
Copy link

greptile-apps bot commented Feb 19, 2026

Too many files changed for review. (419 files found, 200 file limit)

@shuv1337 shuv1337 merged commit e5ffa75 into integration Feb 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.