@usabledev/usable-chat 1.211.0 → 1.212.0

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/cli.js +37 -6
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -45714,6 +45714,11 @@ var init_model_pricing = __esm({
45714
45714
  output: 1e-5,
45715
45715
  multiplier: 16
45716
45716
  },
45717
+ "anthropic/claude-sonnet-5.5": {
45718
+ input: 2e-6,
45719
+ output: 1e-5,
45720
+ multiplier: 16
45721
+ },
45717
45722
  // Deepseek Models
45718
45723
  "deepseek/deepseek-chat": {
45719
45724
  input: 32e-8,
@@ -47013,6 +47018,29 @@ var init_model_registry_generated = __esm({
47013
47018
  },
47014
47019
  createdAt: 1790094732
47015
47020
  },
47021
+ {
47022
+ id: "anthropic/claude-sonnet-5.5",
47023
+ displayName: "Claude Sonnet 5.5",
47024
+ vendor: "anthropic",
47025
+ category: "balanced",
47026
+ capabilities: {
47027
+ vision: true,
47028
+ reasoning: true,
47029
+ maxTokens: 128e3,
47030
+ contextLength: 1e6
47031
+ },
47032
+ pricing: {
47033
+ inputPer1M: 2,
47034
+ outputPer1M: 10,
47035
+ multiplier: 16
47036
+ },
47037
+ availability: {
47038
+ mainChat: false,
47039
+ experts: true,
47040
+ embeds: true
47041
+ },
47042
+ createdAt: 1790553600
47043
+ },
47016
47044
  {
47017
47045
  id: "openai/gpt-6-astra",
47018
47046
  displayName: "GPT-6 Astra",
@@ -47940,7 +47968,7 @@ var init_model_registry_generated = __esm({
47940
47968
  category: "balanced",
47941
47969
  capabilities: {
47942
47970
  vision: true,
47943
- reasoning: false,
47971
+ reasoning: true,
47944
47972
  maxTokens: 128e3,
47945
47973
  contextLength: 1e6
47946
47974
  },
@@ -52618,6 +52646,7 @@ var init_model_registry = __esm({
52618
52646
  },
52619
52647
  "claude-sonnet-4-6": { bedrockId: "anthropic.claude-sonnet-4-6", crossRegion: true },
52620
52648
  "claude-sonnet-5": { bedrockId: "global.anthropic.claude-sonnet-5", crossRegion: false },
52649
+ "claude-sonnet-5-5": { bedrockId: "global.anthropic.claude-sonnet-5-5", crossRegion: false },
52621
52650
  "claude-opus-5": { bedrockId: "global.anthropic.claude-opus-5", crossRegion: false },
52622
52651
  "claude-opus-5-5": { bedrockId: "global.anthropic.claude-opus-5-5", crossRegion: false },
52623
52652
  // Opus 4.7 uses the Global Cross-Region Inference profile (no regional Geo access required)
@@ -138225,6 +138254,7 @@ async function callClaude(apiKey, request, options2) {
138225
138254
  function extractClaudeModel(modelId) {
138226
138255
  const modelMap = {
138227
138256
  // Claude Sonnet 5 models
138257
+ "anthropic/claude-sonnet-5.5": "claude-sonnet-5-5",
138228
138258
  "anthropic/claude-sonnet-5": "claude-sonnet-5",
138229
138259
  // Claude Sonnet 4.5 models
138230
138260
  "anthropic/claude-sonnet-4.5": "claude-sonnet-4-5-20250929",
@@ -165391,8 +165421,8 @@ var init_model_tiers = __esm({
165391
165421
  name: "Heavy Reasoning",
165392
165422
  models: [
165393
165423
  {
165394
- id: "anthropic/claude-sonnet-5",
165395
- displayName: "Claude Sonnet 5",
165424
+ id: "anthropic/claude-sonnet-5.5",
165425
+ displayName: "Claude Sonnet 5.5",
165396
165426
  description: "Best for professional tasks, coding, agents, and long conversations",
165397
165427
  provider: "Anthropic",
165398
165428
  costTier: "Expensive",
@@ -166172,7 +166202,7 @@ function mapModeToModel(modeId) {
166172
166202
  const modeMap = {
166173
166203
  standard: "anthropic/claude-haiku-4.5",
166174
166204
  "quick-thinking": "anthropic/claude-haiku-4.5",
166175
- "deep-thinking": "anthropic/claude-sonnet-5",
166205
+ "deep-thinking": "anthropic/claude-sonnet-5.5",
166176
166206
  "multi-lingual": "google/gemini-3.1-pro-preview",
166177
166207
  "standard-fallback": "openai/gpt-5-mini"
166178
166208
  };
@@ -166195,6 +166225,7 @@ var init_model_config = __esm({
166195
166225
  "anthropic/claude-sonnet-4.5": { vision: true, reasoning: true },
166196
166226
  "anthropic/claude-sonnet-4.6": { vision: true, reasoning: true },
166197
166227
  "anthropic/claude-sonnet-5": { vision: true, reasoning: true },
166228
+ "anthropic/claude-sonnet-5.5": { vision: true, reasoning: true },
166198
166229
  "anthropic/claude-haiku-4.5": { vision: true, reasoning: true },
166199
166230
  "anthropic/claude-4.5-haiku": { vision: true, reasoning: true },
166200
166231
  "anthropic/claude-4.5-sonnet": { vision: true, reasoning: true },
@@ -219386,7 +219417,7 @@ HOW TO USE THIS:
219386
219417
  - \`model\`: **default to \`quick-thinking\` (alias for \`anthropic/claude-haiku-4.5\`) unless you have a specific reason not to.** Subagents are billed in addition to your own turn \u2014 every Sonnet-class subagent doubles cost. Guidance:
219387
219418
  - **\`quick-thinking\` / \`anthropic/claude-haiku-4.5\`** (cheapest, fast, strong tool use) \u2014 use this for: web/Usable search, summarisation, classification, simple extraction, drafting, tabular work, anything where one-shot quality is "good enough". Should be your **default**.
219388
219419
  - **\`google/gemini-3.8-flash\`** (cheap, huge context, multimodal/multi-lingual) \u2014 use this when: you need to read a 100k+-token document, the task is multi-lingual, or there's image/audio input.
219389
- - **\`deep-thinking\` / \`anthropic/claude-sonnet-5\`** (5\u201310\xD7 the cost of Haiku) \u2014 only use when: the work requires multi-step reasoning over conflicting evidence, code generation against a specific architecture, or careful policy/risk judgement. If you find yourself reaching for this for "research", reach for Haiku first.
219420
+ - **\`deep-thinking\` / \`anthropic/claude-sonnet-5.5\`** (5\u201310\xD7 the cost of Haiku) \u2014 only use when: the work requires multi-step reasoning over conflicting evidence, code generation against a specific architecture, or careful policy/risk judgement. If you find yourself reaching for this for "research", reach for Haiku first.
219390
219421
  - **\`google/gemini-3.1-pro-preview\`** \u2014 only when both massive context AND deep reasoning are required.
219391
219422
  - \`allowedTools\`: tool names exactly as they appear in YOUR own tool list. Raw MCP names (no \`mcp__usable__\` prefix) for built-in / MCP tools; \`parent_*\` prefixed names for embed-host tools registered by the surrounding application (e.g. \`parent_search_vessel_registry\`). Subagents in embed contexts CAN use parent tools \u2014 list them here just like any other tool.
219392
219423
  - \`systemPrompt\` (optional): override the default worker-agent system prompt.
@@ -392108,7 +392139,7 @@ init_tui_select();
392108
392139
  init_model_registry();
392109
392140
 
392110
392141
  // package.json
392111
- var version2 = "1.211.0";
392142
+ var version2 = "1.212.0";
392112
392143
 
392113
392144
  // src/adapters/cli/model-catalog.ts
392114
392145
  init_codex_auth();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usabledev/usable-chat",
3
- "version": "1.211.0",
3
+ "version": "1.212.0",
4
4
  "description": "usable-chat — terminal harness for usable-chat (headless + TUI)",
5
5
  "type": "module",
6
6
  "bin": {