@xenosystem/agent-sdk 0.10.35 → 0.10.36

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/index.d.cts CHANGED
@@ -5723,6 +5723,7 @@ interface AgentLoopConfig {
5723
5723
  onIteration?: (iteration: number, totalTokens: number) => void;
5724
5724
  modelWorkAccounting?: ModelWorkAccounting;
5725
5725
  runAuthority?: RunAuthority;
5726
+ hooks?: HookConfig;
5726
5727
  onError?: (error: Error, context: string) => void;
5727
5728
  onTranscriptError?: (error: Error, context: string) => void;
5728
5729
  onModeSwitchRequest?: (request: ModeSwitchRequest) => Promise<boolean>;
@@ -5857,6 +5858,7 @@ declare class AgentLoop {
5857
5858
  private readonly promptSections;
5858
5859
  private readonly completionGuards;
5859
5860
  private readonly toolFailureGuard;
5861
+ private readonly preToolUseGate;
5860
5862
  private turnToolCalls;
5861
5863
  private turnToolFailures;
5862
5864
  private turnFailuresByTool;
package/dist/index.d.ts CHANGED
@@ -5723,6 +5723,7 @@ interface AgentLoopConfig {
5723
5723
  onIteration?: (iteration: number, totalTokens: number) => void;
5724
5724
  modelWorkAccounting?: ModelWorkAccounting;
5725
5725
  runAuthority?: RunAuthority;
5726
+ hooks?: HookConfig;
5726
5727
  onError?: (error: Error, context: string) => void;
5727
5728
  onTranscriptError?: (error: Error, context: string) => void;
5728
5729
  onModeSwitchRequest?: (request: ModeSwitchRequest) => Promise<boolean>;
@@ -5857,6 +5858,7 @@ declare class AgentLoop {
5857
5858
  private readonly promptSections;
5858
5859
  private readonly completionGuards;
5859
5860
  private readonly toolFailureGuard;
5861
+ private readonly preToolUseGate;
5860
5862
  private turnToolCalls;
5861
5863
  private turnToolFailures;
5862
5864
  private turnFailuresByTool;