@moxxy/plugin-provider-anthropic 0.36.1 → 0.37.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.
package/dist/provider.js CHANGED
@@ -3,7 +3,7 @@ import { resolveProviderTools } from '@moxxy/sdk';
3
3
  import { toFriendlyError } from '@moxxy/sdk';
4
4
  import { toAnthropicMessages, toAnthropicTools } from './translate.js';
5
5
  // Hardcoded model catalog. Deriving it from the Models API is a larger change
6
- // (auth + caching) — deliberately deferred (TECH_DEBT P3 #8).
6
+ // (auth + caching), so the built-in catalog remains explicit.
7
7
  // Values verified against the current Anthropic model catalog (2026-07): fable-5,
8
8
  // opus-5 and sonnet-5 carry a 1M context window with a 128k streaming ceiling;
9
9
  // haiku-4-5 is 200k/64k and is listed under its alias, matching the Claude Code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moxxy/plugin-provider-anthropic",
3
- "version": "0.36.1",
3
+ "version": "0.37.0",
4
4
  "description": "Anthropic (Claude) LLMProvider plugin for moxxy. Streams the Messages API with tool use + adaptive thinking; translates moxxy ProviderRequest/Event ↔ the Anthropic wire shape. Register it into an @moxxy/core Session to route turns to Claude models.",
5
5
  "keywords": [
6
6
  "moxxy",
@@ -60,16 +60,16 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "@anthropic-ai/sdk": "^0.40.0",
63
- "@moxxy/plugin-browser": "0.36.1",
64
- "@moxxy/sdk": "0.36.1"
63
+ "@moxxy/sdk": "0.37.0",
64
+ "@moxxy/plugin-browser": "0.37.0"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@types/node": "^22.10.0",
68
68
  "typescript": "^5.7.3",
69
69
  "vitest": "^2.1.8",
70
70
  "zod": "^3.24.0",
71
- "@moxxy/core": "0.36.1",
72
- "@moxxy/mode-default": "0.36.1",
71
+ "@moxxy/core": "0.37.0",
72
+ "@moxxy/mode-default": "0.37.0",
73
73
  "@moxxy/tsconfig": "0.0.0",
74
74
  "@moxxy/vitest-preset": "0.0.0"
75
75
  },
package/src/provider.ts CHANGED
@@ -64,7 +64,7 @@ export interface AnthropicProviderConfig {
64
64
  }
65
65
 
66
66
  // Hardcoded model catalog. Deriving it from the Models API is a larger change
67
- // (auth + caching) — deliberately deferred (TECH_DEBT P3 #8).
67
+ // (auth + caching), so the built-in catalog remains explicit.
68
68
  // Values verified against the current Anthropic model catalog (2026-07): fable-5,
69
69
  // opus-5 and sonnet-5 carry a 1M context window with a 128k streaming ceiling;
70
70
  // haiku-4-5 is 200k/64k and is listed under its alias, matching the Claude Code