pi-gitlab-duo 0.1.1 → 0.1.3

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.
Files changed (3) hide show
  1. package/README.md +16 -11
  2. package/index.ts +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -6,14 +6,16 @@ Provides access to GitLab Duo AI models (Claude and GPT) through GitLab's AI Gat
6
6
 
7
7
  ## Models
8
8
 
9
- | Model ID | Backend |
10
- |----------|---------|
11
- | `duo-chat-opus-4-5` | Claude Opus 4.5 |
12
- | `duo-chat-sonnet-4-5` | Claude Sonnet 4.5 |
13
- | `duo-chat-haiku-4-5` | Claude Haiku 4.5 |
14
- | `duo-chat-gpt-5-1` | GPT-5.1 |
15
- | `duo-chat-gpt-5-mini` | GPT-5 Mini |
16
- | `duo-chat-gpt-5-codex` | GPT-5 Codex |
9
+ | Model ID | Name |
10
+ |----------|------|
11
+ | `claude-opus-4-5-20251101` | Claude Opus 4.5 |
12
+ | `claude-sonnet-4-5-20250929` | Claude Sonnet 4.5 |
13
+ | `claude-haiku-4-5-20251001` | Claude Haiku 4.5 |
14
+ | `gpt-5.1-2025-11-13` | GPT-5.1 |
15
+ | `gpt-5-mini-2025-08-07` | GPT-5 Mini |
16
+ | `gpt-5-codex` | GPT-5 Codex |
17
+
18
+ All models support extended thinking/reasoning.
17
19
 
18
20
  ## Installation
19
21
 
@@ -38,17 +40,20 @@ Set the `GITLAB_TOKEN` environment variable:
38
40
 
39
41
  ```bash
40
42
  export GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx
41
- pi --provider gitlab-duo --model duo-chat-sonnet-4-5
43
+ pi --provider gitlab-duo --model claude-sonnet-4-5-20250929
42
44
  ```
43
45
 
44
46
  ## Usage
45
47
 
46
48
  ```bash
47
49
  # Interactive mode
48
- pi --provider gitlab-duo --model duo-chat-sonnet-4-5
50
+ pi --provider gitlab-duo --model claude-sonnet-4-5-20250929
51
+
52
+ # With thinking enabled
53
+ pi --provider gitlab-duo --model claude-sonnet-4-5-20250929 --thinking medium
49
54
 
50
55
  # Print mode
51
- pi --provider gitlab-duo --model duo-chat-sonnet-4-5 -p "explain git rebase"
56
+ pi --provider gitlab-duo --model claude-sonnet-4-5-20250929 -p "explain git rebase"
52
57
  ```
53
58
 
54
59
  ## Requirements
package/index.ts CHANGED
@@ -32,7 +32,7 @@ const AI_GATEWAY_URL = "https://cloud.gitlab.com";
32
32
  const ANTHROPIC_PROXY_URL = `${AI_GATEWAY_URL}/ai/v1/proxy/anthropic/`;
33
33
  const OPENAI_PROXY_URL = `${AI_GATEWAY_URL}/ai/v1/proxy/openai/v1`;
34
34
 
35
- const BUNDLED_CLIENT_ID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
35
+ const BUNDLED_CLIENT_ID = "da4edff2e6ebd2bc3208611e2768bc1c1dd7be791dc5ff26ca34ca9ee44f7d4b";
36
36
  const OAUTH_SCOPES = ["api"];
37
37
  const REDIRECT_URI = "http://127.0.0.1:8080/callback";
38
38
  const DIRECT_ACCESS_TTL = 25 * 60 * 1000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-gitlab-duo",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "GitLab Duo provider extension for pi",
5
5
  "type": "module",
6
6
  "license": "MIT",