Skip to content

chore: bump gitlab-ai-provider to 6.16.0 - #50318

Merged
rekram1-node merged 13 commits into
anomalyco:v2from
vglafirov:bump-gitlab-provider
Sep 23, 2026
Merged

rekram1-node merged 13 commits into
anomalyco:v2from
vglafirov:bump-gitlab-provider

Conversation

@vglafirov

@vglafirov vglafirov commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #50319

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Bumps the pinned gitlab-ai-provider dependency in packages/core from 6.12.1 to 6.16.0 (the current latest on npm), and updates bun.lock accordingly. This is the only place the package is declared.

v2 was six releases behind — the 6.13.0 (#46913), 6.15.0 (#47791), and now 6.16.0 bumps landed on dev but never reached v2. The span picks up new model mappings (duo-chat-fable-5-1, duo-chat-gpt-6-astra, duo-chat-opus-5-5), configurable reasoning controls, the workflow lock reconnect fix, and project-scoped Agent Platform model discovery.

No source changes were needed. I diffed the published type declarations between 6.12.1 and 6.16.0 and the changes are purely additive:

  • New GitLabThinkingConfig type and thinking option for the Anthropic Messages models, plus a reasoningEffort option for the OpenAI models.
  • Model discovery gained a DiscoveryScope ({ projectId } preferred, with rootNamespaceId as a fallback for older GitLab instances). discover, getEffectiveModelRef, and discoverModels still accept a bare string, which is what our call sites pass, so the existing signatures keep working.
  • Internal-only additions for workflow WebSocket close handshaking (closeAndWait) to avoid racing the Workhorse lock on reconnect.
  • 6.16.0 adds duo-chat-opus-5-5 / duo-workflow-opus-5-5 mappings for Claude Opus 5.5 — no API surface changes.

Every export we consume from packages/core/src/plugin/provider/gitlab.ts (VERSION and the dynamic createGitLab surface) is unchanged, so this is a drop-in upgrade.

This PR previously also loaded opencode-gitlab-auth@3.0.0 in .opencode/opencode.jsonc to exercise the GitLab OAuth login flow under the V2 plugin SDK. That config change has been dropped from this PR (see #50422, which reintroduces it alongside GitLab workflow discovery) so this PR stays a pure dependency bump.

How did you verify your code works?

  • bun install from the repo root — lockfile resolves to 6.16.0.
  • bun typecheck in packages/core — passes with no errors.
  • bun test test/plugin/provider-gitlab.test.ts in packages/core — 8 pass, 0 fail.
  • bun run dev — the TUI boots and the GitLab Duo provider resolves as expected, including the new duo-chat-opus-5-5 model.
  • Manually diffed dist/index.d.ts between the two versions to confirm there are no breaking changes to the API surface we use.

Screenshots / recordings

Not a UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. contributor needs:issue labels Sep 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Sep 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

`opencode-gitlab-auth@3.0.0` is the first release built against the V2
plugin SDK (`@opencode/plugin`). Earlier 2.x releases target
`@opencode-ai/plugin` and do not run under V2, so this repo had no working
way to exercise the GitLab OAuth flow.

The plugin adds a PKCE OAuth method and a self-managed instance URL field
to the built-in `gitlab` integration. Everything else it used to do --
credential storage, refresh scheduling, and merging `instanceUrl`/`apiKey`
into provider settings -- is now owned by core, so the plugin is only
needed for the OAuth login path. `GITLAB_TOKEN` continues to work without
it via the integration's `env` method.

Pinned to an exact version so the config is reproducible.
@vglafirov vglafirov changed the title chore(core): bump gitlab-ai-provider to 6.15.1 chore: bump gitlab-ai-provider to 6.15.1 and load opencode-gitlab-auth 3.0.0 Sep 21, 2026
Revert the opencode-gitlab-auth@3.0.0 plugin entry added to
.opencode/opencode.jsonc, restoring it to match v2.
@vglafirov vglafirov changed the title chore: bump gitlab-ai-provider to 6.15.1 and load opencode-gitlab-auth 3.0.0 chore: bump gitlab-ai-provider to 6.15.1 Sep 21, 2026
@vglafirov vglafirov changed the title chore: bump gitlab-ai-provider to 6.15.1 chore: bump gitlab-ai-provider to 6.16.0 Sep 22, 2026
@rekram1-node
rekram1-node merged commit d5d4461 into anomalyco:v2 Sep 23, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants