agent-afk 5.287.2 → 5.288.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.
@@ -24,5 +24,6 @@ export interface AssembleChildConfigArgs<T> {
24
24
  parentTraceWriter: TraceSink | undefined;
25
25
  parentSurface: Surface | undefined;
26
26
  parentCanUseTool: CanUseTool | undefined;
27
+ nestedAgentAllowlist?: readonly string[];
27
28
  }
28
29
  export declare function assembleChildConfig<T>(args: AssembleChildConfigArgs<T>): AgentConfig;
@@ -28,6 +28,7 @@ export interface ForkSubagentOptions<T = unknown> {
28
28
  denyElicitations?: boolean;
29
29
  progressEvents?: boolean;
30
30
  phaseRole?: PhaseRole;
31
+ nestedAgentAllowlist?: readonly string[];
31
32
  }
32
33
  export interface SubagentManagerOptions {
33
34
  canUseTool?: CanUseTool;
@@ -3,6 +3,7 @@ export interface SubagentIdentityFacts {
3
3
  isNonInteractive: boolean | undefined;
4
4
  depth: number | undefined;
5
5
  maxDepth: number | undefined;
6
+ nestedAgentAllowlist?: readonly string[];
6
7
  }
7
8
  export declare function renderSubagentIdentityPreamble(facts: SubagentIdentityFacts): string;
8
- export declare function injectSubagentIdentityPreamble(config: AgentConfig): AgentConfig;
9
+ export declare function injectSubagentIdentityPreamble(config: AgentConfig, nestedAgentAllowlist?: readonly string[]): AgentConfig;
@@ -46,5 +46,6 @@ export interface BuildChildConfigResult {
46
46
  childManager: SubagentManager | undefined;
47
47
  childWriteCapable: boolean;
48
48
  childSideEffectFree: boolean;
49
+ nestedAgentAllowlist: readonly string[] | undefined;
49
50
  }
50
51
  export declare function buildChildConfig(args: BuildChildConfigArgs): BuildChildConfigResult;