@compilr-dev/agents 0.3.24 → 0.3.25

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.
@@ -18,7 +18,7 @@
18
18
  *
19
19
  * // Record usage after each LLM call
20
20
  * tracker.record({
21
- * model: 'claude-sonnet-4-20250514',
21
+ * model: 'claude-sonnet-4-6',
22
22
  * provider: 'anthropic',
23
23
  * tokens: { inputTokens: 1000, outputTokens: 500, totalTokens: 1500 },
24
24
  * });
@@ -18,7 +18,7 @@
18
18
  *
19
19
  * // Record usage after each LLM call
20
20
  * tracker.record({
21
- * model: 'claude-sonnet-4-20250514',
21
+ * model: 'claude-sonnet-4-6',
22
22
  * provider: 'anthropic',
23
23
  * tokens: { inputTokens: 1000, outputTokens: 500, totalTokens: 1500 },
24
24
  * });
@@ -21,7 +21,7 @@ export interface ClaudeProviderConfig {
21
21
  apiKey: string;
22
22
  /**
23
23
  * Default model to use
24
- * @default 'claude-sonnet-4-20250514'
24
+ * @default 'claude-sonnet-4-6'
25
25
  */
26
26
  model?: string;
27
27
  /**
@@ -16,7 +16,7 @@ import { ProviderError } from '../errors.js';
16
16
  /**
17
17
  * Default model for Claude API
18
18
  */
19
- const DEFAULT_MODEL = 'claude-sonnet-4-20250514';
19
+ const DEFAULT_MODEL = 'claude-sonnet-4-6';
20
20
  /**
21
21
  * Default max tokens
22
22
  */
@@ -7,7 +7,7 @@
7
7
  * @example
8
8
  * ```typescript
9
9
  * const provider = createOpenRouterProvider({
10
- * model: 'anthropic/claude-3.5-sonnet',
10
+ * model: 'anthropic/claude-sonnet-4-6',
11
11
  * apiKey: process.env.OPENROUTER_API_KEY
12
12
  * });
13
13
  * ```
@@ -88,7 +88,7 @@ export declare class OpenRouterProvider extends OpenAICompatibleProvider {
88
88
  *
89
89
  * // With custom model and site attribution
90
90
  * const provider = createOpenRouterProvider({
91
- * model: 'anthropic/claude-3.5-sonnet',
91
+ * model: 'anthropic/claude-sonnet-4-6',
92
92
  * siteUrl: 'https://myapp.com',
93
93
  * siteName: 'My App'
94
94
  * });
@@ -7,7 +7,7 @@
7
7
  * @example
8
8
  * ```typescript
9
9
  * const provider = createOpenRouterProvider({
10
- * model: 'anthropic/claude-3.5-sonnet',
10
+ * model: 'anthropic/claude-sonnet-4-6',
11
11
  * apiKey: process.env.OPENROUTER_API_KEY
12
12
  * });
13
13
  * ```
@@ -128,7 +128,7 @@ export class OpenRouterProvider extends OpenAICompatibleProvider {
128
128
  *
129
129
  * // With custom model and site attribution
130
130
  * const provider = createOpenRouterProvider({
131
- * model: 'anthropic/claude-3.5-sonnet',
131
+ * model: 'anthropic/claude-sonnet-4-6',
132
132
  * siteUrl: 'https://myapp.com',
133
133
  * siteName: 'My App'
134
134
  * });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/agents",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "description": "Lightweight multi-LLM agent library for building CLI AI assistants",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",