gitlab-ai-provider 6.4.1 → 6.5.0
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 +9 -0
- package/dist/gitlab-ai-provider-6.5.0.tgz +0 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/gitlab-ai-provider-6.4.1.tgz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
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
|
+
## 6.5.0 (2026-04-17)
|
|
6
|
+
|
|
7
|
+
- Merge branch 'add-opus-4-7-model-mapping' into 'main' ([f95e21a](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/f95e21a))
|
|
8
|
+
- feat: add Claude Opus 4.7 model mapping ([dbb697f](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/dbb697f))
|
|
9
|
+
|
|
10
|
+
## <small>6.4.2 (2026-04-09)</small>
|
|
11
|
+
|
|
12
|
+
- fix: prevent auto-generated flowConfig from breaking DWS flow resolution ([e653dfc](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/e653dfc))
|
|
13
|
+
|
|
5
14
|
## <small>6.4.1 (2026-04-06)</small>
|
|
6
15
|
|
|
7
16
|
- fix(workflow): surface server-side MCP tool calls as structured AI SDK events ([fcae357](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/fcae357))
|
|
Binary file
|
package/dist/index.d.mts
CHANGED
|
@@ -649,7 +649,7 @@ declare const DEFAULT_WORKFLOW_DEFINITION = WorkflowType.CHAT;
|
|
|
649
649
|
/** Default client capabilities */
|
|
650
650
|
declare const DEFAULT_CLIENT_CAPABILITIES: string[];
|
|
651
651
|
/** Client version sent in startRequest */
|
|
652
|
-
declare const CLIENT_VERSION = "
|
|
652
|
+
declare const CLIENT_VERSION = "8.51.0";
|
|
653
653
|
/**
|
|
654
654
|
* Agent privileges for workflow creation.
|
|
655
655
|
* Matches gitlab-lsp AGENT_PRIVILEGES enum.
|
package/dist/index.d.ts
CHANGED
|
@@ -649,7 +649,7 @@ declare const DEFAULT_WORKFLOW_DEFINITION = WorkflowType.CHAT;
|
|
|
649
649
|
/** Default client capabilities */
|
|
650
650
|
declare const DEFAULT_CLIENT_CAPABILITIES: string[];
|
|
651
651
|
/** Client version sent in startRequest */
|
|
652
|
-
declare const CLIENT_VERSION = "
|
|
652
|
+
declare const CLIENT_VERSION = "8.51.0";
|
|
653
653
|
/**
|
|
654
654
|
* Agent privileges for workflow creation.
|
|
655
655
|
* Matches gitlab-lsp AGENT_PRIVILEGES enum.
|
package/dist/index.js
CHANGED
|
@@ -785,6 +785,7 @@ var import_openai = __toESM(require("openai"));
|
|
|
785
785
|
// src/model-mappings.ts
|
|
786
786
|
var MODEL_MAPPINGS = {
|
|
787
787
|
// Anthropic models
|
|
788
|
+
"duo-chat-opus-4-7": { provider: "anthropic", model: "claude-opus-4-7" },
|
|
788
789
|
"duo-chat-opus-4-6": { provider: "anthropic", model: "claude-opus-4-6" },
|
|
789
790
|
"duo-chat-sonnet-4-6": { provider: "anthropic", model: "claude-sonnet-4-6" },
|
|
790
791
|
"duo-chat-opus-4-5": { provider: "anthropic", model: "claude-opus-4-5-20251101" },
|
|
@@ -1653,7 +1654,7 @@ var GitLabOpenAILanguageModel = class {
|
|
|
1653
1654
|
var import_isomorphic_ws = __toESM(require("isomorphic-ws"));
|
|
1654
1655
|
|
|
1655
1656
|
// src/version.ts
|
|
1656
|
-
var VERSION = true ? "6.4.
|
|
1657
|
+
var VERSION = true ? "6.4.2" : "0.0.0-dev";
|
|
1657
1658
|
|
|
1658
1659
|
// src/gitlab-workflow-types.ts
|
|
1659
1660
|
var WorkflowType = /* @__PURE__ */ ((WorkflowType2) => {
|
|
@@ -1665,7 +1666,7 @@ var WS_KEEPALIVE_PING_INTERVAL_MS = 45e3;
|
|
|
1665
1666
|
var WS_HEARTBEAT_INTERVAL_MS = 6e4;
|
|
1666
1667
|
var DEFAULT_WORKFLOW_DEFINITION = "chat" /* CHAT */;
|
|
1667
1668
|
var DEFAULT_CLIENT_CAPABILITIES = ["shell_command"];
|
|
1668
|
-
var CLIENT_VERSION = "
|
|
1669
|
+
var CLIENT_VERSION = "8.51.0";
|
|
1669
1670
|
var STOP_REASON_USER = "USER_ACTION_TRIGGERED_STOP";
|
|
1670
1671
|
var AGENT_PRIVILEGES = {
|
|
1671
1672
|
READ_WRITE_FILES: 1,
|
|
@@ -1852,6 +1853,7 @@ var GitLabWorkflowClient = class {
|
|
|
1852
1853
|
}
|
|
1853
1854
|
delete headers["content-type"];
|
|
1854
1855
|
headers["x-gitlab-client-type"] = "node-websocket";
|
|
1856
|
+
headers["x-gitlab-language-server-version"] = CLIENT_VERSION;
|
|
1855
1857
|
const parsedUrl = new URL(options.instanceUrl);
|
|
1856
1858
|
const origin = parsedUrl.origin;
|
|
1857
1859
|
headers["origin"] = origin;
|
|
@@ -3591,10 +3593,6 @@ var GitLabWorkflowLanguageModel = class _GitLabWorkflowLanguageModel {
|
|
|
3591
3593
|
const resolvedFlowConfigSchemaVersion = callFlowConfigSchemaVersion ?? this.workflowOptions.flowConfigSchemaVersion;
|
|
3592
3594
|
if (resolvedFlowConfig) {
|
|
3593
3595
|
startReq.flowConfig = resolvedFlowConfig;
|
|
3594
|
-
} else if (this.workflowOptions.systemPrompt) {
|
|
3595
|
-
startReq.flowConfig = {
|
|
3596
|
-
prompts: [{ prompt_template: { system: this.workflowOptions.systemPrompt } }]
|
|
3597
|
-
};
|
|
3598
3596
|
}
|
|
3599
3597
|
if (resolvedFlowConfigSchemaVersion) {
|
|
3600
3598
|
startReq.flowConfigSchemaVersion = resolvedFlowConfigSchemaVersion;
|