@ax-llm/ax 19.0.27 → 19.0.28

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/index.d.cts CHANGED
@@ -10271,8 +10271,12 @@ type AxAgentOptions<IN extends AxGenIn = AxGenIn> = Omit<AxProgramForwardOptions
10271
10271
  maxBatchedLlmQueryConcurrency?: number;
10272
10272
  /** Maximum Actor turns before forcing Responder (default: 10). */
10273
10273
  maxTurns?: number;
10274
+ /** Maximum characters to keep from runtime output and console/log replay. */
10275
+ maxRuntimeChars?: number;
10274
10276
  /** Context replay, checkpointing, and runtime-state policy. */
10275
10277
  contextPolicy?: AxContextPolicyConfig;
10278
+ /** Default options for the internal checkpoint summarizer. */
10279
+ summarizerOptions?: Omit<AxProgramForwardOptions<string>, 'functions'>;
10276
10280
  /** Output field names the Actor should produce (in addition to javascriptCode). */
10277
10281
  actorFields?: string[];
10278
10282
  /**
@@ -10684,7 +10688,7 @@ interface AxCodeSession {
10684
10688
  * replaying their full code blocks. Reliability-first
10685
10689
  * defaults still preserve recent evidence before deleting older low-value steps.
10686
10690
  * Best when token pressure matters more than raw replay detail.
10687
- * - `checkpointed`: Keep full replay until the rendered actor prompt crosses a threshold, then
10691
+ * - `checkpointed`: Keep full replay until the rendered actor prompt grows beyond the selected budget, then
10688
10692
  * replace older successful history with a checkpoint summary while keeping recent
10689
10693
  * actions and unresolved errors fully visible. Best when you want conservative,
10690
10694
  * debugging-friendly replay until prompt pressure becomes real.
@@ -10702,7 +10706,7 @@ interface AxContextPolicyConfig {
10702
10706
  * - `full`: prefer raw replay of earlier actions
10703
10707
  * - `adaptive`: balance replay detail with checkpoint compression while keeping more recent evidence visible
10704
10708
  * - `lean`: prefer live state + compact summaries over raw replay detail
10705
- * - `checkpointed`: keep full replay until the rendered actor prompt crosses a threshold, then replace older successful turns with a checkpoint summary
10709
+ * - `checkpointed`: keep full replay until the rendered actor prompt grows beyond the selected budget, then replace older successful turns with a checkpoint summary
10706
10710
  */
10707
10711
  preset?: AxContextPolicyPreset;
10708
10712
  /** Overall prompt budget and compression aggressiveness. */
@@ -10726,8 +10730,12 @@ interface AxRLMConfig {
10726
10730
  maxBatchedLlmQueryConcurrency?: number;
10727
10731
  /** Maximum Actor turns before forcing Responder (default: 10). */
10728
10732
  maxTurns?: number;
10733
+ /** Maximum characters to keep from runtime output and console/log replay (default: 3000). */
10734
+ maxRuntimeChars?: number;
10729
10735
  /** Context replay, checkpointing, and runtime-state policy. */
10730
10736
  contextPolicy?: AxContextPolicyConfig;
10737
+ /** Default options for the internal checkpoint summarizer. */
10738
+ summarizerOptions?: Omit<AxProgramForwardOptions<string>, 'functions'>;
10731
10739
  /** Output field names the Actor should produce (in addition to javascriptCode). */
10732
10740
  actorFields?: string[];
10733
10741
  /**
package/index.d.ts CHANGED
@@ -10271,8 +10271,12 @@ type AxAgentOptions<IN extends AxGenIn = AxGenIn> = Omit<AxProgramForwardOptions
10271
10271
  maxBatchedLlmQueryConcurrency?: number;
10272
10272
  /** Maximum Actor turns before forcing Responder (default: 10). */
10273
10273
  maxTurns?: number;
10274
+ /** Maximum characters to keep from runtime output and console/log replay. */
10275
+ maxRuntimeChars?: number;
10274
10276
  /** Context replay, checkpointing, and runtime-state policy. */
10275
10277
  contextPolicy?: AxContextPolicyConfig;
10278
+ /** Default options for the internal checkpoint summarizer. */
10279
+ summarizerOptions?: Omit<AxProgramForwardOptions<string>, 'functions'>;
10276
10280
  /** Output field names the Actor should produce (in addition to javascriptCode). */
10277
10281
  actorFields?: string[];
10278
10282
  /**
@@ -10684,7 +10688,7 @@ interface AxCodeSession {
10684
10688
  * replaying their full code blocks. Reliability-first
10685
10689
  * defaults still preserve recent evidence before deleting older low-value steps.
10686
10690
  * Best when token pressure matters more than raw replay detail.
10687
- * - `checkpointed`: Keep full replay until the rendered actor prompt crosses a threshold, then
10691
+ * - `checkpointed`: Keep full replay until the rendered actor prompt grows beyond the selected budget, then
10688
10692
  * replace older successful history with a checkpoint summary while keeping recent
10689
10693
  * actions and unresolved errors fully visible. Best when you want conservative,
10690
10694
  * debugging-friendly replay until prompt pressure becomes real.
@@ -10702,7 +10706,7 @@ interface AxContextPolicyConfig {
10702
10706
  * - `full`: prefer raw replay of earlier actions
10703
10707
  * - `adaptive`: balance replay detail with checkpoint compression while keeping more recent evidence visible
10704
10708
  * - `lean`: prefer live state + compact summaries over raw replay detail
10705
- * - `checkpointed`: keep full replay until the rendered actor prompt crosses a threshold, then replace older successful turns with a checkpoint summary
10709
+ * - `checkpointed`: keep full replay until the rendered actor prompt grows beyond the selected budget, then replace older successful turns with a checkpoint summary
10706
10710
  */
10707
10711
  preset?: AxContextPolicyPreset;
10708
10712
  /** Overall prompt budget and compression aggressiveness. */
@@ -10726,8 +10730,12 @@ interface AxRLMConfig {
10726
10730
  maxBatchedLlmQueryConcurrency?: number;
10727
10731
  /** Maximum Actor turns before forcing Responder (default: 10). */
10728
10732
  maxTurns?: number;
10733
+ /** Maximum characters to keep from runtime output and console/log replay (default: 3000). */
10734
+ maxRuntimeChars?: number;
10729
10735
  /** Context replay, checkpointing, and runtime-state policy. */
10730
10736
  contextPolicy?: AxContextPolicyConfig;
10737
+ /** Default options for the internal checkpoint summarizer. */
10738
+ summarizerOptions?: Omit<AxProgramForwardOptions<string>, 'functions'>;
10731
10739
  /** Output field names the Actor should produce (in addition to javascriptCode). */
10732
10740
  actorFields?: string[];
10733
10741
  /**