Skip to content

Conversation

@waleedlatif1
Copy link
Collaborator

waleedlatif1 and others added 6 commits December 28, 2025 00:36
* fix(build): add tsconfig to db dockerfile

* ack pr comment
Co-authored-by: waleedlatif1 <waleedlatif1@users.noreply.github.com>
* improvement(globals): light colors

* improvement(ui): logs, templates, kb, light globals

* improvement(subflows): start node and ui/ux
@vercel
Copy link

vercel bot commented Dec 29, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Review Updated (UTC)
docs Skipped Skipped Dec 29, 2025 10:11am

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Dec 29, 2025

Greptile Summary

This release includes significant build improvements, a new Greptile integration for AI-powered codebase search, and UI polish for light mode and copilot panel.

Major Changes:

  • Added shared @sim/tsconfig package to centralize TypeScript configurations across the monorepo, reducing duplication and ensuring consistency
  • Implemented Greptile block and tools (query, index repo, status) for natural language codebase Q&A with proper API key handling using user-only visibility
  • Fixed workflow change detection to handle legacy variable format (empty arrays) through new normalizeVariables() and sanitizeVariable() helper functions
  • Updated Docker db.Dockerfile to include tsconfig package for proper workspace symlink resolution during migrations
  • Improved light mode aesthetics by changing green accent color from #4caf50 to #22c55e to minimize green tint
  • Enhanced copilot markdown renderer spacing (paragraph margins and list spacing) for better readability
  • Updated translations across all supported languages (es, fr, zh, ja, de)

Testing Package Changes:
Loosened type definitions in @sim/testing to use permissive types (any, index signatures) rather than strict mirrors of app types. This pragmatic approach reduces maintenance burden and type drift while tests themselves still provide type safety through actual usage.

Notes:

  • Greptile search operation is disabled due to API v1 deprecation (commented out in block configuration)
  • All changes follow established architectural patterns and coding conventions

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • All changes are well-structured, follow established patterns, and address specific issues. The Greptile integration uses correct credential visibility patterns, the workflow comparison fix properly handles legacy data formats, build improvements are straightforward, and UI changes are cosmetic. No security issues, breaking changes, or logical errors detected.
  • No files require special attention

Important Files Changed

Filename Overview
packages/tsconfig/package.json Added new tsconfig package for shared TypeScript configurations across monorepo
packages/testing/src/types/index.ts Loosened type definitions to be more permissive, reducing maintenance burden and type drift
apps/sim/blocks/blocks/greptile.ts Added Greptile block configuration with query, index, and status operations (search disabled)
apps/sim/lib/workflows/comparison/normalize.ts Added sanitizeVariable and normalizeVariables functions to handle legacy array format and UI-only fields
docker/db.Dockerfile Added tsconfig package to Docker build for proper workspace symlink resolution
apps/sim/app/_styles/globals.css Updated light mode green color to reduce green tint (#22c55e instead of #4caf50)

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant Mono as Monorepo Build
    participant Docker as Docker Build
    participant TS as TypeScript Compiler
    participant Greptile as Greptile API
    participant UI as UI Components

    Note over Dev,UI: Monorepo Improvements
    Dev->>Mono: Add tsconfig package
    Mono->>TS: Shared TS configurations
    TS-->>Mono: Consistent type checking
    
    Dev->>Mono: Update testing types
    Mono->>TS: Permissive type definitions
    Note right of TS: Reduces maintenance burden

    Note over Dev,Docker: Docker Build Fix
    Dev->>Docker: Add tsconfig to db.Dockerfile
    Docker->>Mono: Copy tsconfig package
    Note right of Docker: Resolves workspace symlinks

    Note over Dev,Greptile: Greptile Integration
    Dev->>Greptile: Create query tool
    Dev->>Greptile: Create index tool
    Dev->>Greptile: Create status tool
    Dev->>UI: Add Greptile block config
    Note right of UI: Search disabled (API deprecation)

    Note over Dev,UI: Workflow Change Detection
    Dev->>Mono: Add sanitizeVariable function
    Dev->>Mono: Add normalizeVariables function
    Mono->>TS: Handle legacy array format
    Note right of TS: Fixes old variable references

    Note over Dev,UI: UI Polish
    Dev->>UI: Update light mode colors
    Note right of UI: Reduce green tint
    Dev->>UI: Improve copilot spacing
    Note right of UI: Better readability
Loading

@waleedlatif1 waleedlatif1 merged commit f895bf4 into main Dec 29, 2025
25 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.

3 participants