@hasna/assistants 1.1.63 → 1.1.65

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,103 @@ 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
+ supportsTools: true,
2059
+ supportsStreaming: true
2048
2060
  },
2049
2061
  {
2050
- id: "o1-mini",
2062
+ id: "o4-mini",
2051
2063
  provider: "openai",
2052
- name: "o1 Mini",
2053
- description: "Fast reasoning model",
2054
- contextWindow: 128000,
2055
- maxOutputTokens: 65536
2064
+ name: "o4 Mini",
2065
+ description: "Compact reasoning model",
2066
+ contextWindow: 200000,
2067
+ maxOutputTokens: 1e5,
2068
+ supportsTools: true,
2069
+ supportsStreaming: true
2056
2070
  },
2057
2071
  {
2058
2072
  id: "gpt-5.2",
@@ -89163,7 +89177,7 @@ Not a git repository or git not available.
89163
89177
  context.setProjectContext(projectContext);
89164
89178
  }
89165
89179
  }
89166
- var VERSION2 = "1.1.63";
89180
+ var VERSION2 = "1.1.65";
89167
89181
  var init_builtin = __esm(async () => {
89168
89182
  init_src2();
89169
89183
  init_context3();
@@ -94510,8 +94524,7 @@ async function writeSkillIfNeeded(dir, skillName, content) {
94510
94524
  }
94511
94525
  }
94512
94526
  async function installHeartbeatSkills() {
94513
- const baseDir = process.env.ASSISTANTS_DIR || join26(homedir16(), ".assistants");
94514
- const sharedSkillsDir = join26(baseDir, "shared", "skills");
94527
+ const sharedSkillsDir = join26(homedir16(), ".skill");
94515
94528
  const installed = [];
94516
94529
  const results = await Promise.all([
94517
94530
  writeSkillIfNeeded(sharedSkillsDir, "main-loop", MAIN_LOOP_SKILL),
@@ -269212,7 +269225,7 @@ process.on("unhandledRejection", (reason) => {
269212
269225
  cleanup();
269213
269226
  process.exit(1);
269214
269227
  });
269215
- var VERSION4 = "1.1.63";
269228
+ var VERSION4 = "1.1.65";
269216
269229
  var SYNC_START = "\x1B[?2026h";
269217
269230
  var SYNC_END = "\x1B[?2026l";
269218
269231
  function enableSynchronizedOutput() {
@@ -269332,4 +269345,4 @@ export {
269332
269345
  main
269333
269346
  };
269334
269347
 
269335
- //# debugId=F7D571B19114200864756E2164756E21
269348
+ //# debugId=06A678D6943F4A3A64756E2164756E21