opencode-aicodewith-auth 0.1.39 → 0.1.41

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 (2) hide show
  1. package/dist/index.js +30 -76
  2. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -90,15 +90,6 @@ var MODELS = [
90
90
  limit: { context: 200000, output: 64000 },
91
91
  modalities: { input: ["text", "image"], output: ["text"] }
92
92
  },
93
- {
94
- id: "claude-opus-4-6-20260205-third-party",
95
- family: "claude",
96
- displayName: "Claude Opus 4.6 (third party)",
97
- version: "4.6",
98
- limit: { context: 200000, output: 64000 },
99
- modalities: { input: ["text", "image"], output: ["text"] },
100
- thirdPartyVariant: true
101
- },
102
93
  {
103
94
  id: "claude-sonnet-4-5-20250929",
104
95
  family: "claude",
@@ -107,15 +98,6 @@ var MODELS = [
107
98
  limit: { context: 200000, output: 64000 },
108
99
  modalities: { input: ["text", "image"], output: ["text"] }
109
100
  },
110
- {
111
- id: "claude-sonnet-4-5-20250929-third-party",
112
- family: "claude",
113
- displayName: "Claude Sonnet 4.5 (third party)",
114
- version: "4.5",
115
- limit: { context: 200000, output: 64000 },
116
- modalities: { input: ["text", "image"], output: ["text"] },
117
- thirdPartyVariant: true
118
- },
119
101
  {
120
102
  id: "claude-haiku-4-5-20251001",
121
103
  family: "claude",
@@ -125,19 +107,20 @@ var MODELS = [
125
107
  modalities: { input: ["text", "image"], output: ["text"] }
126
108
  },
127
109
  {
128
- id: "claude-haiku-4-5-20251001-third-party",
110
+ id: "claude-opus-4-5-20251101",
129
111
  family: "claude",
130
- displayName: "Claude Haiku 4.5 (third party)",
112
+ displayName: "Claude Opus 4.5 (deprecated)",
131
113
  version: "4.5",
132
- limit: { context: 200000, output: 8192 },
114
+ limit: { context: 200000, output: 64000 },
133
115
  modalities: { input: ["text", "image"], output: ["text"] },
134
- thirdPartyVariant: true
116
+ deprecated: true,
117
+ replacedBy: "claude-opus-4-6-20260205"
135
118
  },
136
119
  {
137
- id: "claude-opus-4-5-20251101",
120
+ id: "claude-opus-4-6-20260205-third-party",
138
121
  family: "claude",
139
- displayName: "Claude Opus 4.5 (deprecated)",
140
- version: "4.5",
122
+ displayName: "Claude Opus 4.6 third-party (deprecated)",
123
+ version: "4.6",
141
124
  limit: { context: 200000, output: 64000 },
142
125
  modalities: { input: ["text", "image"], output: ["text"] },
143
126
  deprecated: true,
@@ -146,13 +129,32 @@ var MODELS = [
146
129
  {
147
130
  id: "claude-opus-4-5-20251101-third-party",
148
131
  family: "claude",
149
- displayName: "Claude Opus 4.5 (third party, deprecated)",
132
+ displayName: "Claude Opus 4.5 third-party (deprecated)",
150
133
  version: "4.5",
151
134
  limit: { context: 200000, output: 64000 },
152
135
  modalities: { input: ["text", "image"], output: ["text"] },
153
136
  deprecated: true,
154
- replacedBy: "claude-opus-4-6-20260205-third-party",
155
- thirdPartyVariant: true
137
+ replacedBy: "claude-opus-4-6-20260205"
138
+ },
139
+ {
140
+ id: "claude-sonnet-4-5-20250929-third-party",
141
+ family: "claude",
142
+ displayName: "Claude Sonnet 4.5 third-party (deprecated)",
143
+ version: "4.5",
144
+ limit: { context: 200000, output: 64000 },
145
+ modalities: { input: ["text", "image"], output: ["text"] },
146
+ deprecated: true,
147
+ replacedBy: "claude-sonnet-4-5-20250929"
148
+ },
149
+ {
150
+ id: "claude-haiku-4-5-20251001-third-party",
151
+ family: "claude",
152
+ displayName: "Claude Haiku 4.5 third-party (deprecated)",
153
+ version: "4.5",
154
+ limit: { context: 200000, output: 8192 },
155
+ modalities: { input: ["text", "image"], output: ["text"] },
156
+ deprecated: true,
157
+ replacedBy: "claude-haiku-4-5-20251001"
156
158
  },
157
159
  {
158
160
  id: "gemini-3-pro",
@@ -1848,22 +1850,6 @@ var provider_config_default = {
1848
1850
  ]
1849
1851
  }
1850
1852
  },
1851
- "claude-opus-4-6-20260205-third-party": {
1852
- name: "Claude Opus 4.6 (third party)",
1853
- limit: {
1854
- context: 200000,
1855
- output: 64000
1856
- },
1857
- modalities: {
1858
- input: [
1859
- "text",
1860
- "image"
1861
- ],
1862
- output: [
1863
- "text"
1864
- ]
1865
- }
1866
- },
1867
1853
  "claude-sonnet-4-5-20250929": {
1868
1854
  name: "Claude Sonnet 4.5",
1869
1855
  limit: {
@@ -1880,22 +1866,6 @@ var provider_config_default = {
1880
1866
  ]
1881
1867
  }
1882
1868
  },
1883
- "claude-sonnet-4-5-20250929-third-party": {
1884
- name: "Claude Sonnet 4.5 (third party)",
1885
- limit: {
1886
- context: 200000,
1887
- output: 64000
1888
- },
1889
- modalities: {
1890
- input: [
1891
- "text",
1892
- "image"
1893
- ],
1894
- output: [
1895
- "text"
1896
- ]
1897
- }
1898
- },
1899
1869
  "claude-haiku-4-5-20251001": {
1900
1870
  name: "Claude Haiku 4.5",
1901
1871
  limit: {
@@ -1912,22 +1882,6 @@ var provider_config_default = {
1912
1882
  ]
1913
1883
  }
1914
1884
  },
1915
- "claude-haiku-4-5-20251001-third-party": {
1916
- name: "Claude Haiku 4.5 (third party)",
1917
- limit: {
1918
- context: 200000,
1919
- output: 8192
1920
- },
1921
- modalities: {
1922
- input: [
1923
- "text",
1924
- "image"
1925
- ],
1926
- output: [
1927
- "text"
1928
- ]
1929
- }
1930
- },
1931
1885
  "gemini-3-pro": {
1932
1886
  name: "Gemini 3 Pro",
1933
1887
  limit: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-aicodewith-auth",
3
- "version": "0.1.39",
3
+ "version": "0.1.41",
4
4
  "description": "OpenCode plugin for AICodewith authentication - Access GPT-5.3 Codex, GPT-5.2, Claude, and Gemini models through AICodewith API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -61,6 +61,7 @@
61
61
  "@opencode-ai/plugin": "^1.0.150"
62
62
  },
63
63
  "devDependencies": {
64
+ "@opencode-ai/sdk": "^1.1.4",
64
65
  "@types/node": "^22.19.8",
65
66
  "typescript": "^5.9.3",
66
67
  "vitest": "^4.0.18"