@draht/agent-core 2026.10.4 → 2026.10.8

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/README.md +3 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -17,7 +17,7 @@ import { getModel } from "@draht/ai";
17
17
  const agent = new Agent({
18
18
  initialState: {
19
19
  systemPrompt: "You are a helpful assistant.",
20
- model: getModel("anthropic", "claude-sonnet-4-20250514"),
20
+ model: getModel("anthropic", "claude-sonnet-5"),
21
21
  },
22
22
  });
23
23
 
@@ -245,7 +245,7 @@ await agent.continue();
245
245
 
246
246
  ```typescript
247
247
  agent.state.systemPrompt = "New prompt";
248
- agent.state.model = getModel("openai", "gpt-4o");
248
+ agent.state.model = getModel("openai", "gpt-6.1-sol");
249
249
  agent.state.thinkingLevel = "medium";
250
250
  agent.state.tools = [myTool];
251
251
  agent.toolExecution = "sequential";
@@ -430,7 +430,7 @@ const context: AgentContext = {
430
430
  };
431
431
 
432
432
  const config: AgentLoopConfig = {
433
- model: getModel("openai", "gpt-4o"),
433
+ model: getModel("openai", "gpt-6.1-sol"),
434
434
  convertToLlm: (msgs) => msgs.filter(m => ["user", "assistant", "toolResult"].includes(m.role)),
435
435
  toolExecution: "parallel",
436
436
  beforeToolCall: async ({ toolCall, args, context }) => undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draht/agent-core",
3
- "version": "2026.10.4",
3
+ "version": "2026.10.8",
4
4
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -60,9 +60,9 @@
60
60
  "prepublishOnly": "bun run clean && bun run build"
61
61
  },
62
62
  "dependencies": {
63
- "@draht/chord": "2026.10.4",
64
- "@draht/ai": "2026.10.4",
65
- "@draht/telemetry": "2026.10.4",
63
+ "@draht/chord": "2026.10.8",
64
+ "@draht/ai": "2026.10.8",
65
+ "@draht/telemetry": "2026.10.8",
66
66
  "diff": "^8.0.2",
67
67
  "ignore": "^7.0.8",
68
68
  "typebox": "^1.3.27",