@dudousxd/nestjs-agent-core 0.38.1 → 0.40.0

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.
@@ -1,4 +1,4 @@
1
- import { M as ModelMessage, a as Actor, d as ToolCallRequest } from './stream-events-rpd3d6gh.cjs';
1
+ import { M as ModelMessage, a as Actor, e as ToolCallRequest } from './stream-events-M0jc7lSW.cjs';
2
2
 
3
3
  /**
4
4
  * The two seams that see a turn's traffic to and from the model: an {@link InputProcessor} rewrites
@@ -23,6 +23,8 @@ interface ProcessorContext {
23
23
  actor: Actor;
24
24
  /** The agent running this turn. Undefined → the default agent. */
25
25
  agentName?: string;
26
+ /** The persona the turn runs under, when it runs under one. */
27
+ persona?: string;
26
28
  /** 0-based model step within the run — the same index the `llm:<step>` checkpoint carries. */
27
29
  step: number;
28
30
  }
@@ -1,4 +1,4 @@
1
- import { M as ModelMessage, a as Actor, d as ToolCallRequest } from './stream-events-rpd3d6gh.js';
1
+ import { M as ModelMessage, a as Actor, e as ToolCallRequest } from './stream-events-DAmes2Of.js';
2
2
 
3
3
  /**
4
4
  * The two seams that see a turn's traffic to and from the model: an {@link InputProcessor} rewrites
@@ -23,6 +23,8 @@ interface ProcessorContext {
23
23
  actor: Actor;
24
24
  /** The agent running this turn. Undefined → the default agent. */
25
25
  agentName?: string;
26
+ /** The persona the turn runs under, when it runs under one. */
27
+ persona?: string;
26
28
  /** 0-based model step within the run — the same index the `llm:<step>` checkpoint carries. */
27
29
  step: number;
28
30
  }