@hasna/assistants 1.1.64 → 1.1.66

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/dist/index.js CHANGED
@@ -1970,89 +1970,107 @@ function getModelsGroupedByProvider() {
1970
1970
  }
1971
1971
  return grouped;
1972
1972
  }
1973
- var ALL_MODELS, ANTHROPIC_MODELS, DEFAULT_MODEL = "claude-opus-4-5-20251101", DEFAULT_TEMPERATURE = 1, MIN_TEMPERATURE = 0, MAX_TEMPERATURE = 2, TEMPERATURE_STEP = 0.1, DEFAULT_MAX_TOKENS = 8192;
1973
+ var ALL_MODELS, ANTHROPIC_MODELS, DEFAULT_MODEL = "claude-opus-4-6", DEFAULT_TEMPERATURE = 1, MIN_TEMPERATURE = 0, MAX_TEMPERATURE = 2, TEMPERATURE_STEP = 0.1, DEFAULT_MAX_TOKENS = 8192;
1974
1974
  var init_models = __esm(() => {
1975
1975
  init_llm_providers();
1976
1976
  ALL_MODELS = [
1977
1977
  {
1978
- id: "claude-opus-4-5-20251101",
1978
+ id: "claude-opus-4-6",
1979
1979
  provider: "anthropic",
1980
- name: "Claude Opus 4.5",
1981
- description: "Most capable, best for complex tasks",
1980
+ name: "Claude Opus 4.6",
1981
+ description: "Most intelligent, best for agents and coding",
1982
1982
  contextWindow: 200000,
1983
- maxOutputTokens: 64000,
1984
- inputCostPer1M: 15,
1985
- outputCostPer1M: 75,
1983
+ maxOutputTokens: 128000,
1984
+ inputCostPer1M: 5,
1985
+ outputCostPer1M: 25,
1986
1986
  supportsTools: true,
1987
- supportsStreaming: true
1987
+ supportsStreaming: true,
1988
+ notes: "1M context available in beta"
1988
1989
  },
1989
1990
  {
1990
- id: "claude-sonnet-4-20250514",
1991
+ id: "claude-sonnet-4-5-20250929",
1991
1992
  provider: "anthropic",
1992
- name: "Claude Sonnet 4",
1993
- description: "Balanced performance and speed",
1993
+ name: "Claude Sonnet 4.5",
1994
+ description: "Best speed and intelligence balance",
1994
1995
  contextWindow: 200000,
1995
1996
  maxOutputTokens: 64000,
1996
1997
  inputCostPer1M: 3,
1997
1998
  outputCostPer1M: 15,
1998
1999
  supportsTools: true,
1999
- supportsStreaming: true
2000
+ supportsStreaming: true,
2001
+ notes: "1M context available in beta"
2000
2002
  },
2001
2003
  {
2002
- id: "claude-3-5-sonnet-20241022",
2004
+ id: "claude-haiku-4-5-20251001",
2003
2005
  provider: "anthropic",
2004
- name: "Claude 3.5 Sonnet",
2005
- description: "Fast and capable",
2006
+ name: "Claude Haiku 4.5",
2007
+ description: "Fastest, near-frontier intelligence",
2006
2008
  contextWindow: 200000,
2007
- maxOutputTokens: 8192,
2008
- inputCostPer1M: 3,
2009
- outputCostPer1M: 15,
2009
+ maxOutputTokens: 64000,
2010
+ inputCostPer1M: 1,
2011
+ outputCostPer1M: 5,
2010
2012
  supportsTools: true,
2011
2013
  supportsStreaming: true
2012
2014
  },
2013
2015
  {
2014
- id: "claude-3-5-haiku-20241022",
2016
+ id: "claude-opus-4-5-20251101",
2015
2017
  provider: "anthropic",
2016
- name: "Claude 3.5 Haiku",
2017
- description: "Fastest, best for simple tasks",
2018
+ name: "Claude Opus 4.5",
2019
+ description: "Previous most capable model",
2018
2020
  contextWindow: 200000,
2019
- maxOutputTokens: 8192,
2020
- inputCostPer1M: 1,
2021
- outputCostPer1M: 5,
2021
+ maxOutputTokens: 64000,
2022
+ inputCostPer1M: 5,
2023
+ outputCostPer1M: 25,
2022
2024
  supportsTools: true,
2023
2025
  supportsStreaming: true
2024
2026
  },
2025
2027
  {
2026
- id: "gpt-4o",
2027
- provider: "openai",
2028
- name: "GPT-4o",
2029
- description: "Fast multimodal flagship",
2030
- contextWindow: 128000,
2031
- maxOutputTokens: 16384
2028
+ id: "claude-opus-4-1-20250805",
2029
+ provider: "anthropic",
2030
+ name: "Claude Opus 4.1",
2031
+ description: "High-capability legacy model",
2032
+ contextWindow: 200000,
2033
+ maxOutputTokens: 32000,
2034
+ inputCostPer1M: 15,
2035
+ outputCostPer1M: 75,
2036
+ supportsTools: true,
2037
+ supportsStreaming: true
2032
2038
  },
2033
2039
  {
2034
- id: "gpt-4o-mini",
2035
- provider: "openai",
2036
- name: "GPT-4o Mini",
2037
- description: "Affordable small model",
2038
- contextWindow: 128000,
2039
- maxOutputTokens: 16384
2040
+ id: "claude-sonnet-4-20250514",
2041
+ provider: "anthropic",
2042
+ name: "Claude Sonnet 4",
2043
+ description: "Balanced performance and speed",
2044
+ contextWindow: 200000,
2045
+ maxOutputTokens: 64000,
2046
+ inputCostPer1M: 3,
2047
+ outputCostPer1M: 15,
2048
+ supportsTools: true,
2049
+ supportsStreaming: true
2040
2050
  },
2041
2051
  {
2042
- id: "o1",
2052
+ id: "o3",
2043
2053
  provider: "openai",
2044
- name: "o1",
2045
- description: "Reasoning model for complex tasks",
2054
+ name: "o3",
2055
+ description: "Powerful reasoning model",
2046
2056
  contextWindow: 200000,
2047
- maxOutputTokens: 1e5
2057
+ maxOutputTokens: 1e5,
2058
+ inputCostPer1M: 2,
2059
+ outputCostPer1M: 8,
2060
+ supportsTools: true,
2061
+ supportsStreaming: true
2048
2062
  },
2049
2063
  {
2050
- id: "o1-mini",
2064
+ id: "o4-mini",
2051
2065
  provider: "openai",
2052
- name: "o1 Mini",
2053
- description: "Fast reasoning model",
2054
- contextWindow: 128000,
2055
- maxOutputTokens: 65536
2066
+ name: "o4 Mini",
2067
+ description: "Compact reasoning model",
2068
+ contextWindow: 200000,
2069
+ maxOutputTokens: 1e5,
2070
+ inputCostPer1M: 1.1,
2071
+ outputCostPer1M: 4.4,
2072
+ supportsTools: true,
2073
+ supportsStreaming: true
2056
2074
  },
2057
2075
  {
2058
2076
  id: "gpt-5.2",
@@ -2088,7 +2106,7 @@ var init_models = __esm(() => {
2088
2106
  contextWindow: 400000,
2089
2107
  maxOutputTokens: 128000,
2090
2108
  inputCostPer1M: 21,
2091
- outputCostPer1M: 84,
2109
+ outputCostPer1M: 168,
2092
2110
  supportsTools: true,
2093
2111
  supportsStreaming: true,
2094
2112
  notes: "Supports xhigh reasoning effort"
@@ -2127,6 +2145,8 @@ var init_models = __esm(() => {
2127
2145
  description: "High quality general model",
2128
2146
  contextWindow: 128000,
2129
2147
  maxOutputTokens: 8192,
2148
+ inputCostPer1M: 2,
2149
+ outputCostPer1M: 6,
2130
2150
  supportsTools: true,
2131
2151
  supportsStreaming: true
2132
2152
  },
@@ -2137,6 +2157,8 @@ var init_models = __esm(() => {
2137
2157
  description: "Fast, cost-effective model",
2138
2158
  contextWindow: 128000,
2139
2159
  maxOutputTokens: 8192,
2160
+ inputCostPer1M: 0.1,
2161
+ outputCostPer1M: 0.3,
2140
2162
  supportsTools: true,
2141
2163
  supportsStreaming: true
2142
2164
  },
@@ -2147,6 +2169,8 @@ var init_models = __esm(() => {
2147
2169
  description: "Latest flagship model",
2148
2170
  contextWindow: 131072,
2149
2171
  maxOutputTokens: 16384,
2172
+ inputCostPer1M: 3,
2173
+ outputCostPer1M: 15,
2150
2174
  supportsTools: true,
2151
2175
  supportsStreaming: true
2152
2176
  },
@@ -2157,6 +2181,8 @@ var init_models = __esm(() => {
2157
2181
  description: "Prior flagship model",
2158
2182
  contextWindow: 131072,
2159
2183
  maxOutputTokens: 16384,
2184
+ inputCostPer1M: 3,
2185
+ outputCostPer1M: 15,
2160
2186
  supportsTools: true,
2161
2187
  supportsStreaming: true
2162
2188
  },
@@ -2167,6 +2193,8 @@ var init_models = __esm(() => {
2167
2193
  description: "Lightweight Grok variant",
2168
2194
  contextWindow: 131072,
2169
2195
  maxOutputTokens: 16384,
2196
+ inputCostPer1M: 0.3,
2197
+ outputCostPer1M: 0.5,
2170
2198
  supportsTools: true,
2171
2199
  supportsStreaming: true
2172
2200
  },
@@ -2177,6 +2205,8 @@ var init_models = __esm(() => {
2177
2205
  description: "Most capable preview model",
2178
2206
  contextWindow: 1048576,
2179
2207
  maxOutputTokens: 65536,
2208
+ inputCostPer1M: 2,
2209
+ outputCostPer1M: 12,
2180
2210
  supportsTools: true,
2181
2211
  supportsStreaming: true
2182
2212
  },
@@ -2187,6 +2217,8 @@ var init_models = __esm(() => {
2187
2217
  description: "Image generation preview model",
2188
2218
  contextWindow: 65536,
2189
2219
  maxOutputTokens: 32768,
2220
+ inputCostPer1M: 2,
2221
+ outputCostPer1M: 12,
2190
2222
  supportsTools: true,
2191
2223
  supportsStreaming: true
2192
2224
  },
@@ -2197,6 +2229,8 @@ var init_models = __esm(() => {
2197
2229
  description: "Fast preview model",
2198
2230
  contextWindow: 1048576,
2199
2231
  maxOutputTokens: 65536,
2232
+ inputCostPer1M: 0.15,
2233
+ outputCostPer1M: 0.6,
2200
2234
  supportsTools: true,
2201
2235
  supportsStreaming: true
2202
2236
  },
@@ -2207,6 +2241,8 @@ var init_models = __esm(() => {
2207
2241
  description: "Most capable Gemini 2.5 model",
2208
2242
  contextWindow: 1048576,
2209
2243
  maxOutputTokens: 65536,
2244
+ inputCostPer1M: 1.25,
2245
+ outputCostPer1M: 10,
2210
2246
  supportsTools: true,
2211
2247
  supportsStreaming: true
2212
2248
  },
@@ -2217,6 +2253,8 @@ var init_models = __esm(() => {
2217
2253
  description: "Fast Gemini 2.5 model",
2218
2254
  contextWindow: 1048576,
2219
2255
  maxOutputTokens: 65536,
2256
+ inputCostPer1M: 0.15,
2257
+ outputCostPer1M: 0.6,
2220
2258
  supportsTools: true,
2221
2259
  supportsStreaming: true
2222
2260
  },
@@ -2227,6 +2265,8 @@ var init_models = __esm(() => {
2227
2265
  description: "Lightweight Gemini 2.5 model",
2228
2266
  contextWindow: 1048576,
2229
2267
  maxOutputTokens: 65536,
2268
+ inputCostPer1M: 0.1,
2269
+ outputCostPer1M: 0.4,
2230
2270
  supportsTools: true,
2231
2271
  supportsStreaming: true
2232
2272
  },
@@ -2237,6 +2277,8 @@ var init_models = __esm(() => {
2237
2277
  description: "Image-capable Gemini 2.5 Flash",
2238
2278
  contextWindow: 65536,
2239
2279
  maxOutputTokens: 32768,
2280
+ inputCostPer1M: 0.15,
2281
+ outputCostPer1M: 0.6,
2240
2282
  supportsTools: true,
2241
2283
  supportsStreaming: true
2242
2284
  },
@@ -89163,7 +89205,7 @@ Not a git repository or git not available.
89163
89205
  context.setProjectContext(projectContext);
89164
89206
  }
89165
89207
  }
89166
- var VERSION2 = "1.1.64";
89208
+ var VERSION2 = "1.1.66";
89167
89209
  var init_builtin = __esm(async () => {
89168
89210
  init_src2();
89169
89211
  init_context3();
@@ -269211,7 +269253,7 @@ process.on("unhandledRejection", (reason) => {
269211
269253
  cleanup();
269212
269254
  process.exit(1);
269213
269255
  });
269214
- var VERSION4 = "1.1.64";
269256
+ var VERSION4 = "1.1.66";
269215
269257
  var SYNC_START = "\x1B[?2026h";
269216
269258
  var SYNC_END = "\x1B[?2026l";
269217
269259
  function enableSynchronizedOutput() {
@@ -269331,4 +269373,4 @@ export {
269331
269373
  main
269332
269374
  };
269333
269375
 
269334
- //# debugId=BD05D79673B58EAA64756E2164756E21
269376
+ //# debugId=BC5CF87B7F42C6AF64756E2164756E21