@compilr-dev/sdk 0.2.12 → 0.2.13

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/agent.js CHANGED
@@ -118,6 +118,7 @@ class CompilrAgentImpl {
118
118
  provider,
119
119
  systemPrompt,
120
120
  maxIterations: config?.maxIterations ?? 50,
121
+ toolTimeoutMs: config?.toolTimeoutMs,
121
122
  contextManager,
122
123
  autoContextManagement: contextManager !== undefined,
123
124
  hooks: config?.hooks,
package/dist/config.d.ts CHANGED
@@ -141,6 +141,8 @@ export interface CompilrAgentConfig {
141
141
  includeDefaultRules?: boolean;
142
142
  /** Guardrail configuration. Default: true */
143
143
  guardrails?: boolean | GuardrailConfig;
144
+ /** Tool execution timeout in milliseconds. 0 = no timeout. Default: 30000 (30s) */
145
+ toolTimeoutMs?: number;
144
146
  /** Lifecycle hooks */
145
147
  hooks?: HooksConfig;
146
148
  /** Context management configuration */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/sdk",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "description": "Universal agent runtime for building AI-powered applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",