@ax-llm/ax 20.0.0 → 20.0.1

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
@@ -5173,6 +5173,7 @@ declare function agent<const T extends string, const CF extends readonly AxConte
5173
5173
  declare function agent<TInput extends Record<string, any>, TOutput extends Record<string, any>, const CF extends readonly AxContextFieldInput[] = []>(signature: AxSignature<TInput, TOutput>, config: Omit<AxAgentConfig<TInput, TOutput>, 'contextFields'> & {
5174
5174
  contextFields?: CF;
5175
5175
  }): AxAgent<TInput, TOutput>;
5176
+ declare function agent(signature: Readonly<AxSignatureConfig>, config: AxAgentConfig<AxGenIn, AxGenOut>): AxAgent<AxGenIn, AxGenOut>;
5176
5177
 
5177
5178
  /**
5178
5179
  * Reusable building block: a split-architecture AI agent with two AxGen programs:
@@ -9969,6 +9970,7 @@ declare function ax<TInput extends Record<string, any>, TOutput extends Record<s
9969
9970
  } : {
9970
9971
  [P in ThoughtKey]?: string;
9971
9972
  })>;
9973
+ declare function ax(signature: Readonly<AxSignatureConfig>, options?: Readonly<AxProgramForwardOptions<any>>): AxGen<AxGenIn, AxGenOut>;
9972
9974
 
9973
9975
  /**
9974
9976
  * Analyzes mapping functions to extract state dependencies.
package/index.d.ts CHANGED
@@ -5173,6 +5173,7 @@ declare function agent<const T extends string, const CF extends readonly AxConte
5173
5173
  declare function agent<TInput extends Record<string, any>, TOutput extends Record<string, any>, const CF extends readonly AxContextFieldInput[] = []>(signature: AxSignature<TInput, TOutput>, config: Omit<AxAgentConfig<TInput, TOutput>, 'contextFields'> & {
5174
5174
  contextFields?: CF;
5175
5175
  }): AxAgent<TInput, TOutput>;
5176
+ declare function agent(signature: Readonly<AxSignatureConfig>, config: AxAgentConfig<AxGenIn, AxGenOut>): AxAgent<AxGenIn, AxGenOut>;
5176
5177
 
5177
5178
  /**
5178
5179
  * Reusable building block: a split-architecture AI agent with two AxGen programs:
@@ -9969,6 +9970,7 @@ declare function ax<TInput extends Record<string, any>, TOutput extends Record<s
9969
9970
  } : {
9970
9971
  [P in ThoughtKey]?: string;
9971
9972
  })>;
9973
+ declare function ax(signature: Readonly<AxSignatureConfig>, options?: Readonly<AxProgramForwardOptions<any>>): AxGen<AxGenIn, AxGenOut>;
9972
9974
 
9973
9975
  /**
9974
9976
  * Analyzes mapping functions to extract state dependencies.