@gitlab/gitlab-ai-provider 1.0.5
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 +251 -0
- package/LICENSE +28 -0
- package/README.md +432 -0
- package/dist/index.d.mts +525 -0
- package/dist/index.d.ts +572 -0
- package/dist/index.js +2401 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2350 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +99 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
## <small>1.0.5 (2025-12-18)</small>
|
|
6
|
+
|
|
7
|
+
- Merge branch 'main' of gitlab.com:gitlab-org/editor-extensions/gitlab-ai-provider ([f93aa47](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/f93aa47))
|
|
8
|
+
- fix: publish to both registries ([1ef9dd2](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/1ef9dd2))
|
|
9
|
+
|
|
10
|
+
## <small>1.0.4 (2025-12-18)</small>
|
|
11
|
+
|
|
12
|
+
- fix: fix .npmrc ([fc55fa0](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/fc55fa0))
|
|
13
|
+
- fix: moved to @gitlab scope ([1213f5d](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/1213f5d))
|
|
14
|
+
- fix: npmjs fix ([461e87c](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/461e87c))
|
|
15
|
+
- fix: publish to @gitlab ([c55252c](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/c55252c))
|
|
16
|
+
- Merge branch 'main' of gitlab.com:gitlab-org/editor-extensions/gitlab-ai-provider ([30d1307](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/30d1307))
|
|
17
|
+
|
|
18
|
+
## <small>1.0.3 (2025-12-18)</small>
|
|
19
|
+
|
|
20
|
+
- Merge branch 'main' of gitlab.com:gitlab-org/editor-extensions/gitlab-ai-provider ([aa5ed2a](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/aa5ed2a))
|
|
21
|
+
- fix: added .chat() alias ([e8d8ab8](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/e8d8ab8))
|
|
22
|
+
|
|
23
|
+
## <small>1.0.2 (2025-12-18)</small>
|
|
24
|
+
|
|
25
|
+
- Merge branch 'main' of gitlab.com:gitlab-org/editor-extensions/gitlab-ai-provider ([327e561](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/327e561))
|
|
26
|
+
- fix: fixed publishing ([1f65b41](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/1f65b41))
|
|
27
|
+
|
|
28
|
+
## <small>1.0.1 (2025-12-18)</small>
|
|
29
|
+
|
|
30
|
+
- fix: added MIT LICENSE ([4484571](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/4484571))
|
|
31
|
+
- fix: contributing documentation ([7f90de8](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/7f90de8))
|
|
32
|
+
- Merge branch 'main' of gitlab.com:gitlab-org/editor-extensions/gitlab-ai-provider ([854ece3](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/854ece3))
|
|
33
|
+
|
|
34
|
+
## 1.0.0 (2025-12-18)
|
|
35
|
+
|
|
36
|
+
- fix: add missing peer marker for vite in package-lock.json ([03f0091](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/03f0091))
|
|
37
|
+
- fix: add text-start and text-end events for V2 stream format ([a4fec61](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/a4fec61))
|
|
38
|
+
- fix: added npmrc ([75725d5](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/75725d5))
|
|
39
|
+
- fix: buffer and reorder chunks by numeric chunkId sequence number ([83e0593](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/83e0593))
|
|
40
|
+
- fix: create release ([8f38ca1](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/8f38ca1))
|
|
41
|
+
- fix: disable body-max-line-length rule for semantic-release compatibility ([300b6cf](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/300b6cf))
|
|
42
|
+
- fix: handle out-of-order chunks with cumulative content ([3fe12e8](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/3fe12e8))
|
|
43
|
+
- fix: load auth token ([b2f3b5b](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/b2f3b5b))
|
|
44
|
+
- fix: package-lock ([e478397](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/e478397))
|
|
45
|
+
- fix: resolve ESLint errors in CI pipeline ([12d391e](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/12d391e))
|
|
46
|
+
- fix: simplify streaming - cumulative content with length-based delta extraction ([34b9b9a](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/34b9b9a))
|
|
47
|
+
- fix: simplify streaming - remove buffering, handle both cumulative and incremental content ([722d1fc](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/722d1fc))
|
|
48
|
+
- fix: skip final cumulative message and treat chunks as incremental ([b078ef4](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/b078ef4))
|
|
49
|
+
- fix: sync package-lock and fix formatting ([1583fb1](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/1583fb1))
|
|
50
|
+
- fix: Token refresh on 401 ([2a7bfec](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/2a7bfec))
|
|
51
|
+
- fix: update specificationVersion to v2 for AI SDK 5 compatibility ([ddc75cd](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/ddc75cd))
|
|
52
|
+
- fix: updated package-lock ([25332df](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/25332df))
|
|
53
|
+
- fix: use AI SDK V2 stream format with delta field ([e8eb3b4](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/e8eb3b4))
|
|
54
|
+
- fix: use Bearer token authentication for GitLab API project detection ([c32b926](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/c32b926))
|
|
55
|
+
- chore: update CI to node 25.2.1 and regenerate package-lock ([04889be](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/04889be))
|
|
56
|
+
- chore: update CI to use node 22.14.0 LTS ([1ce4a4e](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/1ce4a4e))
|
|
57
|
+
- chore(deps): Updated README.md ([47cb8ed](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/47cb8ed))
|
|
58
|
+
- chore(release): 0.0.3 [skip ci] ([d1ba2ed](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/d1ba2ed))
|
|
59
|
+
- chore(release): 0.0.4 [skip ci] ([6459942](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/6459942))
|
|
60
|
+
- chore(release): 1.0.0 [skip ci] ([80b423d](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/80b423d))
|
|
61
|
+
- chore(release): 1.0.1 [skip ci] ([a77ce6b](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/a77ce6b))
|
|
62
|
+
- chore(release): 1.0.2 [skip ci] ([c683fc7](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/c683fc7))
|
|
63
|
+
- chore(release): 1.1.0 [skip ci] ([46542c4](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/46542c4))
|
|
64
|
+
- chore(release): 1.2.0 [skip ci] ([bd79e4e](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/bd79e4e))
|
|
65
|
+
- chore(release): 1.2.1 [skip ci] ([d05d7f8](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/d05d7f8))
|
|
66
|
+
- chore(release): 1.2.2 [skip ci] ([2c2a160](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/2c2a160))
|
|
67
|
+
- feat: Added package build for npmjs ([d32e97e](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/d32e97e))
|
|
68
|
+
- feat: added package-lock.json ([7b320b5](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/7b320b5))
|
|
69
|
+
- feat: remove agentic workflow model and fix lint warnings ([843c422](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/843c422))
|
|
70
|
+
- feat: Renamed package to @gitlab-org/gitlab-ai-provider ([6d41fc0](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/6d41fc0))
|
|
71
|
+
- feat: rolled back npm namespace ([a10987b](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/a10987b))
|
|
72
|
+
- feat: Updated npm repo namespace ([b74de74](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/b74de74))
|
|
73
|
+
- feat(workflow): Added Gitlab Duo Workflow functionality ([624900f](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/624900f))
|
|
74
|
+
- Add comprehensive logging to debug empty workflow sessions ([9c1cd6d](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/9c1cd6d))
|
|
75
|
+
- Add error handling for missing project context in agentic workflow ([1595caf](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/1595caf))
|
|
76
|
+
- Add feature flags support for agentic chat models ([792581c](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/792581c))
|
|
77
|
+
- Add prepare script to auto-build on install ([013a033](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/013a033))
|
|
78
|
+
- Add WebSocket headers logging for debugging ([bbb4c16](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/bbb4c16))
|
|
79
|
+
- Add workflow status polling to debug why workflow doesn't start ([520afa6](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/520afa6))
|
|
80
|
+
- Add X-Gitlab-Workflow-Id header to WebSocket connection ([2fd3097](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/2fd3097))
|
|
81
|
+
- Added Gitlab OAuth support ([59c095c](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/59c095c))
|
|
82
|
+
- added gitlab project detector ([127687c](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/127687c))
|
|
83
|
+
- agentic workflow ([6263c61](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/6263c61))
|
|
84
|
+
- Configure package for remote git installation ([80740a5](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/80740a5))
|
|
85
|
+
- feat!: rename model classes to reflect agentic capabilities ([05e6b35](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/05e6b35))
|
|
86
|
+
- Fix streaming to use AI SDK V1 format with textDelta field ([17c059f](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/17c059f))
|
|
87
|
+
- Fix workflow creation payload to match GitLab API expectations ([5c2cd52](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/5c2cd52))
|
|
88
|
+
- Fix workflow initialization by sending initial message via REST API instead of WebSocket ([c8fc84f](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/c8fc84f))
|
|
89
|
+
- Fixing chunk ordering ([962ea8c](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/962ea8c))
|
|
90
|
+
- Include built dist folder for npm install ([b31d7dd](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/b31d7dd))
|
|
91
|
+
- Initial commit ([3f23827](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/3f23827))
|
|
92
|
+
- Merge branch 'main' of gitlab.com:vglafirov/gitlab-ai-provider ([1f0c73f](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/1f0c73f))
|
|
93
|
+
- Merge branch 'main' of gitlab.com:vglafirov/gitlab-ai-provider ([0f915c9](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/0f915c9))
|
|
94
|
+
- Merge branch 'main' of gitlab.com:vglafirov/gitlab-ai-provider ([376e770](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/376e770))
|
|
95
|
+
- Merge branch 'main' of gitlab.com:vglafirov/gitlab-ai-provider ([801bfcc](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/801bfcc))
|
|
96
|
+
- Merge branch 'main' of gitlab.com:vglafirov/gitlab-ai-provider ([18324c3](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/18324c3))
|
|
97
|
+
- Merge branch 'main' of gitlab.com:vglafirov/gitlab-ai-provider into main ([e7a003f](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/e7a003f))
|
|
98
|
+
- Merge branch 'vg/duo-workflow' into 'main' ([b15c322](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/b15c322))
|
|
99
|
+
- Merge branch 'vg/models_selection' into 'main' ([f5d2ab7](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/f5d2ab7))
|
|
100
|
+
- Remove unnecessary sendEvent call - workflow starts automatically with goal ([3cea85b](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/3cea85b))
|
|
101
|
+
- Remove workflow status update - workflow starts automatically ([f6bd7d4](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/f6bd7d4))
|
|
102
|
+
- removed API based agentic model ([d6a1037](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/d6a1037))
|
|
103
|
+
- removed legacy chat model ([0f1e795](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/0f1e795))
|
|
104
|
+
- Renamed GITLAB_API_TOKEN to GITLAB_TOKEN ([4bdcfbb](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/4bdcfbb))
|
|
105
|
+
- Send initial MESSAGE event to start workflow execution ([9b8df12](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/9b8df12))
|
|
106
|
+
- Set workflow status to RUNNING before sending initial message ([e826e55](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/e826e55))
|
|
107
|
+
- Updated README.md ([752871e](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/752871e))
|
|
108
|
+
- Use Agentic proxy ([a9a9827](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/a9a9827))
|
|
109
|
+
- Use OpenCode standard log directory for workflow debug logs ([28d1cc2](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/28d1cc2))
|
|
110
|
+
- Write debug logs to file instead of console ([093ad08](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/093ad08))
|
|
111
|
+
- ci: add GitLab CI/CD pipeline with semantic release automation ([53283e6](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/53283e6))
|
|
112
|
+
- ci: Updated publish namespace ([29864d7](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/29864d7))
|
|
113
|
+
- docs: add AGENTS.md with build, test, and code style guidelines ([31f9554](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/31f9554))
|
|
114
|
+
- docs: Updated README.md ([047b6e5](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/047b6e5))
|
|
115
|
+
- Fix: Add project_id and namespace_id as WebSocket headers ([5c2d142](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/5c2d142))
|
|
116
|
+
- Fix: Send initial user message to workflow after WebSocket connection ([12f4cfc](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/12f4cfc))
|
|
117
|
+
- Fix: Use project PATH for project_id, not numeric ID ([5709dd4](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/5709dd4))
|
|
118
|
+
- Fix: Use SOFTWARE_DEVELOPMENT workflow type instead of AGENTIC_CHAT ([c347013](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/c347013))
|
|
119
|
+
- Fix: Use status_event instead of status in workflow update API ([946333f](https://gitlab.com/gitlab-org/editor-extensions/gitlab-ai-provider/commit/946333f))
|
|
120
|
+
|
|
121
|
+
### BREAKING CHANGE
|
|
122
|
+
|
|
123
|
+
- Renamed GitLabAnthropicLanguageModel to
|
|
124
|
+
GitLabAgenticLanguageModel and GitLabLSPAgenticLanguageModel to
|
|
125
|
+
GitLabAgenticWorkflowLanguageModel. Updated all related types,
|
|
126
|
+
configs, and provider methods:
|
|
127
|
+
|
|
128
|
+
* GitLabAnthropicOptions -> GitLabAgenticOptions
|
|
129
|
+
* GitLabLSPAgenticOptions -> GitLabAgenticWorkflowOptions
|
|
130
|
+
* provider.anthropicChat() -> provider.agenticChat()
|
|
131
|
+
* provider.lspAgenticChat() -> provider.agenticWorkflow()
|
|
132
|
+
* Provider names: .anthropic -> .agentic
|
|
133
|
+
* Provider names: .lsp-agentic -> .agentic-workflow
|
|
134
|
+
|
|
135
|
+
This change better reflects the agentic nature of these models
|
|
136
|
+
and provides clearer naming for workflow-based interactions.
|
|
137
|
+
|
|
138
|
+
## [1.2.2](https://gitlab.com/vglafirov/gitlab-ai-provider/compare/v1.2.1...v1.2.2) (2025-12-07)
|
|
139
|
+
|
|
140
|
+
### 🐛 Bug Fixes
|
|
141
|
+
|
|
142
|
+
- load auth token ([b2f3b5b](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/b2f3b5b01abfdfa36c12b4c045029a2b8186b886))
|
|
143
|
+
|
|
144
|
+
## [1.2.1](https://gitlab.com/vglafirov/gitlab-ai-provider/compare/v1.2.0...v1.2.1) (2025-12-07)
|
|
145
|
+
|
|
146
|
+
### 🐛 Bug Fixes
|
|
147
|
+
|
|
148
|
+
- Token refresh on 401 ([2a7bfec](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/2a7bfecbb1d32463150b2e5f67e6deae8a9b6641))
|
|
149
|
+
|
|
150
|
+
## [1.2.0](https://gitlab.com/vglafirov/gitlab-ai-provider/compare/v1.1.0...v1.2.0) (2025-12-06)
|
|
151
|
+
|
|
152
|
+
### ✨ Features
|
|
153
|
+
|
|
154
|
+
- rolled back npm namespace ([a10987b](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/a10987bb17ba02fcbdac60e918424f1852f61589))
|
|
155
|
+
|
|
156
|
+
## [1.1.0](https://gitlab.com/vglafirov/gitlab-ai-provider/compare/v1.0.2...v1.1.0) (2025-12-06)
|
|
157
|
+
|
|
158
|
+
### ✨ Features
|
|
159
|
+
|
|
160
|
+
- added package-lock.json ([7b320b5](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/7b320b58c771eb4615ab7d0b28a612065ec01bbb))
|
|
161
|
+
- Renamed package to @gitlab-org/gitlab-ai-provider ([6d41fc0](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/6d41fc08ab2b3a3603a9f095df097e0e0c260898))
|
|
162
|
+
- Updated npm repo namespace ([b74de74](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/b74de74100e854cef35e98a7f6334fd59179aeeb))
|
|
163
|
+
|
|
164
|
+
## [1.0.2](https://gitlab.com/vglafirov/gitlab-ai-provider/compare/v1.0.1...v1.0.2) (2025-12-04)
|
|
165
|
+
|
|
166
|
+
### 📚 Documentation
|
|
167
|
+
|
|
168
|
+
- Updated README.md ([047b6e5](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/047b6e55ba0c7faaa9a149b06d92392c808d080d))
|
|
169
|
+
|
|
170
|
+
## [1.0.1](https://gitlab.com/vglafirov/gitlab-ai-provider/compare/v1.0.0...v1.0.1) (2025-12-04)
|
|
171
|
+
|
|
172
|
+
### 🐛 Bug Fixes
|
|
173
|
+
|
|
174
|
+
- use Bearer token authentication for GitLab API project detection ([c32b926](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/c32b9266f2c01d714bd54762c00676994ad74810))
|
|
175
|
+
|
|
176
|
+
## [1.0.0](https://gitlab.com/vglafirov/gitlab-ai-provider/compare/v0.0.4...v1.0.0) (2025-12-04)
|
|
177
|
+
|
|
178
|
+
### ⚠ BREAKING CHANGES
|
|
179
|
+
|
|
180
|
+
- Renamed GitLabAnthropicLanguageModel to
|
|
181
|
+
GitLabAgenticLanguageModel and GitLabLSPAgenticLanguageModel to
|
|
182
|
+
GitLabAgenticWorkflowLanguageModel. Updated all related types,
|
|
183
|
+
configs, and provider methods:
|
|
184
|
+
|
|
185
|
+
* GitLabAnthropicOptions -> GitLabAgenticOptions
|
|
186
|
+
* GitLabLSPAgenticOptions -> GitLabAgenticWorkflowOptions
|
|
187
|
+
* provider.anthropicChat() -> provider.agenticChat()
|
|
188
|
+
* provider.lspAgenticChat() -> provider.agenticWorkflow()
|
|
189
|
+
* Provider names: .anthropic -> .agentic
|
|
190
|
+
* Provider names: .lsp-agentic -> .agentic-workflow
|
|
191
|
+
|
|
192
|
+
This change better reflects the agentic nature of these models
|
|
193
|
+
and provides clearer naming for workflow-based interactions.
|
|
194
|
+
|
|
195
|
+
### ✨ Features
|
|
196
|
+
|
|
197
|
+
- rename model classes to reflect agentic capabilities ([05e6b35](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/05e6b35269433df85ab1d4138cf7fbca61dd95d3))
|
|
198
|
+
|
|
199
|
+
## [0.0.4](https://gitlab.com/vglafirov/gitlab-ai-provider/compare/v0.0.3...v0.0.4) (2025-12-03)
|
|
200
|
+
|
|
201
|
+
### 📚 Documentation
|
|
202
|
+
|
|
203
|
+
- add AGENTS.md with build, test, and code style guidelines ([31f9554](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/31f95547cb8a12295b86c2926b11f7885a8aa959))
|
|
204
|
+
|
|
205
|
+
## [0.0.3](https://gitlab.com/vglafirov/gitlab-ai-provider/compare/v0.0.2...v0.0.3) (2025-12-03)
|
|
206
|
+
|
|
207
|
+
### 🐛 Bug Fixes
|
|
208
|
+
|
|
209
|
+
- disable body-max-line-length rule for semantic-release compatibility ([300b6cf](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/300b6cfea4f8f71dcbabc5cad7b7d30c53c4348f))
|
|
210
|
+
- resolve ESLint errors in CI pipeline ([12d391e](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/12d391eda8405a8abd85cc33118ea259c171493c))
|
|
211
|
+
|
|
212
|
+
# Changelog
|
|
213
|
+
|
|
214
|
+
All notable changes to this project will be documented in this file.
|
|
215
|
+
|
|
216
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
217
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
218
|
+
|
|
219
|
+
## [Unreleased]
|
|
220
|
+
|
|
221
|
+
### Added
|
|
222
|
+
|
|
223
|
+
- Initial implementation of GitLab Duo provider
|
|
224
|
+
- GraphQL API client for GitLab Duo Chat
|
|
225
|
+
- ActionCable WebSocket streaming support
|
|
226
|
+
- Personal Access Token authentication
|
|
227
|
+
- Support for GitLab.com and self-hosted instances
|
|
228
|
+
- Context-aware chat with file support
|
|
229
|
+
- Multi-turn conversations with thread support
|
|
230
|
+
- Comprehensive error handling with GitLabError class
|
|
231
|
+
- TypeScript type definitions
|
|
232
|
+
- Documentation and examples
|
|
233
|
+
|
|
234
|
+
### Features
|
|
235
|
+
|
|
236
|
+
- ✅ Streaming chat responses
|
|
237
|
+
- ✅ GraphQL API integration
|
|
238
|
+
- ✅ PAT authentication
|
|
239
|
+
- ✅ Self-hosted GitLab support
|
|
240
|
+
- ✅ Context-aware assistance
|
|
241
|
+
|
|
242
|
+
### Known Limitations
|
|
243
|
+
|
|
244
|
+
- Token counting uses estimation
|
|
245
|
+
- Limited tool/function calling support
|
|
246
|
+
- No embedding support
|
|
247
|
+
- No image generation support
|
|
248
|
+
|
|
249
|
+
## [0.0.1] - 2025-01-XX
|
|
250
|
+
|
|
251
|
+
Initial release (in development)
|
package/LICENSE
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Copyright (c) 2011-present GitLab Inc.
|
|
2
|
+
|
|
3
|
+
Portions of this software are licensed as follows:
|
|
4
|
+
|
|
5
|
+
* All content residing under the "doc/" directory of this repository is licensed under "Creative Commons: CC BY-SA 4.0 license".
|
|
6
|
+
* All content that resides under the "ee/" directory of this repository, if that directory exists, is licensed under the license defined in "ee/LICENSE".
|
|
7
|
+
* All content that resides under the "jh/" directory of this repository, if that directory exists, is licensed under the license defined in "jh/LICENSE".
|
|
8
|
+
* All client-side JavaScript (when served directly or after being compiled, arranged, augmented, or combined), is licensed under the "MIT Expat" license.
|
|
9
|
+
* All third party components incorporated into the GitLab Software are licensed under the original license provided by the owner of the applicable component.
|
|
10
|
+
* Content outside of the above mentioned directories or restrictions above is available under the "MIT Expat" license as defined below.
|
|
11
|
+
|
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
in the Software without restriction, including without limitation the rights
|
|
15
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
furnished to do so, subject to the following conditions:
|
|
18
|
+
|
|
19
|
+
The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
SOFTWARE.
|