@contractspec/lib.ai-agent 5.0.4 → 5.0.5

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.
@@ -2211,7 +2211,7 @@ class ClaudeAgentExporter {
2211
2211
  }
2212
2212
  buildConfig(spec, tools, options) {
2213
2213
  const config = {
2214
- model: options.model ?? "claude-sonnet-4-20250514",
2214
+ model: options.model ?? "claude-sonnet-4-6",
2215
2215
  system: this.buildSystemPrompt(spec, options),
2216
2216
  tools,
2217
2217
  max_turns: spec.maxSteps ?? 10
@@ -2497,7 +2497,7 @@ class ClaudeAgentExporter {
2497
2497
  }
2498
2498
  buildConfig(spec, tools, options) {
2499
2499
  const config = {
2500
- model: options.model ?? "claude-sonnet-4-20250514",
2500
+ model: options.model ?? "claude-sonnet-4-6",
2501
2501
  system: this.buildSystemPrompt(spec, options),
2502
2502
  tools,
2503
2503
  max_turns: spec.maxSteps ?? 10
@@ -2211,7 +2211,7 @@ class ClaudeAgentExporter {
2211
2211
  }
2212
2212
  buildConfig(spec, tools, options) {
2213
2213
  const config = {
2214
- model: options.model ?? "claude-sonnet-4-20250514",
2214
+ model: options.model ?? "claude-sonnet-4-6",
2215
2215
  system: this.buildSystemPrompt(spec, options),
2216
2216
  tools,
2217
2217
  max_turns: spec.maxSteps ?? 10
@@ -2497,7 +2497,7 @@ class ClaudeAgentExporter {
2497
2497
  }
2498
2498
  buildConfig(spec, tools, options) {
2499
2499
  const config = {
2500
- model: options.model ?? "claude-sonnet-4-20250514",
2500
+ model: options.model ?? "claude-sonnet-4-6",
2501
2501
  system: this.buildSystemPrompt(spec, options),
2502
2502
  tools,
2503
2503
  max_turns: spec.maxSteps ?? 10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.ai-agent",
3
- "version": "5.0.4",
3
+ "version": "5.0.5",
4
4
  "description": "AI agent orchestration with MCP and tool support",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -42,9 +42,9 @@
42
42
  "@modelcontextprotocol/sdk": "^1.27.1",
43
43
  "@posthog/react": "^1.8.2",
44
44
  "@posthog/ai": "7.9.5",
45
- "@contractspec/lib.contracts-spec": "3.5.4",
46
- "@contractspec/lib.ai-providers": "3.5.4",
47
- "@contractspec/lib.knowledge": "3.5.4",
45
+ "@contractspec/lib.contracts-spec": "3.5.5",
46
+ "@contractspec/lib.ai-providers": "3.5.5",
47
+ "@contractspec/lib.knowledge": "3.5.5",
48
48
  "compare-versions": "^6.1.1",
49
49
  "zod": "^4.3.5"
50
50
  },
@@ -52,7 +52,7 @@
52
52
  "@anthropic-ai/claude-agent-sdk": ">=0.1.0",
53
53
  "@opencode-ai/sdk": ">=1.0.0",
54
54
  "posthog-node": ">=4.0.0",
55
- "@contractspec/lib.surface-runtime": "0.3.4"
55
+ "@contractspec/lib.surface-runtime": "0.3.5"
56
56
  },
57
57
  "peerDependenciesMeta": {
58
58
  "@anthropic-ai/claude-agent-sdk": {
@@ -72,9 +72,9 @@
72
72
  }
73
73
  },
74
74
  "devDependencies": {
75
- "@contractspec/tool.typescript": "3.5.4",
75
+ "@contractspec/tool.typescript": "3.5.5",
76
76
  "typescript": "^5.9.3",
77
- "@contractspec/tool.bun": "3.5.4"
77
+ "@contractspec/tool.bun": "3.5.5"
78
78
  },
79
79
  "exports": {
80
80
  ".": {