@gitlab/gitlab-ai-provider 3.6.0 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
4
4
 
5
+ ## <small>3.6.1 (2026-02-24)</small>
6
+
7
+ - Merge branch 'cc-work-item-4' into 'main' ([6a2144b](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/6a2144b)), closes [#4](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/issues/4)
8
+ - Merge branch 'fix/commitlint-footer-max-line-length' into 'main' ([af675cf](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/af675cf))
9
+ - fix: concatenate multiple system messages in Anthropic convertPrompt() ([f69c7eb](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/f69c7eb))
10
+ - fix(ci): disable footer-max-line-length commitlint rule ([b30958f](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/b30958f))
11
+
5
12
  ## 3.6.0 (2026-02-18)
6
13
 
7
14
  - Merge branch 'feat/add-sonnet-4-6' into 'main' ([68d9e4f](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/68d9e4f))
package/dist/index.js CHANGED
@@ -341,7 +341,8 @@ var GitLabAnthropicLanguageModel = class {
341
341
  const messages = [];
342
342
  for (const message of prompt) {
343
343
  if (message.role === "system") {
344
- systemMessage = message.content;
344
+ systemMessage = systemMessage ? `${systemMessage}
345
+ ${message.content}` : message.content;
345
346
  continue;
346
347
  }
347
348
  if (message.role === "user") {
@@ -1690,7 +1691,7 @@ var GitLabOAuthManager = class {
1690
1691
  };
1691
1692
 
1692
1693
  // src/version.ts
1693
- var VERSION = true ? "3.5.1" : "0.0.0-dev";
1694
+ var VERSION = true ? "3.6.0" : "0.0.0-dev";
1694
1695
 
1695
1696
  // src/gitlab-provider.ts
1696
1697
  var fs = __toESM(require("fs"));