@ax-llm/ax 19.0.20 → 19.0.21
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.cjs +333 -202
- package/index.cjs.map +1 -1
- package/index.d.cts +6 -0
- package/index.d.ts +6 -0
- package/index.global.js +476 -345
- package/index.global.js.map +1 -1
- package/index.js +337 -206
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/ax-agent.md +84 -3
- package/skills/ax-ai.md +1 -1
- package/skills/ax-flow.md +1 -1
- package/skills/ax-gen.md +1 -1
- package/skills/ax-gepa.md +1 -1
- package/skills/ax-learn.md +1 -1
- package/skills/ax-llm.md +1 -1
- package/skills/ax-signature.md +1 -1
package/index.d.cts
CHANGED
|
@@ -10283,6 +10283,8 @@ type AxAgentOptions<IN extends AxGenIn = AxGenIn> = Omit<AxProgramForwardOptions
|
|
|
10283
10283
|
type AxAgentRecursionOptions = Partial<Omit<AxProgramForwardOptions<string>, 'functions'>> & {
|
|
10284
10284
|
/** Maximum nested recursion depth for llmQuery sub-agent calls. */
|
|
10285
10285
|
maxDepth?: number;
|
|
10286
|
+
/** Prompt detail level for recursive child agents (default: inherits parent). */
|
|
10287
|
+
promptLevel?: AxActorPromptLevel;
|
|
10286
10288
|
};
|
|
10287
10289
|
type AxActorPromptLevel = 'detailed' | 'basic';
|
|
10288
10290
|
/**
|
|
@@ -10332,6 +10334,8 @@ declare class AxAgent<IN extends AxGenIn, OUT extends AxGenOut> implements AxAge
|
|
|
10332
10334
|
private _stopRequested;
|
|
10333
10335
|
private state;
|
|
10334
10336
|
private stateError;
|
|
10337
|
+
private runtimeBootstrapContext;
|
|
10338
|
+
private llmQueryBudgetState;
|
|
10335
10339
|
private func;
|
|
10336
10340
|
private _parentSharedFields;
|
|
10337
10341
|
private _parentSharedAgents;
|
|
@@ -10414,6 +10418,7 @@ declare class AxAgent<IN extends AxGenIn, OUT extends AxGenOut> implements AxAge
|
|
|
10414
10418
|
getExcludedSharedFields(): readonly string[];
|
|
10415
10419
|
private _getBypassedSharedFieldNames;
|
|
10416
10420
|
private _createRuntimeInputState;
|
|
10421
|
+
private _ensureLlmQueryBudgetState;
|
|
10417
10422
|
private _createRuntimeExecutionContext;
|
|
10418
10423
|
getExcludedAgents(): readonly string[];
|
|
10419
10424
|
getExcludedAgentFunctions(): readonly string[];
|
|
@@ -10691,6 +10696,7 @@ declare function axBuildActorDefinition(baseDefinition: string | undefined, cont
|
|
|
10691
10696
|
hasInspectRuntime?: boolean;
|
|
10692
10697
|
hasLiveRuntimeState?: boolean;
|
|
10693
10698
|
hasCompressedActionReplay?: boolean;
|
|
10699
|
+
llmQueryPromptMode?: 'simple' | 'advanced-recursive' | 'simple-at-terminal-depth';
|
|
10694
10700
|
/** When true, Actor must run one observable console step per non-final turn. */
|
|
10695
10701
|
enforceIncrementalConsoleTurns?: boolean;
|
|
10696
10702
|
/** Child agents available under the `<agentModuleNamespace>.*` namespace in the JS runtime. */
|
package/index.d.ts
CHANGED
|
@@ -10283,6 +10283,8 @@ type AxAgentOptions<IN extends AxGenIn = AxGenIn> = Omit<AxProgramForwardOptions
|
|
|
10283
10283
|
type AxAgentRecursionOptions = Partial<Omit<AxProgramForwardOptions<string>, 'functions'>> & {
|
|
10284
10284
|
/** Maximum nested recursion depth for llmQuery sub-agent calls. */
|
|
10285
10285
|
maxDepth?: number;
|
|
10286
|
+
/** Prompt detail level for recursive child agents (default: inherits parent). */
|
|
10287
|
+
promptLevel?: AxActorPromptLevel;
|
|
10286
10288
|
};
|
|
10287
10289
|
type AxActorPromptLevel = 'detailed' | 'basic';
|
|
10288
10290
|
/**
|
|
@@ -10332,6 +10334,8 @@ declare class AxAgent<IN extends AxGenIn, OUT extends AxGenOut> implements AxAge
|
|
|
10332
10334
|
private _stopRequested;
|
|
10333
10335
|
private state;
|
|
10334
10336
|
private stateError;
|
|
10337
|
+
private runtimeBootstrapContext;
|
|
10338
|
+
private llmQueryBudgetState;
|
|
10335
10339
|
private func;
|
|
10336
10340
|
private _parentSharedFields;
|
|
10337
10341
|
private _parentSharedAgents;
|
|
@@ -10414,6 +10418,7 @@ declare class AxAgent<IN extends AxGenIn, OUT extends AxGenOut> implements AxAge
|
|
|
10414
10418
|
getExcludedSharedFields(): readonly string[];
|
|
10415
10419
|
private _getBypassedSharedFieldNames;
|
|
10416
10420
|
private _createRuntimeInputState;
|
|
10421
|
+
private _ensureLlmQueryBudgetState;
|
|
10417
10422
|
private _createRuntimeExecutionContext;
|
|
10418
10423
|
getExcludedAgents(): readonly string[];
|
|
10419
10424
|
getExcludedAgentFunctions(): readonly string[];
|
|
@@ -10691,6 +10696,7 @@ declare function axBuildActorDefinition(baseDefinition: string | undefined, cont
|
|
|
10691
10696
|
hasInspectRuntime?: boolean;
|
|
10692
10697
|
hasLiveRuntimeState?: boolean;
|
|
10693
10698
|
hasCompressedActionReplay?: boolean;
|
|
10699
|
+
llmQueryPromptMode?: 'simple' | 'advanced-recursive' | 'simple-at-terminal-depth';
|
|
10694
10700
|
/** When true, Actor must run one observable console step per non-final turn. */
|
|
10695
10701
|
enforceIncrementalConsoleTurns?: boolean;
|
|
10696
10702
|
/** Child agents available under the `<agentModuleNamespace>.*` namespace in the JS runtime. */
|