Skip to content

feat: LLM integrations + preferences#9296

Merged
gatzjames merged 18 commits intodevelopfrom
feat/generative-ai
Oct 23, 2025
Merged

feat: LLM integrations + preferences#9296
gatzjames merged 18 commits intodevelopfrom
feat/generative-ai

Conversation

@ryan-willis
Copy link
Contributor

  • AI plugin integration with build support
  • Account/organization AI feature controls
  • New preferences tab: AI Settings
  • Generate mock servers from OAS using configured model
  • Generate commit messages from diffs using configured model

ryan-willis and others added 14 commits October 22, 2025 17:58
* poc: LLM configuration

* fix formatting + tidy script

* fix openpath type send method

* exempt node_modules from vitest

* reset package-lock for inso build

* switch from send/on to invoke/handle

* switch to pluginData

* remove unnecessary animation

* remove extraneous external defs in frontend bundle config

* rebase fix
* feat: add gemini as a backend

* fix: save api key the first time
* feat: add AI-generated commit message functionality in staging modal

* feat: enhance AI commit message generation with error handling and improved UI

* fix: update button icon and text for commit generation state in staging modal

* feat: add diff functionality to Git service and integrate with AI commit message generation

* feat: update isomorphic-git to version 1.33.1 and add stash functionality to Git VCS

* feat: implement multiple commit functionality for Git VCS and integrate with staging modal

* feat: add validation for staged changes before generating commit messages

* feat: implement generateCommitsFromDiff functionality for AI commit message generation

* Cleanup staging modal and use tree data for reordering and submitting multiple commits

* Revert "feat: update isomorphic-git to version 1.33.1 and add stash functionality to Git VCS"

This reverts commit b731372.

* feat: update type definitions for diff changes in Git VCS

* refactor: remove console logs and commented code from staging modal and AI commit generation

* feat: implement git commit generation process using a separate utility process for improved error handling and performance

* fix: improve error handling messages in AI commit generation

* chore: update optional dependency for AI plugin to alpha version 1.0.3
* fix: ensure data dir exists prior to reading

* rename handler
}
} catch (error) {
const msg = `Failed to register route ${mockRoute.method} ${mockRoute.name}:`
console.error(msg, error);

Check notice

Code scanning / Semgrep OSS

Semgrep Finding: javascript.lang.security.audit.unsafe-formatstring.unsafe-formatstring Note

Detected string concatenation with a non-literal variable in a util.format / console.log function. If an attacker injects a format specifier in the string, it will forge the log message. Try to use constant values for the format string.
shelby-moore
shelby-moore previously approved these changes Oct 22, 2025
* feat: add analytics tracking for commit message generation events

* fix: update segment event names to camelCase for consistency

* Update package-lock with the plugin modules
gatzjames
gatzjames previously approved these changes Oct 22, 2025
gatzjames
gatzjames previously approved these changes Oct 22, 2025
@gatzjames gatzjames merged commit 1b6c776 into develop Oct 23, 2025
13 checks passed
@gatzjames gatzjames deleted the feat/generative-ai branch October 23, 2025 08:41

const diff = `${formatDiffChanges(status, 'Staged Changes')}

${formatDiffChanges(status, 'Unstaged Changes')}`;
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryan-willis I guess we need to remove this?

Copy link
Contributor Author

@ryan-willis ryan-willis Oct 23, 2025

Choose a reason for hiding this comment

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

I could be wrong, but I think this also chooses which unstaged changes to commit; is that right @gatzjames ?

@sentry
Copy link

sentry bot commented Nov 4, 2025

Issues attributed to commits in this pull request

This pull request was merged and Sentry observed the following issues:

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.

4 participants