Skip to content

Conversation

@shuv1337
Copy link
Collaborator

@shuv1337 shuv1337 commented Jan 16, 2026

Summary

Merges the shuvcode-dev branch into integration, bringing upstream v1.1.23 synchronization along with console app fixes, UI improvements, and type system enhancements.

Changes

Upstream Sync

  • Synced with upstream v1.1.23 including new features and bug fixes
  • Updated last-synced-tag marker

Console App

  • Extended console app type definitions with WebGPU shims and ambient types
  • Fixed auth callback route handling
  • Added light rays visual effect component
  • New changelog page
  • Black subscription page improvements with plan selection
  • Style improvements and view transitions

Core Fixes

  • Fixed Bedrock provider merge handling
  • Corrected session list typing
  • Fixed broken symlink handling in grep tool
  • Honor per-server MCP timeouts
  • Handle ConfigMarkdown parse errors with toast

UI/UX

  • New layout for sidebar and sessions
  • Improved session list tooltips and hover states
  • Fixed workspace name color and project dropdown labels
  • Desktop external link handling (opens in system browser)
  • Provider icons in model selection dialog

Desktop

  • Question tools updates
  • Provider icons support
  • Health check endpoint fix

TUI

  • Configurable dialog keybinds
  • Question prompt UX improvements
  • Memory leak fix in Footer timeout tracking
  • Brand integrity restoration for wordmark

Providers

  • Official Copilot plugin
  • GitLab Duo Agentic Chat provider support
  • AWS Web Identity Token File support for Bedrock
  • 302ai provider documentation

Other

  • Plan mode with enter/exit tools
  • Bun version bump to 1.3.6
  • Security threat model documentation
  • Various documentation updates

Breaking Changes

None

Testing

Existing tests cover changes. CI workflows will validate the merge.

Greptile Summary

This PR successfully merges the shuvcode-dev branch into integration, bringing upstream v1.1.23 synchronization alongside significant improvements across console, TUI, provider support, and core functionality.

Key Changes:

  • Upstream Sync: Updated to v1.1.23 with new features and bug fixes
  • Core Fixes: Fixed broken symlink handling in grep tool, improved Bedrock provider credential chain to support AWS Web Identity Token Files, added per-server MCP timeout configuration, and enhanced ConfigMarkdown error handling with frontmatter preprocessing
  • Provider Enhancements: Added official Copilot plugin with OAuth support, improved OpenAI provider with store: false default and itemId metadata stripping, enhanced GitLab Duo support, and improved Bedrock authentication logic
  • TUI Improvements: Fixed memory leak in footer timeout tracking, added numeric shortcuts (1-9) for question prompts, improved multi-select UI with inline checkboxes, made dialog keybinds configurable, and enhanced question prompt UX
  • Console App: Extended type definitions with WebGPU shims, fixed auth callback routing with dynamic routes, added light rays visual effect component, new changelog page, and subscription improvements
  • Desktop: Added external link handling to open in system browser, fixed window state plugin configuration, and scoped process cleanup to production only
  • Testing: Added session list filtering test, expanded provider transform tests, and improved test coverage for filesystem utilities

The changes are well-structured and focused on bug fixes, UX improvements, and provider compatibility enhancements.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The changes are well-tested, focused on bug fixes and UX improvements. Critical fixes (memory leak, broken symlinks, credential chain) are properly addressed. New features like Copilot plugin and light rays component are isolated additions. Provider transform changes maintain backward compatibility while adding necessary defaults. Test coverage has been expanded appropriately.
  • No files require special attention

Important Files Changed

Filename Overview
packages/opencode/src/tool/grep.ts Added --no-messages flag and improved error handling for broken symlinks (exit code 2)
packages/opencode/src/provider/transform.ts Added itemId stripping for OpenAI provider, set store: false by default for OpenAI, improved options handling
packages/opencode/src/mcp/index.ts Implemented per-server MCP timeout configuration, honors individual server timeout settings
packages/opencode/src/cli/cmd/tui/routes/session/footer.tsx Fixed memory leak by tracking all timeouts in array and clearing them on cleanup
packages/opencode/src/config/markdown.ts Added frontmatter preprocessing to handle colons in YAML values, improved error messages with file path
packages/opencode/src/plugin/copilot.ts New official Copilot plugin with OAuth support, vision/agent detection, and token management
packages/opencode/src/provider/provider.ts Added AWS Web Identity Token File support for Bedrock, improved credential chain logic, added null check for provider existence
packages/opencode/src/session/llm.ts Moved Codex system prompt to options.instructions, reorganized async calls for efficiency

Sequence Diagram

sequenceDiagram
    participant User
    participant TUI as TUI (Question/Dialog)
    participant Session as Session/LLM
    participant Provider as Provider/Transform
    participant MCP as MCP Server
    participant Tool as Tool (Grep)

    User->>TUI: Interact with questions
    Note over TUI: Numeric shortcuts (1-9)<br/>Multi-select with checkboxes<br/>Input clear keybind
    TUI->>Session: Submit answers
    
    Session->>Provider: Initialize model with options
    Note over Provider: Strip itemId metadata<br/>Set store: false for OpenAI<br/>Handle Codex instructions
    Provider-->>Session: Configured model
    
    Session->>MCP: Call MCP tools
    Note over MCP: Per-server timeout config<br/>Honor individual timeouts
    MCP-->>Session: Tool results
    
    Session->>Tool: Execute grep search
    Note over Tool: --no-messages flag<br/>Handle exit code 2<br/>Skip broken symlinks
    Tool-->>Session: Search results
    
    Session->>Provider: Transform messages
    Note over Provider: Normalize for Anthropic<br/>Filter empty content<br/>Apply model-specific transforms
    Provider-->>Session: Transformed messages
    
    Session-->>User: Stream response
Loading

fwang and others added 30 commits January 13, 2026 13:36
dbpolito and others added 29 commits January 15, 2026 13:17
Co-authored-by: Github Action <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
@shuv1337 shuv1337 merged commit 916e80b into integration Jan 16, 2026
2 checks 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.