Skip to content

Sdk and model updates#17

Merged
zahlekhan merged 3 commits into
mainfrom
cursor/sdk-and-model-updates-40e6
Feb 16, 2026
Merged

Sdk and model updates#17
zahlekhan merged 3 commits into
mainfrom
cursor/sdk-and-model-updates-40e6

Conversation

@zahlekhan

@zahlekhan zahlekhan commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

Upgrade genui and crayon SDKs and update the model to their latest versions.

This update resolves the template-c1-next issue by bringing all specified packages and the model configuration up to date.


Slack Thread

Open in Cursor Open in Web


EntelligenceAI PR Summary

This PR upgrades core dependencies to add rich text editing and diagram rendering capabilities, and updates the chat API to use a newer GPT-5 model version.

  • Upgraded @crayonai/react-core to 0.7.7, @crayonai/react-ui to 0.9.16, and @thesysai/genui-sdk to 0.8.3
  • Added TipTap editor packages for rich text editing functionality
  • Added Mermaid library with d3/cytoscape dependencies for diagram rendering
  • Updated lucide-react peer dependency to 0.562.0
  • Changed GPT-5 model version from v-20251130 to v-20260105 in src/app/api/chat/route.ts

…odel

- Updated @thesysai/genui-sdk from ^0.7.8 to ^0.8.3
- Updated @crayonai/react-core from ^0.7.6 to ^0.7.7
- Updated @crayonai/react-ui from ^0.9.8 to ^0.9.16
- Updated model from c1/openai/gpt-5/v-20251130 to c1/openai/gpt-5/v-20260105

Co-authored-by: Zahle Khan <zahle@thesys.dev>
@cursor

cursor Bot commented Feb 16, 2026

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@entelligence-ai-pr-reviews

Copy link
Copy Markdown

Walkthrough

This PR updates several core dependencies and configuration settings. The main changes include upgrading @crayonai/react-core (0.7.6→0.7.7), @crayonai/react-ui (0.9.8→0.9.16), and @thesysai/genui-sdk (0.7.8→0.8.3). The GenUI SDK update introduces significant new capabilities by adding TipTap editor packages for rich text editing, Mermaid for diagram rendering, and associated dependencies (d3, cytoscape). The react-ui update also bumps lucide-react peer dependency to 0.562.0. Additionally, the chat API endpoint is updated to use a newer GPT-5 model version (v-20260105), replacing the previous v-20251130 version.

Changes

File(s) Summary
package.json
package-lock.json
Updated three dependencies: @crayonai/react-core (^0.7.6→^0.7.7), @crayonai/react-ui (^0.9.8→^0.9.16), and @thesysai/genui-sdk (^0.7.8→^0.8.3). The GenUI SDK update adds TipTap editor packages (@tiptap/core, @tiptap/react, @tiptap/starter-kit, @tiptap/markdown, @tiptap/extension-placeholder), Mermaid diagram rendering with d3/cytoscape dependencies, and bumps lucide-react peer dependency to ^0.562.0.
src/app/api/chat/route.ts Updated OpenAI model version string from 'v-20251130' to 'v-20260105' in the chat completions API call.

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    participant Caller
    participant MessageStore
    participant Client as OpenAI Client
    participant API as OpenAI API

    Caller->>MessageStore: addMessage(prompt)
    activate MessageStore
    MessageStore-->>Caller: Message stored
    deactivate MessageStore
    
    Caller->>Client: chat.completions.create()
    activate Client
    
    Client->>MessageStore: getOpenAICompatibleMessageList()
    activate MessageStore
    MessageStore-->>Client: Message history
    deactivate MessageStore
    
    Note over Client: Model: c1/openai/gpt-5/v-20260105<br/>(Updated from v-20251130)<br/>Stream: true
    
    Client->>API: POST /chat/completions<br/>(with messages & stream=true)
    activate API
    
    loop Stream chunks
        API-->>Client: Response chunk
        Client-->>Caller: Stream chunk
    end
    
    API-->>Client: Stream complete
    deactivate API
    deactivate Client
Loading

🔗 Cross-Repository Impact Analysis

Enable automatic detection of breaking changes across your dependent repositories. → Set up now

Learn more about Cross-Repository Analysis

What It Does

  • Automatically identifies repositories that depend on this code
  • Analyzes potential breaking changes across your entire codebase
  • Provides risk assessment before merging to prevent cross-repo issues

How to Enable

  1. Visit Settings → Code Management
  2. Configure repository dependencies
  3. Future PRs will automatically include cross-repo impact analysis!

Benefits

  • 🛡️ Prevent breaking changes across repositories
  • 🔍 Catch integration issues before they reach production
  • 📊 Better visibility into your multi-repo architecture

▶️AI Code Reviews for VS Code, Cursor, Windsurf
Install the extension

Note for Windsurf Please change the default marketplace provider to the following in the windsurf settings:

Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery

Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items

Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts below

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • 🔒 Security Vulnerability - Fix to ensure system safety.
  • 💻 Code Improvement - Suggestions to enhance code quality.
  • 🔨 Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:
    @entelligenceai + *your message*
Example: @entelligenceai Can you suggest improvements for this code?
  • Help the Bot learn by providing feedback on its responses.
    @entelligenceai + *feedback*
Example: @entelligenceai Do not comment on `save_auth` function !

Also you can trigger various commands with the bot by doing
@entelligenceai command

The current supported commands are

  1. config - shows the current config
  2. retrigger_review - retriggers the review

More commands to be added soon.

Comment thread src/app/api/chat/route.ts Outdated

const llmStream = await client.chat.completions.create({
model: "c1/openai/gpt-5/v-20251130",
model: "c1/openai/gpt-5/v-20260105",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cursoragent revert

@cursor cursor Bot Feb 16, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've successfully reverted all the changes. The SDK packages and model have been rolled back to their original versions:

Reverted SDK Versions:
@thesysai/genui-sdk: ^0.8.3 → ^0.7.8
@crayonai/react-core: ^0.7.7 → ^0.7.6
@crayonai/react-ui: ^0.9.16 → ^0.9.8

Reverted Model:
• Model version: c1/openai/gpt-5/v-20260105c1/openai/gpt-5/v-20251130

All changes have been committed and pushed to the cursor/sdk-and-model-updates-40e6 branch.

Open in Cursor Open in Web

@zahlekhan zahlekhan marked this pull request as ready for review February 16, 2026 11:16
cursoragent and others added 2 commits February 16, 2026 11:17
This reverts the previous commit that updated the packages and model.

- Reverted @thesysai/genui-sdk from ^0.8.3 to ^0.7.8
- Reverted @crayonai/react-core from ^0.7.7 to ^0.7.6
- Reverted @crayonai/react-ui from ^0.9.16 to ^0.9.8
- Reverted model from c1/openai/gpt-5/v-20260105 to c1/openai/gpt-5/v-20251130

Co-authored-by: Zahle Khan <zahle@thesys.dev>
- Updated @thesysai/genui-sdk to version ^0.8.3
- Updated lucide-react to version ^0.564.0
- Updated @crayonai/react-ui to version ^0.9.16
- Added pnpm-lock.yaml for improved dependency management

Co-authored-by: Zahle Khan <zahle@thesys.dev>
@zahlekhan zahlekhan enabled auto-merge February 16, 2026 14:52
@zahlekhan zahlekhan merged commit df60744 into main Feb 16, 2026
3 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