@everworker/oneringai 0.4.5 → 0.4.6

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.
@@ -2182,11 +2182,6 @@ declare class ExecutionContext {
2182
2182
  };
2183
2183
  }
2184
2184
 
2185
- /**
2186
- * Event types for agent execution
2187
- * These events are emitted asynchronously for notifications (UI updates, logging, etc.)
2188
- */
2189
-
2190
2185
  /**
2191
2186
  * Minimal config type for execution start events.
2192
2187
  * This captures the essential info without importing full AgentConfig.
@@ -2227,6 +2222,12 @@ interface ExecutionCancelledEvent {
2227
2222
  reason?: string;
2228
2223
  timestamp: Date;
2229
2224
  }
2225
+ interface ExecutionEmptyOutputEvent {
2226
+ executionId: string;
2227
+ timestamp: Date;
2228
+ duration: number;
2229
+ usage?: TokenUsage;
2230
+ }
2230
2231
  interface ExecutionMaxIterationsEvent {
2231
2232
  executionId: string;
2232
2233
  iteration: number;
@@ -2344,6 +2345,7 @@ interface AgenticLoopEvents {
2344
2345
  'tool:error': ToolErrorEvent;
2345
2346
  'tool:timeout': ToolTimeoutEvent;
2346
2347
  'hook:error': HookErrorEvent;
2348
+ 'execution:empty_output': ExecutionEmptyOutputEvent;
2347
2349
  'circuit:opened': CircuitOpenedEvent;
2348
2350
  'circuit:half-open': CircuitHalfOpenEvent;
2349
2351
  'circuit:closed': CircuitClosedEvent;
@@ -2182,11 +2182,6 @@ declare class ExecutionContext {
2182
2182
  };
2183
2183
  }
2184
2184
 
2185
- /**
2186
- * Event types for agent execution
2187
- * These events are emitted asynchronously for notifications (UI updates, logging, etc.)
2188
- */
2189
-
2190
2185
  /**
2191
2186
  * Minimal config type for execution start events.
2192
2187
  * This captures the essential info without importing full AgentConfig.
@@ -2227,6 +2222,12 @@ interface ExecutionCancelledEvent {
2227
2222
  reason?: string;
2228
2223
  timestamp: Date;
2229
2224
  }
2225
+ interface ExecutionEmptyOutputEvent {
2226
+ executionId: string;
2227
+ timestamp: Date;
2228
+ duration: number;
2229
+ usage?: TokenUsage;
2230
+ }
2230
2231
  interface ExecutionMaxIterationsEvent {
2231
2232
  executionId: string;
2232
2233
  iteration: number;
@@ -2344,6 +2345,7 @@ interface AgenticLoopEvents {
2344
2345
  'tool:error': ToolErrorEvent;
2345
2346
  'tool:timeout': ToolTimeoutEvent;
2346
2347
  'hook:error': HookErrorEvent;
2348
+ 'execution:empty_output': ExecutionEmptyOutputEvent;
2347
2349
  'circuit:opened': CircuitOpenedEvent;
2348
2350
  'circuit:half-open': CircuitHalfOpenEvent;
2349
2351
  'circuit:closed': CircuitClosedEvent;